added delete patient function