@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/vrdr/Observation/DeathDateUT-Example1> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "DeathDateUT-Example1"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-death-date"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-death-date>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  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: Observation DeathDateUT-Example1</b></p><a name=\"DeathDateUT-Example1\"> </a><a name=\"hcDeathDateUT-Example1\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-vrdr-death-date.html\">Death Date</a></p></div><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-DecedentUT-Example1.html\">Davis Lineberry (official) Male, DoB: 2021-03-04 ( Social Security number)</a></p><p><b>effective</b>: 2022-01-17 20:23:00-0500</p><p><b>performer</b>: <a href=\"Practitioner-PractitionerUT-Pronouncer.html\">Practitioner Marcus Edwin Welby (official)</a></p><p><b>value</b>: <code>Partial Date Time Vital Records: </code></p><h3>Components</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://loinc.org 58332-8}\">Location of death</span></td><td><span title=\"Codes:{http://snomed.info/sct 16983000}\">Death in hospital</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:81956-5 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "81956-5" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/us/vrdr/Patient/DecedentUT-Example1> ;
     fhir:reference [ fhir:v "Patient/DecedentUT-Example1" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2022-01-17T20:23:00-05:00"^^xsd:dateTime
  ] ; # 
  fhir:performer ( [
     fhir:l <http://hl7.org/fhir/us/vrdr/Practitioner/PractitionerUT-Pronouncer> ;
     fhir:reference [ fhir:v "Practitioner/PractitionerUT-Pronouncer" ]
  ] ) ; # 
  fhir:value [
     a fhir:DateTime ;
     fhir:extension ( [
       fhir:extension ( [
         fhir:url [
           fhir:v "year"^^xsd:anyURI ;
           fhir:l fhir:year
         ] ;
         fhir:value [
           a fhir:UnsignedInt ;
           fhir:v "2022"^^xsd:nonNegativeInteger
         ]
       ] [
         fhir:url [
           fhir:v "month"^^xsd:anyURI ;
           fhir:l fhir:month
         ] ;
         fhir:value [
           a fhir:UnsignedInt ;
           fhir:v "1"^^xsd:nonNegativeInteger
         ]
       ] [
         fhir:url [
           fhir:v "day"^^xsd:anyURI ;
           fhir:l fhir:day
         ] ;
         fhir:value [
           a fhir:UnsignedInt ;
           fhir:v "17"^^xsd:nonNegativeInteger
         ]
       ] [
         fhir:url [
           fhir:v "time"^^xsd:anyURI ;
           fhir:l fhir:time
         ] ;
         fhir:value [
           a fhir:Time ;
           fhir:v "18:23:00"^^xsd:time
         ]
       ] ) ;
       fhir:url [
         fhir:v "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-partial-date-time-vr"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-partial-date-time-vr>
       ]
     ] )
  ] ; # 
  fhir:component ( [
     fhir:code [
       fhir:coding ( [
         a loinc:58332-8 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "58332-8" ] ;
         fhir:display [ fhir:v "Location of death" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         a sct:16983000 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "16983000" ] ;
         fhir:display [ fhir:v "Death in hospital" ]
       ] )
     ]
  ] ) . # 

<http://hl7.org/fhir/us/vrdr/Patient/DecedentUT-Example1> a fhir:Us .

<http://hl7.org/fhir/us/vrdr/Practitioner/PractitionerUT-Pronouncer> a fhir:Us .

# -------------------------------------------------------------------------------------

