Clinical Document Architecture, published by Health Level 7. This is not an authorized publication; it is the continuous build for version 2.0.1). This version is based on the current content of https://github.com/HL7/CDA-core-2.0/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/cda/stds/core/StructureDefinition/QTY | Version: 2.0.1 | |||
Active as of 2023-10-03 | 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.
This structure is derived from ANY
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QTY | 1..* | ANY | XML Namespace: urn:hl7-org:v3 This is an abstract type. Child types: REAL, INT, RTO_PQ_PQ, MO, PQ Elements defined in Ancestors: @nullFlavor Base for all types and resources | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QTY | 1..* | ANY | XML Namespace: urn:hl7-org:v3 This is an abstract type. Child types: REAL, INT, RTO_PQ_PQ, MO, PQ Elements defined in Ancestors: @nullFlavor 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 | XML Namespace: urn:hl7-org:v3 This is an abstract type. Child types: REAL, INT, RTO_PQ_PQ, MO, PQ Elements defined in Ancestors: @nullFlavor Base for all types and resources | |
@nullFlavor | 0..1 | cs | Binding: NullFlavor (required) | |
Documentation for this format |
Path | Conformance | ValueSet |
QTY.nullFlavor | required | NullFlavor |
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()) |
This structure is derived from ANY
Differential View
This structure is derived from ANY
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QTY | 1..* | ANY | XML Namespace: urn:hl7-org:v3 This is an abstract type. Child types: REAL, INT, RTO_PQ_PQ, MO, PQ Elements defined in Ancestors: @nullFlavor Base for all types and resources | |
Documentation for this format |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QTY | 1..* | ANY | XML Namespace: urn:hl7-org:v3 This is an abstract type. Child types: REAL, INT, RTO_PQ_PQ, MO, PQ Elements defined in Ancestors: @nullFlavor 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 | XML Namespace: urn:hl7-org:v3 This is an abstract type. Child types: REAL, INT, RTO_PQ_PQ, MO, PQ Elements defined in Ancestors: @nullFlavor Base for all types and resources | |
@nullFlavor | 0..1 | cs | Binding: NullFlavor (required) | |
Documentation for this format |
Path | Conformance | ValueSet |
QTY.nullFlavor | required | NullFlavor |
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()) |
This structure is derived from ANY