Vital Records Common Library (VRCL) STU2-ballot
2.0.0 - trial-use United States of America flag

Vital Records Common Library (VRCL) STU2-ballot, published by HL7 International / Public Health. This guide is not an authorized publication; it is the continuous build for version 2.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/vr-common-library/ and changes regularly. See the Directory of published versions

: Observation - Partial Date Time Extension example - TTL Representation

Raw ttl | Download


@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "observation-partial-date-time-example"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"observation-partial-date-time-example\"> </a><a name=\"hcobservation-partial-date-time-example\"> </a></p><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\">Resource Observation &quot;observation-partial-date-time-example&quot; </p></div><p><b>status</b>: final</p><p><b>code</b>: Date+time of death <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#81956-5)</span></p><p><b>subject</b>: <span>: A subject</span></p><p><b>effective</b>: 2020-11-12 16:39:40-0500</p><p><b>performer</b>: <span>: A Performer</span></p><p><b>value</b>: 2020-11</p></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:display [ fhir:v "Date+time of death" ]     ] )
  ] ; # 
  fhir:subject [
fhir:display [ fhir:v "A subject" ]
  ] ; # 
  fhir:effective [ fhir:v "2020-11-12T16:39:40-05:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
fhir:display [ fhir:v "A Performer" ]
  ] ) ; # 
  fhir:value [
fhir:v "2020-11"^^xsd:gYearMonth ;
    ( 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 "month"^^xsd:anyURI ] ;
fhir:value [ fhir:v "11"^^xsd:nonNegativeInteger ]       ] [
fhir:url [ fhir:v "year"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2020"^^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 ]     ] )
  ] . #