The context of the following conversation is Robin has been sick in the ER and Alex has been right there by her side but he had to leave to go to work.:
Robin says I had to go to the ER last week.  It was really scary.  Alex stayed with me until he had to leave for work..
The friend responds I'm sorry to hear that.  What was wrong?.
Robin responds I fell off my bike and thought I'd broken my arm. But it ended up being a bad sprain..
The friend responds Oh no.  Had they done the x-rays before Alex needed to leave?.
Robin responds Yes.  I was just waiting for the results when he had to leave.  He felt terrible but I told him he should go..
The friend responds Yes, I can imagine it was hard for him to just leave you..