====== REDCap Survey Logic ====== [[:tools:redcap]] logic ====== **Survey Queue in Redcap!!! (˶ˆᗜˆ˵)** ====== On the lefthand side, click on Designer and go to Survey Queue setup. {{.:pasted:20261019-101834.png}} For this example, we are using MNBS that was added to SPA7T project in October 2026! Ensure that the measure is activated and ready for use. You can activate/deactivate clicking this button here. {{.:pasted:20261019-102009.png}} If you want your survey to come after another (automatically), you can click the checkbox and also indicate which particular survey (under which arm/visit type) you want it to go after. ALSO, be sure to check the box on the farthest righthand side. This helps RedCap know you want this survey to autostart. {{.:pasted:20261019-102203.png}} Then, you're all done!!! Be sure to submit all changes for review. Important note: If some surveys are unique to age or sex/gender, you will need to modify the logic. For example, in the screenshot below we have the MNBS, DT-AS, and WHOQOL-BREF. MNBS is administered to all participants, whereas the DT-AS and WHOQOL-BREF are only for adults to complete. {{.:pasted:20261019-102745.png}} ==== Setting up Branching for a Measure you want to Add / Edit onto RedCap ==== 1. Add all the items/survey questions onto the new instrument that you created 2. Once all items/survey questions have been added, click on the green arrows icon {{.:pasted:20260209-130259.png}} 3. insert the logic based on your variable name and values assigned to responses then click Save {{.:pasted:20260209-130701.png}} 4. Nice! You did it! Remember to Submit Changes for Review when you are done! {{.:pasted:20260209-132145.png}} 𝑴𝒆𝒐𝒘. ฅ(•- •マ 𝑴𝒆𝒐𝒘. ฅ(•- •マ 𝑴𝒆𝒐𝒘. ฅ(•- •マ 𝑴𝒆𝒐𝒘. ฅ(•- •マ 𝑴𝒆𝒐𝒘. ฅ(•- •マ 𝑴𝒆𝒐𝒘. ฅ(•- •マ 𝑴𝒆𝒐𝒘. ฅ(•- •マ 𝑴𝒆𝒐𝒘. ฅ(•- •マ ===== Another Example: Male Tanner Puberty Questionnaire x2 Logic ===== Participants complete the Tanner Staging Questionnaire until they indicate Stage 5 for all questions. min([behavioral_arm_1][tanner_male_1stage], [behavioral_arm_1][tanner_male_2stage], [behavioral_arm_1][tanner_male_3stage])<5 or [behavioral_arm_1][male_tanner_staging_complete] = 0