This page is part of a downloaded copy of this specification. 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. . 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 .

## StructureDefinition: CRD MedicationRequest

The official URL for this profile is:

    http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest-r4

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Text Summary
- Differential Table
- Snapshot Table
- All

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:

- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medication-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-condition-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-coverage-r4

This structure is derived from MedicationRequest

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationRequest |  | 0..* |  |
identifier | S | 0..* | Identifier |
status | S | 1..1 | code | Fixed Value: draft
intent |  | 1..1 | code |
category |  | 0..* | CodeableConcept |
priority |  | 0..1 | code |
doNotPerform |  | 0..0 |  |
medication[x] | S | 1..1 | Reference(CRD Medication), CodeableConcept |
subject | S | 1..1 | Reference(CRD Patient) |
context |  | 0..1 | Reference(CRD Encounter) |
supportingInformation |  | 0..* | Reference(Resource) |
authoredOn | S | 1..1 | dateTime |
requester | S | 1..1 | Reference(CRD Practitioner | CRD PractitionerRole) |
performer | S | 0..1 | Reference(CRD Practitioner | CRD PractitionerRole) |
recorder |  | 0..1 | Reference(Practitioner) |
reasonCode | S | 0..* | CodeableConcept |
reasonReference | S | 0..* | Reference(CRD Condition | CRD Observation) |
instantiates |  | 0..* | uri |
basedOn |  | 0..* | Reference(CRD MedicationRequest | CRD ServiceRequest) |
groupIdentifier |  | 0..1 | Identifier |
statusReason |  | 0..1 | CodeableConcept |
courseOfTherapyType |  | 0..1 | CodeableConcept |
insurance | S | 0..* | Reference(CRD Coverage) |
note |  | 0..* | Annotation |
dosageInstruction | S | 0..* | Dosage |
dispenseRequest | S | 0..1 | BackboneElement |
substitution | S | 0..1 | BackboneElement |
priorPrescription | S | 0..1 | Reference(CRD MedicationRequest) |
detectedIssue |  | 0..* | Reference(DetectedIssue) |
eventHistory |  | 0..* | Reference(Provenance) |
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: 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 | S I | 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 | S I | 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:

- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medication-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-encounter-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-practitioner-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-condition-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medicationrequest-r4
- http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-coverage-r4

Differential View

This structure is derived from MedicationRequest

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationRequest |  | 0..* |  |
identifier | S | 0..* | Identifier |
status | S | 1..1 | code | Fixed Value: draft
intent |  | 1..1 | code |
category |  | 0..* | CodeableConcept |
priority |  | 0..1 | code |
doNotPerform |  | 0..0 |  |
medication[x] | S | 1..1 | Reference(CRD Medication), CodeableConcept |
subject | S | 1..1 | Reference(CRD Patient) |
context |  | 0..1 | Reference(CRD Encounter) |
supportingInformation |  | 0..* | Reference(Resource) |
authoredOn | S | 1..1 | dateTime |
requester | S | 1..1 | Reference(CRD Practitioner | CRD PractitionerRole) |
performer | S | 0..1 | Reference(CRD Practitioner | CRD PractitionerRole) |
recorder |  | 0..1 | Reference(Practitioner) |
reasonCode | S | 0..* | CodeableConcept |
reasonReference | S | 0..* | Reference(CRD Condition | CRD Observation) |
instantiates |  | 0..* | uri |
basedOn |  | 0..* | Reference(CRD MedicationRequest | CRD ServiceRequest) |
groupIdentifier |  | 0..1 | Identifier |
statusReason |  | 0..1 | CodeableConcept |
courseOfTherapyType |  | 0..1 | CodeableConcept |
insurance | S | 0..* | Reference(CRD Coverage) |
note |  | 0..* | Annotation |
dosageInstruction | S | 0..* | Dosage |
dispenseRequest | S | 0..1 | BackboneElement |
substitution | S | 0..1 | BackboneElement |
priorPrescription | S | 0..1 | Reference(CRD MedicationRequest) |
detectedIssue |  | 0..* | Reference(DetectedIssue) |
eventHistory |  | 0..* | Reference(Provenance) |
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: 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 | S I | 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 | S I | 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

### Terminology Bindings

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

### Constraints

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()) |