fixed workflow for patients from other facilities