redmine issue #2937 Dealing with Dead Patient in ipd