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 Herpesviral encephalitis and explain in detail?
Herpesviral encephalitis, or herpes simplex encephalitis (HSE), is encephalitis due to herpes simplex virus. It is estimated to affect at least 1 in 500,000 individuals per year, and some studies suggest an incidence rate of 5.9 cases per 100,000 live births.About 90% of cases of herpes encephalitis are caused by herpes simplex virus-1 (HSV-1), the same virus that causes cold sores. According to a 2006 estimate, 57% of American adults were infected with HSV-1, which is spread through droplets, casual contact and sometimes sexual contact, though most infected people never have cold sores. The rest of cases are due to HSV-2, which is typically spread through sexual contact and is the cause of genital herpes.
Two-thirds of HSE cases occur in individuals already seropositive for HSV-1, few of whom (only 10%) have history of recurrent orofacial herpes, while about one third of cases results from an initial infection by HSV-1, predominantly occurring in individuals under the age of 18. Approximately half of individuals who develop HSE are over 50 years of age.

Signs and symptoms
Most individuals with HSE show a decrease in their level of consciousness and an altered mental state presenting as confusion, and changes in personality. Increased numbers of white blood cells can be found in patients cerebrospinal fluid, without the presence of pathogenic bacteria and fungi. Patients typically have a fever and may have seizures. The electrical activity of the brain changes as the disease progresses, first showing abnormalities in one temporal lobe of the brain, which spread to the other temporal lobe 7–10 days later. Imaging by CT or MRI shows characteristic changes in the temporal lobes (see Figure).
Definite diagnosis requires testing of the cerebrospinal fluid (CSF) by a lumbar puncture (spinal tap) for presence of the virus. The testing takes several days to perform, and patients with suspected Herpes encephalitis should be treated with acyclovir immediately while waiting for test results. Atypical stroke-like presentation of HSV encephalitis has been described as well and the clinicians should be aware that HSV encephalitis can mimic a stroke.

Associated conditions
Herpesviral encephalitis can serve as a trigger of anti-NMDA receptor encephalitis. About 30% of HSE patients develop this secondary immunologic reaction, which is associated with impaired neurocognitive recovery.

Epidemiology
The annual incidence of herpesvial encephalitis is from 2 to 4 cases per 1 million population.

Pathophysiology
HSE is thought to be caused by the transmission of virus from a peripheral site on the face following HSV-1 reactivation, along a nerve axon, to the brain. The virus lies dormant in the ganglion of the trigeminal cranial nerve, but the reason for reactivation, and its pathway to gain access to the brain, remains unclear, though changes in the immune system caused by stress clearly play a role in animal models of the disease. The olfactory nerve may also be involved in HSE, which may explain its predilection for the temporal lobes of the brain, as the olfactory nerve sends branches there. In horses, a single-nucleotide polymorphism is sufficient to allow the virus to cause neurological disease; but no similar mechanism has been found in humans.

Diagnosis
Brain CT scan (with/without contrast)