<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="digidot-MedicationStatement-no" />
  <url value="https://novari.no/fhir/digidot/StructureDefinition/digidot-MedicationStatement-no" />
  <version value="0.6.6" />
  <name value="DigidotMedicationStatementNo" />
  <title value="DigiDot MedicationStatement (NO)" />
  <status value="draft" />
  <date value="2026-09-29T13:57:37Z" />
  <publisher value="Novari AS - DigiDOT" />
  <description value="Readiness: [In review](https://simplifier.net/guide/Visual-overview/Home/Review-status-and-releases.page.md?version=current#readiness-medicationstatement).&#xA;&#xA;Profile base: FHIR R4 MedicationStatement (http://hl7.org/fhir/StructureDefinition/MedicationStatement).&#xA;&#xA;Draft DigiDOT profile for recording medication use reported by a person or health professional with knowledge of the patient's medication use. The medication is represented directly by a versioned SNOMED CT Medicinal Product, Medicinal Product Form or Clinical Drug concept. An additional FEST coding and reported product name may preserve the specific medicinal product identified by the information source. This narrow profile is not used to store medication information retrieved or imported from SFM or PLL." />
  <purpose value="Use this profile to record, in DigiDOT, medication use reported by the patient&#xA;or another person or healthcare professional with knowledge of the patient's&#xA;medication use during dental care. It represents a report of current or&#xA;historical medication use and is not a medication order or an administration&#xA;event. Use the most specific supported SNOMED CT concept justified by the&#xA;reported information. An additional FEST coding and text may preserve a&#xA;specific Norwegian medicinal product or brand name. Medication information&#xA;retrieved or imported from SFM or PLL is outside the scope of this profile." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="MedicationStatement" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/MedicationStatement" />
  <derivation value="constraint" />
  <differential>
    <element id="MedicationStatement">
      <path value="MedicationStatement" />
      <short value="Reported medication use" />
      <comment value="Interpret the resource as a report of medication use, not as evidence of a&#xA;prescription, dispense or administration. Use status together with the reported&#xA;medication, information source, asserted date and any dosage information." />
      <constraint>
        <key value="digidot-status-known" />
        <severity value="error" />
        <human value="Do not use unknown as a default or an unmapped lifecycle status." />
        <expression value="status != 'unknown'" />
      </constraint>
    </element>
    <element id="MedicationStatement.implicitRules">
      <path value="MedicationStatement.implicitRules" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="A DigiDot MedicationStatement must be interpretable from the published FHIR R4&#xA;profile, terminology versions and agreed exchange documentation. Do not use&#xA;implicitRules to introduce undocumented processing rules." />
      <comment value="implicitRules is prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.contained">
      <path value="MedicationStatement.contained" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="Resources relevant to the DigiDot information model must be stored as&#xA;independently identifiable FHIR resources and linked by reference. Contained&#xA;resources are not used in this profile." />
      <comment value="Contained resources are prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.extension">
      <path value="MedicationStatement.extension" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="No extension is defined for the current DigiDot MedicationStatement scope. This&#xA;also prevents SFM-specific extension content from being stored through this&#xA;profile." />
      <comment value="Extensions are prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.modifierExtension">
      <path value="MedicationStatement.modifierExtension" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="Modifier extensions can change the meaning of a MedicationStatement and require&#xA;every consumer to understand them. No modifier extension is defined for the&#xA;current DigiDot scope." />
      <comment value="Modifier extensions are prohibited in this profile." />
      <requirements value="The current DigiDot MedicationStatement must be interpretable without modifier extensions." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.identifier">
      <path value="MedicationStatement.identifier" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not carry a treatment identifier, prescription&#xA;identifier or other MedicationStatement business identifier." />
      <comment value="MedicationStatement business identifiers are prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.basedOn">
      <path value="MedicationStatement.basedOn" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The reported medication use is not represented as fulfillment of a plan,&#xA;proposal or medication order." />
      <comment value="basedOn is prohibited in this profile." />
      <requirements value="The reported medication use is intentionally independent of an authorization or medication order." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.partOf">
      <path value="MedicationStatement.partOf" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The reported medication use is not represented as a component of another&#xA;medication event or statement." />
      <comment value="partOf is prohibited in this profile." />
      <requirements value="The narrow reporting model does not represent this statement as part of another medication event." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.status">
      <path value="MedicationStatement.status" />
      <short value="Lifecycle status of the reported medication use" />
      <definition value="Use status to indicate whether the patient is currently using the medication,&#xA;used it previously, has stopped using it, or whether it was entered in error. Use a standard FHIR R4 MedicationStatement&#xA;status." />
      <comment value="Status represents the medication use as known when the statement was asserted.&#xA;It does not represent the lifecycle of a prescription, dispense or&#xA;administration event." />
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.statusReason">
      <path value="MedicationStatement.statusReason" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not record a separate reason for the MedicationStatement status." />
      <comment value="statusReason is prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.category">
      <path value="MedicationStatement.category" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not classify reported medication use by category." />
      <comment value="category is prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.medicationCodeableConcept">
      <path value="MedicationStatement.medicationCodeableConcept" />
      <short value="Medication reported as used" />
      <definition value="Record the medication directly with one versioned SNOMED CT concept from&#xA;DigidotReportedMedicationNo. Use a Medicinal Product, Medicinal Product Form or&#xA;Clinical Drug concept according to the level of detail supported by the&#xA;reported information. An optional second coding may preserve the specific&#xA;reported product with its FEST identifier." />
      <comment value="Coding.version SHALL identify the SNOMED CT edition and release using a version&#xA;URI of the form http://snomed.info/sct/{edition}/version/{yyyymmdd}. A reference&#xA;to a separate Medication resource SHALL NOT be used in this profile. Do not&#xA;infer a more specific medication concept than the information source supports." />
      <requirements value="DigiDOT requires a structured and versioned SNOMED CT representation while permitting the product identity reported by the information source to be preserved." />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSet value="https://novari.no/fhir/digidot/ValueSet/digidot-reported-medication-no" />
      </binding>
    </element>
    <element id="MedicationStatement.medicationCodeableConcept.id">
      <path value="MedicationStatement.medicationCodeableConcept.id" />
      <short value="Not used on the medicinal product concept" />
      <definition value="The medicinal product CodeableConcept does not use an element id in the current&#xA;DigiDot profile." />
      <comment value="An element id on the medicinal product concept is prohibited." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.medicationCodeableConcept.extension">
      <path value="MedicationStatement.medicationCodeableConcept.extension" />
      <short value="No extensions on the medicinal product concept" />
      <definition value="The medication identity is represented by standard Coding elements and optional&#xA;CodeableConcept.text. Extensions on the CodeableConcept are not used." />
      <comment value="Extensions on the medicinal product concept are prohibited." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.medicationCodeableConcept.coding">
      <path value="MedicationStatement.medicationCodeableConcept.coding" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="closed" />
      </slicing>
      <short value="SNOMED CT concept and optional FEST coding" />
      <definition value="Record one SNOMED CT coding and optionally one additional coding for the&#xA;specific Norwegian medicinal product or brand identified by the information&#xA;source. The additional coding SHALL use the FEST code system. Every coding must&#xA;include its code system and code." />
      <comment value="The mandatory SNOMED CT coding uses system http://snomed.info/sct. The optional&#xA;product coding uses system http://ehelse.no/fhir/CodeSystem/FEST. No other code&#xA;systems are permitted. Multiple codings do not permit two different medications&#xA;to be recorded in one MedicationStatement." />
      <requirements value="DigiDOT requires one versioned SNOMED CT concept for interoperability and&#xA;decision support. An additional FEST coding can preserve a more specific&#xA;reported product identity that is not represented as a Norwegian SNOMED CT&#xA;concept." />
      <min value="1" />
      <max value="2" />
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.medicationCodeableConcept.coding.extension">
      <path value="MedicationStatement.medicationCodeableConcept.coding.extension" />
      <short value="No extensions on the medicinal product coding" />
      <definition value="The code system, version, code and display are represented by the standard&#xA;Coding elements. Extensions on a medication coding are not used." />
      <comment value="Extensions on the medicinal product coding are prohibited." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.medicationCodeableConcept.coding.system">
      <path value="MedicationStatement.medicationCodeableConcept.coding.system" />
      <min value="1" />
    </element>
    <element id="MedicationStatement.medicationCodeableConcept.coding.code">
      <path value="MedicationStatement.medicationCodeableConcept.coding.code" />
      <min value="1" />
    </element>
    <element id="MedicationStatement.medicationCodeableConcept.coding:snomed">
      <path value="MedicationStatement.medicationCodeableConcept.coding" />
      <sliceName value="snomed" />
      <short value="Versioned SNOMED CT medication concept" />
      <definition value="Record exactly one precoordinated SNOMED CT Medicinal Product, Medicinal Product&#xA;Form or Clinical Drug concept from DigidotReportedMedicationNo. The coding&#xA;conforms to DigiDotCodingSctPreNo, which requires the SNOMED CT system, numeric&#xA;concept identifier and versioned edition URI." />
      <comment value="Use the most specific SNOMED CT concept supported by the reported information.&#xA;Coding.display may carry the corresponding SNOMED CT term." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
        <profile value="https://novari.no/fhir/digidot/StructureDefinition/digidot-Coding-SCTpre-no" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSet value="https://novari.no/fhir/digidot/ValueSet/digidot-reported-medication-no" />
      </binding>
    </element>
    <element id="MedicationStatement.medicationCodeableConcept.coding:snomed.system">
      <path value="MedicationStatement.medicationCodeableConcept.coding.system" />
      <min value="1" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="MedicationStatement.medicationCodeableConcept.coding:fest">
      <path value="MedicationStatement.medicationCodeableConcept.coding" />
      <sliceName value="fest" />
      <short value="Optional FEST identifier for the reported medicinal product" />
      <definition value="Record the FEST identifier when the reported medication was identified as a&#xA;specific medicinal product or brand in FEST. The FEST coding and the mandatory&#xA;SNOMED CT coding SHALL represent the same medication." />
      <comment value="Use system http://ehelse.no/fhir/CodeSystem/FEST and the corresponding FEST&#xA;identifier. Coding.display may carry the FEST product or brand name." />
      <requirements value="The optional FEST coding preserves the Norwegian product identity selected or&#xA;reported by the information source while SNOMED CT provides the standardized&#xA;clinical representation." />
      <min value="0" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.medicationCodeableConcept.coding:fest.system">
      <path value="MedicationStatement.medicationCodeableConcept.coding.system" />
      <fixedUri value="http://ehelse.no/fhir/CodeSystem/FEST" />
    </element>
    <element id="MedicationStatement.medicationCodeableConcept.text">
      <path value="MedicationStatement.medicationCodeableConcept.text" />
      <short value="Medication name as reported" />
      <definition value="Preserve the medication or brand name as stated by the information source when&#xA;this adds useful detail to the structured coding, for example &quot;Paralgin forte&quot;.&#xA;Do not use text instead of the mandatory SNOMED CT coding." />
      <comment value="The text and codings must describe the same reported medication." />
      <requirements value="Reported text preserves clinically relevant product wording that may not exist as a Norwegian SNOMED CT concept." />
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.subject">
      <path value="MedicationStatement.subject" />
      <short value="Patient whose medication use is reported" />
      <definition value="Reference the patient whose medication use is reported through no-basis-Patient." />
      <comment value="Use a literal Reference.reference to a separately stored resource conforming to the permitted national target profile. Identifier-only and contained references are not permitted. Official identifiers belong on the target resource. Reuse a confirmed resource in central storage; if no matching resource exists, register it before persisting the clinical reference. The receiving service must check target existence and profile conformance; the profile alone does not perform identity matching or prove that a resource exists in central storage." />
      <requirements value="The reported medication use must be associated with one identifiable patient." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.no/fhir/StructureDefinition/no-basis-Patient" />
      </type>
      <constraint>
        <key value="medicationstatement-subject-literal" />
        <severity value="error" />
        <human value="A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted." />
        <expression value="($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())" />
        <source value="https://novari.no/fhir/digidot/StructureDefinition/digidot-MedicationStatement-no" />
      </constraint>
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.subject.reference">
      <path value="MedicationStatement.subject.reference" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="MedicationStatement.subject.identifier">
      <path value="MedicationStatement.subject.identifier" />
      <min value="0" />
      <max value="0" />
    </element>
    <element id="MedicationStatement.context">
      <path value="MedicationStatement.context" />
      <short value="DigiDot encounter in which the medication use was reported" />
      <definition value="Reference the DigiDot Encounter during which the medication use was reported&#xA;when that clinical context is known." />
      <comment value="context is optional but must reference a DigiDot Encounter when present." />
      <requirements value="The encounter provides the dental-care context when the medication use was reported during an encounter." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.effective[x]">
      <path value="MedicationStatement.effective[x]" />
      <short value="When the medication is reported as being used" />
      <definition value="Record the date, date and time, or period during which the patient is reported&#xA;as using or having used the medication when this information is known." />
      <comment value="Use dateAsserted for when the statement was reported; use effective[x] for when the medication use applies." />
      <requirements value="The effective time distinguishes the period of medication use from the date on which the information was reported." />
    </element>
    <element id="MedicationStatement.dateAsserted">
      <path value="MedicationStatement.dateAsserted" />
      <short value="Date when the medication use was reported" />
      <definition value="Record when the information source asserted the medication-use information." />
      <comment value="dateAsserted is the date the information was reported, not the medication administration time." />
      <requirements value="DigiDOT requires the assertion date to distinguish when the medication-use information was reported from when the medication was taken." />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.informationSource">
      <path value="MedicationStatement.informationSource" />
      <short value="Person or practitioner who reported the medication use" />
      <definition value="The patient, a related person or a healthcare practitioner who reported the&#xA;patient's medication use. Reference no-basis-Patient or&#xA;no-basis-Practitioner when one of those resource types is used. Use a standard&#xA;FHIR RelatedPerson reference for a relative or other person acting in relation&#xA;to the patient. Omit informationSource when the source is unknown. This element&#xA;identifies the reporting person, not SFM, PLL or a technical integration system." />
      <comment value="Use a literal Reference.reference to a separately stored resource conforming to the permitted national target profile. Identifier-only and contained references are not permitted. Official identifiers belong on the target resource. Reuse a confirmed resource in central storage; if no matching resource exists, register it before persisting the clinical reference. The receiving service must check target existence and profile conformance; the profile alone does not perform identity matching or prove that a resource exists in central storage." />
      <requirements value="The information source supports assessment of the provenance of the reported medication use when the source is known." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.no/fhir/StructureDefinition/no-basis-Patient" />
        <targetProfile value="http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner" />
        <targetProfile value="http://hl7.no/fhir/StructureDefinition/no-basis-RelatedPerson" />
      </type>
      <constraint>
        <key value="medicationstatement-informationsource-literal" />
        <severity value="error" />
        <human value="A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted." />
        <expression value="($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())" />
        <source value="https://novari.no/fhir/digidot/StructureDefinition/digidot-MedicationStatement-no" />
      </constraint>
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.informationSource.reference">
      <path value="MedicationStatement.informationSource.reference" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="MedicationStatement.informationSource.identifier">
      <path value="MedicationStatement.informationSource.identifier" />
      <min value="0" />
      <max value="0" />
    </element>
    <element id="MedicationStatement.derivedFrom">
      <path value="MedicationStatement.derivedFrom" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="This profile records information reported by the information source. Do not use&#xA;it for a statement derived from SFM, PLL, a medication order, dispense record,&#xA;claim or other source resource." />
      <comment value="derivedFrom is prohibited so this profile is not used for medication information derived from SFM, PLL or another source resource." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.reasonCode">
      <path value="MedicationStatement.reasonCode" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not record an inline coded reason for the&#xA;reported medication use." />
      <comment value="reasonCode is prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.reasonReference">
      <path value="MedicationStatement.reasonReference" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not link the reported medication use to a&#xA;Condition, Observation or other reason resource." />
      <comment value="reasonReference is prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.note">
      <path value="MedicationStatement.note" />
      <short value="Additional note about the reported medication use" />
      <definition value="Record supplementary information about the reported medication use that cannot&#xA;be represented in another retained element of this profile." />
      <comment value="Do not use note as an alternative representation of the medicinal product or dosage." />
      <requirements value="A note permits limited supplementary context without replacing the retained structured medication or dosage elements." />
    </element>
    <element id="MedicationStatement.note.extension">
      <path value="MedicationStatement.note.extension" />
      <short value="No extensions on medication statement notes" />
      <definition value="Medication statement notes use the standard Annotation elements retained by&#xA;this profile. Extensions on Annotation are not used in the current DigiDot&#xA;scope." />
      <comment value="Extensions on MedicationStatement.note are prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.note.author[x]">
      <path value="MedicationStatement.note.author[x]" />
      <comment value="Use a literal Reference.reference to a separately stored resource conforming to the permitted national target profile. Identifier-only and contained references are not permitted. Official identifiers belong on the target resource. Reuse a confirmed resource in central storage; if no matching resource exists, register it before persisting the clinical reference. The receiving service must check target existence and profile conformance; the profile alone does not perform identity matching or prove that a resource exists in central storage. An authorString may be retained where this Annotation choice permits it; if authorReference is used, the literal-reference rule applies." />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner" />
        <targetProfile value="http://hl7.no/fhir/StructureDefinition/no-basis-Patient" />
        <targetProfile value="http://hl7.no/fhir/StructureDefinition/no-basis-RelatedPerson" />
        <targetProfile value="http://hl7.no/fhir/StructureDefinition/no-basis-Organization" />
      </type>
      <type>
        <code value="string" />
      </type>
      <constraint>
        <key value="medicationstatement-note-author-x-literal" />
        <severity value="error" />
        <human value="A shared-resource reference must contain a literal reference value; identifiers and contained references are not permitted." />
        <expression value="($this is Reference) implies (reference.hasValue() and identifier.empty() and reference.startsWith('#').not())" />
        <source value="https://novari.no/fhir/digidot/StructureDefinition/digidot-MedicationStatement-no" />
      </constraint>
    </element>
    <element id="MedicationStatement.dosage">
      <path value="MedicationStatement.dosage" />
      <short value="Dosage reported by the information source" />
      <definition value="Record textual or structured dosage information only as reported by the&#xA;information source. Dosage.text may carry the reported regimen, timing may&#xA;represent how often it is taken, and doseAndRate.dose[x] may represent the&#xA;amount taken at one time. Do not infer information that the source did not&#xA;provide." />
      <comment value="Record only information supplied by the information source. This profile is not&#xA;used for dosage copied or derived from a MedicationRequest, SFM or PLL." />
      <requirements value="Dosage preserves the medication-use regimen as reported without turning the statement into a prescription." />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.dosage.extension">
      <path value="MedicationStatement.dosage.extension" />
      <short value="No extensions on the reported dosage" />
      <definition value="Extensions on Dosage are not used in this profile." />
      <comment value="Extensions on Dosage are prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.modifierExtension">
      <path value="MedicationStatement.dosage.modifierExtension" />
      <short value="No modifier extensions on the reported dosage" />
      <definition value="Modifier extensions on Dosage are not used in this profile." />
      <comment value="Modifier extensions on Dosage are prohibited in this profile." />
      <requirements value="The reported dosage must be interpretable without modifier extensions." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.sequence">
      <path value="MedicationStatement.dosage.sequence" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not record an ordering sequence between dosage instructions." />
      <comment value="sequence is prohibited in this profile." />
      <requirements value="Only one Dosage element is permitted, so an ordering sequence is not required." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.text">
      <path value="MedicationStatement.dosage.text" />
      <short value="Reported human-readable dosage information" />
      <definition value="Record the dosage wording provided by the information source when a human-readable regimen is available." />
      <comment value="When text and structured dosage elements are both present, they must describe the same reported regimen." />
      <requirements value="Human-readable text preserves reported dosage information that is not fully represented by the retained structured elements." />
    </element>
    <element id="MedicationStatement.dosage.additionalInstruction">
      <path value="MedicationStatement.dosage.additionalInstruction" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not record additional coded or textual dosage instructions." />
      <comment value="additionalInstruction is prohibited in this profile." />
      <requirements value="The narrow DigiDot model retains the reported regimen in dosage.text and the selected structured dosage elements." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.patientInstruction">
      <path value="MedicationStatement.dosage.patientInstruction" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not record separate patient-oriented dosage instructions." />
      <comment value="patientInstruction is prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.timing">
      <path value="MedicationStatement.dosage.timing" />
      <short value="Reported timing of medication use" />
      <definition value="Record when or how often the medication is reported as being taken when structured timing information is available." />
      <comment value="Use timing for the reported schedule. Do not use it to infer or reconstruct an administration rate." />
      <requirements value="Structured timing supports consistent representation of when or how often the medication is reported as taken." />
    </element>
    <element id="MedicationStatement.dosage.asNeeded[x]">
      <path value="MedicationStatement.dosage.asNeeded[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <comment value="Only the Boolean variant is permitted in this profile." />
    </element>
    <element id="MedicationStatement.dosage.asNeeded[x]:asNeededCodeableConcept">
      <path value="MedicationStatement.dosage.asNeeded[x]" />
      <sliceName value="asNeededCodeableConcept" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not use a CodeableConcept to specify the&#xA;condition under which the medication is taken as needed. The inherited Boolean&#xA;variant remains available." />
      <comment value="The coded variant of asNeeded[x] is prohibited." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="CodeableConcept" />
      </type>
    </element>
    <element id="MedicationStatement.dosage.asNeeded[x]:asNeededBoolean">
      <path value="MedicationStatement.dosage.asNeeded[x]" />
      <sliceName value="asNeededBoolean" />
      <short value="Whether the medication is reported as taken as needed" />
      <definition value="Use the Boolean variant only when the information source reports whether the medication is taken as needed." />
      <comment value="true means taken as needed; false means not taken as needed; omit the element when this information is unknown." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element id="MedicationStatement.dosage.site">
      <path value="MedicationStatement.dosage.site" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The reported dosage does not include a separate anatomical site." />
      <comment value="site is prohibited in this profile." />
      <requirements value="A separate anatomical administration site is outside the current DigiDot MedicationStatement scope." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.route">
      <path value="MedicationStatement.dosage.route" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The reported dosage does not include a separate route of administration." />
      <comment value="route is prohibited in this profile." />
      <requirements value="A separate route of administration is outside the current DigiDot MedicationStatement scope." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.method">
      <path value="MedicationStatement.dosage.method" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The reported dosage does not include a separate administration method." />
      <comment value="method is prohibited in this profile." />
      <requirements value="A separate administration method is outside the current DigiDot MedicationStatement scope." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.doseAndRate">
      <path value="MedicationStatement.dosage.doseAndRate" />
      <short value="Reported amount of medication per administration" />
      <definition value="Use dose[x] to record the amount reported for one administration, for example&#xA;two tablets. A quantity or reported dose range may be used. A structured&#xA;administration rate is outside the scope of this profile." />
      <comment value="Only the dose is used; dose type and administration rate are prohibited." />
      <requirements value="A structured dose allows the reported amount taken at one time to be represented separately from timing." />
    </element>
    <element id="MedicationStatement.dosage.doseAndRate.extension">
      <path value="MedicationStatement.dosage.doseAndRate.extension" />
      <short value="No extensions on dose and rate" />
      <definition value="Extensions on doseAndRate are not used in this profile." />
      <comment value="Extensions on doseAndRate are prohibited in this profile." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.doseAndRate.type">
      <path value="MedicationStatement.dosage.doseAndRate.type" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not classify the reported dose with a separate dose type." />
      <comment value="doseAndRate.type is prohibited in this profile." />
      <requirements value="The narrow DigiDot model records the reported dose without a separate dose classification." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.doseAndRate.dose[x]">
      <path value="MedicationStatement.dosage.doseAndRate.dose[x]" />
      <short value="Reported amount per administration" />
      <definition value="Record the quantity or range reported as being taken at one time." />
      <comment value="Record the amount of the medication identified in medication[x]; do not describe ingredients or a separate Medication resource here." />
      <requirements value="The dose represents the amount of the coded medicinal product reported as taken at one time." />
    </element>
    <element id="MedicationStatement.dosage.doseAndRate.rate[x]">
      <path value="MedicationStatement.dosage.doseAndRate.rate[x]" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not record a structured administration rate." />
      <comment value="All rate variants are prohibited in this profile." />
      <requirements value="Administration rate is outside the current DigiDot MedicationStatement scope." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.maxDosePerPeriod">
      <path value="MedicationStatement.dosage.maxDosePerPeriod" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not record a maximum dose per time period." />
      <comment value="maxDosePerPeriod is prohibited in this profile." />
      <requirements value="Maximum dose limits are outside the current DigiDot MedicationStatement scope." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.maxDosePerAdministration">
      <path value="MedicationStatement.dosage.maxDosePerAdministration" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not record a maximum dose per administration." />
      <comment value="maxDosePerAdministration is prohibited in this profile." />
      <requirements value="Maximum dose limits are outside the current DigiDot MedicationStatement scope." />
      <max value="0" />
    </element>
    <element id="MedicationStatement.dosage.maxDosePerLifetime">
      <path value="MedicationStatement.dosage.maxDosePerLifetime" />
      <short value="Not used in the current DigiDot MedicationStatement profile" />
      <definition value="The current DigiDot profile does not record a maximum cumulative lifetime dose." />
      <comment value="maxDosePerLifetime is prohibited in this profile." />
      <requirements value="Maximum dose limits are outside the current DigiDot MedicationStatement scope." />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>