@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/Practitioner/practitioner-death-date> a fhir:Practitioner ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "practitioner-death-date"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Practitioner practitioner-death-date</b></p><a name=\"practitioner-death-date\"> </a><a name=\"hcpractitioner-death-date\"> </a><blockquote><p><b>Date of death</b></p><ul><li>date: 2021-01-01</li><li>source: <span title=\"Codes:{https://standards.digital.health.nz/ns/information-source-code DREG}\">Death Register</span></li></ul></blockquote><p><b>name</b>: Marcus Welby</p><p><b>gender</b>: Male</p><p><b>birthDate</b>: 1998-01-01</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "date"^^xsd:anyURI ;
         fhir:l fhir:date
       ] ;
       fhir:value [
         a fhir:DateTime ;
         fhir:v "2021-01-01"^^xsd:date
       ]
     ] [
       fhir:url [
         fhir:v "source"^^xsd:anyURI ;
         fhir:l fhir:source
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "https://standards.digital.health.nz/ns/information-source-code"^^xsd:anyURI ;
             fhir:l <https://standards.digital.health.nz/ns/information-source-code>
           ] ;
           fhir:code [ fhir:v "DREG" ]
         ] )
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org.nz/fhir/StructureDefinition/death-date"^^xsd:anyURI ;
       fhir:l <http://hl7.org.nz/fhir/StructureDefinition/death-date>
     ]
  ] ) ; # 
  fhir:name ( [
     fhir:text [ fhir:v "Marcus Welby" ] ;
     fhir:family [ fhir:v "Welby" ] ;
     fhir:given ( [ fhir:v "Marcus" ] )
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1998-01-01"^^xsd:date] . # 

# -------------------------------------------------------------------------------------

