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

HL7® FHIR® New Zealand Base Implementation Guide, published by HL7 New Zealand

: patient-nz-geocode - 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:Resource.id [ fhir:value "patient-nz-geocode"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.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</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 </td></tr></table></div>"
  ];
  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];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "latitude" ];
         fhir:Extension.valueDecimal [ fhir:value "-35.99"^^xsd:decimal ]       ], [
         fhir:index 1;
         fhir:Extension.url [ fhir:value "longitude" ];
         fhir:Extension.valueDecimal [ fhir:value "174.47"^^xsd:decimal ]       ];
       fhir:Extension.url [ fhir:value "http://hl7.org.nz/fhir/StructureDefinition/nz-geocode" ]     ];
     fhir:Address.line [
       fhir:value "23 thule st";
       fhir:index 0     ]
  ].

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

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