calculator - the calculator type, list of types can be found in next section
output_signal_type - string type of output signal. For example "T(i),V(f)" to generate signal with 1 time channel of type int and 1 value channel of type float. This is the default
max_time_search_range -integer that specify what is the maximal time gap to construct the virtual signal based on all signals. The date of the new signal will be the latest date.
signals_time_unit - the time unit to use in max_time_search_range (default Days)
names - the name of the virtual signal
time_channel - integer that specify which time channel to use in all input signals (default 0)
work_channel - integer that specify which value channel to use in all input signals (default 0). (If signal has less channels, will use last channel. not common usage)
calculator_init_params - additional arguments string based on "calculator" parameter. since it's can be multiple arguments, you need to escape the string with "{}" and put arguments inside of brackets as in the examples.
sum - linear combination of multiple signals res := b0 + sum_sigma(i=1..N){ factor[i] * input[i]}, where b0 is a bias
calculator_init_params - can receive "b0" - to specify constant bias argument + "factors" which is comma separated numbers that correspond each input signal (default is list of ones)
log - calculates log on signal
ratio - divides signals, accepts "factor" as final factor after dividing (default 1),. res := factor * V1^power_mone / V2^power_base
calculator_init_params - "power_mone", "power_base" which default value is 1, and "factor" which the default is also 1
multiply -multiply of signals. res := b0 * pie_multiply(i=1..N) {input[i]^powers[i]}
calculator_init_params "b0" and "powers" which is comma separated numbers that correspond each input signal (default is list of ones)
kfre - Implements calculation of 3,4 or 8-variable Kidney Failure Risk Equations (KFRE).
The code can be found under
Libs/Internal/MedProcessTools/MedProcessTools/RepProcess.h
Libs/Internal/MedProcessTools/MedProcessTools/RepProcess.cpp
empty - dummy virtual signal to create empty signal
exists - res := in_range_val if signal exists otherwise out_range_val
range - A simple Range check that return "in_range_val" if within range and returns "out_range_val" if outside range. Accepts also "min_range", "max_range"
#Flow with rep_processors: pids arg can be omitted to print all pidsFlow--rep/home/Repositories/MIMIC/Mimic3/mimic3.repository--model_rep_processors$MR_ROOT/Projects/Resources/examples/rep_processor_calc.json--pids_sigs_print--sigs"PaO2_over_FiO2,Art_PaO2,FiO2"--pids100000027pidsignal_namedescription_namedescription_value...
100000027PaO2_over_FiO2Time_ch_0142142154|21700404-19:54Val_ch_0147100000027PaO2_over_FiO2Time_ch_0142142160|21700404-20:00Val_ch_0210100000027PaO2_over_FiO2Time_ch_0142142997|21700405-09:57Val_ch_0134100000027PaO2_over_FiO2Time_ch_0142143060|21700405-11:00Val_ch_067100000027PaO2_over_FiO2Time_ch_0142143120|21700405-12:00Val_ch_067100000027PaO2_over_FiO2Time_ch_0142143134|21700405-12:14Val_ch_057100000027PaO2_over_FiO2Time_ch_0142143180|21700405-13:00Val_ch_057100000027PaO2_over_FiO2Time_ch_0142144290|21700406-07:30Val_ch_074100000027PaO2_over_FiO2Time_ch_0142144335|21700406-08:15Val_ch_080100000027PaO2_over_FiO2Time_ch_0142146240|21700407-16:00Val_ch_098.5714
100000027Art_PaO2Time_ch_0142142154|21700404-19:54Time_ch_1142142154|21700404-19:54Val_ch_0147100000027Art_PaO2Time_ch_0142142599|21700405-03:19Time_ch_1142142599|21700405-03:19Val_ch_089100000027Art_PaO2Time_ch_0142142997|21700405-09:57Time_ch_1142142997|21700405-09:57Val_ch_067100000027Art_PaO2Time_ch_0142143134|21700405-12:14Time_ch_1142143134|21700405-12:14Val_ch_057100000027Art_PaO2Time_ch_0142143846|21700406-00:06Time_ch_1142143846|21700406-00:06Val_ch_052100000027Art_PaO2Time_ch_0142143900|21700406-01:00Time_ch_1142143900|21700406-01:00Val_ch_057100000027Art_PaO2Time_ch_0142144007|21700406-02:47Time_ch_1142144007|21700406-02:47Val_ch_063100000027Art_PaO2Time_ch_0142144148|21700406-05:08Time_ch_1142144148|21700406-05:08Val_ch_074100000027Art_PaO2Time_ch_0142144335|21700406-08:15Time_ch_1142144335|21700406-08:15Val_ch_080100000027Art_PaO2Time_ch_0142145347|21700407-01:07Time_ch_1142145347|21700407-01:07Val_ch_086100000027Art_PaO2Time_ch_0142146228|21700407-15:48Time_ch_1142146228|21700407-15:48Val_ch_069100000027Art_PaO2Time_ch_0142146662|21700407-23:02Time_ch_1142146662|21700407-23:02Val_ch_071100000027Art_PaO2Time_ch_0142147017|21700408-04:57Time_ch_1142147017|21700408-04:57Val_ch_089100000027Art_PaO2Time_ch_0142148289|21700409-02:09Time_ch_1142148289|21700409-02:09Val_ch_064100000027FiO2Time_ch_0142142085|21700404-18:45Time_ch_1142142085|21700404-18:45Val_ch_0100100000027FiO2Time_ch_0142142100|21700404-19:00Time_ch_1142142100|21700404-19:00Val_ch_0100100000027FiO2Time_ch_0142142148|21700404-19:48Time_ch_1142142148|21700404-19:48Val_ch_0100100000027FiO2Time_ch_0142142160|21700404-20:00Time_ch_1142142160|21700404-20:00Val_ch_070100000027FiO2Time_ch_0142142340|21700404-23:00Time_ch_1142142340|21700404-23:00Val_ch_050100000027FiO2Time_ch_0142142400|21700405-00:00Time_ch_1142142400|21700405-00:00Val_ch_050100000027FiO2Time_ch_0142142820|21700405-07:00Time_ch_1142142820|21700405-07:00Val_ch_050100000027FiO2Time_ch_0142142850|21700405-07:30Time_ch_1142142850|21700405-07:30Val_ch_050100000027FiO2Time_ch_0142143060|21700405-11:00Time_ch_1142143060|21700405-11:00Val_ch_0100100000027FiO2Time_ch_0142143120|21700405-12:00Time_ch_1142143120|21700405-12:00Val_ch_0100100000027FiO2Time_ch_0142143180|21700405-13:00Time_ch_1142143180|21700405-13:00Val_ch_0100100000027FiO2Time_ch_0142143360|21700405-16:00Time_ch_1142143360|21700405-16:00Val_ch_0100100000027FiO2Time_ch_0142143435|21700405-17:15Time_ch_1142143435|21700405-17:15Val_ch_0100100000027FiO2Time_ch_0142144290|21700406-07:30Time_ch_1142144290|21700406-07:30Val_ch_0100100000027FiO2Time_ch_0142144560|21700406-12:00Time_ch_1142144560|21700406-12:00Val_ch_0100100000027FiO2Time_ch_0142144800|21700406-16:00Time_ch_1142144800|21700406-16:00Val_ch_070100000027FiO2Time_ch_0142146000|21700407-12:00Time_ch_1142146000|21700407-12:00Val_ch_070100000027FiO2Time_ch_0142146240|21700407-16:00Time_ch_1142146240|21700407-16:00Val_ch_070