<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="mz-lm-OralHygiene" />
  <text>
    <status value="empty" />
    <div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
  </text>
  <url value="http://medmij.nl/fhir/StructureDefinition/mz-lm-OralHygiene" />
  <identifier>
    <use value="official" />
    <system value="urn:ietf:rfc:3986" />
    <value value="urn:oid:2.16.528.1.1023.3.1.4" />
  </identifier>
  <name value="MzLmOralHygiene" />
  <title value="OralHygiene" />
  <status value="draft" />
  <publisher value="MedMij" />
  <contact>
    <name value="MedMij" />
    <telecom>
      <system value="email" />
      <value value="info@medmij.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Oral hygiene." />
  <purpose value="This LogicalModel represents the OralHygiene Clinical Information Model (CIM) for patient use cases in the context of Dental Care." />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="mz-dataset-100-beta2-20260401" />
    <name value="Dataset Mondzorg MedMij 1.0.0-beta.2 20260401" />
  </mapping>
  <mapping>
    <identity value="SNOMED" />
    <uri value="http://snomed.info/sct" />
    <name value="SNOMED CT" />
  </mapping>
  <mapping>
    <identity value="LOINC" />
    <uri value="http://loinc.org" />
    <name value="LOINC" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://medmij.nl/fhir/StructureDefinition/mz-lm-OralHygiene" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <snapshot>
    <element id="mz-lm-OralHygiene">
      <path value="mz-lm-OralHygiene" />
      <short value="OralHygiene" />
      <definition value="Oral hygiene." />
      <alias value="Mondhygiëne" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="mz-lm-OralHygiene" />
        <min value="0" />
        <max value="*" />
      </base>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="mz-dataset-100-beta2-20260401" />
        <map value="mz-dataelement-11" />
        <comment value="OralHygiene" />
      </mapping>
      <mapping>
        <identity value="SNOMED" />
        <map value="110298001" />
        <comment value="bevinding betreffende mondhygiëne" />
      </mapping>
    </element>
    <element id="mz-lm-OralHygiene.id">
      <path value="mz-lm-OralHygiene.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="mz-lm-OralHygiene.extension">
      <path value="mz-lm-OralHygiene.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="mz-lm-OralHygiene.OralHygieneDateTime">
      <path value="mz-lm-OralHygiene.OralHygieneDateTime" />
      <short value="Oral hygiene date/time" />
      <definition value="The date and time at which the oral hygiene was determined." />
      <alias value="MondhygiëneDatumTijd" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="mz-lm-OralHygiene.OralHygieneDateTime" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="mz-dataset-100-beta2-20260401" />
        <map value="mz-dataelement-12" />
        <comment value="OralHygieneDateTime" />
      </mapping>
      <mapping>
        <identity value="SNOMED" />
        <map value="439771001" />
        <comment value="datum van gebeurtenis" />
      </mapping>
    </element>
    <element id="mz-lm-OralHygiene.OralHygieneValue">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="mz-lm-OralHygiene.OralHygieneValue" />
      <short value="Oral hygiene value" />
      <definition value="The oral hygiene." />
      <comment value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." />
      <alias value="MondhygiëneWaarde" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="mz-lm-OralHygiene.OralHygieneValue" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://medmij.nl/fhir/ValueSet/OralHygiene" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="mz-dataset-100-beta2-20260401" />
        <map value="mz-dataelement-13" />
        <comment value="OralHygieneValue" />
      </mapping>
      <mapping>
        <identity value="SNOMED" />
        <map value="364126007" />
        <comment value="status van mondhygiëne" />
      </mapping>
    </element>
    <element id="mz-lm-OralHygiene.Performer">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="mz-lm-OralHygiene.Performer" />
      <short value="Performer" />
      <definition value="The health professional who determined the oral hygiene." />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <alias value="Uitvoerder" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="mz-lm-OralHygiene.Performer" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-HealthProfessional" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="mz-dataset-100-beta2-20260401" />
        <map value="mz-dataelement-14" />
        <comment value="Performer" />
      </mapping>
    </element>
    <element id="mz-lm-OralHygiene.Comment">
      <path value="mz-lm-OralHygiene.Comment" />
      <short value="Comment" />
      <definition value="Comment on the oral hygiene, including comments on for example the circumstances and/or disruptive factors that may influence the result." />
      <comment value="Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <alias value="Toelichting" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="mz-lm-OralHygiene.Comment" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="mz-dataset-100-beta2-20260401" />
        <map value="mz-dataelement-15" />
        <comment value="Comment" />
      </mapping>
      <mapping>
        <identity value="LOINC" />
        <map value="48767-8" />
        <comment value="Verklarend commentaar" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="mz-lm-OralHygiene">
      <path value="mz-lm-OralHygiene" />
      <short value="OralHygiene" />
      <definition value="Oral hygiene." />
      <alias value="Mondhygiëne" />
      <mapping>
        <identity value="mz-dataset-100-beta2-20260401" />
        <map value="mz-dataelement-11" />
        <comment value="OralHygiene" />
      </mapping>
      <mapping>
        <identity value="SNOMED" />
        <map value="110298001" />
        <comment value="bevinding betreffende mondhygiëne" />
      </mapping>
    </element>
    <element id="mz-lm-OralHygiene.OralHygieneDateTime">
      <path value="mz-lm-OralHygiene.OralHygieneDateTime" />
      <short value="Oral hygiene date/time" />
      <definition value="The date and time at which the oral hygiene was determined." />
      <alias value="MondhygiëneDatumTijd" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="mz-dataset-100-beta2-20260401" />
        <map value="mz-dataelement-12" />
        <comment value="OralHygieneDateTime" />
      </mapping>
      <mapping>
        <identity value="SNOMED" />
        <map value="439771001" />
        <comment value="datum van gebeurtenis" />
      </mapping>
    </element>
    <element id="mz-lm-OralHygiene.OralHygieneValue">
      <path value="mz-lm-OralHygiene.OralHygieneValue" />
      <short value="Oral hygiene value" />
      <definition value="The oral hygiene." />
      <alias value="MondhygiëneWaarde" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://medmij.nl/fhir/ValueSet/OralHygiene" />
      </binding>
      <mapping>
        <identity value="mz-dataset-100-beta2-20260401" />
        <map value="mz-dataelement-13" />
        <comment value="OralHygieneValue" />
      </mapping>
      <mapping>
        <identity value="SNOMED" />
        <map value="364126007" />
        <comment value="status van mondhygiëne" />
      </mapping>
    </element>
    <element id="mz-lm-OralHygiene.Performer">
      <path value="mz-lm-OralHygiene.Performer" />
      <short value="Performer" />
      <definition value="The health professional who determined the oral hygiene." />
      <alias value="Uitvoerder" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://medmij.nl/fhir/StructureDefinition/medmij-core-lm-HealthProfessional" />
      </type>
      <mapping>
        <identity value="mz-dataset-100-beta2-20260401" />
        <map value="mz-dataelement-14" />
        <comment value="Performer" />
      </mapping>
    </element>
    <element id="mz-lm-OralHygiene.Comment">
      <path value="mz-lm-OralHygiene.Comment" />
      <short value="Comment" />
      <definition value="Comment on the oral hygiene, including comments on for example the circumstances and/or disruptive factors that may influence the result." />
      <alias value="Toelichting" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="mz-dataset-100-beta2-20260401" />
        <map value="mz-dataelement-15" />
        <comment value="Comment" />
      </mapping>
      <mapping>
        <identity value="LOINC" />
        <map value="48767-8" />
        <comment value="Verklarend commentaar" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>