REAL
type: StructureDefinition
node role: treeRoot
id:
  v: REAL
text:
  status:
    v: generated
  div: Fractional numbers. Typically used whenever quantities are measured, estimated, or computed from other real numbers. The typical representation is decimal, where the number of significant decimal digits is known as the precision. Real numbers are needed beyond integers whenever quantities of the real world are measured, estimated, or computed from other real numbers. The term "Real number" in this specification is used to mean that fractional values are covered without necessarily implying the full set of the mathematical real numbers.
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-target
  value: boolean
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/data-absent-reason
      value: code
        v: not-applicable
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/xml-namespace
  value: uri
    v: urn:hl7-org:v3
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/logical-container
  value: uri
    v: http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument
url:
  v: http://hl7.org/cda/stds/core/StructureDefinition/REAL
version:
  v: 1.0.1
name:
  v: REAL
title:
  v: REAL: RealNumber (V3 Data Type)
status:
  v: active
experimental:
  v: false
date:
  v: 2025-10-10T09:58:30+10:00
publisher:
  v: HL7
description:
  v: Fractional numbers. Typically used whenever quantities are measured, estimated, or computed from other real numbers. The typical representation is decimal, where the number of significant decimal digits is known as the precision.
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.org/cda/stds/core/StructureDefinition/REAL
base definition:
  v: http://hl7.org/cda/stds/core/StructureDefinition/QTY
  link: http://hl7.org/cda/stds/core/StructureDefinition/QTY
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 1.0.1
  element:
    id:
      v: REAL
    path:
      v: REAL
    short:
      v: Base for all types and resources
    definition:
      v: Fractional numbers. Typically used whenever quantities are measured, estimated, or computed from other real numbers. The typical representation is decimal, where the number of significant decimal digits is known as the precision. Real numbers are needed beyond integers whenever quantities of the real world are measured, estimated, or computed from other real numbers. The term "Real number" in this specification is used to mean that fractional values are covered without necessarily implying the full set of the mathematical real numbers.
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: value-null
      severity:
        v: error
      human:
        v: value and nullFlavor are mutually exclusive (one must be present)
      expression:
        v: (value | nullFlavor).count() = 1
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: REAL.nullFlavor
    path:
      v: REAL.nullFlavor
    representation:
      v: xmlAttr
    label:
      v: Exceptional Value Detail
    definition:
      v: If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: ANY.nullFlavor
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: code
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
        link: http://hl7.org/cda/stds/core/StructureDefinition/cs-simple
    binding:
      strength:
        v: required
      value set:
        v: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
        link: http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor
  element:
    id:
      v: REAL.value
    path:
      v: REAL.value
    representation:
      v: xmlAttr
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: REAL.value
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: decimal
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/real-simple
        link: http://hl7.org/cda/stds/core/StructureDefinition/real-simple
differential:
  element:
    id:
      v: REAL
    path:
      v: REAL
    definition:
      v: Fractional numbers. Typically used whenever quantities are measured, estimated, or computed from other real numbers. The typical representation is decimal, where the number of significant decimal digits is known as the precision. Real numbers are needed beyond integers whenever quantities of the real world are measured, estimated, or computed from other real numbers. The term "Real number" in this specification is used to mean that fractional values are covered without necessarily implying the full set of the mathematical real numbers.
    min:
      v: 1
    max:
      v: *
    constraint:
      key:
        v: value-null
      severity:
        v: error
      human:
        v: value and nullFlavor are mutually exclusive (one must be present)
      expression:
        v: (value | nullFlavor).count() = 1
  element:
    id:
      v: REAL.value
    path:
      v: REAL.value
    representation:
      v: xmlAttr
    min:
      v: 0
    max:
      v: 1
    type:
      code:
        v: decimal
      profile:
        v: http://hl7.org/cda/stds/core/StructureDefinition/real-simple
        link: http://hl7.org/cda/stds/core/StructureDefinition/real-simple