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

Codesystem-observation-statistics.xml

Raw XML (canonical form)

Definition for Code System StatisticsCode

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="observation-statistics"/>
  <meta>
    <lastUpdated value="2016-12-06T12:22:34.981+11:00"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h2>StatisticsCode</h2>
      <div>
        <p>The statistical operation parameter -&quot;statistic&quot; -  codes</p>

      </div>
      <p>This code system http://hl7.org/fhir/observation-statistics defines the following codes:</p>
      <table class="codes">
        <tr>
          <td>
            <b>Code</b>
          </td>
          <td>
            <b>Display</b>
          </td>
          <td>
            <b>Definition</b>
          </td>
        </tr>
        <tr>
          <td>average
            <a name="observation-statistics-average"> </a>
          </td>
          <td>Average</td>
          <td>The [mean](https://en.wikipedia.org/wiki/Arithmetic_mean) of N measurements over the stated
             period</td>
        </tr>
        <tr>
          <td>maximum
            <a name="observation-statistics-maximum"> </a>
          </td>
          <td>Maximum</td>
          <td>The [maximum](https://en.wikipedia.org/wiki/Maximal_element) value of N measurements over
             the stated period</td>
        </tr>
        <tr>
          <td>minimum
            <a name="observation-statistics-minimum"> </a>
          </td>
          <td>Minimum</td>
          <td>The [minimum](https://en.wikipedia.org/wiki/Minimal_element) value of N measurements over
             the stated period</td>
        </tr>
        <tr>
          <td>count
            <a name="observation-statistics-count"> </a>
          </td>
          <td>Count</td>
          <td>The [number] of valid measurements over the stated period that contributed to the other
             statistical outputs</td>
        </tr>
        <tr>
          <td>totalcount
            <a name="observation-statistics-totalcount"> </a>
          </td>
          <td>Total Count</td>
          <td>The total [number] of valid measurements over the stated period, including observations
             that were ignored because they did not contain valid result values</td>
        </tr>
        <tr>
          <td>median
            <a name="observation-statistics-median"> </a>
          </td>
          <td>Median</td>
          <td>The [median](https://en.wikipedia.org/wiki/Median) of N measurements over the stated period</td>
        </tr>
        <tr>
          <td>std-dev
            <a name="observation-statistics-std-dev"> </a>
          </td>
          <td>standard deviation</td>
          <td>The [standard deviation](https://en.wikipedia.org/wiki/Standard_deviation) of N measurements
             over the stated period</td>
        </tr>
        <tr>
          <td>sum
            <a name="observation-statistics-sum"> </a>
          </td>
          <td>sum</td>
          <td>The [sum](https://en.wikipedia.org/wiki/Summation) of N measurements over the stated period</td>
        </tr>
        <tr>
          <td>variance
            <a name="observation-statistics-variance"> </a>
          </td>
          <td>variance</td>
          <td>The [variance](https://en.wikipedia.org/wiki/Variance) of N measurements over the stated
             period</td>
        </tr>
        <tr>
          <td>%20
            <a name="observation-statistics-.3720"> </a>
          </td>
          <td>20th percentile</td>
          <td>The 20th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over
             the stated period</td>
        </tr>
        <tr>
          <td>%80
            <a name="observation-statistics-.3780"> </a>
          </td>
          <td>80th percentile</td>
          <td>The 80th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over
             the stated period</td>
        </tr>
        <tr>
          <td>4-lower
            <a name="observation-statistics-4-lower"> </a>
          </td>
          <td>lower quartile</td>
          <td>The lower [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements
             over the stated period</td>
        </tr>
        <tr>
          <td>4-upper
            <a name="observation-statistics-4-upper"> </a>
          </td>
          <td>upper quartile</td>
          <td>The upper [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements
             over the stated period</td>
        </tr>
        <tr>
          <td>4-dev
            <a name="observation-statistics-4-dev"> </a>
          </td>
          <td>quartile deviation</td>
          <td>The difference between the upper and lower [Quartiles](https://en.wikipedia.org/wiki/Quartile)
             is called the Interquartile range. (IQR = Q3-Q1) Quartile deviation or Semi-interquartile
             range is one-half the difference between the first and the third quartiles.</td>
        </tr>
        <tr>
          <td>5-1
            <a name="observation-statistics-5-1"> </a>
          </td>
          <td>1st quintile</td>
          <td>The lowest of four values that divide the N measurementsinto a frequency distribution
             of five classes with each containing one fifth of the total population</td>
        </tr>
        <tr>
          <td>5-2
            <a name="observation-statistics-5-2"> </a>
          </td>
          <td>2nd quintile</td>
          <td>The second of four values that divide the N measurementsinto a frequency distribution
             of five classes with each containing one fifth of the total population</td>
        </tr>
        <tr>
          <td>5-3
            <a name="observation-statistics-5-3"> </a>
          </td>
          <td>3rd quintile</td>
          <td>The third of four values that divide the N measurementsinto a frequency distribution of
             five classes with each containing one fifth of the total population</td>
        </tr>
        <tr>
          <td>5-4
            <a name="observation-statistics-5-4"> </a>
          </td>
          <td>4th quintile</td>
          <td>The fourth of four values that divide the N measurementsinto a frequency distribution
             of five classes with each containing one fifth of the total population</td>
        </tr>
      </table>
    </div>
  </text>
  <url value="http://hl7.org/fhir/observation-statistics"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.1.0"/>
  </identifier>
  <version value="1.8.0"/>
  <name value="StatisticsCode"/>
  <status value="draft"/>
  <experimental value="false"/>
  <publisher value="HL7 (FHIR Project)"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="fhir@lists.hl7.org"/>
    </telecom>
  </contact>
  <date value="2016-12-06T12:22:34+11:00"/>
  <description value="The statistical operation parameter -&quot;statistic&quot; -  codes"/>
  <caseSensitive value="true"/>
  <valueSet value="http://hl7.org/fhir/ValueSet/observation-statistics"/>
  <content value="complete"/>
  <concept>
    <code value="average"/>
    <display value="Average"/>
    <definition value="The [mean](https://en.wikipedia.org/wiki/Arithmetic_mean) of N measurements over the stated
     period"/>
  </concept>
  <concept>
    <code value="maximum"/>
    <display value="Maximum"/>
    <definition value="The [maximum](https://en.wikipedia.org/wiki/Maximal_element) value of N measurements over
     the stated period"/>
  </concept>
  <concept>
    <code value="minimum"/>
    <display value="Minimum"/>
    <definition value="The [minimum](https://en.wikipedia.org/wiki/Minimal_element) value of N measurements over
     the stated period"/>
  </concept>
  <concept>
    <code value="count"/>
    <display value="Count"/>
    <definition value="The [number] of valid measurements over the stated period that contributed to the other
     statistical outputs"/>
  </concept>
  <concept>
    <code value="totalcount"/>
    <display value="Total Count"/>
    <definition value="The total [number] of valid measurements over the stated period, including observations
     that were ignored because they did not contain valid result values"/>
  </concept>
  <concept>
    <code value="median"/>
    <display value="Median"/>
    <definition value="The [median](https://en.wikipedia.org/wiki/Median) of N measurements over the stated period"/>
  </concept>
  <concept>
    <code value="std-dev"/>
    <display value="standard deviation"/>
    <definition value="The [standard deviation](https://en.wikipedia.org/wiki/Standard_deviation) of N measurements
     over the stated period"/>
  </concept>
  <concept>
    <code value="sum"/>
    <display value="sum"/>
    <definition value="The [sum](https://en.wikipedia.org/wiki/Summation) of N measurements over the stated period"/>
  </concept>
  <concept>
    <code value="variance"/>
    <display value="variance"/>
    <definition value="The [variance](https://en.wikipedia.org/wiki/Variance) of N measurements over the stated
     period"/>
  </concept>
  <concept>
    <code value="%20"/>
    <display value="20th percentile"/>
    <definition value="The 20th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over
     the stated period"/>
  </concept>
  <concept>
    <code value="%80"/>
    <display value="80th percentile"/>
    <definition value="The 80th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over
     the stated period"/>
  </concept>
  <concept>
    <code value="4-lower"/>
    <display value="lower quartile"/>
    <definition value="The lower [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements
     over the stated period"/>
  </concept>
  <concept>
    <code value="4-upper"/>
    <display value="upper quartile"/>
    <definition value="The upper [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements
     over the stated period"/>
  </concept>
  <concept>
    <code value="4-dev"/>
    <display value="quartile deviation"/>
    <definition value="The difference between the upper and lower [Quartiles](https://en.wikipedia.org/wiki/Quartile)
     is called the Interquartile range. (IQR = Q3-Q1) Quartile deviation or Semi-interquartile
     range is one-half the difference between the first and the third quartiles."/>
  </concept>
  <concept>
    <code value="5-1"/>
    <display value="1st quintile"/>
    <definition value="The lowest of four values that divide the N measurementsinto a frequency distribution
     of five classes with each containing one fifth of the total population"/>
  </concept>
  <concept>
    <code value="5-2"/>
    <display value="2nd quintile"/>
    <definition value="The second of four values that divide the N measurementsinto a frequency distribution
     of five classes with each containing one fifth of the total population"/>
  </concept>
  <concept>
    <code value="5-3"/>
    <display value="3rd quintile"/>
    <definition value="The third of four values that divide the N measurementsinto a frequency distribution of
     five classes with each containing one fifth of the total population"/>
  </concept>
  <concept>
    <code value="5-4"/>
    <display value="4th quintile"/>
    <definition value="The fourth of four values that divide the N measurementsinto a frequency distribution
     of five classes with each containing one fifth of the total population"/>
  </concept>
</CodeSystem>

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.