Researchers suggest there should be social workers present on wards.