use of org.openmrs.module.reporting.cohort.definition.PersonAttributeCohortDefinition in project openmrs-module-pihcore by PIH.
the class PihCohortDefinitionLibrary method getTestPatients.
@DocumentedDefinition(value = "testPatients")
public CohortDefinition getTestPatients() {
PersonAttributeCohortDefinition test = new PersonAttributeCohortDefinition();
test.setAttributeType(emrApiProperties.getTestPatientPersonAttributeType());
// the method add value has a bug, using set values for now
test.setValues(Arrays.asList("true"));
return test;
}
Aggregations