This page is part of the HL7 Version 2 to FHIR (v1.0.0: STU1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
| Official URL: http://hl7.org/fhir/uv/v2mappings/ConceptMap/datatype-cwe-to-quantity | Version: 1.0.0 | |||
| Standards status: Informative | Computable Name: DatatypeCWEToQuantity | |||
Copyright/Legal: Copyright (c) 2025, HL7 International, Inc., All Rights Reserved. |
||||
This ConceptMap represents a mapping from the HL7 V2 Datatype CWE to the FHIR Quantity Data Type.
This ConceptMap represents the mapping from the HL7 V2 CWE Data Type to the FHIR Quantity Data Type. See also the FHIR Shorthand or the CSV Source.
| HL7 v2 | Condition (IF True, args) | HL7 FHIR | Comments | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Sort Order | Identifier | Name | Data Type | Cardinality - Min | Cardinality - Max | Computable ANTLR | Computable FHIRPath | Narrative | FHIR Attribute | Proposed Extension | Data Type | Cardinality - Min | Cardinality - Max | Data Type Mapping | Vocabulary Mapping (IS, ID, CE, CEN, CWE) | Assignment | |
| 1 | CWE.1 | Identifier | ST | 0 | 1 | IF CWE.1 IS VALUED AND CWE.3 IS VALUED | Quantity.Quantity.code | code | 0 | 1 | The source of Quantity.value will likely come from a different field (eg. OBX-5 may populate Quantity.value while OBX-6 populates the remaining Quantity elements). | ||||||
| 1 | CWE.1 | Identifier | ST | 0 | 1 | If CWE.2 IS NOT VALUED | Quantity.Quantity.unit | string | 0 | 1 | |||||||
| 2 | CWE.2 | Text | ST | 0 | 1 | Quantity.Quantity.unit | string | 0 | 1 | ||||||||
| 3 | CWE.3 | Name of Coding System | ID | 0 | 1 | IF CWE.1 IS VALUED AND CWE.3 IS VALUED | Quantity.Quantity.system | uri | 0 | 1 | |||||||
| 4 | CWE.4 | Alternate Identifier | ST | 0 | 1 | Quantity.unit, .system and .code are not allowed to repeat. This mapping assumes the first CWE triplet will not be empty if othe triplets are populated, therefore mappings for other triplets are not provided. | |||||||||||
| 5 | CWE.5 | Alternate Text | ST | 0 | 1 | ||||||||||||
| 6 | CWE.6 | Name of Alternate Coding System | ID | 0 | 1 | ||||||||||||
| 7 | CWE.7 | Coding System Version ID | ST | 0 | 1 | ||||||||||||
| 8 | CWE.8 | Alternate Coding System Version ID | ST | 0 | 1 | ||||||||||||
| 9 | CWE.9 | Original Text | ST | 0 | 1 | ||||||||||||
| 10 | CWE.10 | Second Alternate Identifier | ST | 0 | 1 | ||||||||||||
| 11 | CWE.11 | Second Alternate Text | ST | 0 | 1 | ||||||||||||
| 12 | CWE.12 | Name of Second Alternate Coding System | ID | 0 | 1 | ||||||||||||
| 13 | CWE.13 | Second Alternate Coding System Version ID | ST | 0 | 1 | ||||||||||||
| 14 | CWE.14 | Coding System OID | ST | 0 | 1 | ||||||||||||
| 15 | CWE.15 | Value Set OID | ST | 0 | 1 | ||||||||||||
| 16 | CWE.16 | Value Set Version ID | DTM | 0 | 1 | ||||||||||||
| 17 | CWE.17 | Alternate Coding System OID | ST | 0 | 1 | ||||||||||||
| 18 | CWE.18 | Alternate Value Set OID | ST | 0 | 1 | ||||||||||||
| 19 | CWE.19 | Alternate Value Set Version ID | DTM | 0 | 1 | ||||||||||||
| 20 | CWE.20 | Second Alternate Coding System OID | ST | 0 | 1 | ||||||||||||
| 21 | CWE.21 | Second Alternate Value Set OID | ST | 0 | 1 | ||||||||||||
| 22 | CWE.22 | Second Alternate Value Set Version ID | DTM | 0 | 1 | ||||||||||||
Mapping from (not specified) to (not specified)
Group 1 Mapping from unspecified code system to unspecified code system
| Source Concept Details | Relationship | Target Concept Details | Comment | |||
| Codes from | ComputableANTLR | Codes from | ||||
| CWE.1 | Identifier | IF CWE.1 IS VALUED AND CWE.3 IS VALUED | is equivalent to | Quantity.code | Quantity.code | The source of Quantity.value will likely come from a different field (eg. OBX-5 may populate Quantity.value while OBX-6 populates the remaining Quantity elements). |
| CWE.1 | Identifier | If CWE.2 IS NOT VALUED | is equivalent to | Quantity.unit | Quantity.unit | |
| CWE.2 | Text | is equivalent to | Quantity.unit | Quantity.unit | ||
| CWE.3 | Name of Coding System | IF CWE.1 IS VALUED AND CWE.3 IS VALUED | is equivalent to | Quantity.system | Quantity.system | |