Complex sentence: Allan calls the hospital, panning to see the psychiatrist but the doctor is away.
Split into simpler sentences: Allan calls the hospital, hoping to see the psychiatrist. Unfortunately, the doctor is away.