PackagesCanonicalsLogsProblems
    Packages
    de.cognovis.fhir.dental.core@0.3.0
    https://fhir.cognovis.de/dental-core/StructureDefinition/dental-tooth-state
description: Structured observed state for one FDI position. Component codes identify structure; component values use applicable issuer clinical terminology.
package_name: de.cognovis.fhir.dental.core
derivation: constraint
name: DentalToothState
type: Observation
elements:
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: tooth-presence, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
    index: 0
  value:
    choices: []
    index: 2
  bodySite:
    binding: {strength: required, valueSet: 'https://fhir.cognovis.de/dental-core/ValueSet/tooth-position-fdi'}
    index: 3
  component:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: 1
      slices:
        toothPresence:
          match:
            code:
              coding:
              - {code: tooth-presence, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
          schema:
            mustSupport: true
            _required: true
            index: 5
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: tooth-presence, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
                index: 6
              value:
                choices: [valueCodeableConcept]
                index: 8
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 9}
            required: [value, valueCodeableConcept]
        toothSubstrate:
          match:
            code:
              coding:
              - {code: tooth-substrate, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
          schema:
            mustSupport: true
            index: 10
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: tooth-substrate, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
                index: 11
              value:
                choices: [valueCodeableConcept]
                index: 13
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 14}
            required: [value, valueCodeableConcept]
        rootEndodonticState:
          match:
            code:
              coding:
              - {code: root-endodontic-state, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
          schema:
            mustSupport: true
            array: true
            index: 15
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: root-endodontic-state, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
                index: 16
              value:
                choices: [valueCodeableConcept]
                index: 18
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 19}
            required: [value, valueCodeableConcept]
        restorationType:
          match:
            code:
              coding:
              - {code: restoration-type, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
          schema:
            mustSupport: true
            array: true
            index: 20
            extensions:
              surface: {url: 'https://fhir.cognovis.de/dental-core/StructureDefinition/tooth-surface', min: 0, type: Extension, mustSupport: true, index: 22}
            elements:
              extension:
                index: 21
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    surface:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'https://fhir.cognovis.de/dental-core/StructureDefinition/tooth-surface', index: 22}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: restoration-type, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
                index: 23
              value:
                choices: [valueCodeableConcept]
                index: 25
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 26}
            required: [value, valueCodeableConcept]
        restorationMaterial:
          match:
            code:
              coding:
              - {code: restoration-material, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
          schema:
            mustSupport: true
            array: true
            index: 27
            extensions:
              surface: {url: 'https://fhir.cognovis.de/dental-core/StructureDefinition/tooth-surface', min: 0, type: Extension, mustSupport: true, index: 29}
            elements:
              extension:
                index: 28
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    surface:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'https://fhir.cognovis.de/dental-core/StructureDefinition/tooth-surface', index: 29}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: restoration-material, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
                index: 30
              value:
                choices: [valueCodeableConcept]
                index: 32
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 33}
            required: [value, valueCodeableConcept]
        restorationStatus:
          match:
            code:
              coding:
              - {code: restoration-status, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
          schema:
            mustSupport: true
            array: true
            index: 34
            extensions:
              surface: {url: 'https://fhir.cognovis.de/dental-core/StructureDefinition/tooth-surface', min: 0, type: Extension, mustSupport: true, index: 36}
            elements:
              extension:
                index: 35
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    surface:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'https://fhir.cognovis.de/dental-core/StructureDefinition/tooth-surface', index: 36}
                      min: 0
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: restoration-status, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
                index: 37
              value:
                choices: [valueCodeableConcept]
                index: 39
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 40}
            required: [value, valueCodeableConcept]
        prostheticState:
          match:
            code:
              coding:
              - {code: prosthetic-state, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
          schema:
            mustSupport: true
            array: true
            index: 41
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: prosthetic-state, system: 'https://fhir.cognovis.de/dental-core/CodeSystem/dental-component'}
                index: 42
              value:
                choices: [valueCodeableConcept]
                index: 44
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 45}
            required: [value, valueCodeableConcept]
package_version: 0.3.0
class: profile
kind: resource
url: https://fhir.cognovis.de/dental-core/StructureDefinition/dental-tooth-state
base: https://fhir.cognovis.de/dental-core/StructureDefinition/dental-finding
version: 0.3.0
required: [bodySite, component]