In this sentence, it's ambiguous who was late. It could refer to either the doctor or the nurse, depending on the context. The pronoun "he" could grammatically refer to either person. Without additional context, it's not possible to definitively say who was late.
