Package | Description |
---|---|
org.openmrs.logic |
The OpenMRS Logic Service provides access to granular and derived
data.
|
org.openmrs.logic.datasource |
Logic data sources are responsible for providing data to the logic service engine.
|
org.openmrs.reporting |
Deprecated
|
Modifier and Type | Method and Description |
---|---|
LogicCriteria |
LogicCriteria.after(java.util.Date value)
Add a
In expression to the current LogicCriteria |
LogicCriteria |
LogicCriteria.and(LogicCriteria logicCriteria)
Append the LogicCriteria using the
And operator |
LogicCriteria |
LogicCriteria.appendCriteria(Operator operator,
LogicCriteria logicCriteria)
Append a LogicCriteria with another LogicCriteria using an operator
|
LogicCriteria |
LogicCriteria.appendExpression(Operator operator,
double operand) |
LogicCriteria |
LogicCriteria.appendExpression(Operator operator,
Operand operand)
Create a new LogicExpression using the
operand and operator and
then append them to the current LogicCriteria |
LogicCriteria |
LogicCriteria.appendExpression(Operator operator,
java.lang.String operand) |
LogicCriteria |
LogicCriteria.applyTransform(Operator operator)
Apply a transformation operator to a logic expression
|
LogicCriteria |
LogicCriteria.asOf(java.util.Date value)
Add a
AsOf expression to the current LogicCriteria |
LogicCriteria |
LogicCriteria.average()
Apply the
Average operator to the LogicCriteria |
LogicCriteria |
LogicCriteria.before(java.util.Date value)
Add a
Before expression to the current LogicCriteria |
LogicCriteria |
LogicCriteria.contains(double value) |
LogicCriteria |
LogicCriteria.contains(float value) |
LogicCriteria |
LogicCriteria.contains(int value) |
LogicCriteria |
LogicCriteria.contains(Operand value) |
LogicCriteria |
LogicCriteria.contains(java.lang.String value)
Add a
Contains expression to the current LogicCriteria |
LogicCriteria |
LogicCriteria.count()
Apply the
Count operator to the LogicCriteria |
LogicCriteria |
LogicCriteria.distinct()
Apply the
Distinct operator to the LogicCriteria |
LogicCriteria |
LogicCriteria.equalTo(double value) |
LogicCriteria |
LogicCriteria.equalTo(float value) |
LogicCriteria |
LogicCriteria.equalTo(int value) |
LogicCriteria |
LogicCriteria.equalTo(Operand value) |
LogicCriteria |
LogicCriteria.equalTo(java.lang.String value)
Add a
Equals expression to the current LogicCriteria |
LogicCriteria |
LogicCriteria.exists() |
LogicCriteria |
LogicCriteria.first()
Apply the
First operator to the LogicCriteria |
LogicCriteria |
LogicCriteria.first(java.lang.Integer numResults) |
LogicCriteria |
LogicCriteria.first(java.lang.Integer numResults,
java.lang.String sortComponent) |
LogicCriteria |
LogicCriteria.first(java.lang.String sortComponent) |
LogicCriteria |
LogicCriteria.gt(double value)
Add a
GreaterThan expression to the current LogicCriteria |
LogicCriteria |
LogicCriteria.gt(float value) |
LogicCriteria |
LogicCriteria.gt(int value) |
LogicCriteria |
LogicCriteria.gt(Operand value) |
LogicCriteria |
LogicCriteria.gte(double value)
Add a
GreaterThanEquals expression to the current LogicCriteria |
LogicCriteria |
LogicCriteria.gte(float value) |
LogicCriteria |
LogicCriteria.gte(int value) |
LogicCriteria |
LogicCriteria.gte(Operand value) |
LogicCriteria |
LogicCriteria.in(java.util.Collection<?> value)
Add a
After expression to the current LogicCriteria |
LogicCriteria |
LogicCriteria.last()
Apply the
Last operator to the LogicCriteria |
LogicCriteria |
LogicCriteria.last(java.lang.Integer numResults) |
LogicCriteria |
LogicCriteria.lt(double value)
Add a
LessThan expression to the current LogicCriteria |
LogicCriteria |
LogicCriteria.lt(float value) |
LogicCriteria |
LogicCriteria.lt(int value) |
LogicCriteria |
LogicCriteria.lt(Operand value) |
LogicCriteria |
LogicCriteria.lte(double value)
Add a
LessThanEquals expression to the current LogicCriteria |
LogicCriteria |
LogicCriteria.lte(float value) |
LogicCriteria |
LogicCriteria.lte(int value) |
LogicCriteria |
LogicCriteria.lte(Operand value) |
LogicCriteria |
LogicCriteria.not() |
LogicCriteria |
LogicCriteria.notExists() |
LogicCriteria |
LogicCriteria.or(LogicCriteria logicCriteria)
Append the LogicCriteria using the
Or operator |
LogicCriteria |
LogicService.parse(java.lang.String criteria)
Parse a criteria String to create a new LogicCriteria.
|
LogicCriteria |
LogicService.parseString(java.lang.String inStr)
Deprecated.
|
LogicCriteria |
LogicCriteria.within(Duration duration)
Add a duration expression to the current LogicCriteria
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<LogicCriteria,java.util.Map<java.lang.Integer,Result>> |
LogicService.eval(Cohort who,
java.util.List<LogicCriteria> criterias)
Evaluates a collection of queries for a set of patients
|
java.util.Map<LogicCriteria,Result> |
LogicService.eval(java.lang.Integer patientId,
java.util.Map<java.lang.String,java.lang.Object> parameters,
LogicCriteria... criteria)
Evaluates multiple
LogicCriteria for a single patient. |
Modifier and Type | Method and Description |
---|---|
LogicCriteria |
LogicCriteria.and(LogicCriteria logicCriteria)
Append the LogicCriteria using the
And operator |
LogicCriteria |
LogicCriteria.appendCriteria(Operator operator,
LogicCriteria logicCriteria)
Append a LogicCriteria with another LogicCriteria using an operator
|
java.util.Map<java.lang.Integer,Result> |
LogicService.eval(Cohort who,
LogicCriteria criteria)
Evaluates a query over a list of patients
|
java.util.Map<java.lang.Integer,Result> |
LogicService.eval(Cohort who,
LogicCriteria criteria,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Evaluates a query over a list of patients
|
Result |
LogicService.eval(java.lang.Integer patientId,
LogicCriteria criteria)
Evaluates a query for a given patient
|
Result |
LogicService.eval(java.lang.Integer patientId,
LogicCriteria criteria,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Evaluates a query for a given patient
|
Result |
LogicContext.eval(java.lang.Integer patientId,
LogicCriteria criteria,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Evaluate a rule with criteria and parameters for a single patient
|
java.util.Map<LogicCriteria,Result> |
LogicService.eval(java.lang.Integer patientId,
java.util.Map<java.lang.String,java.lang.Object> parameters,
LogicCriteria... criteria)
Evaluates multiple
LogicCriteria for a single patient. |
Result |
LogicService.eval(Patient who,
LogicCriteria criteria)
Deprecated.
|
Result |
LogicService.eval(Patient who,
LogicCriteria criteria,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Deprecated.
|
LogicCriteria |
LogicCriteria.or(LogicCriteria logicCriteria)
Append the LogicCriteria using the
Or operator |
Result |
LogicContext.read(java.lang.Integer patientId,
LogicCriteria criteria)
Reads a key with criteria from a logic data source
|
Result |
LogicContext.read(java.lang.Integer patientId,
LogicDataSource dataSource,
LogicCriteria criteria)
Reads a key with criteria from a logic data source
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<LogicCriteria,java.util.Map<java.lang.Integer,Result>> |
LogicService.eval(Cohort who,
java.util.List<LogicCriteria> criterias)
Evaluates a collection of queries for a set of patients
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,Result> |
LogicDataSource.read(LogicContext context,
Cohort patients,
LogicCriteria criteria)
Extracts data from the data source.
|
Modifier and Type | Method and Description |
---|---|
LogicCriteria |
LogicPatientFilter.getCriteria()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
LogicPatientFilter.setCriteria(LogicCriteria criteria)
Deprecated.
|
Constructor and Description |
---|
LogicPatientFilter(LogicCriteria criteria)
Deprecated.
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.