A method for using physiological data in a medical device to be connected to a subject during use in a medical procedure, which medical device comprises a processing circuit that is provided with a memory and with a processor for executing data from said memory, which method comprises: storing, in a first memory location of a memory of the processing circuit, a control module comprising a medical device controller configured to generate control commands using a medical procedure routine and a physiological data analyzer configured to analyse physiological data; generating, by the processing circuit, a start procedure command intended to cause the medical device to begin a medical procedure on a subject; receiving, at the processing circuit, physiological data from a measurement device and indirectly originating from the subject, the physiological data being indicative of a physiological condition of the subject during the medical procedure; storing, in the first memory location, the received physiological data; storing, in a second memory location of the memory of the processing circuit, operational data generated during the medical procedure; preventing access to the first memory location during the medical procedure using a security setting so that only the medical procedure routine may change data stored in the first memory location while the medical procedure routine is executing so that users and other applications are prevented from changing the data in the first memory location; analyzing, by the physiological data analyzer of the processing circuit, the physiological data; and generating, by the processing circuit, a control command intended for the medical device based in part on the analyzed physiological data. storing, in a first memory location of a memory of the processing circuit, a control module comprising a medical device controller configured to generate control commands using a medical procedure routine and a physiological data analyzer configured to analyse physiological data; generating, by the processing circuit, a start procedure command intended to cause the medical device to begin a medical procedure on a subject; receiving, at the processing circuit, physiological data from a measurement device and indirectly originating from the subject, the physiological data being indicative of a physiological condition of the subject during the medical procedure; storing, in the first memory location, the received physiological data; storing, in a second memory location of the memory of the processing circuit, operational data generated during the medical procedure; preventing access to the first memory location during the medical procedure using a security setting so that only the medical procedure routine may change data stored in the first memory location while the medical procedure routine is executing so that users and other applications are prevented from changing the data in the first memory location; analyzing, by the physiological data analyzer of the processing circuit, the physiological data; and generating, by the processing circuit, a control command intended for the medical device based in part on the analyzed physiological data.