1Enable all current treatments and display option buttons by default(if 1==1, performActions: [acei_arb_target]->enable, [arni]->enable, [prev_bblocker]->enable, [mra]->enable, [sglt2i]->enable, [individualize_button]->enable, [population_button]->enable, [no_numbers_button]->enable)
2Display "show" by default(if 1==1, showHideTags: show tags: (show))
3Default hides(if 1==1, showHideTags: show tags: (no_warnings) hide tags: (sbp_warning, hr_warning, potassium_warning, egfr_30_warning, egfr_20_warning, special_message, step3_individual, no_number_qol_benefit, big_potassium_warning, low_potassium, emr_population, no_numbers_emr, emr_individual, emr_individual_composite, emr_population_composite, no_numbers_emr_composite, show_pop_mortality_treat))
4Enable toggles by default(if 1==1, performActions: [toggle_combo]->enable, [toggle_single]->enable, [combo1]->enable, [combo2]->enable, [acei_arb_target]->enable, [combo3]->enable, [arni]->enable)
5Enable all treatments by default(if 1==1, performActions: [tx_acei_low]->enable, [tx_acei_target]->enable, [tx_arni]->enable, [tx_bb]->enable, [tx_mra]->enable, [tx_sglt2i]->enable)
6Already taking high ACEI/ARB(if ([acei_arb_target]=="1"), performActions: [tx_acei_low]->disable, [tx_acei_target]->disableAlreadyTaking)
7Already taking ARNI(if ([arni]=="1"), performActions: [tx_acei_low]->disable, [tx_acei_target]->disable, [tx_arni]->disableAlreadyTaking)
8Select target then disable arni(if [tx_acei_target]==1, performActions: [tx_arni]->disable)
9Select arni then disable acei/arb(if [tx_arni]==1, performActions: [tx_acei_target]->disable)
10Already taking beta-blocker(if [prev_bblocker]==1, performActions: [tx_bb]->disableAlreadyTaking)
11Already taking MRA(if [mra]==1, performActions: [tx_mra]->disableAlreadyTaking)
12Already taking sglt2i(if [sglt2i]==1, performActions: [tx_sglt2i]->disableAlreadyTaking)
13Show life-years gained by default(if 1==1, showHideTags: show tags: (gained))
14Hide life-years gained conditionally(if [treatment_hr_death]==1 ||
[calc_age_50_pct]>85, showHideTags: hide tags: (gained))
15Show combo(if [toggle_combo]==1, showHideTags: show tags: (combo) hide tags: (medication))
16Show medications(if [toggle_single]==1, showHideTags: show tags: (medication) hide tags: (combo))
17Hide combos if not selected(if [toggle_combo]==0, showHideTags: hide tags: (combo))
18Hide medication if not selected(if [toggle_single]==0, showHideTags: hide tags: (medication))
19Disable single if combo selected(if [toggle_combo]==1, performActions: [toggle_single]->disable)
20Disable combo if medication selected(if [toggle_single]==1, performActions: [toggle_combo]->disable)
21If combo1 disable combo2/3(if [combo1]==1, performActions: [combo2]->disable, [combo3]->disable)
22If combo2 disable combo1/3(if [combo2]==1, performActions: [combo1]->disable, [combo3]->disable)
23If combo3 disable combo 1/2(if [combo3]==1, performActions: [combo1]->disable, [combo2]->disable)
24Show death / composite by default(if 1==1, showHideTags: show tags: (composite, death))
25Hide composite if death selected(if ([toggle_death_composite]==0), showHideTags: hide tags: (composite))
26Hide death if composite selected(if ([toggle_death_composite]==1), showHideTags: hide tags: (death))
27Disable combo if not selected(if [toggle_combo]==0, performActions: [combo1]->disable, [combo2]->disable)
28Disable single ,edocatopms if not selected(if [toggle_single]==0, performActions: [tx_acei_low]->disable, [tx_acei_target]->disable, [tx_arni]->disable, [tx_bb]->disable, [tx_mra]->disable, [tx_mra]->disable)
29Default show step4(if 1==1, showHideTags: show tags: (step4))
30Hide step 4 if no option selected(if ([toggle_combo]==0) && ([toggle_single]==0), showHideTags: hide tags: (step4))
31Disable combos when not selected(if [toggle_combo]==0, performActions: [combo1]->disable, [combo2]->disable, [combo3]->disable)
32Disable individual options when not selected(if [toggle_single]==0, performActions: [tx_acei_low]->disable, [tx_acei_target]->disable, [tx_arni]->disable, [tx_bb]->disable, [tx_ivabradine]->disable, [tx_mra]->disable, [tx_sglt2i]->disable)
33Disable fancy drugs when not selected(if [toggle_fancy]==0, performActions: )
34Hide (if 1==1, showHideTags: hide tags: (hide))
35ACEI target disable others(if [acei_arb_target]==1, performActions: [arni]->disable)
36ARNI disable others(if [arni]==1, performActions: [acei_arb_below_target]->disable, [acei_arb_target]->disable)
37Disable combos 1 and 2 if ARNI taken(if [arni]==1, performActions: [combo1]->disable, [combo2]->disable)
38Disable combo1 if components taken(if [acei_arb_target]==1 && [mra]==1 && [prev_bblocker]==1, performActions: [combo1]->disableAlreadyTaking)
39Disable combo2 if components taken(if [acei_arb_target]==1 && [mra]==1 && [prev_bblocker]==1 && [sglt2i]==1, performActions: [combo2]->disableAlreadyTaking)
40Disable combo3 if components taken(if [arni]==1 && [mra]==1 && [prev_bblocker]==1 && [sglt2i]==1, performActions: [combo3]->disableAlreadyTaking)
41Show sbp warning(if [sbp]<=100, showHideTags: show tags: (sbp_warning) hide tags: (no_warnings))
42Show hr warning(if [hr]<55, showHideTags: show tags: (hr_warning) hide tags: (no_warnings))
43Show potassium warning(if ([potassium]>5) && ([potassium]<=5.5) && ((parseFloat([arni]) + parseFloat([mra]))<2), showHideTags: show tags: (potassium_warning) hide tags: (no_warnings))
44Show egfr<30 warning(if ([egfr]<30) && ([egfr]>=20), showHideTags: show tags: (egfr_30_warning) hide tags: (no_warnings))
45Show egfr<20 warning(if [egfr]<20, showHideTags: show tags: (egfr_20_warning) hide tags: (no_warnings))
46Show no treat death(if ((
parseFloat([combo1]) +
parseFloat([combo2]) +
parseFloat([combo3]) +
parseFloat([tx_acei_target]) +
parseFloat([tx_arni]) +
parseFloat([tx_bb]) +
parseFloat([tx_mra]) +
parseFloat([tx_sglt2i])
)==0)
&&
([select_outcome]==0), showHideTags: show tags: (no_treat_death, no_treat) hide tags: (treat_death, no_treat_composite, treat_composite, treat))
47Show treat death(if ((
parseFloat([combo1]) +
parseFloat([combo2]) +
parseFloat([combo3]) +
parseFloat([tx_acei_target]) +
parseFloat([tx_arni]) +
parseFloat([tx_bb]) +
parseFloat([tx_mra]) +
parseFloat([tx_sglt2i])
)>0)
&&
([select_outcome]==0), showHideTags: show tags: (treat_death, treat) hide tags: (no_treat_death, no_treat_composite, treat_composite, no_treat))
48Show no treat composite(if ((
parseFloat([combo1]) +
parseFloat([combo2]) +
parseFloat([combo3]) +
parseFloat([tx_acei_target]) +
parseFloat([tx_arni]) +
parseFloat([tx_bb]) +
parseFloat([tx_mra]) +
parseFloat([tx_sglt2i])
)==0)
&&
([select_outcome]==1), showHideTags: show tags: (no_treat_composite, no_treat) hide tags: (treat_composite, treat_death, no_treat_death, treat))
49Show treat composite(if ((
parseFloat([combo1]) +
parseFloat([combo2]) +
parseFloat([combo3]) +
parseFloat([tx_acei_target]) +
parseFloat([tx_arni]) +
parseFloat([tx_bb]) +
parseFloat([tx_mra]) +
parseFloat([tx_sglt2i])
)>0)
&&
([select_outcome]==1), showHideTags: show tags: (treat_composite, treat) hide tags: (no_treat_composite, treat_death, no_treat_death, no_treat))
50Hide individualized estimates(if parseFloat([display_option]) !== 0, showHideTags: hide tags: (individual))
51Hide population estimates(if parseFloat([display_option]) !== 1, showHideTags: hide tags: (population))
52Disable current HF medications if not individualized(if parseFloat([display_option]) !== 0, performActions: [acei_arb_target]->disable, [arni]->disable, [prev_bblocker]->disable, [mra]->disable, [sglt2i]->disable)
53Hide if individualized(if parseFloat([display_option]) == 0, showHideTags: hide tags: (hide_individualized))
54Individual - disable other buttons(if [display_option]==0, performActions: [population_button]->disable, [no_numbers_button]->disable)
55Population - disable other buttons(if [population_button]==1, performActions: [individualize_button]->disable, [no_numbers_button]->disable)
56Special message(if [sbp]<=100 ||
[hr]<55 ||
([potassium]>5 && ((parseFloat([arni]) + parseFloat([mra]))<2)) ||
[potassium]>5.5 ||
[potassium]<3.5 ||
([egfr]<30), showHideTags: show tags: (special_message))
57Show step3 if individualized(if [display_option]==0, showHideTags: show tags: (step3_individual))
58Show potassium>5.5 warning(if [potassium]>5.5, showHideTags: show tags: (big_potassium_warning) hide tags: (no_warnings))
59Show low potassium message(if [potassium]<3.5, showHideTags: show tags: (low_potassium) hide tags: (no_warnings))
60Show EMR population(if [display_option]==1, showHideTags: show tags: (emr_population))
61Show individual EMR(if [display_option]==0, showHideTags: show tags: (emr_individual))
62EMR Population - Composite(if ([select_outcome]==1)
&&
([display_option]==1), showHideTags: show tags: (emr_population_composite) hide tags: (emr_population))
63EMR Individual composite(if ([select_outcome]==1)
&&
([display_option]==0), showHideTags: show tags: (emr_individual_composite) hide tags: (emr_individual))