1.7 5708 Task waiting time wrong if late for appointment

If a patient has an appointment at say 9am, but is late and does not arrive until say 9.45, then on the Workflow|Worklist single view screen, the Started column will show the original appointment time, not the time they actually arrived and were checked in, and the Time column on the right will show the elapsed time since the appointment start time, not the check-in time.

Similarly, the openvpms:get(.,'waiting') call gives the time since appointment-start rather than check-in start.

You can edit the task and change the start time (which will be set to the appointment-start time) to the time the patient checked-in - and this will correct the Started & Time columns, and the results of openvpms:get(.,'waiting').

Conclusion - the underlying bug is that when the task is created at check-in time, its start-time is set to the appointment start time rather than the current time.

Regards, Tim G

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: 1.7 5708 Task waiting time wrong if late for appointment

Syndicate content