Updated patient_model.php