Nirmitee.io

Laboratory integration services · United States

Laboratory Integration Services

Lab orders out and results back, between your EHR or product, your laboratory information system, reference labs such as Quest Diagnostics and Labcorp, and state public health. We build the HL7 v2 and FHIR interfaces, map every test to LOINC and keep corrected results tied to the order that produced them.

  • ORM^O01
  • OML^O21
  • ORU^R01
  • LOINC
  • SNOMED CT
  • UCUM
  • ELR 2.5.1
  • CLIA

An order and its result have to stay connected.
  1. 01Order placed

    ORM or OML with placer order number, LOINC-coded test, ask-at-order-entry answers and billing.

  2. 02Laboratory

    Accession, specimen collected, result verified in the LIS, reportable results copied to public health.

  3. 03Result returned

    ORU^R01 matched to the order and patient, corrections replacing the original, abnormal flags routed.

Evidence you can check

The short answer

Laboratory integration services, in short

Nirmitee builds lab interfaces for EHR and health tech companies, laboratories and health systems. We connect ordering systems to laboratory information systems and to reference labs such as Quest Diagnostics and Labcorp with HL7 v2 ORM^O01 or OML^O21 orders and ORU^R01 results, following the HL7 LOI and LRI guides where the partner supports them. We map local test codes to LOINC, specimens and organisms to SNOMED CT and units to UCUM, handle preliminary, final and corrected results, and send reportable results to state public health agencies using the HL7 2.5.1 ELR guide. You get an order-to-result loop that never loses a result or attaches it to the wrong patient.

Who it is for
EHR and health tech products adding lab ordering, laboratories connecting to provider EHRs, and health systems with a reference lab or public health reporting backlog.
What we build
Order and result interfaces, compendium and LOINC mapping, requisition and label output, result routing, ELR feeds and FHIR DiagnosticReport and Observation mapping.
The outcome
Every order acknowledged, every result matched to its order and patient, corrections handled correctly and a monitored feed your team can own.

Lab message flows

Lab integration message flows we build

These are the transactions a lab interface is made of. Your reference lab's connectivity team will use these exact names.

FlowMessages and standardsWhat it carriesWhat we design for
Orders to the labORM^O01, or OML^O21 under the HL7 2.5.1 LOI guide; FHIR ServiceRequest where the lab offers itPlacer order number (ORC-2), ordering provider NPI, LOINC or lab test code in OBR-4, diagnosis codes, priority, specimenNew, change and cancel control codes in ORC-1, ask-at-order-entry answers and bill-to (client, patient or insurance)
Results backORU^R01 under the HL7 2.5.1 LRI guide; FHIR DiagnosticReport and ObservationOBX results with LOINC codes, values, UCUM units, reference ranges, abnormal flags and statusPreliminary, final and corrected results (OBX-11 P, F, C), microbiology parent and child results, and PDF reports embedded as ED
Order acknowledgementsACK, ORR^O02 or ORL^O22Accepted, rejected or error, with the reasonRejected orders routed back to the owning team, never silently dropped
Test compendiumThe lab's test directory, or eDOS where supportedOrderable tests, specimen requirements, ask-at-order-entry questions and result componentsKeeping compendium updates in sync so a retired test code cannot be ordered
Requisitions and labelsLab-specific requisition and barcode label formatsPatient, order, specimen and bill-to data printed at collectionLabels that match the order the lab receives electronically
Electronic lab reporting (ELR)ORU^R01 under the HL7 2.5.1 ELR guide to state and local public health, often through the APHL AIMS platformReportable results with patient demographics, performing lab and CLIA number, LOINC tests and SNOMED CT resultsEach jurisdiction's reportable condition list, onboarding tests and acknowledgement handling
Results to patients and productsFHIR R4 with US Core 6.1.0 laboratory result profilesDiagnosticReport, Observation and Specimen resourcesRelease rules so results reach patients and apps with the same status and corrections as the chart

Also in scope when your workflow needs it: pathology and cytology reports, point-of-care testing devices, blood bank messages and lab billing through DFT^P03.

What we build

What our laboratory integration services build

Pick the workstreams your lab workflow needs. Each ships with a specification, tests and an owner.

01

Reference lab connections

Order and result interfaces to national and regional reference labs such as Quest Diagnostics and Labcorp, built to each lab's own specification, compendium and onboarding tests.

ORM^O01 · OML^O21 · ORU^R01 · AOE · ABN

Lab ORM and ORU to FHIR mapping →
02

LIS to EHR interfaces

Bidirectional interfaces between a laboratory information system and hospital or ambulatory EHRs, with order matching on placer and filler numbers and accession tracking.

ORC-2 · ORC-3 · OBR-4 · SPM · OBX

HL7 integration services →
03

Compendium and LOINC mapping

Local test codes mapped to LOINC, specimens and organisms to SNOMED CT and units to UCUM, with a named reviewer and a queue for new codes.

LOINC · SNOMED CT · UCUM

LOINC and SNOMED CT mapping in production →
04

Result routing and corrections

Results routed to the ordering provider, copies to other recipients, abnormal and critical flags surfaced, and corrected reports replacing the original with an audit trail.

OBX-8 · OBX-11 · ORC-1 · copy-to

Routing ORU lab results in Mirth Connect →
05

Electronic lab reporting to public health

ELR feeds from laboratories to state and local public health agencies, including onboarding, validation against the ELR guide and acknowledgement monitoring.

HL7 2.5.1 ELR · APHL AIMS · CLIA

Public health reporting with Mirth Connect →
06

Lab results in FHIR

Results exposed or delivered as FHIR DiagnosticReport, Observation and Specimen resources that validate against US Core 6.1.0 for patient apps and data platforms.

FHIR R4 · US Core 6.1.0 · DiagnosticReport

FHIR integration services →

Buyer decisions

Ways to connect to labs, compared

Most products use more than one. The right mix depends on how many labs you need and how quickly.

OptionBest fitStrengthsWhat to plan for
Direct interface per labProducts with a few high-volume labs, and laboratories connecting to their main EHR clientsFull control of the data, no per-transaction fees to a middlemanEach lab's specification, compendium, onboarding queue and test cycle
Lab network aggregatorProducts that need many labs quicklyOne API and contract across many labsAggregator fees, their data model and less control over edge cases
EHR's built-in lab interfacesPractices whose EHR already has the lab connectedNothing to build if the connection existsYour product still needs the results, usually through the EHR's own API or an outbound feed
Interface engine you runHealth systems and labs with an integration teamMirth Connect, Open Integration Engine, Rhapsody or Cloverleaf handle routing and transformationEngine licensing, operations and on-call
Interoply (our platform)Products that want lab, HL7, FHIR and X12 behind one APIConnectors, mapping and monitoring in one placeFit with your hosting and data residency rules

Most first lab connections are delayed by the lab's onboarding queue, not the code. We request the lab's specification and test slot in week one.

Integration boundaries

Laboratory integration boundaries: who owns what

Lab interfaces cross the laboratory, the ordering practice and public health. We write the split down first.

The laboratory and CLIA

The laboratory holds the CLIA certificate and owns test performance, result verification and the content of the test report under 42 CFR 493.1291. The interface carries the report intact, including corrected-report status and the performing lab.

The reference lab's connectivity team

Publishes the order and result specification and compendium, issues account numbers, and runs onboarding and validation tests. We run that correspondence.

Your product or EHR

Owns ordering workflow, result display and provider acknowledgement. We list every field that needs a home before code is written.

The integration layer (ours)

Transport, parsing, validation, mapping, routing, acknowledgements, retry, replay, audit logging and alerts. Defects in this layer are ours to fix.

Public health agencies

Each state sets its reportable conditions and onboarding process. We build to the ELR guide and the jurisdiction's rules and handle their test cycle.

Deliverables

Laboratory integration deliverables

Everything below lands in your repository and your runbook.

01

Interface specification

Order, result and acknowledgement layouts, segment and field mapping, and annotated sample messages per lab.

02

Channels or code in your repository

Versioned engine configuration or services, with per-lab settings kept out of the code.

03

Compendium and terminology maps

LOINC, SNOMED CT and UCUM maps with reviewer sign-off and a process for compendium updates.

04

Test evidence

Normal, abnormal, critical, corrected, cancelled, microbiology and unmatched-result cases, with results.

05

Monitoring and alerts

Unacknowledged orders, results without orders, queue depth and silence alerts routed to your on-call.

06

Runbook and next-lab checklist

Cutover plan, replay procedure, lab contacts and a checklist for onboarding the next lab.

Delivery phases

Laboratory integration timeline

A first reference lab order and result interface typically takes 8 to 12 weeks. The lab's onboarding queue sets most of that date, so we file the request in week one.

  1. 01

    Discovery and lab onboarding

    Weeks 1 to 2

    Lab specification and compendium received, account and test slot requested, interface specification drafted

  2. 02

    Build and map

    Weeks 2 to 6

    Order and result interfaces built, compendium and LOINC mapping done, labels and requisitions matched

  3. 03

    Lab validation

    Weeks 5 to 10

    Connectivity proven, the lab's test scripts run, corrected and cancelled cases verified

  4. 04

    Go-live and hypercare

    Weeks 8 to 12

    Cutover, two weeks of hypercare, monitoring live and runbook handed over

Cost drivers

What drives laboratory integration cost

You get a fixed scope and price after one scoping call. These are the factors that move it.

Direction

Results-only interfaces are smaller than bidirectional order and result interfaces.

Number of labs

Each lab has its own specification and validation. Configuration-driven design keeps the second lab cheaper than the first.

Compendium size

A reference lab compendium with thousands of orderable tests is its own mapping workstream.

Requisitions and labels

Printing lab-specific requisitions and specimen labels adds format work and testing.

Public health reporting

ELR adds each jurisdiction's onboarding and validation.

FHIR delivery and support

FHIR mapping adds profile validation. Monitoring and on-call are priced per connection.

Get a fixed scope on a 30-minute call ↗

Proof

Laboratory integration work you can check

Client names are withheld. The code and write-ups linked here are public.

Interface engineering

350+ interfaces on Mirth Connect

Our integration team has built more than 350 interfaces on Mirth Connect, including lab orders, results and result routing.

Public GitHub repository

Open-source Mirth Connect cookbook

Public channels and transformers, including ORU^R01 to FHIR DiagnosticReport and Observation, and an importable MLLP listener channel.

View the cookbook on GitHub →

Public GitHub repository

Open-source headless EHR with a diagnostics domain

Our headless EHR models lab orders and results as FHIR R4 resources and passed all 47 ONC (g)(10) SMART App Launch tests in Inferno on 11 June 2026.

View the headless EHR on GitHub →

Nirmitee platform

Interoply integration platform

Our platform runs lab, HL7 v2, FHIR and X12 connectors behind one API, with monitoring and replay built in.

See Interoply →

Security

ISO 27001:2022 certified, BAAs signed

We are ISO 27001:2022 certified and sign Business Associate Agreements for work that touches patient data.

FAQ

Laboratory integration: questions buyers ask

What is lab integration?

Lab integration connects the systems that order lab tests with the systems that perform and report them: EHRs and health tech products, laboratory information systems, reference labs and public health agencies. It covers orders, acknowledgements, results, corrections, compendium and terminology mapping, and monitoring of the feeds.

Which HL7 messages does a lab interface use?

Orders use ORM^O01 or OML^O21, results use ORU^R01 and acknowledgements use ACK, ORR^O02 or ORL^O22. In the US the HL7 2.5.1 Laboratory Orders Interface (LOI) and Laboratory Results Interface (LRI) guides define the constraints, and many labs publish their own specification on top.

Can you integrate with Quest Diagnostics and Labcorp?

Yes. Both provide HL7 v2 order and result interfaces with their own specifications, compendiums, ask-at-order-entry questions and requisition and label rules. We handle the onboarding with each lab's connectivity team, build to its specification and run its validation tests.

How do you map lab tests to LOINC?

We map each local or lab-specific test and result component to LOINC using the lab's compendium, specimen and method, with a named reviewer confirming each mapping. Specimens and organisms map to SNOMED CT and units to UCUM. New codes go to a review queue instead of passing through unmapped.

How are corrected lab results handled?

A corrected result arrives as ORU^R01 with OBX-11 status C against the same order. The interface replaces the earlier value, keeps the history, flags the correction to the ordering provider and makes sure downstream apps and patient portals show the corrected value, as 42 CFR 493.1291 expects for corrected reports.

What is electronic lab reporting (ELR)?

ELR is the automated reporting of results for reportable conditions from laboratories to state and local public health agencies. It uses ORU^R01 messages under the HL7 2.5.1 ELR implementation guide, often routed through the APHL AIMS platform, with each jurisdiction setting its own reportable conditions and onboarding process.

Does lab integration affect CLIA compliance?

CLIA certification belongs to the laboratory, which owns test performance and the test report. The interface has to carry the report intact: patient identifiers, test, result, units, reference range, performing lab and corrected-report status, so what the provider sees matches what the lab released under 42 CFR 493.1291.

Do you use HL7 v2 or FHIR for lab integration?

Most lab orders and results in the US still move over HL7 v2 because that is what labs and EHRs support. FHIR R4 DiagnosticReport and Observation, validated against US Core 6.1.0, is the right format for patient apps, data platforms and newer APIs. We often receive v2 and publish FHIR.

Can our product order labs without building an interface to every lab?

Yes. Lab network aggregators give one API across many labs, and a direct interface gives full control for your highest-volume labs. We build either, and many products use an aggregator to launch and direct interfaces where volume justifies them.

How long does a lab integration take?

A first reference lab order and result interface typically takes 8 to 12 weeks, and most of that is the lab's onboarding and validation queue. Results-only interfaces are faster. Each additional lab is quicker when lab differences live in configuration.

How much does laboratory integration cost?

Cost depends on direction, the number of labs, compendium size, requisition and label printing, public health reporting, FHIR delivery and the support level. We give a fixed scope and price after one scoping call.

Do you sign a BAA for lab data?

Yes. We sign Business Associate Agreements, run interfaces over encrypted transport, use de-identified or synthetic messages until production and work inside our ISO 27001:2022 certified management system.

Next step

Scope your lab interface in one call

Tell us the lab, the direction and your date. An integration engineer replies with what the lab will ask for, what could move the date and a fixed scope.

Start with your workflow

Tell us about your lab connection

Share the labs, systems and direction you need, plus your target date. Use de-identified examples only. Read by an engineer, answered within one business day.

Please exclude patient data and credentials. We use these details to respond to your enquiry. Privacy policy

Thank you. Your enquiry has been received. Our team will review your requirements.