Automatic Monitoring of the Time Waited in Out-patient Departments