I have added code to the Patient Summary for recurring appointments here
For each recurring appointment, the first date that is >= the current date and is not an exdate is displayed.
All displayed recurring appointment dates can be edited.
The bug in the calendar for recurrtype=2 appointments (effecting days of the month 29, 30, 31) is mirrored.
Regards,
epsdky.
EDIT - I have withdrawn the link since I have found a problem that needs to be fixed.
EDIT 2 - The problem was I have a fix for the recurrtype 2 calendar bug (that effects days of the month 29, 30, 31) in my test install, but I have included this same bug in the new code (for consistency), so I was getting different results for calendar and Patient Summary because if this. I will reinstate the link as soon as I double check a bit latter.
Good to see this moving ahead. It would be nice to have the solution be “modular” since will be using the same mechanism on the patient portal appointment section.
Glad to see this is moving ahead. Just letting you know this is still in my review queue. At this time I am focusing on MU2 specific reviews, so can’t get to it yet.
Anybody else can feel free to test and review this.
For all recurring appointment dates that have been edited (e.g. change of status), two representations of these dates will appear in the report.
Missing appointments -
All dates corresponding to recurring appointments set with options such as “2nd Tuesday” or “Last Friday” and on a date that is prior to the “From” date of the report will be missing from the report.
Non existant and missing appointments -
This effects same type of appointment as in prior issue. For an appointment set under following conditions -
In a location with a positive UTC offset
On the 4th occurrence of a particular weekday that has a 5th occurrence that is the end of the month
The “Last weekday” option is selected
The “From” date of the report is less than or equal to the date the appointment was set (4th weekday)
Then a non existent appointment date will appear in the appointment report (with date equal to the date the appointment was set), also the first date of the series (first (or only) last weekday) will be missing (Calendar does not have this problem).
Disageement with Calendar -
The output of the code that produces the report disagrees with the Calendar for some dates related to recurring appointments of same type as prior issue, set on 29th 30th or 31st of a month. The Calendar is getting some of these dates wrong, and the report does not.
Patient Summary -
Added support for recurring appointments.
Appearance of appointments in Patient Summary -
2015-08-06 (Thu)
10:00 am o ( ? ) CMT
Established Patient
Dr Provider
“CMT” (green font) appears when there is a comment present, mousing over displays it.