Open isabelcshaw opened 3 years ago
@isabelcshaw I have not been able to reproduce this bug. I went through the steps provided above and the Record ADR
form opened a blank form. Could you confirm if there is anything I may have missed? Below is a screenshot of the form I got when I clicked on the Record ADR
form to a child I had completed the Record Dose
form.
cc: @Naima-Bashir
@samkanga to which school was your plan assigned? it occurs when the children have a previously recorded ADR, so the test needs to take place on children who meet that criteria. The plan I shared was on "Test Lomahasha - Emafusini Nazarene" and you can see the children who have had an ADR there. CHAI also reported this same issue.
I think this may need @rkodev to provide some input.
@isabelcshaw I have added a new plan to the area Test Lomahasha - Emafusini Nazarene
see screenshot below. I completed a Record Dose
task for a child named Virginia Woolf
and then selected the AddADR
form. It still returned an empty form.
@samkanga @isabelcshaw I've been able to reproduce this issue. I'm working in a new release to resolve it
When a user selects
Record ADR
on a new plan for a child who had ADR recorded in a previous plan, the form opens with data from the previous plan. Children data on recorded ADRs should not persist across plans but should refresh with each new plan. It appears that the child's ADR information is being shared across plans (I had previously submitted adverse reactions for the children in an older plan).Steps:
Expectation is that every child's ADR form should be empty at the start of a new plan.