<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://example.org/fhir/StructureDefinition/MyMedicationProfile2" />
  <name value="MyMedicationProfile2" />
  <status value="draft" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Medication" />
  <baseDefinition value="http://example.org/fhir/StructureDefinition/MyMedicationProfile" />
  <derivation value="constraint" />
  <differential>
    <element id="Medication.extension:strength">
      <path value="Medication.extension" />
      <sliceName value="strength" />
      <short value="Extension for representing overall medication strength." />
      <definition value="The overall medication strength, rather than the strength of a specific ingredient." />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description" />
      </type>
    </element>
    <element id="Medication.code">
      <path value="Medication.code" />
      <short value="Medication that was administered or was to be administered (medication code from any code system)" />
      <definition value="Medication that was administered or was to be administered." />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/CodeableConcept-ca-ps" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="preferred" />
        <description value="Canadian Clinical Drug Data Set codes" />
        <valueSet value="http://fhir.infoway-inforoute.ca/io/psca/ValueSet/hc-CCDD" />
      </binding>
    </element>
    <element id="Medication.form">
      <path value="Medication.form" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/CodeableConcept-ca-ps" />
      </type>
      <mustSupport value="true" />
      <binding>
        <strength value="preferred" />
        <description value="SCTCA Pharmaceutical Dose Form" />
        <valueSet value="https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode" />
      </binding>
    </element>
    <element id="Medication.ingredient">
      <path value="Medication.ingredient" />
      <comment value="IPS-UV flags this as a Must Support element. It is not currently flagged as Must Support in PS-CA, as stakeholders have indicated the element may not be supported by the majority of systems today. Systems that do support the element are encouraged to include it in generated Patient Summary documents, and support it when received. Vendors should expect that some jurisdictions may add a Must Support requirement within the context of their own jurisdictional content." />
    </element>
    <element id="Medication.ingredient.itemCodeableConcept">
      <path value="Medication.ingredient.itemCodeableConcept" />
      <binding>
        <strength value="preferred" />
        <description value="SNOMED CT CA drug substances." />
        <valueSet value="https://fhir.infoway-inforoute.ca/ValueSet/drugormedicamentsubstancecode" />
      </binding>
    </element>
    <element id="Medication.ingredient.strength">
      <path value="Medication.ingredient.strength" />
      <comment value="IPS-UV flags this as a Must Support element. It is not currently flagged as Must Support in PS-CA, as stakeholders have indicated the element may not be supported by the majority of systems today. Systems that do support the element are encouraged to include it in generated Patient Summary documents, and support it when received. Vendors should expect that some jurisdictions may add a Must Support requirement within the context of their own jurisdictional content." />
      <type>
        <code value="Ratio" />
        <profile value="http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/Ratio-ca-ps" />
      </type>
    </element>
  </differential>
</StructureDefinition>