OpenMRS FHIR2 Implementation Guide
0.1.0 - ci-build
OpenMRS FHIR2 Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions
Defining URL: | http://fhir.openmrs.org/fhir/StructureDefinition/omrs-medication-request |
Version: | 0.1.0 |
Name: | OMRSMedicationRequest |
Title: | OpenMRS Medication Request |
Status: | Active as of 2022-11-29 05:06:49+0000 |
Definition: | A FHIR MedicationRequest as understood by OpenMRS |
Source Resource: | XML / JSON / Turtle |
The official URL for this profile is:
http://fhir.openmrs.org/fhir/StructureDefinition/omrs-medication-request
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from MedicationRequest
Summary
Mandatory: 5 elements (2 nested mandatory elements)
Prohibited: 21 elements
Structures
This structure refers to these other structures:
This structure is derived from MedicationRequest
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() ![]() | 0..1 | id | Logical id of this artifact | |
![]() ![]() ![]() | 1..* | Identifier | External ids for this request | |
![]() ![]() ![]() | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: Medication Request Intent Vs (required) | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | code | routine | urgent | asap | stat Binding: Medication Request Priority ValueSet (required) | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | CodeableConcept | Medication to be taken | |
![]() ![]() ![]() | 1..1 | Reference(OpenMRS Patient) | Who or group medication request is for | |
![]() ![]() ![]() | 1..1 | Reference(Openmrs Encounter) | Encounter created as part of encounter/admission/stay | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | Reference(Openmrs Practitioner) | Who/What requested the Request | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..* | Reference(OpenMRS Medication Request) | What request fulfills | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..1 | Annotation | Information about the prescription | |
![]() ![]() ![]() | ||||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 1..1 | unsignedInt | Number of refills authorized | |
![]() ![]() ![]() ![]() | 1..1 | SimpleQuantity | Amount of medication to supply per dispense | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..1 | Reference(OpenMRS Medication Request) | An order/prescription that is being replaced | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | 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 | 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 | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | 1..* | 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. | ||||
![]() ![]() ![]() | 0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() | ?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: Medication Request Intent Vs (required) | ||||
![]() ![]() ![]() | Σ | 1..1 | code | routine | urgent | asap | stat Binding: Medication Request Priority ValueSet (required) | ||||
![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | Medication to be taken Slice: Unordered, Closed by type:$this Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered. | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | Medication to be taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered. | ||||
![]() ![]() ![]() | Σ | 1..1 | Reference(OpenMRS Patient) | Who or group medication request is for | ||||
![]() ![]() ![]() | 1..1 | Reference(Openmrs Encounter) | Encounter created as part of encounter/admission/stay | |||||
![]() ![]() ![]() | Σ | 0..1 | dateTime | When request was initially authored | ||||
![]() ![]() ![]() | Σ | 1..1 | Reference(Openmrs Practitioner) | Who/What requested the Request | ||||
![]() ![]() ![]() | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |||||
![]() ![]() ![]() | Σ | 0..* | Reference(OpenMRS Medication Request) | What request fulfills | ||||
![]() ![]() ![]() | 0..1 | 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 | ||||
![]() ![]() ![]() ![]() | 1..1 | unsignedInt | Number of refills authorized | |||||
![]() ![]() ![]() ![]() | 1..1 | SimpleQuantity | Amount of medication to supply per dispense | |||||
![]() ![]() ![]() | 0..1 | Reference(OpenMRS Medication Request) | An order/prescription that is being replaced | |||||
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() |
This structure is derived from MedicationRequest
Summary
Mandatory: 5 elements (2 nested mandatory elements)
Prohibited: 21 elements
Structures
This structure refers to these other structures:
Differential View
This structure is derived from MedicationRequest
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() ![]() | 0..1 | id | Logical id of this artifact | |
![]() ![]() ![]() | 1..* | Identifier | External ids for this request | |
![]() ![]() ![]() | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: Medication Request Intent Vs (required) | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | code | routine | urgent | asap | stat Binding: Medication Request Priority ValueSet (required) | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | CodeableConcept | Medication to be taken | |
![]() ![]() ![]() | 1..1 | Reference(OpenMRS Patient) | Who or group medication request is for | |
![]() ![]() ![]() | 1..1 | Reference(Openmrs Encounter) | Encounter created as part of encounter/admission/stay | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | Reference(Openmrs Practitioner) | Who/What requested the Request | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..* | Reference(OpenMRS Medication Request) | What request fulfills | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..1 | Annotation | Information about the prescription | |
![]() ![]() ![]() | ||||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 1..1 | unsignedInt | Number of refills authorized | |
![]() ![]() ![]() ![]() | 1..1 | SimpleQuantity | Amount of medication to supply per dispense | |
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..1 | Reference(OpenMRS Medication Request) | An order/prescription that is being replaced | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | 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 | 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 | |||||
![]() ![]() ![]() | 0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() | 1..* | 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. | ||||
![]() ![]() ![]() | 0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() | ?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: Medication Request Intent Vs (required) | ||||
![]() ![]() ![]() | Σ | 1..1 | code | routine | urgent | asap | stat Binding: Medication Request Priority ValueSet (required) | ||||
![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | Medication to be taken Slice: Unordered, Closed by type:$this Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered. | ||||
![]() ![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | Medication to be taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered. | ||||
![]() ![]() ![]() | Σ | 1..1 | Reference(OpenMRS Patient) | Who or group medication request is for | ||||
![]() ![]() ![]() | 1..1 | Reference(Openmrs Encounter) | Encounter created as part of encounter/admission/stay | |||||
![]() ![]() ![]() | Σ | 0..1 | dateTime | When request was initially authored | ||||
![]() ![]() ![]() | Σ | 1..1 | Reference(Openmrs Practitioner) | Who/What requested the Request | ||||
![]() ![]() ![]() | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Condition/Problem/DiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |||||
![]() ![]() ![]() | Σ | 0..* | Reference(OpenMRS Medication Request) | What request fulfills | ||||
![]() ![]() ![]() | 0..1 | 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 | ||||
![]() ![]() ![]() ![]() | 1..1 | unsignedInt | Number of refills authorized | |||||
![]() ![]() ![]() ![]() | 1..1 | SimpleQuantity | Amount of medication to supply per dispense | |||||
![]() ![]() ![]() | 0..1 | Reference(OpenMRS Medication Request) | An order/prescription that is being replaced | |||||
![]() |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet | ||||
MedicationRequest.language | preferred | CommonLanguages
| ||||
MedicationRequest.status | required | medicationrequest Status | ||||
MedicationRequest.statusReason | example | medicationRequest Status Reason Codes | ||||
MedicationRequest.intent | required | MedicationRequestIntentVs | ||||
MedicationRequest.priority | required | MedicationRequestPriorityVs | ||||
MedicationRequest.medication[x] | example | SNOMEDCTMedicationCodes | ||||
MedicationRequest.medication[x]:medicationCodeableConcept | example | SNOMEDCTMedicationCodes | ||||
MedicationRequest.reasonCode | example | Condition/Problem/DiagnosisCodes | ||||
MedicationRequest.substitution.allowed[x] | example | ActSubstanceAdminSubstitutionCode | ||||
MedicationRequest.substitution.reason | example | SubstanceAdminSubstitutionReason |
Id | Grade | Path(s) | Details | Requirements |
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() |