This option is called from the EVENT DRIVER when a patient is admitted
or discharged or an admission or discharge is edited.
The appointments for that patient are updated with inpatient or
outpatient status based upon the admission and discharge dates.