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?
Asked
Active
Viewed 450 times
2 Answers
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
-
Useful link @lloyd – Sakshi Shukla Mar 04 '20 at 05:55
0
For me the best option is to implement an xslt (this is what I implemented). So you should:
- 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.
- Implement the XSLT
- Apply de XSLT
Hope useful.

Marti Pàmies Solà
- 611
- 1
- 6
- 12
-
From where will I get xslt? I have bundle resource through search operation @marti – Sakshi Shukla Mar 05 '20 at 07:10
-
I'll have to implement it , as far as I know there is not official one. It would look something similar like: