A 77-year-old female is admitted to the critical care unit for acute respiratory failure and is on a ventilator for more than 48 hours. Stress ulcer prophylaxis is ordered. This prophylaxis should be continued until

A) venous thromboembolism prophylaxis is stopped
B) the patient is transferred out of the critical care unit
C) the patient is discharged from the hospital
D) the patient is discharged from a skilled care or rehabilitation care facility
E) 30 days after discharge from the hospital