R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example Observation/ekg (XML)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

EKG Example using SampledData data type (id = "ekg")

<?xml version="1.0" encoding="UTF-8"?>

<Observation xmlns="http://hl7.org/fhir">
  <id value="ekg"/> 
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: Observation</b> <a name="ekg"> </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;ekg&quot; </p> </div> <p> <b> status</b> : final</p> <p> <b> category</b> : Procedure <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.4.0/CodeSystem-observation-category.html">Observation Category Codes</a> #procedure)</span> </p> <p> <b> code</b> : MDC_ECG_ELEC_POTL <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (unknown#131328)</span> </p> <p> <b> subject</b> : <a href="patient-example-f001-pieter.html">Patient/f001: P. van de Heuvel</a>  &quot;Pieter VAN DE HEUVEL&quot;</p> <p> <b> effective</b> : 2015-02-19T09:30:35+01:00</p> <p> <b> performer</b> : <a href="practitioner-example-f005-al.html">Practitioner/f005: A. Langeveld</a>  &quot;Langeveld ANNE&quot;</p> <p> <b> device</b> : <span> : 12 lead EKG Device Metric</span> </p> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : MDC_ECG_ELEC_POTL_I <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (unknown#131329)</span> </p> <p> <b> value</b> : Origin: 2048, Interval: 10, ms, Factor: 1.612, Lower: -3300, Upper: 3300, Dimensions:
           1, Data: 2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047
           2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166
           2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054
           2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148
           2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081
           2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063
           2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048
           2051 2059 2059 2066 2077 2073</p> </blockquote> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : MDC_ECG_ELEC_POTL_II <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (unknown#131330)</span> </p> <p> <b> value</b> : Origin: 2048, Interval: 10, ms, Factor: 1.612, Lower: -3300, Upper: 3300, Dimensions:
           1, Data: 2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047
           2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166
           2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054
           2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148
           2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081
           2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063
           2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048
           2051 2059 2059 2066 2077 2073</p> </blockquote> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : MDC_ECG_ELEC_POTL_III <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (unknown#131389)</span> </p> <p> <b> value</b> : Origin: 2048, Interval: 10, ms, Factor: 1.612, Lower: -3300, Upper: 3300, Dimensions:
           1, Data: 2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047
           2047 2053 2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166
           2137 2102 2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054
           2042 2029 2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148
           2137 2138 2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081
           2088 2092 2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063
           2058 2058 2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048
           2051 2059 2059 2066 2077 2073</p> </blockquote> </div> </text> <status value="final"/> 
  <category> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> 
      <code value="procedure"/> 
      <display value="Procedure"/> 
    </coding> 
  </category> 
  <code> 
    <coding> 
      <system value="urn:oid:2.16.840.1.113883.6.24"/> 
      <code value="131328"/> 
      <display value="MDC_ECG_ELEC_POTL"/> 
    </coding> 
  </code> 
  <subject> 
    <reference value="Patient/f001"/> 
    <display value="P. van de Heuvel"/> 
  </subject> 
  <effectiveDateTime value="2015-02-19T09:30:35+01:00"/> 
  <performer> 
    <reference value="Practitioner/f005"/> 
    <display value="A. Langeveld"/> 
  </performer> 
  <device> 
    <display value="12 lead EKG Device Metric"/> 
  </device> 
      <!--    Lead I data chunk 0    -->
  <component> 
    <code> 
      <coding> 
        <system value="urn:oid:2.16.840.1.113883.6.24"/> 
        <code value="131329"/> 
        <display value="MDC_ECG_ELEC_POTL_I"/> 
      </coding> 
    </code> 
    <valueSampledData> 
          <!--    Zero potential    -->
      <origin> 
        <value value="2048"/> 
      </origin> 
          <!--    period in ms = 1000/frequency    -->
      <interval value="10"/> 
      <intervalUnit value="ms"/> 
          <!--     factor.value    -->
      <factor value="1.612"/> 
          <!--     voltage-min    -->
      <lowerLimit value="-3300"/> 
          <!--     voltage-max    -->
      <upperLimit value="3300"/> 
      <dimensions value="1"/> 
      <data value="2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053
       2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102
       2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029
       2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138
       2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092
       2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058
       2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059
       2059 2066 2077 2073"/> 
    </valueSampledData> 
  </component> 
      <!--    Lead II data chunk 0    -->
  <component> 
    <code> 
      <coding> 
        <system value="urn:oid:2.16.840.1.113883.6.24"/> 
        <code value="131330"/> 
        <display value="MDC_ECG_ELEC_POTL_II"/> 
      </coding> 
    </code> 
    <valueSampledData> 
          <!--    Zero potential    -->
      <origin> 
        <value value="2048"/> 
      </origin> 
          <!--    period in ms = 1000/frequency    -->
      <interval value="10"/> 
      <intervalUnit value="ms"/> 
          <!--     factor.value    -->
      <factor value="1.612"/> 
          <!--     voltage-min    -->
      <lowerLimit value="-3300"/> 
          <!--     voltage-max    -->
      <upperLimit value="3300"/> 
      <dimensions value="1"/> 
      <data value="2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053
       2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102
       2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029
       2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138
       2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092
       2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058
       2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059
       2059 2066 2077 2073"/> 
    </valueSampledData> 
  </component> 
      <!--    Lead III data chunk 0    -->
  <component> 
    <code> 
      <coding> 
        <system value="urn:oid:2.16.840.1.113883.6.24"/> 
        <code value="131389"/> 
        <display value="MDC_ECG_ELEC_POTL_III"/> 
      </coding> 
    </code> 
    <valueSampledData> 
          <!--    Zero potential    -->
      <origin> 
        <value value="2048"/> 
      </origin> 
          <!--    period in ms = 1000/frequency    -->
      <interval value="10"/> 
      <intervalUnit value="ms"/> 
          <!--     factor.value    -->
      <factor value="1.612"/> 
          <!--     voltage-min    -->
      <lowerLimit value="-3300"/> 
          <!--     voltage-max    -->
      <upperLimit value="3300"/> 
      <dimensions value="1"/> 
      <data value="2041 2043 2037 2047 2060 2062 2051 2023 2014 2027 2034 2033 2040 2047 2047 2053
       2058 2064 2059 2063 2061 2052 2053 2038 1966 1885 1884 2009 2129 2166 2137 2102
       2086 2077 2067 2067 2060 2059 2062 2062 2060 2057 2045 2047 2057 2054 2042 2029
       2027 2018 2007 1995 2001 2012 2024 2039 2068 2092 2111 2125 2131 2148 2137 2138
       2128 2128 2115 2099 2097 2096 2101 2101 2091 2073 2076 2077 2084 2081 2088 2092
       2070 2069 2074 2077 2075 2068 2064 2060 2062 2074 2075 2074 2075 2063 2058 2058
       2064 2064 2070 2074 2067 2060 2062 2063 2061 2059 2048 2052 2049 2048 2051 2059
       2059 2066 2077 2073"/> 
    </valueSampledData> 
  </component> 
</Observation> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.