public class EncounterSearchCriteria extends Object
EncounterSearchCriteriaBuilder
.EncounterSearchCriteriaBuilder
Constructor and Description |
---|
EncounterSearchCriteria(Patient patient,
Location location,
Date fromDate,
Date toDate,
Date dateChanged,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<Provider> providers,
Collection<VisitType> visitTypes,
Collection<Visit> visits,
boolean includeVoided)
Instead of calling this constructor directly, it is recommended to use
EncounterSearchCriteriaBuilder . |
Modifier and Type | Method and Description |
---|---|
Date |
getDateChanged() |
Collection<EncounterType> |
getEncounterTypes() |
Collection<Form> |
getEnteredViaForms() |
Date |
getFromDate() |
boolean |
getIncludeVoided() |
Location |
getLocation() |
Patient |
getPatient() |
Collection<Provider> |
getProviders() |
Date |
getToDate() |
Collection<Visit> |
getVisits() |
Collection<VisitType> |
getVisitTypes() |
public EncounterSearchCriteria(Patient patient, Location location, Date fromDate, Date toDate, Date dateChanged, Collection<Form> enteredViaForms, Collection<EncounterType> encounterTypes, Collection<Provider> providers, Collection<VisitType> visitTypes, Collection<Visit> visits, boolean includeVoided)
EncounterSearchCriteriaBuilder
.patient
- the patient the encounter is forlocation
- the location this encounter took placefromDate
- the minimum date (inclusive) the encounter took placetoDate
- the maximum date (exclusive) the encounter took placedateChanged
- the minimum date the encounter was changedenteredViaForms
- the form that entered this encounter must be in this collectionencounterTypes
- the type of the encounter must be in this collectionproviders
- the provider of the encounter must be in this collectionvisitTypes
- the visit types of the encounter must be in this collectionvisits
- the visits of the encounter must be in this collectionincludeVoided
- whether to include the voided encounters or notpublic Patient getPatient()
public Location getLocation()
public Date getFromDate()
public Date getToDate()
public Date getDateChanged()
public Collection<Form> getEnteredViaForms()
public Collection<EncounterType> getEncounterTypes()
public Collection<Provider> getProviders()
public Collection<VisitType> getVisitTypes()
public Collection<Visit> getVisits()
public boolean getIncludeVoided()
Copyright © 2024 OpenMRS Inc.. All rights reserved.