Closed ziegm closed 3 years ago
Transformation from CDA to FHIR
actual mapping: <doseQuantity value="40" unit="mg"/>
<doseQuantity value="40" unit="mg"/>
"doseAndRate": [{ "doseQuantity": { "value": 40, "code": "mg" } } ]
Validation error: qty-3: If a code for the unit is present, the system SHALL also be present [code.empty() or system.exists()]
target mapping:
"doseQuantity": { "value": 40, "unit": "mg", "system": "http://unitsofmeasure.org", "code": "mg" },
@ziegm can you add a link to the source file this is happening?
https://github.com/hl7ch/cda-fhir-maps/blob/master/input/cda-ch-emed/pmlc2.xml
reviewed and tested
Transformation from CDA to FHIR
actual mapping:
<doseQuantity value="40" unit="mg"/>
Validation error: qty-3: If a code for the unit is present, the system SHALL also be present [code.empty() or system.exists()]
target mapping: