Appointment planning in outpatient clinics and diagnostic facilities.