Skip to main content

Purpose

HMIS Laboratory Results Relay is the single protected boundary between OIE and the HMIS result-ingestion API. Protocol-specific inbound channels, such as ASTM/TCP and HL7/MLLP, normalize their messages to the common result JSON shape and send them to this channel. This channel does not parse analyzer messages and has no transformer steps.

Prerequisites

  • A dedicated HMIS Sanctum token with only the laboratory:results:write ability.
  • The token stored in OIE as a secret or entered in the Authorization header during local configuration.
  • The HMIS app reachable on the internal Compose network as app.
Do not use a staff login token or a worklist token here. Do not commit a real token in a channel export.

Channel identity

Source: HTTP Listener

Configure the source connector as follows. The complete OIE endpoint used by inbound channels is:
The trailing slash is intentional. It prevents an HTTP redirect from converting a POST into a GET.

Destination: HTTP Sender

Configure Destination 1 as follows. Add these headers using Use Table. The Sanctum token is sent as an HTTP header. Leave OIE’s Basic/Digest authentication controls disabled.

Required payload

The relay forwards the input unchanged. Every upstream channel must produce this JSON shape before sending to port 6661.

Save, deploy, and verify

  1. Select Save Changes in OIE Administrator.
  2. Select Deploy Channel.
  3. Confirm the channel is enabled and started.
  4. Send a normalized result through an upstream channel or the mock analyzer’s HTTP diagnostic mode.
  5. In OIE Dashboard, confirm a successful source and destination message.
  6. In HMIS, confirm an integration-message audit record and the imported result entry.

Expected HMIS outcomes

Troubleshooting

Source artifact

The sanitised channel export is stored at: oie-channel-exports/HMIS Laboratory Results Relay.xml