Skip to content

jonathanmorais/endoenginnering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

endoenginnering

A api to provide type-1 diabetes summary calculate. ​👨‍🔬​🔎​🔬​🧪​💉​🏥​💉

Workflow

Workflow

microservices summary

  • t1d-api: REST Interface.
  • cr-service: microservice to provide Carbohydrate Ratio
  • is-service: microservice to put the insulin Sensitivity Factor
  • rec-service: microservice that provide a calcule approximate of doses.

API

Usage

curl --location --request POST '0.0.0.0:8080/calculator' \
--header 'Content-Type: application/json' \
--data-raw '{
	"cb":45,
	"isf":60,
	"bgl": 12
} ' --silent | jq .
{
  "status": 200,
  "insulin_dose": 1.8,
  "insulin_dose_bgl": 72,
  "carbo_needed": 0.007999999
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published