Release 5 Preview #3

14.13.0 Statistic

Clinical Decision Support Work GroupMaturity Level: 1Standards Status: Trial Use
This type is still undergoing development and review by the appropriate Workgroups. At this time, is considered only as a draft design not suitable for production implementation

The Statistic data type represents single datum (quantitative value), computed from a sample, and its attributes.

Note: the Statistic structure allows modifier extensions.

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. StatisticΣDElementSingle statistic
Elements defined in Ancestors: id, extension, modifierExtension
... descriptionΣ0..1stringDescription of content
... noteΣ0..*AnnotationFootnotes and/or explanatory notes
... statisticTypeΣ0..1CodeableConceptType of statistic, eg relative risk
StatisticType (Extensible)
... numberOfEventsΣ0..1integerThe number of events associated with the statistic
... sampleSizeΣ0..1ElementNumber of samples in the statistic
.... descriptionΣ0..1stringTextual description of sample size for statistic
.... noteΣ0..*AnnotationFootnote or explanatory note about the sample size
.... numberOfStudiesΣ0..1integerNumber of contributing studies
.... numberOfParticipantsΣ0..1integerCumulative number of participants
.... knownDataCountΣ0..1integerNumber of participants with known results for measured variables
... attributeEstimateΣ0..*ElementAn attribute of the Statistic
.... descriptionΣ0..1stringTextual description of the attribute estimate
.... noteΣ0..*AnnotationFootnote or explanatory note about the estimate
.... typeΣ0..1CodeableConceptThe type of attribute estimate, eg confidence interval or p value
StatisticAttributeEstimateType (Extensible)
.... quantityΣ0..1QuantityThe singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
.... levelΣ0..1decimalLevel of confidence interval, eg 0.95 for 95% confidence interval
.... rangeΣ0..1RangeLower and upper bound values of the attribute estimate
.... attributeEstimateΣ0..*ElementA nested attribute estimate; which is the attribute estimate of an attribute estimate
..... descriptionΣ0..1stringTextual description of the attribute estimate
..... noteΣ0..*AnnotationFootnote or explanatory note about the estimate
..... typeΣ0..1CodeableConceptThe type of attribute estimate, eg confidence interval or p value
StatisticAttributeEstimateType (Extensible)
..... quantityΣ0..1QuantityThe singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
..... levelΣ0..1decimalLevel of confidence interval, eg 0.95 for 95% confidence interval
..... rangeΣ0..1RangeLower and upper bound values of the attribute estimate
... modelCharacteristicΣ0..*ElementModel characteristic
.... codeΣ0..1CodeableConceptModel specification
StatisticModelCode (Extensible)
.... value[x]Σ0..1Model specification details
StatisticModelMethod (Extensible)
..... valueCodeableConceptCodeableConcept
..... valueBooleanboolean
..... valueQuantitySimpleQuantity
..... valueRangeRange
.... variableΣ0..*ElementA variable adjusted for in the adjusted analysis
..... variableDefinitionΣ1..1Reference(Group | EvidenceVariable)Description of the variable
..... handlingΣ0..1codecontinuous | dichotomous | ordinal | polychotomous
EvidenceVariableHandling (Required)
..... valueCategoryΣ0..*CodeableConceptDescription for grouping of ordinal or polychotomous variables
..... valueQuantityΣ0..*QuantityDiscrete value for grouping of ordinal or polychotomous variables
..... valueRangeΣ0..*RangeRange of values for grouping of ordinal or polychotomous variables

doco Documentation for this format

UML Diagram (Legend)

StatisticA description of the content value of the statisticdescription : string [0..1]Footnotes and/or explanatory notesnote : Annotation [0..*]Type of statistic, eg relative riskstatisticType : CodeableConcept [0..1] « The type of a specific statistic. (Strength=Extensible)StatisticType+ »Statistic valuequantity : Quantity [0..1]The number of events associated with the statisticnumberOfEvents : integer [0..1]SampleSizeHuman-readable summary of population sample sizedescription : string [0..1]Footnote or explanatory note about the sample sizenote : Annotation [0..*]Number of participants in the populationnumberOfStudies : integer [0..1]A human-readable string to clarify or explain concepts about the sample sizenumberOfParticipants : integer [0..1]Number of participants with known results for measured variablesknownDataCount : integer [0..1]AttributeEstimateHuman-readable summary of the estimatedescription : string [0..1]Footnote or explanatory note about the estimatenote : Annotation [0..*]The type of attribute estimate, eg confidence interval or p valuetype : CodeableConcept [0..1] « Method of reporting variability of estimates, such as confidence intervals, interquartile range or standard deviation. (Strength=Extensible)StatisticAttributeEstimateType+ »The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measurequantity : Quantity [0..1]Use 95 for a 95% confidence intervallevel : decimal [0..1]Lower bound of confidence intervalrange : Range [0..1]AttributeEstimateHuman-readable summary of the estimatedescription : string [0..1]Footnote or explanatory note about the estimatenote : Annotation [0..*]The type of attribute estimate, eg confidence interval or p valuetype : CodeableConcept [0..1] « Method of reporting variability of estimates, such as confidence intervals, interquartile range or standard deviation. (Strength=Extensible)StatisticAttributeEstimateType+ »The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measurequantity : Quantity [0..1]Use 95 for a 95% confidence intervallevel : decimal [0..1]Lower bound of confidence intervalrange : Range [0..1]ModelCharacteristicDescription of a component of the method to generate the statisticcode : CodeableConcept [0..1] « Statistic Model Code. (Strength=Extensible)StatisticModelCode+ »Further specification of a component of the method to generate the statisticvalue[x] : DataType [0..1] « CodeableConcept|boolean|Quantity(SimpleQuantity)| Range; Statistic Model Method. (Strength=Extensible)StatisticModelMethod+ »VariableDescription of the variablevariableDefinition : Reference [1..1] « Group|EvidenceVariable »How the variable is classified for use in adjusted analysishandling : code [0..1] « The possible types of variables for exposures or outcomes (E.g. Dichotomous, Continuous, Descriptive). (Strength=Required)EvidenceVariableHandling! »Description for grouping of ordinal or polychotomous variablesvalueCategory : CodeableConcept [0..*]Discrete value for grouping of ordinal or polychotomous variablesvalueQuantity : Quantity [0..*]Range of values for grouping of ordinal or polychotomous variablesvalueRange : Range [0..*]BackboneTypeMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself) (this element modifies the meaning of other elements)modifierExtension : Extension [0..*]Number of samples in the statisticsampleSize[0..1]A nested attribute estimate; which is the attribute estimate of an attribute estimateattributeEstimate[0..*]A statistical attribute of the statistic such as a measure of heterogeneityattributeEstimate[0..*]A variable adjusted for in the adjusted analysisvariable[0..*]A component of the method to generate the statisticmodelCharacteristic[0..*]

XML Template

<Statistic xmlns="http://hl7.org/fhir">
 <!-- from Element: extension -->
 <description value="[string]"/><!-- 0..1 Description of content -->
 <note><!-- 0..* Annotation Footnotes and/or explanatory notes --></note>
 <statisticType><!-- 0..1 CodeableConcept Type of statistic, eg relative risk --></statisticType>
 <quantity><!-- 0..1 Quantity Statistic value --></quantity>
 <numberOfEvents value="[integer]"/><!-- 0..1 The number of events associated with the statistic -->
 <sampleSize>  <!-- 0..1 Number of samples in the statistic -->
  <description value="[string]"/><!-- 0..1 Textual description of sample size for statistic -->
  <note><!-- 0..* Annotation Footnote or explanatory note about the sample size --></note>
  <numberOfStudies value="[integer]"/><!-- 0..1 Number of contributing studies -->
  <numberOfParticipants value="[integer]"/><!-- 0..1 Cumulative number of participants -->
  <knownDataCount value="[integer]"/><!-- 0..1 Number of participants with known results for measured variables -->
 </sampleSize>
 <attributeEstimate>  <!-- 0..* An attribute of the Statistic -->
  <description value="[string]"/><!-- 0..1 Textual description of the attribute estimate -->
  <note><!-- 0..* Annotation Footnote or explanatory note about the estimate --></note>
  <type><!-- 0..1 CodeableConcept The type of attribute estimate, eg confidence interval or p value --></type>
  <quantity><!-- 0..1 Quantity The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure --></quantity>
  <level value="[decimal]"/><!-- 0..1 Level of confidence interval, eg 0.95 for 95% confidence interval -->
  <range><!-- 0..1 Range Lower and upper bound values of the attribute estimate --></range>
  <attributeEstimate>  <!-- 0..* A nested attribute estimate; which is the attribute estimate of an attribute estimate -->
   <description value="[string]"/><!-- 0..1 Textual description of the attribute estimate -->
   <note><!-- 0..* Annotation Footnote or explanatory note about the estimate --></note>
   <type><!-- 0..1 CodeableConcept The type of attribute estimate, eg confidence interval or p value --></type>
   <quantity><!-- 0..1 Quantity The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure --></quantity>
   <level value="[decimal]"/><!-- 0..1 Level of confidence interval, eg 0.95 for 95% confidence interval -->
   <range><!-- 0..1 Range Lower and upper bound values of the attribute estimate --></range>
  </attributeEstimate>
 </attributeEstimate>
 <modelCharacteristic>  <!-- 0..* Model characteristic -->
  <code><!-- 0..1 CodeableConcept Model specification --></code>
  <value[x]><!-- 0..1 CodeableConcept|boolean|Quantity(SimpleQuantity)|Range Model specification details --></value[x]>
  <variable>  <!-- 0..* A variable adjusted for in the adjusted analysis -->
   <variableDefinition><!-- 1..1 Reference(EvidenceVariable|Group) Description of the variable --></variableDefinition>
   <handling value="[code]"/><!-- 0..1 continuous | dichotomous | ordinal | polychotomous -->
   <valueCategory><!-- 0..* CodeableConcept Description for grouping of ordinal or polychotomous variables --></valueCategory>
   <valueQuantity><!-- 0..* Quantity Discrete value for grouping of ordinal or polychotomous variables --></valueQuantity>
   <valueRange><!-- 0..* Range Range of values for grouping of ordinal or polychotomous variables --></valueRange>
  </variable>
 </modelCharacteristic>
</Statistic>

JSON Template

{doco
  // from Element: extension
  "description" : "<string>", // Description of content
  "note" : [{ Annotation }], // Footnotes and/or explanatory notes
  "statisticType" : { CodeableConcept }, // Type of statistic, eg relative risk
  "quantity" : { Quantity }, // Statistic value
  "numberOfEvents" : <integer>, // The number of events associated with the statistic
  "sampleSize" : { // Number of samples in the statistic
    "description" : "<string>", // Textual description of sample size for statistic
    "note" : [{ Annotation }], // Footnote or explanatory note about the sample size
    "numberOfStudies" : <integer>, // Number of contributing studies
    "numberOfParticipants" : <integer>, // Cumulative number of participants
    "knownDataCount" : <integer> // Number of participants with known results for measured variables
  },
  "attributeEstimate" : [{ // An attribute of the Statistic
    "description" : "<string>", // Textual description of the attribute estimate
    "note" : [{ Annotation }], // Footnote or explanatory note about the estimate
    "type" : { CodeableConcept }, // The type of attribute estimate, eg confidence interval or p value
    "quantity" : { Quantity }, // The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
    "level" : <decimal>, // Level of confidence interval, eg 0.95 for 95% confidence interval
    "range" : { Range }, // Lower and upper bound values of the attribute estimate
    "attributeEstimate" : [{ // A nested attribute estimate; which is the attribute estimate of an attribute estimate
      "description" : "<string>", // Textual description of the attribute estimate
      "note" : [{ Annotation }], // Footnote or explanatory note about the estimate
      "type" : { CodeableConcept }, // The type of attribute estimate, eg confidence interval or p value
      "quantity" : { Quantity }, // The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
      "level" : <decimal>, // Level of confidence interval, eg 0.95 for 95% confidence interval
      "range" : { Range } // Lower and upper bound values of the attribute estimate
    }]
  }],
  "modelCharacteristic" : [{ // Model characteristic
    "code" : { CodeableConcept }, // Model specification
    // value[x]: Model specification details. One of these 4:
    "valueCodeableConcept" : { CodeableConcept },
    "valueBoolean" : <boolean>,
    "valueQuantity" : { Quantity(SimpleQuantity) },
    "valueRange" : { Range },
    "variable" : [{ // A variable adjusted for in the adjusted analysis
      "variableDefinition" : { Reference(EvidenceVariable|Group) }, // R!  Description of the variable
      "handling" : "<code>", // continuous | dichotomous | ordinal | polychotomous
      "valueCategory" : [{ CodeableConcept }], // Description for grouping of ordinal or polychotomous variables
      "valueQuantity" : [{ Quantity }], // Discrete value for grouping of ordinal or polychotomous variables
      "valueRange" : [{ Range }] // Range of values for grouping of ordinal or polychotomous variables
    }]
  }]
}

Turtle Template

@prefix fhir: <http://hl7.org/fhir/> .

[
 # from Element: Element.extension
  fhir:Statistic.description [ string ]; # 0..1 Description of content
  fhir:Statistic.note [ Annotation ], ... ; # 0..* Footnotes and/or explanatory notes
  fhir:Statistic.statisticType [ CodeableConcept ]; # 0..1 Type of statistic, eg relative risk
  fhir:Statistic.quantity [ Quantity ]; # 0..1 Statistic value
  fhir:Statistic.numberOfEvents [ integer ]; # 0..1 The number of events associated with the statistic
  fhir:Statistic.sampleSize [ # 0..1 Number of samples in the statistic
    fhir:Statistic.sampleSize.description [ string ]; # 0..1 Textual description of sample size for statistic
    fhir:Statistic.sampleSize.note [ Annotation ], ... ; # 0..* Footnote or explanatory note about the sample size
    fhir:Statistic.sampleSize.numberOfStudies [ integer ]; # 0..1 Number of contributing studies
    fhir:Statistic.sampleSize.numberOfParticipants [ integer ]; # 0..1 Cumulative number of participants
    fhir:Statistic.sampleSize.knownDataCount [ integer ]; # 0..1 Number of participants with known results for measured variables
  ];
  fhir:Statistic.attributeEstimate [ # 0..* An attribute of the Statistic
    fhir:Statistic.attributeEstimate.description [ string ]; # 0..1 Textual description of the attribute estimate
    fhir:Statistic.attributeEstimate.note [ Annotation ], ... ; # 0..* Footnote or explanatory note about the estimate
    fhir:Statistic.attributeEstimate.type [ CodeableConcept ]; # 0..1 The type of attribute estimate, eg confidence interval or p value
    fhir:Statistic.attributeEstimate.quantity [ Quantity ]; # 0..1 The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
    fhir:Statistic.attributeEstimate.level [ decimal ]; # 0..1 Level of confidence interval, eg 0.95 for 95% confidence interval
    fhir:Statistic.attributeEstimate.range [ Range ]; # 0..1 Lower and upper bound values of the attribute estimate
    fhir:Statistic.attributeEstimate.attributeEstimate [ # 0..* A nested attribute estimate; which is the attribute estimate of an attribute estimate
      fhir:Statistic.attributeEstimate.attributeEstimate.description [ string ]; # 0..1 Textual description of the attribute estimate
      fhir:Statistic.attributeEstimate.attributeEstimate.note [ Annotation ], ... ; # 0..* Footnote or explanatory note about the estimate
      fhir:Statistic.attributeEstimate.attributeEstimate.type [ CodeableConcept ]; # 0..1 The type of attribute estimate, eg confidence interval or p value
      fhir:Statistic.attributeEstimate.attributeEstimate.quantity [ Quantity ]; # 0..1 The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
      fhir:Statistic.attributeEstimate.attributeEstimate.level [ decimal ]; # 0..1 Level of confidence interval, eg 0.95 for 95% confidence interval
      fhir:Statistic.attributeEstimate.attributeEstimate.range [ Range ]; # 0..1 Lower and upper bound values of the attribute estimate
    ], ...;
  ], ...;
  fhir:Statistic.modelCharacteristic [ # 0..* Model characteristic
    fhir:Statistic.modelCharacteristic.code [ CodeableConcept ]; # 0..1 Model specification
    # Statistic.modelCharacteristic.value[x] : 0..1 Model specification details. One of these 4
      fhir:Statistic.modelCharacteristic.valueCodeableConcept [ CodeableConcept ]
      fhir:Statistic.modelCharacteristic.valueBoolean [ boolean ]
      fhir:Statistic.modelCharacteristic.valueSimpleQuantity [ Quantity(SimpleQuantity) ]
      fhir:Statistic.modelCharacteristic.valueRange [ Range ]
    fhir:Statistic.modelCharacteristic.variable [ # 0..* A variable adjusted for in the adjusted analysis
      fhir:Statistic.modelCharacteristic.variable.variableDefinition [ Reference(EvidenceVariable|Group) ]; # 1..1 Description of the variable
      fhir:Statistic.modelCharacteristic.variable.handling [ code ]; # 0..1 continuous | dichotomous | ordinal | polychotomous
      fhir:Statistic.modelCharacteristic.variable.valueCategory [ CodeableConcept ], ... ; # 0..* Description for grouping of ordinal or polychotomous variables
      fhir:Statistic.modelCharacteristic.variable.valueQuantity [ Quantity ], ... ; # 0..* Discrete value for grouping of ordinal or polychotomous variables
      fhir:Statistic.modelCharacteristic.variable.valueRange [ Range ], ... ; # 0..* Range of values for grouping of ordinal or polychotomous variables
    ], ...;
  ], ...;
]

Changes since Release 3

This complex-type did not exist in Release 2

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. StatisticΣDElementSingle statistic
Elements defined in Ancestors: id, extension, modifierExtension
... descriptionΣ0..1stringDescription of content
... noteΣ0..*AnnotationFootnotes and/or explanatory notes
... statisticTypeΣ0..1CodeableConceptType of statistic, eg relative risk
StatisticType (Extensible)
... numberOfEventsΣ0..1integerThe number of events associated with the statistic
... sampleSizeΣ0..1ElementNumber of samples in the statistic
.... descriptionΣ0..1stringTextual description of sample size for statistic
.... noteΣ0..*AnnotationFootnote or explanatory note about the sample size
.... numberOfStudiesΣ0..1integerNumber of contributing studies
.... numberOfParticipantsΣ0..1integerCumulative number of participants
.... knownDataCountΣ0..1integerNumber of participants with known results for measured variables
... attributeEstimateΣ0..*ElementAn attribute of the Statistic
.... descriptionΣ0..1stringTextual description of the attribute estimate
.... noteΣ0..*AnnotationFootnote or explanatory note about the estimate
.... typeΣ0..1CodeableConceptThe type of attribute estimate, eg confidence interval or p value
StatisticAttributeEstimateType (Extensible)
.... quantityΣ0..1QuantityThe singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
.... levelΣ0..1decimalLevel of confidence interval, eg 0.95 for 95% confidence interval
.... rangeΣ0..1RangeLower and upper bound values of the attribute estimate
.... attributeEstimateΣ0..*ElementA nested attribute estimate; which is the attribute estimate of an attribute estimate
..... descriptionΣ0..1stringTextual description of the attribute estimate
..... noteΣ0..*AnnotationFootnote or explanatory note about the estimate
..... typeΣ0..1CodeableConceptThe type of attribute estimate, eg confidence interval or p value
StatisticAttributeEstimateType (Extensible)
..... quantityΣ0..1QuantityThe singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
..... levelΣ0..1decimalLevel of confidence interval, eg 0.95 for 95% confidence interval
..... rangeΣ0..1RangeLower and upper bound values of the attribute estimate
... modelCharacteristicΣ0..*ElementModel characteristic
.... codeΣ0..1CodeableConceptModel specification
StatisticModelCode (Extensible)
.... value[x]Σ0..1Model specification details
StatisticModelMethod (Extensible)
..... valueCodeableConceptCodeableConcept
..... valueBooleanboolean
..... valueQuantitySimpleQuantity
..... valueRangeRange
.... variableΣ0..*ElementA variable adjusted for in the adjusted analysis
..... variableDefinitionΣ1..1Reference(Group | EvidenceVariable)Description of the variable
..... handlingΣ0..1codecontinuous | dichotomous | ordinal | polychotomous
EvidenceVariableHandling (Required)
..... valueCategoryΣ0..*CodeableConceptDescription for grouping of ordinal or polychotomous variables
..... valueQuantityΣ0..*QuantityDiscrete value for grouping of ordinal or polychotomous variables
..... valueRangeΣ0..*RangeRange of values for grouping of ordinal or polychotomous variables

doco Documentation for this format

UML Diagram (Legend)

StatisticA description of the content value of the statisticdescription : string [0..1]Footnotes and/or explanatory notesnote : Annotation [0..*]Type of statistic, eg relative riskstatisticType : CodeableConcept [0..1] « The type of a specific statistic. (Strength=Extensible)StatisticType+ »Statistic valuequantity : Quantity [0..1]The number of events associated with the statisticnumberOfEvents : integer [0..1]SampleSizeHuman-readable summary of population sample sizedescription : string [0..1]Footnote or explanatory note about the sample sizenote : Annotation [0..*]Number of participants in the populationnumberOfStudies : integer [0..1]A human-readable string to clarify or explain concepts about the sample sizenumberOfParticipants : integer [0..1]Number of participants with known results for measured variablesknownDataCount : integer [0..1]AttributeEstimateHuman-readable summary of the estimatedescription : string [0..1]Footnote or explanatory note about the estimatenote : Annotation [0..*]The type of attribute estimate, eg confidence interval or p valuetype : CodeableConcept [0..1] « Method of reporting variability of estimates, such as confidence intervals, interquartile range or standard deviation. (Strength=Extensible)StatisticAttributeEstimateType+ »The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measurequantity : Quantity [0..1]Use 95 for a 95% confidence intervallevel : decimal [0..1]Lower bound of confidence intervalrange : Range [0..1]AttributeEstimateHuman-readable summary of the estimatedescription : string [0..1]Footnote or explanatory note about the estimatenote : Annotation [0..*]The type of attribute estimate, eg confidence interval or p valuetype : CodeableConcept [0..1] « Method of reporting variability of estimates, such as confidence intervals, interquartile range or standard deviation. (Strength=Extensible)StatisticAttributeEstimateType+ »The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measurequantity : Quantity [0..1]Use 95 for a 95% confidence intervallevel : decimal [0..1]Lower bound of confidence intervalrange : Range [0..1]ModelCharacteristicDescription of a component of the method to generate the statisticcode : CodeableConcept [0..1] « Statistic Model Code. (Strength=Extensible)StatisticModelCode+ »Further specification of a component of the method to generate the statisticvalue[x] : DataType [0..1] « CodeableConcept|boolean|Quantity(SimpleQuantity)| Range; Statistic Model Method. (Strength=Extensible)StatisticModelMethod+ »VariableDescription of the variablevariableDefinition : Reference [1..1] « Group|EvidenceVariable »How the variable is classified for use in adjusted analysishandling : code [0..1] « The possible types of variables for exposures or outcomes (E.g. Dichotomous, Continuous, Descriptive). (Strength=Required)EvidenceVariableHandling! »Description for grouping of ordinal or polychotomous variablesvalueCategory : CodeableConcept [0..*]Discrete value for grouping of ordinal or polychotomous variablesvalueQuantity : Quantity [0..*]Range of values for grouping of ordinal or polychotomous variablesvalueRange : Range [0..*]BackboneTypeMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself) (this element modifies the meaning of other elements)modifierExtension : Extension [0..*]Number of samples in the statisticsampleSize[0..1]A nested attribute estimate; which is the attribute estimate of an attribute estimateattributeEstimate[0..*]A statistical attribute of the statistic such as a measure of heterogeneityattributeEstimate[0..*]A variable adjusted for in the adjusted analysisvariable[0..*]A component of the method to generate the statisticmodelCharacteristic[0..*]

XML Template

<Statistic xmlns="http://hl7.org/fhir">
 <!-- from Element: extension -->
 <description value="[string]"/><!-- 0..1 Description of content -->
 <note><!-- 0..* Annotation Footnotes and/or explanatory notes --></note>
 <statisticType><!-- 0..1 CodeableConcept Type of statistic, eg relative risk --></statisticType>
 <quantity><!-- 0..1 Quantity Statistic value --></quantity>
 <numberOfEvents value="[integer]"/><!-- 0..1 The number of events associated with the statistic -->
 <sampleSize>  <!-- 0..1 Number of samples in the statistic -->
  <description value="[string]"/><!-- 0..1 Textual description of sample size for statistic -->
  <note><!-- 0..* Annotation Footnote or explanatory note about the sample size --></note>
  <numberOfStudies value="[integer]"/><!-- 0..1 Number of contributing studies -->
  <numberOfParticipants value="[integer]"/><!-- 0..1 Cumulative number of participants -->
  <knownDataCount value="[integer]"/><!-- 0..1 Number of participants with known results for measured variables -->
 </sampleSize>
 <attributeEstimate>  <!-- 0..* An attribute of the Statistic -->
  <description value="[string]"/><!-- 0..1 Textual description of the attribute estimate -->
  <note><!-- 0..* Annotation Footnote or explanatory note about the estimate --></note>
  <type><!-- 0..1 CodeableConcept The type of attribute estimate, eg confidence interval or p value --></type>
  <quantity><!-- 0..1 Quantity The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure --></quantity>
  <level value="[decimal]"/><!-- 0..1 Level of confidence interval, eg 0.95 for 95% confidence interval -->
  <range><!-- 0..1 Range Lower and upper bound values of the attribute estimate --></range>
  <attributeEstimate>  <!-- 0..* A nested attribute estimate; which is the attribute estimate of an attribute estimate -->
   <description value="[string]"/><!-- 0..1 Textual description of the attribute estimate -->
   <note><!-- 0..* Annotation Footnote or explanatory note about the estimate --></note>
   <type><!-- 0..1 CodeableConcept The type of attribute estimate, eg confidence interval or p value --></type>
   <quantity><!-- 0..1 Quantity The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure --></quantity>
   <level value="[decimal]"/><!-- 0..1 Level of confidence interval, eg 0.95 for 95% confidence interval -->
   <range><!-- 0..1 Range Lower and upper bound values of the attribute estimate --></range>
  </attributeEstimate>
 </attributeEstimate>
 <modelCharacteristic>  <!-- 0..* Model characteristic -->
  <code><!-- 0..1 CodeableConcept Model specification --></code>
  <value[x]><!-- 0..1 CodeableConcept|boolean|Quantity(SimpleQuantity)|Range Model specification details --></value[x]>
  <variable>  <!-- 0..* A variable adjusted for in the adjusted analysis -->
   <variableDefinition><!-- 1..1 Reference(EvidenceVariable|Group) Description of the variable --></variableDefinition>
   <handling value="[code]"/><!-- 0..1 continuous | dichotomous | ordinal | polychotomous -->
   <valueCategory><!-- 0..* CodeableConcept Description for grouping of ordinal or polychotomous variables --></valueCategory>
   <valueQuantity><!-- 0..* Quantity Discrete value for grouping of ordinal or polychotomous variables --></valueQuantity>
   <valueRange><!-- 0..* Range Range of values for grouping of ordinal or polychotomous variables --></valueRange>
  </variable>
 </modelCharacteristic>
</Statistic>

JSON Template

{doco
  // from Element: extension
  "description" : "<string>", // Description of content
  "note" : [{ Annotation }], // Footnotes and/or explanatory notes
  "statisticType" : { CodeableConcept }, // Type of statistic, eg relative risk
  "quantity" : { Quantity }, // Statistic value
  "numberOfEvents" : <integer>, // The number of events associated with the statistic
  "sampleSize" : { // Number of samples in the statistic
    "description" : "<string>", // Textual description of sample size for statistic
    "note" : [{ Annotation }], // Footnote or explanatory note about the sample size
    "numberOfStudies" : <integer>, // Number of contributing studies
    "numberOfParticipants" : <integer>, // Cumulative number of participants
    "knownDataCount" : <integer> // Number of participants with known results for measured variables
  },
  "attributeEstimate" : [{ // An attribute of the Statistic
    "description" : "<string>", // Textual description of the attribute estimate
    "note" : [{ Annotation }], // Footnote or explanatory note about the estimate
    "type" : { CodeableConcept }, // The type of attribute estimate, eg confidence interval or p value
    "quantity" : { Quantity }, // The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
    "level" : <decimal>, // Level of confidence interval, eg 0.95 for 95% confidence interval
    "range" : { Range }, // Lower and upper bound values of the attribute estimate
    "attributeEstimate" : [{ // A nested attribute estimate; which is the attribute estimate of an attribute estimate
      "description" : "<string>", // Textual description of the attribute estimate
      "note" : [{ Annotation }], // Footnote or explanatory note about the estimate
      "type" : { CodeableConcept }, // The type of attribute estimate, eg confidence interval or p value
      "quantity" : { Quantity }, // The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
      "level" : <decimal>, // Level of confidence interval, eg 0.95 for 95% confidence interval
      "range" : { Range } // Lower and upper bound values of the attribute estimate
    }]
  }],
  "modelCharacteristic" : [{ // Model characteristic
    "code" : { CodeableConcept }, // Model specification
    // value[x]: Model specification details. One of these 4:
    "valueCodeableConcept" : { CodeableConcept },
    "valueBoolean" : <boolean>,
    "valueQuantity" : { Quantity(SimpleQuantity) },
    "valueRange" : { Range },
    "variable" : [{ // A variable adjusted for in the adjusted analysis
      "variableDefinition" : { Reference(EvidenceVariable|Group) }, // R!  Description of the variable
      "handling" : "<code>", // continuous | dichotomous | ordinal | polychotomous
      "valueCategory" : [{ CodeableConcept }], // Description for grouping of ordinal or polychotomous variables
      "valueQuantity" : [{ Quantity }], // Discrete value for grouping of ordinal or polychotomous variables
      "valueRange" : [{ Range }] // Range of values for grouping of ordinal or polychotomous variables
    }]
  }]
}

Turtle Template

@prefix fhir: <http://hl7.org/fhir/> .

[
 # from Element: Element.extension
  fhir:Statistic.description [ string ]; # 0..1 Description of content
  fhir:Statistic.note [ Annotation ], ... ; # 0..* Footnotes and/or explanatory notes
  fhir:Statistic.statisticType [ CodeableConcept ]; # 0..1 Type of statistic, eg relative risk
  fhir:Statistic.quantity [ Quantity ]; # 0..1 Statistic value
  fhir:Statistic.numberOfEvents [ integer ]; # 0..1 The number of events associated with the statistic
  fhir:Statistic.sampleSize [ # 0..1 Number of samples in the statistic
    fhir:Statistic.sampleSize.description [ string ]; # 0..1 Textual description of sample size for statistic
    fhir:Statistic.sampleSize.note [ Annotation ], ... ; # 0..* Footnote or explanatory note about the sample size
    fhir:Statistic.sampleSize.numberOfStudies [ integer ]; # 0..1 Number of contributing studies
    fhir:Statistic.sampleSize.numberOfParticipants [ integer ]; # 0..1 Cumulative number of participants
    fhir:Statistic.sampleSize.knownDataCount [ integer ]; # 0..1 Number of participants with known results for measured variables
  ];
  fhir:Statistic.attributeEstimate [ # 0..* An attribute of the Statistic
    fhir:Statistic.attributeEstimate.description [ string ]; # 0..1 Textual description of the attribute estimate
    fhir:Statistic.attributeEstimate.note [ Annotation ], ... ; # 0..* Footnote or explanatory note about the estimate
    fhir:Statistic.attributeEstimate.type [ CodeableConcept ]; # 0..1 The type of attribute estimate, eg confidence interval or p value
    fhir:Statistic.attributeEstimate.quantity [ Quantity ]; # 0..1 The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
    fhir:Statistic.attributeEstimate.level [ decimal ]; # 0..1 Level of confidence interval, eg 0.95 for 95% confidence interval
    fhir:Statistic.attributeEstimate.range [ Range ]; # 0..1 Lower and upper bound values of the attribute estimate
    fhir:Statistic.attributeEstimate.attributeEstimate [ # 0..* A nested attribute estimate; which is the attribute estimate of an attribute estimate
      fhir:Statistic.attributeEstimate.attributeEstimate.description [ string ]; # 0..1 Textual description of the attribute estimate
      fhir:Statistic.attributeEstimate.attributeEstimate.note [ Annotation ], ... ; # 0..* Footnote or explanatory note about the estimate
      fhir:Statistic.attributeEstimate.attributeEstimate.type [ CodeableConcept ]; # 0..1 The type of attribute estimate, eg confidence interval or p value
      fhir:Statistic.attributeEstimate.attributeEstimate.quantity [ Quantity ]; # 0..1 The singular quantity of the attribute estimate, for attribute estimates represented as single values; also used to report unit of measure
      fhir:Statistic.attributeEstimate.attributeEstimate.level [ decimal ]; # 0..1 Level of confidence interval, eg 0.95 for 95% confidence interval
      fhir:Statistic.attributeEstimate.attributeEstimate.range [ Range ]; # 0..1 Lower and upper bound values of the attribute estimate
    ], ...;
  ], ...;
  fhir:Statistic.modelCharacteristic [ # 0..* Model characteristic
    fhir:Statistic.modelCharacteristic.code [ CodeableConcept ]; # 0..1 Model specification
    # Statistic.modelCharacteristic.value[x] : 0..1 Model specification details. One of these 4
      fhir:Statistic.modelCharacteristic.valueCodeableConcept [ CodeableConcept ]
      fhir:Statistic.modelCharacteristic.valueBoolean [ boolean ]
      fhir:Statistic.modelCharacteristic.valueSimpleQuantity [ Quantity(SimpleQuantity) ]
      fhir:Statistic.modelCharacteristic.valueRange [ Range ]
    fhir:Statistic.modelCharacteristic.variable [ # 0..* A variable adjusted for in the adjusted analysis
      fhir:Statistic.modelCharacteristic.variable.variableDefinition [ Reference(EvidenceVariable|Group) ]; # 1..1 Description of the variable
      fhir:Statistic.modelCharacteristic.variable.handling [ code ]; # 0..1 continuous | dichotomous | ordinal | polychotomous
      fhir:Statistic.modelCharacteristic.variable.valueCategory [ CodeableConcept ], ... ; # 0..* Description for grouping of ordinal or polychotomous variables
      fhir:Statistic.modelCharacteristic.variable.valueQuantity [ Quantity ], ... ; # 0..* Discrete value for grouping of ordinal or polychotomous variables
      fhir:Statistic.modelCharacteristic.variable.valueRange [ Range ], ... ; # 0..* Range of values for grouping of ordinal or polychotomous variables
    ], ...;
  ], ...;
]

Changes since Release 3

This complex-type did not exist in Release 2

Constraints

Statistic is used in the following places: OrderedDistribution and Evidence