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 A patient with diabetic gastroparesis was given erythromycin because of the following propey: and explain in detail?
The effects of motilin can be mimicked by erythromycin. It induces phase III migrating motor complex activity and increases smooth muscle contractility. It has multiple effects on upper GI motility, increasing lower esophageal pressure and stimulating gastric and small-bowel contractility. It is a prokinetic agent is in patients with diabetic gastroparesis, where it can improve gastric emptying in the sho term. Ref: Sharkey K.A., Wallace J.L. (2011). Chapter 46. Treatment of Disorders of Bowel Motility and Water Flux; Anti-Emetics; Agents Used in Biliary and Pancreatic Disease. In L.L. Brunton, B.A. Chabner, B.C. Knollmann (Eds), Goodman & Gilman's The Pharmacological Basis of Therapeutics, 12e.