FHIR Cross-Version Extensions package for FHIR R4 from FHIR R5
0.0.1-snapshot-2 - informative International flag

FHIR Cross-Version Extensions package for FHIR R4 from FHIR R5 - Version 0.0.1-snapshot-2. See the Directory of published versions

: Statistics Code - TTL Representation

Page standards status: Informative Maturity Level: 0

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "observation-statistics"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>This code system \n              <code>http://hl7.org/fhir/observation-statistics</code> defines the following codes:\n            </p>\n            <table class=\"codes\">\n              <tr>\n                <td style=\"white-space:nowrap\">\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">average\n                  <a name=\"observation-statistics-average\"> </a>\n                </td>\n                <td>Average</td>\n                <td>The [mean](https://en.wikipedia.org/wiki/Arithmetic_mean) of N measurements over the stated period.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">maximum\n                  <a name=\"observation-statistics-maximum\"> </a>\n                </td>\n                <td>Maximum</td>\n                <td>The [maximum](https://en.wikipedia.org/wiki/Maximal_element) value of N measurements over the stated period.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">minimum\n                  <a name=\"observation-statistics-minimum\"> </a>\n                </td>\n                <td>Minimum</td>\n                <td>The [minimum](https://en.wikipedia.org/wiki/Minimal_element) value of N measurements over the stated period.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">count\n                  <a name=\"observation-statistics-count\"> </a>\n                </td>\n                <td>Count</td>\n                <td>The [number] of valid measurements over the stated period that contributed to the other statistical outputs.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">total-count\n                  <a name=\"observation-statistics-total-count\"> </a>\n                </td>\n                <td>Total Count</td>\n                <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>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">median\n                  <a name=\"observation-statistics-median\"> </a>\n                </td>\n                <td>Median</td>\n                <td>The [median](https://en.wikipedia.org/wiki/Median) of N measurements over the stated period.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">std-dev\n                  <a name=\"observation-statistics-std-dev\"> </a>\n                </td>\n                <td>Standard Deviation</td>\n                <td>The [standard deviation](https://en.wikipedia.org/wiki/Standard_deviation) of N measurements over the stated period.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">sum\n                  <a name=\"observation-statistics-sum\"> </a>\n                </td>\n                <td>Sum</td>\n                <td>The [sum](https://en.wikipedia.org/wiki/Summation) of N measurements over the stated period.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">variance\n                  <a name=\"observation-statistics-variance\"> </a>\n                </td>\n                <td>Variance</td>\n                <td>The [variance](https://en.wikipedia.org/wiki/Variance) of N measurements over the stated period.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">20-percent\n                  <a name=\"observation-statistics-20-percent\"> </a>\n                </td>\n                <td>20th Percentile</td>\n                <td>The 20th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over the stated period.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">80-percent\n                  <a name=\"observation-statistics-80-percent\"> </a>\n                </td>\n                <td>80th Percentile</td>\n                <td>The 80th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over the stated period.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">4-lower\n                  <a name=\"observation-statistics-4-lower\"> </a>\n                </td>\n                <td>Lower Quartile</td>\n                <td>The lower [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements over the stated period.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">4-upper\n                  <a name=\"observation-statistics-4-upper\"> </a>\n                </td>\n                <td>Upper Quartile</td>\n                <td>The upper [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements over the stated period.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">4-dev\n                  <a name=\"observation-statistics-4-dev\"> </a>\n                </td>\n                <td>Quartile Deviation</td>\n                <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>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">5-1\n                  <a name=\"observation-statistics-5-1\"> </a>\n                </td>\n                <td>1st Quintile</td>\n                <td>The lowest of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">5-2\n                  <a name=\"observation-statistics-5-2\"> </a>\n                </td>\n                <td>2nd Quintile</td>\n                <td>The second of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">5-3\n                  <a name=\"observation-statistics-5-3\"> </a>\n                </td>\n                <td>3rd Quintile</td>\n                <td>The third of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">5-4\n                  <a name=\"observation-statistics-5-4\"> </a>\n                </td>\n                <td>4th Quintile</td>\n                <td>The fourth of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">skew\n                  <a name=\"observation-statistics-skew\"> </a>\n                </td>\n                <td>Skew</td>\n                <td>Skewness is a measure of the asymmetry of the probability distribution of a real-valued random variable about its mean. The skewness value can be positive or negative, or even undefined.  Source: [Wikipedia](https://en.wikipedia.org/wiki/Skewness).</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">kurtosis\n                  <a name=\"observation-statistics-kurtosis\"> </a>\n                </td>\n                <td>Kurtosis</td>\n                <td>Kurtosis  is a measure of the \"tailedness\" of the probability distribution of a real-valued random variable.   Source: [Wikipedia](https://en.wikipedia.org/wiki/Kurtosis).</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">regression\n                  <a name=\"observation-statistics-regression\"> </a>\n                </td>\n                <td>Regression</td>\n                <td>Linear regression is an approach for modeling two-dimensional sample points with one independent variable and one dependent variable (conventionally, the x and y coordinates in a Cartesian coordinate system) and finds a linear function (a non-vertical straight line) that, as accurately as possible, predicts the dependent variable values as a function of the independent variables. Source: [Wikipedia](https://en.wikipedia.org/wiki/Simple_linear_regression)  This Statistic code will return both a gradient and an intercept value.</td>\n              </tr>\n            </table>\n          </div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
    ( fhir:extension [
fhir:url [ fhir:v "packageId"^^xsd:anyURI ] ;
fhir:value [
a fhir:id ;
fhir:v "hl7.fhir.uv.xver-r5.r4"       ]     ] [
fhir:url [ fhir:v "version"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "0.0.1-snapshot-2"       ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "oo"     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/observation-statistics"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "5.0.0"] ; # 
  fhir:name [ fhir:v "StatisticsCode"] ; # 
  fhir:title [ fhir:v "Statistics Code"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2022-12-01T08:29:23+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Orders and Observations"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Orders and Observations" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/orders" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "The statistical operation parameter -\"statistic\" codes."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/observation-statistics|4.0.1"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/observation-statistics|4.0.1>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
fhir:code [ fhir:v "average" ] ;
fhir:display [ fhir:v "Average" ] ;
fhir:definition [ fhir:v "The [mean](https://en.wikipedia.org/wiki/Arithmetic_mean) of N measurements over the stated period." ]
  ] [
fhir:code [ fhir:v "maximum" ] ;
fhir:display [ fhir:v "Maximum" ] ;
fhir:definition [ fhir:v "The [maximum](https://en.wikipedia.org/wiki/Maximal_element) value of N measurements over the stated period." ]
  ] [
fhir:code [ fhir:v "minimum" ] ;
fhir:display [ fhir:v "Minimum" ] ;
fhir:definition [ fhir:v "The [minimum](https://en.wikipedia.org/wiki/Minimal_element) value of N measurements over the stated period." ]
  ] [
fhir:code [ fhir:v "count" ] ;
fhir:display [ fhir:v "Count" ] ;
fhir:definition [ fhir:v "The [number] of valid measurements over the stated period that contributed to the other statistical outputs." ]
  ] [
fhir:code [ fhir:v "total-count" ] ;
fhir:display [ fhir:v "Total Count" ] ;
fhir:definition [ fhir:v "The total [number] of valid measurements over the stated period, including observations that were ignored because they did not contain valid result values." ]
  ] [
fhir:code [ fhir:v "median" ] ;
fhir:display [ fhir:v "Median" ] ;
fhir:definition [ fhir:v "The [median](https://en.wikipedia.org/wiki/Median) of N measurements over the stated period." ]
  ] [
fhir:code [ fhir:v "std-dev" ] ;
fhir:display [ fhir:v "Standard Deviation" ] ;
fhir:definition [ fhir:v "The [standard deviation](https://en.wikipedia.org/wiki/Standard_deviation) of N measurements over the stated period." ]
  ] [
fhir:code [ fhir:v "sum" ] ;
fhir:display [ fhir:v "Sum" ] ;
fhir:definition [ fhir:v "The [sum](https://en.wikipedia.org/wiki/Summation) of N measurements over the stated period." ]
  ] [
fhir:code [ fhir:v "variance" ] ;
fhir:display [ fhir:v "Variance" ] ;
fhir:definition [ fhir:v "The [variance](https://en.wikipedia.org/wiki/Variance) of N measurements over the stated period." ]
  ] [
fhir:code [ fhir:v "20-percent" ] ;
fhir:display [ fhir:v "20th Percentile" ] ;
fhir:definition [ fhir:v "The 20th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over the stated period." ]
  ] [
fhir:code [ fhir:v "80-percent" ] ;
fhir:display [ fhir:v "80th Percentile" ] ;
fhir:definition [ fhir:v "The 80th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over the stated period." ]
  ] [
fhir:code [ fhir:v "4-lower" ] ;
fhir:display [ fhir:v "Lower Quartile" ] ;
fhir:definition [ fhir:v "The lower [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements over the stated period." ]
  ] [
fhir:code [ fhir:v "4-upper" ] ;
fhir:display [ fhir:v "Upper Quartile" ] ;
fhir:definition [ fhir:v "The upper [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements over the stated period." ]
  ] [
fhir:code [ fhir:v "4-dev" ] ;
fhir:display [ fhir:v "Quartile Deviation" ] ;
fhir:definition [ fhir:v "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." ]
  ] [
fhir:code [ fhir:v "5-1" ] ;
fhir:display [ fhir:v "1st Quintile" ] ;
fhir:definition [ fhir:v "The lowest of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population." ]
  ] [
fhir:code [ fhir:v "5-2" ] ;
fhir:display [ fhir:v "2nd Quintile" ] ;
fhir:definition [ fhir:v "The second of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population." ]
  ] [
fhir:code [ fhir:v "5-3" ] ;
fhir:display [ fhir:v "3rd Quintile" ] ;
fhir:definition [ fhir:v "The third of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population." ]
  ] [
fhir:code [ fhir:v "5-4" ] ;
fhir:display [ fhir:v "4th Quintile" ] ;
fhir:definition [ fhir:v "The fourth of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population." ]
  ] [
fhir:code [ fhir:v "skew" ] ;
fhir:display [ fhir:v "Skew" ] ;
fhir:definition [ fhir:v "Skewness is a measure of the asymmetry of the probability distribution of a real-valued random variable about its mean. The skewness value can be positive or negative, or even undefined.  Source: [Wikipedia](https://en.wikipedia.org/wiki/Skewness)." ]
  ] [
fhir:code [ fhir:v "kurtosis" ] ;
fhir:display [ fhir:v "Kurtosis" ] ;
fhir:definition [ fhir:v "Kurtosis  is a measure of the \"tailedness\" of the probability distribution of a real-valued random variable.   Source: [Wikipedia](https://en.wikipedia.org/wiki/Kurtosis)." ]
  ] [
fhir:code [ fhir:v "regression" ] ;
fhir:display [ fhir:v "Regression" ] ;
fhir:definition [ fhir:v "Linear regression is an approach for modeling two-dimensional sample points with one independent variable and one dependent variable (conventionally, the x and y coordinates in a Cartesian coordinate system) and finds a linear function (a non-vertical straight line) that, as accurately as possible, predicts the dependent variable values as a function of the independent variables. Source: [Wikipedia](https://en.wikipedia.org/wiki/Simple_linear_regression)  This Statistic code will return both a gradient and an intercept value." ]
  ] ) . #