This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
Example ValueSet/iso3166-1-2 (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Value SetIso 3166 Part 1: 2 Letter Codes
<?xml version="1.0" encoding="UTF-8"?>
<ValueSet xmlns="http://hl7.org/fhir">
<id value="iso3166-1-2"/>
<meta>
<lastUpdated value="2023-03-26T15:21:02.749+11:00"/>
<profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<ul>
<li> Include codes from
<a href="http://terminology.hl7.org/5.1.0/CodeSystem-ISO3166Part1.html">
<code> urn:iso:std:iso:3166</code>
</a> where code matches (by regex) [A-Z]{2}
</li>
</ul>
</div>
</text>
<url value="http://hl7.org/fhir/ValueSet/iso3166-1-2"/>
<version value="5.0.0"/>
<name value="Iso316612"/>
<title value="Iso 3166 Part 1: 2 Letter Codes"/>
<status value="active"/>
<experimental value="false"/>
<publisher value="FHIR Project team"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://hl7.org/fhir"/>
</telecom>
</contact>
<description value="This value set defines the ISO 3166 Part 1 2-letter codes"/>
<compose>
<include>
<system value="urn:iso:std:iso:3166"/>
<filter>
<property value="code"/>
<op value="regex"/>
<value value="[A-Z]{2}"/>
</filter>
</include>
</compose>
</ValueSet>
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.