changed EXIT_FROM_INPATIENT variable name to EXIT_FROM_CARE