Using notes made by the attending healthcare professionals about psychiatric patients enables impending coercive measures to be predicted in advance — potentially even through automated text analysis.