STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Observation-example-sample-data.xml

Raw XML (canonical form)

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

<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 with Details</b></p><p><b>id</b>: ekg</p><p><b>status</b>: final</p><p><b>category</b>: Procedure <span>(Details : {http://hl7.org/fhir/observation-category code 'procedure' = 'Procedure', given
           as 'Procedure'})</span></p><p><b>code</b>: MDC_ECG_ELEC_POTL <span>(Details : {urn:oid:2.16.840.1.113883.6.24 code '131328' = '131328', given as 'MDC_ECG_ELEC_POTL'})</span></p><p><b>subject</b>: <a>P. van de Heuvel</a></p><p><b>effective</b>: 19/02/2015 9:30:35 AM</p><p><b>performer</b>: <a>A. Langeveld</a></p><p><b>device</b>: 12 lead EKG Device Metric</p><blockquote><p><b>component</b></p><p><b>code</b>: MDC_ECG_ELEC_POTL_I <span>(Details : {urn:oid:2.16.840.1.113883.6.24 code '131329' = '131329', given as 'MDC_ECG_ELEC_POTL_I'}
            )</span></p><p><b>value</b>: Origin: (system = '[not stated]' code null = 'null'), Period: 10, 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>(Details : {urn:oid:2.16.840.1.113883.6.24 code '131330' = '131330', given as 'MDC_ECG_ELEC_POTL_II'
            })</span></p><p><b>value</b>: Origin: (system = '[not stated]' code null = 'null'), Period: 10, 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>(Details : {urn:oid:2.16.840.1.113883.6.24 code '131389' = '131389', given as 'MDC_ECG_ELEC_POTL_III
            '})</span></p><p><b>value</b>: Origin: (system = '[not stated]' code null = 'null'), Period: 10, 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://hl7.org/fhir/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    -->
      <period value="10"/>
      <!--     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    -->
      <period value="10"/>
      <!--     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    -->
      <period value="10"/>
      <!--     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.