Skip to contents

If the record does not have an elective inpatient flag and they have 4 or more elective instances, return TRUE.

Usage

assign_s_cohort_routine_daycase(elective_inpatient_flag, elective_instances)

Arguments

elective_inpatient_flag

A vector of elective inpatient flags

elective_instances

A vector of elective instances

Value

A boolean vector of routine daycase cohort flags