How does the sentence end?

Elena helped Rebecca with the complicated pregnancy over time as needed, because
Elena is the doctor.