personList.add(PersonListItem.createBestMatch(p));
personId.add(p.getId());
}
// now we check for persons (that won't be brought back by the patient search)
PersonService ps = Context.getPersonService();
for (Person p : ps.getPeople(searchPhrase, null)) {
if(!personId.contains(p.getId()))
{
personList.add(PersonListItem.createBestMatch(p));
}