FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/REAL

Packageau.digitalhealth.cda.schema
TypeStructureDefinition
IdREAL
FHIR VersionR5
Sourcehttp://ns.electronichealth.net.au/cda/https://build.fhir.org/ig/AuDigitalHealth/cda-au-schema/StructureDefinition-REAL.html
URLhttp://hl7.org/cda/stds/core/StructureDefinition/REAL
Version1.0.0
Statusactive
Date2025-07-21T22:05:27+00:00
NameREAL
TitleREAL: RealNumber (V3 Data Type)
Realmau
Authoritynational
DescriptionFractional 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.
Typehttp://hl7.org/cda/stds/core/StructureDefinition/REAL
Kindlogical

Resources that use this resource

StructureDefinition
CriterionCriterion (CDA Class)
ObservationObservation (CDA Class)
ObservationRangeObservationRange (CDA Class)
au-ObservationADHA Observation (CDA Class)
au-ObservationRangeADHA ObservationRange (CDA Class)
SmokingStatusSmoking Status

Resources that this resource uses

StructureDefinition
QTYQTY: Quantity (V3 Data Type)
real-simplereal: Real Number

Narrative

Note: links and images are rebased to the (stated) source

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.


Source

{
  "resourceType": "StructureDefinition",
  "id": "REAL",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/logical-target",
      "_valueBoolean": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
            "valueCode": "not-applicable"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace",
      "valueUri": "urn:hl7-org:v3"
    },
    {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/logical-container",
      "valueUri": "http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"
    }
  ],
  "url": "http://hl7.org/cda/stds/core/StructureDefinition/REAL",
  "version": "1.0.0",
  "name": "REAL",
  "title": "REAL: RealNumber (V3 Data Type)",
  "status": "active",
  "experimental": false,
  "date": "2025-07-21T22:05:27+00:00",
  "publisher": "HL7",
  "description": "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.",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://hl7.org/cda/stds/core/StructureDefinition/REAL",
  "baseDefinition": "http://hl7.org/cda/stds/core/StructureDefinition/QTY",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "1.0.0"
      }
    ],
    "element": [
      {
        "id": "REAL",
        "path": "REAL",
        "short": "Base for all types and resources",
        "definition": "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": 1,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "value-null",
            "severity": "error",
            "human": "value and nullFlavor are mutually exclusive (one must be present)",
            "expression": "(value | nullFlavor).count() = 1"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "REAL.nullFlavor",
        "path": "REAL.nullFlavor",
        "representation": [
          "xmlAttr"
        ],
        "label": "Exceptional Value Detail",
        "definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ANY.nullFlavor",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
        }
      },
      {
        "id": "REAL.value",
        "path": "REAL.value",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "REAL.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/real-simple"
            ]
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "REAL",
        "path": "REAL",
        "definition": "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": 1,
        "max": "*",
        "constraint": [
          {
            "key": "value-null",
            "severity": "error",
            "human": "value and nullFlavor are mutually exclusive (one must be present)",
            "expression": "(value | nullFlavor).count() = 1"
          }
        ]
      },
      {
        "id": "REAL.value",
        "path": "REAL.value",
        "representation": [
          "xmlAttr"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal",
            "profile": [
              "http://hl7.org/cda/stds/core/StructureDefinition/real-simple"
            ]
          }
        ]
      }
    ]
  }
}