it was margaret spencer who decided which of them would be assigned to the various surgeries , and since the nurses ranged from indispensable to incompetent , it paid the doctors to get along with her .