Preparing students to deal with the consequences of the workforce shortage among health professionals: a qualitative approach