AddTimepoint
Description:
Creates or finds the Event SDI representing the Timepoint Event and returns the Event Id.
Input Properties
visiteventid
Description:
Identifier of the parent Visit Event to which to add the new Timepoint Event.
Required:
Yes
eventlabel
Description:
Label of the Event in the Protocol to add.
Required:
Yes
eventdt
Description:
Date on which the specified Protocol Event occurred.
Required:
Only for recurring events.
eventstatus
Description:
Status to be set for the new Event. Defaults to Completed.
Required:
No
adhocevtflag
Description:
Yes specifies that the Event referred to in the eventlabel property may not be one currently defined for the Protocol. If the Event cannot be found, a new adhoc Event should be created for the Participant.
No (default) generates an error if the eventlabel is not found in the Protocol.
Required:
No
eventdefid
Description:
List of Event definition ids (identifiers of the Events defined in the Protocol).
Required:
No
Comments:
An Event is generated by the Action for the specified Event definition ids.
auditreason
Description:
Auditing information recorded in the "Reason" column of the TraceLog table.
Required:
No
auditactivity
Description:
Auditing information recorded in the "Activity" column of the TraceLog table.
Required:
No
auditsignedflag
Description:
Auditing information recorded in the "SignedFlag" column of the TraceLog table.
Required:
No
Output Properties
neweventid
Description:
Identifiers of the newly added (or found) LV_ParticipantEvent SDIs.
Additional Information
Additional information concerning this Action:
Before creating a new Event, this Action looks for the relevant Event definition in the Protocol. If the event definition is not found and the value of argument "adhocevtflag" is "Yes", the action creates an adhoc event (a participantevent without event definition gets created).

Mandatory Inputs: ParentVisitEventID Event Label and Eventdate.

This Action is invoked to find/create a Timepoint event when receiving the sample via TISM page or when a Form is submitted.

A list of extra LV_PartcipantEvent user fields can be passed to the action in the timepoint_ format (where is the user field of the LV_ParticpantEvent sdc).

All arguments accepting multiple values must have the same number of semicolon-separated values.

You can add multiple timepoints to a visit event by passing multiple values for event labels. Use a semicolon to separate each value. Example:
visiteventid = ve01
eventlabel = 1month;2month
eventdt = 4/6/2009
adhocevtflag = Yes
This adds 2 timepoint events with labels 1month and 2month.

This Action affects records in the LV_ParticipantEvent table.>/p>

Copyright © 1999-2016 LABVANTAGE Solutions, Inc.