0

I have been trying to find a way to map fhir bundle resource to cda documents in javascript. I found some resource like "https://github.com/amida-tech/fhir2ccda" but it has no description. Found $document fhir operation but it has no proper example. Can anyone tell any resource related to it?

2 Answers2

0

You might look at https://chat.fhir.org/#narrow/stream/179273-CCDA-.2F.20FHIR.20mapping.20stream. That's probably the best place for discussion.

Lloyd McKenzie
  • 6,345
  • 1
  • 13
  • 10
0

For me the best option is to implement an xslt (this is what I implemented). So you should:

  1. First you must have your resource in XML. If your input is application+fhir/xml go foward, if it is JSON you can transform to XML using HAPI FHIR, or other JSON 2 XML library.
  2. Implement the XSLT
  3. Apply de XSLT

Hope useful.

Marti Pàmies Solà
  • 611
  • 1
  • 6
  • 12