Text this: A multi-state model to improve the design of an automated system to monitor the activity patterns of patients with bipolar disorder.