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(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(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(Date resultDate,
Result.Datatype datatype,
Boolean valueBoolean,
Concept valueCoded,
Date valueDatetime,
Double valueNumeric,
String valueText,
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 LLC.. All Rights Reserved.