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/OpenMRS-service-request |
Version: | 0.1.0 |
Name: | OpenMRSServiceRequest |
Title: | OpenMRS Service Request |
Status: | Active as of 2022-11-29 05:06:49+0000 |
Definition: | Service Request Resource is represents a request for some type of procedure or diagnostic test to be performed. When fulfilled, the results of this request are represented as a DiagnosticReport resource with associated Observation resources |
Source Resource: | XML / JSON / Turtle |
The official URL for this profile is:
http://fhir.openmrs.org/fhir/StructureDefinition/OpenMRS-service-request
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from ServiceRequest
This structure is derived from ServiceRequest
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | ServiceRequest | A request for a service to be performed | |
![]() ![]() ![]() | 0..1 | id | Logical id of this artifact | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..* | Reference(OpenMRS Service Request) | What request fulfills | |
![]() ![]() ![]() | 0..* | Reference(OpenMRS Service Request) | What request replaces | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | CodeableConcept | What is being requested/ordered | |
![]() ![]() ![]() ![]() | 1..* | Coding | Code defined by a terminology system Binding: OpenMRS Order Code (required) | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | Reference(OpenMRS Patient) | Individual or Entity the service is ordered for | |
![]() ![]() ![]() | 0..1 | dateTime, Period, Timing | When service should occur | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | Reference(Openmrs Practitioner) | Who/what is requesting service | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..* | Reference(OpenMRS Patient) | Requested performer | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | C | 0..* | ServiceRequest | A request for a service to be performed | ||||
![]() ![]() ![]() | Σ | 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 | ||||
![]() ![]() ![]() | Σ | 0..* | Identifier | Identifiers assigned to this order | ||||
![]() ![]() ![]() | Σ | 0..* | Reference(OpenMRS Service Request) | What request fulfills | ||||
![]() ![]() ![]() | Σ | 0..* | Reference(OpenMRS Service Request) | What request replaces | ||||
![]() ![]() ![]() | ?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): The status of a service order. | ||||
![]() ![]() ![]() | ?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request. | ||||
![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | What is being requested/ordered Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred and a valueset using LOINC Order codes is available here. | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | Σ | 1..* | Coding | Code defined by a terminology system Binding: OpenMRS Order Code (required) | ||||
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() | Σ | 1..1 | Reference(OpenMRS Patient) | Individual or Entity the service is ordered for | ||||
![]() ![]() ![]() | Σ | 0..1 | Reference(Encounter) | Encounter in which the request was created | ||||
![]() ![]() ![]() | Σ | 0..1 | When service should occur | |||||
![]() ![]() ![]() ![]() | dateTime | |||||||
![]() ![]() ![]() ![]() | Period | |||||||
![]() ![]() ![]() ![]() | Timing | |||||||
![]() ![]() ![]() | Σ | 1..1 | Reference(Openmrs Practitioner) | Who/what is requesting service | ||||
![]() ![]() ![]() | Σ | 0..* | Reference(OpenMRS Patient) | Requested performer | ||||
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | C | 0..* | ServiceRequest | A request for a service to be performed |
![]() |
This structure is derived from ServiceRequest
Differential View
This structure is derived from ServiceRequest
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | ServiceRequest | A request for a service to be performed | |
![]() ![]() ![]() | 0..1 | id | Logical id of this artifact | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..* | Reference(OpenMRS Service Request) | What request fulfills | |
![]() ![]() ![]() | 0..* | Reference(OpenMRS Service Request) | What request replaces | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | CodeableConcept | What is being requested/ordered | |
![]() ![]() ![]() ![]() | 1..* | Coding | Code defined by a terminology system Binding: OpenMRS Order Code (required) | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | Reference(OpenMRS Patient) | Individual or Entity the service is ordered for | |
![]() ![]() ![]() | 0..1 | dateTime, Period, Timing | When service should occur | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 1..1 | Reference(Openmrs Practitioner) | Who/what is requesting service | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..* | Reference(OpenMRS Patient) | Requested performer | |
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() ![]() ![]() | 0..0 | |||
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() | C | 0..* | ServiceRequest | A request for a service to be performed | ||||
![]() ![]() ![]() | Σ | 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 | ||||
![]() ![]() ![]() | Σ | 0..* | Identifier | Identifiers assigned to this order | ||||
![]() ![]() ![]() | Σ | 0..* | Reference(OpenMRS Service Request) | What request fulfills | ||||
![]() ![]() ![]() | Σ | 0..* | Reference(OpenMRS Service Request) | What request replaces | ||||
![]() ![]() ![]() | ?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): The status of a service order. | ||||
![]() ![]() ![]() | ?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): The kind of service request. | ||||
![]() ![]() ![]() | Σ | 1..1 | CodeableConcept | What is being requested/ordered Binding: ProcedureCodes(SNOMEDCT) (example): Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is preferred and a valueset using LOINC Order codes is available here. | ||||
![]() ![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() | Σ | 1..* | Coding | Code defined by a terminology system Binding: OpenMRS Order Code (required) | ||||
![]() ![]() ![]() ![]() | Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() | Σ | 1..1 | Reference(OpenMRS Patient) | Individual or Entity the service is ordered for | ||||
![]() ![]() ![]() | Σ | 0..1 | Reference(Encounter) | Encounter in which the request was created | ||||
![]() ![]() ![]() | Σ | 0..1 | When service should occur | |||||
![]() ![]() ![]() ![]() | dateTime | |||||||
![]() ![]() ![]() ![]() | Period | |||||||
![]() ![]() ![]() ![]() | Timing | |||||||
![]() ![]() ![]() | Σ | 1..1 | Reference(Openmrs Practitioner) | Who/what is requesting service | ||||
![]() ![]() ![]() | Σ | 0..* | Reference(OpenMRS Patient) | Requested performer | ||||
![]() |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet | ||||
ServiceRequest.language | preferred | CommonLanguages
| ||||
ServiceRequest.status | required | RequestStatus | ||||
ServiceRequest.intent | required | RequestIntent | ||||
ServiceRequest.code | example | ProcedureCodes(SNOMEDCT) | ||||
ServiceRequest.code.coding | required | OpenMRSOrderCodeVS (a valid code from LOINC) |
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() |