Real-time monitoring of the patient’s position