Skip to content

DentScript Syntax

DentScript syntax is designed to be both concise and intuitive. Each entry in the language follows a structured format to ensure consistency and clarity.

Basic Structure

  • Entity Identification: Entities are identified by their type, followed by a colon and the specific details.
  • Example: PATIENT: John Doe (ID: 001)
  • Attributes: Attributes are listed beneath the entity identification, using key-value pairs.
  • Example: Age: 35
  • Relationships: Relationships between entities are denoted by linking the entity names.
  • Example: TOOTH: 18 (UR) - Condition: Caries

Syntax Examples

  • [[Patient Syntax]]
  • [[Tooth Syntax]]
  • [[Diagnosis Syntax]]
  • [[Treatment Syntax]]