Examples—Data set methods in rule expressions

The examples use the following study object names:

  • Study event–Visit1
  • Form–Vitals
  • Item–Pulse
  • Data set–VitalSigns

Structure

You must use the following structure when you use a method in a rule expressions.


Rule expression using methods

1—Name of the data set.

2—Name of the method.

3—Filtering information created when you provide a value for the parameter or parameters of the method.

To use a method in a rule expression:

  1. Double-click the method.

    If the method has one or more parameters, the Invoke Function dialog box appears.

  2. Drag a study object from the References tab to the Values field to define a value for each parameter.

Examples

The following table provides examples of rule expressions that you can use to obtain a subset of a data set. The examples use the study object names defined for the examples.

Rule expression Returns a data set subset with data from..

VitalSigns.StudyEvent(StudyEvents.Visit1)

Visit1 only.

VitalSigns.StudyEvent(StudyEvents.Visit1).Form(Forms.Vitals)

The Vitals form in Visit1 only.

VitalSigns.StudyEvent(StudyEvents.Visit1).Form(Forms.Vitals). Item(Items.Pulse)

The Pulse item on the Vitals form in the Visit1 study event.

VitalSigns.Form(Forms.Vitals)

The Vitals form in any study event.

VitalSigns.StudyEvent(StudyEvents.Visit1).Item(Items.Pulse)

The Pulse item on any form in the Visit1 study event.