Apple Health

Backlinks: Apple watch | Tomorrow

CDA data

https://blog.elcomsoft.com/2018/11/extracting-apple-health-data-from-icloud/#:~:text=Health%20Records%20and%20Clinical%20Document%20Architecture%20(CDA)&text=CDA%20information%20is%20stored%20and,are%20stored%20under%20Health%20Records.

https://www.linkedin.com/pulse/connecting-ios-your-emr-using-healthkit-cda-part-ten-eric-whitley/

Processing Apple Health Data

Examples on the web in Javascript [Not much](https://www.google.com/search?client=safari&hl=en-us&q=%22javascript%22+xml+parser+apple+health&sa=X&ved=2ahUKEwi-vpXRgoz8AhWLE1kFHbLBAywQ5t4CegQIOxAB&biw=375&bih=548&dpr=2)…just an XML parser [fast-xml-parser - npm](https://www.npmjs.com/package/fast-xml-parser)

Observablehq

Not much out there.

```javascript parsedXML = new DOMParser().parseFromString( await route.text(), "application/xml" ) ```

```javascript lido = parser.parse(xmlstring, {ignoreNameSpace: true }).lidoWrap.lido ```

Which is done via the fast-xml-parser, mentioned above:

```javascript parser = require(await FileAttachment("fast-xml-parser.js").url()) ```

Other links from MM laptop