Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

Integration of a patient's blood glucose history #2

@NathaelB

Description

@NathaelB

Development of a module to manage all patient diabetes-related data. This module will include management of blood glucose data, bolus information and basal rates.

Features to be implemented

  1. Create blood glucose data
  2. Retrieve blood glucose data

Routes to be implemented

  1. POST /v1/diabetes/glucose
  • Description: Add blood glucose data for a patient.
  • Body: JSON containing a table of blood glucose levels and the patient's identifier.
{
  "patientId": "12345",
  "data": {
      "factoryTimestamp?": "7/10/2024 9:22:35 AM",
      "timestamp": "7/10/2024 11:22:35 AM",
      "type": 3,
      "valueInMgPerDl": 244,
      "trendArrow": 5,
      "trendMessage": null,
      "measurementColor": 3,
      "glucoseUnits": 1,
      "value": 244,
      "isHigh": false,
      "isLow": false,
      "alarmType": 2
  }
}
  1. GET /v1/diabetes/glucose
  • Description: Add blood glucose data for a patient.
  • Body: JSON containing a table of blood glucose levels and the patient's identifier.
    • patientId: ID of Patient (optional)
    • startDate
    • endDate

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions