Staff at Sentara Princess Anne Hospital's ambulatory screening area waits to examine people concerned that they may have contracted the coronavirus in Virginia Beach on Monday. (Stephen M. Katz/AP)

As the number of Washington-area residents testing positive for the novel coronavirus climbs, hospitals are racing to enact a two-pronged strategy — expand testing capability and free up beds — in preparation for what could be a months-long response to the global pandemic.

Montgomery County hospitals are installing treatment and triage tents. Kaiser Permanente set up five drive-through testing sites in Maryland and Virginia for patients who have a prescription, and Virginia Hospital Center in Arlington and a health-care system in Hampton Roads, Va., are testing people via drive-through if they meet certain criteria.