public class PatientSearchCriteria extends Object
| Constructor and Description |
|---|
PatientSearchCriteria(org.hibernate.SessionFactory sessionFactory,
org.hibernate.Criteria criteria) |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.Criteria |
prepareCriteria(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
boolean orderByNames,
boolean searchOnNamesOrIdentifiers)
Prepare a hibernate criteria using the patient identifier.
|
public PatientSearchCriteria(org.hibernate.SessionFactory sessionFactory,
org.hibernate.Criteria criteria)
sessionFactory - criteria - public org.hibernate.Criteria prepareCriteria(String name, String identifier, List<PatientIdentifierType> identifierTypes, boolean matchIdentifierExactly, boolean orderByNames, boolean searchOnNamesOrIdentifiers)
name - identifier - identifierTypes - matchIdentifierExactly - searchOnNamesOrIdentifiers - specifies if the logic should find patients that match the
name or identifier otherwise find patients that match both the name and identifierCriteriaCopyright © 2018 OpenMRS LLC.. All Rights Reserved.