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 Magnesium deficiency is cause by- and explain in detail?
Excessive losses INADEQUATE INTAKE Starvation Malnutrition (esp. alcoholism) Parenteral alimentation GI- Prolonged vomiting/nasogastric aspiration Chronic diarrhoea/laxative abuse Malabsorption Small bowel bypass surgery Fistulae URINARY- Diuretic therapy (loop, thiazide) Alcohol Tubulotoxic drugs (gentamicin, cisplatin) Volume expansion (e.g. primary hyperaldosteronism) Diabetic ketoacidosis Post-obstructive diuresis Recovery from acute tubular necrosis Inherited tubular transpo defect (Bater's syndrome, Gitelman's syndrome Primary renal magnesium wasting) MISCELLANEOUS-Acute pancreatitis Foscarnet therapy Proton pump inhibitor therapy (prolonged) Hungry bone syndrome Diabetes mellitus. DAVIDSONS PRINCIPLES OF PRACTICAL MEDICINE 22ND EDITION PAGE NO-448