Quality Improvement Core Framework (v3.3.0: STU 4 Ballot 1). The current version is 3.2.0 based on FHIR R4. See the Directory of published versions
Penicillin MedicationDispense Example |
The official URL for this profile is:
http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationdispense
Profile of MedicationDispense for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.
This profile builds on MedicationDispense.
This profile was published on Wed Aug 22 00:00:00 EDT 2018 as a draft by Health Level Seven, Inc. - CQI WG.
Description of Profiles, Differentials, and Snapshots.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationDispense | 0..* | |||
id | 0..1 | id | ||
status | S | 1..1 | code | |
statusReason[x] | S | 0..1 | CodeableConcept, Reference(DetectedIssue) | |
medication[x] | S | 1..1 | CodeableConcept, Reference(Medication) | Binding: US Core Medication Codes (RxNorm) (preferred) |
subject | S | 0..1 | Reference(QICorePatient) | |
performer | 0..* | BackboneElement | ||
authorizingPrescription | 0..* | Reference(QICoreMedicationRequest) | ||
quantity | S | 0..1 | SimpleQuantity | |
daysSupply | S | 0..1 | SimpleQuantity | |
whenHandedOver | S | 0..1 | dateTime | |
destination | 0..1 | Reference(QICoreLocation) | ||
receiver | 0..* | Reference(QICorePatient | QICorePractitioner) | ||
dosageInstruction | 0..* | Dosage | ||
timing | S | 0..1 | Timing | |
site | 0..1 | CodeableConcept | ||
route | S | 0..1 | CodeableConcept | |
doseAndRate | S | 0..* | Element | |
type | S | 1..1 | CodeableConcept | Binding: SNOMED CT Dosages Codes (preferred) |
dose[x] | S | 0..1 | Range, SimpleQuantity | |
substitution | 0..1 | BackboneElement | ||
responsibleParty | 0..* | Reference(QICorePractitioner) | ||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationDispense | I | 0..* | Dispensing a medication to a named patient | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | 0..* | Identifier | External identifier | |
partOf | 0..* | Reference(Procedure) | Event that dispense is part of | |
status | ?!SΣ | 1..1 | code | preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | unknown Binding: MedicationDispense Status Codes (required) |
statusReason[x] | S | 0..1 | Why a dispense was not performed Binding: MedicationDispense Status Reason Codes (example) | |
statusReasonCodeableConcept | CodeableConcept | |||
statusReasonReference | Reference(http://hl7.org/fhir/R4/detectedissue.html) | |||
category | 0..1 | CodeableConcept | Type of medication dispense Binding: MedicationDispense Category Codes (preferred) | |
medication[x] | SΣ | 1..1 | What medication was supplied Binding: US Core Medication Codes (RxNorm) (preferred) | |
medicationCodeableConcept | CodeableConcept | |||
medicationReference | Reference(http://hl7.org/fhir/R4/medication.html) | |||
subject | SΣ | 0..1 | Reference(QICorePatient) | Who the dispense is for |
context | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with event | |
supportingInformation | 0..* | Reference(Resource) | Information that supports the dispensing of the medication | |
performer | I | 0..* | BackboneElement | Who performed event |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
function | 0..1 | CodeableConcept | Who performed the dispense and what they did Binding: MedicationDispense Performer Function Codes (example) | |
actor | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Individual who was performing | |
location | 0..1 | Reference(Location) | Where the dispense occurred | |
authorizingPrescription | 0..* | Reference(QICoreMedicationRequest) | Medication order that authorizes the dispense | |
type | 0..1 | CodeableConcept | Trial fill, partial fill, emergency fill, etc. Binding: V3 Value SetActPharmacySupplyType (example) | |
quantity | S | 0..1 | SimpleQuantity | Amount dispensed |
daysSupply | S | 0..1 | SimpleQuantity | Amount of medication expressed as a timing amount |
whenPrepared | Σ | 0..1 | dateTime | When product was packaged and reviewed |
whenHandedOver | S | 0..1 | dateTime | When product was given out |
destination | 0..1 | Reference(QICoreLocation) | Where the medication was sent | |
receiver | 0..* | Reference(QICorePatient | QICorePractitioner) | Who collected the medication | |
note | 0..* | Annotation | Information about the dispense | |
dosageInstruction | 0..* | Dosage | How the medication is to be used by the patient or administered by the caregiver | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
sequence | Σ | 0..1 | integer | The order of the dosage instructions |
text | Σ | 0..1 | string | Free text dosage instructions e.g. SIG |
additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example) |
patientInstruction | Σ | 0..1 | string | Patient or consumer oriented instructions |
timing | SΣ | 0..1 | Timing | When medication should be administered |
asNeeded[x] | Σ | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example) | |
asNeededBoolean | boolean | |||
asNeededCodeableConcept | CodeableConcept | |||
site | Σ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example) |
route | SΣ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example) |
method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example) |
doseAndRate | SΣI | 0..* | Element | Amount of medication administered |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
type | SΣ | 1..1 | CodeableConcept | The kind of dose or rate specified Binding: SNOMED CT Dosages Codes (preferred) |
dose[x] | SΣ | 0..1 | Amount of medication per dose | |
doseRange | Range | |||
doseQuantity | Quantity | |||
rate[x] | Σ | 0..1 | Amount of medication per unit of time | |
rateRatio | Ratio | |||
rateRange | Range | |||
rateQuantity | Quantity | |||
maxDosePerPeriod | Σ | 0..1 | Ratio | Upper limit on medication per unit of time |
maxDosePerAdministration | Σ | 0..1 | SimpleQuantity | Upper limit on medication per administration |
maxDosePerLifetime | Σ | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient |
substitution | I | 0..1 | BackboneElement | Whether a substitution was performed on the dispense |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
wasSubstituted | 1..1 | boolean | Whether a substitution was or was not performed on the dispense | |
type | 0..1 | CodeableConcept | Code signifying whether a different drug was dispensed from what was prescribed Binding: V3 Value SetActSubstanceAdminSubstitutionCode (example) | |
reason | 0..* | CodeableConcept | Why was substitution made Binding: V3 Value SetSubstanceAdminSubstitutionReason (example) | |
responsibleParty | 0..* | Reference(QICorePractitioner) | Who is responsible for the substitution | |
detectedIssue | 0..* | Reference(DetectedIssue) | Clinical issue with action | |
eventHistory | 0..* | Reference(Provenance) | A list of relevant lifecycle events | |
Documentation for this format |
Differential View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationDispense | 0..* | |||
id | 0..1 | id | ||
status | S | 1..1 | code | |
statusReason[x] | S | 0..1 | CodeableConcept, Reference(DetectedIssue) | |
medication[x] | S | 1..1 | CodeableConcept, Reference(Medication) | Binding: US Core Medication Codes (RxNorm) (preferred) |
subject | S | 0..1 | Reference(QICorePatient) | |
performer | 0..* | BackboneElement | ||
authorizingPrescription | 0..* | Reference(QICoreMedicationRequest) | ||
quantity | S | 0..1 | SimpleQuantity | |
daysSupply | S | 0..1 | SimpleQuantity | |
whenHandedOver | S | 0..1 | dateTime | |
destination | 0..1 | Reference(QICoreLocation) | ||
receiver | 0..* | Reference(QICorePatient | QICorePractitioner) | ||
dosageInstruction | 0..* | Dosage | ||
timing | S | 0..1 | Timing | |
site | 0..1 | CodeableConcept | ||
route | S | 0..1 | CodeableConcept | |
doseAndRate | S | 0..* | Element | |
type | S | 1..1 | CodeableConcept | Binding: SNOMED CT Dosages Codes (preferred) |
dose[x] | S | 0..1 | Range, SimpleQuantity | |
substitution | 0..1 | BackboneElement | ||
responsibleParty | 0..* | Reference(QICorePractitioner) | ||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationDispense | I | 0..* | Dispensing a medication to a named patient | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | 0..* | Identifier | External identifier | |
partOf | 0..* | Reference(Procedure) | Event that dispense is part of | |
status | ?!SΣ | 1..1 | code | preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | unknown Binding: MedicationDispense Status Codes (required) |
statusReason[x] | S | 0..1 | Why a dispense was not performed Binding: MedicationDispense Status Reason Codes (example) | |
statusReasonCodeableConcept | CodeableConcept | |||
statusReasonReference | Reference(http://hl7.org/fhir/R4/detectedissue.html) | |||
category | 0..1 | CodeableConcept | Type of medication dispense Binding: MedicationDispense Category Codes (preferred) | |
medication[x] | SΣ | 1..1 | What medication was supplied Binding: US Core Medication Codes (RxNorm) (preferred) | |
medicationCodeableConcept | CodeableConcept | |||
medicationReference | Reference(http://hl7.org/fhir/R4/medication.html) | |||
subject | SΣ | 0..1 | Reference(QICorePatient) | Who the dispense is for |
context | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with event | |
supportingInformation | 0..* | Reference(Resource) | Information that supports the dispensing of the medication | |
performer | I | 0..* | BackboneElement | Who performed event |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
function | 0..1 | CodeableConcept | Who performed the dispense and what they did Binding: MedicationDispense Performer Function Codes (example) | |
actor | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Individual who was performing | |
location | 0..1 | Reference(Location) | Where the dispense occurred | |
authorizingPrescription | 0..* | Reference(QICoreMedicationRequest) | Medication order that authorizes the dispense | |
type | 0..1 | CodeableConcept | Trial fill, partial fill, emergency fill, etc. Binding: V3 Value SetActPharmacySupplyType (example) | |
quantity | S | 0..1 | SimpleQuantity | Amount dispensed |
daysSupply | S | 0..1 | SimpleQuantity | Amount of medication expressed as a timing amount |
whenPrepared | Σ | 0..1 | dateTime | When product was packaged and reviewed |
whenHandedOver | S | 0..1 | dateTime | When product was given out |
destination | 0..1 | Reference(QICoreLocation) | Where the medication was sent | |
receiver | 0..* | Reference(QICorePatient | QICorePractitioner) | Who collected the medication | |
note | 0..* | Annotation | Information about the dispense | |
dosageInstruction | 0..* | Dosage | How the medication is to be used by the patient or administered by the caregiver | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
sequence | Σ | 0..1 | integer | The order of the dosage instructions |
text | Σ | 0..1 | string | Free text dosage instructions e.g. SIG |
additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example) |
patientInstruction | Σ | 0..1 | string | Patient or consumer oriented instructions |
timing | SΣ | 0..1 | Timing | When medication should be administered |
asNeeded[x] | Σ | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example) | |
asNeededBoolean | boolean | |||
asNeededCodeableConcept | CodeableConcept | |||
site | Σ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example) |
route | SΣ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example) |
method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example) |
doseAndRate | SΣI | 0..* | Element | Amount of medication administered |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
type | SΣ | 1..1 | CodeableConcept | The kind of dose or rate specified Binding: SNOMED CT Dosages Codes (preferred) |
dose[x] | SΣ | 0..1 | Amount of medication per dose | |
doseRange | Range | |||
doseQuantity | Quantity | |||
rate[x] | Σ | 0..1 | Amount of medication per unit of time | |
rateRatio | Ratio | |||
rateRange | Range | |||
rateQuantity | Quantity | |||
maxDosePerPeriod | Σ | 0..1 | Ratio | Upper limit on medication per unit of time |
maxDosePerAdministration | Σ | 0..1 | SimpleQuantity | Upper limit on medication per administration |
maxDosePerLifetime | Σ | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient |
substitution | I | 0..1 | BackboneElement | Whether a substitution was performed on the dispense |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
wasSubstituted | 1..1 | boolean | Whether a substitution was or was not performed on the dispense | |
type | 0..1 | CodeableConcept | Code signifying whether a different drug was dispensed from what was prescribed Binding: V3 Value SetActSubstanceAdminSubstitutionCode (example) | |
reason | 0..* | CodeableConcept | Why was substitution made Binding: V3 Value SetSubstanceAdminSubstitutionReason (example) | |
responsibleParty | 0..* | Reference(QICorePractitioner) | Who is responsible for the substitution | |
detectedIssue | 0..* | Reference(DetectedIssue) | Clinical issue with action | |
eventHistory | 0..* | Reference(Provenance) | A list of relevant lifecycle events | |
Documentation for this format |
Id | Path | Details | Requirements |
dom-2 | MedicationDispense | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-4 | MedicationDispense | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-3 | MedicationDispense | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-6 | MedicationDispense | A resource should have narrative for robust management : text.div.exists() | |
dom-5 | MedicationDispense | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
mdd-1 | MedicationDispense | whenHandedOver cannot be before whenPrepared : whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared | |
ele-1 | MedicationDispense.performer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationDispense.dosageInstruction.doseAndRate | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationDispense.substitution | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |