Determination of functional prognosis in hospitalized patients following an intensive care admission