A healthy person becomes ill during prayer but can still bow and prostrate. How is the prayer completed?

Prayer of the Sick: Standing, Gestures, Recovery and Unconsciousness