personalcancertoolkit / openmrs-module-patientportaltoolkit

Other
7 stars 9 forks source link

Followup Care - Save the event when a patient edits the appointment with a new moniker - Patient Edited Event - Log them into the event table with previous data in the before JSON column #448

Closed maurya closed 1 year ago

maurya commented 2 years ago

When a user edits a followup appointment, generate a edited_followup_appointment event in the event log with data containing the previous & new values.

PhilipAdeoye commented 1 year ago

Logging an EDITED_FOLLOWUP_APPOINTMENT event with details similar to

{
  "patientId": "58",
  "procedure": "CEA Tests",
  "reminderId": "879",
  "newTargetDate": "05/16/2024",
  "oldTargetDate": "05/15/2024"
}