### Parsing Health Data with BlueButton.js JavaScript Source: https://github.com/elationemr/bluebutton.js/blob/master/README.md This snippet demonstrates how to parse health data (e.g., C-CDA, C32) using the BlueButton() function. It takes the source data (xml) as input and returns an object containing the parsed document, source data with added querying methods, and document type. ```JavaScript var myRecord = BlueButton(xml); ``` -------------------------------- ### Accessing Parsed Data Properties in BlueButton.js JavaScript Source: https://github.com/elationemr/bluebutton.js/blob/master/README.md This snippet shows how to access key properties of the object returned by the BlueButton() function after parsing. 'type' gives the document format, 'source' provides the original data with added querying capabilities, and 'data' holds the final structured parsed content. ```JavaScript myRecord.type // The document type myRecord.source // The parsed source data with added querying methods myRecord.data // The final parsed document data ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.