Smile CDR includes a CDA document generation tool capable of transforming a Bundle of FHIR resources into a CDA XML document and a CDA document import tool capable of transforming a CDA XML document into a Bundle of FHIR resources.
The following features are experimental and therefore, may not be fully functional for all use cases. Feedback for these features are welcome. Please get in touch to discuss if you are interested in implementing any of these new features during their early availability.
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.
Smile CDR's CDA module can transform a CDA document into a FHIR transaction-type Bundle and persist the resources in this Bundle to your FHIR repository.
When a CDA document is provided to the CDA REST API, the system will parse it, convert all the entries it finds into FHIR resources, collect these resources into a Bundle, and persist the bundle to the FHIR database in a single operation.
id field of each entry in the CDA document will be used to establish references among the generated FHIR resources and to ensure that duplicate resources corresponding to the same entity are not created. This strategy is also used to deduplicate against the contents of the FHIR database. For best results, we recommend that each CDA entry have exactly one
In order to enable the CDA import feature, the CDA Exchange module must be configured with an R4 persistence module. Other versions of the FHIR model are not supported at this time.
Smile CDR currently supports the generation and import of Continuity of Care (CCD) documents, including these sections for export and these sections for import. Implementation of additional document and section types is ongoing.
Smile CDR CDA generation currently only supports the
patient parameter of the
DocumentReference/$docref operation. Implementation of the remaining parameters is ongoing.
Smile CDR CDA import currently only supports documents that conform to the C-CDA 2.1 IG. Smile CDR currently only supports mapping CDA documents to FHIR R4 resources.
If you have CDA document generation or import needs that are not currently supported, please contact us.