Medical clearance usually requires one or two visits to the office.
These are usually the following: Communicable disease of public health significance; Lacking required vaccinations; Physical or mental disorders with harmful behavior; and Drug abuse or addiction.
A medical clearance is generally valid for two years.
You may still be eligible for adjustment of status if you apply to the USCIS for a waiver and are granted one