Modification of PatientLine to enforce validation, simplified 'appointment' controller action