Hi folks,
I have a form though on saving it am encountering an error
java.lang.NullPointerException: Cannot get property 'uuid' on null object
1 Like
Oh have been able to get over this
initially had been using
<redirectOnSave url="/botswanaemr/srh/cervicalCancerClientProfile.page?patientId={{patient.id}}" />
without a required parameter &visitId
<redirectOnSave url="/botswanaemr/srh/cervicalCancerClientProfile.page?patientId={{patient.id}}&visitId={}" />
however how can i fetch the VisitId
in the <redirectOnSave
tag
1 Like
If the visit is need by the page’s controller, you can modify it to accept an encounter parameter as an alternative from which it can derive the visit. The redirectOnSave
tag does support encounter id substitution.