HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/fhir/uv/v2mappings/datatype-cwe-to-quantity | Version: 1.0.0-ballot | |||
Active as of 2024-10-30 | Computable Name: DatatypeCWEToQuantity | |||
Copyright/Legal: Copyright (c) 2020, 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 | Quantity.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 | Quantity.string | 0 | 1 | |||||||
2 | CWE.2 | Text | ST | 0 | 1 | Quantity.Quantity.unit | Quantity.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 | Quantity.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 |
Generated Narrative: ConceptMap datatype-cwe-to-quantity
Mapping from CWE to Quantity
Group 1 Mapping from unspecified code system
to unspecified code system
Source Code | Relationship | Target Code | Comment |
CWE.1 (Identifier) | is equivalent to | 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) | is equivalent to | Quantity.unit | |
CWE.2 (Text) | is equivalent to | Quantity.unit | |
CWE.3 (Name of Coding System) | is equivalent to | Quantity.system |