Bug fixing: patient DB.