Doctor Rebrand

How EHR Lab Interfaces Work: Ordering From Quest and Labcorp

What actually travels between your EHR and a reference lab when you order a blood test, how results find the right patient, and what to ask before you sign up for an interface.

← Back to BlogEHR Integrations
November 22, 2026 · by Doctor Rebrand
A phlebotomist scanning a barcode on a labeled blood collection tube

The Short Answer

A lab interface is a two-way connection between your EHR and a reference lab. When a clinician signs an order, the EHR sends a structured message, usually HL7, to the lab. Later the lab sends results back as another message, which the EHR matches to the patient and places in a review queue.

What is a lab interface, in plain terms?

A lab interface is a standing connection that lets your EHR send orders to a reference lab such as Quest Diagnostics or Labcorp and receive the results back into the patient's chart without anyone typing them in. Two things move across it: orders going out, and results coming in. Everything else, the requisition you hand the patient, the specimen label, the review of an abnormal value, is built around those two messages.

Without an interface, a practice orders on paper or in the lab's own web portal, then re-keys or scans the results. That works at low volume. It also means every result is a chance for a wrong chart, a lost fax or a value nobody looked at. An interface replaces the re-keying with a message the software can check.

What does an HL7 lab order and result message look like?

Most lab interfaces speak HL7 version 2, an older but still dominant format for clinical messages. It is plain text, divided into segments, each segment holding fields separated by pipe characters. You never need to read one, but knowing the three message types you will see in an interface log explains most of what can go wrong.

  • The order message. Sent when the clinician signs. It carries the patient's identity, the ordering clinician, the tests requested, the diagnosis codes that justify them, who is paying, and an order number your EHR assigned. In HL7 terms these are order messages such as ORM or OML.
  • The acknowledgment. A short message from the lab saying it received and accepted the order, or refused it and why. An order the lab never acknowledged is not an order the lab is working on.
  • The result message. An ORU message. It carries one or more results for an order: each test with its value, unit, reference range, abnormal flag and status. A result can arrive as preliminary, then final, and later as corrected if the lab revises it.

The lab's own test codes are the other half of the picture. Your EHR needs the lab's catalog, the list of tests it offers and the codes for them, so that a clinician picks a real test and the order uses the code the lab expects. Catalogs differ between labs, and they change.

How does an order get from the chart to the lab?

In a well-built interface the sequence is short:

  1. A clinician selects tests from the lab's catalog, with the patient's diagnosis and payment details attached.
  2. The EHR runs checks before anything leaves. A missing diagnosis, an uncovered test or a missing guarantor should be caught here, because the lab will reject the order later and the patient will already be in the draw chair.
  3. The clinician signs. Signing is the moment of sending, not saving a draft.
  4. The EHR builds the message, logs it, and transmits it. The lab acknowledges it or rejects it.
  5. The practice prints or hands over the requisition and, if it draws specimens itself, the specimen labels.

The channel the message travels on differs by lab and by customer: some labs take direct connections, some work through a hub. That is the lab's choice, not the practice's, and it is one reason a lab will not simply switch an interface on the same day you ask.

How do results find the right patient?

This is the part that matters most for safety. A result that lands on the wrong chart is a patient-safety event and a privacy incident. Sound matching uses the order number the EHR sent, which the lab echoes back, and then confirms that the name and date of birth on the result agree with the patient the order was for. An order number alone is not enough: a mislabeled tube or a mistyped number would put one person's values on another's chart.

When there is no order number, because the lab sent an unsolicited result or the order was placed through the lab's own portal, matching should require an exact match on name, date of birth and sex and should proceed only if exactly one patient fits. Anything else belongs in an unmatched list for a person to link or dismiss. Guessing is the failure mode to rule out.

Duplicates matter too. Interfaces redeliver messages. A good one recognizes a message it has already filed and does nothing the second time.

Why do abnormal, critical or corrected results need special handling?

Results do not just file themselves. Each value arrives with the lab's abnormal flag, and the EHR should put results into a review queue where a named clinician looks at them and signs off. Three situations deserve specific handling:

  • Critical values need a faster path than a review queue. Labs phone these, but the interface message carries the flag as well, and the software should raise it as something to act on now.
  • Corrected results replace values a clinician may already have read. The EHR should update the values, mark them as amended and send the result back for another look, not quietly overwrite them.
  • Release to the patient should wait for clinician review. A patient reading a preliminary or corrected number nobody checked is how unnecessary phone calls start.

Whether a practice releases results automatically or by hand is a policy decision. Confirm what your state and your own policies require.

How does it work in the Doctor Rebrand EHR?

Quest Diagnostics and Labcorp are each available as a connection. Orders go to the lab from the patient's chart, and results arrive in the Results queue for review. Each lab sets up the account on its side, and the lab controls how quickly that happens.

Under the hood, the EHR builds lab-neutral HL7 v2 messages for orders and reads result messages with its own reader, and each lab gets an adapter that carries messages over that lab's channel and dialect. Orders are checked before signing, including Medicare medical-necessity rules, and the practice can set whether an order is billed to the practice, the patient or insurance. The EHR prints the requisition, an Advance Beneficiary Notice and specimen labels, and a practice can upload its own ABN form. An interface message log shows each order and result with a plain status: waiting to send, sent, accepted, not accepted, filed or unmatched.

Matching follows the rules above. A result is tied to an order only when the order number and the patient's last name and date of birth agree; with no order number, only an exact name, date of birth and sex match with a single candidate; otherwise it goes to an Unmatched Results list. Redelivered messages do nothing the second time. Critical values raise a work item titled for immediate review, corrected values come back to the queue marked amended, and a patient sees a result in the portal only after a clinician has reviewed and released it.

For the broader picture of how the EHR fits together, see our EHR and EMR service.

Who needs a direct lab interface, and who does not?

A practice that orders labs every week, draws specimens in-house or reviews results on a defined schedule gets the most from an interface. A practice that orders a handful of tests a month may be fine with the lab's own portal. The deciding questions are volume, how many people touch results, and whether a missed result would hurt a patient. If functional or specialty testing is part of your model, the Fullscript route covered in our Fullscript post brings those results into the same queue.

Why do lab interfaces go wrong in practice?

  • Lab-side setup. The lab sets the timeline. Start early and keep your account numbers, billing arrangement and ordering clinicians' details ready.
  • Catalog drift. Labs retire and rename tests. Someone should own reloading the catalog.
  • Unmatched results nobody owns. Assign a person to the unmatched list, or those results sit.
  • Billing set-up. Ordering under the wrong bill-to arrangement produces a lab bill to the wrong party.
  • Paper habits. If staff keep ordering in the lab's portal for convenience, results arrive outside the chart.

Which questions should you ask about a Quest or Labcorp interface?

  • Can you see a recent result flow through from the lab to the Results queue?
  • How are results matched to patients, and what happens when no match is found?
  • What happens to a corrected result a clinician already signed?
  • Who sees critical values, and how fast?
  • Can I see a log of every message sent and received?
  • Do both labs and in-house draws work the same way?

Lab orders also feed billing, so see how medical billing picks up the diagnosis and payer details, and check our HIPAA compliance page for how results are protected. Laboratory rules, including CLIA requirements for any testing you perform yourself, are a matter for your counsel and your state, not for this post.

Common Questions

Does my EHR connect directly to Quest and Labcorp?

Usually through an interface that each lab sets up for your account. The EHR builds the order message and reads results, but the lab controls how quickly it sets up your account.

What is HL7 and do I need to understand it?

HL7 version 2 is the plain-text message format most labs use for orders and results. You do not need to read it. You do need an EHR that logs each message in plain words so you can see whether an order was accepted and a result was filed.

How do lab results get matched to the right patient?

Safely built interfaces match on the order number the EHR sent plus the patient name and date of birth. Results with no order number should match only on an exact name, date of birth and sex, and otherwise go to a list for a person to resolve.

What happens if a lab corrects a result I already reviewed?

The EHR should update the values, mark them as corrected or amended and put the result back in the review queue so a clinician sees the change. It should not silently overwrite a value that was already signed off.

Can I still use the lab portal if I have an interface?

You can, but results from orders placed there may arrive outside the chart or as unsolicited results needing manual matching. Most practices get cleaner records by ordering from the chart every time.

Tell Us What Your Practice Needs

Check every service you want to talk about. We will follow up to set up a free consultation.

Fields Marked * Are Required.

Where Is Your Practice?
Which Services Do You Need? (required)

Check as many as you like.

Licensing & Credentialing

Compliance & Legal

Practice Technology

Billing & Payments

Marketing

By submitting, you confirm you are the subscriber or authorized user of the phone number provided and agree to our Terms of Use and Privacy Policy. Ref: 2026-06-16-v1

Privacy Guaranteed • Zero Data Sharing • Secure Transmission

Site Disclosures

Doctor Rebrand provides digital branding, website, and growth services to healthcare providers and practices. Marketing results, timelines, and outcomes vary by practice and are not guaranteed. Nothing on this site constitutes legal, financial, regulatory, or medical advice — consult a qualified professional for guidance specific to your situation.

Third-party names, logos, and trademarks (including Google, Microsoft, Bing, Copilot, Meta, TikTok, OpenAI, ChatGPT, Perplexity, and their respective services) are the property of their respective owners and are used here for identification only. See our Terms of Use and Privacy Policy for details.