Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CalBGForPH parsing wrong #26

Open
sulkaharo opened this issue Apr 4, 2017 · 0 comments
Open

CalBGForPH parsing wrong #26

sulkaharo opened this issue Apr 4, 2017 · 0 comments

Comments

@sulkaharo
Copy link

Using Medtronic 554 Veo, create a Bolus Wizard treatment where you enter 12 mmol as the blood glucose value. The following is output by decocare when parsing the logs. Note how the CalBGForPH value has taken the mmol value and multiplied it by 10 and the units definition is missing. The end-result is that the event is considered to represent 120 mgdl, which is around half of 12 mmol. @bewest any pointers where to look?

{
    "_type": "CalBGForPH", 
    "_description": "CalBGForPH 2017-04-04T04:05:08 head[2], body[0] op[0x0a]", 
    "timestamp": "2017-04-04T04:05:08", 
    "_body": "", 
    "_head": "0a78", 
    "amount": 120, 
    "_date": "4805440411"
  }
  {
    "_type": "BolusWizard", 
    "bg": 12.0, 
    "bg_target_high": 9.0, 
    "_description": "BolusWizard 2017-04-04T04:05:25 head[2], body[15] op[0x5b]", 
    "timestamp": "2017-04-04T04:05:25", 
    "_body": "0090008c483410000000000000105a", 
    "_head": "5b78", 
    "unabsorbed_insulin_total": 0.0, 
    "correction_estimate": 0.4, 
    "_date": "5905040411", 
    "bolus_estimate": 0.4, 
    "bg_target_low": 5.2, 
    "carb_ratio": 14.0, 
    "food_estimate": 0.0, 
    "carb_input": 0, 
    "sensitivity": 7.2
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant