New Zealand HPI Implementation Guide
0.9.0 - CI Build

New Zealand HPI Implementation Guide, published by Ministry of Health. This is not an authorized publication; it is the continuous build for version 0.9.0). This version is based on the current content of https://github.com/HL7NZ/hpi/ and changes regularly. See the Directory of published versions

: ISO 3166-1:2013 (2-alpha country code) - TTL Representation

Raw ttl | Download


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

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

 a fhir:ValueSet;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "Hpi-country-code-iso-3166-1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/shareablevalueset";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablevalueset>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This value set includes codes based on the following rules:</p><ul><li>Include codes from <a href=\"CodeSystem-Iso3166-1-2013.html\"><code>urn:iso:std:iso:3166</code></a> where code  matches (by regex)  [A-Z]{2}</li><li>Include these codes as defined in <a href=\"CodeSystem-Hpi-country-code.html\"><code>https://standards.digital.health.nz/ns/country-code</code></a><table class=\"none\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td><a href=\"CodeSystem-Hpi-country-code.html#Hpi-country-code-XK\">XK</a></td><td>Kosovo</td></tr><tr><td><a href=\"CodeSystem-Hpi-country-code.html#Hpi-country-code-ANHH\">ANHH</a></td><td>Netherlands Antilles</td></tr><tr><td><a href=\"CodeSystem-Hpi-country-code.html#Hpi-country-code-CSHH\">CSHH</a></td><td>Czechoslavakia</td></tr><tr><td><a href=\"CodeSystem-Hpi-country-code.html#Hpi-country-code-ZRHH\">ZRHH</a></td><td>Zaire</td></tr></table></li></ul></div>"
  ];
  fhir:ValueSet.url [ fhir:value "https://nzhts.digital.health.nz/fhir/ValueSet/country-code"];
  fhir:ValueSet.version [ fhir:value "0.9.0"];
  fhir:ValueSet.name [ fhir:value "Hpi_country_code_iso_3166_1"];
  fhir:ValueSet.title [ fhir:value "ISO 3166-1:2013 (2-alpha country code)"];
  fhir:ValueSet.status [ fhir:value "active"];
  fhir:ValueSet.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:ValueSet.date [ fhir:value "2020-02-24T00:00:00+13:00"^^xsd:dateTime];
  fhir:ValueSet.publisher [ fhir:value "Ministry of Health"];
  fhir:ValueSet.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "Ministry of Health" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "mailto:integration@health.govt.nz" ]     ]
  ];
  fhir:ValueSet.description [ fhir:value "2-alpha country codes"];
  fhir:ValueSet.purpose [ fhir:value "A coded value for country."];
  fhir:ValueSet.compose [
     fhir:ValueSet.compose.include [
       fhir:index 0;
       fhir:ValueSet.compose.include.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:ValueSet.compose.include.version [ fhir:value "2013" ];
       fhir:ValueSet.compose.include.filter [
         fhir:index 0;
         fhir:ValueSet.compose.include.filter.property [ fhir:value "code" ];
         fhir:ValueSet.compose.include.filter.op [ fhir:value "regex" ];
         fhir:ValueSet.compose.include.filter.value [ fhir:value "[A-Z]{2}" ]       ]     ], [
       fhir:index 1;
       fhir:ValueSet.compose.include.system [ fhir:value "https://standards.digital.health.nz/ns/country-code" ];
       fhir:ValueSet.compose.include.concept [
         fhir:index 0;
         fhir:ValueSet.compose.include.concept.code [ fhir:value "XK" ]       ], [
         fhir:index 1;
         fhir:ValueSet.compose.include.concept.code [ fhir:value "ANHH" ]       ], [
         fhir:index 2;
         fhir:ValueSet.compose.include.concept.code [ fhir:value "CSHH" ]       ], [
         fhir:index 3;
         fhir:ValueSet.compose.include.concept.code [ fhir:value "ZRHH" ]       ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.