Apparatus for monitoring a clinical condition of a subject is described. A motion sensor monitors the subject, and generates a signal in response thereto. A control unit analyzes the signal, and, in response to the analyzing, (a) identifies a sleep stage of the subject, and (b) identifies a clinical parameter of the subject in the identified sleep stage. The control unit monitors the clinical condition, by comparing the clinical parameter to a baseline clinical parameter for the identified sleep stage, and generates an output in response thereto. Other applications are also described.