Stream: fhir/documents
Topic: Bundle to PDF Convertion
Mounika (Feb 02 2022 at 11:02):
Hi all,
I want to convert the fhir bundle to pdf file. Can any one suggest me how to convert it?
Thank you.
Oliver Egger (Feb 02 2022 at 11:33):
if you want to convert the narrative part of the bundle resources you would probably need a library which can do html to pdf conversion, for java based approaches see this stackoverflow thread
Mounika (Feb 08 2022 at 13:39):
I want to convert the fhir bundle to CCDA viewer, fhir bundler viewer and pdf viewer
Can anyone suggest me, is there converter in java script?
Lloyd McKenzie (Feb 08 2022 at 14:57):
If you're wanting to turn arbitrary bundles into C-CDA, that's pretty much impossible. If you're wanting to turn FHIR documents that are conformant with C-CDA on FHIR, that's probably possible. Turning FHIR documents into a PDF should be straight-forward. Turning arbitrary FHIR Bundles into a PDF is possible, but there's no standard for how to render arbitrary bundles, so you'd have to figure out how you wanted them to look. I'm not aware of anything in Javascript that would do this right now.
Mounika (Feb 09 2022 at 07:50):
Thank you @Lloyd McKenzie
Last updated: Apr 12 2022 at 19:14 UTC