What are the causes of sleep-type seizures?

       Sleep-type epilepsy is a common classification of seizure type in which seizures occur during sleep and its main clinical feature is the sudden onset of large behavioral abnormalities during nighttime sleep. Common symptoms include sudden convulsions during sleep, mild generalized spasms, and in a few cases, sleep-related aggressive behavior.  Common factors causing epilepsy are: 1. congenital disorders: such as congenital brain malformations, hydrocephalus, chromosomal abnormalities, inherited metabolic disorders, etc.  2. Trauma: especially cranial birth injury is a common cause of secondary epilepsy in infancy. Contusions, hemorrhage and ischemia can also lead to local brain tissue softening, which later becomes an epileptic focus. Epilepsy occurs in about 5% of adults after closed traumatic brain injury; more epilepsy occurs in severe and open traumatic brain injury, up to about 30%.  3, infection: such as a variety of encephalitis, meningitis, brain abscess, the impact of toxins can cause seizures, and the scar and adhesions formed after healing may also become epileptic foci. In addition, there are parasitic infections, such as cerebral schistosomiasis, cerebral cysticercosis often cause epilepsy.  4, poisoning: carbon monoxide, lead, mercury, ethanol and other poisoning, as well as systemic diseases, such as hepatic encephalopathy, hypertensive syndrome, acute nephritis, uremia, etc., can cause seizures.  5, intracranial tumor: In addition to brain trauma, brain tumor is a common cause. Especially slow-growing glioma, meningioma, astrocytoma, etc.  6, nutritional and metabolic diseases: such as diabetic coma, hyperthyroidism, hypoglycemia, vitamin B6 deficiency, etc. can cause seizures.  7, febrile convulsions: severe or frequent febrile convulsions in childhood can easily cause local brain hypoxia or edema, and later form epileptic foci and cause disease.