Example of a rule for a dynamic visit date
In this example the patient’s gender determines whether the patient starts the Visit4Gen dynamic visit ten days or two weeks after the previous visit, Visit3.
MALE=1
FEMALE=2
Gender = Patient.GetValueRF(“0.Visit1.DEM.DEM.0.GENDER”,””,0,0,0)
If Gender = MALE Then
StartAt=240
Else
StartAt=336
End If
Patient.SetDynamicVisitStart “Visit4Gen”, “Visit3”, StartAt