Text this: PSCPF: planning, scheduling and control of patient flow