<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Observation-dental-chart-my-core" />
  <url value="http://fhir.hie.moh.gov.my/StructureDefinition/Observation-dental-chart-my-core" />
  <version value="1.0.0" />
  <name value="ObservationDentalChartMyCore" />
  <title value="ObservationDentalChart (MY Core)" />
  <status value="active" />
  <date value="2024-02-12T04:04:09.5621857+00:00" />
  <publisher value="Malaysia MOH - HIE Steering Committee" />
  <description value="This profile is derived from the base FHIR [Observation](https://www.hl7.org/fhir/Observation.html) resource." />
  <purpose value="Dental Chart" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.code">
      <path value="Observation.code" />
      <short value="Dentitian" />
      <definition value="Dentitian" />
      <binding>
        <strength value="required" />
        <description value="Dentitian" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/dentitian-my-core" />
      </binding>
    </element>
    <element id="Observation.code.coding.system">
      <path value="Observation.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/dentitian-my-core" />
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <min value="1" />
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/surface-code-my-core" />
      </binding>
    </element>
    <element id="Observation.value[x].coding.system">
      <path value="Observation.value[x].coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/surface-code-my-core" />
    </element>
    <element id="Observation.value[x].coding.code">
      <path value="Observation.value[x].coding.code" />
      <min value="1" />
    </element>
    <element id="Observation.interpretation">
      <path value="Observation.interpretation" />
      <label value="Dental Intepretation" />
      <short value="Dental Intepretation" />
      <definition value="Dental Intepretation" />
      <binding>
        <strength value="required" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/dental-code-my-core" />
      </binding>
    </element>
    <element id="Observation.interpretation.coding.system">
      <path value="Observation.interpretation.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/dental-code-my-core" />
    </element>
    <element id="Observation.interpretation.coding.code">
      <path value="Observation.interpretation.coding.code" />
      <min value="1" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code.coding.system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
    </element>
    <element id="Observation.component:surface">
      <path value="Observation.component" />
      <sliceName value="surface" />
    </element>
    <element id="Observation.component:surface.code">
      <path value="Observation.component.code" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://fhir.hie.moh.gov.my/ValueSet/surface-my-core" />
      </binding>
    </element>
    <element id="Observation.component:surface.code.coding.system">
      <path value="Observation.component.code.coding.system" />
      <min value="1" />
      <fixedUri value="http://fhir.hie.moh.gov.my/CodeSystem/surface-my-core" />
    </element>
  </differential>
</StructureDefinition>