FHIR Coding Data Type (R5)
Coding is a single code from a code system: system, version, code and display. Element table, example JSON and FHIRPath for FHIR R5.
- FHIR Coding Data Type (R5) — part of the free FHIR Toolbox library.
- Runs entirely in your browser: your FHIR data is never uploaded to a server.
Overview
Coding is a single code from a code system: system, version, code and display. It appears inside CodeableConcept.coding and directly as a few elements such as Encounter.class in R4.
Elements
| Element | Type | Cardinality | Description |
|---|---|---|---|
| Coding.system | uri | 0..1 | Identity of the terminology system |
| Coding.version | string | 0..1 | Version of the system - if relevant |
| Coding.code | code | 0..1 | Symbol in syntax defined by the system |
| Coding.display | string | 0..1 | Representation defined by the system |
| Coding.userSelected | boolean | 0..1 | If this coding was chosen directly by the user |
Example JSON (R5)
{
"system": "http://loinc.org",
"code": "8480-6",
"display": "Systolic blood pressure"
}
FHIRPath
Observation.code.coding.system— Systems usedObservation.code.coding.code— All codes
FHIR Toolbox is a free, privacy-first collection of HL7 FHIR utilities by Omindra Labs. Every tool performs zero-server processing — your health data never leaves your device.