| Package | Description | 
|---|---|
| org.openmrs.logic | 
 The OpenMRS Logic Service provides access to granular and derived
data. 
 | 
| org.openmrs.logic.result | 
| Modifier and Type | Method and Description | 
|---|---|
Result.Datatype | 
Rule.getDefaultDatatype()
Gets the default datatype that the rule returns, when supplied with a given token. 
 | 
Result.Datatype | 
LogicService.getDefaultDatatype(java.lang.String token)
Fetches the default datatype this token will return when fed to an eval() call. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Result.Datatype | 
Result.getDatatype()
Returns the datatype of the result. 
 | 
static Result.Datatype | 
Result.Datatype.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static Result.Datatype[] | 
Result.Datatype.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Result.setDatatype(Result.Datatype datatype)
Changes the default datatype of the result 
 | 
| Constructor and Description | 
|---|
Result(java.util.Date resultDate,
      Result.Datatype datatype,
      java.lang.Boolean valueBoolean,
      Concept valueCoded,
      java.util.Date valueDatetime,
      java.lang.Double valueNumeric,
      java.lang.String valueText,
      java.lang.Object object)
Builds a result date with specific (overloaded) values — i.e., instead of simply
 accepting the default translation of one datatype into another (e.g., a date translated
 automatically into string format), this contructor allows the various datatype
 representations of the result to be individually controlled. 
 | 
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.