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: missing author.time #33

Closed ziegm closed 3 years ago

ziegm commented 3 years ago

CDA requires the Timestamp of the authorship (author.time), see spec.

The mapping doesn't work for this example:

oliveregger commented 3 years ago

The problem here is that the practitioner is not provided. The example has a reference to https://example.ch/PractitionerRole/Pharma but in this resource there is no reference to a Practitioner and the CDA author time and assignedAuthor are not there.

An author must be enforced, even if a PractitionerRole is provided.

oliveregger commented 3 years ago

https://github.com/ehealthsuisse/ch-emed/issues/80