NHDR Implementation Guide Release 1.0
0.1.0 - ci-build

NHDR Implementation Guide Release 1.0, published by NHDR. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/UP-Manila-SILab/PhilHealth-NHDR-IG-Review/ and changes regularly. See the Directory of published versions

Resource Profile: PH MedicationRequest

Official URL: https://nhdr.gov.ph/fhir/StructureDefinition/PH-MedicationRequest Version: 0.1.0
Standards status: Draft Computable Name: PH_MedicationRequest

Copyright/Legal: Used by permission of HL7 International, all rights reserved Creative Commons License

An order or request for both supply of the medication and the instructions for administration of the medication to a patient.

Usages:

  • This Profile is not used by any profiles in this Specification

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
MedicationRequest.status This element is a modifier element. This element is included in summaries. 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
MedicationRequest.intent This element is a modifier element. This element is included in summaries. 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
MedicationRequest.medication[x] This element is included in summaries. 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
MedicationRequest.medication[x].medicationCodeableConcept CodeableConcept
MedicationRequest.medication[x].medicationReference Reference(Medication)
MedicationRequest.subject This element is included in summaries. 1..1 Reference(Patient | Group) Who or group medication request is for

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required Medicationrequest status 📍4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v7.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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-4 error MedicationRequest 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-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
MedicationRequest.meta
MedicationRequest.meta.Slices for extension Content/Rules for all slices
MedicationRequest.meta.Slices for extension.extension:hfRecordedDate 0..1 dateTime The recorded date indicating when the record was uploaded by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate
MedicationRequest.meta.Slices for extension.extension:hfLastUpdated 0..* dateTime The date indicating when the record was last updated by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated
MedicationRequest.meta.lastUpdated 0..1 instant When the resource was uploaded to the NHDR.
MedicationRequest.implicitRules 0..0 A set of rules under which this content was created
MedicationRequest.language 0..0 Language of the resource content
MedicationRequest.text 0..0 Text summary of the resource, for human interpretation
MedicationRequest.contained 0..0 Contained, inline Resources
MedicationRequest.extension 0..0 Extension
MedicationRequest.modifierExtension 0..0 Extension
MedicationRequest.statusReason 0..0 Reason for current status
MedicationRequest.category 0..0 Type of medication usage
MedicationRequest.priority 0..0 routine | urgent | asap | stat
MedicationRequest.doNotPerform 0..0 True if request is prohibiting action
MedicationRequest.reported[x] 0..0 Reported rather than primary record
MedicationRequest.authoredOn 0..0 When request was initially authored
MedicationRequest.performer 0..0 Intended performer of administration
MedicationRequest.performerType 0..0 Desired kind of performer of the medication administration
MedicationRequest.recorder 0..0 Person who entered the request
MedicationRequest.reasonCode 0..0 Reason or indication for ordering or not ordering the medication
MedicationRequest.reasonReference 0..0 Condition or observation that supports why the prescription is being written
MedicationRequest.instantiatesCanonical 0..0 Instantiates FHIR protocol or definition
MedicationRequest.instantiatesUri 0..0 Instantiates external protocol or definition
MedicationRequest.basedOn 0..0 What request fulfills
MedicationRequest.groupIdentifier 0..0 Composite request this is part of
MedicationRequest.courseOfTherapyType 0..0 Overall pattern of medication administration
MedicationRequest.insurance 0..0 Associated insurance coverage
MedicationRequest.note 0..0 Information about the prescription
MedicationRequest.dosageInstruction
MedicationRequest.dosageInstruction.id 0..0 Unique id for inter-element referencing
MedicationRequest.dosageInstruction.extension 0..0 Extension
MedicationRequest.dosageInstruction.modifierExtension 0..0 Extension
MedicationRequest.dosageInstruction.sequence 0..0 The order of the dosage instructions
MedicationRequest.dosageInstruction.text 0..0 Free text dosage instructions e.g. SIG
MedicationRequest.dosageInstruction.additionalInstruction 0..0 Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
MedicationRequest.dosageInstruction.patientInstruction 0..0 Patient or consumer oriented instructions
MedicationRequest.dosageInstruction.asNeeded[x] 0..0 Take "as needed" (for x)
MedicationRequest.dosageInstruction.site 0..0 Body site to administer to
MedicationRequest.dosageInstruction.method 0..0 Technique for administering medication
MedicationRequest.dosageInstruction.doseAndRate
MedicationRequest.dosageInstruction.doseAndRate.id 0..0 Unique id for inter-element referencing
MedicationRequest.dosageInstruction.doseAndRate.extension 0..0 Extension
MedicationRequest.dosageInstruction.doseAndRate.type 0..0 The kind of dose or rate specified
MedicationRequest.dosageInstruction.doseAndRate.dose[x] 0..1 SimpleQuantity Amount of medication per dose
MedicationRequest.dosageInstruction.doseAndRate.rate[x] 0..1 SimpleQuantity Amount of medication per unit of time
MedicationRequest.dosageInstruction.maxDosePerPeriod 0..0 Upper limit on medication per unit of time
MedicationRequest.dosageInstruction.maxDosePerAdministration 0..0 Upper limit on medication per administration
MedicationRequest.dosageInstruction.maxDosePerLifetime 0..0 Upper limit on medication per lifetime of the patient
MedicationRequest.dispenseRequest
MedicationRequest.dispenseRequest.id 0..0 Unique id for inter-element referencing
MedicationRequest.dispenseRequest.extension 0..0 Extension
MedicationRequest.dispenseRequest.modifierExtension 0..0 Extension
MedicationRequest.dispenseRequest.initialFill 0..0 First fill details
MedicationRequest.dispenseRequest.dispenseInterval 0..0 Minimum period of time between dispenses
MedicationRequest.dispenseRequest.validityPeriod 0..0 Time period supply is authorized for
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed 0..0 Number of refills authorized
MedicationRequest.dispenseRequest.expectedSupplyDuration 0..0 Number of days supply per dispense
MedicationRequest.dispenseRequest.performer 0..0 Intended dispenser
MedicationRequest.substitution 0..0 Any restrictions on medication substitution
MedicationRequest.priorPrescription 0..0 An order/prescription that is being replaced
MedicationRequest.detectedIssue 0..0 Clinical Issue with action
MedicationRequest.eventHistory 0..0 A list of events of interest in the lifecycle

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
MedicationRequest.id This element is included in summaries. 0..1 id Logical id of this artifact
MedicationRequest.meta This element is included in summaries. 0..1 Meta Metadata about the resource
MedicationRequest.meta.id 0..1 string Unique id for inter-element referencing
MedicationRequest.meta.Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.meta.Slices for extension.extension:hfRecordedDate 0..1 dateTime The recorded date indicating when the record was uploaded by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate
MedicationRequest.meta.Slices for extension.extension:hfLastUpdated 0..* dateTime The date indicating when the record was last updated by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated
MedicationRequest.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
MedicationRequest.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource was uploaded to the NHDR.
MedicationRequest.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
MedicationRequest.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
MedicationRequest.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
MedicationRequest.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
MedicationRequest.identifier 0..* Identifier External ids for this request
MedicationRequest.status This element is a modifier element. This element is included in summaries. 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
MedicationRequest.intent This element is a modifier element. This element is included in summaries. 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
MedicationRequest.medication[x] This element is included in summaries. 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
MedicationRequest.medication[x].medicationCodeableConcept CodeableConcept
MedicationRequest.medication[x].medicationReference Reference(Medication)
MedicationRequest.subject This element is included in summaries. 1..1 Reference(Patient | Group) Who or group medication request is for
MedicationRequest.encounter 0..1 Reference(Encounter) Encounter created as part of encounter/admission/stay
MedicationRequest.supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
MedicationRequest.requester This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) Who/What requested the Request
MedicationRequest.dosageInstruction 0..* Dosage How the medication should be taken
MedicationRequest.dosageInstruction.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.dosageInstruction.timing This element is included in summaries. 0..1 Timing When medication should be administered
MedicationRequest.dosageInstruction.route This element is included in summaries. 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
MedicationRequest.dosageInstruction.doseAndRate This element is included in summaries. 0..* Element Amount of medication administered
MedicationRequest.dosageInstruction.doseAndRate.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.dosageInstruction.doseAndRate.dose[x] This element is included in summaries. 0..1 SimpleQuantity The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well Amount of medication per dose
MedicationRequest.dosageInstruction.doseAndRate.rate[x] This element is included in summaries. 0..1 SimpleQuantity The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well Amount of medication per unit of time
MedicationRequest.dispenseRequest 0..1 BackboneElement Medication supply authorization
MedicationRequest.dispenseRequest.quantity C 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
Constraints: sqty-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationRequest.status Base required Medicationrequest status 📍4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​route Base example SNOMED CT Route Codes 📍4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v7.4
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v7.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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-4 error MedicationRequest 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-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sqty-1 error MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from MedicationRequest

Summary

Prohibited: 53 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
MedicationRequest.status This element is a modifier element. This element is included in summaries. 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
MedicationRequest.intent This element is a modifier element. This element is included in summaries. 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
MedicationRequest.medication[x] This element is included in summaries. 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
MedicationRequest.medication[x].medicationCodeableConcept CodeableConcept
MedicationRequest.medication[x].medicationReference Reference(Medication)
MedicationRequest.subject This element is included in summaries. 1..1 Reference(Patient | Group) Who or group medication request is for

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.status Base required Medicationrequest status 📍4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v7.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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-4 error MedicationRequest 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-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from MedicationRequest

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
MedicationRequest.meta
MedicationRequest.meta.Slices for extension Content/Rules for all slices
MedicationRequest.meta.Slices for extension.extension:hfRecordedDate 0..1 dateTime The recorded date indicating when the record was uploaded by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate
MedicationRequest.meta.Slices for extension.extension:hfLastUpdated 0..* dateTime The date indicating when the record was last updated by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated
MedicationRequest.meta.lastUpdated 0..1 instant When the resource was uploaded to the NHDR.
MedicationRequest.implicitRules 0..0 A set of rules under which this content was created
MedicationRequest.language 0..0 Language of the resource content
MedicationRequest.text 0..0 Text summary of the resource, for human interpretation
MedicationRequest.contained 0..0 Contained, inline Resources
MedicationRequest.extension 0..0 Extension
MedicationRequest.modifierExtension 0..0 Extension
MedicationRequest.statusReason 0..0 Reason for current status
MedicationRequest.category 0..0 Type of medication usage
MedicationRequest.priority 0..0 routine | urgent | asap | stat
MedicationRequest.doNotPerform 0..0 True if request is prohibiting action
MedicationRequest.reported[x] 0..0 Reported rather than primary record
MedicationRequest.authoredOn 0..0 When request was initially authored
MedicationRequest.performer 0..0 Intended performer of administration
MedicationRequest.performerType 0..0 Desired kind of performer of the medication administration
MedicationRequest.recorder 0..0 Person who entered the request
MedicationRequest.reasonCode 0..0 Reason or indication for ordering or not ordering the medication
MedicationRequest.reasonReference 0..0 Condition or observation that supports why the prescription is being written
MedicationRequest.instantiatesCanonical 0..0 Instantiates FHIR protocol or definition
MedicationRequest.instantiatesUri 0..0 Instantiates external protocol or definition
MedicationRequest.basedOn 0..0 What request fulfills
MedicationRequest.groupIdentifier 0..0 Composite request this is part of
MedicationRequest.courseOfTherapyType 0..0 Overall pattern of medication administration
MedicationRequest.insurance 0..0 Associated insurance coverage
MedicationRequest.note 0..0 Information about the prescription
MedicationRequest.dosageInstruction
MedicationRequest.dosageInstruction.id 0..0 Unique id for inter-element referencing
MedicationRequest.dosageInstruction.extension 0..0 Extension
MedicationRequest.dosageInstruction.modifierExtension 0..0 Extension
MedicationRequest.dosageInstruction.sequence 0..0 The order of the dosage instructions
MedicationRequest.dosageInstruction.text 0..0 Free text dosage instructions e.g. SIG
MedicationRequest.dosageInstruction.additionalInstruction 0..0 Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
MedicationRequest.dosageInstruction.patientInstruction 0..0 Patient or consumer oriented instructions
MedicationRequest.dosageInstruction.asNeeded[x] 0..0 Take "as needed" (for x)
MedicationRequest.dosageInstruction.site 0..0 Body site to administer to
MedicationRequest.dosageInstruction.method 0..0 Technique for administering medication
MedicationRequest.dosageInstruction.doseAndRate
MedicationRequest.dosageInstruction.doseAndRate.id 0..0 Unique id for inter-element referencing
MedicationRequest.dosageInstruction.doseAndRate.extension 0..0 Extension
MedicationRequest.dosageInstruction.doseAndRate.type 0..0 The kind of dose or rate specified
MedicationRequest.dosageInstruction.doseAndRate.dose[x] 0..1 SimpleQuantity Amount of medication per dose
MedicationRequest.dosageInstruction.doseAndRate.rate[x] 0..1 SimpleQuantity Amount of medication per unit of time
MedicationRequest.dosageInstruction.maxDosePerPeriod 0..0 Upper limit on medication per unit of time
MedicationRequest.dosageInstruction.maxDosePerAdministration 0..0 Upper limit on medication per administration
MedicationRequest.dosageInstruction.maxDosePerLifetime 0..0 Upper limit on medication per lifetime of the patient
MedicationRequest.dispenseRequest
MedicationRequest.dispenseRequest.id 0..0 Unique id for inter-element referencing
MedicationRequest.dispenseRequest.extension 0..0 Extension
MedicationRequest.dispenseRequest.modifierExtension 0..0 Extension
MedicationRequest.dispenseRequest.initialFill 0..0 First fill details
MedicationRequest.dispenseRequest.dispenseInterval 0..0 Minimum period of time between dispenses
MedicationRequest.dispenseRequest.validityPeriod 0..0 Time period supply is authorized for
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed 0..0 Number of refills authorized
MedicationRequest.dispenseRequest.expectedSupplyDuration 0..0 Number of days supply per dispense
MedicationRequest.dispenseRequest.performer 0..0 Intended dispenser
MedicationRequest.substitution 0..0 Any restrictions on medication substitution
MedicationRequest.priorPrescription 0..0 An order/prescription that is being replaced
MedicationRequest.detectedIssue 0..0 Clinical Issue with action
MedicationRequest.eventHistory 0..0 A list of events of interest in the lifecycle

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
MedicationRequest 0..* MedicationRequest Ordering of medication for patient or group
MedicationRequest.id This element is included in summaries. 0..1 id Logical id of this artifact
MedicationRequest.meta This element is included in summaries. 0..1 Meta Metadata about the resource
MedicationRequest.meta.id 0..1 string Unique id for inter-element referencing
MedicationRequest.meta.Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
MedicationRequest.meta.Slices for extension.extension:hfRecordedDate 0..1 dateTime The recorded date indicating when the record was uploaded by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFRecordedDate
MedicationRequest.meta.Slices for extension.extension:hfLastUpdated 0..* dateTime The date indicating when the record was last updated by the health facility.
URL: https://nhdr.gov.ph/fhir/StructureDefinition/HFLastUpdated
MedicationRequest.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
MedicationRequest.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource was uploaded to the NHDR.
MedicationRequest.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
MedicationRequest.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
MedicationRequest.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
MedicationRequest.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
MedicationRequest.identifier 0..* Identifier External ids for this request
MedicationRequest.status This element is a modifier element. This element is included in summaries. 1..1 code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.
MedicationRequest.intent This element is a modifier element. This element is included in summaries. 1..1 code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: medicationRequest Intent (required): The kind of medication order.
MedicationRequest.medication[x] This element is included in summaries. 1..1 Medication to be taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
MedicationRequest.medication[x].medicationCodeableConcept CodeableConcept
MedicationRequest.medication[x].medicationReference Reference(Medication)
MedicationRequest.subject This element is included in summaries. 1..1 Reference(Patient | Group) Who or group medication request is for
MedicationRequest.encounter 0..1 Reference(Encounter) Encounter created as part of encounter/admission/stay
MedicationRequest.supportingInformation 0..* Reference(Resource) Information to support ordering of the medication
MedicationRequest.requester This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) Who/What requested the Request
MedicationRequest.dosageInstruction 0..* Dosage How the medication should be taken
MedicationRequest.dosageInstruction.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.dosageInstruction.timing This element is included in summaries. 0..1 Timing When medication should be administered
MedicationRequest.dosageInstruction.route This element is included in summaries. 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
MedicationRequest.dosageInstruction.doseAndRate This element is included in summaries. 0..* Element Amount of medication administered
MedicationRequest.dosageInstruction.doseAndRate.extension 0..0 Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
MedicationRequest.dosageInstruction.doseAndRate.dose[x] This element is included in summaries. 0..1 SimpleQuantity The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well Amount of medication per dose
MedicationRequest.dosageInstruction.doseAndRate.rate[x] This element is included in summaries. 0..1 SimpleQuantity The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well Amount of medication per unit of time
MedicationRequest.dispenseRequest 0..1 BackboneElement Medication supply authorization
MedicationRequest.dispenseRequest.quantity C 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
Constraints: sqty-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationRequest.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationRequest.status Base required Medicationrequest status 📍4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.medication[x] Base example SNOMED CT Medication Codes 📍4.0.1 FHIR Std.
MedicationRequest.dosageInstruction.​route Base example SNOMED CT Route Codes 📍4.0.1 FHIR Std.
MedicationRequest.substitution.​allowed[x] Base example ActSubstanceAdminSubstitutionCode 📦3.0.0 THO v7.4
MedicationRequest.substitution.​reason Base example SubstanceAdminSubstitutionReason 📦3.0.0 THO v7.4

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationRequest If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationRequest 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-4 error MedicationRequest 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-5 error MedicationRequest If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationRequest A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
sqty-1 error MedicationRequest.dispenseRequest.initialFill.quantity, MedicationRequest.dispenseRequest.quantity The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from MedicationRequest

Summary

Prohibited: 53 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron