hl7ch / cda-fhir-maps

Maps (FHIR Mapping Language) to transform documents from CDA to FHIR and back
Apache License 2.0
19 stars 8 forks source link

FHIR -> CDA: free text medication (no gtin), cda needs the element code with NA #22

Closed ziegm closed 3 years ago

ziegm commented 3 years ago

CDA: manufacturedMaterial.code 1..1 see spec:
The element SHALL be present and describes the code of the medication (GTIN). If it as magistral preparation/compound medicin nullFlavor SHALL be NA

FHIR Source file only Medication.code.text is required

TBD for Transformation Generating this part for CDA: <code code="7680460380107" codeSystem="2.51.1.1" codeSystemName="Global Trade Item Number" displayName="NA"/>

oliveregger commented 3 years ago

added nullFlavor, @ziegm not clear what I should do about "TBD for Transformation"

ziegm commented 3 years ago

@oliveregger Wenn im FHIR nur das Element text vorhanden ist (kein coding), dann soll im CDA der code mit nullFlavor generiert werden bei der Transformation.

ziegm commented 3 years ago

checked