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 Bromocriptine and explain in detail?
Bromocriptine, originally marketed as Parlodel and subsequently under many brand names, is an ergoline derivative and dopamine agonist that is used in the treatment of pituitary tumors, Parkinsons disease, hyperprolactinaemia, neuroleptic malignant syndrome, and, as an adjunct, type 2 diabetes.
It was patented in 1968 and approved for medical use in 1975.

Medical uses
Bromocriptine is used to treat acromegaly and conditions associated with hyperprolactinemia like amenorrhea, infertility, hypogonadism, and prolactin-secreting adenomas. It is also used to prevent ovarian hyperstimulation syndrome and to treat Parkinsons disease.Since the late 1980s it has been used, off-label, to reduce the symptoms of cocaine withdrawal but the evidence for this use is poor.A quick-release formulation of bromocriptine, Cycloset, is also used to treat type 2 diabetes. When administered within 2 hours of awakening, it increases hypothalamic dopamine level and as a result decreases hepatic glucose production. It therefore acts as an adjunct to diet and exercise to improve glycemic control.

Side effects
Most frequent side effects are nausea, orthostatic hypotension, headaches, and vomiting through stimulation of the brainstem vomiting centre