Skip to content

Commit

Permalink
Create example_dataset.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored May 7, 2024
1 parent f0a61e0 commit 26752fe
Showing 1 changed file with 80 additions and 0 deletions.
80 changes: 80 additions & 0 deletions examples/example_dataset.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"patients": [
{
"id": 1,
"name": "John Doe",
"age": 35,
"gender": "male",
"diabetesType": "type 1",
"insulins": [
{
"id": 1,
"name": "Novolog",
"units": 30,
"unitType": "U"
},
{
"id": 2,
"name": "Lantus",
"units": 60,
"unitType": "U"
}
],
"bgReadings": [
{
"id": 1,
"reading": 120,
"timestamp": "2022-01-01T08:00:00Z"
},
{
"id": 2,
"reading": 150,
"timestamp": "2022-01-01T10:00:00Z"
},
{
"id": 3,
"reading": 180,
"timestamp": "2022-01-01T12:00:00Z"
}
]
},
{
"id": 2,
"name": "Jane Doe",
"age": 45,
"gender": "female",
"diabetesType": "type 2",
"insulins": [
{
"id": 1,
"name": "Humalog",
"units": 20,
"unitType": "U"
},
{
"id": 2,
"name": "Levemir",
"units": 40,
"unitType": "U"
}
],
"bgReadings": [
{
"id": 1,
"reading": 100,
"timestamp": "2022-01-01T09:00:00Z"
},
{
"id": 2,
"reading": 120,
"timestamp": "2022-01-01T11:00:00Z"
},
{
"id": 3,
"reading": 140,
"timestamp": "2022-01-01T13:00:00Z"
}
]
}
]
}

0 comments on commit 26752fe

Please sign in to comment.