referral centres dialog doesn't baulk with empty database
added code so that find patient works easier when database has very few patients