You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Abbot FreeStyle Libre flash glucose meter Parser/Viewer
2
+
3
+
## Objective
4
+
5
+
Create a library to read and manage CSV files created by the FreeStyle libre app to better understand and visualize the report data
6
+
7
+
## How to install
8
+
9
+
`npm install`
10
+
11
+
## How to use the Viewer (user)
12
+
13
+
Mount a local web-server (for example using node's http-server) and browse to the `index.html` (for example http://127.0.0.1:8080/index.html) to open the main view that lets you import a csv file generated from the Abbott FreeStyle Libre app (or use the test.csv example file) and visualize the data in the HighChart chart.
14
+
15
+
## How to use the FreeStyleLibreLib (developer)
16
+
17
+
```javascript
18
+
var reader =newFileReader();
19
+
reader.readAsText(file);
20
+
reader.onload=function() {
21
+
var report =FreeStyleLibreLib.parseReport(reader.result);
22
+
}
23
+
```
24
+
25
+
## CSV File Format (actually separated by tabs)
26
+
27
+
- Line 1:
28
+
- Patient Name **(is this line optional?)**
29
+
- Line 2:
30
+
- Headers
31
+
- ID
32
+
- Time **(is YYYY/MM/DD HH:mm the only possible date format?)**
33
+
- Record Type
34
+
- 0: Historic Glucose
35
+
- 1: Scan Glucose
36
+
- 2: **?**
37
+
- 3: **?**
38
+
- 4: Insulin (Need to read if Rapid-Acting Insulin (units) or Long-Acting Insulin (units) has data to know witch is witch, probably appies to the "non numeric" ones too, but is not tested)
39
+
- 5: Food
40
+
- 6: Date change (not implemented)
41
+
- **Is there anything beyond type 6?**
42
+
- Historic Glucose (mmol/L)
43
+
- **Does the column name change if the meter units are not mmol/L?**
44
+
- Scan Glucose (mmol/L)
45
+
- **Does the column name change if the meter units are not mmol/L?**
46
+
- Non-numeric Rapid-Acting Insulin
47
+
- Rapid-Acting Insulin (units)
48
+
- Non-numeric Food
49
+
- Carbohydrates (grams)
50
+
- Non-numeric Long-Acting Insulin
51
+
- Long-Acting Insulin (units)
52
+
- Notes
53
+
- Strip Glucose (mmol/L)
54
+
- **Does the column name change if the meter units are not mmol/L?**
55
+
- Ketone (mmol/L)
56
+
- **Does the column name change if the meter units are not mmol/L?**
57
+
- Meal Insulin (units)
58
+
- Correction Insulin (units)
59
+
- User Change Insulin (units)
60
+
- Previous Time
61
+
- Updated Time
62
+
- **Are these all the possible columns?**
63
+
- **Can the columns have another name if the meter or app is set up in other language?**
0 commit comments