If you are new to these terminologies or the concepts then I recommend you go through these immensely helpful tutorials first:
- The bible of all healthcare industry standards: HL7
- Very nicely explained tutorials (videos) at: healthit.gov
- Another one describing MU 2014 and CCDA (ppt) at: healthit.gov
But How?Well, there are 2 parts to the making of a CCDA document.
- Prepare a .net type that mimics the XML. When serialized, this type will give us the XML that we want. Now, there are 3 ways to do this:
- Hand-code the entire .net type(s). This requires in-depth analysis and understanding of the CCDA standard. Also considerable effort is required to develop and maintain the code when the standards change.
- Download the schema XSDs as published by HL7 and then generate the .net type(s) out of it. This can be done by using tools like xsd.exe.
- Use an API that already has such a .net object and exposes it to be used in the code.