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-nhi - 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-nhi> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "patient-nhi"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org.nz/fhir/StructureDefinition/NzPatient" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org.nz/fhir/StructureDefinition/NzPatient>
     ]
  ] ;
  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-nhi</b></p><a name=\"patient-nhi\"> </a><a name=\"hcpatient-nhi\"> </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=\"StructureDefinition-NzPatient.html\">NZ Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">John Doe Male, DoB: 1998-01-01 ( https://example.com/mysystem#other system id (use: official, ))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\"><ul><li><a href=\"NamingSystem-nhi-id.html\" title=\"NHI number\">NHI</a>/activeIdent (use: official, )</li><li><a href=\"NamingSystem-nhi-id.html\" title=\"NHI number\">NHI</a>/dormant (use: old, )</li><li><a href=\"NamingSystem-nhi-id.html\" title=\"NHI number\">NHI</a>/dormant2 (use: old, )</li><li><code>https://example.com/mysystem</code>/other system id2 (use: temp, )</li></ul></td></tr></table></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
     fhir:Identifier.value [ fhir:value "activeIdent" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.use [ fhir:value "old" ] ;
     fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
     fhir:Identifier.value [ fhir:value "dormant" ]
  ], [
     fhir:index 2 ;
     fhir:Identifier.use [ fhir:value "old" ] ;
     fhir:Identifier.system [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
     fhir:Identifier.value [ fhir:value "dormant2" ]
  ], [
     fhir:index 3 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.system [ fhir:value "https://example.com/mysystem" ] ;
     fhir:Identifier.value [ fhir:value "other system id" ]
  ], [
     fhir:index 4 ;
     fhir:Identifier.use [ fhir:value "temp" ] ;
     fhir:Identifier.system [ fhir:value "https://example.com/mysystem" ] ;
     fhir:Identifier.value [ fhir:value "other system id2" ]
  ] ;
  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-nhi.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Patient/patient-nhi.ttl> .