A 78-year old man is evaluated in the emergency department for confusion. He is a retiree living in an assisted-living facility. Five weeks ago, he underwent outpatient debridement of a right foot plantar bunion. He ambulates with the assistance of a walker because of poor balance following a cerebral vascular accident. Medical history is also significant for type 2 diabetes mellitus, hypertension, remote smoking history, and amputation of the left great toe because of infection. Medications are insulin, lisinopril, simvastatin, hydrochlorothiazide, and aspirin.

On physical examination, temperature is 38.8 °C (101.8 °F), blood pressure is 106/66 mm Hg, pulse rate is 98/min, and respiration rate is 14/min. BMI is 25. The patient is lethargic and confused. His right foot is edematous and erythematous, with a palpable dorsalis pedis pulse. A 2.5- × 3.1-cm ulceration is located beneath the fifth metatarsal-phalangeal joint with malodorous drainage. Metal probe detects bone. The proximal leg is unremarkable.

Laboratory studies reveal a leukocyte count of 17,400/µL (17.4 × 109/L) with 15% band forms, a serum creatinine level of 1.5 mg/dL (132.6 µmol/L), normal electrolytes, and serum glucose level of 249 mg/dL (13.8 mmol/L).

Plain radiography of the foot reveals edema over the fifth metatarsal-phalangeal joint but no gas or obvious osteoarticular destruction.

Which of the following is the most appropriate management?