HL7 Terminology (THO)
6.1.0 - Publication
This page is part of the HL7 Terminology (v6.1.0: Release) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions
This page describes how to use ISO 3166 with HL7 Standards.
Source | ISO 3166 Home Page |
System |
ISO 3166 is a 3 part standard, each of which defines a code system:
|
Version | If necessary to exchange the version (see below), use the year of release in the format YYYY |
Code |
|
Display | Use the Country or State/Province Name |
Inactive | There are no codes that are inactive |
Subsumption | No Subsumption relationships are defined amongst the Country Codes |
Filter Properties | Regex on code - see below |
A few country codes have been reused (e.g. CS). If a version is needed, simply use the year of publication e.g. 1998.
ISO Maintains the copyright on the country codes, and controls it's use carefully. For further details, see the ISO 3166 Home Page
The Part 1 Code system identified by the URI urn:iso:std:iso:3166
contains 3 types of codes for country:
In almost all contexts of use, only one of these 3 subsets of codes are used / allowed. Value sets can be defined for these by enumerating the relevant codes. Alternatively, a regex can be used to define the value set intensionally. For example, this filter specifies only 3 letter codes:
"filter" : [{ "property" : "code", "op" : "regex", "value" : "[A-Z]{3}" }]
The FHIR specification defines 3 commonly used value sets for use with ISO 3166 Country Codes:
The latter two value sets are defined intensionally in this specification as a consequence of ISO Intellectual Property Restrictions.