| Package | hl7.fhir.uv.v2mappings |
| Resource Type | ConceptMap |
| Id | datatype-cwe-to-quantity |
| FHIR Version | R4 |
| Source | http://hl7.org/fhir/uv/v2mappings/https://build.fhir.org/ig/HL7/v2-to-fhir/ConceptMap-datatype-cwe-to-quantity.html |
| URL | http://hl7.org/fhir/uv/v2mappings/ConceptMap/datatype-cwe-to-quantity |
| Version | 1.0.0 |
| Status | active |
| Date | 2025-07-29 |
| Name | DatatypeCWEToQuantity |
| Title | Datatype CWE to Quantity Map |
| Realm | uv |
| Authority | hl7 |
| Description | This ConceptMap represents a mapping from the HL7 V2 Datatype CWE to the FHIR Quantity Data Type. |
| Copyright | Copyright (c) 2025, HL7 International, Inc., All Rights Reserved. |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: ConceptMap datatype-cwe-to-quantity
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 | |
{
"resourceType": "ConceptMap",
"id": "datatype-cwe-to-quantity",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"extension": [
{
"url": "type",
"valueCode": "derived-from"
},
{
"url": "label",
"valueString": "Datatype CWE to Quantity.fsh"
},
{
"url": "url",
"valueUri": "https://docs.google.com/spreadsheets/d/10NSiYc6zH_no7e-kRsnq4ZcosHYAHYKSa9wPvnY-Yfk/edit#gid=0"
}
],
"url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "oo"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "informative",
"_valueCode": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"
}
]
}
}
],
"url": "http://hl7.org/fhir/uv/v2mappings/ConceptMap/datatype-cwe-to-quantity",
"version": "1.0.0",
"name": "DatatypeCWEToQuantity",
"title": "Datatype CWE to Quantity Map",
"status": "active",
"experimental": true,
"date": "2025-07-29",
"publisher": "HL7 International / Orders and Observations",
"contact": [
{
"name": "HL7 Orders and Observations Workgroup",
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/orders"
}
]
}
],
"description": "This ConceptMap represents a mapping from the HL7 V2 Datatype CWE to the FHIR Quantity Data Type.",
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001"
}
]
}
],
"copyright": "Copyright (c) 2025, HL7 International, Inc., All Rights Reserved.",
"group": [
{
"element": [
{
"extension": [
{
"extension": [
{
"url": "type",
"valueCode": "ST"
},
{
"url": "cardinalityMin",
"valueInteger": 0
},
{
"url": "cardinalityMax",
"valueInteger": 1
}
],
"url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code": "CWE.1",
"display": "Identifier",
"target": [
{
"extension": [
{
"extension": [
{
"url": "type",
"valueCode": "code"
},
{
"url": "cardinalityMin",
"valueInteger": 1
},
{
"url": "cardinalityMax",
"valueInteger": 1
}
],
"url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code": "Quantity.code",
"display": "Quantity.code",
"equivalence": "equivalent",
"comment": "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).",
"dependsOn": [
{
"property": "Computable-ANTLR",
"value": "IF CWE.1 IS VALUED AND CWE.3 IS VALUED"
}
]
}
]
},
{
"extension": [
{
"extension": [
{
"url": "type",
"valueCode": "ST"
},
{
"url": "cardinalityMin",
"valueInteger": 0
},
{
"url": "cardinalityMax",
"valueInteger": 1
}
],
"url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code": "CWE.1",
"display": "Identifier",
"target": [
{
"extension": [
{
"extension": [
{
"url": "type",
"valueCode": "string"
},
{
"url": "cardinalityMin",
"valueInteger": 1
},
{
"url": "cardinalityMax",
"valueInteger": 1
}
],
"url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code": "Quantity.unit",
"display": "Quantity.unit",
"equivalence": "equivalent",
"dependsOn": [
{
"property": "Computable-ANTLR",
"value": "If CWE.2 IS NOT VALUED"
}
]
}
]
},
{
"extension": [
{
"extension": [
{
"url": "type",
"valueCode": "ST"
},
{
"url": "cardinalityMin",
"valueInteger": 0
},
{
"url": "cardinalityMax",
"valueInteger": 1
}
],
"url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code": "CWE.2",
"display": "Text",
"target": [
{
"extension": [
{
"extension": [
{
"url": "type",
"valueCode": "string"
},
{
"url": "cardinalityMin",
"valueInteger": 1
},
{
"url": "cardinalityMax",
"valueInteger": 1
}
],
"url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code": "Quantity.unit",
"display": "Quantity.unit",
"equivalence": "equivalent"
}
]
},
{
"extension": [
{
"extension": [
{
"url": "type",
"valueCode": "ID"
},
{
"url": "cardinalityMin",
"valueInteger": 0
},
{
"url": "cardinalityMax",
"valueInteger": 1
}
],
"url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code": "CWE.3",
"display": "Name of Coding System",
"target": [
{
"extension": [
{
"extension": [
{
"url": "type",
"valueCode": "uri"
},
{
"url": "cardinalityMin",
"valueInteger": 1
},
{
"url": "cardinalityMax",
"valueInteger": 1
}
],
"url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
}
],
"code": "Quantity.system",
"display": "Quantity.system",
"equivalence": "equivalent",
"dependsOn": [
{
"property": "Computable-ANTLR",
"value": "IF CWE.1 IS VALUED AND CWE.3 IS VALUED"
}
]
}
]
}
]
}
]
}