Laboratory Specimen Handoff: Difference between revisions

From IHE Wiki
Jump to navigation Jump to search
m Updated transaction numbers
 
(56 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Summary ==
== Summary ==


Passing of specimens between Laboratory Automation Systems (LAS) and Specimen Processing Devices (SPD) is an integral part of clinical laboratory operation.  In the absence of any industry guidance, such handoffs are currently defined on an ''ad hoc'' basis.  Implementers naturally turn to predecessor products for guidanceThis approach causes similar interfaces to be created within each organization, even though such interfaces share features with products from a variety of vendors.
Passing of specimens between Laboratory Automation Systems (LAS) and Specimen Processing Devices (SPD) is an integral part of clinical laboratory operation.  But current LAS and SPD vendors have little guidance on how to implement specimen handoffHL7 and CLSI AUTO3-A provide some direction, but do not provide specific guidance for individual handoff workflows.


There clearly exists a need for fully specified interface protocols to reduce the time and costs associated with managing sample handoff in clinical laboratoriesThe IHE-LAB Committee is the appropriate entity to create and promote such solutions.  Prior work by the Committee on the LDA profile is evidence of that need.
In the absence of any industry guidance, specimen handoffs are defined on an ''ad hoc'' basisThis approach tends to ensure that each vendor will take a unique path, even though specimen handoff interfaces share a high degree of commonality among most vendors.


This proposed profile will enable LAS and SPD to implement specimen handoff using standardized protocols, reducing the new product design burden for all parties.
There clearly exists a need for fully specified interface protocols to reduce the time and costs associated with managing specimen handoff in clinical laboratories.  The IHE-LAB Committee is the appropriate entity to create and promote such solutions.  Prior work by the Committee on the LDA profile is evidence of that need.


The Laboratory Specimen Handoff (LSH) profile will provide standardized workflows for the most common laboratory specimen handoff use cases.
<br />


== The Problem ==
== Benefits ==


Current LAS and SPD vendors have little guidance on how to implement specimen handoff interfaces between their equipmentHL7 and CLSI AUTO3-A provide some direction, but do not provide specific guidance for individual handoff workflows.
The LSH Profile will advance the IVD industry by providing a common, fully specified framework for the most common specimen handoff use cases, based on the collective experience of active participants from across the IVD industry.   


Promoting a consistent understanding of specimen handoff will have a number of benefits. 


== Proposed Solution ==
#  Reduced design burden for Specimen Processing Devices
#  Reduced design burden for the laboratory automation systems to which SPDs are attached
#  Comprehends handoff pitfalls that may not be apparent to an individual development team
#  Provide a generally accepted foundation upon which the industry can build


The proposed solution is a Laboratory Specimen Handoff (LSH) Profile.  The LSH Profile facilitates laboratory specimen passing by providing detailed message transactions used during handoff.
== Details ==


The LSH Integration Profile will cover the two most common handoff use cases in the clinical laboratory.  The LSH Profile will be implemented in phases, by use case, in order of commonality.
The Laboratory Specimen Handoff (LSH) Integration Profile facilitates laboratory specimen passing by providing detailed message transactions used during specimen handoff.


<p></p>
The LSH Integration Profile will cover the two most common handoff use cases in the clinical laboratory.  Implementation will occur in phases, in order of commonality.
<div style="margin-left: 20px">


<table style="width:70%">
  <tr>
    <th rowspan="2" style="vertical-align:top; width:80px">'''Phase 1'''</th>


    <td>'''Single-Specimen Point-in-Space Acquisition'''</td>
:'''Use Case 1''' - Single-Specimen Point-in-Space Acquisition
  </tr>
  <tr>
    <td>STM notifies SPD that a specimen container is ''en route'' to the SPD.  The SPD prepares for specimen arrival, typically receiving work order steps (by some means other than LSH).  Upon arrival, the STM presents the specimen for acquisition.  Acquisition is typically aspiration.  The SPD acquires the specimen from the container, without taking possession of the container.  Automation removes the specimen from the aspiration position.</td>
  </tr>
  <tr style="height:10px">
  </tr>
  <tr>
    <th rowspan="2" style="vertical-align:top; width:80px">'''Phase 2'''</th>


    <td>'''Single-Specimen Container Transfer'''</td>
:The Specimen Transport Manager (STM) notifies SPD that a specimen container is ''en route'' to the SPD.  The SPD prepares for specimen arrival, typically receiving work order steps (by some means other than LSH).  Upon arrival, the STM presents the specimen for acquisition.  Acquisition is typically aspiration.  The SPD acquires the specimen from the container, without taking possession of the container.  Automation removes the specimen from the aspiration position.
  </tr>
  <tr>
    <td><i>SPD takes posession of specimen container.  Workflow TBD</i></td>
  </tr>
</table>
</div>
<p></p>


Additional phases may address other handoff use cases.  A likely addition is "Multi-Specimen Container Transfer".
:'''Use Case 2''' - Single-Specimen Container Transfer


:SPD takes posession of specimen container.  Workflow TBD


== Benefits ==


The LSH Profile will advance the IVD industry by providing a common, fully specified framework for the most common specimen handoff use cases, based on the collective experience of active participants from across the IVD industry. 
;Additional Use Cases
 
Promoting a consistent understanding of specimen handoff will have a number of benefits. 


#  Reduced design burden for individual product interfaces
:Additional phases may address other specimen handoff use cases. Likely additions are "Multi-Specimen Container Transfer" and "Assay Availability".
#  Reduced design burden for equipment to which a variety of products may be attached
#  Comprehends common pitfalls that may not be apparent to a particular development team
# Provide a generally accepted foundation upon which the industry can build


<br />


== Systems Affected ==
== Systems Affected ==


=== Actors & Transactions ===
=== Actors & Transactions ===
<center>[[Image:LSH_Actors.png]]</center>
:[[Image:LSH_Actors.png]]


<p></p>
;Order Filler
<div style="margin-left: 20px">
:Receives the laboratory work for each patient.  Produces Work Orders.
 
;Automation Manager
:Container for all lab automation features, inclusive of Analyzer Manager, Process Manager and Specimen Transport Manager
:''The internals of this actor are intentionally vague, as they are out of scope for IHE-LAB activities.''
 
;Analzyer
:Instrument that automates IVD testing.
 
;Pre/Post Processor
:Device that automates specimen preparation.
 
 
Three actors will be affected by the LSH Integration Profile - Specimen Transport Managers (STM), Analyzers and Pre/Post Processors (PPP).  Examples of STM Actors are laboratory automation tracks and specimen transport robots.  Analyzer Actors are typically in-vitro diagnostic devices.  Examples of PPP Actors are centrifuges and aliquotters.
<br />
<br />
<br />


<table style="width:70%">
== Standards and Systems ==
  <tr>
    <th style="text-align:left; vertical-align:top; width:100px">'''Order Filler'''</th>


    <td>Receives the laboratory work for each patient.  Produces Work Orders.</td>
'''Profile Status:''' Preliminary content below (Pre-Supplement)
  </tr>


  <tr style="height:10px">
'''Documents:'''
  </tr>
'''Underlying Standards:'''
:* [http://www.hl7.org HL7]
:* [http://webstore.ansi.org/RecordDetail.aspx?sku=CLSI+AUTO5-A CLSI AUTO5-A] (HL7 Chapter 13)


  <tr>
== Use Cases ==
    <th style="text-align:left; vertical-align:top">'''Automation Manager'''</th>
<br />
=== Use Case 1 - Single-Specimen Point-in-Space Acquisition ===
<br />
:[[Image:SSPA_Sequence.png]]


    <td>Container for all lab automation features, inclusive of Analyzer Manager, Process Manager and Specimen Transport Manager
'''Steps'''
    <p><i>The internals of this actor are intentionally vague, as they are out of scope for IHE-LAB activities.</i></p>
    </td>
  </tr>


   <tr>
#  Device status changes, and is available to process STM specimens
    <th style="text-align:left; vertical-align:top">'''Analyzer'''</th>
##   Device available for STM specimens is a prerequisite for use case
     <td>Instrument that automates IVD testing.</td>
#:<br />
   </tr>
#:
#  STM optionally sends "Status Request" to Device
##  LAB-41 transaction
##  STM may send a "Status Request" message unsolicited at any time, to trigger a "Status Update" message
#:<br />
#:
#  Device sends Status Update to STM
##  LAB-42 transaction
##  Trigger is either the Device status change or the receipt of a Status Request (LAB-41)
#:<br />
#:
#  Specimen arrives at STM
##  The meaning of "arrives" is system-dependent
###  May mean first awareness by STM system, physical arrival at an STM subsystem, or any other point during STM handling
#:<br />
#:
#  STM Creates a Specimen Transport Plan
##  Determines that SPD is a destination in the plan
#:<br />
#:
#  STM sends "Prepare for Specimen Acquisition" to Device
##  LAB-43/Command transaction
##  Includes container identifier (SID)
##  Optionally includes container information
##  Should be sent as soon as practical to allow Device to have maximum preparation time.  Actual requirement will vary by implementation
##  Multiple "Prepare for Specimen Acquisition" messages may be received before a specimen container arrives
##  Extensions -
###    Message malformed at application level
####    Send "Prepare Complete" message rejecting specimen due to malformed message
####    STM does not present specimen
####    Use case ends
###    Device not in a state to receive specimens from automation
####    Send "Prepare Complete" message rejecting specimen due to invalid Device state
####    STM does not present specimen
####    Use case ends
#:<br />
#:
#  Device prepares to receive the specimen
##  Preparation behavior is out of scope for this use case.  Typically, Device queries for, and receives, Work Order Steps and schedules the specimen per the internal scheduling algorithm
##  Extensions -
###    No WOS for specimen
####    Send "Prepare Complete" message rejecting specimen due to unknown specimen (no WOS)
####    STM does not present specimen
####    Use case ends
###    At least one WOS can be performed, but not all WOS
####    ''(analyze this further.  not strictly necessary, but may have value when, say, reagent for one assay is depleted)''
####    Send "Prepare Complete" message accepting specimen, but indicating only partial capability
####    Continue with use case
###    "Prepare Complete" is not received
####    ''(Consider options - Specimen is in an unknown state)''
#:<br />
#:
#  Device sends "Prepare Complete" to STM
##  LAB-43/Response transaction
##  Extensions -
###    Message malformed at application level
####    Send "Prepare Complete" message rejecting specimen due to malformed message
####    STM does not present specimen
####    Use case ends
###    Device not in a state to receive specimens from automation
####    Send "Prepare Complete" message rejecting specimen due to invalid Device state
####    STM does not present specimen
####    Use case ends
#:<br />
#:
#  STM positions specimen for acquisition by Device
##  Extensions-
###    Error prevents specimen from being positioned (e.g. mechanical error)
####    Use case continues at Step 9, with STM sending "Start Specimen Acquisition" with "Cancel"
#####      Clears specimen from LD
#####      LD also (still) sends  "Specimen Acquisition Complete" message when specimen is cleared
####    STM does not present specimen
###    "Start Specimen Acquisition" is not received by Device
####    Device will no longer consider specimen valid, and will reject specimen if it arrives
####    Use case ends
#:<br />
#:
#  STM sends "Start Specimen Acquisition" to Device
##  LAB-43/Command transaction
##  STM may not move container between sending this message and receiving the "Specimen Acquisition Complete" message (Step 10)
##  Includes container identifier (SID)
##  STM starts an Acquisition timeout timer
##  Extensions-
###    Message malformed at application level
####    Send "Specimen Acquisition Complete" message rejecting specimen due to malformed message
####    Use case ends
###    Device not in a state to receive specimens from automation
####    Send "Specimen Acquisition Complete" message rejecting specimen due to invalid Device state
####    Use case ends
###    Device is not aware of the specimen
####    No "Prepare for Specimen Acquisition" was received, or "Prepare for Specimen Acquisition" was received but "Start Specimen Acquisition" did not arrive within time constraint
####    Send "Specimen Acquisition Complete" message rejecting specimen due to unknown specimen
####    Use case ends
###    Missed scheduling window
####    Specimen presented too late for aspiration
####    Optional, Device implementation may or may not have an arrival time dependency
####    Send "Specimen Acquisition Complete" message rejecting specimen due to missed scheduling window
####    Use case ends
#:<br />
#:
#  Device acquires specimen
##  Device only manipulates specimen
##  Container is not moved
##  Extensions-
###    Device detects a non-recoverable error that potentially obstructs specimen movement
####    Device stops acquiring specimen
####    Device stops movement within the mechanical envelope of the container
####    Device sends "Specimen Acquisition Complete" message indicating an obstruction error
####    STM initiates no movement within the mechanical envelope of the container
####    Use case ends
#####      User intervention is required to resolve the issue
#####      STM may not move container
###    Device detects a specimen error
####    Does not include obstructions
#####      Device mechanics can still move safely
####    Device stops acquiring specimen
####     Device sends "Specimen Acquisition Complete" message indicating a specimen error
#####      Includes error type, if known
######      Insufficient Specimen
######      Bubble in Specimen
######      Clotted Specimen
######      Other
#####      Use case ends
######      STM may remove specimen
###    "Specimen Acquisition Complete" is not received by STM
####    ''(Consider options - Specimen is in an unknown state - Power could have been removed with pipettor in the specimen)''
#:<br />
#:
#  Device sends "Specimen Acquisition Complete" to STM
##    LAB-43/Response transaction
##    STM may assume that all Device apparatus is removed from the container envelope, and will remain removed until the next "Start Specimen Acquisition" message
###    Only exception is an "Obstruction Error"
##    Extensions-
###    Message malformed at application level
####      ''(Consider options - Specimen is in an unknown state - Power could have been removed with pipettor in the specimen)''
#:<br />
#:
#   STM continues with specimen transport plan
##    Container is now under the control of the STM
#:<br />
<br />


  <tr style="height:10px">
=== Use Case 2 - Single-Specimen Container Transfer ===
  </tr>
<br />
This workflow is TBD.
<br />


  <tr>
== Transactions ==
    <th style="text-align:left; vertical-align:top">'''Pre/Post Processor'''</th>
<br />
    <td style="vertical-align:top">Device that automates specimen preparation.</td>
=== LAB-41 Status Request ===
  </tr>


  <tr style="height:10px">
The Status Request transaction defines the message used by the Specimen Transport Handler (STH) to request Device status with respect to specimens arriving on the track interface.
  </tr>
<br />
<br />


</table>
==== Interaction Diagram ====
</div>
<br />
<p></p>
:[[Image:LSH1_Interaction_Diagram.png‎]]
<p></p>
<br />


Three actors will be affected by the LSH Integration Profile - Specimen Transport Managers (STM), Analyzers and Pre/Post Processors (PPP). Examples of STM Actors are laboratory automation tracks and sample transport robots. Analyzer Actors are typically in-vitro diagnostic devices. Examples of PPP Actors are centrifuges and aliquotters.
==== Interaction Model ====
{|
| '''Trigger'''  || colspan="2" | Specimen Transport Handler (STH) has a need to obtain the Device status with respect to track specimens
|-
| <br />
|-
| '''Direction''' || colspan="2" | STH > Device
|-
| <br />
|-
| '''Roles'''    || STH                      || Keep track of Device's status to know when it can process specimens from the track
|-
|                || Device &<nowiki />nbsp; || Provides status for track interface
|-
| <br />
|-
| '''Responsibility''' &<nowiki />nbsp; || STH    || Provide request for status
|-
|                                      || Device || Acknowledge request, and initiate a Status Update transaction (LAB-42)
|}
<br />


==== HL7 2.5.1 Implementation ====


== Standards and Systems ==
HL7 2.5.1, Chapter 13, specifies the ESR^U02 Message for status requests.  Its usage in LAB-41 is shown below.
<br />


'''Profile Status:''' Preliminary  (Pre-Supplement)
===== ESR^U02 Message =====


'''Documents:''' [http://www.ihe.net/Technical_Framework/index.cfm#laboratory IHE Laboratory Technical Framework:]
<div style="margin-left: 20px">
:* [http://www.ihe.net/Technical_Framework/upload/ihe_lab_tf_rel2.pdf Vol. 1]
<table style="width:40%">
:* [http://www.ihe.net/Technical_Framework/upload/ihe_lab_tf_rel2-2.pdf Vol. 2]
  <tr style="text-align:left">
'''Underlying Standards:'''
      <th>Segment ID</th> <th>Meaning</th>          <th>Usage</th> <th>Cardinality</th> </tr>
:* [http://www.hl7.org HL7]
  <tr><td>MSH</td>        <td>Message Header</td>    <td>M</td>    <td>[1..1]</td>      </tr>
:* [http://webstore.ansi.org/RecordDetail.aspx?sku=CLSI+AUTO5-A CLSI AUTO5-A] (HL7 Chapter 13)
  <tr><td>EQU</td>        <td>Equipment Detail</td>  <td>M</td>    <td>[1..1]</td>      </tr>
</table>
</div>
 
===== ACK^U02 Message =====


<div style="margin-left: 20px">
<table style="width:40%">
  <tr style="text-align:left">
      <th>Segment ID</th> <th>Meaning</th>            <th>Usage</th>  <th>Cardinality</th> </tr>
  <tr><td>MSH</td>        <td>Message Header</td>      <td>M</td>      <td>[1..1]</td>      </tr>
  <tr><td>MSA</td>        <td>Message Acknowledge</td> <td>M</td>      <td>[1..1]</td>      </tr>
  <tr><td>[{ERR}]</td>    <td>Error</td>              <td>C(M/X)</td> <td>[0..*]</td>      </tr>
</table>
</div>
<br />
<br />


== Use Cases ==
=== LAB-42 Status Update ===


=== Single-Specimen Point-in-Space Acquisition ===
The Status Update transaction defines the message used to report Device status to the Specimen Transport Handler (STH), with respect to specimens arriving on the track interface.
<br />
<br />


<center>[[Image:SSPA_Sequence.png]]</center>
==== Interaction Diagram ====
<br />
:[[Image:LSH.2_Interaction_Diagram.png]]
<br />


'''Steps'''
==== Interaction Model ====
{|
| '''Trigger'''   || colspan="2" | Device status changes, or the Device receives a Status Request (LAB-41). 
|-
| <br />
|-
| '''Direction''' || colspan="2" |  Device > STH
|-
| <br />
|-
| '''Roles'''    || Device &<nowiki />nbsp; || Keep the STH updated with current status
|-
|                || STH                    || Keep track of Device's status to know when it can process specimens from the track
|-
| <br />
|-
| '''Responsibility''' &<nowiki />nbsp; || Device || Provide Device LAS status
|-
|                                      || STH    || Acknowledge message, and update STH behavior based on Device status
|}
<br />


<ol>
==== HL7 2.5.1 Implementation ====
  <li>Device status changes, and is available to process STM specimens</li>
  <ol type="a">
    <li>Device available for STM specimens is a prerequisite for use case</li>
  </ol>


HL7 2.5.1, Chapter 13, specifies the ESU^U01 Message for status updates.  Its usage in LAB-42 is shown below.
<br />


  <li>STM optionally sends "Status Request" to Device</li>
  <ol type="a">
    <li>LSH.1 transaction</li>
    <li>STM may send a "Status Request" message unsolicited at any time, to trigger a "Status Update" message</li>
  </ol>


===== ESU^U01 Message =====


  <li>Device sends Status Update to STM</li>
<div style="margin-left: 20px">
   <ol type="a">
<table style="width:40%">
     <li>LSH.2 transaction</li>
   <tr style="text-align:left">
     <li>Trigger is either the Device status change or the receipt of a Status Request (LSH.1)</li>
      <th>Segment ID</th> <th>Meaning</th>          <th>Usage</th> <th>Cardinality</th> </tr>
  </ol>
  <tr><td>MSH</td>        <td>Message Header</td>    <td>M</td>     <td>[1..1]</td>      </tr>
  <tr><td>EQU</td>        <td>Equipment Detail</td>  <td>M</td>     <td>[1..1]</td>      </tr>
</table>
</div>




  <li>Specimen arrives at STM</li>
===== ACK^U01 Message =====
  <ol type="a">
    <li>The meaning of "arrives" is system-dependent</li>
    <ol type="i">
      <li>May mean first awareness by STM system, physical arrival at an STM subsystem, or any other point during STM handling</li>
    </ol>
  </ol>


<div style="margin-left: 20px">
<table style="width:40%">
  <tr style="text-align:left">
      <th>Segment ID</th> <th>Meaning</th>            <th>Usage</th>  <th>Cardinality</th> </tr>
  <tr><td>MSH</td>        <td>Message Header</td>      <td>M</td>      <td>[1..1]</td>      </tr>
  <tr><td>MSA</td>        <td>Message Acknowledge</td> <td>M</td>      <td>[1..1]</td>      </tr>
  <tr><td>[{ERR}]</td>    <td>Error</td>              <td>C(M/X)</td> <td>[0..*]</td>      </tr>
</table>
</div>
<br />
<br />


  <li>STM sends "Prepare for Specimen Acquisition" to Device</li>
  <ol type="a">
    <li>LSH.3/Command transaction</li>
    <li>Includes container identifier (SID)</li>
    <li>Optionally includes container information</li>
    <li>Should be sent as soon as practical to allow Device to have maximum preparation time.  Actual requirement will vary by implementation</li>
    <li>Multiple "Prepare for Specimen Acquisition" messages may be received before a specimen container arrives</li>


    <li>Extensions</li>
=== LAB-43 Command/Response ===
    <ol type="i">
      <li>Message malformed at application level</li>
      <ol type="1">
        <li>Send "Prepare Complete" message rejecting specimen due to malformed message</li>
        <li>STM does not present specimen</li>
        <li>Use case ends</li>
      </ol>
      <li>Device not in a state to receive specimens from automation</li>
      <ol type="1">
        <li>Send "Prepare Complete" message rejecting specimen due to invalid Device state</li>
        <li>STM does not present specimen</li>
        <li>Use case ends</li>
      </ol>
    </ol>
  </ol>


==== LAB-43 Command ====


  <li>Device prepares to receive the specimen</li>
The Command transaction defines the Specimen Transport Handler (STH) message used to command the Device to prepare for specimen processing.
  <ol type="a">
<br />
    <li>Preparation behavior is out of scope for this use case.  Typically, Device queries for, and receives, Work Order Steps and schedules the specimen per the internal scheduling algorithm</li>
<br />


    <li>Extensions</li>
===== Interaction Diagram =====
    <ol type="i">
<br />
      <li>No WOS for specimen</li>
:[[Image:LSH.3_Command_Interaction_Diagram.png]]
      <ol type="1">
<br />
        <li>Send "Prepare Complete" message rejecting specimen due to malformed message</li>
        <li>STM does not present specimen</li>
        <li>Use case ends</li>
      </ol>
      <li>At least one WOS can be performed, but not all WOS</li>
      <ol type="1">
        <li><i>(analyze this further.  not strictly necessary, but may have value when, say, reagent for one assay is depleted)</i></li>
        <li>Send "Prepare Complete" message accepting specimen, but indicating only partial capability</li>
        <li>Continue with use case</li>
      </ol>
      <li>"Prepare Complete" is not received</li>
      <ol type="1">
        <li><i>(Consider options - Specimen is in an unknown state)</i></li>
      </ol>
    </ol>
  </ol>


===== Interaction Model =====
{|
| '''Trigger'''  || colspan="2" | STH needs to command the Device to perform an LAS operation
|-
| <br />
|-
| '''Direction''' || colspan="2" |  STH > Device
|-
| <br />
|-
| '''Roles'''    || STH                      || Initiate device commands
|-
|                || Device &<nowiki />nbsp;  || Respond to STH commands
|-
| <br />
|-
| '''Responsibility''' &<nowiki />nbsp; || STH    || Provide Device command
|-
|                                      || Device  || Acknowledge message, and provide an LAB-43 Response when command is complete
|}
<br />


  <li>Device sends "Prepare Complete" to STM</li>
===== HL7 2.5.1 Implementation =====
  <ol type="a">
    <li>LSH.3/Response transaction</li>


    <li>Extensions</li>
HL7 2.5.1, Chapter 13, specifies the EAC^U07 Message for equipment commands.  Its usage in LAB-43 is shown below.
    <ol type="i">
<br />
      <li>Message malformed at application level</li>
      <ol type="1">
        <li>Send "Prepare Complete" message rejecting specimen due to malformed message</li>
        <li>STM does not present specimen</li>
        <li>Use case ends</li>
      </ol>
      <li>Device not in a state to receive specimens from automation</li>
      <ol type="1">
        <li>Send "Prepare Complete" message rejecting specimen due to invalid Device state</li>
        <li>STM does not present specimen</li>
        <li>Use case ends</li>
      </ol>
    </ol>
  </ol>


====== EAC^U07 Message ======


  <li>STM positions specimen for acquisition by Device</li>
<div style="margin-left: 20px">
   <ol type="a">
<table style="width:40%">
    <li>Extensions</li>
   <tr style="text-align:left">
    <ol type="i">
      <th>Segment ID</th> <th>Meaning</th>           <th>Usage</th> <th>Cardinality</th> </tr>
      <li>Error prevents specimen from being positioned (e.g. mechanical error)</li>
  <tr><td>MSH</td>       <td>Message Header</td>   <td>M</td>    <td>[1..1]</td>     </tr>
      <ol type="1">
  <tr><td>EQU</td>       <td>Equipment Detail</td> <td>M</td>     <td>[1..1]</td>     </tr>
        <li>Use case continues at Step 9, with STM sending "Start Specimen Acquisition" with "Cancel"</li>
      <ol type="a">
      <li>Clears specimen from LD</li>
      <li>LD also (still) sends  "Specimen Acquisition Complete" message when specimen is cleared</li>
    </ol>
     <li>STM does not present specimen</li>
    </ol>
      <li>"Start Specimen Acquisition" is not received by Device</li>
      <ol type="1">
        <li>Device will no longer consider specimen valid, and will reject specimen if it arrives</li>
        <li>Use case ends</li>
      </ol>
    </ol>
  </ol>


  <tr><td>{</td>          <td>-- COMMAND Begin</td>  <td>M</td>    <td>[1..1]</td>      </tr>
  <tr><td>&nbsp; ECD</td> <td>Equipment Command Detail</td>  <td>M</td>  <td>[1..1]</td> </tr>
  <tr><td>&nbsp; SAC</td> <td>Specimen Container Detail</td> <td>RE</td>  <td>[0..1]</td> </tr>
  <tr><td>}</td>          <td>-- COMMAND End</td>  <td>M</td>    <td>[1..1]</td>        </tr>
</table>
</div>


  <li>STM sends "Start Specimen Acquisition" to Device</li>
<br />
   <ol type="a">
#  SAC
    <li>LSH.3/Command transaction</li>
##  Required if STM knows SID.  Otherwise, optional.
    <li>STM may not move container between sending this message and receiving the "Specimen Acquisition Complete" message (Step 10)</li>
##   Include container dimensions, if known
    <li>Includes container identifier (SID)</li>
#  EQU.3 (Equipment State)
    <li>STM starts an Acquisition timeout timer</li>
##  ''Review codes provided in table.  Determine of we need to augment with new codes.''
###    ''Coordinate with Dmytro on this.  He has experience in this area.''
#  ECD.2 (Remote Control Command)
##  PS - Prepare for Specimen
##  SA - Start Specimen Acquisition
##  Allow command option to only send ACK^U07 on error
##  Enhanced acknowledge mode
#:<br />
#:


    <li>Extensions</li>
====== ACK^U07 Message ======
    <ol type="i">
      <li>Message malformed at application level</li>
      <ol type="1">
        <li>Send "Specimen Acquisition Complete" message rejecting specimen due to malformed message</li>
        <li>Use case ends</li>
      </ol>
      <li>Device not in a state to receive specimens from automation</li>
      <ol type="1">
        <li>Send "Specimen Acquisition Complete" message rejecting specimen due to invalid Device state</li>
        <li>Use case ends</li>
      </ol>
      <li>Device is not aware of the specimen</li>
      <ol type="1">
        <li>No "Prepare for Specimen Acquisition" was received, or "Prepare for Specimen Acquisition" was received but "Start Specimen Acquisition" did not arrive within time constraint</li>
        <li>Send "Specimen Acquisition Complete" message rejecting specimen due to unknown specimen</li>
        <li>Use case ends</li>
      </ol>
      <li>Missed scheduling window</li>
      <ol type="1">
        <li>Specimen presented too late for aspiration</li>
        <li>Optional, Device implementation may or may not have an arrival time dependency</li>
        <li>Send "Specimen Acquisition Complete" message rejecting specimen due to missed scheduling window</li>
        <li>Use case ends</li>
      </ol>
    </ol>
  </ol>


<div style="margin-left: 20px">
<table style="width:40%">
  <tr style="text-align:left">
      <th>Segment ID</th> <th>Meaning</th>            <th>Usage</th>  <th>Cardinality</th> </tr>
  <tr><td>MSH</td>        <td>Message Header</td>      <td>M</td>      <td>[1..1]</td>      </tr>
  <tr><td>MSA</td>        <td>Message Acknowledge</td> <td>M</td>      <td>[1..1]</td>      </tr>
  <tr><td>[{ERR}]</td>    <td>Error</td>              <td>C(M/X)</td> <td>[0..*]</td>      </tr>
</table>
</div>
<br />
<br />


  <li>Device acquires specimen</li>
==== LAB-43 Response ====
  <ol type="a">
    <li>Device only manipulates specimen</li>
    <li>Container is not moved</li>


    <li>Extensions</li>
The Command transaction defines the Analyzer response used to communicate the outcome of a command from the Specimen Transport Handler (STH).
    <ol type="i">
<br />
      <li>Device detects a non-recoverable error that potentially obstructs specimen movement</li>
<br />
      <ol type="1">
        <li>Device stops acquiring specimen</li>
        <li>Device stops movement within the mechanical envelope of the container</li>
        <li>Device sends "Specimen Acquisition Complete" message indicating an obstruction error</li>
        <li>STM initiates no movement within the mechanical envelope of the container</li>
        <li>Use case ends</li>
        <ol type="a">
          <li>User intervention is required to resolve the issue.</li>
          <li>STM may not move container.</li>
        </ol>
      </ol>
      <li>Device detects a specimen error</li>
      <ol type="1">
        <li>Does not include obstructions</li>
        <ol type="a">
          <li>Device mechanics can still move safely</li>
        </ol>
        <li>Device stops acquiring specimen</li>
        <li>Device sends "Specimen Acquisition Complete" message indicating a specimen error</li>
        <ol type="a">
          <li>Includes error type, if known</li>
          <ol type="i">
            <li>Insufficient Specimen</li>
            <li>Bubble in Specimen</li>
            <li>Clotted Specimen</li>
            <li>Other</li>
          </ol>
        </ol>
        <li>Use case ends</li>
        <ol type="a">
          <li>STM may remove specimen</li>
        </ol>
      </ol>


      <li>"Specimen Acquisition Complete" is not received by STM</li>
===== Interaction Diagram =====
      <ol type="1">
<br />
        <li><i>(Consider options - Specimen is in an unknown state)</i></li>
:[[Image:LSH.3_Response_Interaction_Diagram.png]]
      </ol>
<br />
    </ol>
  </ol>


===== Interaction Model =====
{|
| '''Trigger'''  || colspan="2" | Device needs to communicate the outcome of a command.
|-
| <br />
|-
| '''Direction''' || colspan="2" |  Device > STH
|-
| <br />
|-
| '''Roles'''    || Device &<nowiki />nbsp; || Provide a response to STH commands when commands are complete
|-
|                || STH                    || Confirm the device response
|-
| <br />
|-
| '''Responsibility''' &<nowiki />nbsp; || Device || Provide command response
|-
|                                      || STH    || Acknowledge message, and update STH behavior based on Device response
|}
<br />


  <li>Device sends "Specimen Acquisition Complete" to STM</li>
===== HL7 2.5.1 Implementation =====
  <ol type="a">
    <li>LSH.3/Response transaction</li>
    <li>STM may assume that all Device apparatus is removed from the container envelope, and will remain removed until the next "Start Specimen Acquisition" message</li>
    <ol type="i">
      <li>Only exception is an "Obstruction Error"
    </ol>


    <li>Extensions</li>
HL7 2.5.1, Chapter 13, specifies the EAR^U08 Message for equipment commandsIts usage in LAB-43 is shown below.
    <ol type="i">
<br />
      <li>Message malformed at application level</li>
      <ol type="1">
        <li><i>(Same as obstruction errorPower could have been removed with pipettor in the specimen)</i></li>
      </ol>
    </ol>
  </ol>


====== EAR^U08 Message ======


  <li>STM continues with specimen transport plan</li>
<div style="margin-left: 20px">
   <ol type="a">
<table style="width:40%">
     <li>Container is now under the control of the STM</li>
   <tr style="text-align:left">
   </ol>
      <th>Segment ID</th> <th>Meaning</th>                    <th>Usage</th> <th>Cardinality</th> </tr>
  <tr><td>MSH</td>        <td>Message Header</td>            <td>M</td>     <td>[1..1]</td>      </tr>
   <tr><td>EQU</td>        <td>Equipment Detail</td>          <td>M</td>    <td>[1..1]</td>      </tr>


  <tr><td>{</td>          <td>-- COMMAND Begin</td>          <td>M</td>    <td>[1..1]</td>      </tr>
  <tr><td>&nbsp; ECD</td> <td>Equipment Command Detail</td>  <td>M</td>    <td>[1..1]</td>      </tr>
  <tr><td>&nbsp; SAC</td> <td>Specimen Container Detail</td>  <td>M</td>    <td>[1..1]</td>      </tr>
  <tr><td>&nbsp; ECR</td> <td>Equipment Command Response</td> <td>M</td>    <td>[1..1]</td>      </tr>
  <tr><td>}</td>          <td>-- COMMAND End</td>            <td>M</td>    <td>[1..1]</td>      </tr>
</table>
</div>
<br />


  <li>Device processes the acquired specimen</li>
====== ACK^U08 Message ======
  <ol type="a">
    <li>Typically, Device provides WOS updates as they become available</li>
  </ol>


</ol>
<div style="margin-left: 20px">
<table style="width:40%">
  <tr style="text-align:left">
      <th>Segment ID</th> <th>Meaning</th>            <th>Usage</th>  <th>Cardinality</th> </tr>
  <tr><td>MSH</td>        <td>Message Header</td>      <td>M</td>      <td>[1..1]</td>      </tr>
  <tr><td>MSA</td>        <td>Message Acknowledge</td> <td>M</td>      <td>[1..1]</td>      </tr>
  <tr><td>[{ERR}]</td>    <td>Error</td>              <td>C(M/X)</td> <td>[0..*]</td>      </tr>
</table>
</div>
<br />
<br />

Latest revision as of 07:35, 9 November 2018

Summary

Passing of specimens between Laboratory Automation Systems (LAS) and Specimen Processing Devices (SPD) is an integral part of clinical laboratory operation. But current LAS and SPD vendors have little guidance on how to implement specimen handoff. HL7 and CLSI AUTO3-A provide some direction, but do not provide specific guidance for individual handoff workflows.

In the absence of any industry guidance, specimen handoffs are defined on an ad hoc basis. This approach tends to ensure that each vendor will take a unique path, even though specimen handoff interfaces share a high degree of commonality among most vendors.

There clearly exists a need for fully specified interface protocols to reduce the time and costs associated with managing specimen handoff in clinical laboratories. The IHE-LAB Committee is the appropriate entity to create and promote such solutions. Prior work by the Committee on the LDA profile is evidence of that need.

The Laboratory Specimen Handoff (LSH) profile will provide standardized workflows for the most common laboratory specimen handoff use cases.

Benefits

The LSH Profile will advance the IVD industry by providing a common, fully specified framework for the most common specimen handoff use cases, based on the collective experience of active participants from across the IVD industry.

Promoting a consistent understanding of specimen handoff will have a number of benefits.

  1. Reduced design burden for Specimen Processing Devices
  2. Reduced design burden for the laboratory automation systems to which SPDs are attached
  3. Comprehends handoff pitfalls that may not be apparent to an individual development team
  4. Provide a generally accepted foundation upon which the industry can build

Details

The Laboratory Specimen Handoff (LSH) Integration Profile facilitates laboratory specimen passing by providing detailed message transactions used during specimen handoff.

The LSH Integration Profile will cover the two most common handoff use cases in the clinical laboratory. Implementation will occur in phases, in order of commonality.


Use Case 1 - Single-Specimen Point-in-Space Acquisition
The Specimen Transport Manager (STM) notifies SPD that a specimen container is en route to the SPD. The SPD prepares for specimen arrival, typically receiving work order steps (by some means other than LSH). Upon arrival, the STM presents the specimen for acquisition. Acquisition is typically aspiration. The SPD acquires the specimen from the container, without taking possession of the container. Automation removes the specimen from the aspiration position.
Use Case 2 - Single-Specimen Container Transfer
SPD takes posession of specimen container. Workflow TBD


Additional Use Cases
Additional phases may address other specimen handoff use cases. Likely additions are "Multi-Specimen Container Transfer" and "Assay Availability".


Systems Affected

Actors & Transactions

Order Filler
Receives the laboratory work for each patient. Produces Work Orders.
Automation Manager
Container for all lab automation features, inclusive of Analyzer Manager, Process Manager and Specimen Transport Manager
The internals of this actor are intentionally vague, as they are out of scope for IHE-LAB activities.
Analzyer
Instrument that automates IVD testing.
Pre/Post Processor
Device that automates specimen preparation.


Three actors will be affected by the LSH Integration Profile - Specimen Transport Managers (STM), Analyzers and Pre/Post Processors (PPP). Examples of STM Actors are laboratory automation tracks and specimen transport robots. Analyzer Actors are typically in-vitro diagnostic devices. Examples of PPP Actors are centrifuges and aliquotters.


Standards and Systems

Profile Status: Preliminary content below (Pre-Supplement)

Documents: Underlying Standards:

Use Cases


Use Case 1 - Single-Specimen Point-in-Space Acquisition


Steps

  1. Device status changes, and is available to process STM specimens
    1. Device available for STM specimens is a prerequisite for use case

  2. STM optionally sends "Status Request" to Device
    1. LAB-41 transaction
    2. STM may send a "Status Request" message unsolicited at any time, to trigger a "Status Update" message

  3. Device sends Status Update to STM
    1. LAB-42 transaction
    2. Trigger is either the Device status change or the receipt of a Status Request (LAB-41)

  4. Specimen arrives at STM
    1. The meaning of "arrives" is system-dependent
      1. May mean first awareness by STM system, physical arrival at an STM subsystem, or any other point during STM handling

  5. STM Creates a Specimen Transport Plan
    1. Determines that SPD is a destination in the plan

  6. STM sends "Prepare for Specimen Acquisition" to Device
    1. LAB-43/Command transaction
    2. Includes container identifier (SID)
    3. Optionally includes container information
    4. Should be sent as soon as practical to allow Device to have maximum preparation time. Actual requirement will vary by implementation
    5. Multiple "Prepare for Specimen Acquisition" messages may be received before a specimen container arrives
    6. Extensions -
      1. Message malformed at application level
        1. Send "Prepare Complete" message rejecting specimen due to malformed message
        2. STM does not present specimen
        3. Use case ends
      2. Device not in a state to receive specimens from automation
        1. Send "Prepare Complete" message rejecting specimen due to invalid Device state
        2. STM does not present specimen
        3. Use case ends

  7. Device prepares to receive the specimen
    1. Preparation behavior is out of scope for this use case. Typically, Device queries for, and receives, Work Order Steps and schedules the specimen per the internal scheduling algorithm
    2. Extensions -
      1. No WOS for specimen
        1. Send "Prepare Complete" message rejecting specimen due to unknown specimen (no WOS)
        2. STM does not present specimen
        3. Use case ends
      2. At least one WOS can be performed, but not all WOS
        1. (analyze this further. not strictly necessary, but may have value when, say, reagent for one assay is depleted)
        2. Send "Prepare Complete" message accepting specimen, but indicating only partial capability
        3. Continue with use case
      3. "Prepare Complete" is not received
        1. (Consider options - Specimen is in an unknown state)

  8. Device sends "Prepare Complete" to STM
    1. LAB-43/Response transaction
    2. Extensions -
      1. Message malformed at application level
        1. Send "Prepare Complete" message rejecting specimen due to malformed message
        2. STM does not present specimen
        3. Use case ends
      2. Device not in a state to receive specimens from automation
        1. Send "Prepare Complete" message rejecting specimen due to invalid Device state
        2. STM does not present specimen
        3. Use case ends

  9. STM positions specimen for acquisition by Device
    1. Extensions-
      1. Error prevents specimen from being positioned (e.g. mechanical error)
        1. Use case continues at Step 9, with STM sending "Start Specimen Acquisition" with "Cancel"
          1. Clears specimen from LD
          2. LD also (still) sends "Specimen Acquisition Complete" message when specimen is cleared
        2. STM does not present specimen
      2. "Start Specimen Acquisition" is not received by Device
        1. Device will no longer consider specimen valid, and will reject specimen if it arrives
        2. Use case ends

  10. STM sends "Start Specimen Acquisition" to Device
    1. LAB-43/Command transaction
    2. STM may not move container between sending this message and receiving the "Specimen Acquisition Complete" message (Step 10)
    3. Includes container identifier (SID)
    4. STM starts an Acquisition timeout timer
    5. Extensions-
      1. Message malformed at application level
        1. Send "Specimen Acquisition Complete" message rejecting specimen due to malformed message
        2. Use case ends
      2. Device not in a state to receive specimens from automation
        1. Send "Specimen Acquisition Complete" message rejecting specimen due to invalid Device state
        2. Use case ends
      3. Device is not aware of the specimen
        1. No "Prepare for Specimen Acquisition" was received, or "Prepare for Specimen Acquisition" was received but "Start Specimen Acquisition" did not arrive within time constraint
        2. Send "Specimen Acquisition Complete" message rejecting specimen due to unknown specimen
        3. Use case ends
      4. Missed scheduling window
        1. Specimen presented too late for aspiration
        2. Optional, Device implementation may or may not have an arrival time dependency
        3. Send "Specimen Acquisition Complete" message rejecting specimen due to missed scheduling window
        4. Use case ends

  11. Device acquires specimen
    1. Device only manipulates specimen
    2. Container is not moved
    3. Extensions-
      1. Device detects a non-recoverable error that potentially obstructs specimen movement
        1. Device stops acquiring specimen
        2. Device stops movement within the mechanical envelope of the container
        3. Device sends "Specimen Acquisition Complete" message indicating an obstruction error
        4. STM initiates no movement within the mechanical envelope of the container
        5. Use case ends
          1. User intervention is required to resolve the issue
          2. STM may not move container
      2. Device detects a specimen error
        1. Does not include obstructions
          1. Device mechanics can still move safely
        2. Device stops acquiring specimen
        3. Device sends "Specimen Acquisition Complete" message indicating a specimen error
          1. Includes error type, if known
            1. Insufficient Specimen
            2. Bubble in Specimen
            3. Clotted Specimen
            4. Other
          2. Use case ends
            1. STM may remove specimen
      3. "Specimen Acquisition Complete" is not received by STM
        1. (Consider options - Specimen is in an unknown state - Power could have been removed with pipettor in the specimen)

  12. Device sends "Specimen Acquisition Complete" to STM
    1. LAB-43/Response transaction
    2. STM may assume that all Device apparatus is removed from the container envelope, and will remain removed until the next "Start Specimen Acquisition" message
      1. Only exception is an "Obstruction Error"
    3. Extensions-
      1. Message malformed at application level
        1. (Consider options - Specimen is in an unknown state - Power could have been removed with pipettor in the specimen)

  13. STM continues with specimen transport plan
    1. Container is now under the control of the STM


Use Case 2 - Single-Specimen Container Transfer


This workflow is TBD.

Transactions


LAB-41 Status Request

The Status Request transaction defines the message used by the Specimen Transport Handler (STH) to request Device status with respect to specimens arriving on the track interface.

Interaction Diagram



Interaction Model

Trigger Specimen Transport Handler (STH) has a need to obtain the Device status with respect to track specimens

Direction STH > Device

Roles STH Keep track of Device's status to know when it can process specimens from the track
Device   Provides status for track interface

Responsibility   STH Provide request for status
Device Acknowledge request, and initiate a Status Update transaction (LAB-42)


HL7 2.5.1 Implementation

HL7 2.5.1, Chapter 13, specifies the ESR^U02 Message for status requests. Its usage in LAB-41 is shown below.

ESR^U02 Message
Segment ID Meaning Usage Cardinality
MSH Message Header M [1..1]
EQU Equipment Detail M [1..1]
ACK^U02 Message
Segment ID Meaning Usage Cardinality
MSH Message Header M [1..1]
MSA Message Acknowledge M [1..1]
[{ERR}] Error C(M/X) [0..*]



LAB-42 Status Update

The Status Update transaction defines the message used to report Device status to the Specimen Transport Handler (STH), with respect to specimens arriving on the track interface.

Interaction Diagram



Interaction Model

Trigger Device status changes, or the Device receives a Status Request (LAB-41).

Direction Device > STH

Roles Device   Keep the STH updated with current status
STH Keep track of Device's status to know when it can process specimens from the track

Responsibility   Device Provide Device LAS status
STH Acknowledge message, and update STH behavior based on Device status


HL7 2.5.1 Implementation

HL7 2.5.1, Chapter 13, specifies the ESU^U01 Message for status updates. Its usage in LAB-42 is shown below.


ESU^U01 Message
Segment ID Meaning Usage Cardinality
MSH Message Header M [1..1]
EQU Equipment Detail M [1..1]


ACK^U01 Message
Segment ID Meaning Usage Cardinality
MSH Message Header M [1..1]
MSA Message Acknowledge M [1..1]
[{ERR}] Error C(M/X) [0..*]




LAB-43 Command/Response

LAB-43 Command

The Command transaction defines the Specimen Transport Handler (STH) message used to command the Device to prepare for specimen processing.

Interaction Diagram



Interaction Model
Trigger STH needs to command the Device to perform an LAS operation

Direction STH > Device

Roles STH Initiate device commands
Device   Respond to STH commands

Responsibility   STH Provide Device command
Device Acknowledge message, and provide an LAB-43 Response when command is complete


HL7 2.5.1 Implementation

HL7 2.5.1, Chapter 13, specifies the EAC^U07 Message for equipment commands. Its usage in LAB-43 is shown below.

EAC^U07 Message
Segment ID Meaning Usage Cardinality
MSH Message Header M [1..1]
EQU Equipment Detail M [1..1]
{ -- COMMAND Begin M [1..1]
  ECD Equipment Command Detail M [1..1]
  SAC Specimen Container Detail RE [0..1]
} -- COMMAND End M [1..1]


  1. SAC
    1. Required if STM knows SID. Otherwise, optional.
    2. Include container dimensions, if known
  2. EQU.3 (Equipment State)
    1. Review codes provided in table. Determine of we need to augment with new codes.
      1. Coordinate with Dmytro on this. He has experience in this area.
  3. ECD.2 (Remote Control Command)
    1. PS - Prepare for Specimen
    2. SA - Start Specimen Acquisition
    3. Allow command option to only send ACK^U07 on error
    4. Enhanced acknowledge mode

ACK^U07 Message
Segment ID Meaning Usage Cardinality
MSH Message Header M [1..1]
MSA Message Acknowledge M [1..1]
[{ERR}] Error C(M/X) [0..*]



LAB-43 Response

The Command transaction defines the Analyzer response used to communicate the outcome of a command from the Specimen Transport Handler (STH).

Interaction Diagram



Interaction Model
Trigger Device needs to communicate the outcome of a command.

Direction Device > STH

Roles Device   Provide a response to STH commands when commands are complete
STH Confirm the device response

Responsibility   Device Provide command response
STH Acknowledge message, and update STH behavior based on Device response


HL7 2.5.1 Implementation

HL7 2.5.1, Chapter 13, specifies the EAR^U08 Message for equipment commands. Its usage in LAB-43 is shown below.

EAR^U08 Message
Segment ID Meaning Usage Cardinality
MSH Message Header M [1..1]
EQU Equipment Detail M [1..1]
{ -- COMMAND Begin M [1..1]
  ECD Equipment Command Detail M [1..1]
  SAC Specimen Container Detail M [1..1]
  ECR Equipment Command Response M [1..1]
} -- COMMAND End M [1..1]


ACK^U08 Message
Segment ID Meaning Usage Cardinality
MSH Message Header M [1..1]
MSA Message Acknowledge M [1..1]
[{ERR}] Error C(M/X) [0..*]