This page is part of the CDA: Clinical Document Architecture (v2.1.0-draft1: CDA 2.1 Draft) based on FHIR v5.0.0. . For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/cda/StructureDefinition/QTY | Version: 2.1.0-draft1 | |||
Active as of 2023-01-16 | Computable Name: QTY |
The quantity data type is an abstract generalization for all data types (1) whose value set has an order relation (less-or-equal) and (2) where difference is defined in all of the data type’s totally ordered value subsets. The quantity type abstraction is needed in defining certain other types, such as the interval and the probability distribution.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QTY | 1..* | ANY | This is an abstract type. Child types: REAL, RTO_PQ_PQ, PQ, INT, MO Base for all types and resources | |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QTY | 1..* | ANY | This is an abstract type. Child types: REAL, RTO_PQ_PQ, PQ, INT, MO Base for all types and resources | |
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
Documentation for this format |
Path | Conformance | ValueSet |
QTY.nullFlavor | required | NullFlavor |
This structure is derived from ANY
Differential View
This structure is derived from ANY
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QTY | 1..* | ANY | This is an abstract type. Child types: REAL, RTO_PQ_PQ, PQ, INT, MO Base for all types and resources | |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QTY | 1..* | ANY | This is an abstract type. Child types: REAL, RTO_PQ_PQ, PQ, INT, MO Base for all types and resources | |
nullFlavor | 0..1 | code | Binding: NullFlavor (required) | |
Documentation for this format |
Path | Conformance | ValueSet |
QTY.nullFlavor | required | NullFlavor |
This structure is derived from ANY