II. Rationale for testing in ED Testing in the ED has several potential advantages. It leads to shorter hospital stays, increases the number of newly diagnosed patients with HIV who are discharged from the hospital aware of their HIV status, and improved entry into outpatient care for patients admitted at the time of their initial HIV diagnosis. Another advantage of HIV testing in the ED is the ability to link newly diagnosed patients to an HIV clinician.