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

feat: hide program stage based on datastore survey rule #53

Merged
merged 1 commit into from
May 22, 2024

Conversation

9sneha-n
Copy link
Contributor

📌 References

📝 Implementation

  1. Hide stage based on datastore survey rule

The following datastore setting, hides "Type of Care" field, "Coordinator1" section and "Hospital data" stage in Prevalence Facility-level form for "Mortality Test" Prevalence Survey Form with Id "PS9eOV6hAKn"

"rulesBySurvey": [
      {
        "surveyId": "PS9eOV6hAKn",
        "surveyRules": [
          {
            "formId": "m404pwBZ4YT",
            "rules": [
              {
                "id": "1",
                "toHide": [
                  "qSaS0DuwNiP"
                ],
                "type": "HIDEFIELD"
              },
              {
                "id": "2",
                "toHide": [
                  "O8Y14hlUvwI"
                ],
                "type": "HIDESECTION"
              },
              {
                "id": "2",
                "toHide": [
                  "a6EjeCKWus4"
                ],
                "type": "HIDESTAGE"
              }
            ]
          }
        ]
      }
    ]

📹 Screenshots/Screen capture

HideStage.mov

🔥 Notes to the tester

@9sneha-n 9sneha-n requested review from MiquelAdell and anagperal May 22, 2024 08:47
Copy link

@anagperal anagperal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @9sneha-n !!

@MiquelAdell MiquelAdell merged commit 1e44a33 into development May 22, 2024
1 check passed
@MiquelAdell MiquelAdell deleted the feat/hide-stage-datastore-rule branch May 22, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants