I am a hospital manager.
Firstly, I am really sorry that your husband is in hospital atm, it's so difficult for patients and families when we can't allow visitors.
We are testing patients according to the guidance, on admission, on day 3, 5, 7 etc. When a patient tests positive we investigate to identify whether the virus is hospital acquired or likely brought in from the community. Wards where there is a fast turnover of beds are particularly at risk.
The decision to move a patient out to a covid ward has to be taken very carefully around their clinical condition. For example my areas are surgery, and we cant guarantee a patient would receive the same level of care for their surgical problem on a general covid ward. In many areas such as surgery, cardiology, respiratory, the nursing staff are specialists and provide the safest possible care for that type of patient. The decision to transfer will be based on how stable the person with covid is. Where a side room is possible we would move the positive case out of the bay.
Whether your dh was in a bay for an hour or a week with a positive patient we would treat him as a covid contact either way. This would mean close monitoring, not admitting new patients to the bay, extra tight PPE adherence, and daily testing to ensure we pick up infections as early as possible.
Unfortunately, hospital is a risky place to be whilst covid rates are still so high, and despite our best efforts sometimes we have hospital transmission. Very few hospitals have sufficient single rooms/cubicles to manage patients in isolation.