Internal medicine is the branch of medicine dedicated to the prevention, diagnosis, and treatment of…