Generating a C-CDA Document by Querying an Internal Database
You can generate a C-CDA document using XSL transformations provided by InterSystems that transform SDA into CDA and C-CDA, for example, SDA-to-CCDAv21-CCD.xsl. You must write code to transform the query result from your internal database into SDA.
These transformations are in the folder install-dir\CSP\xslt\SDA3\. The available transformations from SDA include XSLTs for a variety of CDA and C-CDA outputs:
-
AU
-
C32
-
C37
-
C48
-
C-CDA
-
C-CDAv21
See SDA Documents for more details on the structure of the SDA.