assign_instrument_to_event
Assign a REDCap instrument to a specific event in a longitudinal project, ensuring the correct form is available for each scheduled visit.
Instructions
Assign an instrument to an event in a longitudinal project.
Args: instrument: Internal form name of the instrument. event: Unique event name (e.g. 'baseline_arm_1'). arm_num: Arm number the event belongs to (default 1).
Returns: Confirmation message, or an error if the project is not longitudinal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | ||
| arm_num | No | ||
| instrument | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |