In this article
Recoding definitions map source values into text codes using rules. Rules can be of text, integer or range types, and must not overlap.
Recoding definition object defines mapping rules for recoding source value into a set of text codes. A recoding definition consists of one or more recoding rules each mapping input values to a certain output code. All rules in a single recoding definition must be of the same type and no overlap.
The following types of recoding rules are supported:
text → text. Maps a set of input codes to a single code (similar to Reportal variable recoding)
integer → text. Maps a set of integer values to a single code.
range → text. 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