By randomisation , patients were allocated to usual hospital care or hospital-at-home , which included discharge at day 4 of admission , followed by home treatment with homes visits by community nurses until day 7 of treatment .