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 Carbamazepine and explain in detail?
Carbamazepine (CBZ), sold under the trade name Tegretol among others, is an anticonvulsant medication used primarily in the treatment of epilepsy and neuropathic pain. It is used as an adjunctive treatment in schizophrenia along with other medications and as a second-line agent in bipolar disorder. Carbamazepine appears to work as well as phenytoin and valproate for focal and generalized seizures. It is not effective for absence or myoclonic seizures.Carbamazepine was discovered in 1953 by Swiss chemist Walter Schindler. It was first marketed in 1962. It is available as a generic medication. It is on the World Health Organizations List of Essential Medicines. In 2018, it was the 204th most commonly prescribed medication in the United States, with more than 2 million prescriptions.
The newer but structurally related drugs, Oxcarbazepine and eslicarbazepine acetate, both show similar interactions, adverse events, and mechanism of action profiles.

Medical uses
Carbamazepine is typically used for the treatment of seizure disorders and neuropathic pain. It is used off-label as a second-line treatment for bipolar disorder and in combination with an antipsychotic in some cases of schizophrenia when treatment with a conventional antipsychotic alone has failed. However, evidence does not support this usage. It is not effective for absence seizures or myoclonic seizures. Although carbamazepine may have a similar effectiveness (as measured by people continuing to use a medication) and efficacy (as measured by the medicine reducing seizure recurrence and improving remission) when compared to phenytoin and valproate, choice of medication should be evaluated on an individual basis as further research is needed to determine which medication is most helpful for people with newly-onset seizures.In the United States, the FDA-approved medical uses are epilepsy (including partial seizures, generalized tonic-clonic seizures and mixed seizures), trigeminal neuralgia, and manic and mixed episodes of bipolar I disorder. Carbamazepine is the only FDA approved drug for the use of trigeminal neuralgia.The drug is also claimed to be effective for ADHD.As of 2014, a controlled release formulation was available for which there is tentative evidence showing fewer side effects and unclear evidence with regard to whether there is a difference in efficacy.

Adverse effects
In the US, the label for carbamazepine contains warnings concerning:

effects on the bodys production of red blood cells, white blood cells, and platelets:  rarely, there are major effects of aplastic anemia and agranulocytosis reported and more commonly, there are minor changes such as decreased white blood cell or platelet counts, but these do not progress to more serious problems.
increased risks of suicide
increased risks of hyponatremia and SIADH
risk of seizures, if the person stops taking the drug abruptly
risks to the fetus in women who are pregnant, specifically congenital malformations like spina bifida, and developmental disorders.Common adverse effects may include drowsiness, dizziness, headaches and migraines, motor coordination impairment, nausea, vomiting, and/or constipation. Alcohol use while taking carbamazepine may lead to enhanced depression of the central nervous system.  Less common side effects may include increased risk of seizures in people with mixed seizure disorders, abnormal heart rhythms, blurry or double vision.  Also, rare case reports of an auditory side effect have been made, whereby patients perceive sounds about a semitone lower than previously; this unusual side effect is usually not noticed by most people, and disappears after the person stops taking carbamazepine.

Pharmacogenetics
Serious skin reactions such as Stevens–Johnson syndrome (SJS) or toxic epidermal necrolysis (TEN) due to carbamazepine therapy are more common in people with a particular human leukocyte antigen gene-variant (allele), HLA-B*1502. Odds ratios for the development of SJS or TEN in people who carry the allele can be in the double, triple or even quadruple digits, depending on the population studied. HLA-B*1502 occurs almost exclusively in people with ancestry across broad areas of Asia, but has a very low or absent frequency in European, Japanese, Korean and African populations. However, the HLA-A*31:01 allele has been shown to be a strong predictor of both mild and severe adverse reactions, such as the DRESS form of severe cutaneous reactions, to carbamazepine among Japanese, Chinese, Korean, and Europeans. It is suggested that carbamazepine acts as a potent antigen that binds to the antigen-presenting area of HLA-B*1502 alike, triggering an everlasting activation signal on immature CD8-T cells, thus resulting in widespread cytotoxic reactions like SJS/TEN.

Interactions
Carbamazepine has a potential for drug interactions. Drugs that decrease breaking down of carbamazepine or otherwise increase its levels include erythromycin, cimetidine, propoxyphene, and calcium channel blockers. Grapefruit juice raises the bioavailability of carbamazepine by inhibiting the enzyme CYP3A4 in the gut wall and in the liver. Lower levels of carbamazepine are seen when administrated with phenobarbital, phenytoin, or primidone, which can result in breakthrough seizure activity.Valproic acid and valnoctamide both inhibit microsomal epoxide hydrolase (mEH), the enzyme responsible for the breakdown of the active metabolite carbamazepine-10,11-epoxide into inactive metabolites. By inhibiting mEH, valproic acid and valnoctamide cause a build-up of the active metabolite, prolonging the effects of carbamazepine and delaying its excretion.
Carbamazepine, as an inducer of cytochrome P450 enzymes, may increase clearance of many drugs, decreasing their concentration in the blood to subtherapeutic levels and reducing their desired effects. Drugs that are more rapidly metabolized with carbamazepine include warfarin, lamotrigine, phenytoin, theophylline, valproic acid, many benzodiazepines, and methadone. Carbamazepine also increases the metabolism of the hormones in birth control pills and can reduce their effectiveness, potentially leading to unexpected pregnancies.

Pharmacology
Mechanism of action
Carbamazepine is a sodium channel blocker.  It binds preferentially to voltage-gated sodium channels in their inactive conformation, which prevents repetitive and sustained firing of an action potential.  Carbamazepine has effects on serotonin systems but the relevance to its antiseizure effects is uncertain. There is evidence that it is a serotonin releasing agent and possibly even a serotonin reuptake inhibitor. It has been suggested that carbamazepine can also block voltage-gated calcium channels, which will reduce neurotransmitter release.

Pharmacokinetics
Carbamazepine is relatively slowly but practically completely absorbed after administration by mouth. Highest concentrations in the blood plasma are reached after 4 to 24 hours depending on the dosage form. Slow release tablets result in about 15% lower absorption and 25% lower peak plasma concentrations than ordinary tablets, as well as in less fluctuation of the concentration, but not in significantly lower minimum concentrations.20 to 30% of the substance are circulating in form of carbamazepine itself, the rest are metabolites. 70 to 80% are bound to plasma proteins. Concentrations in the breast milk are 25 to 60% of those in the blood plasma.Carbamazepine itself is not pharmacologically active. It is activated, mainly by CYP3A4, to carbamazepine-10,11-epoxide, which is solely responsible for the drugs anticonvulsant effects. The epoxide is then inactivated by microsomal epoxide hydrolase (mEH) to carbamazepine-trans-10,11-diol and further to its glucuronides. Other metabolites include various hydroxyl derivatives and carbamazepine-N-glucuronide.The plasma half-life is about 35 to 40 hours when carbamazepine is given as single dose, but it is a strong inducer of liver enzymes, and the plasma half-life shortens to about 12 to 17 hours when it is given repeatedly. The half-life can be further shortened to 9–10 hours by other enzyme inducers such as phenytoin or phenobarbital. About 70% are excreted via the urine, almost exclusively in form of its metabolites, and 30% via the faeces.

History
Carbamazepine was discovered by chemist Walter Schindler at J.R. Geigy AG (now part of Novartis) in Basel, Switzerland, in 1953.  It was first marketed as a  drug to treat epilepsy in Switzerland in 1963 under the brand name "Tegretol"; its use for trigeminal neuralgia (formerly known as tic douloureux) was introduced at the same time. It has been used as an anticonvulsant and antiepileptic in the UK since 1965, and has been approved in the US since 1968.In 1971, Drs. Takezaki and Hanaoka first used carbamazepine to control mania in patients refractory to antipsychotics (lithium was not available in Japan at that time)