Skip to main content

Purpose

HMIS Laboratory Worklist Relay lets an analyzer or simulator request only the worklist for a dispatched specimen barcode. It translates a small JSON lookup request into an authenticated HMIS GET request and returns the HMIS JSON response to the caller.

Channel identity

Source: HTTP Listener

Clients must call this endpoint with a trailing slash:
Calling /worklist without the final slash can trigger an HTTP redirect. Many HTTP clients follow a 302 by changing the original POST into an empty GET, which causes OIE’s JSON parser to fail.

Source transformer

Add one enabled JavaScript transformer step:
The caller sends this request body:

Destination: HTTP Sender

Configure these headers with Use Table: Configure these query parameters with Use Table:
Commit each table cell with Enter or Tab before selecting Save Changes. In OIE Administrator, an active uncommitted table cell may appear filled but not persist.

Required HMIS token

Use a dedicated Sanctum token with exactly this ability:
It is distinct from the results-write token. Never place its real value in the exported XML.

Expected response

When the specimen is dispatched, pending, and mapped to the requested active worklist-capable instrument, HMIS returns a worklist such as:

Verification and troubleshooting

  1. Dispatch a new specimen to the target instrument in HMIS.
  2. POST its barcode and instrument code to OIE at /worklist/.
  3. Confirm OIE shows successful source and destination processing.
  4. Confirm the analyzer/mock displays only that instrument’s active mapped tests.

Source artifact

oie-channel-exports/HMIS Laboratory Worklist Relay.xml