An HL7 lab interface is the connection that sends lab orders from an EHR to a laboratory information system (LIS), returns results to the EHR, or both. In the US, the HL7 guides for this exchange use HL7 v2.5.1: OML^O21 orders under LOI (older interfaces still send ORM^O01) and ORU^R01 results under LRI, with an acknowledgment for each message.
What does an HL7 lab interface actually do?
A lab interface carries orders from the provider to the lab, results from the lab back to the provider, or both. A results-only interface is common when providers order on paper or in the lab's portal. A bidirectional interface adds electronic orders and usually a copy of the lab's test menu (its compendium) loaded into the EHR.
In a typical bidirectional flow, the EHR builds an order with the patient, ordering provider, test code, any ask-at-order-entry (AOE) answers such as fasting status, and the specimen if it was drawn in the office. The LIS, often reached through an interface engine, accepts the order, assigns its own filler (accession) number, and later sends preliminary, final, and sometimes corrected results, which the EHR matches to the order and patient and routes to the provider. Many labs also want an ADT or demographic feed from the practice so their patient and insurance data stay current between orders. The LOI product brief scopes its use case to orders "between an Ambulatory Provider's EHR-S and a Laboratory's Laboratory Information System (LIS)," and hospital interfaces use the same message patterns.
CLIA shapes the interface too. 42 CFR 493.1291(a) requires a laboratory to have a system that ensures results "are accurately and reliably sent from the point of data entry (whether interfaced or entered manually) to final report destination." Section 493.1291(c) lists what a test report must show: patient identification, the performing lab's name and address, the test, the specimen source when appropriate, and the result with units. Those map to PID-3, OBX-23 and OBX-24, OBR-4 and OBX-3, SPM-4, and OBX-5 and OBX-6.
Which HL7 messages does a lab interface use?
A typical US lab interface uses an order message (OML^O21, or the older ORM^O01), an order response (ORL^O22), a result message (ORU^R01), and acknowledgments (ACK). The table shows how they pair up.
| Message | Direction | Purpose | Notes |
|---|---|---|---|
| OML^O21^OML_O21 | EHR to LIS | New, add-on, or cancel laboratory order | Basis of the LOI guide; carries specimen detail in SPM |
| ORM^O01^ORM_O01 | EHR to LIS | General order (legacy) | v2.5.1 keeps it for backward compatibility only; not LOI conformant |
| ACK^O21^ACK | LIS to EHR | Accept acknowledgment of the order | MSA-1 of CA (accepted) or CR (rejected) |
| ORL^O22^ORL_O22 | LIS to EHR | Application acknowledgment of the order | Returns the filler order number |
| ORU^R01^ORU_R01 | LIS to EHR or public health | Unsolicited observation result | Basis of LRI and ELR |
| ACK^R01^ACK | EHR to LIS | Accept or application acknowledgment of a result | MSA-1 of CA/CR, or AA/AE/AR |
ORM vs OML: which order message should you use?
Use OML^O21 for new lab interfaces, and expect to support ORM^O01 for labs and EHRs that have not moved. Chapter 4 of HL7 v2.5.1 describes ORM as "Left for backward compatibility only" and recommends OML and the other order-specific messages instead. It adds that ORM "can be used for backwards compatibility for general lab messages," but "only the OML message should be used to take advantage of the specimen and container extensions required in laboratory automation."
In practice the two differ most in specimen handling. OML^O21 has an SPM group inside each order, so specimen ID, type, and collection time travel as structured data. ORM^O01 has no SPM segment, so older interfaces pack specimen details into OBR fields such as OBR-15, which v2.5.1 says is "retained for backward compatibility only." If you inherit an ORM interface, budget time to map those OBR fields.
ORU^R01: the result message
ORU^R01 is the unsolicited result message, and LRI and public health reporting both build on it. Sending ORU^R01 does not by itself make an interface LRI conformant; the profile constraints described below do.
What are LOI, LRI, and eDOS?
LOI, LRI, and eDOS are HL7 v2.5.1 implementation guides for the US realm that constrain the base standard for lab orders, lab results, and the lab's test compendium. The base standard allows a great deal of optionality, and these guides remove most of it so an EHR and a lab can agree on one way to build.
| Guide | Covers | Current release | Status to know |
|---|---|---|---|
| LOI (Laboratory Orders Interface) | Orders from EHR to LIS using OML^O21 | Edition 5, STU, status date 2024-05-15 | Replaces STU updates from December 2013, September 2015, April 2018, and October 2022 |
| LRI (Laboratory Results Interface) | Results from LIS to EHR, public health, or another lab using ORU^R01 | Edition 5, STU, status date 2024-05-16, with 2024DEC errata | Later versions merged public health reporting into LRI |
| eDOS (electronic Directory of Service) | The lab's orderable test compendium and AOE questions | R2, STU Release 3.1 | HL7 Orders and Observations decided to retire it in favor of a FHIR catalog approach |
| ELR (Electronic Laboratory Reporting to Public Health) | Reportable results to public health agencies using ORU^R01 | Release 1, Informative, February 2010 | Still the version named in federal certification regulation |
LOI Edition 5 applies v2.5.1 "and select pre-adopted capabilities through Version 2.9," according to its product brief. Edition 5 adds data for newborn screening and public health reporting, references to preliminary sex and gender guidance, and a way to request that results be withheld from patients until the provider has shared them. The message field does not settle whether a delay is lawful: ASTP/ONC's information blocking guidance says "blanket delays that affect a broad array of routine results do not qualify for the Preventing Harm Exception," so release rules need their own legal review. The LRI product brief lists general results plus profiles for microbiology, newborn screening, and clinical genomics.
Check the eDOS status before planning compendium work. The eDOS product brief says "limited adoption of this IG and the long term goal of using the FHIR Catalog IG for this use case made O&O decide to retire this specification," with the AOE content maintained separately. Many labs still send their compendium as a spreadsheet or a proprietary file, so give the compendium load its own owner and schedule.
LRI also defines profiles that a sender declares in MSH-21. The 2015 LRI release separates globally unique identifiers (GU, with ISO OIDs as assigning authorities) from non-globally unique ones (NG, with local namespace IDs). The choice changes the format of identifiers from MSH-3 and PID-3 through ORC-2, OBR-3, and SPM-2, so settle it early. Where this post quotes the 2015 LRI or 2018 LOI text, confirm the rule in Edition 5, which requires an HL7 login to download.
How does a lab order travel from the EHR to the LIS?
The EHR sends an OML^O21 with ORC-1 set to NW (new order), the placer order number in ORC-2 and OBR-2, and the filler order number empty. The LIS returns an accept acknowledgment, then an ORL^O22 application acknowledgment that echoes the placer number and adds the filler number in ORC-3 and OBR-3.
That sequence comes from the information interchange tables in the 2018 LOI release. Order control codes come from HL7 Table 0119 in v2.5.1 chapter 4: NW for a new order, OK when the filler accepts it, CA for a cancel request, OC when the order has been canceled, SC for a status change, and RE when observations follow, as in result messages.
Here is an illustrative OML^O21 for a basic metabolic panel drawn in the office, with fake data, trimmed to the segments that show the structure.
MSH|^~\&|DEMOEHR|DEMOCLINIC|DEMOLIS|DEMOLAB|20261030084500-0400||OML^O21^OML_O21|ORD000456|T|2.5.1|||AL|AL
PID|1||123456^^^DEMOCLINIC^MR||TEST^PATIENT^A||19800101|F
PV1|1|O
ORC|NW|ORD448811^DEMOEHR|||||||20261030084500-0400|||1234567890^PROVIDER^TEST^^^^^^NPI^L^^^NPI
TQ1|1||||||||R
OBR|1|ORD448811^DEMOEHR||24321-2^Basic metabolic 2000 panel - Serum or Plasma^LN^BMP^Basic metabolic panel^L|||20261030083000-0400|||||||||1234567890^PROVIDER^TEST^^^^^^NPI^L^^^NPI
SPM|1|SPC5566&DEMOEHR||119364003^Serum specimen^SCT|||||||||||||20261030083000-0400
The placer order number in ORC-2 and OBR-2 is how the EHR recognizes its own order when results arrive, so it has to be unique within its assigning authority and never reused. Once the ORL comes back, the EHR should store the filler number too; matching then depends on both numbers, the patient identifiers, and whatever numbering rules the two sides agreed. OBR-4 holds the test code (LOINC plus the lab's local code), TQ1-9 the priority, and SPM-17 the collection time. When the lab draws the specimen, the collection time comes back on the result instead.
AOE answers usually travel as OBX segments under the OBR, each coded with the question the lab defined in its compendium. When nobody maps the lab's question codes, the EHR sends AOE answers as free text in an NTE, and the lab rejects the order or phones the clinic.
What's in an HL7 ORU^R01 lab result message?
An ORU^R01 lab result contains a message header (MSH), patient identification (PID), an optional visit (PV1), and one or more order groups, each with ORC, OBR, OBX results, NTE comments, and SPM specimen data. The message below is illustrative, uses fake data, and is trimmed to three analytes from a basic metabolic panel.
MSH|^~\&|DEMOLIS|DEMOLAB|DEMOEHR|DEMOCLINIC|20261030143000-0400||ORU^R01^ORU_R01|MSG000123|T|2.5.1|||AL|AL|||||LRI_NG_FRU_Profile^^2.16.840.1.113883.9.195.3.3^ISO
PID|1||123456^^^DEMOCLINIC^MR||TEST^PATIENT^A||19800101|F|||123 MAIN ST^^ANYTOWN^OH^45000^USA
PV1|1|O
ORC|RE|ORD448811^DEMOEHR|LAB778899^DEMOLAB||CM||||20261030141500-0400|||1234567890^PROVIDER^TEST^^^^^^NPI^L^^^NPI
OBR|1|ORD448811^DEMOEHR|LAB778899^DEMOLAB|24321-2^Basic metabolic 2000 panel - Serum or Plasma^LN^BMP^Basic metabolic panel^L|||20261030083000-0400|||||||||1234567890^PROVIDER^TEST^^^^^^NPI^L^^^NPI||||||20261030141500-0400|||F
OBX|1|NM|2345-7^Glucose [Mass/volume] in Serum or Plasma^LN^GLU^Glucose^L||182|mg/dL^^UCUM|70-99|H|||F|||20261030083000-0400|||||20261030134500-0400||||DEMO REFERENCE LAB^L^^^^CLIA^XX^^^00D0000000|100 LAB WAY^^ANYTOWN^OH^45000^USA
NTE|1|L|Patient reported non-fasting at collection.
OBX|2|NM|2823-3^Potassium [Moles/volume] in Serum or Plasma^LN^K^Potassium^L||4.1|mmol/L^^UCUM|3.5-5.1|N|||F|||20261030083000-0400|||||20261030134500-0400||||DEMO REFERENCE LAB^L^^^^CLIA^XX^^^00D0000000|100 LAB WAY^^ANYTOWN^OH^45000^USA
OBX|3|NM|2160-0^Creatinine [Mass/volume] in Serum or Plasma^LN^CREAT^Creatinine^L||0.9|mg/dL^^UCUM|0.6-1.1|N|||F|||20261030083000-0400|||||20261030134500-0400||||DEMO REFERENCE LAB^L^^^^CLIA^XX^^^00D0000000|100 LAB WAY^^ANYTOWN^OH^45000^USA
SPM|1|SPC5566&DEMOEHR^S778899&DEMOLAB||119364003^Serum specimen^SCT^SER^Serum^L|||||||||||||20261030083000-0400|20261030091500-0400
MSH-21 carries the LRI non-globally-unique, unique-filler-number profile as published in the 2015 LRI release; check the OIDs against Edition 5 and run the message through a profile-aware validator before copying it. It is a simplified base v2.5.1 message without the OBX fields LRI pre-adopts from later versions, and its values and ranges are invented, not clinical guidance. The LOINC codes are real: 2345-7 is "Glucose [Mass/volume] in Serum or Plasma," a quantitative term with mg/dL as its example UCUM unit; potassium (2823-3) and creatinine (2160-0) match the NLM Clinical Tables LOINC listing.
Segment and field map for lab results
Field definitions follow v2.5.1 chapter 7 and chapter 4, with constraints from the 2015 LRI release.
| Field | Name | Sample value | What to check |
|---|---|---|---|
| MSH-15 / MSH-16 | Accept / application ack type | AL / AL | LRI requires support for AL/AL on results |
| PID-3 | Patient identifier list | 123456^^^DEMOCLINIC^MR | Assigning authority and identifier type present; which MRN the EHR matches on |
| ORC-2 / OBR-2 | Placer order number | ORD448811^DEMOEHR | Echoed exactly as the EHR sent it, including namespace |
| ORC-3 / OBR-3 | Filler order number | LAB778899^DEMOLAB | Stable across preliminary, final, and corrected results |
| OBR-4 | Universal service identifier | 24321-2 ... LN ... BMP ... L | Matches what was ordered, or the reflex or add-on is handled |
| OBR-25 | Result status | F | Table 0123; consistent with the OBX-11 values beneath it |
| OBX-2 | Value type | NM | Matches OBX-5; NM, SN, ST, CWE, TX, FT are common |
| OBX-3 / OBX-4 | Observation identifier / sub-ID | 2345-7 ... LN ... GLU ... L | LOINC plus local code; OBX-4 when the same code repeats under one OBR |
| OBX-5 | Observation value | 182 | Never truncated; no units or flags embedded in the value |
| OBX-6 | Units | mg/dL^^UCUM | UCUM, and consistent with the LOINC property |
| OBX-7 | Reference range | 70-99 | In OBX-7, never only in an NTE |
| OBX-8 | Abnormal flags | H | Table 0078 values; receiver displays whatever is sent |
| OBX-11 | Observation result status | F | Table 0085; P, F, and C transitions handled |
| OBX-14 | Date/time of observation | 20261030083000-0400 | Equals SPM-17.1 (range start) for specimen-based tests under LRI |
| OBX-23 / OBX-24 | Performing organization name / address | DEMO REFERENCE LAB, 100 LAB WAY | Required in LRI; matches the CLIA report content items |
| SPM-2 | Specimen ID | SPC5566&DEMOEHR^S778899&DEMOLAB | Placer and filler IDs as the two EIP components |
| SPM-4 | Specimen type | 119364003 Serum specimen (SNOMED CT) | Coded, not free text |
Which HL7 lab fields cause the most interface errors?
Defects cluster in a short list: patient and order matching, OBR-4 test codes, OBX-3 LOINC mapping, OBX-5 value types, abnormal flags, result status transitions, reference ranges, and specimen data. Clean vendor sample messages rarely exercise them.
Patient, placer, and filler matching
The EHR files a result by matching the patient in PID-3 and the order in ORC-2 or ORC-3. Trouble starts when the lab truncates or reformats ORC-2, drops the namespace component, returns a different MRN than the one sent, or creates a new filler number for a reflex test without linking it back through OBR-29 (parent). Patient merges and duplicate charts on either side produce results that match the wrong record or none. Unsolicited results and results that fail patient matching each need a defined home, the chart with a flag or a work queue, decided before go-live.
OBR-4 universal service identifier
OBR-4 tells the EHR which orderable the result answers. A different code from the one ordered (a panel instead of the single test, or a new code after a compendium update) can leave the result unfiled or filed without an order, so every compendium change should trigger a catalog check.
OBX-3 and LOINC
LRI requires LOINC in OBX-3 when an appropriate code exists and asks the lab to send its local code too, which makes mapping mistakes easier to find. LOINC is maintained by the Regenstrief Institute, which also stewards UCUM, according to loinc.org. A common failure is mapping a local code to a LOINC term whose system or property does not match the test, such as a serum term on a whole blood result. Trending and decision support read these codes, so a wrong LOINC puts results on the wrong chart line.
OBX-2 and OBX-5 value types
OBX-2 names the data type of OBX-5. An NM result must contain only the number; a value like "<0.5" belongs in SN (structured numeric) so the comparator and number are separate. LRI says quantitative LOINC codes should be reported as NM, SN, TS, DT, or TM, and that OBX-5 "SHALL NOT be truncated." Check how the receiving system stores long narrative sent as ST, TX, or FT, because a field length limit there silently cuts the report.
OBX-8 abnormal flags
OBX-8 carries interpretations from HL7 Table 0078, such as L, H, LL, HH, N, A, AA, and the susceptibility codes S, R, and I. LRI says that if a laboratory sends a coded interpretation, "the EHR shall consume and display it." Watch for custom values, EHRs that compute their own flags and ignore the lab's, and critical values (LL, HH, AA) that need a separate alerting path. CLIA §493.1291(g) requires the lab to "immediately alert" the requester about panic or alert values, and an HL7 flag on its own does not meet that duty.
OBX-11 result status and OBR-25
OBX-11 is required on every observation and uses HL7 Table 0085: F final, P preliminary, C a correction that replaces a final result, D delete, X results cannot be obtained for that observation, and W posted as wrong (for example, sent for the wrong patient). OBR-25 gives the order-level status from Table 0123, where X means no results because the order was canceled; the two X codes are not interchangeable. The v2.5.1 text says intermediate results should be sent as P or S until they are final, and not as corrections. A correction or deletion replaces every OBX with the same OBX-3 and OBX-4 under that order as a unit, so the EHR must replace the prior values, keep the history, and notify the provider.
Reference ranges
OBX-7 is a string in a defined format such as "3.5-5.1", ">10", or "<15", per v2.5.1 chapter 7. LRI says sending the range only in an NTE is not appropriate. Age and sex specific ranges are best sent per result. CLIA §493.1291(d) separately requires the lab to make pertinent reference intervals available to the ordering provider, and OBX-7 is the usual way an interfaced lab does that.
Specimen data
LRI requires the SPM group in results when the specimen is known and says OBX-14 must equal the start of SPM-17 for specimen-based tests. SPM-4 should be coded, usually with SNOMED CT. ORM-era interfaces often send specimen source in OBR-15 with no SPM, so decide which you accept.
How do HL7 lab acknowledgments work?
Lab interfaces generally use enhanced acknowledgment mode. The accept acknowledgment says whether a system took custody of the message (CA) or refused it (CR, or CE for an error). The application acknowledgment says whether the destination application accepted it (AA), found an error (AE), or rejected it (AR). MSH-15 and MSH-16 in the original message tell the receiver which ones to send.
The 2015 LRI release requires every node on the route, interface engines and HIEs included, to return an accept acknowledgment to the system that sent it the message, and the destination EHR to return an application acknowledgment. A result message SHALL support MSH-15 and MSH-16 of AL and AL. The accept acknowledgment carries NE and NE so it does not trigger another acknowledgment. The application acknowledgment carries AL and NE, so the lab accepts it with its own CA. NE with AL is allowed only point to point, where the transport guarantees delivery. If both fields are empty, v2.5.1 chapter 2 says original mode rules apply. These illustrative acknowledgments answer the sample ORU.
MSH|^~\&|DEMOEHR|DEMOCLINIC|DEMOLIS|DEMOLAB|20261030143001-0400||ACK^R01^ACK|ACK000987|T|2.5.1|||NE|NE
MSA|CA|MSG000123
MSH|^~\&|DEMOEHR|DEMOCLINIC|DEMOLIS|DEMOLAB|20261030143005-0400||ACK^R01^ACK|ACK000988|T|2.5.1|||AL|NE
MSA|AA|MSG000123
MSA-2 must echo MSH-10 from the original, or the sender cannot reconcile what it sent with what came back. An AE or AR should include an ERR segment naming the failed field. Agree that retransmissions after a timeout reuse the original MSH-10, so the receiver can drop true duplicates by sender and message control ID. Do not deduplicate on order number plus status, because successive preliminary updates and repeated corrections can share both. An interface engine that returns AA as soon as it queues a message tells the lab the result was filed before the EHR has processed it.
Should a lab interface use MLLP or SFTP batch files?
Use MLLP over TCP when results need to arrive in near real time and both sides can hold a connection open. Use SFTP batch files when one side cannot accept inbound connections or the volume is periodic. The lab's onboarding program often sets the choice.
MLLP (minimal lower layer protocol) frames each message. The HL7 MLLP transport specification defines the start block as ASCII VT (0x0B) and the end block as ASCII FS (0x1C), followed by CR (0x0D). MLLP itself adds no encryption or authentication, so it runs inside a VPN tunnel or over TLS.
HL7 batch format is separate from the file transport. v2.5.1 chapter 2 defines an optional FHS (file header), one or more batches that each start with an optional BHS (batch header), the MSH-led messages, an optional BTS (batch trailer), and an optional FTS (file trailer). Batch files commonly move over SFTP. Agree on file naming, a rename-on-complete step so nobody reads a half-written file, and how batch acknowledgments return.
| Question | MLLP over TCP | SFTP batch |
|---|---|---|
| Latency | Seconds | Minutes to hours, depending on schedule |
| Network setup | VPN or TLS, firewall rules both ways | SFTP credentials or keys, outbound only from one side |
| Acknowledgments | Accept ACK returns on the same connection; application ACKs may arrive later as their own messages | Separate return file that someone has to build |
| Failure mode to test | Dropped connections, unframed or double-framed messages | Partial files, missing trailers, duplicate pickups |
Either way, the interface engine (or the integration layer of the EHR or LIS) needs a durable queue, a failed-message worklist, and a way to replay messages after downtime. Ask any lab interface software vendor to show those three features working before you sign.
How do labs report results to public health?
Electronic laboratory reporting (ELR) sends reportable results to state and local public health agencies as ORU^R01 messages. For ONC-certified health IT, 45 CFR 170.205(g) still names HL7 2.5.1 with the ELR Release 1 guide, its Errata and Clarifications, and the ELR 2.5.1 Clarification Document.
The criterion that uses it is §170.315(f)(3), transmission to public health agencies of reportable laboratory tests and values/results. The ASTP/ONC test method page ties it to §170.205(g), SNOMED CT U.S. Edition March 2022 in §170.207(a)(1), and LOINC version 2.72 in §170.207(c)(1). The ELR Release 1 guide is an HL7 Informative document from February 2010, per its product brief; a Release 2 DSTU expired in December 2016.
The October 28, 2026 deregulatory final rule, effective December 28, 2026, left this in place: its incorporation by reference list still approves the ELR Release 1 guide and errata for §170.205(g). Certified modules test against a 2010 guide while each jurisdiction publishes its own onboarding requirements, so read the jurisdiction's guide before you build and treat the federal criterion as the floor.
Where does FHIR fit in lab integration?
FHIR mostly exposes lab results to apps and patients through APIs, while HL7 v2 still carries most order and result traffic between EHRs and labs. US Core's lab profiles are DiagnosticReport for laboratory results reporting, Laboratory Result Observation, ServiceRequest for orders, and Specimen.
US Core 9.0.0 describes the Laboratory Result Observation profile as one where "each Observation resource represents an individual laboratory test and result value," the FHIR counterpart of one OBX. The DiagnosticReport lab profile plays the OBR role. For orders, the US Core ServiceRequest profile says lab orders should use category code 108252007 (Laboratory procedure) and have an extensible binding to the LOINC Common Laboratory Orders Value Set.
For converting v2 traffic, the HL7 Version 2 to FHIR implementation guide published STU 1 (1.0.0) on October 7, 2025, mapping v2 to FHIR R4. Test how your converter handles identifiers, statuses, and corrections. For catalog data, HL7 publishes an Order Catalog implementation guide. The HL7 v2 vs FHIR comparison covers when to use each.
Lab interface go-live checklist
Before go-live, confirm both sides agree on identifiers, codes, statuses, acknowledgments, and transport, and test the cases you will see in the first week.
- Name the guide and edition each side claims (LOI and LRI Edition 5, an older STU, or a vendor spec) and the profile IDs for MSH-21.
- Agree on GU or NG identifiers, the assigning authorities for MSH-3, MSH-4, PID-3, ORC-2, and ORC-3, and which MRN the lab returns in PID-3.
- Decide where unmatched patients and unsolicited results go, and who works that queue.
- Load the lab's compendium into the EHR order catalog, AOE questions and codes included, and name an owner for compendium updates.
- Map every orderable in OBR-4 and every resultable in OBX-3 to LOINC where an appropriate code exists, keep local codes alongside, and check UCUM units in OBX-6.
- Test every OBX-2 value type the lab sends, including SN for comparators, FT or TX for narrative, and CWE for coded results, and confirm nothing is truncated.
- Test OBX-8 flags including critical values, and document the separate call or alert workflow for panic values.
- Run status transitions end to end: P to F, F to C, OBX-11 of X and W, OBR-25 of X, and repeated corrections to the same result.
- Send reflex, add-on, and unsolicited results and confirm where each one files.
- Verify OBX-7 ranges, the specimen group (SPM-2, coded SPM-4, SPM-17.1 matching OBX-14), and OBX-23 and OBX-24 for every performing lab, referral labs included.
- Test acknowledgments: CA and AA paths, CR, AE, and AR with ERR segments, retransmission with the same MSH-10, and retries after timeout.
- For MLLP, test dropped connections and reconnects. For batch, test partial files, missing trailers, and the return acknowledgment file.
- Run a parallel period on real orders, with someone at the clinic comparing the EHR display to the lab's report.
- Write down who gets paged when the interface stops, and test that the alert fires.
For interfaces already live, the HL7 interface audit checklist covers conformance testing, message replay, and monitoring.
What should you inventory first?
List every lab you exchange orders or results with, the messages and HL7 version each actually sends, the transport, who owns the interface engine configuration, and the date of the lab's last compendium update. Then pull a week of production ORU messages and check four fields: OBX-3 for LOINC coverage, OBX-11 for status values, OBX-7 for reference ranges, and ORC-2 for placer numbers that match your orders.
If the same project also touches billing, the X12 claim and remittance side is covered in the post on 837 and 835 EDI, and supply shipments are covered in the EDI 856 guide for medical suppliers. We build and audit these interfaces through our HL7, FHIR, and EDI integration service if you want a second set of eyes.