i was able to produce the same issue, and by editing @FragmentParam(“patientId”) to @RequestParam(“patientId”) i can get it to work and display the fragment in the patient section editing but not in the registration app because there is no patientId at the moment and the parameter is required by default.
is changing it to @RequestParam(“patientId”, required=false) is the best way ?, or it should be set up in a different way for patient registration.
It’s working as expected, and I was able to get the fragment view without any faults.
is changing it to @RequestParam(“patientId”, required=false) is the best way ?, or it should be set up in a different way for patient registration.
Yes, It should be there since the patient registration form doesn’t contain the patient at the beginning.
Further,
I have followed to use the @FragmentParam as mentioned patientflags project. Since there was the same fragment which contains the @FragementParamhere. It is working without any faults.
So what could be the actual issue here while the @FragmentParam instead of @RequestParam? Requesting just thought for my knowledge
But when I saved the form, it redirected to the patient dashboard, And got the message as “Saved changes in contact info for: Niluxan Gunan”.
I have edited for “accessLocationInfo”, but the message showed me as “Contact Info”. I have checkted the database for the chaneges. No worry about that, It’s okay. B ut the message was wrong.
In the registration app module, we have configured two message for,