when scheduling an elective hospitalization, which gets scheduled first?