redmine issue #2940 Dealing with dead patient in registration module