VPMS Web Application

Need function to get reminder information associated with a Patient Form instance

Details

  • Type: Improvement Improvement
  • Status: In Progress In Progress
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.1
  • Fix Version/s: None
  • Component/s: Patient
  • Labels:
    None

Description

Need a function that will return an act.patientReminder object information based on the date and product nodes in a act.patientForm object.

This is required for Vaccination Certificates to allow using the dueDate node.

Activity

Hide
Matt Costa added a comment -

From recent users meeting
o There was support for this feature.
o However after discussion it was suggested this be moved back to Developer Review.
o I have failed to record the issues raised that meant that it need Developer review but might have related to grouped reminders.
o This project has been moved to Developer Review.

Show
Matt Costa added a comment - From recent users meeting o There was support for this feature. o However after discussion it was suggested this be moved back to Developer Review. o I have failed to record the issues raised that meant that it need Developer review but might have related to grouped reminders. o This project has been moved to Developer Review.
Hide
Tim Anderson added a comment -

A product can have multiple reminders so I'm not sure how this would work.

Show
Tim Anderson added a comment - A product can have multiple reminders so I'm not sure how this would work.
Hide
Matt Costa added a comment -

Tony might have some ideas.

Show
Matt Costa added a comment - Tony might have some ideas.
Hide
Tim Anderson added a comment -

The suggestion is:

  • for act.patientDocumentForms linked to an invoice item (via actRelationship.invoiceItemDocument), use the invoice item to get the reminder. If there are multiple reminders for the invoice item, use the one with the nearest due date.
  • for act.patientDocumentForms not linked to an invoice item and the form has a product, the reminder with the nearest due date for that product will be used
  • for act.patientDocumentForms that don't meet the above, null is returned

If there are multiple reminders for the patient with the same due date, the reminder with the lesser id will be used.

Show
Tim Anderson added a comment - The suggestion is:
  • for act.patientDocumentForms linked to an invoice item (via actRelationship.invoiceItemDocument), use the invoice item to get the reminder. If there are multiple reminders for the invoice item, use the one with the nearest due date.
  • for act.patientDocumentForms not linked to an invoice item and the form has a product, the reminder with the nearest due date for that product will be used
  • for act.patientDocumentForms that don't meet the above, null is returned
If there are multiple reminders for the patient with the same due date, the reminder with the lesser id will be used.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:

Time Tracking

Estimated:
8h
Original Estimate - 8h
Remaining:
8h
Remaining Estimate - 8h
Logged:
Not Specified
Time Spent - Not Specified