← ReferenceTerminology

What is a CodeSystem?

A CodeSystem defines a set of codes and their meanings. Every code used in FHIR belongs to a CodeSystem, identified by a URI. CodeSystems are the source of codes; ValueSets select subsets of them.

Major CodeSystems in healthcare

CodeSystemURIUsed for
SNOMED CThttp://snomed.info/sctDiagnoses, findings, procedures, anatomy
LOINChttp://loinc.orgLab tests, observations, panels, vitals
ICD-10http://hl7.org/fhir/sid/icd-10Diagnoses (billing, epidemiology)
ATChttp://www.whocc.no/atcMedications by anatomical/therapeutic class
RxNormhttp://www.nlm.nih.gov/research/umls/rxnormUS drug codes (clinical drugs)
UCUMhttp://unitsofmeasure.orgUnits of measure (mg, mmol/L, kg)

Custom CodeSystems

When no standard CodeSystem covers a concept (e.g. an institution-specific ward type or a country-specific reason code), you define a custom CodeSystem with a URL under your domain — e.g. https://fhir.sk/fhir/CodeSystem/ward-type. Custom CodeSystems must be published as FHIR resources so validators can look them up.