You are a helpful, respectful, and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
What is Viral encephalitis and explain in detail?
Viral encephalitis is inflammation of the brain parenchyma, called encephalitis, by a virus. The different forms of viral encephalitis are called viral encephalitides. It is the most common type of encephalitis and often occurs with viral meningitis. Encephalitic viruses first cause infection and replicate outside of the central nervous system (CNS), most reaching the CNS through the circulatory system and a minority from nerve endings toward the CNS. Once in the brain, the virus and the hosts inflammatory response disrupt neural function, leading to illness and complications, many of which frequently are neurological in nature, such as impaired motor skills and altered behavior.
Viral encephalitis can be diagnosed based on the individuals symptoms, personal history, such as travel history, and different clinical tests such as histology, medical imaging, and lumbar punctures. A differential diagnosis can also be done to rule out other causes of the encephalitis. Many encephalitic viruses often have characteristic symptoms of infection, helping to aid diagnosis. Treatment is usually supportive in nature while also providing antiviral drug therapy. The primary exception to this is herpes simplex encephalitis, which is treatable with acyclovir. Prognosis is good for most individuals who are infected by an encephalitic virus but is poor among those who develop severe symptoms, including viral encephalitis. Long-term complications of viral encephalitis typically relate to neurological damage, such as experiencing seizures, memory loss, and intellectual impairment.
Encephalitic viruses are typically transmitted either from person-to-person or are arthropod-borne viruses, called arboviruses. The young and the elderly are at the highest risk of viral encephalitis. Many cases of viral encephalitis are not identified either because of lack of testing or mild illness, and serological surveys indicate that asymptomatic infections are common. Various ways of preventing viral encephalitis exist, such as vaccines that are either in standard vaccination programs or which are recommended when living in or visiting certain regions, and various measures aimed at preventing mosquito, sandfly, and tick bites in order to prevent arbovirus infection.

Etiology
Many viruses are capable of causing encephalitis during infection, including:

Transmission
Encephalitic viruses vary in their manner of transmission. Some are transmitted from person-to-person, whereas others are transmitted by animals, especially bites from arthropods such as mosquitos, sandflies, and ticks, such viruses being called arboviruses. An example of person-to-person transmission is the herpes simplex virus, which is transmitted by means of intimate physical contact. An example of arboviral transmission is the West Nile virus, which usually is incidentally transmitted to people from the bites of Culex mosquitos, especially Culex pipiens.

Pathogenesis
Viruses that cause viral encephalitis first infect the body and replicate outside of the central nervous system (CNS). Thereafter, most reach the spinal cord and brain via the circulatory system. Exceptions to this include herpesviruses and the rabies virus, which travel from nerve endings to the CNS. Once in the brain, the virus and the hosts inflammatory response disrupt neural cell function, including causing fluid buildup in the brain, vascular congestion, and bleeding. Widespread presence of white blood cells and microglia in the CNS is common as a response to CNS infection. For some forms of viral encephalitis, such as Eastern equine encephalitis and Japanese encephalitis, there may be a significant amount of necrosis of nerve cells. Following encephalitis caused by arboviruses, calcification may occur in the CNS, especially among children. Herpes simplex encephalitis tends to produce necrotic lesions in the CNS.

Diagnosis
Examination
If viral encephalitis is suspected, then questions can be asked about the individuals history and physical examination can be performed. Important aspects of ones history include immune status, exposure to animals, including insects, travel history, vaccination history, geography, and time of year. Symptoms usually occur acutely, and the most common symptoms of infection are fever, headache, altered mental status, sensitivity to light, stiff neck and back, vomiting, confusion, and, in severe cases, seizures, paralysis, and coma. Neuropsychiatric features such as behavioral changes, hallucinations, or cognitive decline are frequent. Severe symptoms are most common among infants and the elderly. Most infections are asymptomatic, lacking symptoms, whereas most symptomatic cases are mild illnesses.Virus-specific symptoms may also exist or tests may indicate one virus. Specific examples include:
Enterovirus 71 may cause tremors, twitching, impaired balance and coordination, fluid accumulation in the lungs, and cranial nerve palsies.
Epstein-Barr virus encephalitis is usually accompanied by enlargement of the lymph nodes and enlargement of the spleen
Herpes zoster encephalitis may be accompanied by rash and skin vesicles, and because it involves the frontal lobe and temporal lobe, is often characterized by psychiatric features, memory deficits, and loss of language faculties.
Many arboviral encephalitides, such as Japanese encephalitis, primarily affect the basal ganglia, sometimes causing motor symptoms such as involuntary movements and movements similar to those observed in Parkinsons disease.
Nipah virus may produce brainstem and cerebellar signs, hypertension, and segmental myoclonus, or twitching of a group of connected muscles.
Zika virus characteristically may cause microcephaly among newborn children if a pregnant woman is infected.

Histology
The brain histology of viral encephalitis shows dead neurons with nuclear dissolution and elevated eosinophil count, called hypereosinophilia, within cells cytoplasm when viewed with an optical microscope. Because encephalitis is an inflammatory response, inflammatory cells situated near blood vessels, such as microglia, macrophages, and lymphocytes, are visible. Virions within neurons are visible via electron microscopes.

Clinical evaluation
Neuroimaging and lumbar puncture (LP) are both essential methods of diagnosing viral encephalitis. Computed tomography (CT) or magnetic resonance imaging (MRI) help identify increased intracranial pressure and the risk of uncal herniation before performing an LP. Cerebrospinal fluid (CSF), if analyzed, should be analyzed for opening pressure, cell counts, glucose, protein, and IgG and IgM antibodies. CSF testing should also include polymerase chain reaction (PCR) testing for herpes simplex viruses 1 and 2 and enteroviruses. About 10% of patients have normal CSF results. Additional testing, such as serology for various arboviruses and HIV testing, may also be performed based on the individuals history and symptoms. Brain biopsy and body fluid specimen cultures and PCR may also be useful in some cases. Electroencephalography (EEG) is abnormal in more than 80% of viral encephalitis cases, including those who are experiencing seizures, and may need to be monitored continuously to identify non-convulsive status. Lack of testing resources may prevent accurate diagnosis.Test results specific to certain viruses include:
For herpes simplex virus encephalitis, a CT scan may show low-density lesions in the temporal lobe. These lesions usually appear 3 to 5 days after the start of the infection.
Japanese encephalitis often has distinct EEG patterns, including diffuse delta activity with spikes, diffuse continuous delta activity, and alpha coma activity.

Differential diagnosis
A broad differential diagnosis can be performed that looks at many potential causes of the encephalitis, infectious and noninfectious. Potential alternatives to viral encephalitis include malignancy, autoimmune or paraneoplastic diseases such as anti-NMDA receptor encephalitis, a brain abscess, tuberculosis or drug-induced delirium, exposure to certain drugs or toxins, neurosyphilis, vascular disease, metabolic disease, or encephalitis from infection caused by a bacterium, fungus, protozoan, or parasitic worm. In children, differential diagnosis may not be able to distinguish between viral encephalitis and immune-mediated inflammatory CNS diseases, such as acute disseminated encephalomyelitis, as well as immune-mediated encephalitis, so other diagnostic methods may need to be used.

Treatment
Treatment of viral encephalitis is primarily supportive with intravenous antiviral therapy due to there being no specific medical therapy for most viral infections involving the central nervous system. Individuals may require intensive care for frequent neurological exams or respiratory support, and treatment for electrolyte disturbance, autonomic disregulation, and renal and hepatic dysfunction, as well as for seizures and non-compulsive status epilepticus.A very specific exception is herpes simplex virus (HSV) encephalitis, which can be treated with acyclovir for 2 to 3 weeks if it is provided early enough. Acyclovir significant decreases morbidity and mortality of HSV encephalitis and limits the long-term behavioral and cognitive impairments that occur with illness. As such, and because HSV is the most common cause of viral encephalitis, acyclovir is often administered as soon as possible to all patients suspected of having viral encephalitis even if the exact viral origin is not yet known. Viral resistance to acyclovir rarely occurs, primarily among the immunocompromised, in which case foscarnet should be used. Although not as effective, nucleoside analogs are used for other herpesviruses as well, such as acyclovir, with possible adjunctive corticosteroids for immunocompetent individuals, for varicella-zoster virus encephalitis and a combination of ganciclovir and foscarnet for cytomegalovirus encephalitis.Serial intracranial pressure (ICP) is important to monitor as elevated ICP is associated with poor prognosis. Elevated ICP can be relieved with steroids and mannitol, though there is limited data of the efficacy of such treatment with regards to viral encephalitis. Seizures can be managed with valproic acid or phenytoin. Status epilepticus may required benzodiazepines. Antipsychotic drugs may be needed for a short time period if behavior alternations are present. Given the possibility of complications developing from viral encephalitis, an interdisciplinary team consisting of the clinicians, therapists, rehabilitation specialists, and speech therapists is important in order to help patients.

Prognosis
If treated, most individuals recover from viral encephalitis without long-term problems related to the illness. Mortality rates vary for those who do not receive treatment, for example being about 70% for herpes encephalitis but low for the La Crosse virus. Individuals who remain symptomatic after initial infection may have difficulty concentrating, behavior or speech disorders, or memory loss. Rarely, individuals may remain in a persistent vegetative state. The most common long-term complication of viral encephalitis is seizures that may occur in 10% to 20% of patients over several decades. These seizures are resistant to medical therapy. However, individuals who have unilateral mesial temporal lobe seizures after viral encephalitis have good results following neurosurgery. Prognoses related to specific viruses include:
For Eastern equine encephalitis, some children may experience seizures, severe intellectual disability, and various forms of paralysis.
For Japanese encephalitis, extrapyramidal symptoms relating to motor function may remain.
For St. Louis encephalitis, low blood sodium level and excess, unsuppressable release of antidiuretic hormone
For Western equine encephalitis, some children may experience seizures and behavioral changes.
For pregnant women infected with Zika virus, the newborn child may have microcephaly.Other potential complications following viral encephalitis include:
Encephalopathy
Flaccid paralysis
Impaired intelligence
Low blood sodium level
Mononeuropathy
Mood and behavioral changes
Residual neurological deficits

Epidemiology
While the etiology of many cases of encephalitis is unknown, viruses account for about 70% of confirmed encephalitis cases, with the herpes simplex virus being the most common cause at about 50% of encephalitis cases. The incidence of viral encephalitis is about 3.5 to 7.5 per 100,000 people, with the highest incidence among the young and the elderly. Viral encephalitis caused by some viruses, such as the measles virus and the mumps virus, has become less common due to widespread vaccination