{
  "resourceType": "StructureDefinition",
  "id": "access-medicationdispense-pat",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\" /></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense\">MedicationDispense</a><a name=\"MedicationDispense\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">ACCESS MedicationDispense (Patient) Profile</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.identifier\">identifier</a><a name=\"MedicationDispense.identifier\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">External Identifier</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.status\">status</a><a name=\"MedicationDispense.status\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | unknown<br /><span style=\"font-weight:bold\">Binding: </span><a href=\"http://hl7.org/fhir/R4/valueset-medicationdispense-status.html\">MedicationDispense Status Codes</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)<br /><span style=\"font-weight:bold\">Example General': </span><span style=\"color: darkgreen\">active</span></td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_choice.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Choice of Types\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.medication[x]\">medication[x]</a><a name=\"MedicationDispense.medication_x_\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a>, <a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(http://hl7.org/fhir/ca/core/StructureDefinition/profile-medication)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">What medication was supplied<br /><span style=\"font-weight:bold\">Binding: </span><a href=\"https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct\">https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\">preferred</a>)</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.subject\">subject</a><a name=\"MedicationDispense.subject\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(http://hl7.org/fhir/ca/core/StructureDefinition/profile-patient)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Who the dispense is for</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.location\">location</a><a name=\"MedicationDispense.location\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(http://hl7.org/fhir/ca/core/StructureDefinition/profile-location)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Where the dispense occurred</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.authorizingPrescription\">authorizingPrescription</a><a name=\"MedicationDispense.authorizingPrescription\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(http://infoway-inforoute.ca/fhir/StructureDefinition/access-medicationRequest-pat)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Medication order that authorizes the dispense</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.type\">type</a><a name=\"MedicationDispense.type\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">EM | SO | FF | FFC | FFCS | FFP | FFPS | TF | TFS | FS | MS | RF | DF | RFC | RFCS | RFF | RFFS | RFP | RFPS | RFS | TB | TBS | UD | UDE<br /><span style=\"font-weight:bold\">Binding: </span><a href=\"http://hl7.org/fhir/R4/v3/ActPharmacySupplyType/vs.html\">ActPharmacySupplyType</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#extensible\" title=\"To be conformant, the concept in this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated.  If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.\">extensible</a>)</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.quantity\">quantity</a><a name=\"MedicationDispense.quantity\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Quantity\">Quantity</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Amount dispensed</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.daysSupply\">daysSupply</a><a name=\"MedicationDispense.daysSupply\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Quantity\">Quantity</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Amount of medication expressed as a timing amount</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.dosageInstruction\">dosageInstruction</a><a name=\"MedicationDispense.dosageInstruction\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Dosage\">Dosage</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">How the medication is to be used by the patient or administered by the caregiver</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.dosageInstruction.sequence\">sequence</a><a name=\"MedicationDispense.dosageInstruction.sequence\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The order of the dosage instructions</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.dosageInstruction.text\">text</a><a name=\"MedicationDispense.dosageInstruction.text\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Free text dosage instructions e.g. SIG</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.dosageInstruction.patientInstruction\">patientInstruction</a><a name=\"MedicationDispense.dosageInstruction.patientInstruction\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Patient, citizen, or consumer oriented instructions</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.substitution\">substitution</a><a name=\"MedicationDispense.substitution\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Whether a substitution was performed on the dispense</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.substitution.wasSubstituted\">wasSubstituted</a><a name=\"MedicationDispense.substitution.wasSubstituted\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Whether a substitution was or was not performed on the dispense</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.substitution.type\">type</a><a name=\"MedicationDispense.substitution.type\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Code signifying whether a different drug was dispensed from what was prescribed<br /><span style=\"font-weight:bold\">Binding: </span><a href=\"http://hl7.org/fhir/R4/v3/ActSubstanceAdminSubstitutionCode/vs.html\">V3 Value SetActSubstanceAdminSubstitutionCode</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\">preferred</a>)</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.substitution.reason\">reason</a><a name=\"MedicationDispense.substitution.reason\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Why was substitution made<br /><span style=\"font-weight:bold\">Binding: </span><a href=\"http://hl7.org/fhir/R4/v3/SubstanceAdminSubstitutionReason/vs.html\">V3 Value SetSubstanceAdminSubstitutionReason</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#preferred\" title=\"Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.\">preferred</a>)</td></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white;\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\" /><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\" /><a href=\"{{[id]}}-definitions.html#MedicationDispense.detectedIssue\">detectedIssue</a><a name=\"MedicationDispense.detectedIssue\"></a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\" /><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"http://hl7.org/fhir/R4/detectedissue.html\">DetectedIssue</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Clinical issue with action</td></tr><tr><td colspan=\"5\" class=\"hierarchy\"><br /><a href=\"http://hl7.org/fhir/R4/formats.html#table\" title=\"Legend for this format\"><img src=\"http://hl7.org/fhir/R4/help16.png\" alt=\"doco\" style=\"background-color: inherit\" /> Documentation for this format</a></td></tr></table></div>"
  },
  "url": "http://infoway-inforoute.ca/fhir/StructureDefinition/access-medicationdispense-pat",
  "version": "0.1.0",
  "name": "AccessMedicationDispense-Pat",
  "title": "ACCESS MedicationDispense (Patient) Profile",
  "status": "draft",
  "experimental": false,
  "date": "2019-03-21T04:00:00+00:00",
  "publisher": "Canada Health Infoway",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://infoway-inforoute.ca"
        }
      ]
    }
  ],
  "description": "Constraints on the MedicationDispense resource to reflect source data mappings for the ACCESS Health project. Focus of this profile is on display of medication dispense information to citizen/patient viewers.",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "prince-edward-island-cerx",
      "uri": "http://unknown.org/Prince Edward Island CeRX",
      "name": "Prince Edward Island CeRX"
    },
    {
      "identity": "newfoundland-cerx",
      "uri": "http://unknown.org/Newfoundland CeRX",
      "name": "Newfoundland CeRX"
    },
    {
      "identity": "new-brunswick-cerx",
      "uri": "http://unknown.org/New Brunswick CeRX",
      "name": "New Brunswick CeRX"
    },
    {
      "identity": "nova-scotia-cerx",
      "uri": "http://unknown.org/Nova Scotia CeRX",
      "name": "Nova Scotia CeRX"
    },
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "rx-dispense-rmim",
      "uri": "http://www.hl7.org/v3/PORX_RM020070UV",
      "name": "V3 Pharmacy Dispense RMIM"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "MedicationDispense",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationDispense",
        "path": "MedicationDispense",
        "short": "ACCESS MedicationDispense (Patient) Profile",
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense"
          }
        ]
      },
      {
        "id": "MedicationDispense.identifier",
        "path": "MedicationDispense.identifier",
        "short": "External Identifier",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/id"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/id"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/id"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/id"
          }
        ]
      },
      {
        "id": "MedicationDispense.status",
        "path": "MedicationDispense.status",
        "short": "preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | unknown",
        "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid. \n\nAtlantic Implementors need to be aware that the Act Status Codes recommended by CeRX only partially match the codes to the MedicationDispense status (required) value set.",
        "type": [
          {
            "code": "code"
          }
        ],
        "example": [
          {
            "label": "General",
            "valueCode": "active"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "binding": {
          "strength": "required",
          "description": "MedicationDispense Status Codes",
          "valueSet": "http://hl7.org/fhir/ValueSet/medicationdispense-status"
        },
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/statusCode"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/statusCode"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "No CeRX semantic equivilant available"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/statusCode"
          }
        ]
      },
      {
        "id": "MedicationDispense.medication[x]",
        "path": "MedicationDispense.medication[x]",
        "short": "What medication was supplied",
        "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the Medication resource is recommended. For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource.Medication Reference is maintained in this profile to support medication compounds that can not otherwise be identified under codeable concepts. \n\nImplementors need to be aware that the medication codes utilized by the source DIS will likely come from the Clinical Drug CeRX value set (https://infocentral.infoway-inforoute.ca/extra/ns/cerx43-html/html/vocabulary.html?type=vs&id=ClinicalDrug) which draws in codes from various other code systems (HC-DIN, HC-NPN, HC-AIGC, etc.). There is currently no equivilant FHIR value set that supports this superset to recommend when binding.",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/ca/core/StructureDefinition/profile-medication"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "binding": {
          "strength": "preferred",
          "description": "Canadian Clinical Drug Data (CCDD) Medicinal Products",
          "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptionmedicinalproduct"
        },
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/product/COCT_MT220210CA/medication/player"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/product/COCT_MT220210CA/medication/player"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/component3/supplyEvent/product/COCT_MT220200CA/medication/player"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/product/COCT_MT220210CA/medication/player"
          }
        ]
      },
      {
        "id": "MedicationDispense.subject",
        "path": "MedicationDispense.subject",
        "short": "Who the dispense is for",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/ca/core/StructureDefinition/profile-patient"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/QUQI_MT120000CA/controlActEvent/queryByParameter/parameterList/patientID/value"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/QUQI_MT120000CA/controlActEvent/queryByParameter/parameterList/patientID/value"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/subject/COCT_MT050203CA/patient/id"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/QUQI_MT120000CA/controlActEvent/queryByParameter/parameterList/patientID/value"
          }
        ]
      },
      {
        "id": "MedicationDispense.location",
        "path": "MedicationDispense.location",
        "short": "Where the dispense occurred",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/ca/core/StructureDefinition/profile-location"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/Location/COCT_MT240003CA/serviceDeliveryLocation/id"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/Location/COCT_MT240003CA/serviceDeliveryLocation/id"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/component3/supplyEvent/destination/serviceDeliveryLocation/"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/Location/COCT_MT240003CA/serviceDeliveryLocation/id"
          }
        ]
      },
      {
        "id": "MedicationDispense.authorizingPrescription",
        "path": "MedicationDispense.authorizingPrescription",
        "short": "Medication order that authorizes the dispense",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://infoway-inforoute.ca/fhir/StructureDefinition/access-medicationRequest-pat"
            ]
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/inFulfillmentOf/substanceAdministrationRequest/id"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/inFulfillmentOf/substanceAdministrationRequest/id"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/inFulfillmentOf/substanceAdministrationRequest/id"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/inFulfillmentOf/substanceAdministrationRequest/id"
          }
        ]
      },
      {
        "id": "MedicationDispense.type",
        "path": "MedicationDispense.type",
        "short": "EM | SO | FF | FFC | FFCS | FFP | FFPS | TF | TFS | FS | MS | RF | DF | RFC | RFCS | RFF | RFFS | RFP | RFPS | RFS | TB | TBS | UD | UDE",
        "comment": "Note: The CeRX valueset (https://infocentral.infoway-inforoute.ca/extra/ns/cerx43-html/html/vocabulary.html?type=vs&id=ActPharmacySupplyType)  used by DIS for this element has additional codes beyond the bound FHIR V3 value set.",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "binding": {
          "strength": "extensible",
          "description": "Act Pharmacy Supply Type",
          "valueSet": "http://hl7.org/fhir/ValueSet/v3-ActPharmacySupplyType"
        },
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/code"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/code"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/component3/supplyEvent/code"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/code"
          }
        ]
      },
      {
        "id": "MedicationDispense.quantity",
        "path": "MedicationDispense.quantity",
        "short": "Amount dispensed",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/quantity"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/quantity"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/component3/supplyEvent/quantity"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/quantity"
          }
        ]
      },
      {
        "id": "MedicationDispense.daysSupply",
        "path": "MedicationDispense.daysSupply",
        "short": "Amount of medication expressed as a timing amount",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/expectedUseTime"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/expectedUseTime"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/component3/supplyEvent/expectedUseTime"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component3/supplyEvent/expectedUseTime"
          }
        ]
      },
      {
        "id": "MedicationDispense.dosageInstruction",
        "path": "MedicationDispense.dosageInstruction",
        "short": "How the medication is to be used by the patient or administered by the caregiver",
        "comment": "When the dose or rate is intended to change over the entire administration period (e.g. Tapering dose prescriptions), multiple instances of dosage instructions will need to be supplied to convey the different doses/rates. The pharmacist reviews the medication order prior to dispense and updates the dosageInstruction based on the actual product being dispensed. Desired if available, because v3 CeRX specifications do not differentiate patient specific instructions from dosage instructions, dosage instructions are considered must support for this profile.",
        "type": [
          {
            "code": "Dosage"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/component2/PORX_MT980040CA/dosageInstruction"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction"
          }
        ]
      },
      {
        "id": "MedicationDispense.dosageInstruction.sequence",
        "path": "MedicationDispense.dosageInstruction.sequence",
        "short": "The order of the dosage instructions",
        "type": [
          {
            "code": "integer"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction/component2/sequenceNumber"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction/component2/sequenceNumber"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction/component2/sequenceNumber"
          }
        ]
      },
      {
        "id": "MedicationDispense.dosageInstruction.text",
        "path": "MedicationDispense.dosageInstruction.text",
        "short": "Free text dosage instructions e.g. SIG",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction/text"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction/text"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/component2/PORX_MT980040CA/dosageInstruction/text"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction/text"
          }
        ]
      },
      {
        "id": "MedicationDispense.dosageInstruction.patientInstruction",
        "path": "MedicationDispense.dosageInstruction.patientInstruction",
        "short": "Patient, citizen, or consumer oriented instructions",
        "comment": "CeRX specifications do not differentiate patient specific instructions from dosage instructions, dosage instructions are considered must support for this profile.",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction/component1/supplementalInstruction/text"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction/component1/supplementalInstruction/text"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/component2/PORX_MT980040CA/dosageInstruction/text PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction/component1/supplementalInstruction/text"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component1/PORX_MT980040CA/dosageInstruction/component1/supplementalInstruction/text"
          }
        ]
      },
      {
        "id": "MedicationDispense.substitution",
        "path": "MedicationDispense.substitution",
        "short": "Whether a substitution was performed on the dispense",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component2/substitutionMade/"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component2/substitutionMade/"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/component1/substitutionMade"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component2/substitutionMade/"
          }
        ]
      },
      {
        "id": "MedicationDispense.substitution.wasSubstituted",
        "path": "MedicationDispense.substitution.wasSubstituted",
        "short": "Whether a substitution was or was not performed on the dispense",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "No CeRX semantic equivilant available, may be inferred based on type"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "No CeRX semantic equivilant available, may be inferred based on type"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "No CeRX semantic equivilant available, may be inferred based on type"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "No CeRX semantic equivilant available, may be inferred based on type"
          }
        ]
      },
      {
        "id": "MedicationDispense.substitution.type",
        "path": "MedicationDispense.substitution.type",
        "short": "Code signifying whether a different drug was dispensed from what was prescribed",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "binding": {
          "strength": "preferred",
          "description": "v3 Act Substance Admin Substitution Code",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode"
        },
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component2/substitutionMade/code"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component2/substitutionMade/code"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/component1/substitutionMade/code"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component2/substitutionMade/code"
          }
        ]
      },
      {
        "id": "MedicationDispense.substitution.reason",
        "path": "MedicationDispense.substitution.reason",
        "short": "Why was substitution made",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "binding": {
          "strength": "preferred",
          "description": "Substance Admin Substitution Reason",
          "valueSet": "http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason"
        },
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component2/substitutionMade/reasonCode"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component2/substitutionMade/reasonCode"
          },
          {
            "identity": "new-brunswick-cerx",
            "map": "PORX_IN020190CA/PORX_MT020070CA/medicationDispense/component1/substitutionMade/reasonCode"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/component2/substitutionMade/reasonCode"
          }
        ]
      },
      {
        "id": "MedicationDispense.detectedIssue",
        "path": "MedicationDispense.detectedIssue",
        "short": "Clinical issue with action",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/DetectedIssue"
            ]
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "prince-edward-island-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/subjectOf2/PORX_MT980030CA/detectedIssueEvent"
          },
          {
            "identity": "newfoundland-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/subjectOf2/PORX_MT980030CA/detectedIssueEvent"
          },
          {
            "identity": "nova-scotia-cerx",
            "map": "PORX_IN060220CA/PORX_MT060090CA/medicationDispense/subjectOf2/PORX_MT980030CA/detectedIssueEvent"
          }
        ]
      }
    ]
  }
}