2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Profile: cqf-medicationdispense

The official URL for this profile is:

http://hl7.org/fhir/Profile/cqf-medicationdispense-cqf-medicationdispense

. Profile of medication dispense for decision support/quality metrics. Indicates which elements must be supported by CQF rules and measure engines. Removes modifying attributes. : Clinical Quality Framework (CQF) Medication Dispense Profile

This profile was published on Tue, Oct 28, 2014 00:00+1100 as a draft by Health Level Seven, Inc. - CQI WG.

Summary

Required/Prohibited Elements

  • The element MedicationDispense is required
  • The element MedicationDispense.patient is required
  • The element MedicationDispense.substitution.type is required

Fixed Values

  • The element MedicationDispense.status value has been fixed to completed

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationDispense I1..1Dispensing a medication to a named patient
mdd-1: whenHandedOver cannot be before whenPrepared
... id 0..1idLogical id of this artefact
... meta 0..1MetaMetadata about the resource
... implicitRules M0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Language (required, not extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension 0..*ExtensionExtensions that cannot be ignored
... identifier M0..1IdentifierExternal identifier
... status M S0..1codeOnly interested in medication that has actually been dispensed.
Binding: MedicationDispenseStatus (required, not extensible)
Fixed Value: completed
... patient S1..1PatientWho the dispense is for
... dispenser S0..1PractitionerPractitioner responsible for dispensing medication
... authorizingPrescription S0..*MedicationPrescriptionMedication order that authorizes the dispense
... type S0..1CodeableConceptTrial fill, partial fill, emergency fill, etc.
Binding: MedicationDispenseType (example, extensible)
... quantity S0..1QuantityAmount dispensed
... daysSupply S0..1QuantityDays Supply
... medication S0..1MedicationWhat medication was supplied
... whenPrepared S0..1dateTimeDispense processing time
... whenHandedOver S0..1dateTimeHandover time
... destination 0..1LocationWhere the medication was sent
... receiver S0..*Patient, PractitionerWho collected the medication
... note 0..1stringInformation about the dispense
... dosageInstruction S0..*Medicine administration instructions to the patient/carer
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension 0..*ExtensionExtensions that cannot be ignored
.... additionalInstructions 0..1CodeableConceptE.g. "Take with food"
.... schedule[x] S0..1dateTime, Period, TimingWhen medication should be administered
.... asNeeded[x] 0..1boolean, CodeableConceptTake "as needed" f(or x)
Binding: MedicationAsNeededReason (preferred, extensible)
.... site S0..1CodeableConceptBody site to administer to
Binding: MedicationAdministrationSite (example, extensible)
.... route S0..1CodeableConceptHow drug should enter body
Binding: RouteOfAdministration (example, extensible)
.... method S0..1CodeableConceptTechnique for administering medication
Binding: MedicationAdministrationMethod (example, extensible)
.... dose[x] S0..1Range, QuantityAmount of medication per dose
.... rate S0..1RatioAmount of medication per unit of time
.... maxDosePerPeriod S0..1RatioUpper limit on medication per unit of time
... substitution S0..1Deals with substitution of one medicine for another
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension 0..*ExtensionExtensions that cannot be ignored
.... type S1..1CodeableConceptType of substitiution
Binding: MedicationIntendedSubstitutionType (example, extensible)
.... reason S0..*CodeableConceptWhy was substitution made
Binding: MedicationIntendedSubstitutionReason (example, extensible)
.... responsibleParty 0..*PractitionerWho is responsible for the substitution

XML Template

JSON Template

todo

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationDispense I1..1Dispensing a medication to a named patient
mdd-1: whenHandedOver cannot be before whenPrepared
... id 0..1idLogical id of this artefact
... meta 0..1MetaMetadata about the resource
... implicitRules M0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Language (required, not extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension 0..*ExtensionExtensions that cannot be ignored
... identifier M0..1IdentifierExternal identifier
... status M S0..1codeOnly interested in medication that has actually been dispensed.
Binding: MedicationDispenseStatus (required, not extensible)
Fixed Value: completed
... patient S1..1PatientWho the dispense is for
... dispenser S0..1PractitionerPractitioner responsible for dispensing medication
... authorizingPrescription S0..*MedicationPrescriptionMedication order that authorizes the dispense
... type S0..1CodeableConceptTrial fill, partial fill, emergency fill, etc.
Binding: MedicationDispenseType (example, extensible)
... quantity S0..1QuantityAmount dispensed
... daysSupply S0..1QuantityDays Supply
... medication S0..1MedicationWhat medication was supplied
... whenPrepared S0..1dateTimeDispense processing time
... whenHandedOver S0..1dateTimeHandover time
... destination 0..1LocationWhere the medication was sent
... receiver S0..*Patient, PractitionerWho collected the medication
... note 0..1stringInformation about the dispense
... dosageInstruction S0..*Medicine administration instructions to the patient/carer
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension 0..*ExtensionExtensions that cannot be ignored
.... additionalInstructions 0..1CodeableConceptE.g. "Take with food"
.... schedule[x] S0..1dateTime, Period, TimingWhen medication should be administered
.... asNeeded[x] 0..1boolean, CodeableConceptTake "as needed" f(or x)
Binding: MedicationAsNeededReason (preferred, extensible)
.... site S0..1CodeableConceptBody site to administer to
Binding: MedicationAdministrationSite (example, extensible)
.... route S0..1CodeableConceptHow drug should enter body
Binding: RouteOfAdministration (example, extensible)
.... method S0..1CodeableConceptTechnique for administering medication
Binding: MedicationAdministrationMethod (example, extensible)
.... dose[x] S0..1Range, QuantityAmount of medication per dose
.... rate S0..1RatioAmount of medication per unit of time
.... maxDosePerPeriod S0..1RatioUpper limit on medication per unit of time
... substitution S0..1Deals with substitution of one medicine for another
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension 0..*ExtensionExtensions that cannot be ignored
.... type S1..1CodeableConceptType of substitiution
Binding: MedicationIntendedSubstitutionType (example, extensible)
.... reason S0..*CodeableConceptWhy was substitution made
Binding: MedicationIntendedSubstitutionReason (example, extensible)
.... responsibleParty 0..*PractitionerWho is responsible for the substitution

XML Template

JSON Template

todo

 

Other definitions: (todo)

Terminology Bindings

PathNameConformanceValueSet
MedicationDispense.languageLanguagerequiredhttp://tools.ietf.org/html/bcp47
MedicationDispense.statusMedicationDispenseStatusrequiredMedicationDispenseStatus
MedicationDispense.typeMedicationDispenseTypeexample (extensible)ActPharmacySupplyType
MedicationDispense.dosageInstruction.asNeeded[x]MedicationAsNeededReasonpreferred (extensible)
MedicationDispense.dosageInstruction.siteMedicationAdministrationSiteexample (extensible)SNOMED CT Anatomical Structure for Administration Site Codes
MedicationDispense.dosageInstruction.routeRouteOfAdministrationexample (extensible)SNOMED CT Route Codes
MedicationDispense.dosageInstruction.methodMedicationAdministrationMethodexample (extensible)SNOMED CT Introduction (procedure) for Administration Method Codes
MedicationDispense.substitution.typeMedicationIntendedSubstitutionTypeexample (extensible)ActSubstanceAdminSubstitutionCode
MedicationDispense.substitution.reasonMedicationIntendedSubstitutionReasonexample (extensible)SubstanceAdminSubstitutionReason

Constraints

IdPathNameDetails
mdd-1MedicationDispenseTimingwhenHandedOver cannot be before whenPrepared
XPath: not(exists(f:whenHandedOver/@value)) or not(exists(f:whenPrepared/@value)) or ( f:whenHandedOver/@value >= f:whenPrepared/@value)
.