@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-nz-ethnicity> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "patient-nz-ethnicity"] ; # 
  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-nz-ethnicity</b></p><a name=\"patient-nz-ethnicity\"> </a><a name=\"hcpatient-nz-ethnicity\"> </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=\"The ethnic group or groups that a person identifies with or feels they belong to.  Ethnicity is a measure of cultural affiliation as opposed to race, ancestry, nationality or citizen.  Ethnicity is self-perceived and a person can belong to more than one group.#xA;#xA;The Stats New Zealand standard can be found [here](http://aria.stats.govt.nz/aria/#ClassificationView:uri=http://stats.govt.nz/cms/ClassificationVersion/YVqOcFHSlguKkT17).\"><a href=\"StructureDefinition-nz-ethnicity.html\">NZ Ethnicity</a></td><td colspan=\"3\"><ul><li><span title=\"Codes:{https://standards.digital.health.nz/ns/ethnic-group-level-4-code 21111}\">Māori</span></li><li><span title=\"Codes:{https://standards.digital.health.nz/ns/ethnic-group-level-4-code 12116}\">Irish</span></li></ul></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity"^^xsd:anyURI ;
       fhir:l <http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity>
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "https://standards.digital.health.nz/ns/ethnic-group-level-4-code"^^xsd:anyURI ;
           fhir:l <https://standards.digital.health.nz/ns/ethnic-group-level-4-code>
         ] ;
         fhir:code [ fhir:v "21111" ] ;
         fhir:display [ fhir:v "Māori" ]
       ] )
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity"^^xsd:anyURI ;
       fhir:l <http://hl7.org.nz/fhir/StructureDefinition/nz-ethnicity>
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "https://standards.digital.health.nz/ns/ethnic-group-level-4-code"^^xsd:anyURI ;
           fhir:l <https://standards.digital.health.nz/ns/ethnic-group-level-4-code>
         ] ;
         fhir:code [ fhir:v "12116" ] ;
         fhir:display [ fhir:v "Irish" ]
       ] )
     ]
  ] ) ; # 
  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] . # 

# -------------------------------------------------------------------------------------

