Profile: MedicationDispense

Simplifier project page: MedicationDispense

Derived from: MedicationDispense (R4)

Canonical_URLProfile_StatusProfile_VersionFHIR_Version
http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationDispensedraft4.0.04.0.1

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work

Differential View

idS Σ0..1System.String
versionIdS Σ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
DispenseRemainingRefillsS I0..1Extension(integer)
DispenseRemainingQuantityS I0..1Extension(Quantity)
DrugServiceCoverageS I0..1Extension(Coding)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
partOfI0..*Reference(Procedure)
statusS Σ ?!1..1codeBinding
statusReasonCodeableConceptCodeableConcept
statusReasonReferenceReference(DetectedIssue)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
medicationReferenceReference(Medication)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
contextI0..1Reference(Encounter | EpisodeOfCare)
supportingInformationI0..*Reference(Resource)
function0..1CodeableConcept
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
locationI0..1Reference(Location)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
type0..1CodeableConcept
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1codeBinding
valueΣ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemΣ I0..1uri
codeΣ0..1code
whenPreparedS Σ1..1dateTime
whenHandedOverS0..1dateTime
destinationI0..1Reference(Location)
receiverI0..*Reference(Patient | Practitioner)
note0..*Annotation
sequenceS Σ0..1integer
textS Σ0..1string
systemS Σ0..1uri
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
patientInstructionS Σ0..1string
eventS Σ0..*dateTime
boundsDurationDuration
boundsRangeRange
boundsPeriodPeriod
countS Σ0..1positiveInt
countMaxS Σ0..1positiveInt
durationS Σ0..1decimal
durationMaxS Σ0..1decimal
durationUnitS Σ0..1codeBinding
frequencyS Σ0..1positiveInt
frequencyMaxS Σ0..1positiveInt
periodS Σ0..1decimal
periodMaxS Σ0..1decimal
periodUnitS Σ0..1codeBinding
dayOfWeekS Σ0..*codeBinding
timeOfDayS Σ0..*time
whenS Σ0..*codeBinding
offsetS Σ0..1unsignedInt
systemS Σ0..1uriFixed Value
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
asNeededBooleanboolean
systemS Σ0..1uri
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
systemS Σ0..1uri
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
typeΣ0..1CodeableConcept
doseRangeRange
doseQuantitySimpleQuantity
rateRatioRatio
rateRangeRange
rateQuantitySimpleQuantity
valueS Σ0..1decimal
comparatorS Σ ?!0..1codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
valueS Σ0..1decimal
comparatorS Σ ?!0..1codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
valueS Σ0..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
valueS Σ0..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
wasSubstituted1..1boolean
type0..1CodeableConcept
reason0..*CodeableConcept
responsiblePartyI0..*Reference(Practitioner | PractitionerRole)
detectedIssueI0..*Reference(DetectedIssue)
eventHistoryI0..*Reference(Provenance)

Hybrid View

idS Σ0..1System.String
versionIdS Σ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
DispenseRemainingRefillsS I0..1Extension(integer)
DispenseRemainingQuantityS I0..1Extension(Quantity)
DrugServiceCoverageS I0..1Extension(Coding)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
partOfI0..*Reference(Procedure)
statusS Σ ?!1..1codeBinding
statusReasonCodeableConceptCodeableConcept
statusReasonReferenceReference(DetectedIssue)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
medicationReferenceReference(Medication)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
contextI0..1Reference(Encounter | EpisodeOfCare)
supportingInformationI0..*Reference(Resource)
function0..1CodeableConcept
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
locationI0..1Reference(Location)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
type0..1CodeableConcept
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1codeBinding
valueΣ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemΣ I0..1uri
codeΣ0..1code
whenPreparedS Σ1..1dateTime
whenHandedOverS0..1dateTime
destinationI0..1Reference(Location)
receiverI0..*Reference(Patient | Practitioner)
note0..*Annotation
sequenceS Σ0..1integer
textS Σ0..1string
systemS Σ0..1uri
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
patientInstructionS Σ0..1string
eventS Σ0..*dateTime
boundsDurationDuration
boundsRangeRange
boundsPeriodPeriod
countS Σ0..1positiveInt
countMaxS Σ0..1positiveInt
durationS Σ0..1decimal
durationMaxS Σ0..1decimal
durationUnitS Σ0..1codeBinding
frequencyS Σ0..1positiveInt
frequencyMaxS Σ0..1positiveInt
periodS Σ0..1decimal
periodMaxS Σ0..1decimal
periodUnitS Σ0..1codeBinding
dayOfWeekS Σ0..*codeBinding
timeOfDayS Σ0..*time
whenS Σ0..*codeBinding
offsetS Σ0..1unsignedInt
systemS Σ0..1uriFixed Value
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
asNeededBooleanboolean
systemS Σ0..1uri
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
systemS Σ0..1uri
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
typeΣ0..1CodeableConcept
doseRangeRange
doseQuantitySimpleQuantity
rateRatioRatio
rateRangeRange
rateQuantitySimpleQuantity
valueS Σ0..1decimal
comparatorS Σ ?!0..1codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
valueS Σ0..1decimal
comparatorS Σ ?!0..1codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
valueS Σ0..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
valueS Σ0..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
wasSubstituted1..1boolean
type0..1CodeableConcept
reason0..*CodeableConcept
responsiblePartyI0..*Reference(Practitioner | PractitionerRole)
detectedIssueI0..*Reference(DetectedIssue)
eventHistoryI0..*Reference(Provenance)

Snapshot View

idS Σ0..1System.String
versionIdS Σ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
DispenseRemainingRefillsS I0..1Extension(integer)
DispenseRemainingQuantityS I0..1Extension(Quantity)
DrugServiceCoverageS I0..1Extension(Coding)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
partOfI0..*Reference(Procedure)
statusS Σ ?!1..1codeBinding
statusReasonCodeableConceptCodeableConcept
statusReasonReferenceReference(DetectedIssue)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
medicationReferenceReference(Medication)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
contextI0..1Reference(Encounter | EpisodeOfCare)
supportingInformationI0..*Reference(Resource)
function0..1CodeableConcept
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
locationI0..1Reference(Location)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
type0..1CodeableConcept
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1codeBinding
valueΣ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemΣ I0..1uri
codeΣ0..1code
whenPreparedS Σ1..1dateTime
whenHandedOverS0..1dateTime
destinationI0..1Reference(Location)
receiverI0..*Reference(Patient | Practitioner)
note0..*Annotation
sequenceS Σ0..1integer
textS Σ0..1string
systemS Σ0..1uri
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
patientInstructionS Σ0..1string
eventS Σ0..*dateTime
boundsDurationDuration
boundsRangeRange
boundsPeriodPeriod
countS Σ0..1positiveInt
countMaxS Σ0..1positiveInt
durationS Σ0..1decimal
durationMaxS Σ0..1decimal
durationUnitS Σ0..1codeBinding
frequencyS Σ0..1positiveInt
frequencyMaxS Σ0..1positiveInt
periodS Σ0..1decimal
periodMaxS Σ0..1decimal
periodUnitS Σ0..1codeBinding
dayOfWeekS Σ0..*codeBinding
timeOfDayS Σ0..*time
whenS Σ0..*codeBinding
offsetS Σ0..1unsignedInt
systemS Σ0..1uriFixed Value
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
asNeededBooleanboolean
systemS Σ0..1uri
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
systemS Σ0..1uri
versionΣ0..1string
codeS Σ0..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
typeΣ0..1CodeableConcept
doseRangeRange
doseQuantitySimpleQuantity
rateRatioRatio
rateRangeRange
rateQuantitySimpleQuantity
valueS Σ0..1decimal
comparatorS Σ ?!0..1codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
valueS Σ0..1decimal
comparatorS Σ ?!0..1codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
valueS Σ0..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
valueS Σ0..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1code
wasSubstituted1..1boolean
type0..1CodeableConcept
reason0..*CodeableConcept
responsiblePartyI0..*Reference(Practitioner | PractitionerRole)
detectedIssueI0..*Reference(DetectedIssue)
eventHistoryI0..*Reference(Provenance)

Table View

MedicationDispense..
MedicationDispense.id..
MedicationDispense.meta..
MedicationDispense.meta.versionId..
MedicationDispense.meta.lastUpdated..
MedicationDispense.meta.source..
MedicationDispense.containedMedication, MedicationRequest Prescription, Practitioner, Organization, PractitionerRole1..
MedicationDispense.contained.id..
MedicationDispense.contained.meta..
MedicationDispense.contained.meta.lastUpdated..
MedicationDispense.contained.meta.source..
MedicationDispense.extension0..
MedicationDispense.extensionExtension0..1
MedicationDispense.extensionExtension0..1
MedicationDispense.extensionExtension0..1
MedicationDispense.identifier1..2
MedicationDispense.identifier1..1
MedicationDispense.identifier.system1..
MedicationDispense.identifier.value1..
MedicationDispense.identifier..1
MedicationDispense.identifier.system1..
MedicationDispense.identifier.value1..
MedicationDispense.status..
MedicationDispense.category..
MedicationDispense.category.coding1..1
MedicationDispense.category.coding.system1..
MedicationDispense.category.coding.code1..
MedicationDispense.category.coding.display1..
MedicationDispense.medication[x]Reference()..
MedicationDispense.medication[x].reference1..
MedicationDispense.subjectReference(Patient)1..
MedicationDispense.subject.reference1..
MedicationDispense.performer..1
MedicationDispense.performer.actorReference(PractitionerRole)..
MedicationDispense.performer.actor.reference1..
MedicationDispense.authorizingPrescriptionReference(MedicationRequest Prescription)..1
MedicationDispense.authorizingPrescription.reference1..
MedicationDispense.quantity..
MedicationDispense.quantity.value1..
MedicationDispense.quantity.unit..
MedicationDispense.quantity.system..
MedicationDispense.quantity.code..
MedicationDispense.daysSupply..
MedicationDispense.daysSupply.value1..
MedicationDispense.whenPrepared1..
MedicationDispense.whenHandedOver..
MedicationDispense.dosageInstruction..
MedicationDispense.dosageInstruction.sequence..
MedicationDispense.dosageInstruction.text..
MedicationDispense.dosageInstruction.additionalInstruction..
MedicationDispense.dosageInstruction.additionalInstruction.coding..
MedicationDispense.dosageInstruction.additionalInstruction.coding.system..
MedicationDispense.dosageInstruction.additionalInstruction.coding.code..
MedicationDispense.dosageInstruction.additionalInstruction.coding.display..
MedicationDispense.dosageInstruction.additionalInstruction.text..
MedicationDispense.dosageInstruction.patientInstruction..
MedicationDispense.dosageInstruction.timing..
MedicationDispense.dosageInstruction.timing.event..
MedicationDispense.dosageInstruction.timing.repeat..
MedicationDispense.dosageInstruction.timing.repeat.bounds[x]..
MedicationDispense.dosageInstruction.timing.repeat.count..
MedicationDispense.dosageInstruction.timing.repeat.countMax..
MedicationDispense.dosageInstruction.timing.repeat.duration..
MedicationDispense.dosageInstruction.timing.repeat.durationMax..
MedicationDispense.dosageInstruction.timing.repeat.durationUnit..
MedicationDispense.dosageInstruction.timing.repeat.frequency..
MedicationDispense.dosageInstruction.timing.repeat.frequencyMax..
MedicationDispense.dosageInstruction.timing.repeat.period..
MedicationDispense.dosageInstruction.timing.repeat.periodMax..
MedicationDispense.dosageInstruction.timing.repeat.periodUnit..
MedicationDispense.dosageInstruction.timing.repeat.dayOfWeek..
MedicationDispense.dosageInstruction.timing.repeat.timeOfDay..
MedicationDispense.dosageInstruction.timing.repeat.when..
MedicationDispense.dosageInstruction.timing.repeat.offset..
MedicationDispense.dosageInstruction.timing.code..
MedicationDispense.dosageInstruction.timing.code.coding..
MedicationDispense.dosageInstruction.timing.code.coding.system..
MedicationDispense.dosageInstruction.timing.code.coding.code..
MedicationDispense.dosageInstruction.timing.code.coding.display..
MedicationDispense.dosageInstruction.timing.code.text..
MedicationDispense.dosageInstruction.asNeeded[x]boolean..
MedicationDispense.dosageInstruction.site..
MedicationDispense.dosageInstruction.site.coding..
MedicationDispense.dosageInstruction.site.coding.system..
MedicationDispense.dosageInstruction.site.coding.code..
MedicationDispense.dosageInstruction.site.coding.display..
MedicationDispense.dosageInstruction.site.text..
MedicationDispense.dosageInstruction.route..
MedicationDispense.dosageInstruction.route.coding1..1
MedicationDispense.dosageInstruction.route.coding.system1..
MedicationDispense.dosageInstruction.route.coding.code1..
MedicationDispense.dosageInstruction.route.coding.display1..
MedicationDispense.dosageInstruction.method..
MedicationDispense.dosageInstruction.method.coding..
MedicationDispense.dosageInstruction.method.coding.system..
MedicationDispense.dosageInstruction.method.coding.code..
MedicationDispense.dosageInstruction.method.coding.display..
MedicationDispense.dosageInstruction.method.text..
MedicationDispense.dosageInstruction.doseAndRate..
MedicationDispense.dosageInstruction.doseAndRate.dose[x]..
MedicationDispense.dosageInstruction.doseAndRate.rate[x]..
MedicationDispense.dosageInstruction.maxDosePerPeriod..
MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator..
MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.value..
MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.comparator..
MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.unit..
MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.system..
MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.code..
MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator..
MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.value..
MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.comparator..
MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.unit..
MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.system..
MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.code..
MedicationDispense.dosageInstruction.maxDosePerAdministration..
MedicationDispense.dosageInstruction.maxDosePerAdministration.value..
MedicationDispense.dosageInstruction.maxDosePerAdministration.unit..
MedicationDispense.dosageInstruction.maxDosePerAdministration.system..
MedicationDispense.dosageInstruction.maxDosePerAdministration.code..
MedicationDispense.dosageInstruction.maxDosePerLifetime..
MedicationDispense.dosageInstruction.maxDosePerLifetime.value..
MedicationDispense.dosageInstruction.maxDosePerLifetime.unit..
MedicationDispense.dosageInstruction.maxDosePerLifetime.system..
MedicationDispense.dosageInstruction.maxDosePerLifetime.code..


JSON View

{
    "resourceType": "StructureDefinition",
    "id": "d5d38102-c557-41af-a34b-38bfa77a5ea0",
    "meta": {
        "lastUpdated": "2023-07-07T15:43:44.0821131+00:00"
    },
    "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationDispense",
    "version": "4.0.0",
    "name": "MedicationDispense",
    "title": "MedicationDispense",
    "status": "draft",
    "date": "2022-02-14T19:05:36.9336556+00:00",
    "description": "Indicates that a medication is to be or has been dispensed for a named patient",
    "fhirVersion": "4.0.1",
    "kind": "resource",
    "abstract": false,
    "type": "MedicationDispense",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
    "derivation": "constraint",
    "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.versionId",
                "path": "MedicationDispense.meta.versionId",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.meta.lastUpdated",
                "path": "MedicationDispense.meta.lastUpdated",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.meta.source",
                "path": "MedicationDispense.meta.source",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.contained",
                "path": "MedicationDispense.contained",
                "min": 1,
                "type":  [
                    {
                        "code": "Resource",
                        "profile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication",
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest",
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Practitioner",
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Organization",
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-PractitionerRole"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.contained.id",
                "path": "MedicationDispense.contained.id",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.contained.meta",
                "path": "MedicationDispense.contained.meta",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.contained.meta.lastUpdated",
                "path": "MedicationDispense.contained.meta.lastUpdated",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.contained.meta.source",
                "path": "MedicationDispense.contained.meta.source",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.extension",
                "path": "MedicationDispense.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "MedicationDispense.extension:DispenseRemainingRefills",
                "path": "MedicationDispense.extension",
                "sliceName": "DispenseRemainingRefills",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-refills-remaining"
                        ]
                    }
                ],
                "isModifier": false
            },
            {
                "id": "MedicationDispense.extension:DispenseRemainingQuantity",
                "path": "MedicationDispense.extension",
                "sliceName": "DispenseRemainingQuantity",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-quantity-remaining"
                        ]
                    }
                ],
                "isModifier": false
            },
            {
                "id": "MedicationDispense.extension:DrugServiceCoverage",
                "path": "MedicationDispense.extension",
                "sliceName": "DrugServiceCoverage",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-drug-service-coverage"
                        ]
                    }
                ],
                "isModifier": false
            },
            {
                "id": "MedicationDispense.identifier",
                "path": "MedicationDispense.identifier",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "assigner.identifier.system"
                        }
                    ],
                    "rules": "open"
                },
                "min": 1,
                "max": "2",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.identifier:currentRxNo",
                "path": "MedicationDispense.identifier",
                "sliceName": "currentRxNo",
                "min": 1,
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.identifier:currentRxNo.system",
                "path": "MedicationDispense.identifier.system",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.identifier:currentRxNo.value",
                "path": "MedicationDispense.identifier.value",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.identifier:originalRxNo",
                "path": "MedicationDispense.identifier",
                "sliceName": "originalRxNo",
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.identifier:originalRxNo.system",
                "path": "MedicationDispense.identifier.system",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.identifier:originalRxNo.value",
                "path": "MedicationDispense.identifier.value",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.status",
                "path": "MedicationDispense.status",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.category",
                "path": "MedicationDispense.category",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "description": "Dispense type, e.g. drug, device or pharmacy service",
                    "valueSet": "http://ehealthontario.ca/fhir/ValueSet/dhdr-dispense-category"
                }
            },
            {
                "id": "MedicationDispense.category.coding",
                "path": "MedicationDispense.category.coding",
                "min": 1,
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.category.coding.system",
                "path": "MedicationDispense.category.coding.system",
                "min": 1,
                "fixedUri": "http://ehealthontario.ca/fhir/CodeSystem/medication-dispense-category",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.category.coding.code",
                "path": "MedicationDispense.category.coding.code",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.category.coding.display",
                "path": "MedicationDispense.category.coding.display",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.medication[x]",
                "path": "MedicationDispense.medication[x]",
                "type":  [
                    {
                        "code": "Reference"
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.medication[x].reference",
                "path": "MedicationDispense.medication[x].reference",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.subject",
                "path": "MedicationDispense.subject",
                "min": 1,
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.subject.reference",
                "path": "MedicationDispense.subject.reference",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.performer",
                "path": "MedicationDispense.performer",
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.performer.actor",
                "path": "MedicationDispense.performer.actor",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-PractitionerRole"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.performer.actor.reference",
                "path": "MedicationDispense.performer.actor.reference",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.authorizingPrescription",
                "path": "MedicationDispense.authorizingPrescription",
                "max": "1",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.authorizingPrescription.reference",
                "path": "MedicationDispense.authorizingPrescription.reference",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.quantity",
                "path": "MedicationDispense.quantity",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.quantity.value",
                "path": "MedicationDispense.quantity.value",
                "min": 1,
                "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",
                "mustSupport": true,
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://tgateway.infoway-inforoute.ca/vs/prescribedquantityunit"
                }
            },
            {
                "id": "MedicationDispense.daysSupply",
                "path": "MedicationDispense.daysSupply",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.daysSupply.value",
                "path": "MedicationDispense.daysSupply.value",
                "min": 1
            },
            {
                "id": "MedicationDispense.whenPrepared",
                "path": "MedicationDispense.whenPrepared",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.whenHandedOver",
                "path": "MedicationDispense.whenHandedOver",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction",
                "path": "MedicationDispense.dosageInstruction",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.sequence",
                "path": "MedicationDispense.dosageInstruction.sequence",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.text",
                "path": "MedicationDispense.dosageInstruction.text",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.additionalInstruction",
                "path": "MedicationDispense.dosageInstruction.additionalInstruction",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.additionalInstruction.coding",
                "path": "MedicationDispense.dosageInstruction.additionalInstruction.coding",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.additionalInstruction.coding.system",
                "path": "MedicationDispense.dosageInstruction.additionalInstruction.coding.system",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.additionalInstruction.coding.code",
                "path": "MedicationDispense.dosageInstruction.additionalInstruction.coding.code",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.additionalInstruction.coding.display",
                "path": "MedicationDispense.dosageInstruction.additionalInstruction.coding.display",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.additionalInstruction.text",
                "path": "MedicationDispense.dosageInstruction.additionalInstruction.text",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.patientInstruction",
                "path": "MedicationDispense.dosageInstruction.patientInstruction",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing",
                "path": "MedicationDispense.dosageInstruction.timing",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.event",
                "path": "MedicationDispense.dosageInstruction.timing.event",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat",
                "path": "MedicationDispense.dosageInstruction.timing.repeat",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.bounds[x]",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.bounds[x]",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.count",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.count",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.countMax",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.countMax",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.duration",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.duration",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.durationMax",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.durationMax",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.durationUnit",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.durationUnit",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.frequency",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.frequency",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.frequencyMax",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.frequencyMax",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.period",
                "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",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.periodUnit",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://hl7.org/fhir/ValueSet/units-of-time|4.0.0"
                }
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.dayOfWeek",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.dayOfWeek",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.timeOfDay",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.timeOfDay",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.when",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.when",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.offset",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.offset",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.code",
                "path": "MedicationDispense.dosageInstruction.timing.code",
                "mustSupport": true,
                "binding": {
                    "strength": "extensible",
                    "valueSet": "http://ehealthontario.ca/fhir/ValueSet/dhdr-medication-repeat-pattern"
                }
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.code.coding",
                "path": "MedicationDispense.dosageInstruction.timing.code.coding",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.code.coding.system",
                "path": "MedicationDispense.dosageInstruction.timing.code.coding.system",
                "fixedUri": "http://snomed.info/sct",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.code.coding.code",
                "path": "MedicationDispense.dosageInstruction.timing.code.coding.code",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.code.coding.display",
                "path": "MedicationDispense.dosageInstruction.timing.code.coding.display",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.code.text",
                "path": "MedicationDispense.dosageInstruction.timing.code.text",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.asNeeded[x]",
                "path": "MedicationDispense.dosageInstruction.asNeeded[x]",
                "type":  [
                    {
                        "code": "boolean"
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.site",
                "path": "MedicationDispense.dosageInstruction.site",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.site.coding",
                "path": "MedicationDispense.dosageInstruction.site.coding",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.site.coding.system",
                "path": "MedicationDispense.dosageInstruction.site.coding.system",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.site.coding.code",
                "path": "MedicationDispense.dosageInstruction.site.coding.code",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.site.coding.display",
                "path": "MedicationDispense.dosageInstruction.site.coding.display",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.site.text",
                "path": "MedicationDispense.dosageInstruction.site.text",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.route",
                "path": "MedicationDispense.dosageInstruction.route",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.route.coding",
                "path": "MedicationDispense.dosageInstruction.route.coding",
                "min": 1,
                "max": "1",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration"
                }
            },
            {
                "id": "MedicationDispense.dosageInstruction.route.coding.system",
                "path": "MedicationDispense.dosageInstruction.route.coding.system",
                "min": 1,
                "fixedUri": "http://snomed.info/sct",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.route.coding.code",
                "path": "MedicationDispense.dosageInstruction.route.coding.code",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.route.coding.display",
                "path": "MedicationDispense.dosageInstruction.route.coding.display",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.method",
                "path": "MedicationDispense.dosageInstruction.method",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.method.coding",
                "path": "MedicationDispense.dosageInstruction.method.coding",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.method.coding.system",
                "path": "MedicationDispense.dosageInstruction.method.coding.system",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.method.coding.code",
                "path": "MedicationDispense.dosageInstruction.method.coding.code",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.method.coding.display",
                "path": "MedicationDispense.dosageInstruction.method.coding.display",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.method.text",
                "path": "MedicationDispense.dosageInstruction.method.text",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.doseAndRate",
                "path": "MedicationDispense.dosageInstruction.doseAndRate",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.doseAndRate.dose[x]",
                "path": "MedicationDispense.dosageInstruction.doseAndRate.dose[x]",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.doseAndRate.rate[x]",
                "path": "MedicationDispense.dosageInstruction.doseAndRate.rate[x]",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.value",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.value",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.comparator",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.comparator",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.unit",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.unit",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.system",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.system",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.code",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.numerator.code",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.value",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.value",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.comparator",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.comparator",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.unit",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.unit",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.system",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.system",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.code",
                "path": "MedicationDispense.dosageInstruction.maxDosePerPeriod.denominator.code",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerAdministration",
                "path": "MedicationDispense.dosageInstruction.maxDosePerAdministration",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerAdministration.value",
                "path": "MedicationDispense.dosageInstruction.maxDosePerAdministration.value",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerAdministration.unit",
                "path": "MedicationDispense.dosageInstruction.maxDosePerAdministration.unit",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerAdministration.system",
                "path": "MedicationDispense.dosageInstruction.maxDosePerAdministration.system",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerAdministration.code",
                "path": "MedicationDispense.dosageInstruction.maxDosePerAdministration.code",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerLifetime",
                "path": "MedicationDispense.dosageInstruction.maxDosePerLifetime",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerLifetime.value",
                "path": "MedicationDispense.dosageInstruction.maxDosePerLifetime.value",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerLifetime.unit",
                "path": "MedicationDispense.dosageInstruction.maxDosePerLifetime.unit",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerLifetime.system",
                "path": "MedicationDispense.dosageInstruction.maxDosePerLifetime.system",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.maxDosePerLifetime.code",
                "path": "MedicationDispense.dosageInstruction.maxDosePerLifetime.code",
                "mustSupport": true
            }
        ]
    }
}

Usage

The MedicationDispense Resource represents a medication report from DHDR. MedicationDispense shall contain references to other resources such as patient, practitioner, organization, medication, and medicationRequest resources.

Notes

.meta

  • source can be
    HNS: http://ehealthontario.ca/hns
    NMS: http://ehealthontario.ca/nms
    Pharmacy: http://ehealthontario.ca/pharmacy
    COVAX: http://ehealthontario.ca/covaxon

.identifier

  • sliced identifier element
  • business identifier for the medication report
  • the field contains current Rx Number assigned by the dispensing pharmacy and/or original RX number
  • identifier:currentRxNo.system the namespace for the identifier value.
    e.g. [id-system-local-base]/ca-on-pharmacy-[Pharmacy ID]-rx-number
  • identifier:currentRxNo.value the unique identifier of the data source record (RX number for pharmacy feeds, Immunization ID for COVaxON records)
  • identifier:originalRxNo.system each pharmacy to be assigned a unique URI (Pharmacy ID is a CPhA National Pharmacy ID Code or eHealth Ontario UPI (Unique Provider Identifier)).
    e.g. [id-system-local-base]/ca-on-pharmacy-[Pharmacy ID]-original-rx-number
  • identifier:originalRxNo.value should be original Rx Number assigned by the pharmacy system on the first fill. This might be unknown for some dispenses that get loaded to DHDR from non-pharmacy feeds, e.g. ODB or NMS.

.status

  • a code specifying the state of the dispense event. For dispense that occurred: completed . For reversed dispense: entered-in-error

.category

  • type of medication dispense to distinguish between drugs, devices and professional services.

.performer

  • this field identifies the actor that is the dispenser of the medication (despensing pharmacy or dispensing pharmacist). It should contain a reference to an organization or ptactitioner instance in the bundle.

.authorizingPrescription

  • this field indicates the medication dispensed or pharmacy service rendered
  • SHALL be mandatory if category is drug

.quantity

  • this field indicates the quantity of medication/devices dispensed (dosage units or metric weights)
  • this field is mandatory for meidcations and devices. Optional for services

.daysSupply

  • estimated number of days of treatment based on the directions for use on the prescription and the pharmacists judgment on usage
  • SHALL be mandatory if category is drug

.whenPrepared

  • this field indicates dispense date (when product was packaged and reviewed) - when pharmacy service was rendered

.whenHandedOver

  • this field indicates when product was given out (picked up by a patient or their representative)

.dosageInstruction

  • dosageInstruction.text the dosage specification. Free text dosage instructions.
  • dosageInstruction.patientInstruction this field indicates patient dosage instruction. The instructions to the patient on how to take the medication (e.g. with food)
  • dosageInstruction.timing this field indicates frequency, a timing schedule that specifies an event that may occur multiple times
  • dosageInstruction.timing.repeat.periodMax this field indicates the upper limit of the period when the dosage is a range, for example, every 4-6 hours.
  • dosageInstruction.asNeeded[x]PRN indicator. Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).