Smile CDR includes a CDA document generation tool capable of transforming a Bundle of Fhir resources into a CDA XML document.
In order to create a CDA document, you must first have a Fhir Bundle of type Document. In order to create a Fhir Bundle of type Document, you must first have a Fhir Composition.
Smile CDR's CDA module can generate a CDA document from your Fhir database in a single operation.
Once you have a CDA template, you can create a CDA document from a Fhir database with a single request using the CDA REST API. The creation of the Composition, Bundle of type document, and CDA XML document is all taken care of for you in that single operation.
The typical workflow for getting your Smile instance ready to create CDA documents is as follows:
The rest of this documentation will walk you through the workflow and prepare you to use the full capability of this module.