3.102 StructureDefinition: PrescribeIT® Prescription 903
The official URL for this profile is:
http://prescribeit.ca/fhir/StructureDefinition/profile-medicationorder-903
3.102.2 Formal Views of Profile Content
Download Excel representation
Description of Profiles, Differentials, Snapshots and how the different presentations work.
>
This structure is derived from MedicationOrder
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
MedicationOrder | 0..* | MedicationOrder | Definition: An order for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called "MedicationOrder" rather than "MedicationPrescription" to generalize the use across inpatient and outpatient settings as well as for care plans, etc. |
id | 1..1 | id | Definition: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. Comments: Usage Note: This will usually be a GUID and is assigned by the sending application. |
contained | 1..1 | Resource | Definition: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. Comments: Conformance Rule: This will be used to contain the Medication resource. No other resources should be 'contained'. |
medication[x] (medicationReference) | 1..1 | Reference() | Definition: Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications. Comments: If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended. Note: do not use Medication.name to describe the prescribed medication. When the only available information is a text description of the medication, Medication.code.text should be used. |
display | 1..1 | string | Fixed Value: medication Definition: Plain text narrative that identifies the resource in addition to the resource reference. Comments: Fixed value: medication |
patient | 1..1 | Reference(Shared Health Patient - 903) {b} | Definition: A link to a resource representing the person to whom the medication will be given. Comments: Identifies the patient tied to the task. (FHIR prohibits inheritance of context, so this must be explicitly declared rather than inferred from the presence of the Patient resource in the message) |
reference | 1..1 | string | Definition: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. Comments: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server. |
This structure is derived from MedicationOrder
This structure is derived from MedicationOrder
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationOrder | S | 0..* | MedicationOrder | Prescription of medication to for patient |
id | S | 1..1 | id | Logical id of this artifact |
contained | S | 1..1 | Resource | Contained, inline Resources |
medicationReference | S | 1..1 | Reference() | Medication to be taken |
display | S | 1..1 | string | Text alternative for the resource Fixed Value: medication |
patient | S | 1..1 | Reference(Shared Health Patient - 903) {b} | Who prescription is for |
reference | S | 1..1 | string | Relative, internal or absolute URL reference |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationOrder | SΣ | 0..* | MedicationOrder | Prescription of medication to for patient |
id | SΣ | 1..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: http://tools.ietf.org/html/bcp47 (required): A human language. | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | S | 1..1 | 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 | ?!Σ | 0..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: MedicationOrderStatus (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription. |
medication[x] | Σ | 1..1 | (Slice Definition) | Medication to be taken Slice: Unordered, Closed by type:$this |
medication[x]:medicationReference | SΣ | 1..1 | Reference() | Medication to be taken |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
reference | ΣI | 0..1 | string | Relative, internal or absolute URL reference |
display | SΣ | 1..1 | string | Text alternative for the resource Fixed Value: medication |
patient | SΣ | 1..1 | Reference(Shared Health Patient - 903) {b} | Who prescription is for |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
reference | SΣI | 1..1 | string | Relative, internal or absolute URL reference |
display | Σ | 0..1 | string | Text alternative for the resource |
encounter | Σ | 0..1 | Reference(Encounter) | Created during encounter/admission/stay |
dateWritten | Σ | 0..1 | dateTime | When prescription was authorized |
prescriber | Σ | 0..1 | Reference(Practitioner) | Who ordered the medication(s) |
reasonCode | Σ | 0..* | CodeableConcept | Reason or indication for writing the prescription Binding: Condition/Problem/Diagnosis Codes (example): Codes indicating why the medication was ordered. |
reasonReference | Σ | 0..* | Reference(Condition) | Condition that supports why the prescription is being written |
dateEnded | Σ | 0..1 | dateTime | When prescription was stopped |
reasonEnded | Σ | 0..1 | CodeableConcept | Why prescription was stopped Binding: (unbound) (example): Codes indicating why the medication was terminated; e.g. Adverse reaction, medication change, issue resolved, etc. |
note | Σ | 0..* | Annotation | Information about the prescription |
dosageInstruction | Σ | 0..* | BackboneElement | How medication should be taken |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
text | Σ | 0..1 | string | Free text dosage instructions e.g. SIG |
additionalInstructions | Σ | 0..1 | CodeableConcept | Supplemental instructions - e.g. "with meals" Binding: (unbound) (example): Codes identifying additional instructions such as "take with water" or "avoid operating heavy machinery". |
timing | Σ | 0..1 | Timing | When medication should be administered |
asNeeded[x] | Σ | 0..1 | Take "as needed" (for x) Binding: (unbound) (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. | |
asNeededBoolean | boolean | |||
asNeededCodeableConcept | CodeableConcept | |||
site[x] | Σ | 0..1 | Body site to administer to Binding: SNOMED CT Anatomical Structure for Administration Site Codes (example): A coded concept describing the site location the medicine enters into or onto the body. | |
siteCodeableConcept | CodeableConcept | |||
siteReference | Reference(BodySite) | |||
route | Σ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMED CT Route Codes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. |
method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: (unbound) (example): A coded concept describing the technique by which the medicine is administered. |
dose[x] | Σ | 0..1 | Amount of medication per dose | |
doseRange | Range | |||
doseQuantity | Quantity(SimpleQuantity) | |||
rate[x] | Σ | 0..1 | Amount of medication per unit of time | |
rateRatio | Ratio | |||
rateRange | Range | |||
rateQuantity | Quantity(SimpleQuantity) | |||
maxDosePerPeriod | Σ | 0..1 | Ratio | Upper limit on medication per unit of time |
dispenseRequest | Σ | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
medication[x] | Σ | 0..1 | Product to be supplied | |
medicationCodeableConcept | CodeableConcept | |||
medicationReference | Reference(Medication) | |||
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 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
type | Σ | 1..1 | CodeableConcept | generic | formulary + Binding: ActSubstanceAdminSubstitutionCode (example): A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription. |
reason | Σ | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed. |
priorPrescription | Σ | 0..1 | Reference(MedicationOrder) | An order/prescription that this supersedes |
Documentation for this format |
Grid View
This structure is derived from MedicationOrder
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
MedicationOrder | 0..* | MedicationOrder | Definition: An order for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called "MedicationOrder" rather than "MedicationPrescription" to generalize the use across inpatient and outpatient settings as well as for care plans, etc. |
id | 1..1 | id | Definition: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. Comments: Usage Note: This will usually be a GUID and is assigned by the sending application. |
contained | 1..1 | Resource | Definition: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. Comments: Conformance Rule: This will be used to contain the Medication resource. No other resources should be 'contained'. |
medication[x] (medicationReference) | 1..1 | Reference() | Definition: Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications. Comments: If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended. Note: do not use Medication.name to describe the prescribed medication. When the only available information is a text description of the medication, Medication.code.text should be used. |
display | 1..1 | string | Fixed Value: medication Definition: Plain text narrative that identifies the resource in addition to the resource reference. Comments: Fixed value: medication |
patient | 1..1 | Reference(Shared Health Patient - 903) {b} | Definition: A link to a resource representing the person to whom the medication will be given. Comments: Identifies the patient tied to the task. (FHIR prohibits inheritance of context, so this must be explicitly declared rather than inferred from the presence of the Patient resource in the message) |
reference | 1..1 | string | Definition: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources. Comments: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server. |
This structure is derived from MedicationOrder
Differential View
This structure is derived from MedicationOrder
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationOrder | S | 0..* | MedicationOrder | Prescription of medication to for patient |
id | S | 1..1 | id | Logical id of this artifact |
contained | S | 1..1 | Resource | Contained, inline Resources |
medicationReference | S | 1..1 | Reference() | Medication to be taken |
display | S | 1..1 | string | Text alternative for the resource Fixed Value: medication |
patient | S | 1..1 | Reference(Shared Health Patient - 903) {b} | Who prescription is for |
reference | S | 1..1 | string | Relative, internal or absolute URL reference |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationOrder | SΣ | 0..* | MedicationOrder | Prescription of medication to for patient |
id | SΣ | 1..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: http://tools.ietf.org/html/bcp47 (required): A human language. | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | S | 1..1 | 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 | ?!Σ | 0..1 | code | active | on-hold | completed | entered-in-error | stopped | draft Binding: MedicationOrderStatus (required): A code specifying the state of the prescribing event. Describes the lifecycle of the prescription. |
medication[x] | Σ | 1..1 | (Slice Definition) | Medication to be taken Slice: Unordered, Closed by type:$this |
medication[x]:medicationReference | SΣ | 1..1 | Reference() | Medication to be taken |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
reference | ΣI | 0..1 | string | Relative, internal or absolute URL reference |
display | SΣ | 1..1 | string | Text alternative for the resource Fixed Value: medication |
patient | SΣ | 1..1 | Reference(Shared Health Patient - 903) {b} | Who prescription is for |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
reference | SΣI | 1..1 | string | Relative, internal or absolute URL reference |
display | Σ | 0..1 | string | Text alternative for the resource |
encounter | Σ | 0..1 | Reference(Encounter) | Created during encounter/admission/stay |
dateWritten | Σ | 0..1 | dateTime | When prescription was authorized |
prescriber | Σ | 0..1 | Reference(Practitioner) | Who ordered the medication(s) |
reasonCode | Σ | 0..* | CodeableConcept | Reason or indication for writing the prescription Binding: Condition/Problem/Diagnosis Codes (example): Codes indicating why the medication was ordered. |
reasonReference | Σ | 0..* | Reference(Condition) | Condition that supports why the prescription is being written |
dateEnded | Σ | 0..1 | dateTime | When prescription was stopped |
reasonEnded | Σ | 0..1 | CodeableConcept | Why prescription was stopped Binding: (unbound) (example): Codes indicating why the medication was terminated; e.g. Adverse reaction, medication change, issue resolved, etc. |
note | Σ | 0..* | Annotation | Information about the prescription |
dosageInstruction | Σ | 0..* | BackboneElement | How medication should be taken |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
text | Σ | 0..1 | string | Free text dosage instructions e.g. SIG |
additionalInstructions | Σ | 0..1 | CodeableConcept | Supplemental instructions - e.g. "with meals" Binding: (unbound) (example): Codes identifying additional instructions such as "take with water" or "avoid operating heavy machinery". |
timing | Σ | 0..1 | Timing | When medication should be administered |
asNeeded[x] | Σ | 0..1 | Take "as needed" (for x) Binding: (unbound) (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. | |
asNeededBoolean | boolean | |||
asNeededCodeableConcept | CodeableConcept | |||
site[x] | Σ | 0..1 | Body site to administer to Binding: SNOMED CT Anatomical Structure for Administration Site Codes (example): A coded concept describing the site location the medicine enters into or onto the body. | |
siteCodeableConcept | CodeableConcept | |||
siteReference | Reference(BodySite) | |||
route | Σ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMED CT Route Codes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. |
method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: (unbound) (example): A coded concept describing the technique by which the medicine is administered. |
dose[x] | Σ | 0..1 | Amount of medication per dose | |
doseRange | Range | |||
doseQuantity | Quantity(SimpleQuantity) | |||
rate[x] | Σ | 0..1 | Amount of medication per unit of time | |
rateRatio | Ratio | |||
rateRange | Range | |||
rateQuantity | Quantity(SimpleQuantity) | |||
maxDosePerPeriod | Σ | 0..1 | Ratio | Upper limit on medication per unit of time |
dispenseRequest | Σ | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
medication[x] | Σ | 0..1 | Product to be supplied | |
medicationCodeableConcept | CodeableConcept | |||
medicationReference | Reference(Medication) | |||
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 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
type | Σ | 1..1 | CodeableConcept | generic | formulary + Binding: ActSubstanceAdminSubstitutionCode (example): A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription. |
reason | Σ | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: SubstanceAdminSubstitutionReason (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed. |
priorPrescription | Σ | 0..1 | Reference(MedicationOrder) | An order/prescription that this supersedes |
Documentation for this format |
Other representations of profile: Schematron
3.102.3 Terminology Bindings
Terminology Bindings
Path | Conformance | ValueSet |
MedicationOrder.language | required | http://tools.ietf.org/html/bcp47 |
MedicationOrder.status | required | MedicationOrderStatus |
MedicationOrder.reasonCode | example | Condition/Problem/Diagnosis Codes |
MedicationOrder.reasonEnded | example | |
MedicationOrder.dosageInstruction.additionalInstructions | example | |
MedicationOrder.dosageInstruction.asNeeded[x] | example | |
MedicationOrder.dosageInstruction.site[x] | example | SNOMED CT Anatomical Structure for Administration Site Codes |
MedicationOrder.dosageInstruction.route | example | SNOMED CT Route Codes |
MedicationOrder.dosageInstruction.method | example | |
MedicationOrder.substitution.type | example | ActSubstanceAdminSubstitutionCode |
MedicationOrder.substitution.reason | example | SubstanceAdminSubstitutionReason |
3.102.4 Constraints
Constraints
Id | Path | Details | Requirements |