This page is part of the Quality Improvement Core Framework (v1.6.0: STU 2 Ballot 1) based on FHIR v1.6.0. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/qicore/StructureDefinition/qicore-medicationorder
This profile was published on Fri Feb 27 00:00:00 AEDT 2015 as a draft by Health Level Seven International (Clinical Quality Information - QICore).
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from MedicationOrder
Summary
Must-Support: 7 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
This structure is derived from MedicationOrder
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationOrder | I | 0..* | Prescription of medication to for patient dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource | |
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: Common Languages (extensible) | |
text | I | 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 | |
status | ?!S | 0..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: MedicationOrderStatus (required) |
medication[x] | S | 1..1 | CodeableConcept, Reference(Profile qicore-medication) | Medication to be taken Binding: 7.org/fhir/daf/ValueSet/daf-medication-codes (preferred) |
patient | S | 0..1 | Reference(Profile qicore-patient) | Who prescription is for |
encounter | S | 0..1 | Reference(Profile qicore-encounter) | An interaction during which services are provided to the patient |
dateWritten | S | 0..1 | dateTime | When prescription was initially authorized |
prescriber | 0..1 | Reference(Profile qicore-practitioner) | Who ordered the initial medication(s) | |
reasonCode | 0..* | CodeableConcept | Reason or indication for writing the prescription Binding: 7.org/fhir/daf/ValueSet/daf-problem (preferred) | |
reasonReference | 0..* | Reference(Condition) | Condition that supports why the prescription is being written | |
note | 0..* | Annotation | Information about the prescription | |
category | 0..1 | code | Type of medication usage Binding: MedicationOrderCategory (example) | |
dosageInstruction | S | 0..* | BackboneElement | How medication should be taken |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
pharmacy-core-doseType | I | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType Binding: SNOMED CT Dosages Codes (preferred) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-infuseOver | I | 0..1 | Duration | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-rateIncrement | I | 0..1 | Ratio | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-rateIncrementInterval | I | 0..1 | Duration | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-rateGoal | I | 0..1 | Ratio | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-minDosePerPeriod | I | 0..1 | Ratio | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-maxDeliveryRate | I | 0..1 | Ratio | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-maxDeliveryVolume | I | 0..1 | Quantity | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
text | 0..1 | string | Free text dosage instructions e.g. SIG | |
additionalInstructions | 0..* | CodeableConcept | Supplemental instructions - e.g. "with meals" Binding: SNOMED CT Additional Dosage Instructions (example) | |
timing | 0..1 | Timing | When medication should be administered | |
asNeeded[x] | 0..1 | boolean, CodeableConcept | Take "as needed" (for x) Binding: SNOMED CT Medication As Needed Reason Codes (example) | |
site[x] | 0..1 | CodeableConcept, Reference(BodySite) | Body site to administer to Binding: 7.org/fhir/daf/ValueSet/daf-bodysite (preferred) | |
route | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMED CT Route Codes (example) | |
method | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMED CT Administration Method Codes (example) | |
dose[x] | 0..1 | Range, SimpleQuantity | Amount of medication per dose | |
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 | |
rate[x] | 0..1 | Ratio, Range, SimpleQuantity | Amount of medication per unit of time | |
dispenseRequest | S | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
validityPeriod | 0..1 | Period | Time period supply is authorized for | |
numberOfRepeatsAllowed | 0..1 | positiveInt | Number of refills authorized | |
quantity | 0..1 | SimpleQuantity | Amount of medication to supply per dispense | |
expectedSupplyDuration | 0..1 | Duration | Number of days supply per dispense | |
substitution | 0..1 | BackboneElement | Any restrictions on medication substitution | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
allowed | 1..1 | boolean | Whether substitution is allowed or not | |
reason | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: SubstanceAdminSubstitutionReason (example) | |
priorPrescription | 0..1 | Reference(MedicationOrder) | An order/prescription that this supersedes | |
eventHistory | 0..* | BackboneElement | A list of events of interest in the lifecycle | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
status | 1..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: MedicationOrderStatus (required) | |
action | 0..1 | CodeableConcept | Action taken (e.g. verify, discontinue) Binding: (unbound) (example) | |
dateTime | 1..1 | dateTime | The date at which the event happened | |
actor | 0..1 | Reference(Practitioner) | Who took the action | |
reason | 0..1 | CodeableConcept | Reason the action was taken Binding: (unbound) (example) | |
Documentation for this format |
yet to be done: Xml template
yet to be done: Json template
This structure is derived from StructureDefinition.
Summary
Must-Support: 7 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Differential View
This structure is derived from StructureDefinition.
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationOrder | I | 0..* | Prescription of medication to for patient dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-1: If the resource is contained in another resource, it SHALL NOT contain any narrative dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource | |
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: Common Languages (extensible) | |
text | I | 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 | |
status | ?!S | 0..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: MedicationOrderStatus (required) |
medication[x] | S | 1..1 | CodeableConcept, Reference(Profile qicore-medication) | Medication to be taken Binding: 7.org/fhir/daf/ValueSet/daf-medication-codes (preferred) |
patient | S | 0..1 | Reference(Profile qicore-patient) | Who prescription is for |
encounter | S | 0..1 | Reference(Profile qicore-encounter) | An interaction during which services are provided to the patient |
dateWritten | S | 0..1 | dateTime | When prescription was initially authorized |
prescriber | 0..1 | Reference(Profile qicore-practitioner) | Who ordered the initial medication(s) | |
reasonCode | 0..* | CodeableConcept | Reason or indication for writing the prescription Binding: 7.org/fhir/daf/ValueSet/daf-problem (preferred) | |
reasonReference | 0..* | Reference(Condition) | Condition that supports why the prescription is being written | |
note | 0..* | Annotation | Information about the prescription | |
category | 0..1 | code | Type of medication usage Binding: MedicationOrderCategory (example) | |
dosageInstruction | S | 0..* | BackboneElement | How medication should be taken |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
pharmacy-core-doseType | I | 0..1 | CodeableConcept | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType Binding: SNOMED CT Dosages Codes (preferred) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-infuseOver | I | 0..1 | Duration | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-infuseOver ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-rateIncrement | I | 0..1 | Ratio | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrement ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-rateIncrementInterval | I | 0..1 | Duration | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-rateGoal | I | 0..1 | Ratio | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateGoal ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-minDosePerPeriod | I | 0..1 | Ratio | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-minDosePerPeriod ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-maxDeliveryRate | I | 0..1 | Ratio | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryRate ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
pharmacy-core-maxDeliveryVolume | I | 0..1 | Quantity | Extension URL: http://hl7.org/fhir/StructureDefinition/pharmacy-core-maxDeliveryVolume ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
text | 0..1 | string | Free text dosage instructions e.g. SIG | |
additionalInstructions | 0..* | CodeableConcept | Supplemental instructions - e.g. "with meals" Binding: SNOMED CT Additional Dosage Instructions (example) | |
timing | 0..1 | Timing | When medication should be administered | |
asNeeded[x] | 0..1 | boolean, CodeableConcept | Take "as needed" (for x) Binding: SNOMED CT Medication As Needed Reason Codes (example) | |
site[x] | 0..1 | CodeableConcept, Reference(BodySite) | Body site to administer to Binding: 7.org/fhir/daf/ValueSet/daf-bodysite (preferred) | |
route | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMED CT Route Codes (example) | |
method | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMED CT Administration Method Codes (example) | |
dose[x] | 0..1 | Range, SimpleQuantity | Amount of medication per dose | |
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 | |
rate[x] | 0..1 | Ratio, Range, SimpleQuantity | Amount of medication per unit of time | |
dispenseRequest | S | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
validityPeriod | 0..1 | Period | Time period supply is authorized for | |
numberOfRepeatsAllowed | 0..1 | positiveInt | Number of refills authorized | |
quantity | 0..1 | SimpleQuantity | Amount of medication to supply per dispense | |
expectedSupplyDuration | 0..1 | Duration | Number of days supply per dispense | |
substitution | 0..1 | BackboneElement | Any restrictions on medication substitution | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
allowed | 1..1 | boolean | Whether substitution is allowed or not | |
reason | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: SubstanceAdminSubstitutionReason (example) | |
priorPrescription | 0..1 | Reference(MedicationOrder) | An order/prescription that this supersedes | |
eventHistory | 0..* | BackboneElement | A list of events of interest in the lifecycle | |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!∑ | 0..* | Extension | Extensions that cannot be ignored |
status | 1..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: MedicationOrderStatus (required) | |
action | 0..1 | CodeableConcept | Action taken (e.g. verify, discontinue) Binding: (unbound) (example) | |
dateTime | 1..1 | dateTime | The date at which the event happened | |
actor | 0..1 | Reference(Practitioner) | Who took the action | |
reason | 0..1 | CodeableConcept | Reason the action was taken Binding: (unbound) (example) | |
Documentation for this format |
XML Template
yet to be done: Xml template
JSON Template
yet to be done: Json template
Path | Name | Conformance | ValueSet |
MedicationOrder.language | Common Languages | extensible | Common Languages |
MedicationOrder.status | MedicationOrderStatus | required | MedicationOrderStatus |
MedicationOrder.medication[x] | ?ext | preferred | http://hl7.org/fhir/daf/ValueSet/daf-medication-codes |
MedicationOrder.reasonCode | ?ext | preferred | http://hl7.org/fhir/daf/ValueSet/daf-problem |
MedicationOrder.category | MedicationOrderCategory | example | MedicationOrderCategory |
MedicationOrder.dosageInstruction.extension http://hl7.org/fhir/StructureDefinition/pharmacy-core-doseType | SNOMED CT Dosages Codes | preferred | SNOMED CT Dosages Codes |
MedicationOrder.dosageInstruction.additionalInstructions | SNOMED CT Additional Dosage Instructions | example | SNOMED CT Additional Dosage Instructions |
MedicationOrder.dosageInstruction.asNeeded[x] | SNOMED CT Medication As Needed Reason Codes | example | SNOMED CT Medication As Needed Reason Codes |
MedicationOrder.dosageInstruction.site[x] | ?ext | preferred | http://hl7.org/fhir/daf/ValueSet/daf-bodysite |
MedicationOrder.dosageInstruction.route | SNOMED CT Route Codes | example | SNOMED CT Route Codes |
MedicationOrder.dosageInstruction.method | SNOMED CT Administration Method Codes | example | SNOMED CT Administration Method Codes |
MedicationOrder.substitution.reason | SubstanceAdminSubstitutionReason | example | SubstanceAdminSubstitutionReason |
MedicationOrder.eventHistory.status | MedicationOrderStatus | required | MedicationOrderStatus |
MedicationOrder.eventHistory.action | ?ext | example | |
MedicationOrder.eventHistory.reason | ?ext | example |
Id | Path | Details | Requirements |
dom-2 | MedicationOrder | If the resource is contained in another resource, it SHALL NOT contain nested Resources XPath: not(parent::f:contained and f:contained) | |
dom-1 | MedicationOrder | If the resource is contained in another resource, it SHALL NOT contain any narrative XPath: not(parent::f:contained and f:text) | |
dom-4 | MedicationOrder | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated XPath: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated)) | |
dom-3 | MedicationOrder | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource XPath: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))])) | |
ele-1 | MedicationOrder.dosageInstruction.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | MedicationOrder.dosageInstruction.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | MedicationOrder.dosageInstruction.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | MedicationOrder.dosageInstruction.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | MedicationOrder.dosageInstruction.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | MedicationOrder.dosageInstruction.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | MedicationOrder.dosageInstruction.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | MedicationOrder.dosageInstruction.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | MedicationOrder.dosageInstruction.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | MedicationOrder.dosageInstruction.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | MedicationOrder.dosageInstruction.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | MedicationOrder.dosageInstruction.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | MedicationOrder.dosageInstruction.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | MedicationOrder.dosageInstruction.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | MedicationOrder.dosageInstruction.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | MedicationOrder.dosageInstruction.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) | |
ele-1 | MedicationOrder.dosageInstruction.extension | All FHIR elements must have a @value or children XPath: @value|f:*|h:div | |
ext-1 | MedicationOrder.dosageInstruction.extension | Must have either extensions or value[x], not both XPath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]) |