Vital Records Common Library (VRCL) FHIR Implementation Guide
2.0.0 - STU2 United States of America flag

This page is part of the Vital Records Common Profile Library (v2.0.0: STU2) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Observation - Partial Date Time Extension example - JSON Representation

Raw json | Download

{
  "resourceType" : "Observation",
  "id" : "observation-partial-date-time-example",
  "text" : {
    "status" : "generated",
    "div" : "<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><a name=\"observation-partial-date-time-example-en-US\"> </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>"
  },
  "status" : "final",
  "code" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "81956-5",
        "display" : "Date+time of death"
      }
    ]
  },
  "subject" : {
    "display" : "A subject"
  },
  "effectiveDateTime" : "2020-11-12T16:39:40-05:00",
  "performer" : [
    {
      "display" : "A Performer"
    }
  ],
  "valueDateTime" : "2020-11",
  "_valueDateTime" : {
    "extension" : [
      {
        "extension" : [
          {
            "url" : "day",
            "_valueUnsignedInt" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
                  "valueCode" : "unknown"
                }
              ]
            }
          },
          {
            "url" : "month",
            "valueUnsignedInt" : 11
          },
          {
            "url" : "year",
            "valueUnsignedInt" : 2020
          },
          {
            "url" : "time",
            "valueTime" : "12:13:14",
            "_valueTime" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
                  "valueCode" : "unknown"
                }
              ]
            }
          }
        ],
        "url" : "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Extension-partial-date-time-vr"
      }
    ]
  }
}