PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.extensions@5.3.0-ballot-tc1
    http://hl7.org/fhir/StructureDefinition/quantity-confidenceInterval
description: The range within which, at the given level of confidence, the actual value resides. For example, a nominal value (from the context Observation.value) of 4.3 may be reported, but this extension may be used to indicate that the reporting device is only 95% confident that the actual value is in the range of 3.1 to 5.5.\n\nThe reported value, if present, should be precise enough to reflect the confidence interval. For example, a nominal quantity of 3.2 kg with a confidence interval of [3.21, 3.27] kg would be nonsensical. On the other hand, a reported value of 3.24 kg with a 95% confidence interval of [3.21, 3.27] kg would indicate a 95% confidence that the actual value is in that range.\n\nThe reported value need not be at the center of the confidence interval; for example, if the values don't follow a normal distribution. The context Observation.value SHOULD be present when this extension is used, due to the risk that systems unfamiliar with (or ignoring) this extension may be unable to process a valueless quantity.\n\nThe interval range low and high units are usually the same as the reported value's units. Confidence interval range low and high units SHOULD be provided for clarity; if omitted, they are implied to be the same as the reported value's units.
package_name: hl7.fhir.uv.extensions
derivation: constraint
name: QuantityConfidenceInterval
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        confidence:
          match: {url: null}
          schema:
            type: Extension
            short: The confidence level in percent (0..100)
            _required: true
            index: 1
            elements:
              value:
                choices: [valueDecimal]
                index: 3
              valueDecimal: {type: decimal, choiceOf: value, index: 4}
            required: [valueDecimal, value]
        interval:
          match: {url: null}
          schema:
            type: Extension
            short: Range in which actual value is expected to reside
            _required: true
            index: 5
            elements:
              value:
                choices: [valueRange]
                index: 7
              valueRange:
                type: Range
                choiceOf: value
                index: 8
                elements:
                  low: {short: The lower bound of the confidence interval, index: 9}
                  high: {short: The upper bound of the confidence interval, index: 10}
                required: [low, high]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/quantity-confidenceInterval'}
    index: 11
package_version: 5.3.0-ballot-tc1
extensions:
  confidence:
    url: null
    type: Extension
    short: The confidence level in percent (0..100)
    _required: true
    index: 1
    elements:
      value:
        choices: [valueDecimal]
        index: 3
      valueDecimal: {type: decimal, choiceOf: value, index: 4}
    required: [valueDecimal, value]
  interval:
    url: null
    type: Extension
    short: Range in which actual value is expected to reside
    _required: true
    index: 5
    elements:
      value:
        choices: [valueRange]
        index: 7
      valueRange:
        type: Range
        choiceOf: value
        index: 8
        elements:
          low: {short: The lower bound of the confidence interval, index: 9}
          high: {short: The upper bound of the confidence interval, index: 10}
        required: [low, high]
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/quantity-confidenceInterval
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 5.3.0-ballot-tc1