ASTM Management — Administrator Guide (legacy screen)
This describes the ASTM Management screen, which has been replaced. Analyzers now have their own top-level menu with a different structure.
Current guidance: Set up an analyzer · Map analyzer codes, resolve held results, and run QC · Import analyzer results from a file
Kept as a legacy page, not retired — sites on earlier releases still have the ASTM Management screen, and the ASTM protocol reference and troubleshooting tables below remain accurate regardless of which screen you are using.
How this differs from the current screens
This page (ASTM Management) | Current |
|---|---|
| Top-level Analyzers menu: Analyzers List, Analyzer Types, Quality Control |
Add Analyzer dialog — Name, Analyzer Code, Plugin, Profile, Lab Unit, Status | Three-step wizard: Instrument → Verify → Connect. No Plugin field; the analyzer type is the profile. |
Field Mappings tab on the analyzer | Edit mappings on the analyzer type — shared across every analyzer using it, and staged as a candidate until confirmed |
QC Config tab with a Match Pattern | Control result recognition on the analyzer type, expressed as explicit rules |
Communication tab — Connection Role, Listen Port, timeouts, NAK retries, keepalive | Connect step, protocol-specific. Each saved Bridge connection owns its own port. |
Statuses |
|
Default bridge port | ASTM listeners on |
Message Simulator and Preview tabs | No equivalent observed. Validation is via the Verify step and the held-results screen. |
Unmapped results shown as | Results are held — and cannot be accepted, retested or ignored until the mapping is fixed (see OGC-1220) |
Still accurate and worth reading here: the ASTM record-type reference (H, P, O, R, L with field numbers), the architecture explanation, the troubleshooting tables, locale-aware decimal parsing, the BY_SPECIMEN aggregation window, and character-encoding mismatches. None of that changed with the UI.
ASTM Management — Administrator Guide
OpenELIS Global | Admin Documentation Version: v1.0 Date: 2026-05-28 Audience: Lab IT, Lab Administrator, OpenELIS Implementer
Overview
ASTM (American Society for Testing and Materials) is the industry-standard protocol used by the majority of clinical laboratory analyzers to transmit results and receive work orders. The ASTM E1394 and LIS2-A2 standards define a message structure built around record types — H (Header), P (Patient), O (Order), R (Result), and L (Terminator) — carried over TCP/IP or serial connections.
Why Analyzer Integration Matters
Manual transcription of analyzer results is slow, error-prone, and a direct patient safety risk. Every transcription error is a potential adverse outcome. OpenELIS analyzer integration:
Eliminates manual data entry — results flow automatically from instruments to patient records.
Accelerates turnaround time — results are available seconds after the analyzer completes a run.
Supports bi-directional communication — OpenELIS can push pending work orders to analyzers, and analyzers return completed results.
Enables real-time QC monitoring — Westgard Rules evaluation occurs automatically as results arrive.
What Changed in This Release (OGC-138)
Prior to this release, configuring an ASTM analyzer required editing Java plugin JARs and deploying them to the plugins directory, followed by a service restart. With the inclusion of the ASTM Analyzer Interface plugin in the default deployment, configuration has moved entirely to a GUI-based workflow accessible from the Admin section under ASTM Management.
You can now:
Add, edit, and remove analyzer connections without writing code.
Map analyzer test codes to OpenELIS tests through a visual interface.
Load pre-configured profiles (including GeneXpert) and activate them immediately.
Enable or disable connections dynamically without restarting OpenELIS.
Architecture Reference
Understanding the components involved helps with configuration and troubleshooting.
Lab Analyzer (ASTM/TCP)
│
▼
┌─────────────────────────┐
│ OpenELIS Analyzer │ ← Protocol translator middleware
│ Bridge │ (openelis-analyzer-bridge)
│ TCP:5001 → HTTP │
└─────────────────────────┘
│ HTTP POST /analyzer/astm
▼
┌─────────────────────────┐
│ OpenELIS Global │ ← ASTM Management plugin
│ GenericASTM Plugin │ routes, maps, and persists results
└─────────────────────────┘
OpenELIS Analyzer Bridge is a lightweight middleware service that listens for raw ASTM TCP connections from instruments and forwards them to OpenELIS via HTTP. It handles protocol detection, message normalization, and analyzer identification. In a standard Docker deployment, the bridge runs as a companion service.
GenericASTM Plugin inside OpenELIS receives the forwarded messages, applies the test code mappings and field position rules you configure in ASTM Management, and writes results into the OpenELIS database.
Default Network Configuration
Component | Default Address | Notes |
|---|---|---|
Analyzer Bridge (TCP listener) |
| Analyzers connect here |
Analyzer Bridge (Docker network) |
| Internal network address |
OpenELIS REST endpoint |
| Bridge posts messages here |
Bridge config file |
| Edit for custom ports |
Point your analyzer's LIS host address to the OpenELIS server's IP, port 5001, unless you have modified the bridge configuration.
Accessing ASTM Management
ASTM Management is located within the OpenELIS Admin section. You must have Administrator or Lab IT role access.
Navigation path:
Admin (top navigation) → ASTM Management
The ASTM Management landing page shows a table of all configured analyzer connections with their current status (Online / Offline / Setup). From here you can add a new analyzer, edit an existing one, or review its test mappings.
Required User Roles
Role | Access Level |
|---|---|
Administrator | Full read/write access to ASTM Management |
Lab IT | Full read/write access |
Lab Manager | Read-only view of configured analyzers |
Lab Technologist | No access to ASTM Management |
Adding a New Analyzer
Prerequisites
The analyzer is physically connected to the network (or serial converter) and powered on.
The Analyzer Bridge is running. Confirm with
docker ps— you should seeopenelis-analyzer-bridgein the running containers list.The analyzer's LIS output is enabled. See your instrument's user manual for steps to enable LIS mode, set the host IP (your OpenELIS server), and set the LIS port (default
5001).The tests you want to import exist in OpenELIS with LOINC codes assigned.
Step 1 — Open ASTM Management
Navigate to Admin → ASTM Management. Click the Add Analyzer button in the upper right of the page.
Step 2 — Enter Analyzer Identity
Field | Description | Example |
|---|---|---|
Name | A human-readable label for this instrument |
|
Analyzer Code | Short identifier used internally for routing. Must be unique, no spaces. |
|
Plugin | Select |
|
Profile | Optional. Select a pre-configured mapping profile. |
|
Lab Unit | The organizational unit this analyzer belongs to. |
|
Status | Set to |
|
Step 3 — Configure Communication Settings
Field | Description | Typical Value |
|---|---|---|
Connection Role | Whether OpenELIS acts as the server (listens) or client (initiates). Almost all analyzers use Server mode. |
|
Listen Port | The TCP port the Analyzer Bridge listens on for this analyzer's connections. |
|
Connection Timeout (s) | How long to wait for a response before timing out. |
|
NAK Retry Count | Negative-acknowledgement retries before dropping a message. |
|
Keepalive Interval (s) | Keepalive frequency. |
|
Analyzer IP | (Client mode only) IP of the analyzer workstation. | — |
Server Mode vs Client Mode: In Server mode, OpenELIS (via the bridge) opens a listening socket and waits for the analyzer to connect — standard for bench-top and mid-volume instruments. In Client mode, OpenELIS initiates the TCP connection, used by a small number of instruments. If unsure, use Server mode.
Step 4 — Test the Connection
Click Test Connection. The system reports: Bridge reachable, Port open, No analyzer connected (normal during setup), or Bridge unreachable.
Test Mappings
Test mappings define how result codes sent by the analyzer correspond to tests defined in OpenELIS. Each analyzer result message contains a test code in the R record (field R.3 in ASTM LIS2-A2). That code must be mapped to an OpenELIS test before results can be accepted.
Accessing the Mapping Interface
From the analyzer detail page, select the Field Mappings tab. The table displays the Analyzer Test Code, the OpenELIS Test, the LOINC Code, and a Status of Mapped (green), Unmapped (red), or Auto-matched (blue).
Adding a Test Mapping
Click Add Mapping.
Enter the exact code the analyzer sends in R.3 (case-sensitive).
Select the matching OpenELIS test.
(Optional) Set a Result Transform for unit conversion or scaling.
Click Save.
Auto-Matching
When a profile is loaded, OpenELIS attempts to auto-match profile test codes to your test catalog based on LOINC codes. Auto-matched entries are marked blue and should be reviewed before setting the analyzer to Active.
Editing and Removing Mappings
Removing a mapping does not delete historical results — it only affects future incoming messages.
Pre-configured Analyzers
Available Profiles
Profile Name | Instrument | Protocol | Tests Included |
|---|---|---|---|
| GeneXpert Dx, Omni, Infinity | ASTM LIS2-A2 | MTB Detection, Rifampicin Resistance, Semi-quantitative MTB |
| GeneXpert Dx | ASTM LIS2-A2 | HIV-1 Viral Load |
| GeneXpert Dx | ASTM LIS2-A2 | Chlamydia trachomatis, Neisseria gonorrhoeae |
| XN-series, XS-series | ASTM LIS2-A2 | Full CBC with differential |
Profiles are maintained in the OpenELIS repository under
projects/analyzer-profiles/astm/. Community-contributed profiles are reviewed and merged on a rolling basis.
What the GeneXpert Profile Includes
H record fields: instrument type identifier used for analyzer routing.
R.3 test codes: all standard Xpert assay codes (MTB, RIF, RIF1–RIF5, CT, NG, etc.).
R.4 result value field position and type (alphanumeric for detected/not-detected, numeric for cycle threshold).
R.8 abnormal flags: maps GeneXpert error codes (
ERROR,INVALID,NO RESULT) to OpenELIS result flags.QC identification rules: specimens with a Patient ID matching the prefix
QCare classified as quality control samples.
Customization
Remapping a test code: On Field Mappings, edit the auto-matched entry and select the correct test.
Adding a site-specific assay code: Add Mapping, enter the exact R.3 code, map it to the appropriate test, Save.
Changing the QC identification rule: On the QC Config tab, edit the existing rule and modify the Match Pattern (plain prefix strings or regular expressions). Multiple QC rules are evaluated with OR logic.
Adjusting result field positions: Advanced Field Positions overrides the default record field indices for R.3 (test code), R.4 (result), R.6 (units), R.8 (flags), and R.10 (result status). Change only if the instrument's actual output differs from the LIS2-A2 standard.
Testing and Validation
Step 1 — Message Simulator
On the Message Simulator tab, Load Sample Message pre-fills a representative ASTM message, or paste a real message captured from the analyzer's logs, then Parse Message.
The simulator shows a parsed breakdown of every record and field, highlighting the instrument identifier from the H record, the patient/specimen ID from the P record, the QC classification, each R record with its mapped test and value, and any unmapped codes in red.
All R record codes must resolve to a green Mapped status before activating the analyzer.
Step 2 — Activate the Analyzer
On the Overview tab, change Status from Setup to Active and Save.
Step 3 — Verify a Live Result
Send a test sample through the analyzer, confirm transmission on the workstation, then check Admin → ASTM Management → [Your Analyzer] → Preview for the most recent message and its parse results. Confirm instrument name, specimen ID, patient versus QC classification, and that all result codes mapped. Then go to Results → Analyzer → [Your Analyzer] to accept results into the workflow.
Troubleshooting
Connection Issues
Symptom | Likely Cause | Resolution |
|---|---|---|
Status shows "Offline" after activation | Analyzer not connected to bridge, or bridge not running | Run |
"Bridge unreachable" on connection test | Bridge container stopped or network misconfiguration | Check |
Analyzer connects but no messages appear | LIS mode not enabled, or wrong IP/port on the analyzer side | On the analyzer workstation, confirm host IP = OpenELIS server IP, port = |
Messages arrive but nothing appears in Preview | Analyzer code mismatch — incoming messages use a different instrument identifier | Check the bridge logs for the raw message. Compare the H record instrument identifier to the Analyzer Code field. |
Test Mapping Issues
Symptom | Likely Cause | Resolution |
|---|---|---|
Results appear with status "Unmapped" | Analyzer sends a test code not in Field Mappings | Add Mapping with the exact code from the result message. |
All results map to the wrong test | Profile LOINC match resolved to incorrect test | Edit each auto-matched entry and manually select the correct test. |
Numeric results appear with wrong units | Analyzer sends different units from the test definition | Add a Result Transform (scale factor or unit label override). |
Results from a new cartridge type are unmapped | Profile does not include that assay | Add mappings manually. |
QC Classification Issues
Symptom | Likely Cause | Resolution |
|---|---|---|
All samples classified as QC | QC rule pattern too broad | Narrow the match pattern — use a specific prefix like |
QC samples treated as patient samples | QC rule not matching the specimen ID format used | Check the actual specimen ID in Preview and update the match pattern. |
Message Parsing Errors
Symptom | Likely Cause | Resolution |
|---|---|---|
"Numeric parsing error" in logs | Decimal separator mismatch (French locale uses comma) | Enable locale-aware parsing in Advanced Settings. |
"Missing R records" — expected tests absent | Aggregation window expired before all results arrived | Increase the |
Garbled characters in result values | Serial-to-TCP encoding mismatch | Confirm the bridge's character encoding matches the analyzer (default UTF-8; some instruments use Latin-1). |
Log Locations
Log | Location | What to look for |
|---|---|---|
Analyzer Bridge logs |
| Raw TCP connections, message forwarding errors, analyzer identification |
OpenELIS application logs |
| Plugin processing errors, database write failures, mapping resolution |
Bridge configuration |
| Port bindings, analyzer routing rules |
Reference
ASTM LIS2-A2 Record Types Used by GenericASTM
Record | Type | Key Fields Used |
|---|---|---|
H | Header | H.5 (Sender/Analyzer ID), H.12 (Processing ID) |
P | Patient | P.3 (Patient ID), P.5 (DOB), P.8 (Sex) |
O | Order | O.3 (Specimen ID), O.5 (Test Codes Requested) |
R | Result | R.3 (Test Code), R.4 (Result Value), R.6 (Units), R.8 (Abnormal Flags), R.10 (Result Status) |
L | Terminator | L.1 (Sequence Number), L.2 (Termination Code) |
Analyzer Status Values
Status | Meaning |
|---|---|
| Analyzer is configured but not yet accepting live messages |
| Analyzer is enabled and processing incoming results |
| Analyzer is temporarily disabled — messages are rejected |
| A persistent processing error has occurred — check logs |
Further Resources
ASTM LIS2-A2 Standard Reference (ASTM International)
Analyzer setup guides
ASTM Management: GeneXpert Setup: Cepheid GeneXpert over ASTM LIS2-A2.
Mindray BC-5380HL7 Hematology Setup: Mindray BC-5380 over HL7 v2.3.1 (MLLP).
Mindray BS-200 HL7 Chemistry Setup: Mindray BS-200 over HL7 v2.3.1.
Mindray BS-300HL7 Chemistry Setup: Mindray BS-300 over HL7 v2.3.1.
Wondfo Finecare FS-205 FILE/CSV POCT Setup: Wondfo Finecare FS-205 by CSV file.
QuantStudio 5: Applied Biosystems Setup Guide: QuantStudio 5 by result file.
QuantStudio 7 FILE/Excel Setup: QuantStudio 7 by Excel file.
FluoroCycler XT Setup Guide: FluoroCycler XT by result file.
Multiskan FC FILE/CSV Setup: Thermo Multiskan FC by CSV file.
Tecan Infinite F50 Integration Guide: Tecan Infinite F50 by result file.
Analyzer Integration — Frequently Asked Questions: questions across all the guides above.
Analyzer interfaces in development: integrations in progress or planned.
ASTM Bi-Directional Analyzer Setup (retired — plugin-jar era): retired plugin-jar setup, kept for history.
Provenance
Status | Legacy — describes the ASTM Management screen, replaced by the Analyzers module. Retained for sites on earlier releases. |
|---|---|
Original | v1.0, 28 May 2026, Taib — the deliverable of OGC-138 and OGC-139 |
Made legacy | 15 September 2026. Banner and differences table added; the guide below is otherwise unchanged. The plugins-repository link was removed, as the plugin-jar path is retired. |
Superseded by |