Example ValueSet/iso3166-1-2 (Turtle)
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
# - resource -------------------------------------------------------------------
[] a fhir:ValueSet;
fhir:Resource.id [ fhir:value "iso3166-1-2"];
fhir:Resource.meta [
fhir:Meta.lastUpdated [ fhir:value "2022-12-14T07:12:54.019+11:00" ];
fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablevalueset" ]
];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ]
];
fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/ValueSet/iso3166-1-2"];
fhir:CanonicalResource.version [ fhir:value "5.0.0-snapshot3"];
fhir:CanonicalResource.name [ fhir:value "Iso316612"];
fhir:CanonicalResource.title [ fhir:value "Iso 3166 Part 1: 2 Letter Codes"];
fhir:CanonicalResource.status [ fhir:value "active"];
fhir:CanonicalResource.experimental [ fhir:value "false"];
fhir:CanonicalResource.publisher [ fhir:value "FHIR Project team"];
fhir:CanonicalResource.contact [
fhir:ContactDetail.telecom [
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
]
];
fhir:CanonicalResource.description [ fhir:value "This value set defines the ISO 3166 Part 1 2-letter codes"];
fhir:ValueSet.url [ fhir:value "http://hl7.org/fhir/ValueSet/iso3166-1-2"];
fhir:ValueSet.version [ fhir:value "5.0.0-snapshot3"];
fhir:ValueSet.name [ fhir:value "Iso316612"];
fhir:ValueSet.title [ fhir:value "Iso 3166 Part 1: 2 Letter Codes"];
fhir:ValueSet.status [ fhir:value "active"];
fhir:ValueSet.experimental [ fhir:value "false"];
fhir:ValueSet.publisher [ fhir:value "FHIR Project team"];
fhir:ValueSet.contact [
fhir:ContactDetail.telecom [
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
]
];
fhir:ValueSet.description [ fhir:value "This value set defines the ISO 3166 Part 1 2-letter codes"];
fhir:ValueSet.compose [
fhir:ValueSetComposeComponent.include [
fhir:ConceptSetComponent.system [ fhir:value "urn:iso:std:iso:3166" ];
fhir:ConceptSetComponent.filter [
fhir:ConceptSetFilterComponent.property [ fhir:value "code" ];
fhir:ConceptSetFilterComponent.op [ fhir:value "regex" ];
fhir:ConceptSetFilterComponent.value [ fhir:value "[A-Z]{2}" ]
]
]
] .
# -------------------------------------------------------------------------------------
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.