We are planning to have a widget on openmrs-coreapps to show upcoming appointment for a patient on different dashboards based on configuration ( link to talk) , and could not find and api in openmrs-module-appointments that gives us the information.
Currently the search endpoint defined within
AppointmentsController accepts only
start-date and an
end-date and both the fields are mandatory.
We are thinking of modifying this end point to
- Add an optional field to search by patient uuid as well
- Making end-date optional to fetch all future appointments.
Please let us know your thoughts.