Skip to content

Tooth

Represents a tooth with specific features and associated sides.

Attributes:

Name Type Description
tooth int

Identifier number for the tooth.

toothtype int

Type classification of the tooth (e.g., molar, incisor).

rootnumber int

Count of roots associated with the tooth.

mobility Optional[int]

Mobility status of the tooth.

restoration Optional[int]

Restoration status of the tooth.

percussion Optional[int]

Percussion sensitivity, if applicable.

sensitivity Optional[int]

Sensitivity status of the tooth.

sides List[Side]

Collection of Side instances for each side of the tooth.

Example
side_1 = Side(
    furcationbaseline=1, side=1, pdbaseline=2, recbaseline=2, plaque=1, bop=1
    )
side_2 = Side(
    furcationbaseline=2, side=2, pdbaseline=3, recbaseline=3, plaque=1, bop=0
    )

tooth = Tooth(
    tooth=11,
    toothtype=2,
    rootnumber=1,
    mobility=1,
    restoration=0,
    percussion=0,
    sensitivity=1,
    sides=[side_1, side_2]
)
Source code in periomod/base.py
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
@dataclass
class Tooth:
    """Represents a tooth with specific features and associated sides.

    Attributes:
        tooth (int): Identifier number for the tooth.
        toothtype (int): Type classification of the tooth (e.g., molar, incisor).
        rootnumber (int): Count of roots associated with the tooth.
        mobility (Optional[int]): Mobility status of the tooth.
        restoration (Optional[int]): Restoration status of the tooth.
        percussion (Optional[int]): Percussion sensitivity, if applicable.
        sensitivity (Optional[int]): Sensitivity status of the tooth.
        sides (List[Side]): Collection of `Side` instances for each side of the tooth.

    Example:
        ```
        side_1 = Side(
            furcationbaseline=1, side=1, pdbaseline=2, recbaseline=2, plaque=1, bop=1
            )
        side_2 = Side(
            furcationbaseline=2, side=2, pdbaseline=3, recbaseline=3, plaque=1, bop=0
            )

        tooth = Tooth(
            tooth=11,
            toothtype=2,
            rootnumber=1,
            mobility=1,
            restoration=0,
            percussion=0,
            sensitivity=1,
            sides=[side_1, side_2]
        )
        ```
    """

    tooth: int
    toothtype: int
    rootnumber: int
    mobility: Optional[int]
    restoration: Optional[int]
    percussion: Optional[int]
    sensitivity: Optional[int]
    sides: List[Side] = field(default_factory=list)