NZ Shared Digital Health Record API
1.1.6 - release

NZ Shared Digital Health Record API, published by Health New Zealand. This guide is not an authorized publication; it is the continuous build for version 1.1.6 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/tewhatuora/fhir-sdhr/ and changes regularly. See the Directory of published versions

Resource Profile: Medication Request resource for use in the NZ e-Prescription Service MDR

Official URL: http://hl7.org.nz/fhir/StructureDefinition/NzepsMedicationRequest Version: 1.1.6
Draft as of 2025-08-19 Computable Name: NzepsMedicationRequest

Medication Request resource for use in NZ e-Prescription Service Medications Data Repository

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.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MedicationRequest.Slices for extension 10..* Extension 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.Slices for extension.extension:nzeps-long-term-medication 1..1 boolean NZePS Long Term Medication Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-long-term-medication
MedicationRequest.Slices for extension.extension:nzeps-supply-period-reason 0..1 string NZePS Supply Period Reason
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-supply-period-reason
MedicationRequest.Slices for extension.extension:nzeps-unusual-dose-quantity 1..1 boolean NZePS Unusual Dose Quantity Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unusual-dose-quantity
MedicationRequest.Slices for extension.extension:nzeps-endorsement 0..* ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement
MedicationRequest.Slices for extension.extension:nzeps-status-type 1..1 code NZePS Status Type
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-status-type
Binding: http://hl7.org.nz/fhir/ValueSet/nzeps-status-type (required): Status Type for NZePS Prescriptions
MedicationRequest.Slices for extension.extension:nzeps-medication-action 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action
MedicationRequest.Slices for extension.extension:nzeps-instructions-modified 1..1 boolean NZePS Patient Instructions Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-instructions-modified
MedicationRequest.Slices for extension.extension:nzeps-medication-modified 1..1 boolean NZePS Patient Medication Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-modified
MedicationRequest.Slices for extension.extension:nzeps-unsigned-rejection-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason
MedicationRequest.Slices for extension.extension:nzeps-trial-period-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason
MedicationRequest.Slices for extension.extension:nzeps-funding-category 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category
MedicationRequest.Slices for extension.extension:nzeps-medication-claimable 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable
MedicationRequest.Slices for extension.extension:nzeps-private-item 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item
MedicationRequest.Slices for extension.extension:nzeps-force-notification 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification
MedicationRequest.Slices for extension.extension:nzeps-notify 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify
MedicationRequest.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
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.doNotPerform This element is a modifier element. This element is included in summaries. 0..1 boolean True if request is prohibiting action
MedicationRequest.medication[x] This element is included in summaries. 1..1 CodeableConcept Medication to be taken
Binding: http://nzmt.org.nz/vs (preferred)
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 preferred http://nzmt.org.nz/vs Not State Unknown

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.Slices for extension 10..* Extension 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.Slices for extension.extension:nzeps-long-term-medication 1..1 boolean NZePS Long Term Medication Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-long-term-medication
MedicationRequest.Slices for extension.extension:nzeps-supply-period-reason 0..1 string NZePS Supply Period Reason
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-supply-period-reason
MedicationRequest.Slices for extension.extension:nzeps-unusual-dose-quantity 1..1 boolean NZePS Unusual Dose Quantity Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unusual-dose-quantity
MedicationRequest.Slices for extension.extension:nzeps-endorsement 0..* ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement
MedicationRequest.Slices for extension.extension:nzeps-status-type 1..1 code NZePS Status Type
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-status-type
Binding: http://hl7.org.nz/fhir/ValueSet/nzeps-status-type (required): Status Type for NZePS Prescriptions
MedicationRequest.Slices for extension.extension:nzeps-medication-action 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action
MedicationRequest.Slices for extension.extension:nzeps-instructions-modified 1..1 boolean NZePS Patient Instructions Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-instructions-modified
MedicationRequest.Slices for extension.extension:nzeps-medication-modified 1..1 boolean NZePS Patient Medication Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-modified
MedicationRequest.Slices for extension.extension:nzeps-unsigned-rejection-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason
MedicationRequest.Slices for extension.extension:nzeps-trial-period-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason
MedicationRequest.Slices for extension.extension:nzeps-funding-category 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category
MedicationRequest.Slices for extension.extension:nzeps-medication-claimable 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable
MedicationRequest.Slices for extension.extension:nzeps-private-item 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item
MedicationRequest.Slices for extension.extension:nzeps-force-notification 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification
MedicationRequest.Slices for extension.extension:nzeps-notify 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify
MedicationRequest.medication[x] 1..1 CodeableConcept Medication to be taken
Binding: http://nzmt.org.nz/vs (preferred)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationRequest.medication[x] Base preferred http://nzmt.org.nz/vs Not State Unknown
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.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MedicationRequest.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
MedicationRequest.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
MedicationRequest.contained 0..* Resource Contained, inline Resources
MedicationRequest.Slices for extension 10..* Extension 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.Slices for extension.extension:nzeps-long-term-medication 1..1 boolean NZePS Long Term Medication Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-long-term-medication
MedicationRequest.Slices for extension.extension:nzeps-supply-period-reason 0..1 string NZePS Supply Period Reason
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-supply-period-reason
MedicationRequest.Slices for extension.extension:nzeps-unusual-dose-quantity 1..1 boolean NZePS Unusual Dose Quantity Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unusual-dose-quantity
MedicationRequest.Slices for extension.extension:nzeps-endorsement 0..* ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement
MedicationRequest.Slices for extension.extension:nzeps-status-type 1..1 code NZePS Status Type
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-status-type
Binding: http://hl7.org.nz/fhir/ValueSet/nzeps-status-type (required): Status Type for NZePS Prescriptions
MedicationRequest.Slices for extension.extension:nzeps-medication-action 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action
MedicationRequest.Slices for extension.extension:nzeps-instructions-modified 1..1 boolean NZePS Patient Instructions Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-instructions-modified
MedicationRequest.Slices for extension.extension:nzeps-medication-modified 1..1 boolean NZePS Patient Medication Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-modified
MedicationRequest.Slices for extension.extension:nzeps-unsigned-rejection-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason
MedicationRequest.Slices for extension.extension:nzeps-trial-period-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason
MedicationRequest.Slices for extension.extension:nzeps-funding-category 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category
MedicationRequest.Slices for extension.extension:nzeps-medication-claimable 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable
MedicationRequest.Slices for extension.extension:nzeps-private-item 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item
MedicationRequest.Slices for extension.extension:nzeps-force-notification 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification
MedicationRequest.Slices for extension.extension:nzeps-notify 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify
MedicationRequest.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
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.statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
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.category 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.
MedicationRequest.priority This element is included in summaries. 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
MedicationRequest.doNotPerform This element is a modifier element. This element is included in summaries. 0..1 boolean True if request is prohibiting action
MedicationRequest.reported[x] This element is included in summaries. 0..1 Reported rather than primary record
MedicationRequest.reported[x].reportedBoolean boolean
MedicationRequest.reported[x].reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
MedicationRequest.medication[x] This element is included in summaries. 1..1 CodeableConcept Medication to be taken
Binding: http://nzmt.org.nz/vs (preferred)
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.authoredOn This element is included in summaries. 0..1 dateTime When request was initially authored
MedicationRequest.requester This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) Who/What requested the Request
MedicationRequest.performer 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
MedicationRequest.performerType This element is included in summaries. 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
MedicationRequest.recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
MedicationRequest.reasonCode 0..* CodeableConcept Reason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
MedicationRequest.reasonReference 0..* Reference(Condition | Observation) Condition or observation that supports why the prescription is being written
MedicationRequest.instantiatesCanonical This element is included in summaries. 0..* canonical() Instantiates FHIR protocol or definition
MedicationRequest.instantiatesUri This element is included in summaries. 0..* uri Instantiates external protocol or definition
MedicationRequest.basedOn This element is included in summaries. 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) What request fulfills
MedicationRequest.groupIdentifier This element is included in summaries. 0..1 Identifier Composite request this is part of
MedicationRequest.courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
MedicationRequest.insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
MedicationRequest.note 0..* Annotation Information about the prescription
MedicationRequest.dosageInstruction 0..* Dosage How the medication should be taken
MedicationRequest.dispenseRequest 0..1 BackboneElement Medication supply authorization
MedicationRequest.dispenseRequest.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.extension 0..* Extension Additional content defined by implementations
MedicationRequest.dispenseRequest.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dispenseRequest.initialFill 0..1 BackboneElement First fill details
MedicationRequest.dispenseRequest.initialFill.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.initialFill.extension 0..* Extension Additional content defined by implementations
MedicationRequest.dispenseRequest.initialFill.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dispenseRequest.initialFill.quantity C 0..1 SimpleQuantity(4.0.1) First fill quantity
Constraints: sqty-1
MedicationRequest.dispenseRequest.initialFill.duration 0..1 Duration First fill duration
MedicationRequest.dispenseRequest.dispenseInterval 0..1 Duration Minimum period of time between dispenses
MedicationRequest.dispenseRequest.validityPeriod 0..1 Period Time period supply is authorized for
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
MedicationRequest.dispenseRequest.quantity C 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
Constraints: sqty-1
MedicationRequest.dispenseRequest.expectedSupplyDuration 0..1 Duration Number of days supply per dispense
MedicationRequest.dispenseRequest.performer 0..1 Reference(Organization) Intended dispenser
MedicationRequest.substitution 0..1 BackboneElement Any restrictions on medication substitution
MedicationRequest.substitution.id 0..1 string Unique id for inter-element referencing
MedicationRequest.substitution.extension 0..* Extension Additional content defined by implementations
MedicationRequest.substitution.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.substitution.allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
MedicationRequest.substitution.allowed[x].allowedBoolean boolean
MedicationRequest.substitution.allowed[x].allowedCodeableConcept CodeableConcept
MedicationRequest.substitution.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.
MedicationRequest.priorPrescription 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
MedicationRequest.detectedIssue 0..* Reference(DetectedIssue) Clinical Issue with action
MedicationRequest.eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationRequest.status Base required Medicationrequest status 📍4.0.1 FHIR Std.
MedicationRequest.statusReason Base example Medication request status reason codes 📍4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📍4.0.1 FHIR Std.
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.medication[x] Base preferred http://nzmt.org.nz/vs Not State Unknown
MedicationRequest.performerType Base example Procedure Performer Role Codes 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy 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

Mandatory: 10 elements

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.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MedicationRequest.Slices for extension 10..* Extension 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.Slices for extension.extension:nzeps-long-term-medication 1..1 boolean NZePS Long Term Medication Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-long-term-medication
MedicationRequest.Slices for extension.extension:nzeps-supply-period-reason 0..1 string NZePS Supply Period Reason
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-supply-period-reason
MedicationRequest.Slices for extension.extension:nzeps-unusual-dose-quantity 1..1 boolean NZePS Unusual Dose Quantity Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unusual-dose-quantity
MedicationRequest.Slices for extension.extension:nzeps-endorsement 0..* ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement
MedicationRequest.Slices for extension.extension:nzeps-status-type 1..1 code NZePS Status Type
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-status-type
Binding: http://hl7.org.nz/fhir/ValueSet/nzeps-status-type (required): Status Type for NZePS Prescriptions
MedicationRequest.Slices for extension.extension:nzeps-medication-action 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action
MedicationRequest.Slices for extension.extension:nzeps-instructions-modified 1..1 boolean NZePS Patient Instructions Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-instructions-modified
MedicationRequest.Slices for extension.extension:nzeps-medication-modified 1..1 boolean NZePS Patient Medication Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-modified
MedicationRequest.Slices for extension.extension:nzeps-unsigned-rejection-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason
MedicationRequest.Slices for extension.extension:nzeps-trial-period-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason
MedicationRequest.Slices for extension.extension:nzeps-funding-category 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category
MedicationRequest.Slices for extension.extension:nzeps-medication-claimable 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable
MedicationRequest.Slices for extension.extension:nzeps-private-item 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item
MedicationRequest.Slices for extension.extension:nzeps-force-notification 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification
MedicationRequest.Slices for extension.extension:nzeps-notify 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify
MedicationRequest.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
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.doNotPerform This element is a modifier element. This element is included in summaries. 0..1 boolean True if request is prohibiting action
MedicationRequest.medication[x] This element is included in summaries. 1..1 CodeableConcept Medication to be taken
Binding: http://nzmt.org.nz/vs (preferred)
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 preferred http://nzmt.org.nz/vs Not State Unknown

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.Slices for extension 10..* Extension 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.Slices for extension.extension:nzeps-long-term-medication 1..1 boolean NZePS Long Term Medication Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-long-term-medication
MedicationRequest.Slices for extension.extension:nzeps-supply-period-reason 0..1 string NZePS Supply Period Reason
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-supply-period-reason
MedicationRequest.Slices for extension.extension:nzeps-unusual-dose-quantity 1..1 boolean NZePS Unusual Dose Quantity Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unusual-dose-quantity
MedicationRequest.Slices for extension.extension:nzeps-endorsement 0..* ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement
MedicationRequest.Slices for extension.extension:nzeps-status-type 1..1 code NZePS Status Type
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-status-type
Binding: http://hl7.org.nz/fhir/ValueSet/nzeps-status-type (required): Status Type for NZePS Prescriptions
MedicationRequest.Slices for extension.extension:nzeps-medication-action 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action
MedicationRequest.Slices for extension.extension:nzeps-instructions-modified 1..1 boolean NZePS Patient Instructions Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-instructions-modified
MedicationRequest.Slices for extension.extension:nzeps-medication-modified 1..1 boolean NZePS Patient Medication Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-modified
MedicationRequest.Slices for extension.extension:nzeps-unsigned-rejection-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason
MedicationRequest.Slices for extension.extension:nzeps-trial-period-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason
MedicationRequest.Slices for extension.extension:nzeps-funding-category 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category
MedicationRequest.Slices for extension.extension:nzeps-medication-claimable 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable
MedicationRequest.Slices for extension.extension:nzeps-private-item 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item
MedicationRequest.Slices for extension.extension:nzeps-force-notification 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification
MedicationRequest.Slices for extension.extension:nzeps-notify 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify
MedicationRequest.medication[x] 1..1 CodeableConcept Medication to be taken
Binding: http://nzmt.org.nz/vs (preferred)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationRequest.medication[x] Base preferred http://nzmt.org.nz/vs Not State Unknown

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.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
MedicationRequest.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
MedicationRequest.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
MedicationRequest.contained 0..* Resource Contained, inline Resources
MedicationRequest.Slices for extension 10..* Extension 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.Slices for extension.extension:nzeps-long-term-medication 1..1 boolean NZePS Long Term Medication Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-long-term-medication
MedicationRequest.Slices for extension.extension:nzeps-supply-period-reason 0..1 string NZePS Supply Period Reason
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-supply-period-reason
MedicationRequest.Slices for extension.extension:nzeps-unusual-dose-quantity 1..1 boolean NZePS Unusual Dose Quantity Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unusual-dose-quantity
MedicationRequest.Slices for extension.extension:nzeps-endorsement 0..* ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-endorsement
MedicationRequest.Slices for extension.extension:nzeps-status-type 1..1 code NZePS Status Type
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-status-type
Binding: http://hl7.org.nz/fhir/ValueSet/nzeps-status-type (required): Status Type for NZePS Prescriptions
MedicationRequest.Slices for extension.extension:nzeps-medication-action 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-action
MedicationRequest.Slices for extension.extension:nzeps-instructions-modified 1..1 boolean NZePS Patient Instructions Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-instructions-modified
MedicationRequest.Slices for extension.extension:nzeps-medication-modified 1..1 boolean NZePS Patient Medication Modification Indicator
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-modified
MedicationRequest.Slices for extension.extension:nzeps-unsigned-rejection-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-unsigned-rejection-reason
MedicationRequest.Slices for extension.extension:nzeps-trial-period-reason 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-trial-period-reason
MedicationRequest.Slices for extension.extension:nzeps-funding-category 0..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-funding-category
MedicationRequest.Slices for extension.extension:nzeps-medication-claimable 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-medication-claimable
MedicationRequest.Slices for extension.extension:nzeps-private-item 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-private-item
MedicationRequest.Slices for extension.extension:nzeps-force-notification 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-force-notification
MedicationRequest.Slices for extension.extension:nzeps-notify 1..1 ?gen-e1? [CanonicalType[http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify]] Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/nzeps-notify
MedicationRequest.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
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.statusReason 0..1 CodeableConcept Reason for current status
Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
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.category 0..* CodeableConcept Type of medication usage
Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.
MedicationRequest.priority This element is included in summaries. 0..1 code routine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.
MedicationRequest.doNotPerform This element is a modifier element. This element is included in summaries. 0..1 boolean True if request is prohibiting action
MedicationRequest.reported[x] This element is included in summaries. 0..1 Reported rather than primary record
MedicationRequest.reported[x].reportedBoolean boolean
MedicationRequest.reported[x].reportedReference Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization)
MedicationRequest.medication[x] This element is included in summaries. 1..1 CodeableConcept Medication to be taken
Binding: http://nzmt.org.nz/vs (preferred)
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.authoredOn This element is included in summaries. 0..1 dateTime When request was initially authored
MedicationRequest.requester This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) Who/What requested the Request
MedicationRequest.performer 0..1 Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) Intended performer of administration
MedicationRequest.performerType This element is included in summaries. 0..1 CodeableConcept Desired kind of performer of the medication administration
Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
MedicationRequest.recorder 0..1 Reference(Practitioner | PractitionerRole) Person who entered the request
MedicationRequest.reasonCode 0..* CodeableConcept Reason or indication for ordering or not ordering the medication
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered.
MedicationRequest.reasonReference 0..* Reference(Condition | Observation) Condition or observation that supports why the prescription is being written
MedicationRequest.instantiatesCanonical This element is included in summaries. 0..* canonical() Instantiates FHIR protocol or definition
MedicationRequest.instantiatesUri This element is included in summaries. 0..* uri Instantiates external protocol or definition
MedicationRequest.basedOn This element is included in summaries. 0..* Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) What request fulfills
MedicationRequest.groupIdentifier This element is included in summaries. 0..1 Identifier Composite request this is part of
MedicationRequest.courseOfTherapyType 0..1 CodeableConcept Overall pattern of medication administration
Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
MedicationRequest.insurance 0..* Reference(Coverage | ClaimResponse) Associated insurance coverage
MedicationRequest.note 0..* Annotation Information about the prescription
MedicationRequest.dosageInstruction 0..* Dosage How the medication should be taken
MedicationRequest.dispenseRequest 0..1 BackboneElement Medication supply authorization
MedicationRequest.dispenseRequest.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.extension 0..* Extension Additional content defined by implementations
MedicationRequest.dispenseRequest.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dispenseRequest.initialFill 0..1 BackboneElement First fill details
MedicationRequest.dispenseRequest.initialFill.id 0..1 string Unique id for inter-element referencing
MedicationRequest.dispenseRequest.initialFill.extension 0..* Extension Additional content defined by implementations
MedicationRequest.dispenseRequest.initialFill.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.dispenseRequest.initialFill.quantity C 0..1 SimpleQuantity(4.0.1) First fill quantity
Constraints: sqty-1
MedicationRequest.dispenseRequest.initialFill.duration 0..1 Duration First fill duration
MedicationRequest.dispenseRequest.dispenseInterval 0..1 Duration Minimum period of time between dispenses
MedicationRequest.dispenseRequest.validityPeriod 0..1 Period Time period supply is authorized for
MedicationRequest.dispenseRequest.numberOfRepeatsAllowed 0..1 unsignedInt Number of refills authorized
MedicationRequest.dispenseRequest.quantity C 0..1 SimpleQuantity(4.0.1) Amount of medication to supply per dispense
Constraints: sqty-1
MedicationRequest.dispenseRequest.expectedSupplyDuration 0..1 Duration Number of days supply per dispense
MedicationRequest.dispenseRequest.performer 0..1 Reference(Organization) Intended dispenser
MedicationRequest.substitution 0..1 BackboneElement Any restrictions on medication substitution
MedicationRequest.substitution.id 0..1 string Unique id for inter-element referencing
MedicationRequest.substitution.extension 0..* Extension Additional content defined by implementations
MedicationRequest.substitution.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
MedicationRequest.substitution.allowed[x] 1..1 Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
MedicationRequest.substitution.allowed[x].allowedBoolean boolean
MedicationRequest.substitution.allowed[x].allowedCodeableConcept CodeableConcept
MedicationRequest.substitution.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.
MedicationRequest.priorPrescription 0..1 Reference(MedicationRequest) An order/prescription that is being replaced
MedicationRequest.detectedIssue 0..* Reference(DetectedIssue) Clinical Issue with action
MedicationRequest.eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationRequest.language Base preferred Common Languages 📍4.0.1 FHIR Std.
MedicationRequest.status Base required Medicationrequest status 📍4.0.1 FHIR Std.
MedicationRequest.statusReason Base example Medication request status reason codes 📍4.0.1 FHIR Std.
MedicationRequest.intent Base required Medication request intent 📍4.0.1 FHIR Std.
MedicationRequest.category Base example Medication request category codes 📍4.0.1 FHIR Std.
MedicationRequest.priority Base required Request priority 📍4.0.1 FHIR Std.
MedicationRequest.medication[x] Base preferred http://nzmt.org.nz/vs Not State Unknown
MedicationRequest.performerType Base example Procedure Performer Role Codes 📍4.0.1 FHIR Std.
MedicationRequest.reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
MedicationRequest.courseOfTherapyType Base example Medication request course of therapy 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

Mandatory: 10 elements

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron