Researchers at Tel Aviv University in Israel have developed a new smartphone app.

The app recorded data from patients' phones over a period of six months and sent it to computers that made use of advanced algorithms to detect changes in patients' sleep, communication, mobility, and vocal patterns.
“The diagnosis of mental health disease is based only on behavioral patterns. n some cases, a patient is discharged from the hospital into a vacuum, with no idea how to monitor his or her new state of mind. Because most people own smartphones today, we thought, 'Why not harness the smartphone, a reservoir of daily activities, to monitor behavioral patterns?'”, lead researcher Dr Uri Nevo said.
Source-Medindia