Using Office Open XML Formats to Support Electronic Health Records Portability and Health Industry Standards
It includes sample code
Here is a description taken from the site:
"Empowering patients and consumers to securely exchange Electronic Health Records is a big debate in the Health industry across the globe. In this article, we discuss some techniques that use Office Open XML Formats and how to embed custom XML formats to exchange data securely. This particular scenario shows the use of Health Level Seven (HL7) Clinical Document Architecture (CDA) to represent the Electronic Health Record in an industry standard format. It also shows how to include the data in a secured document, based on Office Open XML Formats, for portability across multiple care providers."