She took a taxi to the hospital.

Literal

She [topic-は] hospital [until-まで] taxi [to-に] rode.

タクシーに乗る ('to ride a taxi') is the standard expression. まで marks the destination endpoint.