Example ValueSet/iso3166-1-N (XML)
Raw XML (canonical form + also see XML Format Specification)
Definition for Value SetIso 3166 Part 1: Numeric Codes
<?xml version="1.0" encoding="UTF-8"?>
<ValueSet xmlns="http://hl7.org/fhir">
<id value="iso3166-1-N"/>
<meta>
<lastUpdated value="2022-12-14T07:12:54.019+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/4.0.0/CodeSystem-ISO3166Part1.html">
<code> urn:iso:std:iso:3166</code>
</a> where code matches (by regex) [0-9]{3}
</li>
</ul>
</div>
</text>
<url value="http://hl7.org/fhir/ValueSet/iso3166-1-N"/>
<version value="5.0.0-snapshot3"/>
<name value="Iso31661N"/>
<title value="Iso 3166 Part 1: Numeric 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 Numeric codes"/>
<compose>
<include>
<system value="urn:iso:std:iso:3166"/>
<filter>
<property value="code"/>
<op value="regex"/>
<value value="[0-9]{3}"/>
</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.