The manners in which the peripheral and central nervous system responds to tumours, infections or inflammation as well as to immune mediated mechanisms.