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
Re: 1.7 5708 Task waiting time wrong if late for appointment
Raised as https://openvpms.atlassian.net/browse/OVPMS-1422
Thanks,
-Tim A