@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/vrdr/Observation/DeathDate-Example4> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "DeathDate-Example4"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-death-date"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-death-date>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation DeathDate-Example4</b></p><a name=\"DeathDate-Example4\"> </a><a name=\"hcDeathDate-Example4\"> </a><a name=\"DeathDate-Example4-en-US\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 81956-5}\">Date and time of death [TimeStamp]</span></p><p><b>subject</b>: <a href=\"Patient-Decedent-Example1.html\">Madelyn Patel (official) Female, DoB: 1978-03-12 ( Social Beneficiary Identifier: SSN#987654321)</a></p><p><b>effective</b>: 2020-11-12 16:39:40-0500</p><p><b>performer</b>: <a href=\"Practitioner-Pronouncer-Example1.html\">Practitioner Jane Purple (official)</a></p><p><b>value</b>: <code>Partial Date Time Vital Records: </code></p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 80616-6}\">Date and time pronounced dead [US Standard Certificate of Death]</span></p><p><b>value</b>: 16:39:40</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 58332-8}\">Location of death</span></p><p><b>value</b>: <span title=\"Codes:{http://snomed.info/sct 16983000}\">Death in hospital</span></p></blockquote></div>"
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:81956-5 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "81956-5" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://hl7.org/fhir/us/vrdr/Patient/Decedent-Example1> ;
     fhir:reference [ fhir:v "Patient/Decedent-Example1" ]
  ] ; # 
  fhir:effective [ fhir:v "2020-11-12T16:39:40-05:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:link <http://hl7.org/fhir/us/vrdr/Practitioner/Pronouncer-Example1> ;
     fhir:reference [ fhir:v "Practitioner/Pronouncer-Example1" ]
  ] ) ; # 
  fhir:value [
     a fhir:dateTime ;
     fhir:extension ( [
       fhir:extension ( [
         fhir:url [ fhir:v "day"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:unsignedInt ;
           fhir:extension ( [
             fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ] ;
             fhir:value [ fhir:v "unknown" ]
           ] )
         ]
       ] [
         fhir:url [ fhir:v "year"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "2020"^^xsd:nonNegativeInteger ]
       ] [
         fhir:url [ fhir:v "month"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "11"^^xsd:nonNegativeInteger ]
       ] [
         fhir:url [ fhir:v "time"^^xsd:anyURI ] ;
         fhir:value [
           fhir:v "12:13:14"^^xsd:time ;
           fhir:extension ( [
             fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ] ;
             fhir:value [ fhir:v "unknown" ]
           ] )
         ]
       ] ) ;
       fhir:url [ fhir:v "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-partial-date-time-vr"^^xsd:anyURI ]
     ] )
  ] ; # 
  fhir:component ( [
     fhir:code [
       fhir:coding ( [
         a loinc:80616-6 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "80616-6" ]
       ] )
     ] ;
     fhir:value [ fhir:v "16:39:40"^^xsd:time ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:58332-8 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "58332-8" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         a sct:16983000 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "16983000" ] ;
         fhir:display [ fhir:v "Death in hospital" ]
       ] )
     ]
  ] ) . # 

<http://hl7.org/fhir/us/vrdr/Patient/Decedent-Example1> a fhir:us .

<http://hl7.org/fhir/us/vrdr/Practitioner/Pronouncer-Example1> a fhir:us .

# -------------------------------------------------------------------------------------

