Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmandel/cgm
CGM Data: FHIR Representation, Visualization, and Sharing
https://github.com/jmandel/cgm
Last synced: 19 days ago
JSON representation
CGM Data: FHIR Representation, Visualization, and Sharing
- Host: GitHub
- URL: https://github.com/jmandel/cgm
- Owner: jmandel
- Created: 2024-04-23T20:01:10.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-28T15:52:23.000Z (5 months ago)
- Last Synced: 2024-05-29T07:03:25.248Z (5 months ago)
- Language: TypeScript
- Homepage: https://joshuamandel.com/cgm/
- Size: 8.71 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CGM Data in FHIR: Playground for Visualization and Sharing
This project demonstrates how to represent Continuous Glucose Monitoring (CGM) data using the FHIR standard, generate an Ambulatory Glucose Profile (AGP) from the CGM data, and share the data using a SMART Health Link.
## Overview
The project consists of the following main components:
* CGM Data Parsing: The parseCSV function in parseCSV.ts reads a CSV file containing CGM data and converts it into a FHIR Bundle resource. The Bundle resource includes Device and Observation resources representing the CGM device and glucose readings, respectively.
* AGP Generation: The AGPReport component in AGP.tsx takes the parsed CGM data as input and generates an Ambulatory Glucose Profile (AGP) visualization. The AGP includes various charts and metrics, such as the glucose profile chart, glucose statistics, time in ranges, and daily glucose profiles.
* SMART Health Link Integration: The createEncryptedHealthCard function in createEncryptedHealthCard.ts encrypts the FHIR Bundle containing the CGM data and generates a SMART Health Link. The SMART Health Link allows sharing the encrypted CGM data with other applications or individuals.