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

pharm:asContent only when amount and code #41

Closed oliveregger closed 2 years ago

oliveregger commented 2 years ago

if the package amount is not specified pharm:asContent should not be generated (otherwise it gives a schematron error) vice versa the gtin should be taken from manufacturedMaterial.code