Athena Core Implementation Guide
5.10.2 - release
Athena Core Implementation Guide - Local Development build (v5.10.2) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir.athena.io/StructureDefinition/ah-medicationrequest | Version: 5.10.2 | |||
| Active as of 2026-05-26 | Computable Name: AthenahealthMedicationRequest | |||
| Keywords: Wire Format | ||||
An order or request for the supply of medication/vaccine, or instructions for the actual administration of medication to a patient.
This resource returns all the medications related to the given patient. This includes inpatient medication orders as well as community orders (whether filled by the prescriber or by a pharmacy).
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from MedicationRequest
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Reference(Organization) | athenahealth Chart Sharing Group URL: https://fhir.athena.io/StructureDefinition/ah-chart-sharing-group | |
![]() ![]() ![]() |
1..1 | Reference(Organization) | athenahealth Practice URL: https://fhir.athena.io/StructureDefinition/ah-practice | |
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Stop Date URL: https://fhir.athena.io/StructureDefinition/ah-stop-date | |
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Deactivated Date URL: https://fhir.athena.io/StructureDefinition/ah-deactivated-date | |
![]() ![]() |
0..0 | Reason for current status | ||
![]() ![]() |
0..0 | routine | urgent | asap | stat | ||
![]() ![]() |
0..0 | True if request is prohibiting action | ||
![]() ![]() |
0..0 | Reported rather than primary record | ||
![]() ![]() |
1..1 | Reference(Medication) | Medication to be taken | |
![]() ![]() |
1..1 | Reference(Patient) | Who or group medication request is for | |
![]() ![]() |
0..0 | Information to support ordering of the medication | ||
![]() ![]() |
0..1 | Reference(Practitioner) | Who/What requested the Request | |
![]() ![]() |
0..0 | Intended performer of administration | ||
![]() ![]() |
0..0 | Desired kind of performer of the medication administration | ||
![]() ![]() |
0..0 | Person who entered the request | ||
![]() ![]() |
0..0 | Reason or indication for ordering or not ordering the medication | ||
![]() ![]() |
0..0 | Condition or observation that supports why the prescription is being written | ||
![]() ![]() |
0..0 | Instantiates FHIR protocol or definition | ||
![]() ![]() |
0..0 | Instantiates external protocol or definition | ||
![]() ![]() |
0..0 | What request fulfills | ||
![]() ![]() |
0..0 | Composite request this is part of | ||
![]() ![]() |
0..0 | Overall pattern of medication administration | ||
![]() ![]() |
0..0 | Associated insurance coverage | ||
![]() ![]() |
||||
![]() ![]() ![]() |
1..1 | boolean | Whether substitution is allowed or not | |
![]() ![]() ![]() |
0..0 | Why should (not) substitution be made | ||
![]() ![]() |
0..0 | An order/prescription that is being replaced | ||
![]() ![]() |
0..0 | Clinical Issue with action | ||
![]() ![]() |
0..0 | A list of events of interest in the lifecycle | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Reference(Organization) | athenahealth Chart Sharing Group URL: https://fhir.athena.io/StructureDefinition/ah-chart-sharing-group | |
![]() ![]() ![]() |
1..1 | Reference(Organization) | athenahealth Practice URL: https://fhir.athena.io/StructureDefinition/ah-practice | |
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Stop Date URL: https://fhir.athena.io/StructureDefinition/ah-stop-date | |
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Deactivated Date URL: https://fhir.athena.io/StructureDefinition/ah-deactivated-date | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. |
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. |
![]() ![]() |
Σ | 1..1 | Reference(Medication) | Medication to be taken |
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Who or group medication request is for |
![]() ![]() |
Σ | 0..1 | Reference(Practitioner) | Who/What requested the Request |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.status | Base | required | Medicationrequest status | 📍4.0.1 | FHIR Std. |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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 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-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()
|
| dom-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| 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 | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | 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: CommonTags (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: CommonLanguages (preferred): 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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | athenahealth Chart Sharing Group URL: https://fhir.athena.io/StructureDefinition/ah-chart-sharing-group | |||||
![]() ![]() ![]() |
1..1 | Reference(Organization) | athenahealth Practice URL: https://fhir.athena.io/StructureDefinition/ah-practice | |||||
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Stop Date URL: https://fhir.athena.io/StructureDefinition/ah-stop-date | |||||
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Deactivated Date URL: https://fhir.athena.io/StructureDefinition/ah-deactivated-date | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
0..* | Identifier | External ids for this request | |||||
![]() ![]() |
?!Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. | ||||
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. | ||||
![]() ![]() |
0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment. | |||||
![]() ![]() |
Σ | 1..1 | Reference(Medication) | Medication to be taken | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Who or group medication request is for | ||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay | |||||
![]() ![]() |
Σ | 0..1 | dateTime | When request was initially authored | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner) | Who/What requested the Request | ||||
![]() ![]() |
0..* | Annotation | Information about the prescription | |||||
![]() ![]() |
0..* | Dosage | How the medication should be taken | |||||
![]() ![]() |
0..1 | BackboneElement | Medication supply authorization | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | BackboneElement | First fill details | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | First fill quantity | |||||
![]() ![]() ![]() ![]() |
0..1 | Duration | First fill duration | |||||
![]() ![]() ![]() |
0..1 | Duration | Minimum period of time between dispenses | |||||
![]() ![]() ![]() |
0..1 | Period | Time period supply is authorized for | |||||
![]() ![]() ![]() |
0..1 | unsignedInt | Number of refills authorized | |||||
![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Amount of medication to supply per dispense | |||||
![]() ![]() ![]() |
0..1 | Duration | Number of days supply per dispense | |||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Intended dispenser | |||||
![]() ![]() |
0..1 | BackboneElement | Any restrictions on medication substitution | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | boolean | Whether substitution is allowed or not | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| MedicationRequest.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| MedicationRequest.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| MedicationRequest.status | Base | required | Medicationrequest status | 📍4.0.1 | FHIR Std. |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| MedicationRequest.category | Base | example | Medication request category codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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 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-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()
|
| dom-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (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
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..1 | instant | When the resource version last changed | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Reference(Organization) | athenahealth Chart Sharing Group URL: https://fhir.athena.io/StructureDefinition/ah-chart-sharing-group | |
![]() ![]() ![]() |
1..1 | Reference(Organization) | athenahealth Practice URL: https://fhir.athena.io/StructureDefinition/ah-practice | |
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Stop Date URL: https://fhir.athena.io/StructureDefinition/ah-stop-date | |
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Deactivated Date URL: https://fhir.athena.io/StructureDefinition/ah-deactivated-date | |
![]() ![]() |
0..0 | Reason for current status | ||
![]() ![]() |
0..0 | routine | urgent | asap | stat | ||
![]() ![]() |
0..0 | True if request is prohibiting action | ||
![]() ![]() |
0..0 | Reported rather than primary record | ||
![]() ![]() |
1..1 | Reference(Medication) | Medication to be taken | |
![]() ![]() |
1..1 | Reference(Patient) | Who or group medication request is for | |
![]() ![]() |
0..0 | Information to support ordering of the medication | ||
![]() ![]() |
0..1 | Reference(Practitioner) | Who/What requested the Request | |
![]() ![]() |
0..0 | Intended performer of administration | ||
![]() ![]() |
0..0 | Desired kind of performer of the medication administration | ||
![]() ![]() |
0..0 | Person who entered the request | ||
![]() ![]() |
0..0 | Reason or indication for ordering or not ordering the medication | ||
![]() ![]() |
0..0 | Condition or observation that supports why the prescription is being written | ||
![]() ![]() |
0..0 | Instantiates FHIR protocol or definition | ||
![]() ![]() |
0..0 | Instantiates external protocol or definition | ||
![]() ![]() |
0..0 | What request fulfills | ||
![]() ![]() |
0..0 | Composite request this is part of | ||
![]() ![]() |
0..0 | Overall pattern of medication administration | ||
![]() ![]() |
0..0 | Associated insurance coverage | ||
![]() ![]() |
||||
![]() ![]() ![]() |
1..1 | boolean | Whether substitution is allowed or not | |
![]() ![]() ![]() |
0..0 | Why should (not) substitution be made | ||
![]() ![]() |
0..0 | An order/prescription that is being replaced | ||
![]() ![]() |
0..0 | Clinical Issue with action | ||
![]() ![]() |
0..0 | A list of events of interest in the lifecycle | ||
Documentation for this format | ||||
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Reference(Organization) | athenahealth Chart Sharing Group URL: https://fhir.athena.io/StructureDefinition/ah-chart-sharing-group | |
![]() ![]() ![]() |
1..1 | Reference(Organization) | athenahealth Practice URL: https://fhir.athena.io/StructureDefinition/ah-practice | |
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Stop Date URL: https://fhir.athena.io/StructureDefinition/ah-stop-date | |
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Deactivated Date URL: https://fhir.athena.io/StructureDefinition/ah-deactivated-date | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. |
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. |
![]() ![]() |
Σ | 1..1 | Reference(Medication) | Medication to be taken |
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Who or group medication request is for |
![]() ![]() |
Σ | 0..1 | Reference(Practitioner) | Who/What requested the Request |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.status | Base | required | Medicationrequest status | 📍4.0.1 | FHIR Std. |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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 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-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()
|
| dom-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
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 | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | 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: CommonTags (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: CommonLanguages (preferred): 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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | athenahealth Chart Sharing Group URL: https://fhir.athena.io/StructureDefinition/ah-chart-sharing-group | |||||
![]() ![]() ![]() |
1..1 | Reference(Organization) | athenahealth Practice URL: https://fhir.athena.io/StructureDefinition/ah-practice | |||||
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Stop Date URL: https://fhir.athena.io/StructureDefinition/ah-stop-date | |||||
![]() ![]() ![]() |
0..1 | dateTime | athenahealth Deactivated Date URL: https://fhir.athena.io/StructureDefinition/ah-deactivated-date | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
0..* | Identifier | External ids for this request | |||||
![]() ![]() |
?!Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: medicationrequest Status (required): A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription. | ||||
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. | ||||
![]() ![]() |
0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment. | |||||
![]() ![]() |
Σ | 1..1 | Reference(Medication) | Medication to be taken | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Who or group medication request is for | ||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay | |||||
![]() ![]() |
Σ | 0..1 | dateTime | When request was initially authored | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner) | Who/What requested the Request | ||||
![]() ![]() |
0..* | Annotation | Information about the prescription | |||||
![]() ![]() |
0..* | Dosage | How the medication should be taken | |||||
![]() ![]() |
0..1 | BackboneElement | Medication supply authorization | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | BackboneElement | First fill details | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | First fill quantity | |||||
![]() ![]() ![]() ![]() |
0..1 | Duration | First fill duration | |||||
![]() ![]() ![]() |
0..1 | Duration | Minimum period of time between dispenses | |||||
![]() ![]() ![]() |
0..1 | Period | Time period supply is authorized for | |||||
![]() ![]() ![]() |
0..1 | unsignedInt | Number of refills authorized | |||||
![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Amount of medication to supply per dispense | |||||
![]() ![]() ![]() |
0..1 | Duration | Number of days supply per dispense | |||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Intended dispenser | |||||
![]() ![]() |
0..1 | BackboneElement | Any restrictions on medication substitution | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | boolean | Whether substitution is allowed or not | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationRequest.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| MedicationRequest.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| MedicationRequest.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| MedicationRequest.status | Base | required | Medicationrequest status | 📍4.0.1 | FHIR Std. |
| MedicationRequest.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std. |
| MedicationRequest.category | Base | example | Medication request category codes | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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 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-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()
|
| dom-5 | error | MedicationRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MedicationRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (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
Other representations of profile: CSV, Excel, Schematron