HL7® FHIR® New Zealand Base Implementation Guide
3.1.0 - Draft

HL7® FHIR® New Zealand Base Implementation Guide, published by HL7 New Zealand. This guide is not an authorized publication; it is the continuous build for version 3.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7NZ/nzbase/ and changes regularly. See the Directory of published versions

: patient-nz-residency - 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 -------------------------------------------------------------------

<http://hl7.org/fhir/Patient/patient-nz-residency> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "patient-nz-residency"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient patient-nz-residency</b></p><a name=\"patient-nz-residency\"> </a><a name=\"hcpatient-nz-residency\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">John Doe Male, DoB: 1998-01-01</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"NZ Residency status\">null:</td><td colspan=\"3\"><ul><li>status: <span title=\"Codes:{https://standards.digital.health.nz/ns/nz-residency-code yes}\">Permanent Resident</span></li><li>source: <span title=\"Codes:{https://standards.digital.health.nz/ns/information-source-code BREG}\">Birth Register</span></li></ul></td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "status" ] ;
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/nz-residency-code" ] ;
           fhir:Coding.code [ fhir:value "yes" ] ;
           fhir:Coding.display [ fhir:value "Permanent Resident" ]
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Extension.url [ fhir:value "source" ] ;
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "https://standards.digital.health.nz/ns/information-source-code" ] ;
           fhir:Coding.code [ fhir:value "BREG" ] ;
           fhir:Coding.display [ fhir:value "Birth Register" ]
         ]
       ]
     ] ;
     fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/nz-residency" ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.text [ fhir:value "John Doe" ] ;
     fhir:HumanName.family [ fhir:value "Doe" ] ;
     fhir:HumanName.given [
       fhir:value "John" ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "male"] ;
  fhir:Patient.birthDate [ fhir:value "1998-01-01"^^xsd:date] .

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

<http://hl7.org/fhir/Patient/patient-nz-residency.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Patient/patient-nz-residency.ttl> .