but the moment she stepped into the sickbay and saw james lying flat on a surgical bed , the plan shed carefully formulated in her mind flew away like a flock of chickens bursting free of an open coop .