library(bupaR)
library(eventdataR)
# Blood test should always happen before a MRI Scan,
# and both should happen when one of them happens.
patients %>%
check_rule(succession("Blood test","MRI SCAN"))
Run the code above in your browser using DataLab