@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

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

[] a fhir:NamingSystem;
  fhir:Resource.id [ fhir:value "ISO3166Part2"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-NamingSystem.url" ];
     fhir:Extension.value [ fhir:value "http://terminology.hl7.org/NamingSystem/ISO3166Part2" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-NamingSystem.version" ];
     fhir:Extension.value [ fhir:value "1.0.0" ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-NamingSystem.title" ];
     fhir:Extension.value [ fhir:value "ISO 3166-2 Codes for the representation of names of countries and their subdivisions — Part 2: Country subdivision code" ]
  ];
  fhir:NamingSystem.name [ fhir:value "ISO3166Part2"];
  fhir:NamingSystem.status [ fhir:value "active"];
  fhir:NamingSystem.kind [ fhir:value "codesystem"];
  fhir:NamingSystem.date [ fhir:value "2022-08-23T00:00:00-00:00"];
  fhir:NamingSystem.publisher [ fhir:value "International Organization for Standardization (ISO)"];
  fhir:NamingSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "International Organization for Standardization (ISO)" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "https://www.iso.org/" ]
     ]
  ];
  fhir:NamingSystem.responsible [ fhir:value "International Organization for Standardization (ISO)"];
  fhir:NamingSystem.description [ fhir:value "ISO 3166-2 establishes a code that represents the names of the principal administrative divisions, or similar areas, of the countries and entities included in ISO 3166-1."];
  fhir:NamingSystem.uniqueId [
     fhir:index 0;
     fhir:NamingSystem.type [ fhir:value "oid" ];
     fhir:NamingSystem.value [ fhir:value "urn:oid:1.0.3166.2" ];
     fhir:NamingSystem.preferred [ fhir:value "true" ]
  ], [
     fhir:index 1;
     fhir:NamingSystem.type [ fhir:value "uri" ];
     fhir:NamingSystem.value [ fhir:value "urn:iso:std:iso:3166:-2" ];
     fhir:NamingSystem.preferred [ fhir:value "true" ]
  ] .

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

