added delete functions to class.comment.php, class.prescription.php, and class.record.php