In my application. I register patients as either apoio ou reintegração: apoio ou reintegração are types of patients.
A patient registered as apoio receives 2nd visit 56 days after first visit.
A patient registered as reintegração receives 2nd visit 45 days after first visit.
A patient registered as apoio can after some time change to reintegração and if this change occurs I want the application to show the correct number of days. In the image bellow I have register first Agira Chitsipa as apoio and it shows that the 2nd visit will be after 56 days, but when Agira Chitsipa changes to reintegração, it still shows 56 days and not 45 days.
Iam looking for ideas and any suggestions on how I can configure this are welcome