Extensions for Using Data Elements from FHIR R4B in FHIR STU3 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/4.3/StructureDefinition/profile-MedicationRequest | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R4B_MedicationRequest_R3 | ||
This cross-version profile allows R4B 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..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | Meta | R4B: meta additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.meta | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4B: text additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.text | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Reason for current status (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.statusReason Binding: R4BMedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status. | |
![]() ![]() ![]() |
0..1 | boolean, Reference(Cross-version Profile for R4B.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4B.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4B.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4B.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4B.Organization for use in FHIR STU3(0.1.0) | Organization) | R4B: Reported rather than primary record (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.reported | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R4B.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4B.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4B.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4B.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4B.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4B.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4B.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) | R4B: Intended performer of administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.performer | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Desired kind of performer of the medication administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.performerType | |
![]() ![]() ![]() |
0..* | uri | R4B: Instantiates external protocol or definition (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.instantiatesUri | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Overall pattern of medication administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.courseOfTherapyType Binding: R4BMedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio. | |
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4B.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4B.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) | R4B: Associated insurance coverage (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.insurance | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | boolean | R4B: True if request is prohibiting action (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.doNotPerform | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | Identifier | R4B: identifier additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.identifier | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | uri | R4B: Instantiates FHIR protocol or definition additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.instantiatesCanonical | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: basedOn URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | Identifier | R4B: groupIdentifier additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.groupIdentifier | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R4B: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.intent Binding: MedicationRequestIntent (required): The kind of medication order. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: Encounter created as part of encounter/admission/stay additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: supportingInformation additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: Who/What requested the Request URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: recorder additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: Condition or observation that supports why the prescription is being written additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | Annotation | R4B: note additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.note | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | R4B: dosageInstruction additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dosageInstruction | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4B: First fill details (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.initialFill | |
![]() ![]() ![]() ![]() |
0..1 | Duration | R4B: Minimum period of time between dispenses (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.dispenseInterval | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | R4B: validityPeriod additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.validityPeriod | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | unsignedInt | R4B: numberOfRepeatsAllowed additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.numberOfRepeatsAllowed | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: performer additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Whether substitution is allowed or not additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.substitution.allowed Binding: ActSubstanceAdminSubstitutionCode|2014-03-26 (example): Identifies the type of substitution allowed. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: priorPrescription additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: detectedIssue additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: eventHistory additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
Documentation for this format | ||||
| 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 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | R4B: meta additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.meta | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..* | uri | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones" | ||||
![]() ![]() |
?!Σ | 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..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4B: text additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.text | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Reason for current status (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.statusReason Binding: R4BMedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() |
0..1 | boolean, Reference(Cross-version Profile for R4B.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4B.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4B.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4B.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4B.Organization for use in FHIR STU3(0.1.0) | Organization) | R4B: Reported rather than primary record (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.reported | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R4B.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4B.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4B.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4B.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4B.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4B.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4B.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) | R4B: Intended performer of administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.performer | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Desired kind of performer of the medication administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.performerType | |||||
![]() ![]() ![]() |
0..* | uri | R4B: Instantiates external protocol or definition (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.instantiatesUri | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Overall pattern of medication administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.courseOfTherapyType Binding: R4BMedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio. | |||||
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4B.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4B.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) | R4B: Associated insurance coverage (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.insurance | |||||
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
?! | 0..1 | boolean | R4B: True if request is prohibiting action (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.doNotPerform | ||||
![]() ![]() |
0..* | Identifier | External ids for this request | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | Identifier | R4B: identifier additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.identifier | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 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 | R4B: Instantiates FHIR protocol or definition additional types URL: http://hl7.org/fhir/4.3/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]] | R4B: 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 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | R4B: groupIdentifier additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.groupIdentifier | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!Σ | 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 | R4B: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.intent Binding: MedicationRequestIntent (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. | |||||
![]() ![]() ![]() |
Content/Rules for all Types | |||||||
![]() ![]() ![]() ![]() |
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]] | R4B: medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who or group medication request is for | ||||
![]() ![]() ![]() |
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]] | R4B: subject 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..1 | Reference(Encounter | EpisodeOfCare) | Created during encounter/admission/stay | |||||
![]() ![]() ![]() |
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]] | R4B: Encounter created as part of encounter/admission/stay 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..* | Reference(Resource) | Information to support ordering of the medication | |||||
![]() ![]() ![]() |
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]] | R4B: supportingInformation 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..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]] | R4B: 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]] | R4B: 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..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]] | R4B: Condition or observation that supports why the prescription is being written 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..* | Annotation | Information about the prescription | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | Annotation | R4B: note additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.note | |||||
![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson) | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() |
1..1 | string | The annotation - text content | |||||
![]() ![]() |
0..* | Dosage | How the medication should be taken | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | R4B: dosageInstruction additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dosageInstruction | |||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Free text dosage instructions e.g. SIG | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Supplemental instruction - e.g. "with meals" Binding: SNOMED CT Additional Dosage Instructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | Timing | When medication should be administered | ||||
![]() ![]() ![]() |
Σ | 0..1 | Take "as needed" (for x) Binding: SNOMED CT Medication As Needed Reason Codes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMED CT Anatomical Structure for Administration Site Codes (example): A coded concept describing the site location the medicine enters into or onto the body. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMED CT Route Codes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMED CT Administration Method Codes (example): A coded concept describing the technique by which the medicine is administered. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per dose | |||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() |
Σ | 0..1 | Ratio | Upper limit on medication per unit of time | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity | Upper limit on medication per administration | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time | |||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() |
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) | R4B: First fill details (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.initialFill | |||||
![]() ![]() ![]() ![]() |
0..1 | Duration | R4B: Minimum period of time between dispenses (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.dispenseInterval | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
0..1 | Period | Time period supply is authorized for | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | R4B: validityPeriod additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.validityPeriod | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() ![]() |
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 | R4B: numberOfRepeatsAllowed additional types URL: http://hl7.org/fhir/4.3/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 | 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]] | R4B: performer 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..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 | R4B: Whether substitution is allowed or not additional types URL: http://hl7.org/fhir/4.3/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..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]] | R4B: priorPrescription 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..* | Reference(DetectedIssue) | Clinical Issue with action | |||||
![]() ![]() ![]() |
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]] | R4B: detectedIssue 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..* | Reference(Provenance) | A list of events of interest in the lifecycle | |||||
![]() ![]() ![]() |
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]] | R4B: eventHistory 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 | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.meta.security | Base | extensible | All Security Labels | 📍3.0.2 | FHIR Std. |
| MedicationRequest.meta.tag | Base | example | Common Tags | 📍3.0.2 | FHIR Std. |
| MedicationRequest.language | Base | extensible | Common Languages | 📍3.0.2 | FHIR Std. |
| MedicationRequest.text.status | Base | required | NarrativeStatus | 📍3.0.2 | FHIR Std. |
| MedicationRequest.identifier.use | Base | required | IdentifierUse | 📍3.0.2 | FHIR Std. |
| MedicationRequest.identifier.type | Base | extensible | Identifier Type Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.groupIdentifier.use | Base | required | IdentifierUse | 📍3.0.2 | FHIR Std. |
| MedicationRequest.groupIdentifier.type | Base | extensible | Identifier Type Codes | 📍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.dosageInstruction.additionalInstruction | Base | example | SNOMED CT Additional Dosage Instructions | 📍3.0.2 | FHIR Std. |
| MedicationRequest.dosageInstruction.asNeeded[x] | Base | example | SNOMED CT Medication As Needed Reason Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.dosageInstruction.site | Base | example | SNOMED CT Anatomical Structure for Administration Site Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.dosageInstruction.route | Base | example | SNOMED CT Route Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.dosageInstruction.method | Base | example | SNOMED CT Administration Method 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()
|
| txt-1 | error | MedicationRequest.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlchecks()
|
| txt-2 | error | MedicationRequest.text.div | The narrative SHALL have some non-whitespace content |
htmlchecks()
|
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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | Meta | R4B: meta additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.meta | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4B: text additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.text | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Reason for current status (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.statusReason Binding: R4BMedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status. | |
![]() ![]() ![]() |
0..1 | boolean, Reference(Cross-version Profile for R4B.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4B.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4B.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4B.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4B.Organization for use in FHIR STU3(0.1.0) | Organization) | R4B: Reported rather than primary record (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.reported | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R4B.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4B.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4B.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4B.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4B.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4B.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4B.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) | R4B: Intended performer of administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.performer | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Desired kind of performer of the medication administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.performerType | |
![]() ![]() ![]() |
0..* | uri | R4B: Instantiates external protocol or definition (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.instantiatesUri | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Overall pattern of medication administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.courseOfTherapyType Binding: R4BMedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio. | |
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4B.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4B.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) | R4B: Associated insurance coverage (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.insurance | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | boolean | R4B: True if request is prohibiting action (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.doNotPerform | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | Identifier | R4B: identifier additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.identifier | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | uri | R4B: Instantiates FHIR protocol or definition additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.instantiatesCanonical | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: basedOn URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | Identifier | R4B: groupIdentifier additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.groupIdentifier | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R4B: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.intent Binding: MedicationRequestIntent (required): The kind of medication order. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: Encounter created as part of encounter/admission/stay additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: supportingInformation additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: Who/What requested the Request URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: recorder additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: Condition or observation that supports why the prescription is being written additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | Annotation | R4B: note additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.note | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | R4B: dosageInstruction additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dosageInstruction | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4B: First fill details (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.initialFill | |
![]() ![]() ![]() ![]() |
0..1 | Duration | R4B: Minimum period of time between dispenses (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.dispenseInterval | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | R4B: validityPeriod additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.validityPeriod | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | unsignedInt | R4B: numberOfRepeatsAllowed additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.numberOfRepeatsAllowed | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: performer additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Whether substitution is allowed or not additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.substitution.allowed Binding: ActSubstanceAdminSubstitutionCode|2014-03-26 (example): Identifies the type of substitution allowed. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: priorPrescription additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: detectedIssue additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R4B: eventHistory additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
Documentation for this format | ||||
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 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | R4B: meta additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.meta | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..* | uri | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones" | ||||
![]() ![]() |
?!Σ | 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..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | R4B: text additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.text | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Reason for current status (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.statusReason Binding: R4BMedicationrequestStatusReasonForR3 (0.1.0) (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() |
0..1 | boolean, Reference(Cross-version Profile for R4B.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4B.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4B.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4B.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4B.Organization for use in FHIR STU3(0.1.0) | Organization) | R4B: Reported rather than primary record (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.reported | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R4B.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R4B.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole | Cross-version Profile for R4B.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R4B.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R4B.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R4B.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R4B.CareTeam for use in FHIR STU3(0.1.0) | CareTeam) | R4B: Intended performer of administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.performer | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Desired kind of performer of the medication administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.performerType | |||||
![]() ![]() ![]() |
0..* | uri | R4B: Instantiates external protocol or definition (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.instantiatesUri | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R4B: Overall pattern of medication administration (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.courseOfTherapyType Binding: R4BMedicationrequestCourseOfTherapyForR3 (0.1.0) (example): Identifies the overall pattern of medication administratio. | |||||
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R4B.Coverage for use in FHIR STU3(0.1.0) | Coverage | Cross-version Profile for R4B.ClaimResponse for use in FHIR STU3(0.1.0) | ClaimResponse) | R4B: Associated insurance coverage (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.insurance | |||||
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
?! | 0..1 | boolean | R4B: True if request is prohibiting action (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.doNotPerform | ||||
![]() ![]() |
0..* | Identifier | External ids for this request | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | Identifier | R4B: identifier additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.identifier | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 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 | R4B: Instantiates FHIR protocol or definition additional types URL: http://hl7.org/fhir/4.3/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]] | R4B: 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 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | R4B: groupIdentifier additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.groupIdentifier | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!Σ | 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 | R4B: proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.intent Binding: MedicationRequestIntent (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. | |||||
![]() ![]() ![]() |
Content/Rules for all Types | |||||||
![]() ![]() ![]() ![]() |
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]] | R4B: medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who or group medication request is for | ||||
![]() ![]() ![]() |
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]] | R4B: subject 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..1 | Reference(Encounter | EpisodeOfCare) | Created during encounter/admission/stay | |||||
![]() ![]() ![]() |
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]] | R4B: Encounter created as part of encounter/admission/stay 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..* | Reference(Resource) | Information to support ordering of the medication | |||||
![]() ![]() ![]() |
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]] | R4B: supportingInformation 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..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]] | R4B: 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]] | R4B: 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..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]] | R4B: Condition or observation that supports why the prescription is being written 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..* | Annotation | Information about the prescription | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | Annotation | R4B: note additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.note | |||||
![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson) | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() |
1..1 | string | The annotation - text content | |||||
![]() ![]() |
0..* | Dosage | How the medication should be taken | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | R4B: dosageInstruction additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dosageInstruction | |||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Free text dosage instructions e.g. SIG | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Supplemental instruction - e.g. "with meals" Binding: SNOMED CT Additional Dosage Instructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | Timing | When medication should be administered | ||||
![]() ![]() ![]() |
Σ | 0..1 | Take "as needed" (for x) Binding: SNOMED CT Medication As Needed Reason Codes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMED CT Anatomical Structure for Administration Site Codes (example): A coded concept describing the site location the medicine enters into or onto the body. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMED CT Route Codes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMED CT Administration Method Codes (example): A coded concept describing the technique by which the medicine is administered. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per dose | |||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() |
Σ | 0..1 | Ratio | Upper limit on medication per unit of time | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity | Upper limit on medication per administration | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time | |||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() |
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) | R4B: First fill details (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.initialFill | |||||
![]() ![]() ![]() ![]() |
0..1 | Duration | R4B: Minimum period of time between dispenses (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.dispenseInterval | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
0..1 | Period | Time period supply is authorized for | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Period | R4B: validityPeriod additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest.dispenseRequest.validityPeriod | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() ![]() |
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 | R4B: numberOfRepeatsAllowed additional types URL: http://hl7.org/fhir/4.3/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 | 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]] | R4B: performer 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..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 | R4B: Whether substitution is allowed or not additional types URL: http://hl7.org/fhir/4.3/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..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]] | R4B: priorPrescription 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..* | Reference(DetectedIssue) | Clinical Issue with action | |||||
![]() ![]() ![]() |
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]] | R4B: detectedIssue 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..* | Reference(Provenance) | A list of events of interest in the lifecycle | |||||
![]() ![]() ![]() |
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]] | R4B: eventHistory 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 | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.meta.security | Base | extensible | All Security Labels | 📍3.0.2 | FHIR Std. |
| MedicationRequest.meta.tag | Base | example | Common Tags | 📍3.0.2 | FHIR Std. |
| MedicationRequest.language | Base | extensible | Common Languages | 📍3.0.2 | FHIR Std. |
| MedicationRequest.text.status | Base | required | NarrativeStatus | 📍3.0.2 | FHIR Std. |
| MedicationRequest.identifier.use | Base | required | IdentifierUse | 📍3.0.2 | FHIR Std. |
| MedicationRequest.identifier.type | Base | extensible | Identifier Type Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.groupIdentifier.use | Base | required | IdentifierUse | 📍3.0.2 | FHIR Std. |
| MedicationRequest.groupIdentifier.type | Base | extensible | Identifier Type Codes | 📍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.dosageInstruction.additionalInstruction | Base | example | SNOMED CT Additional Dosage Instructions | 📍3.0.2 | FHIR Std. |
| MedicationRequest.dosageInstruction.asNeeded[x] | Base | example | SNOMED CT Medication As Needed Reason Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.dosageInstruction.site | Base | example | SNOMED CT Anatomical Structure for Administration Site Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.dosageInstruction.route | Base | example | SNOMED CT Route Codes | 📍3.0.2 | FHIR Std. |
| MedicationRequest.dosageInstruction.method | Base | example | SNOMED CT Administration Method 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()
|
| txt-1 | error | MedicationRequest.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlchecks()
|
| txt-2 | error | MedicationRequest.text.div | The narrative SHALL have some non-whitespace content |
htmlchecks()
|
This structure is derived from MedicationRequest
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron