User Tools

Site Tools


userdocs:redcap_usage:base:save_datetime_of_randomization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

userdocs:redcap_usage:base:save_datetime_of_randomization [2024/04/16 19:05] – created babbagejuserdocs:redcap_usage:base:save_datetime_of_randomization [2024/04/17 12:44] (current) babbagej
Line 1: Line 1:
 ====== Save datetime of randomization ====== ====== Save datetime of randomization ======
  
-You can automatically save the time of randomization, or any other  status change, using the **@CALCDATE** action tag.  This tag lets you calculate a new date that is offset from an existing date.  In this case, the existing date is __now__.  The following text can be entered as the **Action Tags/Field Annotation** for a text box field type.  The variable **randomized_arm** should be replaced with the randomization field as configured on the project, and **randomized_date** should be replaced with the variable name that is tracking the datetime of randomization. +You can automatically save the time of randomization, or any other  status change, using the **@CALCDATE** action tag.  This tag lets you calculate a new date that is offset from an existing date.  In this case, the existing date is "//now//" and the offset is zero.  The following text can be entered as the **Action Tags/Field Annotation** for a text box field type.  The variable **randomized_arm** should be replaced with the randomization field as configured on the project, and **randomized_date** should be replaced with the variable name that is tracking the datetime of randomization. 
  
 <code> <code>
userdocs/redcap_usage/base/save_datetime_of_randomization.1713294358.txt.gz · Last modified: 2024/04/16 19:05 by babbagej

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki