for each symptom-row in long data, apply corresponding the detect_symptom_complex and summarise long symptom data frame by PCSS symptom complex returns a dataframe with one row per pid containing the results of PCS Score

calculate_pcs_score_hap(ecu_symptom_complex)

Arguments

ecu_symptom_complex

A dataframe containing symptom complexes

Value

A dataframe containing PCS-Score