In this article
Recoding definition object maps source values to text codes via one or more rules of the same type, which include text, integer, and range mappings.
The Recoding definition object defines the mapping rules used to recode the source value into a set of text codes. It consists of one or more recoding rules, each mapping input values to a specific output code. All the rules in a single recoding definition must be of the same type and not overlap.
The following types of recoding rules are supported:
text → text - This type maps a set of input codes to a single code (similar to Reportal variable recoding).
integer → text - This type maps a set of integer values to a single code.
range → text - This type maps a range (numeric or date/time) to a single code. All ranges in a recoding definition must be of the same type.
Possible range types are:
open - both boundaries are not included.
left-open - left boundary is not included.
right-open - right boundary is not included.
closed - both boundaries are included.