The next generation of screen based simulation.
How to Run Hub:
Run main method under com.cmu.sbs
How to run BioGearServer on Mac:
- Install homebrew
- Install boost and google-perftools
- Compile BioGears Server under biogears folder
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install boost google-perftools
make mac
- cd to
/bin
- run
./BioGearsServer
How to run BioGears on Centos:
- Install Boost??
- Compile BioGears Server under biogears folder
make linux
Port: 26666
Address | Method | Service | Function | Success Return Value |
---|---|---|---|---|
/biogears/update | POST | Biogears | update patient status | BiogearsReply1 |
/unity/status | GET | Unity | retrieve patient status | UnityReply1 |
/unity/create | GET | Unity | create patient | UnityReply2 |
Address | Method | Service | Function | Success Return Value |
---|---|---|---|---|
/scoring/die:{PatientHash} | GET | Scoring | receive patient died | DieReply |
{"heart_rate":72.0,"respiration_rate":16.3636,"systolic_arterial_pressure":106.955,"diastolic_arterialpressure":63.8649,"oxygen_saturation":0.968268}
Create Successful -> "Success"
Create Failure -> "Failure"
Successfully marked patient with hash as deceased -> "Success"
patient has already died -> "Success"
Patient with hash is not found -> "Failure"