Package | Description |
---|---|
org.openmrs.logic.op |
Modifier and Type | Class and Description |
---|---|
class |
And
The And operator is a conjunction operator to combine two or more
LogicCriteria objects.Example: - logicService.parse("'CD4 COUNT'").and(logicService.parse("'WEIGHT (KG)'")); The above will give us a criteria to check if there's "CD4 COUNT" and "WEIGHT (KG)" observations |
class |
Not
The Not operator will negate the a logic expression
|
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 |
Modifier and Type | Field and Description |
---|---|
static LogicalOperator |
LogicalOperator.AND |
static LogicalOperator |
LogicalOperator.NOT |
static LogicalOperator |
LogicalOperator.OR |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.