Model update: 'patients' and 'visits'

The patient_number generation function is incomplete.
Because these are new models, some of the former controller (e.g
patients_controller) might not work well!