This page is part of the Da Vinci Coverage Requirements Discovery (CRD) FHIR IG (v0.1.0: STU 1 Ballot 1) based on FHIR v3.5.0. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
This is a pre-release version (Ballot 1) of Coverage Requirements Discovery (CRD) R1/STU. There is no current official version.
For a full list of available versions, see the Directory of published versions .
The official URL for this profile is:
http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest-r4
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from MedicationRequest
Summary
Mandatory: 5 elements
Must-Support: 14 elements
Fixed Value: 1 element
Prohibited: 1 element
Structures
This structure refers to these other structures:
This structure is derived from MedicationRequest
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: Common Languages (preferred) | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 0..* | Identifier | External ids for this request |
status | ?!SΣ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: MedicationRequestStatus (required) Fixed Value: draft |
intent | ?!Σ | 1..1 | code | proposal | plan | order | original-order | instance-order | option Binding: MedicationRequestIntent (required) |
category | 0..* | CodeableConcept | Type of medication usage Binding: MedicationRequestCategory (example) | |
priority | Σ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
medication[x] | SΣ | 1..1 | Reference(CRD Medication), CodeableConcept | Medication to be taken Binding: SNOMEDCTMedicationCodes (example) |
subject | SΣ | 1..1 | Reference(CRD Patient) | Who or group medication request is for |
context | 0..1 | Reference(CRD Encounter) | Created during encounter/admission/stay | |
supportingInformation | 0..* | Reference(Resource) | Information to support ordering of the medication | |
authoredOn | SΣ | 1..1 | dateTime | When request was initially authored |
requester | SΣ | 1..1 | Reference(CRD Practitioner | CRD PractitionerRole) | Who/What requested the Request |
performer | S | 0..1 | Reference(CRD Practitioner | CRD PractitionerRole) | Intended performer of administration |
performerType | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example) |
recorder | 0..1 | Reference(Practitioner) | 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(CRD Condition | CRD Observation) | Condition or observation that supports why the prescription is being written |
instantiates | Σ | 0..* | uri | Instantiates protocol or definition |
basedOn | Σ | 0..* | Reference(CRD MedicationRequest | CRD ServiceRequest) | What request fulfills |
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of |
statusReason | 0..1 | CodeableConcept | Reason for current status Binding: MedicationRequestStatusReason (example) | |
courseOfTherapyType | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: MedicationRequestCourseOfTherapy (example) | |
insurance | S | 0..* | Reference(CRD Coverage) | Associated insurance coverage |
note | 0..* | Annotation | Information about the prescription | |
dosageInstruction | S | 0..* | Dosage | How the medication should be taken |
dispenseRequest | SI | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored if unrecognized |
initialFill | I | 0..1 | BackboneElement | First fill details |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored 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 | SI | 0..1 | BackboneElement | Any restrictions on medication substitution |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored if unrecognized |
allowed | 1..1 | boolean | Whether substitution is allowed or not | |
reason | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason (example) | |
priorPrescription | S | 0..1 | Reference(CRD 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 |
This structure is derived from MedicationRequest
Summary
Mandatory: 5 elements
Must-Support: 14 elements
Fixed Value: 1 element
Prohibited: 1 element
Structures
This structure refers to these other structures:
Differential View
This structure is derived from MedicationRequest
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: Common Languages (preferred) | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 0..* | Identifier | External ids for this request |
status | ?!SΣ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: MedicationRequestStatus (required) Fixed Value: draft |
intent | ?!Σ | 1..1 | code | proposal | plan | order | original-order | instance-order | option Binding: MedicationRequestIntent (required) |
category | 0..* | CodeableConcept | Type of medication usage Binding: MedicationRequestCategory (example) | |
priority | Σ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required) |
medication[x] | SΣ | 1..1 | Reference(CRD Medication), CodeableConcept | Medication to be taken Binding: SNOMEDCTMedicationCodes (example) |
subject | SΣ | 1..1 | Reference(CRD Patient) | Who or group medication request is for |
context | 0..1 | Reference(CRD Encounter) | Created during encounter/admission/stay | |
supportingInformation | 0..* | Reference(Resource) | Information to support ordering of the medication | |
authoredOn | SΣ | 1..1 | dateTime | When request was initially authored |
requester | SΣ | 1..1 | Reference(CRD Practitioner | CRD PractitionerRole) | Who/What requested the Request |
performer | S | 0..1 | Reference(CRD Practitioner | CRD PractitionerRole) | Intended performer of administration |
performerType | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example) |
recorder | 0..1 | Reference(Practitioner) | 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(CRD Condition | CRD Observation) | Condition or observation that supports why the prescription is being written |
instantiates | Σ | 0..* | uri | Instantiates protocol or definition |
basedOn | Σ | 0..* | Reference(CRD MedicationRequest | CRD ServiceRequest) | What request fulfills |
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of |
statusReason | 0..1 | CodeableConcept | Reason for current status Binding: MedicationRequestStatusReason (example) | |
courseOfTherapyType | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: MedicationRequestCourseOfTherapy (example) | |
insurance | S | 0..* | Reference(CRD Coverage) | Associated insurance coverage |
note | 0..* | Annotation | Information about the prescription | |
dosageInstruction | S | 0..* | Dosage | How the medication should be taken |
dispenseRequest | SI | 0..1 | BackboneElement | Medication supply authorization |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored if unrecognized |
initialFill | I | 0..1 | BackboneElement | First fill details |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored 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 | SI | 0..1 | BackboneElement | Any restrictions on medication substitution |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored if unrecognized |
allowed | 1..1 | boolean | Whether substitution is allowed or not | |
reason | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason (example) | |
priorPrescription | S | 0..1 | Reference(CRD 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 |
Other representations of profile: Schematron
Path | Name | Conformance | ValueSet |
MedicationRequest.language | Language | preferred | Common Languages |
MedicationRequest.status | MedicationRequestStatus | required | MedicationRequestStatus |
MedicationRequest.intent | MedicationRequestIntent | required | MedicationRequestIntent |
MedicationRequest.category | MedicationRequestCategory | example | MedicationRequestCategory |
MedicationRequest.priority | Request priority | required | RequestPriority |
MedicationRequest.medication[x] | SNOMED CT Medication Codes | example | SNOMEDCTMedicationCodes |
MedicationRequest.performerType | Procedure Performer Role Codes | example | ProcedurePerformerRoleCodes |
MedicationRequest.reasonCode | Condition/Problem/Diagnosis Codes | example | Condition/Problem/DiagnosisCodes |
MedicationRequest.statusReason | MedicationRequestStatusReason | example | MedicationRequestStatusReason |
MedicationRequest.courseOfTherapyType | MedicationRequestCourseOfTherapy | example | MedicationRequestCourseOfTherapy |
MedicationRequest.substitution.reason | ?ext | example | http://terminology.hl7.org/ValueSet/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.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()) |