The problem here is even if you let the passengers off...the new passengers would arrive, and one or two of the crew would just pass it onto the new group.
The doctors and the nurse are in close contact with the patients get to come and go off the ship. Somehow medical personnel always get passes to spread diseases.