[OpenVPMS Developers] [JIRA] Created: (OVPMS-1071) Add support to include reminders in invoices

Message from Tim Anderson (JIRA) jira@openvpms.org

Add support to include reminders in invoices --------------------------------------------

Key: OVPMS-1071 URL: https://openvpms.atlassian.net/browse/OVPMS-1071 Project: VPMS Web Application Issue Type: New Feature Components: Reporting Affects Versions: 1.4 Reporter: Tim Anderson Assignee: Tony De Keizer Priority: Minor

Support is required for due reminders to be listed in invoice reports. This would be done via a jxpath extension function which would: * list reminders in the order they are due * enable an upper due date to be specified * format reminders according to the act.patientReminder description node.

Where there are multiple reminders, these would be separated by a new line. A parameter specifying an alternative separator could be provided.

E.g.: {code} String getPatientReminders(Party patient, int dueInterval, String dueUnits) String getPatientReminders(Party patient, int dueInterval, String dueUnits, String separator) String getPatientReminders(Act act, int dueInterval, String dueUnits) String getPatientReminders(Act act, int dueInterval, String dueUnits, String separator) {code}

The due interval and units would be used to filter reminders with due dates relative the current date.

E.g. in jasperreports, usage would be: {code} party:getPatientReminders("$F{target.patient.entity}", 6, "MONTHS") party:getPatientReminders("$F{target.patient.entity}", 1, "YEARS", ",") {code} The above would return reminders with due dates 6 months and 1 year from the current date. Any overdue reminders (in progress, but prior to the current date) would also be returned.

The current formatting of the description node would need to change. Currently it is: {code} Due Date : Reminders Sent {code} It would need to change to: {code} due {code} The reminders table in the Patients -> Medical Records -> Reminders/Alerts would need to include a new reminder count column as this would no longer be part of the description.

-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://openvpms.atlassian.net/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf

Syndicate content