1#ifndef __REP_FILTER_BY_OTHER_SIGNAL
2#define __REP_FILTER_BY_OTHER_SIGNAL
13 vector<char> lut_censor;
28 int init(map<string, string> &mapper);
36 int _apply(
PidDynamicRec &rec, vector<int> &time_points, vector<vector<float>> &attributes_mat);
48 int v_out_n_vals, v_out_n_times;
RepProcessor is the parent class for processing a MedRepository or PidDynamicRec Basic functionalitie...
@ REP_PROCESS_FILTER_BY_DIAG
"filter_by_diag". Creates RepClearSignalByDiag
Definition RepProcess.h:43
#define ADD_SERIALIZATION_FUNCS(...)
Definition SerializableObject.h:122
#define MEDSERIALIZE_SUPPORT(Type)
Definition SerializableObject.h:108
Definition MedDictionary.h:87
Definition MedSignals.h:719
Definition MedPidRepository.h:127
Filter signal by diag removing signals from dates were existing diag (other, not relevant to outcome)...
Definition RepClearSignalByDiag.h:11
void set_affected_signal_ids(MedDictionarySections &dict)
Fill aff_signal_ids : parent function just fills from aff_signals.
Definition RepClearSignalByDiag.h:32
int time_window
range in days for diag to delete signal
Definition RepClearSignalByDiag.h:17
int _apply(PidDynamicRec &rec, vector< int > &time_points, vector< vector< float > > &attributes_mat)
apply processing on a single PidDynamicRec at a set of time-points : Should be implemented for all in...
Definition RepClearSignalByDiag.cpp:62
void set_required_signal_ids(MedDictionarySections &dict)
Fill req_signal_ids : parent function just fills from req_signals.
Definition RepClearSignalByDiag.h:31
int max_exclusion
max number of tests to drop
Definition RepClearSignalByDiag.h:18
int init(map< string, string > &mapper)
Definition RepClearSignalByDiag.cpp:8
string signal_name
Hard coded ...
Definition RepClearSignalByDiag.h:16
void init_tables(MedDictionarySections &dict, MedSignals &sigs)
Init required tables : Should be implemented for inheriting classes that have such tables.
Definition RepClearSignalByDiag.cpp:44
vector< string > diag_list
list of diags that drop tests
Definition RepClearSignalByDiag.h:19
Definition RepProcess.h:53
unordered_set< string > aff_signals
names of signals affected by processing
Definition RepProcess.h:61
bool unconditional
indicated that processor should ALWAYS be applied
Definition RepProcess.h:63
unordered_set< string > req_signals
names of signals required for processsing
Definition RepProcess.h:58
RepProcessorTypes processor_type
type of repository processor
Definition RepProcess.h:56
vector< pair< string, int > > virtual_signals
virtual signals are created only in rep processors but can be used by any rep processor that comes af...
Definition RepProcess.h:77