Skip to content
Glossary · Health software

HL7 (Health Level Seven)

Also called HL7 v2, Health Level Seven.

Definition

The standards body behind major health data standards, and the common name for its Version 2 messages that hospital systems use to exchange data.

Last updated

What it is.

HL7 stands for Health Level Seven. The organisation publishes several standards, including FHIR. When engineers say HL7, they often mean HL7 Version 2: text messages split into segments and fields, sent between systems when something happens, such as a patient being admitted or a lab result being ready.

HL7 v2 messages usually travel over an interface engine inside a hospital network rather than the public internet. Each site tends to use the standard a little differently, so every interface needs its own mapping.

Why it matters

Much hospital data still moves as HL7 v2, so a clinical product often needs to receive or send it even when the vendor also offers FHIR. Interface work can be a large share of a health integration's cost and timeline.

In a product build

We get sample messages from the site early, write the mapping per site, and keep every raw message so we can replay it. Incoming messages go through a queue and are handled idempotently, since interface engines resend on errors.

Watch out

Common mistakes.

  1. 01

    Assuming two hospitals send HL7 v2 the same way. Fields and codes differ by site.

  2. 02

    Not storing raw messages, so bugs cannot be traced or replayed.

  3. 03

    Starting interface work late. Hospital interface teams have long queues.

Sources

Read the official text.

Primary sources this definition is based on.

Tools

Work it out with a tool.

Related

Related terms.

Building something with this? Ask an engineer.

OceanLab designs and builds production software. Tell us what you are planning and we will reply with how we would approach it.

OceanLab

Enterprise Software Engineering - Human + AI

Languages

Locations

Global Headquarters

21 Merchant Road, 3rd Floor, Singapore 058267

Main corporate office and leadership operations

North America Office

548 Market Street, PMB 12472, San Francisco, CA 94104

Client operations and business development

India Office

402 Shivalik Shilp II, SG Highway, Ahmedabad 380015

Engineering and delivery center

© 2026 - Copyright. All Rights reserved OceanLab