Editing Past Appointments

Situation
When selecting a past appointment from the patient demographics screen, the window opens, but the data for the record being edited does not appear in the form and the date field has “fi/ne/unde”.

This is not an issue for upcoming appointments.

OpenEMR Version
I’m using OpenEMR version 6.1.0

Browser:
I’m using: Firefox

Operating System
I’m using: Ubuntu 20.04.4

4/9/2022 - I think I have found the fix. Limited testing looks good at this point.

The parameters for the event were not being passed to the add/edit appointment form.

In Ubuntu
update /var/www/html/openemr/interface/patient_file/summary/demographics.php

Line 1642 add:
$row[‘jsEvent’] = attr_js(preg_replace("/-/", “”, $row[‘pc_eventDate’])) . ', ’ . attr_js($row[‘pc_eid’]);

1 Like

I’m using Windows 2019 with Xampp. How do I do this in Windows?

Thanks.

I’m using Windows 2019 with Xampp.
You said to add the line to Ubuntu and I thought I would try it in windows
I edited the line by adding to demographics.php
Line 1642 add:
$row[‘jsEvent’] = attr_js(preg_replace("/-/", “”, $row[‘pc_eventDate’])) . ', ’ . attr_js($row[‘pc_eid’]);

and i Still got these code like characters as show in my calendar pic below.

Calendar1.pdf (130.6 KB)

Is the addition to line 1642 above supposed to suppress these characters shown in Calendar1 pic on a Ubuntu installation?

Hi @LMoonsammy , this is a different bug that isn’t addressed by that code fix.

Thanks for your reply. I’m at a loss as to what to do now. I guess I can edit the schedule before I print it.

we’ll get it fixed hopefully in time for the 1st patch

I am using the Reports menu to print appointments. This works.

1 Like