Utility of electroencephalogram in altered states of consciousness in intensive care unit patients