
HL7 (Health Level Seven)
HL7 is the older messaging standard for exchanging clinical data between healthcare systems, and it is still widely used alongside FHIR. Many hospital systems still run HL7 v2 interfaces for lab results and admissions, so a platform integrating with real providers usually needs to support both.
Key takeaways
- Long-standing messaging standard, still pervasive in hospitals
- Carries lab results, admissions, and orders via interface engines
- Loose enough that each site adds its own conventions
- Real integrations usually need both HL7 and FHIR
- Mapping and testing against actual feeds is essential
- An HL7 interface is one configured connection between two systems
What HL7 means
HL7 v2 is the older messaging standard that has carried clinical data between hospital systems for decades. Its compact pipe-delimited format is deeply embedded in labs, admissions and orders, and replacing working interfaces in a live clinical setting is slow and risky.
HL7 v2 messages pass through an interface engine, and each hospital adds local conventions, so two sites can send the same message type with different content. That calls for mapping and testing, and a platform serving real providers usually supports both HL7 v2 and FHIR.
When does this matter for a software build?
HL7 v2 matters for a software build when the data a product needs only leaves the hospital as messages, such as admissions, lab results or orders, with no API for the same events. The product then needs a listener that accepts MLLP connections, sends acknowledgments and keeps working when the sender resends or reorders messages.
HL7 v2 also changes the hosting plan, because most feeds arrive through a VPN or the hospital's interface engine rather than over the open internet. Each new site usually brings its own interface specification, so the build should treat site mappings as configuration, not code.
What we would check first
- Real sample messages from the site, including merges, corrections and cancelled orders, not only the specification document.
- Which interface engine sits in the middle, such as Mirth Connect or the hospital's own engine, and who maintains its channels.
- How the receiver acknowledges, stores and replays messages, so a dropped connection never means a lost result.
Explore this on Agnotic
Where HL7 shows up in how we build.