There are 2 exits from the restricted infirmary area.
One is near the showers just go to the hallway that goes down.
The second is on the opposite of the same hallway leading away from the showers.