Randomization rule
Use VBScript to create a rule script that gets the next sequence number for a patient being randomized. You can use form rule and calculation script objects as well as the Randomization object. If the rule is for a stratified randomization (Type 2 or Type 4), include a test of each patient data item on which it depends.