PackagesCanonicalsLogsProblems
    Packages
    ca-on-dhdr-r4.v1@1.0.0
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationDispense
{
  "description": "Indicates that a medication is to be or has been dispensed for a named patient",
  "_filename": "MedicationDispense.json",
  "package_name": "ca-on-dhdr-r4.v1",
  "date": "2021-12-02T19:29:17.3938077Z",
  "derivation": "constraint",
  "meta": {
    "lastUpdated": "2021-12-06T20:16:12.024+00:00"
  },
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "MedicationDispense",
  "abstract": false,
  "type": "MedicationDispense",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.0",
  "status": "active",
  "id": "149bb5d5-b91b-433f-965b-2204462339a0",
  "kind": "resource",
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationDispense",
  "version": "3.0.0",
  "differential": {
    "element": [ {
      "id": "MedicationDispense",
      "path": "MedicationDispense",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.id",
      "path": "MedicationDispense.id",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.meta",
      "path": "MedicationDispense.meta",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.meta.lastUpdated",
      "path": "MedicationDispense.meta.lastUpdated",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.meta.source",
      "path": "MedicationDispense.meta.source",
      "definition": "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.\r\n\r\nDHDR Note: \r\nHNS: http://ehealthontario.ca/hns\r\nNMS: http://ehealthontario.ca/nms\r\nPharmacy: http://ehealthontario.ca/pharmacy",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.extension",
      "min": 0,
      "path": "MedicationDispense.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationDispense.extension:DispenseRemainingQuantity",
      "max": "1",
      "min": 0,
      "path": "MedicationDispense.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-quantity-remaining" ]
      } ],
      "sliceName": "DispenseRemainingQuantity",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.extension:DispenseRemainingRefills",
      "max": "1",
      "min": 0,
      "path": "MedicationDispense.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-refills-remaining" ]
      } ],
      "sliceName": "DispenseRemainingRefills",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.identifier",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.identifier",
      "comment": "This is a business identifier, not a resource identifier.\r\n\r\nDHDR: Current Rx Number.",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.identifier.system",
      "path": "MedicationDispense.identifier.system",
      "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.\r\n\r\nDHDR: The namespace for the identifier value. This might be unknown for some dispenses that get loaded to DHDR from non-pharmacy feeds, e.g. ODB or NMS.\r\n\r\ne.g. \"[id-system-local-base]/ca-on-pharmacy-[Pharmacy ID]-rx-number\"",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.identifier.value",
      "min": 1,
      "path": "MedicationDispense.identifier.value",
      "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.\r\n\r\nDHDR: Current Rx Number (assigned by a pharmacy). The unique identifier of the data source record.",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.status",
      "path": "MedicationDispense.status",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.category",
      "path": "MedicationDispense.category",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.category.coding",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.category.coding",
      "binding": {
        "strength": "required",
        "valueSet": "https://tgateway.infoway-inforoute.ca/vs/medicationdispensecategory",
        "description": "Dispense type, e.g. drug, device or pharmacy service"
      },
      "mustSupport": true
    }, {
      "id": "MedicationDispense.category.coding.system",
      "min": 1,
      "path": "MedicationDispense.category.coding.system",
      "fixedUri": "http://ehealthontario.ca/fhir/NamingSystem/ca-on-medication-dispense-category",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.category.coding.code",
      "min": 1,
      "path": "MedicationDispense.category.coding.code",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.category.coding.display",
      "min": 1,
      "path": "MedicationDispense.category.coding.display",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.medication[x]",
      "path": "MedicationDispense.medication[x]",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.subject",
      "min": 1,
      "path": "MedicationDispense.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Group", "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient-dispense" ]
      } ],
      "mustSupport": true
    }, {
      "id": "MedicationDispense.subject.reference",
      "min": 1,
      "path": "MedicationDispense.subject.reference",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.performer",
      "max": "2",
      "path": "MedicationDispense.performer",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.performer.actor",
      "path": "MedicationDispense.performer.actor",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "reference",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "MedicationDispense.performer.actor:performerOrganization",
      "path": "MedicationDispense.performer.actor",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Organization-dispenser" ]
      } ],
      "sliceName": "performerOrganization",
      "definition": "The device, practitioner, etc. who performed the action.  It should be assumed that the actor is the dispenser of the medication.\r\n\r\nDHDR: Dispensing Pharmacy",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.performer.actor:performerOrganization.reference",
      "min": 1,
      "path": "MedicationDispense.performer.actor.reference",
      "fixedString": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Organization-dispenser",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.performer.actor:performerPractitioner",
      "path": "MedicationDispense.performer.actor",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Practitioner-dispenser" ]
      } ],
      "sliceName": "performerPractitioner",
      "definition": "The device, practitioner, etc. who performed the action.  It should be assumed that the actor is the dispenser of the medication.\r\n\r\nDHDR: Dispenser (Dispensing Pharmacist)",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.performer.actor:performerPractitioner.reference",
      "min": 1,
      "path": "MedicationDispense.performer.actor.reference",
      "fixedString": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Practitioner-dispenser"
    }, {
      "id": "MedicationDispense.authorizingPrescription",
      "max": "1",
      "path": "MedicationDispense.authorizingPrescription",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/MedicationRequest", "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest" ]
      } ],
      "mustSupport": true
    }, {
      "id": "MedicationDispense.authorizingPrescription.reference",
      "min": 1,
      "path": "MedicationDispense.authorizingPrescription.reference",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.quantity",
      "min": 1,
      "path": "MedicationDispense.quantity",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.quantity.value",
      "min": 1,
      "path": "MedicationDispense.quantity.value",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.quantity.unit",
      "path": "MedicationDispense.quantity.unit",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.quantity.system",
      "path": "MedicationDispense.quantity.system",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.quantity.code",
      "path": "MedicationDispense.quantity.code",
      "binding": {
        "strength": "required",
        "valueSet": "https://tgateway.infoway-inforoute.ca/vs/prescribedquantityunit"
      },
      "mustSupport": true
    }, {
      "id": "MedicationDispense.daysSupply",
      "path": "MedicationDispense.daysSupply",
      "definition": "The amount of medication expressed as a timing amount.\r\n\r\nDHDR: Estimated number of days of treatment based on the directions for use on the prescription and the pharmacists judgment on usage",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.daysSupply.value",
      "min": 1,
      "path": "MedicationDispense.daysSupply.value"
    }, {
      "id": "MedicationDispense.whenPrepared",
      "min": 1,
      "path": "MedicationDispense.whenPrepared",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.whenHandedOver",
      "path": "MedicationDispense.whenHandedOver",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction",
      "max": "1",
      "path": "MedicationDispense.dosageInstruction",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.text",
      "path": "MedicationDispense.dosageInstruction.text",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.patientInstruction",
      "path": "MedicationDispense.dosageInstruction.patientInstruction",
      "definition": "Instructions in terms that are understood by the patient or consumer.\r\n\r\nDHDR: The instructions to the patient on how to take the medication (e.g. with food)",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.timing",
      "path": "MedicationDispense.dosageInstruction.timing",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.timing.repeat",
      "min": 1,
      "path": "MedicationDispense.dosageInstruction.timing.repeat",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.timing.repeat.frequency",
      "min": 1,
      "path": "MedicationDispense.dosageInstruction.timing.repeat.frequency",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.timing.repeat.period",
      "min": 1,
      "path": "MedicationDispense.dosageInstruction.timing.repeat.period",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.timing.repeat.periodMax",
      "path": "MedicationDispense.dosageInstruction.timing.repeat.periodMax",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.timing.repeat.periodUnit",
      "min": 1,
      "path": "MedicationDispense.dosageInstruction.timing.repeat.periodUnit",
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/units-of-time|4.0.0"
      },
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.asNeeded[x]",
      "path": "MedicationDispense.dosageInstruction.asNeeded[x]",
      "type": [ {
        "code": "boolean"
      } ],
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.route",
      "path": "MedicationDispense.dosageInstruction.route",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.route.coding",
      "max": "1",
      "min": 1,
      "path": "MedicationDispense.dosageInstruction.route.coding",
      "binding": {
        "strength": "required",
        "valueSet": "https://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration"
      },
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.route.coding.system",
      "min": 1,
      "path": "MedicationDispense.dosageInstruction.route.coding.system",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.route.coding.code",
      "min": 1,
      "path": "MedicationDispense.dosageInstruction.route.coding.code",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.route.text",
      "path": "MedicationDispense.dosageInstruction.route.text",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.doseAndRate",
      "max": "1",
      "path": "MedicationDispense.dosageInstruction.doseAndRate",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.doseAndRate.dose[x]",
      "path": "MedicationDispense.dosageInstruction.doseAndRate.dose[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].value",
      "min": 1,
      "path": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].value",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].unit",
      "path": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].unit",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].system",
      "path": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].system",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].code",
      "path": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].code",
      "binding": {
        "strength": "required",
        "valueSet": "https://tgateway.infoway-inforoute.ca/vs/prescriptiondosequantityunit"
      },
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense"
}