Patient logical deletation implemented, related bug fixed