Skip to content

Open source react native ventilator user interface

Notifications You must be signed in to change notification settings

adhurjaty/ventilator-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Ventilator UI

An open source cross-platform ventilator UI using React Native and Redux.

Boilerplate taken from daviddang91/react-native-redux-starter-kit

UI is based on a paper by Tovar et al.

Motivation

With ventilators in short supply amid the COVID-19 pandemic, motivated engineers have been thinking of alternate approaches to quickly increase supply. This project aims to make available a smart phone user interface for controlling an ad-hoc or low-cost ventilator system. I imagine that the UI will interact with the ventilator through TLS and websockets, but the code is intended to be protocol agnostic - you should be able to write an interface for the communication protocol of your choice and swap out the TLS one.

Caveats

I have never used a ventilator and my knowledge of ventilators begins and ends with this hour-long Med-cram course. I will do the best I can to make a useful product, but I am very new to this area. Please, if you happen upon this project, fork it, submit pull requests, message me - I want this to be of some use and I can't do that alone.

Requirements

See Getting Started to install requirement tools.

Stack

Libraries

Get Started

1. Installation

On the command prompt run the following commands

$ git clone [email protected]:adhurjaty/ventilator-ui.git

$ cd ventilator-ui/

$ npm install

Link react-native-svg

$ react-native link react-native-svg

2. Simulate for iOS

Method One

  • Open the project in Xcode from ios/ReactNativeStarter.xcodeproj.

  • Hit the play button.

Method Two

  • Run the following command in your terminal.
$ react-native run-ios

3. Simulate for Android

  • Make sure you have an Android emulator installed and running.

  • Run the following command in your terminal.

$ react-native start

In another terminal, run

$ react-native run-android

Project Status

Code

This is the very beginning of the project. Pushed only the boilerplate code. I am currently only running on an Android emulator, so iOS may not work as of now

UI Mockups

(Ignore the color scheme)

Monitors Controls Menu Settings

Model Structure

Model Structure

About

Open source react native ventilator user interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published