Changed the deletion scheme to a status field in patients due to problems in the previous schema