added a before_save and flash if release day is after patients are finished [Finishes: #69940130]