Extensions for Using Data Elements from FHIR R4 in FHIR STU3 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/4.0/StructureDefinition/profile-MedicationRequest | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R4_MedicationRequest_R3 | ||
This cross-version profile allows R4 MedicationRequest content to be represented via FHIR STU3 MedicationRequest resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.status | Base | required | MedicationRequestStatus | 📍3.0.2 | FHIR Std. |
| MedicationRequest.intent | Base | required | MedicationRequestIntent | 📍3.0.2 | FHIR Std. |
| MedicationRequest.medication[x] | Base | example | SNOMED CT Medication Codes | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| 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 |
contained.where(('#'+id in %resource.descendants().reference).not()).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()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: Common Languages (extensible): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4: Reason for current status (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.statusReason Binding: R4MedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() |
0..1 | boolean, Reference(Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization) | R4: Reported rather than primary record (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.reported | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) | R4: Intended performer of administration (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performer | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4: Desired kind of performer of the medication administration (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performerType | |||||
![]() ![]() ![]() |
0..* | uri | R4: Instantiates external protocol or definition (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesUri | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4: Overall pattern of medication administration (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.courseOfTherapyType Binding: R4MedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio. | |||||
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) | R4: Associated insurance coverage (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.insurance | |||||
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
?! | 0..1 | boolean | R4: True if request is prohibiting action (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.doNotPerform | ||||
![]() ![]() |
0..* | Identifier | External ids for this request | |||||
![]() ![]() |
Σ | 0..* | Reference(ActivityDefinition | PlanDefinition) | Protocol or definition | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | uri | R4: Instantiates FHIR protocol or definition additional types URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesCanonical | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan | MedicationRequest | ProcedureRequest | ReferralRequest) | What request fulfills | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4: basedOn URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Identifier | Composite request this is part of | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: MedicationRequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription | ||||
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | instance-order Binding: MedicationRequestIntent (required): The kind of medication order | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R4: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.intent Binding: R4MedicationrequestIntentForR3MedicationRequestIntent (0.1.0) (required): The kind of medication order. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
0..1 | CodeableConcept | Type of medication usage Binding: MedicationRequestCategory (preferred): A coded concept identifying where the medication ordered is expected to be consumed or administered | |||||
![]() ![]() |
Σ | 0..1 | code | routine | urgent | stat | asap Binding: MedicationRequestPriority (required): Identifies the level of importance to be assigned to actioning the request | ||||
![]() ![]() |
Σ | 1..1 | Medication to be taken Binding: SNOMED CT Medication Codes (example): A coded concept identifying substance or product that can be ordered. | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who or group medication request is for | ||||
![]() ![]() |
0..1 | Reference(Encounter | EpisodeOfCare) | Created during encounter/admission/stay | |||||
![]() ![]() |
0..* | Reference(Resource) | Information to support ordering of the medication | |||||
![]() ![]() |
Σ | 0..1 | dateTime | When request was initially authored | ||||
![]() ![]() |
ΣC | 0..1 | BackboneElement | Who/What requested the Request Constraints: mps-1 | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | Organization | Patient | RelatedPerson | Device) | Who ordered the initial medication(s) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4: Who/What requested the Request URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Reference(Organization) | Organization agent is acting for | ||||
![]() ![]() |
0..1 | Reference(Practitioner) | Person who entered the request | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4: recorder additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | CodeableConcept | Reason or indication for writing the prescription Binding: Condition/Problem/Diagnosis Codes (example): A coded concept indicating why the medication was ordered. | |||||
![]() ![]() |
0..* | Reference(Condition | Observation) | Condition or Observation that supports why the prescription is being written | |||||
![]() ![]() |
0..* | Annotation | Information about the prescription | |||||
![]() ![]() |
0..* | Dosage | How the medication should be taken | |||||
![]() ![]() |
0..1 | BackboneElement | Medication supply authorization | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4: First fill details (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.initialFill | |||||
![]() ![]() ![]() ![]() |
0..1 | Duration | R4: Minimum period of time between dispenses (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.dispenseInterval | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
0..1 | Period | Time period supply is authorized for | |||||
![]() ![]() ![]() |
0..1 | positiveInt | Number of refills authorized | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | unsignedInt | R4: numberOfRepeatsAllowed additional types URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.numberOfRepeatsAllowed | |||||
![]() ![]() ![]() ![]() |
0..1 | positiveInt | Primitive value for positiveInt | |||||
![]() ![]() ![]() |
0..1 | SimpleQuantity | Amount of medication to supply per dispense | |||||
![]() ![]() ![]() |
0..1 | Duration | Number of days supply per dispense | |||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Intended dispenser | |||||
![]() ![]() |
0..1 | BackboneElement | Any restrictions on medication substitution | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | R4: Whether substitution is allowed or not additional types URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.substitution.allowed Binding: ActSubstanceAdminSubstitutionCode|2014-03-26 (example): Identifies the type of substitution allowed. | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
?! | 1..1 | boolean | Whether substitution is allowed or not | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Why should (not) substitution be made Binding: SubstanceAdminSubstitutionReason|2014-03-26 (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed. | |||||
![]() ![]() |
0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced | |||||
![]() ![]() |
0..* | Reference(DetectedIssue) | Clinical Issue with action | |||||
![]() ![]() |
0..* | Reference(Provenance) | A list of events of interest in the lifecycle | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.language | Base | extensible | Common Languages | 📍3.0.2 | FHIR Std. |
| MedicationRequest.status | Base | required | MedicationRequestStatus | 📍3.0.2 | FHIR Std. |
| MedicationRequest.intent | Base | required | MedicationRequestIntent | 📍3.0.2 | FHIR Std. |
| MedicationRequest.category | Base | preferred | MedicationRequestCategory | 📍3.0.2 | FHIR Std. |
| MedicationRequest.priority | Base | required | MedicationRequestPriority | 📍3.0.2 | FHIR Std. |
| MedicationRequest.medication[x] | Base | example | SNOMED CT Medication Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.reasonCode | Base | example | Condition/Problem/Diagnosis Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.substitution.reason | Base | example | SubstanceAdminSubstitutionReason | 📍2014-03-26 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| 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 |
contained.where(('#'+id in %resource.descendants().reference).not()).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()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| mps-1 | error | MedicationRequest.requester | onBehalfOf can only be specified if agent is practitioner or device |
(agent.resolve().empty()) or (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()
|
This structure is derived from MedicationRequest
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.status | Base | required | MedicationRequestStatus | 📍3.0.2 | FHIR Std. |
| MedicationRequest.intent | Base | required | MedicationRequestIntent | 📍3.0.2 | FHIR Std. |
| MedicationRequest.medication[x] | Base | example | SNOMED CT Medication Codes | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| 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 |
contained.where(('#'+id in %resource.descendants().reference).not()).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()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (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
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: Common Languages (extensible): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4: Reason for current status (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.statusReason Binding: R4MedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() |
0..1 | boolean, Reference(Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization) | R4: Reported rather than primary record (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.reported | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R4.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) | R4: Intended performer of administration (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performer | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4: Desired kind of performer of the medication administration (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.performerType | |||||
![]() ![]() ![]() |
0..* | uri | R4: Instantiates external protocol or definition (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesUri | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4: Overall pattern of medication administration (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.courseOfTherapyType Binding: R4MedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio. | |||||
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) | R4: Associated insurance coverage (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.insurance | |||||
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
?! | 0..1 | boolean | R4: True if request is prohibiting action (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.doNotPerform | ||||
![]() ![]() |
0..* | Identifier | External ids for this request | |||||
![]() ![]() |
Σ | 0..* | Reference(ActivityDefinition | PlanDefinition) | Protocol or definition | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | uri | R4: Instantiates FHIR protocol or definition additional types URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.instantiatesCanonical | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..* | Reference(CarePlan | MedicationRequest | ProcedureRequest | ReferralRequest) | What request fulfills | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4: basedOn URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Identifier | Composite request this is part of | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: MedicationRequestStatus (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription | ||||
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | instance-order Binding: MedicationRequestIntent (required): The kind of medication order | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R4: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.intent Binding: R4MedicationrequestIntentForR3MedicationRequestIntent (0.1.0) (required): The kind of medication order. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
0..1 | CodeableConcept | Type of medication usage Binding: MedicationRequestCategory (preferred): A coded concept identifying where the medication ordered is expected to be consumed or administered | |||||
![]() ![]() |
Σ | 0..1 | code | routine | urgent | stat | asap Binding: MedicationRequestPriority (required): Identifies the level of importance to be assigned to actioning the request | ||||
![]() ![]() |
Σ | 1..1 | Medication to be taken Binding: SNOMED CT Medication Codes (example): A coded concept identifying substance or product that can be ordered. | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who or group medication request is for | ||||
![]() ![]() |
0..1 | Reference(Encounter | EpisodeOfCare) | Created during encounter/admission/stay | |||||
![]() ![]() |
0..* | Reference(Resource) | Information to support ordering of the medication | |||||
![]() ![]() |
Σ | 0..1 | dateTime | When request was initially authored | ||||
![]() ![]() |
ΣC | 0..1 | BackboneElement | Who/What requested the Request Constraints: mps-1 | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Practitioner | Organization | Patient | RelatedPerson | Device) | Who ordered the initial medication(s) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4: Who/What requested the Request URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Reference(Organization) | Organization agent is acting for | ||||
![]() ![]() |
0..1 | Reference(Practitioner) | Person who entered the request | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4: recorder additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | CodeableConcept | Reason or indication for writing the prescription Binding: Condition/Problem/Diagnosis Codes (example): A coded concept indicating why the medication was ordered. | |||||
![]() ![]() |
0..* | Reference(Condition | Observation) | Condition or Observation that supports why the prescription is being written | |||||
![]() ![]() |
0..* | Annotation | Information about the prescription | |||||
![]() ![]() |
0..* | Dosage | How the medication should be taken | |||||
![]() ![]() |
0..1 | BackboneElement | Medication supply authorization | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4: First fill details (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.initialFill | |||||
![]() ![]() ![]() ![]() |
0..1 | Duration | R4: Minimum period of time between dispenses (new) URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.dispenseInterval | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
0..1 | Period | Time period supply is authorized for | |||||
![]() ![]() ![]() |
0..1 | positiveInt | Number of refills authorized | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | unsignedInt | R4: numberOfRepeatsAllowed additional types URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.dispenseRequest.numberOfRepeatsAllowed | |||||
![]() ![]() ![]() ![]() |
0..1 | positiveInt | Primitive value for positiveInt | |||||
![]() ![]() ![]() |
0..1 | SimpleQuantity | Amount of medication to supply per dispense | |||||
![]() ![]() ![]() |
0..1 | Duration | Number of days supply per dispense | |||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Intended dispenser | |||||
![]() ![]() |
0..1 | BackboneElement | Any restrictions on medication substitution | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | R4: Whether substitution is allowed or not additional types URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest.substitution.allowed Binding: ActSubstanceAdminSubstitutionCode|2014-03-26 (example): Identifies the type of substitution allowed. | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
?! | 1..1 | boolean | Whether substitution is allowed or not | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Why should (not) substitution be made Binding: SubstanceAdminSubstitutionReason|2014-03-26 (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed. | |||||
![]() ![]() |
0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced | |||||
![]() ![]() |
0..* | Reference(DetectedIssue) | Clinical Issue with action | |||||
![]() ![]() |
0..* | Reference(Provenance) | A list of events of interest in the lifecycle | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.language | Base | extensible | Common Languages | 📍3.0.2 | FHIR Std. |
| MedicationRequest.status | Base | required | MedicationRequestStatus | 📍3.0.2 | FHIR Std. |
| MedicationRequest.intent | Base | required | MedicationRequestIntent | 📍3.0.2 | FHIR Std. |
| MedicationRequest.category | Base | preferred | MedicationRequestCategory | 📍3.0.2 | FHIR Std. |
| MedicationRequest.priority | Base | required | MedicationRequestPriority | 📍3.0.2 | FHIR Std. |
| MedicationRequest.medication[x] | Base | example | SNOMED CT Medication Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.reasonCode | Base | example | Condition/Problem/Diagnosis Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.substitution.reason | Base | example | SubstanceAdminSubstitutionReason | 📍2014-03-26 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| 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 |
contained.where(('#'+id in %resource.descendants().reference).not()).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()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| mps-1 | error | MedicationRequest.requester | onBehalfOf can only be specified if agent is practitioner or device |
(agent.resolve().empty()) or (agent.resolve() is Device) or (agent.resolve() is Practitioner) or onBehalfOf.exists().not()
|
This structure is derived from MedicationRequest
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron