The B-2 visa is the standard U.S. visitor visa used not only for tourism and family visits, but also for temporary medical treatment in the United States. If your primary reason for travel is to receive medical care in the U.S., this is the visa category you must usually apply for, provided the treatment is temporary and you intend to return home afterward.
This visa is not a shortcut to long-term residence or routine elective care. U.S. consular officers expect you to prove that your trip has a clear medical purpose, that the treatment is time-limited, and that you have the financial ability to pay for the entire stay without becoming a public burden.