Basement corridor with long runs of vintage pipes and a brass junction box
    Health Tech & Interoperability

    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

    1. Real sample messages from the site, including merges, corrections and cancelled orders, not only the specification document.
    2. Which interface engine sits in the middle, such as Mirth Connect or the hospital's own engine, and who maintains its channels.
    3. 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.

    Frequently asked questions

    An HL7 interface is one configured connection that sends HL7 v2 messages from one system to another, for example ADT messages from the EHR to a lab system. It usually runs over MLLP through an interface engine, and it has its own agreed message types, field mapping and acknowledgment rules. A hospital with dozens of connected systems runs dozens of these interfaces, each tested and maintained separately.

    Talk through your build with an engineer

    Tell us what you're building and the systems it needs to talk to, and we'll map a clear, compliant path to launch.