A laboratory technician at a computer beside a benchtop analyzer in a clinical lab
    Software we build

    Lab interface volume: HL7 v2 traffic and the interfaces we build

    A lab interface must carry every order, result, correction and ACK, and the busiest hour sets the size of the engine, the connections and the archive. Agnotic Technologies builds HL7 v2 lab interfaces to your requirements, sized from your own volumes.

    Last reviewed by the Agnotic Technologies engineering team

    How many HL7 v2 messages will a lab interface carry?

    A lab interface carries an order and a result message for each order or each test, an ACK for every message, and an extra result message for each correction. Message grouping, corrections and the busiest hour decide the real load. Agnotic Technologies builds HL7 v2 lab interfaces sized from your LIS reports and interface engine logs.

    Where do lab interfaces break?

    Most lab interface trouble is a sizing or mapping gap that only shows up under real traffic.

    1. Sized for the daily average

      Results cluster at certain hours. An engine and MLLP connection sized for the average backs up in the busiest hour.

    2. Slow ACKs that stall the feed

      In HL7 v2 over MLLP, each message waits for its ACK. A slow receiver slows every result queued behind it.

    3. Grouping mismatches

      Some systems send one order message with several OBR segments; others send one message per test. A mismatch changes message and ACK counts and breaks parsing.

    4. Corrected results shown twice

      Corrected and amended results arrive as new result messages. A receiving system that does not recognise them can show two answers for one test.

    5. Local test codes

      Without a mapping to LOINC, each OBX carries a code only the sending lab understands, which blocks reporting and reuse.

    6. Archives that outgrow the plan

      CLIA requires test reports kept for at least 2 years and pathology reports for at least 10, so result rows build up for years.

    What do we build for lab traffic?

    Agnotic Technologies builds lab interfaces to your requirements, on the interface engine you run or on a new one. These are the features we typically build.

    • MLLP channels per connection

      One channel per ordering system or lab, with ACK timeouts and resend rules sized from the busiest hour.

    • Order and result message mapping

      Order and ORU result messages mapped to the agreed profile, such as the HL7 LRI guide for results sent to ambulatory EHRs.

    • LOINC mapping

      Local test codes mapped to LOINC, so every OBX carries a standard observation identifier.

    • Corrected result handling

      Result status tracked, so corrected and amended results replace the earlier value instead of appearing as a second result.

    • Backlog replay

      Message history kept in the engine, so a feed can be replayed after an outage, with load tests that include a replay.

    • Result archive with retention rules

      Storage sized from the OBX rows kept per day, with older results moved to cheaper storage after the agreed period.

    • Per-connection monitoring

      Queue depth, ACK latency and rejected messages per connection, with alert thresholds for each sending system.

    What does each count decide?

    Each count answers a sizing question for the interface engine, the network or the database.

    Messages per day

    Interface engine capacity, log volume and how much message history the engine can keep for replay.

    Busiest hour

    Throughput per MLLP connection and how quickly a backlog drains after a connection drops and comes back.

    ACKs

    Acknowledgment timeouts and resend rules. Every message waits for its ACK, so slow ACKs slow the whole feed.

    Per ordering system

    Which connection gets its own monitoring and alert thresholds, starting with the system that sends the most.

    OBX segments

    The result rows your database writes each day, and the parsing load on every system that receives them.

    Rows kept

    Database and archive size over the retention period, and when older results can move to cheaper storage.

    Order or test: why does message grouping matter?

    Some interfaces send one order message with several OBR segments, one per test. Others send one message per test. The choice changes the message and ACK counts, but not the number of OBX result values.

    Check the grouping in your interface specification before you size anything. The laboratory information system guide shows which HL7 v2 message carries each lab handoff.

    Corrected and amended results are sent again as new result messages, so they add to the count. Lab integration services explains how receiving systems handle them.

    How long must lab results be kept?

    Under CLIA, a laboratory keeps or can retrieve a copy of each original report, including preliminary and corrected reports, for at least 2 years after reporting. Pathology reports are kept for at least 10 years (42 CFR 493.1105).

    State law, accreditation and your own record policy may require longer. Size the archive for the longest period that applies, since it must hold every row for that long.

    How does Agnotic build the interface?

    See our HL7 v2 integration services for the engine and channel work.

    1. Confirm the message profile with the lab and each ordering system, for example the HL7 LRI guide for results to ambulatory EHRs.

    2. Map local test codes to LOINC so every OBX carries a standard observation identifier.

    3. Set up one MLLP channel per connection, with ACK timeouts and resend rules sized from the busiest-hour count.

    4. Load test above the busiest-hour figure, including a backlog replay after a simulated outage.

    5. Monitor queue depth, ACK latency and rejected messages per connection after go-live.

    Traffic beyond orders and results

    Count these separately when you size a shared connection or the engine.

    • Preliminary results sent before the final result.
    • Reflex tests, add-on orders and cancellations.
    • ADT feeds and patient queries that share the connection.
    • Instrument traffic between analyzers and the LIS, which runs on separate interfaces.
    • FHIR APIs that expose the same results to apps.
    Facts and sources

    Which standards and rules apply to lab interfaces?

    Each fact links to the HL7, LOINC or eCFR page it comes from.

    Trusted by global innovators

    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lauren
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium
    Healthevolve
    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lauren
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium
    Healthevolve
    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lauren
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium
    Healthevolve
    Benchmark
    Chibasco
    Fundency
    Lantimer
    Lauren
    Lera
    One Minute
    Pento Pix
    TAP
    Xtrium
    Healthevolve

    Which standards does Agnotic build healthcare software against?

    01HIPAA logo

    HIPAA

    Health Insurance Portability and Accountability Act

    Protect PHI with privacy-first architecture, encrypted storage and transmission, strict access controls, and traceable audit logs.

    02GDPR logo

    GDPR

    General Data Protection Regulation

    Implement lawful consent flows, data minimization, retention controls, and secure processing for sensitive health data.

    03FHIR logo

    FHIR

    Fast Healthcare Interoperability Resources

    Enable standardized health data exchange across apps, care teams, and systems through standards-based FHIR APIs.

    04HL7 logo

    HL7

    Health Level Seven International

    Support enterprise-grade interoperability with HL7-based integrations for records, events, and clinical messaging workflows.

    05HITRUST logo

    HITRUST

    Health Information Trust Alliance

    Align security programs to healthcare-specific control and risk management practices trusted by providers and ecosystem partners.

    06HITECH logo

    HITECH

    Health Information Technology for Economic and Clinical Health Act

    Design with breach notification readiness, digital record safeguards, and operational controls that support regulated care programs.

    07SaMD logo

    SaMD

    FDA Software as a Medical Device

    Plan software quality, traceability, and documentation pathways for products that may require SaMD review and submission.

    08MDR (EU) logo

    MDR (EU)

    Medical Device Regulation (European Union)

    Prepare EU market-ready processes for risk classification, evidence tracking, and lifecycle governance under MDR expectations.

    09SAMHSA logo

    SAMHSA

    Substance Abuse and Mental Health Services Administration

    Apply confidentiality controls and consent-aware sharing models for behavioral and mental health data experiences.

    Frequently Asked Questions

    In HL7 v2 over MLLP, the receiver answers each message with an ACK before the sender moves on. ACKs double the messages on the wire and set the pace of the feed, so they belong in any sizing.