In the second phase the program will be tested in a cluster randomised clinical trial. The program will be implemented on ten wards (5 hospital wards and 5 nursing home wards), i.e. the intervention group. The control group will continue to give care as usual.