R/primary-coding-suep.R
detect_symptom_complex.Rd
Calculate symptom complex for Post Covid Syndrome Score (PCSS) calculation
detect_symptom_complex(
symptom_names,
vector_of_pcss_fup_visits,
days_of_pcss_time_diff,
sy_time_to_visit,
sy_extracted_name_parent,
sy_parent,
symptom_update_visit,
symptom_update_visit.date,
sy_end_applicable,
visit_date.date,
sy_end_min.date,
sy_end_max.date,
sy_dur_min,
sy_dur_max
)
A vector with names of needed symptoms
A vector with labels of desired visit
A vector with number of days of minimum symptom duration
A vector with number of days between symptom start date and visit date
A vector with parent form table name for needed symptoms
A vector for symptom parent question /w levels "Ja" and "Nein" indicating whether the parent question has been answered with "yes" or "no"
A vector indication the visit at which symptoms were updated last
A vector indication the date at which symptoms were updated last
A vector indicating whether the end date of symptom duration is applicable for time span calculation
A vector with visit date
A vector with calculated minimum date of symptom end
A vector with calculated maximum date of symptom end
A vector indicating the minimum number of days of symptom duration
A vector indicating the maximum number of days of symptom duration