/jsTCI

Primary LanguageJavaScriptOtherNOASSERTION

jsTCI

Build Status npm version Coverage Status Codacy Badge Maintainability MIT license

A work-in-progress javascript implementation of PyTCI for modelling Target Controlled Infusions in node.js or in a browser.

Demos in development here: https://jplomas.github.io/jsTCI/?

Ported from PyTCI: https://github.com/JMathiszig-Lee/PyTCI

Development

  1. Clone repo

  2. npm install

  3. Run tests: npm run test

  4. Check code coverage: npm run nyc

Status/TODO

Body Mass equations

  • BMI
  • Ideal body weight (Devine)
  • Adjusted body weight
  • James Equation
  • Boer
  • Hume(1966)
  • Hume(1971)
  • Janmahasation(2005)

Propofol models

  • Schnider
  • Marsh
  • Kataria
  • Paedfusor

Remifentanil models

  • Minto

Alfentanil models

  • Maitre

Propofol infusions

  • 'effectBolus' method
  • 'plasma_infusion' method

JS infrastructure

  • Mocha testing framework
  • Code coverage
  • Travis CI
  • Package for NPM
  • Browserify & build for browser
  • Usage documentation
  • Usage examples

FYI...

A very rudimentary example running in the browser is included in dist/index.html