{
  "resourceType": "StructureDefinition",
  "url": "http://example.org/fhir/StructureDefinition/MyMedicationProfile2",
  "name": "MyMedicationProfile2",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Medication",
  "baseDefinition": "http://example.org/fhir/StructureDefinition/MyMedicationProfile",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Medication.extension:strength",
        "path": "Medication.extension",
        "sliceName": "strength",
        "short": "Extension for representing overall medication strength.",
        "definition": "The overall medication strength, rather than the strength of a specific ingredient.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://prescribeit.ca/fhir/StructureDefinition/ext-medication-strength-description"
            ]
          }
        ]
      },
      {
        "id": "Medication.code",
        "path": "Medication.code",
        "short": "Medication that was administered or was to be administered (medication code from any code system)",
        "definition": "Medication that was administered or was to be administered.",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/CodeableConcept-ca-ps"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "preferred",
          "description": "Canadian Clinical Drug Data Set codes",
          "valueSet": "http://fhir.infoway-inforoute.ca/io/psca/ValueSet/hc-CCDD"
        }
      },
      {
        "id": "Medication.form",
        "path": "Medication.form",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/CodeableConcept-ca-ps"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "preferred",
          "description": "SCTCA Pharmaceutical Dose Form",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticaldoseformcode"
        }
      },
      {
        "id": "Medication.ingredient",
        "path": "Medication.ingredient",
        "comment": "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."
      },
      {
        "id": "Medication.ingredient.itemCodeableConcept",
        "path": "Medication.ingredient.itemCodeableConcept",
        "binding": {
          "strength": "preferred",
          "description": "SNOMED CT CA drug substances.",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/drugormedicamentsubstancecode"
        }
      },
      {
        "id": "Medication.ingredient.strength",
        "path": "Medication.ingredient.strength",
        "type": [
          {
            "code": "Ratio",
            "profile": [
              "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/Ratio-ca-ps"
            ]
          }
        ],
        "comment": "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."
      }
    ]
  }
}