The use of Functional Consequences Theory in acutely confused hospitalized elderly.