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

Vital Records Common Library (VRCL) FHIR Implementation Guide, 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 - XML Representation

Raw xml | Download


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