A device for assessing in real time the hypnotic and analgesic effect of one or more drugs infused in a subject during wakefulness, sedation and general anesthesia, comprising, at least one processor and at least one computer readable medium coupled to the processor, said at least one computer readable medium comprises operations executed by said at least one processor, said operations are:
- a. receiving electroencephalography (EEG) data from a plurality of electrodes positioned on the forehead of the subject;
- b. receiving brain impedance tomography data on the state of brain function from a brain impedance tomography device;
- c. receiving drug interaction data of the one or more drugs infused in said subject;
- d. defining an initial index of nociception (qNOX) as a function of said EEG data and said brain impedance tomography data;
- e. providing final index of nociception (qNOX′);
- wherein said processor is configured to calculate said final index of nociception (qNOX′) in real time using established mathematical manipulation from input of said EEG data and said drug interaction data.