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/STU3/StructureDefinition/profile-medicationrequest-stu3
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from US Core Medication Request Profile
Summary
Mandatory: 6 elements
Must-Support: 14 elements
Fixed Value: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
This structure is derived from US Core Medication Request Profile
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | US Core Medication Request Profile | |
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 (extensible) | |
text | I | 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 | |
ext-insurance | SI | 0..* | Reference(CRD Coverage) | Extension URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 0..* | Identifier | External ids for this request |
definition | Σ | 0..* | Reference(ActivityDefinition | PlanDefinition) | Protocol or definition |
basedOn | Σ | 0..* | Reference(CRD MedicationRequest) | What request fulfills |
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of |
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 | instance-order Binding: MedicationRequestIntent (required) |
category | 0..1 | CodeableConcept | Type of medication usage Binding: MedicationRequestCategory (preferred) | |
priority | Σ | 0..1 | code | routine | urgent | stat | asap Binding: MedicationRequestPriority (required) |
medication[x] | SΣ | 1..1 | Reference(US Core Medication Profile), CodeableConcept | Medication to be taken Binding: Medication Clinical Drug (RxNorm) (extensible) |
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ΣI | 1..1 | BackboneElement | Who/What requested the Request |
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 |
agent | SΣ | 1..1 | Reference(CRD Practitioner) | Who ordered the initial medication(s) |
onBehalfOf | ΣI | 0..1 | Reference(Organization) | Organization agent is acting for |
recorder | 0..1 | Reference(Practitioner) | Person who entered the request | |
reasonCode | S | 0..* | CodeableConcept | Reason or indication for writing the prescription Binding: Condition/Problem/Diagnosis Codes (example) |
reasonReference | S | 0..* | Reference(US Core Condition Profile | US Core Result Observation) | Condition or Observation that supports why the prescription is being written |
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 |
validityPeriod | 0..1 | Period | Time period supply is authorized for | |
numberOfRepeatsAllowed | 0..1 | positiveInt | 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 |
allowed | ?! | 1..1 | boolean | Whether substitution is allowed or not |
reason | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: 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 US Core Medication Request Profile
Summary
Mandatory: 6 elements
Must-Support: 14 elements
Fixed Value: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Differential View
This structure is derived from US Core Medication Request Profile
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationRequest | I | 0..* | US Core Medication Request Profile | |
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 (extensible) | |
text | I | 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 | |
ext-insurance | SI | 0..* | Reference(CRD Coverage) | Extension URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 0..* | Identifier | External ids for this request |
definition | Σ | 0..* | Reference(ActivityDefinition | PlanDefinition) | Protocol or definition |
basedOn | Σ | 0..* | Reference(CRD MedicationRequest) | What request fulfills |
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of |
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 | instance-order Binding: MedicationRequestIntent (required) |
category | 0..1 | CodeableConcept | Type of medication usage Binding: MedicationRequestCategory (preferred) | |
priority | Σ | 0..1 | code | routine | urgent | stat | asap Binding: MedicationRequestPriority (required) |
medication[x] | SΣ | 1..1 | Reference(US Core Medication Profile), CodeableConcept | Medication to be taken Binding: Medication Clinical Drug (RxNorm) (extensible) |
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ΣI | 1..1 | BackboneElement | Who/What requested the Request |
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 |
agent | SΣ | 1..1 | Reference(CRD Practitioner) | Who ordered the initial medication(s) |
onBehalfOf | ΣI | 0..1 | Reference(Organization) | Organization agent is acting for |
recorder | 0..1 | Reference(Practitioner) | Person who entered the request | |
reasonCode | S | 0..* | CodeableConcept | Reason or indication for writing the prescription Binding: Condition/Problem/Diagnosis Codes (example) |
reasonReference | S | 0..* | Reference(US Core Condition Profile | US Core Result Observation) | Condition or Observation that supports why the prescription is being written |
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 |
validityPeriod | 0..1 | Period | Time period supply is authorized for | |
numberOfRepeatsAllowed | 0..1 | positiveInt | 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 |
allowed | ?! | 1..1 | boolean | Whether substitution is allowed or not |
reason | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: 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 | Common Languages | extensible | Common Languages |
MedicationRequest.status | MedicationRequestStatus | required | MedicationRequestStatus |
MedicationRequest.intent | MedicationRequestIntent | required | MedicationRequestIntent |
MedicationRequest.category | MedicationRequestCategory | preferred | MedicationRequestCategory |
MedicationRequest.priority | MedicationRequestPriority | required | MedicationRequestPriority |
MedicationRequest.medication[x] | Medication Clinical Drug (RxNorm) | extensible | Medication Clinical Drug (RxNorm) |
MedicationRequest.reasonCode | Condition/Problem/Diagnosis Codes | example | Condition/Problem/Diagnosis Codes |
MedicationRequest.substitution.reason | SubstanceAdminSubstitutionReason | example | 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-1 | MedicationRequest | If the resource is contained in another resource, it SHALL NOT contain any narrative : contained.text.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 : contained.where(('#'+id in %resource.descendants().reference).not()).empty() | |
ele-1 | MedicationRequest.extension | All FHIR elements must have a @value or children : hasValue() | (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() | (children().count() > id.count()) | |
ext-1 | MedicationRequest.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationRequest.requester | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
mps-1 | 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() | |
ele-1 | MedicationRequest.dispenseRequest | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ele-1 | MedicationRequest.substitution | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) |