NHS England North West GMSA - IHE Laboratory Testing Workflow (LTW)
0.0.1 - ci-build
DRAFT Implementation Guide
This is for collaboration and discussion purposes and is subject to change.
NHS England North West GMSA - IHE Laboratory Testing Workflow (LTW) - Local Development build (v0.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This transaction is used by the Order Placer to place an Order Group (FHIR RequestGroup) (i.e., a set of Orders to be tested together for a patient) or a standalone Order to the Order Filler. The transaction enables both Order Placer and Order Filler to notify all subsequent changes of status and/or content of each Order to the other side.
Regional Placer Order Management [LAB-1] Component Diagram
The following messages are used to support creation and updating of the Genomics Test Request aggregation/archetype
Message | Purpose | EIP Type | |
---|---|---|---|
Laboratory Order | Sending the initial laboratory-order request. |
Command Message | |
Laboratory Order Acknowledgement | Is used to update the order-placer of changes to laboratory-order such as an assigned AccessionNumber |
Event Message | |
Laboratory Order Updates | Is used to update master data in the laboratory-order such as changes to Patient and Pracitioner details. |
Event Message |
Is based on a HL7 FHIR laboratory order (O21) Message which is backwards compatible with HL7 v2 OML_O21 (or ORM_O01) Message.
Detailed Mapping can be here Message OML_O21 to Bundle Map (Experimental) Further details on genomic specific mapping can be found on NHS England FHIR Genomics Implementation Guide - Clincial Headings
This is an initial (incomplete) map and will change to match exact requirement of GLH LIMS <- This is currently OML, not ORM (EPIC).
FHIR Resource | HL7 v2 OML Segment | Cardinality | Map | |
---|---|---|---|---|
MessageHeader | MSH Message Header | 1..1 | MSH[MessageHeader] | |
Patient | PID Patient Identification | 1..1 | PID[Patient] via ServiceRequest.subject | |
Encounter | PV1 Patient visit | 0..1 | PV1[Encounter] via ServiceRequest.encounter | |
ORDER | 1..* | |||
ServiceRequest | - ORC Common Order | 1..* | ORC[ServiceRequest] | |
- OBSERVATION REQUEST | 1..* | |||
ServiceRequest | – OBR Observation Request | 1..* | OBR[ServiceRequest] | |
ServiceRequest | – NTE Notes and Comments | NTE[ServiceRequest] | ||
Observation | – OBX Observation/Result | 0..* | OBX[Observation-Component] via ServiceRequest.supportingInfo | |
DocumentReference | – OBX Observation/Result (type=ED) | 0..* | OBX[Observation-Component] via ServiceRequest.supportingInfo | |
– DG1 Diagnosis | 0..* | ServiceRequest.resasonCode | ||
- SPECIMEN | 0..* Conditional - required for complete order | |||
Specimen | – SPM Specimen | 1..* | SPM[Specimen] via ServiceRequest.specimen |
Regional Placer Order Management [LAB-1] Sequence Diagram
In many Order Placer applications (i.e. the EPR or Order Comms) the order is captured via a form.
The laboratory order (O21) is sent to the RIA via the $process-message API
POST [base]/$process-messsage
Example payload Bundle ‘Message’ - Genomics Order
The incoming order is checked for validity, this may include FHIR Validation against this Implementation Guide. If the message is accepted it is then transformed to a HL7 v2 Message, else a Response HL7 FHIR Message is returned listing the issues in a FHIR OperationOutcome resource.
The RIE then sends the converted HL7 v2 Message to the Order Filler (LIMS) which responds back with a ORL_O22? message. Depending on the capabilty of the LIMS system this may include a ORC with an accession number (Filler Order Number) and a PID with updated/new identifiers, these can then be converted to a FHIR ServiceRequest and Patient respectively.
The response message contains a FHIR MessageHeader with a populated response element, the focus element is not populated.
Example payload Bundle ‘Message’ - Genomics Order Acknowledgement
For sucessful messages the MessageHeader will have response.code
returned will be ok
and will look like:
"response" : {
"identifier" : "9612365d-52a4-4fab-87e7-8a09d753f095",
"code" : "ok"
}
where the identifier refers to the Bundle.identifier in the orignial message. The Bundle may also include modified FHIR Patient or ServiceRequest resources with updated and new identifiers.
When the RIE is unable to accept the message due to issues such as FHIR Validation issues, the returned MessageHeader will have response.code
returned will be error
, e.g.:
"response" : {
"identifier" : "9612365d-52a4-4fab-87e7-8a09d753f095",
"code" : "fatal-error",
"details" :{
"reference" : "OperationOutcome/TODO"
}
}
where the details section contains a reference to an included OperationOutcome listing details of the failure.
Should the RIE encounter a technical problem, such as an internal service such as FHIR Validation Service
or Terminology Service
being unavailable, the message has not been accepted and the sender should wait and try again. the returned MessageHeader will have response.code
returned will be transient-error
, e.g.:
"response" : {
"identifier" : "9612365d-52a4-4fab-87e7-8a09d753f095",
"code" : "transient-error",
"details" :{
"reference" : "OperationOutcome/TODO"
}
}