Display booking date / time on schedule view

Hey everyone,

Is there a way I can display the date and time of when a patient was booked in for an appointment, with a display expression or something?

Regards,

Anton

Comment viewing options

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

Re: Display booking date / time on schedule view

You can use the Schedule View Display Expression for this.

I'm assuming you want when the patient was checked in. For this, use openvpms:get(., 'arrivalTime') in the expression. E.g.:

concat(openvpms:get(.,'customer.name'),' - ',openvpms:get(.,'patient.name'),'\n',
       openvpms:get(.,'act.reasonName'),' - ',openvpms:get(.,'act.statusName'), ' ',
       date:formatDateTime(openvpms:get(., 'arrivalTime'), 'short'))

 

 

Re: Display booking date / time on schedule view

I think that he was referring to created date.  If that was the case use 

date:formatDateTime(openvpms:get(., 'created'), 'short'))

This shows the date the appointment was created or booked.

date:formatDateTime(openvpms:get(., 'arrivalTime'), 'short'))

shows "checked in time"

 

Sincerely Ben

Regards
 
Ben 
OpenVPMS Installer and Helper 
Ph: +61423044823 
Email: info[at]charltonit.com[dot]au

Re: Display booking date / time on schedule view

Thank you both... it was indeed the 'created date' I was after but unfortunately 'created' does not work in this expression.  It seems it is not available for the Schedule View?

Re: Display booking date / time on schedule view

No - thisi isn't supported. The only way to view the created date of an appointment is by editing it hovering over the audit icon.

Syndicate content