Simplifier logo

Confirmation

Are you sure?
Simplifier.net
SNIPPETS FEEDBACK LOG IN SIGN UP

Query
  • Default
    What is FQL?

    FQL is a query language that allows you to retrieve, filter and project data from any data source containing FHIR Resources. It brings the power of three existing languages together: SQL, JSON and FhirPath. It allows you to create tables and is useful for gaining insight and perform quality control.

  • FQL Query resources
    FQL Playground

    Try Firely Query Language in our playground by using this scope as data source.

  • FQL Documentation
  • FQL Language
    Syntax specification

    To learn more about FQL syntax choose this menu item.

  • YamlGen Generate resources
    YamlGen Playground

    Try YamlGen in our playground by using this scope as data source.

  • YamlGen Language
    YamlGen Syntax specification

    To learn more about YamlGen syntax choose this.

  • FHIRPath Inspect resource
    FHIRPath Playground

    Try out the FHIRPath playground and navigate inside this resource.

  • FHIRPath Documentation
    FHIRPath Documentation

    Find out what FHIRPath is or learn how to write FHIRPath scripts.

API
  • Project FHIR API

     This is the location where you can find your resource using a FHIR client.

  • Simplifier FHIR API

     The global endpoint is where users can search for all resources in Simplifier. Resources have a globally unique guid Id here.

Download
  • Download as XML
  • Download as JSON
  • Copy to clipboard as XML
  • Copy to clipboard as JSON
Organization FHIR Core / Project Core OperationDefinitions - STU3

Observation Statistics

The Statistics operation performs a set of statistical calculations on a set of clinical measurements such as a blood pressure as stored on the server. This operation is focused on Observation resources with valueQuantity elements that have UCUM unit codes.

The set of Observations is defined by 4 parameters:

  • the subject of the observations for which the statistics are being generated (subject)
  • which observations to generate statistics for (code and system, or coding)
  • the time period over which to generate statistics 'duration or period)
  • the set of statistical analyses to return (statistic)

Possible statistical analyses (see StatisticsCode):

  • average ("Average"): The mean of N measurements over the stated period
  • maximum ("Maximum"): The maximum value of N measurements over the stated period
  • minimum ("Minimum"): The minimum value of N measurements over the stated period
  • count ("Count"): The [number] of valid measurements over the stated period that contributed to the other statistical outputs
  • totalcount ("Total Count"): The total [number] of valid measurements over the stated period, including observations that were ignored because they did not contain valid result values
  • median ("Median"): The median of N measurements over the stated period
  • std-dev ("Standard Deviation"): The standard deviation of N measurements over the stated period
  • sum ("Sum"): The sum of N measurements over the stated period
  • variance ("Variance"): The variance of N measurements over the stated period
  • 20-percent ("20th Percentile"): The 20th Percentile of N measurements over the stated period
  • 80-percent ("80th Percentile"): The 80th Percentile of N measurements over the stated period
  • 4-lower ("Lower Quartile"): The lower Quartile Boundary of N measurements over the stated period
  • 4-upper ("Upper Quartile"): The upper Quartile Boundary of N measurements over the stated period
  • 4-dev ("Quartile Deviation"): The difference between the upper and lower Quartiles 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.
  • 5-1 ("1st Quintile"): 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
  • 5-2 ("2nd Quintile"): 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
  • 5-3 ("3rd Quintile"): 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
  • 5-4 ("4th Quintile"): 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
  • skew ("Skew"): 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
  • kurtosis ("Kurtosis"): Kurtosis is a measure of the "tailedness" of the probability distribution of a real-valued random variable. Source: Wikipedia
  • regression ("Regression"): 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 This Statistic code will return both a gradient and an intercept value.

If successful, the operation returns an Observation resource for each code with the results of the statistical calculations as component value pairs where the component code = the statistical code. The Observation also contains the input parameters patient,code and duration parameters. If unsuccessful, an OperationOutcome with an error message will be returned.

The client can request that all the observations on which the statistics are based be returned as well, using the include parameter. If an include parameter is specified, a limit may also be specified; the sources observations are subsetted at the server's discretion if count > limit. This functionality is included with the intent of supporting graphical presentation

  • type OperationDefinition
  • FHIR STU3
  • status Maturity Level 0
  • version
    none
  Unregistered conflicting canonical

The canonical from this resource does not match any claim in this context and conflicts with a claim from another scope.

http://hl7.org/fhir

Canonical claims are used to verify ownership of your canonical URLs.

 Canonical
  • Overview
  • Table
  • XML
  • JSON
  • Related
  • History
  • Narrative

Documentation:
https://simplifier.net/core-opdefs-stu3/observation-stats
Last updated on 2017-07-18 09:47

About

About Simplifier
About Firely
Learn more
Contact

Information

Documentation
Terms
Privacy
Vulnerability disclosure policy
Features
Pricing
Status

Follow us

Github
Twitter
Youtube

Links

FHIR DevDays
FHIR specification R5
FHIR specification R4B
FHIR specification R4
FHIR specification STU3
FHIR specification DSTU 2
FHIR Server

SIMPLIFIER.NET version 2025.2.1.1

Copyright © 2015-2025 Firely

HL7® and FHIR® are the registered trademarks of Health Level Seven International