@@ -0,0 +1,1072 @@
+package edu.cmu.lti.bic.sbs.simulator;%0Aimport edu.cmu.lti.bic.sbs.gson.*;%0A%0Aenum Status%7B%0A%09great, good, not_good, bad, dying%0A%09%0A%7D%0A%0Apublic class Patient %7B%0A%09%0A%09BloodPressure bp;%0A%09HeartRate hr;%0A%09OxygenLevel ol;%0A%09RepositoryRate rr;%0A%09%0A%09GraphicDisplay graDisplay;%0A%09%0A%09Status status;%0A%09%0A%09public Patient(BloodPressure bp, HeartRate hr, OxygenLevel ol,%0A%09%09%09RepositoryRate rr) %7B%0A%09%09super();%0A%09%09this.bp = bp;%0A%09%09this.hr = hr;%0A%09%09this.ol = ol;%0A%09%09this.rr = rr;%0A%09%7D%0A%0A%09public BloodPressure getBp() %7B%0A%09%09return bp;%0A%09%7D%0A%0A%09public void setBp(BloodPressure bp) %7B%0A%09%09this.bp = bp;%0A%09%7D%0A%0A%09public HeartRate getHr() %7B%0A%09%09return hr;%0A%09%7D%0A%0A%09public void setHr(HeartRate hr) %7B%0A%09%09this.hr = hr;%0A%09%7D%0A%0A%09public OxygenLevel getOl() %7B%0A%09%09return ol;%0A%09%7D%0A%0A%09public void setOl(OxygenLevel ol) %7B%0A%09%09this.ol = ol;%0A%09%7D%0A%0A%09public RepositoryRate getRr() %7B%0A%09%09return rr;%0A%09%7D%0A%0A%09public void setRr(RepositoryRate rr) %7B%0A%09%09this.rr = rr;%0A%3C%3C%3C%3C%3C%3C%3C HEAD%0A%09%7D%0A%09%0A%0A%09public void updateWithTool(Tool tool)%7B%0A%09%09//set four parameters%0A%09%7D%0A%09%0A%09%0A%09public void updateWithDrugs(Drug drug, float dose)%7B%0A%09%09//set four parameters%0A%09%7D%0A%09%0A%09%0A%09%0A=======%0A%09%7D%09%0A%3E%3E%3E%3E%3E%3E%3E origin/ningnaw%0A%7D%0A

add patient