Release 5 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v5.0.0: R5 - STU ). This is the current published version in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4

Example ValueSet/iso3166-1-2 (XML)

Maturity Level : N/A
Responsible Owner: Terminology Infrastructure Work Group Standards Status : Informative

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="2025-11-27T16:48:47.349+00:00"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b> Generated Narrative: ValueSet iso3166-1-2</b> 
      </p> 
      <a name="iso3166-1-2"> </a> 
      <a name="hciso3166-1-2"> </a> 
      <ul> 
        Include codes from 
          
            
           where code  matches (by regex)  [A-Z]{2}

        <li> Include codes from
          <code> urn:iso:std:iso:3166</code> 
          <span title="Version is not explicity stated. No matching Code System found"> version Not Stated (use latest from terminology server)</span>  where code  matches (by regex) [A-Z]{2}
        </li> 
      </ul> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="informative"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1"/> 
  </extension> 
  <url value="http://hl7.org/fhir/ValueSet/iso3166-1-2"/> 
  

  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.3.3351"/> 
  </identifier> 
  <version value="6.0.0-ballot3"/> 
  <name value="Iso316612"/> 
  <title value="Iso 3166 Part 1: 2 Letter Codes"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  

  <publisher value="HL7 International / FHIR Infrastructure"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      

      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
    </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.