<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://cloudconnect.cognisantmd.com/fhir/StructureDefinition/MedicationStatement" />
  <name value="MedicationStatement" />
  <status value="draft" />
  <description value="https://build.fhir.org/ig/HL7-Canada/ca-baseline/StructureDefinition-profile-medicationstatement" />
  <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.text">
      <path value="MedicationStatement.text" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.status">
      <path value="MedicationStatement.status" />
      <comment value="If the status is provided and is anything other than 'active', the medication will be excluded from the patient's summarized active medication list." />
    </element>
    <element id="MedicationStatement.effectivePeriod">
      <path value="MedicationStatement.effectivePeriod" />
      <comment value="If an effectivePeriod is provided with an end date prior to the time of patient processing within Ocean, the medication will be considered no longer active and will be excluded from the patient's summarized active medication list." />
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.dosage.text">
      <path value="MedicationStatement.dosage.text" />
      <mustSupport value="true" />
    </element>
    <element id="MedicationStatement.dosage.patientInstruction">
      <path value="MedicationStatement.dosage.patientInstruction" />
      <comment value="PSS: Label Instruction. Note: this is also part of text. Note, with meals&quot;, &quot;may cause drowsiness are included here but FHIR shows under additional instructions.&#xD;&#xA;&#xD;&#xA;Note that FHIR strings SHALL NOT exceed 1MB in size" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>