The Path
Module 1 · The foundations·8 min
What is HL7?
Not software, not a language: an organization and messaging standards.
Picture a hospital. The front desk runs on one system, the lab on another, radiology on a third, billing on a fourth. None of them was written by the same company. Yet when a patient is admitted, they all need to know.
HL7 is the shared language they use to talk to each other. One system sends a small text message. Another receives it and understands it, because both follow the same writing rules.
Here is what that looks like: a sleep study result travelling from the lab to the patient record. Click a colored segment or any field, and it explains itself.
A sleep study report. The lab sends the hospital record an AHI of 28.5/h, flagged “high”: moderate sleep apnea.
At first glance it looks cryptic. That is expected: these messages are designed to be read by programs. The whole point of this site is to make them readable for you.
Not software, not a programming language
This is the classic trap. HL7 is not a program you install. It is not a language like Python either. It is a standard: a written agreement on how to structure information so a machine can read it without ambiguity.
If you know ICD-10 diagnosis codes, you already have half the intuition. ICD-10 fixes the meaning: what a diagnosis stands for, everywhere. HL7 v2 mostly fixes the shape: where the patient name goes, where the result goes, how pieces of information are separated. ICD-10 tells you what a diagnosis means, HL7 tells you where to put it in the message.
Behind the name, an organization
HL7 is also the name of the organization that writes these standards: HL7 International.
- It was founded in 1987 by a group of healthcare providers, software vendors and consultants who wanted to make interfaces simpler.
- It is a not-for-profit organization.
- It is ANSI-accredited: the American National Standards Institute recognizes it as a standards developer.
- Its members come from more than 50 countries.
It publishes several families of standards. The three you will meet: HL7 v2 (the pipe-delimited messaging this site focuses on), CDA (clinical documents) and FHIR (the standard built on web technology). The next lesson compares them.
What HL7 is, and what it is not
| HL7 is | HL7 is not |
|---|---|
| a set of published standards | software to install |
| a grammar for health messages | a programming language |
| a not-for-profit organization | a software vendor |
| a common starting point | a plug-and-play interface |
The last row matters most in practice. The standard says so itself: HL7 helps a hospital and its vendors negotiate an interface, but it cannot serve as a complete off-the-shelf interface on its own. Two “HL7 compatible” systems still have to agree on the version, the messages and the fields they use.
A message states which version it speaks
Every HL7 v2 message announces its own version, in its header. Here is Marie Dubois’s admission to the sleep lab. Click MSH-12.
An admission. The hospital system announces a patient arriving for an overnight recording at the sleep lab.
The value is 2.5.1. That is the reference version on this site. The receiver reads this field and knows which rules to apply to the rest of the message.
Where does FHIR fit?
FHIR is also an HL7 standard, published by the same organization. It organizes information into resources (Patient, Observation) and uses web tools such as JSON. It does not make v2 disappear: the two live side by side, and understanding v2 makes FHIR much easier.
Check your understanding
1 of 4HL7 is first and foremost:
+50 XPPass the quiz (3 correct answers) to complete the lesson.
Reviewed and checked on 27 September 2026