|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.logic.op.Or
public class Or
The Or operator is a disjunction operator to combine two or more LogicCriteria objects.
Example:
- logicService.parse("'CD4 COUNT'").or(logicService.parse("'WEIGHT (KG)'"));
The above will give us a criteria to check if there's "CD4 COUNT" or "WEIGHT (KG)" observations
| Field Summary |
|---|
| Fields inherited from interface org.openmrs.logic.op.LogicalOperator |
|---|
AND, NOT, OR |
| Fields inherited from interface org.openmrs.logic.op.Operator |
|---|
AFTER, ASOF, AVERAGE, BEFORE, CONTAINS, COUNT, DISTINCT, EQUALS, EXISTS, FIRST, GT, GTE, IN, LAST, LT, LTE, NOT_EXISTS, WITHIN |
| Constructor Summary | |
|---|---|
Or()
|
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Or()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
OpenMRS-1.7.x | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||