Capturing and classifying functional status information in administrative databases