Clinical Document Architecture V2.0.1
2.1.0-draft1 - 1st Draft

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

Logical Model: QTY: Quantity (V3 Data Type) ( Abstract )

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:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from ANY

NameFlagsCard.TypeDescription & Constraintsdoco
.. QTY 1..*ANYXML Namespace: urn:hl7-org:v3
This is an abstract type. Child types: REAL, RTO_PQ_PQ, PQ, INT, MO
Base for all types and resources

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. QTY 1..*ANYThis is an abstract type. Child types: REAL, RTO_PQ_PQ, PQ, INT, MO
Base for all types and resources

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
NameFlagsCard.TypeDescription & Constraintsdoco
.. QTY 1..*ANYThis is an abstract type. Child types: REAL, RTO_PQ_PQ, PQ, INT, MO
Base for all types and resources
... nullFlavor 0..1codeBinding: NullFlavor (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
QTY.nullFlavorrequiredNullFlavor

This structure is derived from ANY

Summary

Differential View

This structure is derived from ANY

NameFlagsCard.TypeDescription & Constraintsdoco
.. QTY 1..*ANYXML Namespace: urn:hl7-org:v3
This is an abstract type. Child types: REAL, RTO_PQ_PQ, PQ, INT, MO
Base for all types and resources

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. QTY 1..*ANYThis is an abstract type. Child types: REAL, RTO_PQ_PQ, PQ, INT, MO
Base for all types and resources

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. QTY 1..*ANYThis is an abstract type. Child types: REAL, RTO_PQ_PQ, PQ, INT, MO
Base for all types and resources
... nullFlavor 0..1codeBinding: NullFlavor (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
QTY.nullFlavorrequiredNullFlavor

This structure is derived from ANY

Summary

 

Other representations of profile: CSV, Excel