How do you escape Dr. Trager in Outlast?

Quick answer: Break free from the wheelchair, use the vents and hide under beds when Trager is near, grab the elevator key from the room past the bathroom, then run to the elevator.
Show walkthrough (quest spoilers)
Break free
After the cutscene, Miles is strapped to a wheelchair. Shake free when the prompt appears. Jump down, run back to the door you came through, turn left and take the shaft on the path.
Hide under beds
Trager walks the halls and checks rooms. If he spots you, break line of sight and hide under a bed until he gives up. Go to the double metal doors, turn right and take the next shaft.
Get the elevator key
Find the bathroom with a document folder, then go through the double doors on the right to take the elevator key. Trager comes in right after, so hide under a bed until he leaves.
Run for the elevator
Run out through the door he used, go straight and turn left at the metal doors to reach the elevator. Watch the cutscene, then climb out through the trapdoor. See the Male Ward walkthrough for what comes next.
