public class MedicationDispenseCriteriaBuilder extends Object
MedicationDispenseCriteria
. Create a builder, set
its properties to desired values and finally call build()
to create the actual search criteria instance.MedicationDispenseCriteria
Constructor and Description |
---|
MedicationDispenseCriteriaBuilder() |
Modifier and Type | Method and Description |
---|---|
MedicationDispenseCriteria |
build() |
MedicationDispenseCriteriaBuilder |
setDrugOrder(DrugOrder drugOrder) |
MedicationDispenseCriteriaBuilder |
setEncounter(Encounter encounter) |
MedicationDispenseCriteriaBuilder |
setIncludeVoided(boolean includeVoided) |
MedicationDispenseCriteriaBuilder |
setPatient(Patient patient) |
public MedicationDispenseCriteriaBuilder setPatient(Patient patient)
public MedicationDispenseCriteriaBuilder setEncounter(Encounter encounter)
public MedicationDispenseCriteriaBuilder setDrugOrder(DrugOrder drugOrder)
public MedicationDispenseCriteriaBuilder setIncludeVoided(boolean includeVoided)
public MedicationDispenseCriteria build()
Copyright © 2024 OpenMRS Inc.. All rights reserved.