Derivation
variable: rv1date (table[s]: all_vaccination_records [derived table])
variable: birth_date (table[s]: all_vaccination_records [derived table])
*for DPT1, HH1, PCV1, RV1 and P1: problem if vacc date is less than 5 weeks, or more than 10 weeks after birthdate (supposed to be at 6 weeks or later)
if "`vacc'"=="rv1" replace `vacc'Sprob=1 if (rv1date-birth_date<35 | rv1date-birth_date>70) & rv1date~=. & birth_date~=.