R6 Ballot (3rd Draft) (1st Full Ballot)

Publish-box (todo) This page is part of the FHIR Specification v6.0.0-ballot4: Release 6 Ballot (1st Full Ballot) (see Ballot Notes ). The current version is 5.0.0 . For a full list of available versions, see the Directory of published versions for published versions

Example ValueSet/iso3166-1-2 (Turtle)

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

Raw Turtle (+ also see Turtle/RDF Format Specification )

Definition for Value SetIso 3166 Part 1: 2 Letter Codes

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/ValueSet/iso3166-1-2> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "iso3166-1-2"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2025-04-01T12:16:37.966+11:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/shareablevalueset"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablevalueset>
     ] )

     fhir:lastUpdated [ fhir:v "2025-12-18T07:07:42.170+11:00"^^xsd:dateTime ]

  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<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><a name=\"iso3166-1-2-en-AU\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"shareablevalueset.html\">Shareable ValueSet</a></p></div><ul><li>Include codes from<a href=\"http://terminology.hl7.org/6.2.0/CodeSystem-ISO3166Part1.html\"><code>urn:iso:std:iso:3166</code></a> where code  matches (by regex) [A-Z]{2}</li></ul></div>"^^rdf:XMLLiteral

     fhir:div [ fhir:v "<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><li>Include codes from<a href=\"http://tx.fhir.org/r5\"><code>urn:iso:std:iso:3166</code></a><span style=\"opacity: 0.5\" title=\"Version is not explicitly stated. When building this specification, the most recent version 20210120 has been used\"> version ⏿20210120</span> where code  matches (by regex) [A-Z]{2}</li></ul></div>"^^rdf:XMLLiteral ]

  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;

     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;

     fhir:value [
       a fhir:code ;

       a fhir:Code ;

       fhir:v "fhir"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "informative"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 1
     ]

  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/ValueSet/iso3166-1-2"^^xsd:anyURI] ; # 

  fhir:url [
     fhir:v "http://hl7.org/fhir/ValueSet/iso3166-1-2"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/iso3166-1-2>
  ] ; # 

  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;

     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;

     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.3.3351" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot3"] ; # 

  fhir:version [ fhir:v "6.0.0-ballot4"] ; # 

  fhir:name [ fhir:v "Iso316612"] ; # 
  fhir:title [ fhir:v "Iso 3166 Part 1: 2 Letter Codes"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This value set defines the ISO 3166 Part 1 2-letter codes"] ; # 
  fhir:compose [
     fhir:include ( [
       fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;

       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ] ;

       fhir:filter ( [
         fhir:property [ fhir:v "code" ] ;
         fhir:op [ fhir:v "regex" ] ;
         fhir:value [ fhir:v "[A-Z]{2}" ]
       ] )
     ] )
  ] ; # 
  fhir:expansion [] . # 

# -------------------------------------------------------------------------------------


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.