Skip to content

Commit

Permalink
example-profiles.md fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosKozak committed Nov 1, 2015
1 parent 26beeb4 commit c85b3a7
Showing 1 changed file with 25 additions and 19 deletions.
44 changes: 25 additions & 19 deletions example-profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,40 +82,46 @@ These are only examples, make sure you update all fields to fit your needs
```[ { XXX, startDate: xxx }, { YYY, startDate: yyy } ]```

converted data
```[
```
[
{
defaultProfile: 'Default'
defaultProfile: "Default"
, store: {
'Default' : { XXX }
"Default" : { XXX }
}
, startDate: xxx
}
, {
defaultProfile: 'Default'
defaultProfile: "Default"
, store: {
'Default' : { YYY }
"Default" : { YYY }
}
, startDate: yyy
}
]```
]
```

example of one new profile

```{
defaultProfile: '2-Weekend'
, store: {
'1-Weekday' : { AAA }
'2-Weekend' : { BBB }
'3-Exercise' : { CCC }
}
, startDate: xxx
}```
```
{
defaultProfile: "2-Weekend"
, store: {
"1-Weekday" : { AAA }
"2-Weekend" : { BBB }
"3-Exercise" : { CCC }
}
, startDate: xxx
}
```

for basals currently used profile will be determined by last treatment record of format
```{
eventType: 'Profile Change'
, profile: '2-Weekend'
}```
```
{
eventType: "Profile Change"
, profile: "2-Weekend"
}
```

for boluscalc profile used for calculation will be specified by key `profile`

0 comments on commit c85b3a7

Please sign in to comment.