How does the sentence end?

The medication was not prescribed to Carrie and was to Angela because
Angela had an ear infection.