Delivering safe, high quality care in residential and community settings