Discussions
Categories
- All Categories
- 205 Clinical Community
- 72 Clinical User Forum
- 179 Clinical Applications
- 100 Clinical One
Usage of 'Any visit' in the custom Rules
Anyone knows the usage of 'Any Visit' in custom rules ? if one visit date is compared against dates from different visits & different Form.
Comments
-
Hi @User_W19G3 ,
Welcome to the Clinical One Community. This is a great question, thank you for sharing it.
When creating a custom rule, there are several options available to select a visit.
As you mention one of them is “Any visit”. We select this to create a variable from data collected at a form that is not present in the same visit where the rule is being created. This type of variable can only be used in conjunction with the
getValues()
helper function.If we select “All visits” the variable data will be retrieved from the form in the current visit where rule is being run. This option only allows the rule to refer to forms in the same visit as the target form.
If we select a specific visit, for example the Screening visit, the variable data will be retrieved from the form in the specified visit, in this case the Screening visit, for every visit where the rule is executed.
Hope this helps.