A computer-assisted inpatient psychiatric assessment and treatment planning system.