@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/us/vr-common-library/Observation/observation-partial-date-time-example> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "observation-partial-date-time-example"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  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: Observation observation-partial-date-time-example</b></p><a name=\"observation-partial-date-time-example\"> </a><a name=\"hcobservation-partial-date-time-example\"> </a><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 81956-5}\">Date+time of death</span></p><p><b>subject</b>: A subject</p><p><b>effective</b>: 2020-11-12 16:39:40-0500</p><p><b>performer</b>: A Performer</p><p><b>value</b>: 2020-11</p></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:display [ fhir:v "Date+time of death" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:display [ fhir:v "A subject" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2020-11-12T16:39:40-05:00"^^xsd:dateTime
  ] ; # 
  fhir:performer ( [
     fhir:display [ fhir:v "A Performer" ]
  ] ) ; # 
  fhir:value [
     a fhir:DateTime ;
     fhir:v "2020-11"^^xsd:gYearMonth ;
     fhir:extension ( [
       fhir:extension ( [
         fhir:url [
           fhir:v "day"^^xsd:anyURI ;
           fhir:l fhir:day
         ] ;
         fhir:value [
           a fhir:UnsignedInt ;
           fhir:extension ( [
             fhir:url [
               fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/data-absent-reason>
             ] ;
             fhir:value [
               a fhir:Code ;
               fhir:v "unknown"
             ]
           ] )
         ]
       ] [
         fhir:url [
           fhir:v "month"^^xsd:anyURI ;
           fhir:l fhir:month
         ] ;
         fhir:value [
           a fhir:UnsignedInt ;
           fhir:v "11"^^xsd:nonNegativeInteger
         ]
       ] [
         fhir:url [
           fhir:v "year"^^xsd:anyURI ;
           fhir:l fhir:year
         ] ;
         fhir:value [
           a fhir:UnsignedInt ;
           fhir:v "2020"^^xsd:nonNegativeInteger
         ]
       ] [
         fhir:url [
           fhir:v "time"^^xsd:anyURI ;
           fhir:l fhir:time
         ] ;
         fhir:value [
           a fhir:Time ;
           fhir:v "12:13:14"^^xsd:time ;
           fhir:extension ( [
             fhir:url [
               fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ;
               fhir:l <http://hl7.org/fhir/StructureDefinition/data-absent-reason>
             ] ;
             fhir:value [
               a fhir:Code ;
               fhir:v "unknown"
             ]
           ] )
         ]
       ] ) ;
       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>
       ]
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

