AI in Medicine: Transforming Patient Care and Medical Education