Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old rules not working #1129

Closed
mahalakshme opened this issue Oct 11, 2023 · 1 comment
Closed

Old rules not working #1129

mahalakshme opened this issue Oct 11, 2023 · 1 comment
Assignees

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Oct 11, 2023

Steps to reproduce:

  • Login with taqi@ihmp, env: prod
  • Disable automatic upload sync
  • Go to the individual "Kanchan Aakash Thikone"
  • Try to do monthly needs assessment encounter
  • On 3rd page for "whether any family planning method used?", Enter No
  • Even then questions regarding "what family planning method used" appears.

Analysis:

In the rules table, 'IHMP EC Monthly needs assessment View Filter' is present. In the IHMP repo - in the file, "monthlyNeedsAssessmentHandler.js" you can find the rules. To deploy the rules to staging/prod use the commands: make deploy-staging-rules and make deploy-prod-rules after doing make deps. Deploying to prod should be avoided.
Screenshot_2023-10-10-16-22-26-559_com openchsclient

For normal rules(rules added via app designer) is working. Issue not occurring in 4.0.1 prod.

Looks like not only skip rules none of the old rules are working - Worklist updation rule is also not working.After completing "Monthly needs Assessment" should show the option of "save and enrol in pregnancy program". But only Save option is currently shown.

@mahalakshme mahalakshme converted this from a draft issue Oct 11, 2023
@mahalakshme mahalakshme moved this from Ready to Analysis Complete in Avni Product Oct 11, 2023
@mahalakshme mahalakshme moved this from Analysis Complete to Ready in Avni Product Oct 11, 2023
@mahalakshme mahalakshme moved this from Ready to Analysis Complete in Avni Product Oct 11, 2023
@mahalakshme mahalakshme moved this from Analysis Complete to Ready in Avni Product Oct 11, 2023
@himeshr himeshr self-assigned this Oct 11, 2023
@himeshr himeshr moved this from Ready to In Progress in Avni Product Oct 11, 2023
@mahalakshme mahalakshme changed the title Skip answers not working for old rules Old rules not working Oct 11, 2023
himeshr added a commit that referenced this issue Oct 11, 2023
@himeshr himeshr moved this from In Progress to Code Review Ready in Avni Product Oct 11, 2023
@AchalaBelokar
Copy link

Tested on ihmp and Calcutta kids the skip logic is working fine there also check with org which is having new rules

@mahalakshme mahalakshme moved this from Code Review Ready to Done in Avni Product Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

4 participants