@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org.nz/fhir/Patient/patient-address-building-name> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "patient-address-building-name"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient patient-address-building-name</b></p><a name=\"patient-address-building-name\"> </a><a name=\"hcpatient-address-building-name\"> </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=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">23 thule st NZL </td></tr><tr><td style=\"background-color: #f3f5da\" title=\"District Health Board relating to a NZ Healthcare Service, Location (Facility) or Patient (primary, physical home address).\"><a href=\"StructureDefinition-dhb.html\">District Health Board linked to a NZ Healthcare Service, Location or Patient</a></td><td colspan=\"3\"><span title=\"Codes:{https://standards.digital.health.nz/ns/dhb-code G00026-A}\">Northland District Health Board</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org.nz/fhir/StructureDefinition/dhb"^^xsd:anyURI ;
       fhir:l <http://hl7.org.nz/fhir/StructureDefinition/dhb>
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "https://standards.digital.health.nz/ns/dhb-code"^^xsd:anyURI ;
           fhir:l <https://standards.digital.health.nz/ns/dhb-code>
         ] ;
         fhir:code [ fhir:v "G00026-A" ] ;
         fhir:display [ fhir:v "Northland District Health Board" ]
       ] )
     ]
  ] ) ; # 
  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] ; # 
  fhir:address ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "http://hl7.org.nz/fhir/StructureDefinition/building-name"^^xsd:anyURI ;
         fhir:l <http://hl7.org.nz/fhir/StructureDefinition/building-name>
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "Big Red Shed"
       ]
     ] ) ;
     fhir:line ( [ fhir:v "23 thule st" ] ) ;
     fhir:country [ fhir:v "NZL" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

