Characteristic
| Description
|
Icon
| 
|
Availability
| Repeating, associated form.
|
Return type
| - Form instances for the associated form.
or
- An array of item values from associated forms.
|
Description
| Returns instances of associated forms, sorted by form index, and allows access to arrays of item values from the associated forms.
|
Example
| If the AE and CM forms are associated, and you are creating a rule on a study event that contains both of them:
- To return an array of associated AE forms:
this.CM.Current().RelatedData
- To return an array of associated CM forms:
this.AE.Current().RelatedData
- To return the value of the Verbatim item on the first AE form:
this.CM.Current().RelatedData[0].Verbatim.Value
- To return an array of values for the drugName item from all instances of the CM form that are associated with the current instance of the AE form:
this.AE.Current().RelatedData.drugName.Values
|
Notes
| Trigger dependencies are created in the InForm application for a data-entry rule using associated forms.
- When the expression of a data-entry rule references the RelatedData rule model property, a trigger dependency is created for both the item that is explicitly referenced and the item that is referenced through the RelatedData property. The rule runs whenever either of the associated forms is submitted.
- Additionally, when you associate or unassociate two forms in the InForm application, a trigger dependency is created, so the rules are run.
|