Hi OpenMRS community!
I’m looking for a way to calculate appointment windows for patients. Each appointment windows is a time period (spanning multiple days) during which the patient is expected to have a follow-up appointment. The start and end date for the appointment window are calculated based on the enrollment date and a study-defined schedule of number of days from enrollment to each visit. The appointment windows exist in addition to the regular appointment scheduling - the patient doesn’t just walk in any time during the window, she still schedules a specific date and time to see the clinician.
As an example, let’s say that a patient enrolled in a study on Jan 1, 2018. The appointment window for visit #2 is in 21-28 days, so she could make an appointment any time between Jan 22 and Jan 29. Visit #3 has an appointment window at 63-70 days after the enrollment visit, so she can make the next appointment any time between March 5 and March 12, and so on.
Has anyone ever done something like this in OpenMRS? Or do you have any suggestions for how we could make it work? We’re launching a new system, so we’re open to solutions in the core OpenMRS, in add-on modules, Bahmni, whatever.
Thanks for your help!