Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Skip Logic applied to next instrument #75

@tobadia

Description

@tobadia

Hi everyone,
I'm using FRSL v3.3.4 to conditionnaly skip instruments, whan a patient reports no exposure to say, [exp_1] and [exp_2]. Upgrading is not an option at the moment although I don't think it is related to the issue at hand
I'm in the following scenario:
instrument_1 contains demographics, as well as [exp_1] and [exp_2], both being radio buttons (1, Yes | 0, No)
instrument_2 contains several items that are only relevant when [exp_1] = '1'
instrument_3 contains several items that are only relevant when [exp_2] = '1'

My understanding is that FRSL does its hook magic when loading instrument_1. However, this means that instrument_2 and instrument_3 aren't available by default (and for whatever reason, setting default/fallback value to 1 does not seem to change anything, even with the Advanced logic and piping in the content of [exp_1] and [exp_2]). Is there any way to fix that ?

My understanding of hooks makes me fear there's no way out: there would need to be at least another instrument right after instrument_1, so that the updated content of [exp_1] and [exp_2] triggers the hook again and makes instrument_2 and instrument_3 available.

Any hint ?
Thanks and all the best!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions