Git Product home page Git Product logo

propofol's Introduction

Propofol

This is a small iPhone app to visualise the effective concentration of Propofol based on the three-compartment Schnider model. It was created in 24 hours at the NHS Hackday in Liverpool.

This is a very rough alpha version and should not be used in a clinical scenario unless you have a deathwish on behalf of your patient.

App details

  • Objective-C
  • iOS 6.0 and above

Third-party libraries

  • CorePlot

App structure

Parent classes

  • App delegate
  • CMBaseNavController - subclassed UINavigationController
  • CMBaseViewController - subclassed UIViewController

UI classes

  • CMVitalsViewController - subclass of CMBaseViewController. Captures patient vitals (height, weight, age, gender)
  • CMConcentrationViewController - subclass of CMBaseViewController. Captures desired Propofol Ce value
  • CMGraphViewController - subclass of CMBaseViewController. Displays main graph.

Model classes

CMCalculator - implements calculation methods:

  • newPatientWithAge:andWeight:andHeight:andMale: - creates new patient
  • giveDrugWithQuantity:withState: - adds drug to current patient
  • waitTime:withState: - models Ce concentration based on time interval

To do

  • Implement CMCalculator as a singleton
  • Store the current state in the CMCalculator singleton
  • Reimplement automagic scrolling of the graph
  • Implement user-controlled scrolling through graph history
  • Link user-supplied patient vitals into calculation
  • Overhaul UI so that user can set desired Ce value
  • Implement alerts and reminders etc
  • Etc
  • Etc
  • Etc

propofol's People

Contributors

ehg avatar

Stargazers

Jeremy Field avatar Tom Doel avatar  avatar

Watchers

James Cloos avatar Tom Doel avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.