Package org.openmrs.api

Examples of org.openmrs.api.PersonService


      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));
      }
View Full Code Here

TOP

Related Classes of org.openmrs.api.PersonService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.