Skip to content
The Path

Module 6 · FHIR·11 min

Terminologies

LOINC, SNOMED CT, UCUM, ICD-10: codes everyone understands.

The Leleux Clinic sleep lab codes the AHI as AHI. Another hospital’s lab codes it IAH, a third one APHYP. Three codes for the same thing, and no outside software understands all three. A terminology solves that: one shared code, defined once for everyone.

Look at this result. Click OBX-3: the local code and the LOINC code travel side by side.

The lab sends its in-house code AHI, followed by the closest LOINC code as an alternate code.

ORU^R01· Observation result (unsolicited)
||||||||||
||||||||
||||||||||||||

The first three components of OBX-3 give the local code: AHI, its label, and L for “local”. The next three give the alternate code: 69990-0, its full LOINC name, and LN for LOINC. You will see below why that name says “24 hour”. The clinic’s hospital record reads the first one, an outside registry reads the second.

Why codes matter

Text like “Apnea-hypopnea index” is clear to a human, but software can do nothing with it. A shared code lets you:

  • find every value of the same kind, whatever hospital it came from;
  • compare and chart a measurement over time;
  • trigger rules: alerts, statistics, billing;
  • exchange data without a mapping table for every new interface.

The four terminologies below cover most of what you will meet.

LOINC: what was measured

LOINC names observations: lab tests, clinical measurements, test panels. It answers the question “what was measured?”. It is the natural terminology for OBX-3, OBR-4 and Observation.code.

Examples from the sleep lab:

Code LOINC name
90568-7 Polysomnography panel
90567-9 Oxygen desaturation index
69990-0 Apnea hypopnea index 24 hour

LOINC is published by the Regenstrief Institute. It is free worldwide, under terms of use that include a copyright notice.

SNOMED CT: the clinical vocabulary

SNOMED CT covers clinical language broadly: disorders, findings, procedures, anatomy. Where LOINC asks the question, SNOMED CT often gives the answer. For example, concept 78275009 stands for obstructive sleep apnea syndrome.

SNOMED CT belongs to SNOMED International, which distributes it under licence. Use is free in member countries. Belgium is a member: the terminology centre of the FPS Public Health acts as the national centre there, and also publishes a Belgian extension in French and Dutch.

UCUM: units

UCUM codes units of measure unambiguously: /h for “per hour”, %, mg/dL. It is what valueQuantity.code expects in FHIR. Careful: UCUM symbols are case sensitive. Copy the symbol exactly. /H exists in UCUM too: it means “per henry”, a unit of electrical inductance. Nothing to do with sleep.

In v2.5.1, the coding system table does not list UCUM yet. People often write the unit alone in OBX-6, like /h in our message, and the interface engine has to recognise it.

ICD-10: classifying to count

ICD-10 is the WHO classification of diseases. Its main job is to classify: statistics, causes of death, hospital stay coding. In the WHO ICD-10, G47.3 is sleep apnoea.

In Belgium, hospitals code their stays for the RHM/MZG (Belgium’s minimum hospital data set) in ICD-10-BE, since 2015. ICD-10-BE combines ICD-10-CM for diagnoses and ICD-10-PCS for procedures. It is more detailed: obstructive sleep apnea becomes G47.33 there.

ICD-11 was adopted by the WHO in 2019 and has been in effect since 1 January 2022. Countries move over one by one, and ICD-10 is still very present in systems.

System addresses in FHIR

In v2, a short code tells you where a code comes from: LN, I10, L. In FHIR, it is a URI in coding.system:

Terminology FHIR URI v2.5.1 code (table 0396)
LOINC http://loinc.org LN
SNOMED CT http://snomed.info/sct not in 2.5.1 (SCT in later versions)
UCUM http://unitsofmeasure.org not in 2.5.1 (UCUM in later versions)
WHO ICD-10 http://hl7.org/fhir/sid/icd-10 I10

Get a URI wrong, even by one letter, and the code becomes unreadable for other systems. Copy them exactly.

Here is one diagnosis coded twice, in SNOMED CT and in ICD-10, inside a single CodeableConcept:

{
  "coding": [
    {
      "system": "http://snomed.info/sct",
      "code": "78275009",
      "display": "Obstructive sleep apnea syndrome"
    },
    {
      "system": "http://hl7.org/fhir/sid/icd-10",
      "code": "G47.3",
      "display": "Sleep apnoea"
    }
  ],
  "text": "Obstructive sleep apnea syndrome"
}

Check your understanding

1 of 4

You need to code “what was measured” in OBX-3 or Observation.code, for example the oxygen desaturation index. Which terminology do you reach for first?

+50 XPPass the quiz (3 correct answers) to complete the lesson.

Reviewed and checked on 27 September 2026