mirror of
https://github.com/corda/corda.git
synced 2025-01-18 18:56:28 +00:00
877ce5587f
* added the warning as a TimerTask at StaffedFlowHospital#delayedDischargeTimer * moved the scheduling of the warning task at StaffedFlowHospital#init block. That way we ensure that the task will be scheduled only once at StaffedFlowHospital initialization. * Corrected overnight observation warning task's logging message. Changed StaffedFlowHospital#delayedDischargeTimer to the more generic StaffedFlowHospital#hospitalJobTimer since it now schedules delayed discharges tasks as well the overnight observation warning task. Removed this from property reference * switching to fun timerTask for the instantiation of anonymous TimerTask classes * Correct condition to log patients who are currently in the hospital, whose last record in their medical records is Outcome.OVERNIGHT_OBSERVATION. Extended logging to include treatableSessionInits staying in the hospital * Add not empty check for patientsUnderOvernightObservation. Correct strings. |
||
---|---|---|
.. | ||
capsule | ||
src | ||
build.gradle |