Patients waiting for beds and ambulances were diverted from Dartmouth General yesterday.

Two “code census” were called yesterday — at 9:30 a.m. and 1:30 p.m. Ambulances were diverted to other hospitals between 7 a.m. and 11:30 a.m.

A code census is called when there is a build up of admitted patients in the ER. These are patients who have been treated and are waiting for beds elsewhere, explained Capital Health spokesman John Gillis.

“A code census means that patients will be moved up into hospital units and they may stay in hallways or in overflow areas,” he said.

As of 4 p.m. yesterday, nine admitted patients were still waiting.