HL7® FHIR® New Zealand Base Implementation Guide
3.0.0 - Release

HL7® FHIR® New Zealand Base Implementation Guide - Local Development build (v3.0.0). 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 -------------------------------------------------------------------

 a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "patient-nhi"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org.nz/fhir/StructureDefinition/NzPatient"^^xsd:anyURI ;
fhir:link <http://hl7.org.nz/fhir/StructureDefinition/NzPatient>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>John Doe</b> male, DoB: 1998-01-01 ( id: activeIdent (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>id: dormant (use: OLD)</li><li>id: dormant2 (use: OLD)</li><li>id: other system id (use: OFFICIAL)</li><li>id: other system id2 (use: TEMP)</li></ul></td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:system [ fhir:v "https://standards.digital.health.nz/ns/nhi-id"^^xsd:anyURI ] ;
fhir:value [ fhir:v "activeIdent" ]
  ] [
fhir:use [ fhir:v "old" ] ;
fhir:system [ fhir:v "https://standards.digital.health.nz/ns/nhi-id"^^xsd:anyURI ] ;
fhir:value [ fhir:v "dormant" ]
  ] [
fhir:use [ fhir:v "old" ] ;
fhir:system [ fhir:v "https://standards.digital.health.nz/ns/nhi-id"^^xsd:anyURI ] ;
fhir:value [ fhir:v "dormant2" ]
  ] [
fhir:use [ fhir:v "official" ] ;
fhir:system [ fhir:v "https://example.com/mysystem"^^xsd:anyURI ] ;
fhir:value [ fhir:v "other system id" ]
  ] [
fhir:use [ fhir:v "temp" ] ;
fhir:system [ fhir:v "https://example.com/mysystem"^^xsd:anyURI ] ;
fhir:value [ fhir:v "other system id2" ]
  ] ) ; # 
  fhir:name ( [
fhir:text [ fhir:v "John Doe" ] ;
fhir:family [ fhir:v "Doe" ] ;
    ( fhir:given [ fhir:v "John" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1998-01-01"^^xsd:date] . #