@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 -------------------------------------------------------------------

<http://terminology.hl7.org/CodeSystem/statistic-type> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "statistic-type"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-04-24T00:00:00+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem statistic-type</b></p><a name=\"statistic-type\"> </a><a name=\"hcstatistic-type\"> </a><a name=\"statistic-type-en-US\"> </a><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\">Last updated: 2024-04-24 00:00:00+0000</p></div><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/statistic-type</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">absolute-MedianDiff<a name=\"statistic-type-absolute-MedianDiff\"> </a></td><td>Absolute Median Difference</td><td>Computed by forming the difference between two medians.</td></tr><tr><td style=\"white-space:nowrap\">C25463<a name=\"statistic-type-C25463\"> </a></td><td>Count</td><td>The number or amount of something.</td></tr><tr><td style=\"white-space:nowrap\">0000301<a name=\"statistic-type-0000301\"> </a></td><td>Covariance</td><td>The strength of correlation between a set (2 or more) of random variables. The covariance is obtained by forming: cov(x,y)=e([x-e(x)][y-e(y)] where e(x), e(y) is the expected value (mean) of variable x and y respectively. Covariance is symmetric so cov(x,y)=cov(y,x). The covariance is usefull when looking at the variance of the sum of the 2 random variables since: var(x+y) = var(x) +var(y) +2cov(x,y) the covariance cov(x,y) is used to obtain the coefficient of correlation cor(x,y) by normalizing (dividing) cov(x,y) but the product of the standard deviations of x and y.</td></tr><tr><td style=\"white-space:nowrap\">predictedRisk<a name=\"statistic-type-predictedRisk\"> </a></td><td>Predicted Risk</td><td>A special use case where the proportion is derived from a formula rather than derived from summary evidence.</td></tr><tr><td style=\"white-space:nowrap\">descriptive<a name=\"statistic-type-descriptive\"> </a></td><td>Descriptive</td><td>Descriptive measure reported as narrative.</td></tr><tr><td style=\"white-space:nowrap\">C93150<a name=\"statistic-type-C93150\"> </a></td><td>Hazard Ratio</td><td>A measure of how often a particular event happens in one group compared to how often it happens in another group, over time. In cancer research, hazard ratios are often used in clinical trials to measure survival at any point in time in a group of patients who have been given a specific treatment compared to a control group given another treatment or a placebo. A hazard ratio of one means that there is no difference in survival between the two groups. A hazard ratio of greater than one or less than one means that survival was better in one of the groups.</td></tr><tr><td style=\"white-space:nowrap\">C16726<a name=\"statistic-type-C16726\"> </a></td><td>Incidence</td><td>The relative frequency of occurrence of something.</td></tr><tr><td style=\"white-space:nowrap\">rate-ratio<a name=\"statistic-type-rate-ratio\"> </a></td><td>Incidence Rate Ratio</td><td>A type of relative effect estimate that compares rates over time (eg events per person-years).</td></tr><tr><td style=\"white-space:nowrap\">C25564<a name=\"statistic-type-C25564\"> </a></td><td>Maximum</td><td>The largest possible quantity or degree.</td></tr><tr><td style=\"white-space:nowrap\">C53319<a name=\"statistic-type-C53319\"> </a></td><td>Mean</td><td>The sum of a set of values divided by the number of values in the set.</td></tr><tr><td style=\"white-space:nowrap\">0000457<a name=\"statistic-type-0000457\"> </a></td><td>Mean Difference</td><td>The mean difference, or difference in means, measures the absolute difference between the mean value in two different groups.</td></tr><tr><td style=\"white-space:nowrap\">C28007<a name=\"statistic-type-C28007\"> </a></td><td>Median</td><td>The value which has an equal number of values greater and less than it.</td></tr><tr><td style=\"white-space:nowrap\">C25570<a name=\"statistic-type-C25570\"> </a></td><td>Minimum</td><td>The smallest possible quantity.</td></tr><tr><td style=\"white-space:nowrap\">C16932<a name=\"statistic-type-C16932\"> </a></td><td>Odds Ratio</td><td>The ratio of the odds of an event occurring in one group to the odds of it occurring in another group, or to a sample-based estimate of that ratio.</td></tr><tr><td style=\"white-space:nowrap\">C65172<a name=\"statistic-type-C65172\"> </a></td><td>Pearson Correlation Coefficient</td><td>A measure of the correlation of two variables X and Y measured on the same object or organism, that is, a measure of the tendency of the variables to increase or decrease together. It is defined as the sum of the products of the standard scores of the two measures divided by the degrees of freedom.</td></tr><tr><td style=\"white-space:nowrap\">C17010<a name=\"statistic-type-C17010\"> </a></td><td>Prevalence</td><td>The ratio (for a given time period) of the number of occurrences of a disease or event to the number of units at risk in the population.</td></tr><tr><td style=\"white-space:nowrap\">C44256<a name=\"statistic-type-C44256\"> </a></td><td>Proportion</td><td>Quotient of quantities of the same kind for different components within the same system. [Use for univariate outcomes within an individual.].</td></tr><tr><td style=\"white-space:nowrap\">0000565<a name=\"statistic-type-0000565\"> </a></td><td>Regression Coefficient</td><td>Generated by a type of data transformation called a regression, which aims to model a response variable by expression the predictor variables as part of a function where variable terms are modified by a number. A regression coefficient is one such number.</td></tr><tr><td style=\"white-space:nowrap\">C93152<a name=\"statistic-type-C93152\"> </a></td><td>Relative Risk</td><td>A measure of the risk of a certain event happening in one group compared to the risk of the same event happening in another group. In cancer research, risk ratios are used in prospective (forward looking) studies, such as cohort studies and clinical trials. A risk ratio of one means there is no difference between two groups in terms of their risk of cancer, based on whether or not they were exposed to a certain substance or factor, or how they responded to two treatments being compared. A risk ratio of greater than one or of less than one usually means that being exposed to a certain substance or factor either increases (risk ratio greater than one) or decreases (risk ratio less than one) the risk of cancer, or that the treatments being compared do not have the same effects.</td></tr><tr><td style=\"white-space:nowrap\">0000424<a name=\"statistic-type-0000424\"> </a></td><td>Risk Difference</td><td>Difference between the observed risks (proportions of individuals with the outcome of interest) in the two groups. The risk difference is straightforward to interpret: it describes the actual difference in the observed risk of events between experimental and control interventions.</td></tr><tr><td style=\"white-space:nowrap\">C65171<a name=\"statistic-type-C65171\"> </a></td><td>Spearman Rank-Order Correlation</td><td>A distribution-free analog of correlation analysis. Like regression, it can be applied to compare two independent random variables, each at several levels (which may be discrete or continuous). Unlike regression, Spearman's rank correlation works on ranked (relative) data, rather than directly on the data itself.</td></tr><tr><td style=\"white-space:nowrap\">0000100<a name=\"statistic-type-0000100\"> </a></td><td>Standardized Mean Difference</td><td>Computed by forming the difference between two means, divided by an estimate of the within-group standard deviation. It is used to provide an estimatation of the effect size between two treatments when the predictor (independent variable) is categorical and the response(dependent) variable is continuous.</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "fhir"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:integer ;
       fhir:v "5"^^xsd:integer
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/statistic-type"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.1411" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.1"] ; # 
  fhir:name [ fhir:v "StatisticStatisticType"] ; # 
  fhir:title [ fhir:v "StatisticStatisticType"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-04-24T00:00:00+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Health Level Seven International"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "The type of a specific statistic."] ; # 
  fhir:copyright [ fhir:v "This material derives from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license"] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://terminology.hl7.org/ValueSet/statistic-type"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/statistic-type>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "absolute-MedianDiff" ] ;
     fhir:display [ fhir:v "Absolute Median Difference" ] ;
     fhir:definition [ fhir:v "Computed by forming the difference between two medians." ]
  ] [
     fhir:code [ fhir:v "C25463" ] ;
     fhir:display [ fhir:v "Count" ] ;
     fhir:definition [ fhir:v "The number or amount of something." ]
  ] [
     fhir:code [ fhir:v "0000301" ] ;
     fhir:display [ fhir:v "Covariance" ] ;
     fhir:definition [ fhir:v "The strength of correlation between a set (2 or more) of random variables. The covariance is obtained by forming: cov(x,y)=e([x-e(x)][y-e(y)] where e(x), e(y) is the expected value (mean) of variable x and y respectively. Covariance is symmetric so cov(x,y)=cov(y,x). The covariance is usefull when looking at the variance of the sum of the 2 random variables since: var(x+y) = var(x) +var(y) +2cov(x,y) the covariance cov(x,y) is used to obtain the coefficient of correlation cor(x,y) by normalizing (dividing) cov(x,y) but the product of the standard deviations of x and y." ]
  ] [
     fhir:code [ fhir:v "predictedRisk" ] ;
     fhir:display [ fhir:v "Predicted Risk" ] ;
     fhir:definition [ fhir:v "A special use case where the proportion is derived from a formula rather than derived from summary evidence." ]
  ] [
     fhir:code [ fhir:v "descriptive" ] ;
     fhir:display [ fhir:v "Descriptive" ] ;
     fhir:definition [ fhir:v "Descriptive measure reported as narrative." ]
  ] [
     fhir:code [ fhir:v "C93150" ] ;
     fhir:display [ fhir:v "Hazard Ratio" ] ;
     fhir:definition [ fhir:v "A measure of how often a particular event happens in one group compared to how often it happens in another group, over time. In cancer research, hazard ratios are often used in clinical trials to measure survival at any point in time in a group of patients who have been given a specific treatment compared to a control group given another treatment or a placebo. A hazard ratio of one means that there is no difference in survival between the two groups. A hazard ratio of greater than one or less than one means that survival was better in one of the groups." ]
  ] [
     fhir:code [ fhir:v "C16726" ] ;
     fhir:display [ fhir:v "Incidence" ] ;
     fhir:definition [ fhir:v "The relative frequency of occurrence of something." ]
  ] [
     fhir:code [ fhir:v "rate-ratio" ] ;
     fhir:display [ fhir:v "Incidence Rate Ratio" ] ;
     fhir:definition [ fhir:v "A type of relative effect estimate that compares rates over time (eg events per person-years)." ]
  ] [
     fhir:code [ fhir:v "C25564" ] ;
     fhir:display [ fhir:v "Maximum" ] ;
     fhir:definition [ fhir:v "The largest possible quantity or degree." ]
  ] [
     fhir:code [ fhir:v "C53319" ] ;
     fhir:display [ fhir:v "Mean" ] ;
     fhir:definition [ fhir:v "The sum of a set of values divided by the number of values in the set." ]
  ] [
     fhir:code [ fhir:v "0000457" ] ;
     fhir:display [ fhir:v "Mean Difference" ] ;
     fhir:definition [ fhir:v "The mean difference, or difference in means, measures the absolute difference between the mean value in two different groups." ]
  ] [
     fhir:code [ fhir:v "C28007" ] ;
     fhir:display [ fhir:v "Median" ] ;
     fhir:definition [ fhir:v "The value which has an equal number of values greater and less than it." ]
  ] [
     fhir:code [ fhir:v "C25570" ] ;
     fhir:display [ fhir:v "Minimum" ] ;
     fhir:definition [ fhir:v "The smallest possible quantity." ]
  ] [
     fhir:code [ fhir:v "C16932" ] ;
     fhir:display [ fhir:v "Odds Ratio" ] ;
     fhir:definition [ fhir:v "The ratio of the odds of an event occurring in one group to the odds of it occurring in another group, or to a sample-based estimate of that ratio." ]
  ] [
     fhir:code [ fhir:v "C65172" ] ;
     fhir:display [ fhir:v "Pearson Correlation Coefficient" ] ;
     fhir:definition [ fhir:v "A measure of the correlation of two variables X and Y measured on the same object or organism, that is, a measure of the tendency of the variables to increase or decrease together. It is defined as the sum of the products of the standard scores of the two measures divided by the degrees of freedom." ]
  ] [
     fhir:code [ fhir:v "C17010" ] ;
     fhir:display [ fhir:v "Prevalence" ] ;
     fhir:definition [ fhir:v "The ratio (for a given time period) of the number of occurrences of a disease or event to the number of units at risk in the population." ]
  ] [
     fhir:code [ fhir:v "C44256" ] ;
     fhir:display [ fhir:v "Proportion" ] ;
     fhir:definition [ fhir:v "Quotient of quantities of the same kind for different components within the same system. [Use for univariate outcomes within an individual.]." ]
  ] [
     fhir:code [ fhir:v "0000565" ] ;
     fhir:display [ fhir:v "Regression Coefficient" ] ;
     fhir:definition [ fhir:v "Generated by a type of data transformation called a regression, which aims to model a response variable by expression the predictor variables as part of a function where variable terms are modified by a number. A regression coefficient is one such number." ]
  ] [
     fhir:code [ fhir:v "C93152" ] ;
     fhir:display [ fhir:v "Relative Risk" ] ;
     fhir:definition [ fhir:v "A measure of the risk of a certain event happening in one group compared to the risk of the same event happening in another group. In cancer research, risk ratios are used in prospective (forward looking) studies, such as cohort studies and clinical trials. A risk ratio of one means there is no difference between two groups in terms of their risk of cancer, based on whether or not they were exposed to a certain substance or factor, or how they responded to two treatments being compared. A risk ratio of greater than one or of less than one usually means that being exposed to a certain substance or factor either increases (risk ratio greater than one) or decreases (risk ratio less than one) the risk of cancer, or that the treatments being compared do not have the same effects." ]
  ] [
     fhir:code [ fhir:v "0000424" ] ;
     fhir:display [ fhir:v "Risk Difference" ] ;
     fhir:definition [ fhir:v "Difference between the observed risks (proportions of individuals with the outcome of interest) in the two groups. The risk difference is straightforward to interpret: it describes the actual difference in the observed risk of events between experimental and control interventions." ]
  ] [
     fhir:code [ fhir:v "C65171" ] ;
     fhir:display [ fhir:v "Spearman Rank-Order Correlation" ] ;
     fhir:definition [ fhir:v "A distribution-free analog of correlation analysis. Like regression, it can be applied to compare two independent random variables, each at several levels (which may be discrete or continuous). Unlike regression, Spearman's rank correlation works on ranked (relative) data, rather than directly on the data itself." ]
  ] [
     fhir:code [ fhir:v "0000100" ] ;
     fhir:display [ fhir:v "Standardized Mean Difference" ] ;
     fhir:definition [ fhir:v "Computed by forming the difference between two means, divided by an estimate of the within-group standard deviation. It is used to provide an estimatation of the effect size between two treatments when the predictor (independent variable) is categorical and the response(dependent) variable is continuous." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

