This page is part of the Clinical Guidelines (v0.1.0: STU 1 Ballot 1) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-medicationrequest
Profile of MedicationRequest for use with CPG Implementation Guide
This profile builds on MedicationRequest.
This profile was published on Thu Jun 06 00:00:00 EDT 2019 as a draft by Health Level Seven, Inc. - CDS WG.
Description of Profiles, Differentials, and Snapshots.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | 0..* | |||
cqf-strengthOfRecommendation | S | 0..* | CodeableConcept | The strength of the recommendation URL: http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation Binding: StrengthOfRecommendationRating (example) |
cqf-qualityOfEvidence | S | 0..* | CodeableConcept | The quality of the evidence URL: http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence Binding: QualityOfEvidenceRating (example) |
identifier | S | 1..* | Identifier | |
status | S | 1..1 | code | |
intent | S | 1..1 | code | |
category | S | 0..* | CodeableConcept | |
priority | S | 0..1 | code | |
doNotPerform | S | 0..1 | boolean | |
medication[x] | S | 1..1 | CodeableConcept, Reference(Medication) | |
subject | S | 1..1 | Reference(Patient | Group) | |
encounter | S | 0..1 | Reference(Encounter) | |
supportingInformation | S | 0..* | Reference(Resource) | |
reasonCode | S | 0..* | CodeableConcept | |
reasonReference | S | 0..* | Reference(Condition | Observation) | |
instantiatesCanonical | S | 0..* | canonical() | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | Ordering of medication for patient or group | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
cqf-strengthOfRecommendation | SI | 0..* | CodeableConcept | The strength of the recommendation URL: http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation Binding: StrengthOfRecommendationRating (example) |
cqf-qualityOfEvidence | SI | 0..* | CodeableConcept | The quality of the evidence URL: http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence Binding: QualityOfEvidenceRating (example) |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 1..* | Identifier | External ids for this request |
status | ?!SΣ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required) |
statusReason | 0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example) | |
intent | ?!SΣ | 1..1 | code | proposal | plan | order | original-order | instance-order | option Binding: medicationRequest Intent (required) |
category | S | 0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (example) |
priority | SΣ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
doNotPerform | ?!SΣ | 0..1 | boolean | True if request is prohibiting action |
reported[x] | Σ | 0..1 | Reported rather than primary record | |
reportedBoolean | boolean | |||
reportedReference | Reference(http://hl7.org/fhir/R4/patient.html | http://hl7.org/fhir/R4/practitioner.html | http://hl7.org/fhir/R4/practitionerrole.html | http://hl7.org/fhir/R4/relatedperson.html | http://hl7.org/fhir/R4/organization.html) | |||
medication[x] | SΣ | 1..1 | Medication to be taken Binding: SNOMEDCTMedicationCodes (example) | |
medicationCodeableConcept | CodeableConcept | |||
medicationReference | Reference(http://hl7.org/fhir/R4/medication.html) | |||
subject | SΣ | 1..1 | Reference(Patient | Group) | Who or group medication request is for |
encounter | S | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay |
supportingInformation | S | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | Σ | 0..1 | dateTime | When request was initially authored |
requester | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request |
performer | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration | |
performerType | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example) |
recorder | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request | |
reasonCode | S | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example) |
reasonReference | S | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written |
instantiatesCanonical | SΣ | 0..* | canonical() | Instantiates FHIR protocol or definition |
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition |
basedOn | Σ | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills |
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of |
courseOfTherapyType | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: medicationRequest Course of Therapy Codes (example) | |
insurance | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |
note | 0..* | Annotation | Information about the prescription | |
dosageInstruction | 0..* | Dosage | How the medication should be taken | |
dispenseRequest | I | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
initialFill | I | 0..1 | BackboneElement | First fill details |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity | 0..1 | SimpleQuantity | First fill quantity | |
duration | 0..1 | Duration | First fill duration | |
dispenseInterval | 0..1 | Duration | Minimum period of time between dispenses | |
validityPeriod | 0..1 | Period | Time period supply is authorized for | |
numberOfRepeatsAllowed | 0..1 | unsignedInt | Number of refills authorized | |
quantity | 0..1 | SimpleQuantity | Amount of medication to supply per dispense | |
expectedSupplyDuration | 0..1 | Duration | Number of days supply per dispense | |
performer | 0..1 | Reference(Organization) | Intended dispenser | |
substitution | I | 0..1 | BackboneElement | Any restrictions on medication substitution |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
allowed[x] | 1..1 | Whether substitution is allowed or not Binding: V3 Value SetActSubstanceAdminSubstitutionCode (example) | ||
allowedBoolean | boolean | |||
allowedCodeableConcept | CodeableConcept | |||
reason | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: V3 Value SetSubstanceAdminSubstitutionReason (example) | |
priorPrescription | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced | |
detectedIssue | 0..* | Reference(DetectedIssue) | Clinical Issue with action | |
eventHistory | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle | |
Documentation for this format |
Differential View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | 0..* | |||
cqf-strengthOfRecommendation | S | 0..* | CodeableConcept | The strength of the recommendation URL: http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation Binding: StrengthOfRecommendationRating (example) |
cqf-qualityOfEvidence | S | 0..* | CodeableConcept | The quality of the evidence URL: http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence Binding: QualityOfEvidenceRating (example) |
identifier | S | 1..* | Identifier | |
status | S | 1..1 | code | |
intent | S | 1..1 | code | |
category | S | 0..* | CodeableConcept | |
priority | S | 0..1 | code | |
doNotPerform | S | 0..1 | boolean | |
medication[x] | S | 1..1 | CodeableConcept, Reference(Medication) | |
subject | S | 1..1 | Reference(Patient | Group) | |
encounter | S | 0..1 | Reference(Encounter) | |
supportingInformation | S | 0..* | Reference(Resource) | |
reasonCode | S | 0..* | CodeableConcept | |
reasonReference | S | 0..* | Reference(Condition | Observation) | |
instantiatesCanonical | S | 0..* | canonical() | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | Ordering of medication for patient or group | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
cqf-strengthOfRecommendation | SI | 0..* | CodeableConcept | The strength of the recommendation URL: http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation Binding: StrengthOfRecommendationRating (example) |
cqf-qualityOfEvidence | SI | 0..* | CodeableConcept | The quality of the evidence URL: http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence Binding: QualityOfEvidenceRating (example) |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 1..* | Identifier | External ids for this request |
status | ?!SΣ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required) |
statusReason | 0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example) | |
intent | ?!SΣ | 1..1 | code | proposal | plan | order | original-order | instance-order | option Binding: medicationRequest Intent (required) |
category | S | 0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (example) |
priority | SΣ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
doNotPerform | ?!SΣ | 0..1 | boolean | True if request is prohibiting action |
reported[x] | Σ | 0..1 | Reported rather than primary record | |
reportedBoolean | boolean | |||
reportedReference | Reference(http://hl7.org/fhir/R4/patient.html | http://hl7.org/fhir/R4/practitioner.html | http://hl7.org/fhir/R4/practitionerrole.html | http://hl7.org/fhir/R4/relatedperson.html | http://hl7.org/fhir/R4/organization.html) | |||
medication[x] | SΣ | 1..1 | Medication to be taken Binding: SNOMEDCTMedicationCodes (example) | |
medicationCodeableConcept | CodeableConcept | |||
medicationReference | Reference(http://hl7.org/fhir/R4/medication.html) | |||
subject | SΣ | 1..1 | Reference(Patient | Group) | Who or group medication request is for |
encounter | S | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay |
supportingInformation | S | 0..* | Reference(Resource) | Information to support ordering of the medication |
authoredOn | Σ | 0..1 | dateTime | When request was initially authored |
requester | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request |
performer | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration | |
performerType | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example) |
recorder | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request | |
reasonCode | S | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example) |
reasonReference | S | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written |
instantiatesCanonical | SΣ | 0..* | canonical() | Instantiates FHIR protocol or definition |
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition |
basedOn | Σ | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills |
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of |
courseOfTherapyType | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: medicationRequest Course of Therapy Codes (example) | |
insurance | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |
note | 0..* | Annotation | Information about the prescription | |
dosageInstruction | 0..* | Dosage | How the medication should be taken | |
dispenseRequest | I | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
initialFill | I | 0..1 | BackboneElement | First fill details |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
quantity | 0..1 | SimpleQuantity | First fill quantity | |
duration | 0..1 | Duration | First fill duration | |
dispenseInterval | 0..1 | Duration | Minimum period of time between dispenses | |
validityPeriod | 0..1 | Period | Time period supply is authorized for | |
numberOfRepeatsAllowed | 0..1 | unsignedInt | Number of refills authorized | |
quantity | 0..1 | SimpleQuantity | Amount of medication to supply per dispense | |
expectedSupplyDuration | 0..1 | Duration | Number of days supply per dispense | |
performer | 0..1 | Reference(Organization) | Intended dispenser | |
substitution | I | 0..1 | BackboneElement | Any restrictions on medication substitution |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
allowed[x] | 1..1 | Whether substitution is allowed or not Binding: V3 Value SetActSubstanceAdminSubstitutionCode (example) | ||
allowedBoolean | boolean | |||
allowedCodeableConcept | CodeableConcept | |||
reason | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: V3 Value SetSubstanceAdminSubstitutionReason (example) | |
priorPrescription | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced | |
detectedIssue | 0..* | Reference(DetectedIssue) | Clinical Issue with action | |
eventHistory | 0..* | Reference(Provenance) | A list of events of interest in the lifecycle | |
Documentation for this format |
Path | Conformance | ValueSet |
MedicationRequest.language | preferred | CommonLanguages Max Binding: AllLanguages |
MedicationRequest.status | required | medicationrequest Status |
MedicationRequest.statusReason | example | medicationRequest Status Reason Codes |
MedicationRequest.intent | required | medicationRequest Intent |
MedicationRequest.category | example | medicationRequest Category Codes |
MedicationRequest.priority | required | RequestPriority |
MedicationRequest.medication[x] | example | SNOMEDCTMedicationCodes |
MedicationRequest.performerType | example | ProcedurePerformerRoleCodes |
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodes |
MedicationRequest.courseOfTherapyType | example | medicationRequest Course of Therapy Codes |
MedicationRequest.substitution.allowed[x] | example | v3.ActSubstanceAdminSubstitutionCode |
MedicationRequest.substitution.reason | example | v3.SubstanceAdminSubstitutionReason |
Id | Path | Details | Requirements |
dom-2 | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-4 | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-3 | MedicationRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-6 | MedicationRequest | A resource should have narrative for robust management : text.div.exists() | |
dom-5 | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
ele-1 | MedicationRequest.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.dispenseRequest | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.dispenseRequest.initialFill | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationRequest.substitution | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |