SGHI FHIR Profile Implementation Guide
0.1.0 - ci-build
SGHI FHIR Profile Implementation Guide, published by Kathurima Kimathi. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/savannahghi/sil_fhir_profile_ig/ and changes regularly. See the Directory of published versions
Official URL: https://fhir.slade360.co.ke/fhir/StructureDefinition/sghi-medicationrequest | Version: 0.1.0 | |||
Draft as of 2025-09-04 | Computable Name: SGHIMedicationRequest |
An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called 'MedicationRequest' rather than 'MedicationPrescription' or 'MedicationOrder' to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
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 |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
1..* | Identifier | External ids for this request | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
![]() ![]() ![]() ![]() |
Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Standard Identifier Types (required) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
Σ | 0..* | SGHIReference(SGHI ServiceRequest | SGHI MedicationRequest) | A plan or request that is fulfilled in whole or in part by this medication request |
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI MedicationRequest) | Reference to an order/prescription that is being replaced by this MedicationRequest | |
![]() ![]() ![]() |
?!Σ | 1..1 | code | active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown Binding: MedicationrequestStatus (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: MedicationRequestIntent (required): The kind of medication order. |
![]() ![]() ![]() |
0..* | SGHICodeableConcept | Grouping or category of medication request Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered. | |
![]() ![]() ![]() |
Σ | 1..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if patient is to stop taking or not to start taking the medication |
![]() ![]() ![]() |
Σ | 1..1 | SGHICodeableReference(SGHI Medication) | Medication to be taken Binding: SGHI Medication Codes (required) |
![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Patient) | Individual or group for whom the medication has been requested |
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | The person or organization who provided the information about this request, if the source is someone other than the requestor | |
![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Encounter) | Encounter created as part of encounter/admission/stay | |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | When request was initially authored |
![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Patient | SGHI Organization) | Who/What requested the Request |
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | Intended performer of administration | |
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI Practitioner | SGHI PractitionerRole) | Person who entered the request | |
![]() ![]() ![]() |
0..* | SGHICodeableReference(SGHI Condition | SGHI Observation) | Reason or indication for ordering or not ordering the medication Binding: ConditionProblemDiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |
![]() ![]() ![]() |
1..* | SGHIDosage | Specific instructions for how the medication should be taken | |
![]() |
Path | Conformance | ValueSet | URI |
MedicationRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use From the FHIR Standard | |
MedicationRequest.identifier.type | required | SGHIIdentifierTypeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-identifier-types From this IG | |
MedicationRequest.status | required | MedicationrequestStatushttp://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0 From the FHIR Standard | |
MedicationRequest.intent | required | MedicationRequestIntenthttp://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0 From the FHIR Standard | |
MedicationRequest.category | example | MedicationRequestAdministrationLocationCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-admin-location From the FHIR Standard | |
MedicationRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|5.0.0 From the FHIR Standard | |
MedicationRequest.medication | required | SGHIMedicationCodeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-medication-codes From this IG | |
MedicationRequest.reason | example | ConditionProblemDiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() ![]() |
1..* | Identifier | External ids for this request | |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) | |
![]() ![]() ![]() ![]() |
0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Standard Identifier Types (required) | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text) | |
![]() ![]() ![]() |
0..* | SGHIReference(SGHI ServiceRequest | SGHI MedicationRequest) | A plan or request that is fulfilled in whole or in part by this medication request | |
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI MedicationRequest) | Reference to an order/prescription that is being replaced by this MedicationRequest | |
![]() ![]() ![]() |
0..* | SGHICodeableConcept | Grouping or category of medication request | |
![]() ![]() ![]() |
1..1 | code | routine | urgent | asap | stat | |
![]() ![]() ![]() |
1..1 | SGHICodeableReference(SGHI Medication) | Medication to be taken Binding: SGHI Medication Codes (required) | |
![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Patient) | Individual or group for whom the medication has been requested | |
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | The person or organization who provided the information about this request, if the source is someone other than the requestor | |
![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Encounter) | Encounter created as part of encounter/admission/stay | |
![]() ![]() ![]() |
1..1 | dateTime | When request was initially authored | |
![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Patient | SGHI Organization) | Who/What requested the Request | |
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | Intended performer of administration | |
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI Practitioner | SGHI PractitionerRole) | Person who entered the request | |
![]() ![]() ![]() |
0..* | SGHICodeableReference(SGHI Condition | SGHI Observation) | Reason or indication for ordering or not ordering the medication | |
![]() ![]() ![]() |
1..* | SGHIDosage | Specific instructions for how the medication should be taken | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..1 | SGHIReference(SGHI Organization) | Intended performer of dispense | |
![]() |
Path | Conformance | ValueSet | URI |
MedicationRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use From the FHIR Standard | |
MedicationRequest.identifier.type | required | SGHIIdentifierTypeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-identifier-types From this IG | |
MedicationRequest.medication | required | SGHIMedicationCodeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-medication-codes From this IG |
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 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for 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 | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
1..* | Identifier | External ids for this request | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Standard Identifier Types (required) | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 0..* | SGHIReference(SGHI ServiceRequest | SGHI MedicationRequest) | A plan or request that is fulfilled in whole or in part by this medication request | ||||
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI MedicationRequest) | Reference to an order/prescription that is being replaced by this MedicationRequest | |||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Composite request this is part of | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown Binding: MedicationrequestStatus (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: MedicationRequestStatusReasonCodes (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() |
0..1 | dateTime | When the status was changed | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: MedicationRequestIntent (required): The kind of medication order. | ||||
![]() ![]() ![]() |
0..* | SGHICodeableConcept | Grouping or category of medication request Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered. | |||||
![]() ![]() ![]() |
Σ | 1..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if patient is to stop taking or not to start taking the medication | ||||
![]() ![]() ![]() |
Σ | 1..1 | SGHICodeableReference(SGHI Medication) | Medication to be taken Binding: SGHI Medication Codes (required) | ||||
![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Patient) | Individual or group for whom the medication has been requested | ||||
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | The person or organization who provided the information about this request, if the source is someone other than the requestor | |||||
![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Encounter) | Encounter created as part of encounter/admission/stay | |||||
![]() ![]() ![]() |
0..* | Reference(Resource) | Information to support fulfilling of the medication | |||||
![]() ![]() ![]() |
Σ | 1..1 | dateTime | When request was initially authored | ||||
![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Patient | SGHI Organization) | Who/What requested the Request | ||||
![]() ![]() ![]() |
Σ | 0..1 | boolean | Reported rather than primary record | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: MedicationIntendedPerformerRole (extensible): Identifies the type of individual that is desired to administer the medication. | ||||
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | Intended performer of administration | |||||
![]() ![]() ![]() |
0..* | CodeableReference(DeviceDefinition) | Intended type of device for the administration | |||||
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI Practitioner | SGHI PractitionerRole) | Person who entered the request | |||||
![]() ![]() ![]() |
0..* | SGHICodeableReference(SGHI Condition | SGHI Observation) | Reason or indication for ordering or not ordering the medication Binding: ConditionProblemDiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Overall pattern of medication administration Binding: MedicationRequestCourseOfTherapyCodes (extensible): Identifies the overall pattern of medication administratio. | |||||
![]() ![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() ![]() |
0..* | Annotation | Information about the prescription | |||||
![]() ![]() ![]() |
0..1 | markdown | Full representation of the dosage instructions | |||||
![]() ![]() ![]() |
0..1 | Period | Period over which the medication is to be taken | |||||
![]() ![]() ![]() |
1..* | SGHIDosage | Specific instructions for 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 | 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 | Amount of medication to supply per dispense | |||||
![]() ![]() ![]() ![]() |
0..1 | Duration | Number of days supply per dispense | |||||
![]() ![]() ![]() ![]() |
0..1 | SGHIReference(SGHI Organization) | Intended performer of dispense | |||||
![]() ![]() ![]() ![]() |
0..* | Annotation | Additional information for the dispenser | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Type of adherence packaging to use for the dispense Binding: MedicationDoseAids (example) | |||||
![]() ![]() ![]() |
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 | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (preferred): Identifies the type of substitution allowed. | ||||||
![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Why should (not) substitution be made Binding: SubstanceAdminSubstitutionReason (example): SubstanceAdminSubstitutionReason | |||||
![]() ![]() ![]() |
0..* | Reference(Provenance) | A list of events of interest in the lifecycle | |||||
![]() |
Path | Conformance | ValueSet | URI |
MedicationRequest.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
MedicationRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use From the FHIR Standard | |
MedicationRequest.identifier.type | required | SGHIIdentifierTypeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-identifier-types From this IG | |
MedicationRequest.status | required | MedicationrequestStatushttp://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0 From the FHIR Standard | |
MedicationRequest.statusReason | example | MedicationRequestStatusReasonCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-status-reason From the FHIR Standard | |
MedicationRequest.intent | required | MedicationRequestIntenthttp://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0 From the FHIR Standard | |
MedicationRequest.category | example | MedicationRequestAdministrationLocationCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-admin-location From the FHIR Standard | |
MedicationRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|5.0.0 From the FHIR Standard | |
MedicationRequest.medication | required | SGHIMedicationCodeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-medication-codes From this IG | |
MedicationRequest.performerType | extensible | MedicationIntendedPerformerRolehttp://hl7.org/fhir/ValueSet/medication-intended-performer-role From the FHIR Standard | |
MedicationRequest.reason | example | ConditionProblemDiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code From the FHIR Standard | |
MedicationRequest.courseOfTherapyType | extensible | MedicationRequestCourseOfTherapyCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy From the FHIR Standard | |
MedicationRequest.dispenseRequest.doseAdministrationAid | example | MedicationDoseAidshttp://hl7.org/fhir/ValueSet/medication-dose-aid From the FHIR Standard | |
MedicationRequest.substitution.allowed[x] | preferred | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | |
MedicationRequest.substitution.reason | example | SubstanceAdminSubstitutionReasonhttp://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason |
Id | Grade | Path(s) | Details | Requirements |
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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
Summary
Mandatory: 9 elements
Structures
This structure refers to these other structures:
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 |
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
1..* | Identifier | External ids for this request | |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
![]() ![]() ![]() ![]() |
Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Standard Identifier Types (required) |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text) |
![]() ![]() ![]() |
Σ | 0..* | SGHIReference(SGHI ServiceRequest | SGHI MedicationRequest) | A plan or request that is fulfilled in whole or in part by this medication request |
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI MedicationRequest) | Reference to an order/prescription that is being replaced by this MedicationRequest | |
![]() ![]() ![]() |
?!Σ | 1..1 | code | active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown Binding: MedicationrequestStatus (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: MedicationRequestIntent (required): The kind of medication order. |
![]() ![]() ![]() |
0..* | SGHICodeableConcept | Grouping or category of medication request Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered. | |
![]() ![]() ![]() |
Σ | 1..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. |
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if patient is to stop taking or not to start taking the medication |
![]() ![]() ![]() |
Σ | 1..1 | SGHICodeableReference(SGHI Medication) | Medication to be taken Binding: SGHI Medication Codes (required) |
![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Patient) | Individual or group for whom the medication has been requested |
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | The person or organization who provided the information about this request, if the source is someone other than the requestor | |
![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Encounter) | Encounter created as part of encounter/admission/stay | |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | When request was initially authored |
![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Patient | SGHI Organization) | Who/What requested the Request |
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | Intended performer of administration | |
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI Practitioner | SGHI PractitionerRole) | Person who entered the request | |
![]() ![]() ![]() |
0..* | SGHICodeableReference(SGHI Condition | SGHI Observation) | Reason or indication for ordering or not ordering the medication Binding: ConditionProblemDiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |
![]() ![]() ![]() |
1..* | SGHIDosage | Specific instructions for how the medication should be taken | |
![]() |
Path | Conformance | ValueSet | URI |
MedicationRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use From the FHIR Standard | |
MedicationRequest.identifier.type | required | SGHIIdentifierTypeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-identifier-types From this IG | |
MedicationRequest.status | required | MedicationrequestStatushttp://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0 From the FHIR Standard | |
MedicationRequest.intent | required | MedicationRequestIntenthttp://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0 From the FHIR Standard | |
MedicationRequest.category | example | MedicationRequestAdministrationLocationCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-admin-location From the FHIR Standard | |
MedicationRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|5.0.0 From the FHIR Standard | |
MedicationRequest.medication | required | SGHIMedicationCodeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-medication-codes From this IG | |
MedicationRequest.reason | example | ConditionProblemDiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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() |
Differential View
This structure is derived from MedicationRequest
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedicationRequest | Ordering of medication for patient or group | |
![]() ![]() ![]() |
1..* | Identifier | External ids for this request | |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) | |
![]() ![]() ![]() ![]() |
0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Standard Identifier Types (required) | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text) | |
![]() ![]() ![]() |
0..* | SGHIReference(SGHI ServiceRequest | SGHI MedicationRequest) | A plan or request that is fulfilled in whole or in part by this medication request | |
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI MedicationRequest) | Reference to an order/prescription that is being replaced by this MedicationRequest | |
![]() ![]() ![]() |
0..* | SGHICodeableConcept | Grouping or category of medication request | |
![]() ![]() ![]() |
1..1 | code | routine | urgent | asap | stat | |
![]() ![]() ![]() |
1..1 | SGHICodeableReference(SGHI Medication) | Medication to be taken Binding: SGHI Medication Codes (required) | |
![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Patient) | Individual or group for whom the medication has been requested | |
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | The person or organization who provided the information about this request, if the source is someone other than the requestor | |
![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Encounter) | Encounter created as part of encounter/admission/stay | |
![]() ![]() ![]() |
1..1 | dateTime | When request was initially authored | |
![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Patient | SGHI Organization) | Who/What requested the Request | |
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | Intended performer of administration | |
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI Practitioner | SGHI PractitionerRole) | Person who entered the request | |
![]() ![]() ![]() |
0..* | SGHICodeableReference(SGHI Condition | SGHI Observation) | Reason or indication for ordering or not ordering the medication | |
![]() ![]() ![]() |
1..* | SGHIDosage | Specific instructions for how the medication should be taken | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..1 | SGHIReference(SGHI Organization) | Intended performer of dispense | |
![]() |
Path | Conformance | ValueSet | URI |
MedicationRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use From the FHIR Standard | |
MedicationRequest.identifier.type | required | SGHIIdentifierTypeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-identifier-types From this IG | |
MedicationRequest.medication | required | SGHIMedicationCodeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-medication-codes From this IG |
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 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for 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 | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
1..* | Identifier | External ids for this request | |||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Standard Identifier Types (required) | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 0..* | SGHIReference(SGHI ServiceRequest | SGHI MedicationRequest) | A plan or request that is fulfilled in whole or in part by this medication request | ||||
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI MedicationRequest) | Reference to an order/prescription that is being replaced by this MedicationRequest | |||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Composite request this is part of | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | active | on-hold | ended | stopped | completed | cancelled | entered-in-error | draft | unknown Binding: MedicationrequestStatus (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: MedicationRequestStatusReasonCodes (example): Identifies the reasons for a given status. | |||||
![]() ![]() ![]() |
0..1 | dateTime | When the status was changed | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: MedicationRequestIntent (required): The kind of medication order. | ||||
![]() ![]() ![]() |
0..* | SGHICodeableConcept | Grouping or category of medication request Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication is to be consumed or administered. | |||||
![]() ![]() ![]() |
Σ | 1..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | boolean | True if patient is to stop taking or not to start taking the medication | ||||
![]() ![]() ![]() |
Σ | 1..1 | SGHICodeableReference(SGHI Medication) | Medication to be taken Binding: SGHI Medication Codes (required) | ||||
![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Patient) | Individual or group for whom the medication has been requested | ||||
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | The person or organization who provided the information about this request, if the source is someone other than the requestor | |||||
![]() ![]() ![]() |
1..1 | SGHIReference(SGHI Encounter) | Encounter created as part of encounter/admission/stay | |||||
![]() ![]() ![]() |
0..* | Reference(Resource) | Information to support fulfilling of the medication | |||||
![]() ![]() ![]() |
Σ | 1..1 | dateTime | When request was initially authored | ||||
![]() ![]() ![]() |
Σ | 1..1 | SGHIReference(SGHI Patient | SGHI Organization) | Who/What requested the Request | ||||
![]() ![]() ![]() |
Σ | 0..1 | boolean | Reported rather than primary record | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: MedicationIntendedPerformerRole (extensible): Identifies the type of individual that is desired to administer the medication. | ||||
![]() ![]() ![]() |
0..* | SGHIReference(SGHI Patient | SGHI Organization) | Intended performer of administration | |||||
![]() ![]() ![]() |
0..* | CodeableReference(DeviceDefinition) | Intended type of device for the administration | |||||
![]() ![]() ![]() |
0..1 | SGHIReference(SGHI Practitioner | SGHI PractitionerRole) | Person who entered the request | |||||
![]() ![]() ![]() |
0..* | SGHICodeableReference(SGHI Condition | SGHI Observation) | Reason or indication for ordering or not ordering the medication Binding: ConditionProblemDiagnosisCodes (example): A coded concept indicating why the medication was ordered. | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Overall pattern of medication administration Binding: MedicationRequestCourseOfTherapyCodes (extensible): Identifies the overall pattern of medication administratio. | |||||
![]() ![]() ![]() |
0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage | |||||
![]() ![]() ![]() |
0..* | Annotation | Information about the prescription | |||||
![]() ![]() ![]() |
0..1 | markdown | Full representation of the dosage instructions | |||||
![]() ![]() ![]() |
0..1 | Period | Period over which the medication is to be taken | |||||
![]() ![]() ![]() |
1..* | SGHIDosage | Specific instructions for 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 | 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 | Amount of medication to supply per dispense | |||||
![]() ![]() ![]() ![]() |
0..1 | Duration | Number of days supply per dispense | |||||
![]() ![]() ![]() ![]() |
0..1 | SGHIReference(SGHI Organization) | Intended performer of dispense | |||||
![]() ![]() ![]() ![]() |
0..* | Annotation | Additional information for the dispenser | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Type of adherence packaging to use for the dispense Binding: MedicationDoseAids (example) | |||||
![]() ![]() ![]() |
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 | Whether substitution is allowed or not Binding: ActSubstanceAdminSubstitutionCode (preferred): Identifies the type of substitution allowed. | ||||||
![]() ![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Why should (not) substitution be made Binding: SubstanceAdminSubstitutionReason (example): SubstanceAdminSubstitutionReason | |||||
![]() ![]() ![]() |
0..* | Reference(Provenance) | A list of events of interest in the lifecycle | |||||
![]() |
Path | Conformance | ValueSet | URI |
MedicationRequest.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 From the FHIR Standard | |
MedicationRequest.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use From the FHIR Standard | |
MedicationRequest.identifier.type | required | SGHIIdentifierTypeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-identifier-types From this IG | |
MedicationRequest.status | required | MedicationrequestStatushttp://hl7.org/fhir/ValueSet/medicationrequest-status|5.0.0 From the FHIR Standard | |
MedicationRequest.statusReason | example | MedicationRequestStatusReasonCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-status-reason From the FHIR Standard | |
MedicationRequest.intent | required | MedicationRequestIntenthttp://hl7.org/fhir/ValueSet/medicationrequest-intent|5.0.0 From the FHIR Standard | |
MedicationRequest.category | example | MedicationRequestAdministrationLocationCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-admin-location From the FHIR Standard | |
MedicationRequest.priority | required | RequestPriorityhttp://hl7.org/fhir/ValueSet/request-priority|5.0.0 From the FHIR Standard | |
MedicationRequest.medication | required | SGHIMedicationCodeshttps://fhir.slade360.co.ke/fhir/ValueSet/sghi-medication-codes From this IG | |
MedicationRequest.performerType | extensible | MedicationIntendedPerformerRolehttp://hl7.org/fhir/ValueSet/medication-intended-performer-role From the FHIR Standard | |
MedicationRequest.reason | example | ConditionProblemDiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code From the FHIR Standard | |
MedicationRequest.courseOfTherapyType | extensible | MedicationRequestCourseOfTherapyCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy From the FHIR Standard | |
MedicationRequest.dispenseRequest.doseAdministrationAid | example | MedicationDoseAidshttp://hl7.org/fhir/ValueSet/medication-dose-aid From the FHIR Standard | |
MedicationRequest.substitution.allowed[x] | preferred | ActSubstanceAdminSubstitutionCodehttp://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode | |
MedicationRequest.substitution.reason | example | SubstanceAdminSubstitutionReasonhttp://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason |
Id | Grade | Path(s) | Details | Requirements |
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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
Summary
Mandatory: 9 elements
Structures
This structure refers to these other structures:
Other representations of profile: CSV, Excel, Schematron