The process of care in residential facilities