BlueButton.js helps developers parse and generate complex health data formats like C-CDA with ease, so you can empower patients with access to their health records. Try the demo.
BlueButton.js supports a few different health data types, like C32 and CCDA. To parse a health document, pass the source data to
var myRecord = BlueButton(xml);
BlueButton.js will detect the document type and choose the appropriate parser. The returned object has the following properties:
myRecord.type // The document typemyRecord.source // The parsed source data with added querying methodsmyRecord.data // The final parsed document data
View the documentation for an explanation of the data sections, much more detailed sample code, instructions on how to generate a build, etc.