1Show items with fh_hide(if 1==1, showHideTags: show tags: (fh_hide))
2Default hides(if 1==1, showHideTags: show tags: (no_adrs, no_lifestyle) hide tags: (fh_warning, fh_soft_warning, framingham, ascvd, predict, score2, score2op, dm_warning, nz_age, pa, sc, md, hide, adrs, sc_option, diabetes, note_ezetimibe, note_pcsk9i, note_fibrates, prevent, prevent_all))
3Enable all treatments(if 1==1, performActions: [high_statin]->enable, [low_mod_statin]->enable, [ezetimibe]->enable, [PCSK9i]->enable, [smoking_cessation]->enable, [bp_tx]->enable, [fibrates]->enable)
4FH soft warning(if ((parseFloat([total_cholesterol])-parseFloat([HDL]))>=5.8)
&&
((parseFloat([total_cholesterol])-parseFloat([HDL]))<=6.5), showHideTags: show tags: (fh_soft_warning))
5disable all but low mod statin(if [low_mod_statin]==1, performActions: [high_statin]->disable, [ezetimibe]->disable, [PCSK9i]->disable, [fibrates]->disable, [bp_tx]->disable)
6disable all but high statin(if [high_statin]==1, performActions: [low_mod_statin]->disable, [ezetimibe]->disable, [PCSK9i]->disable, [bp_tx]->disable, [fibrates]->disable)
7disable all but ezetimibe(if [ezetimibe]==1, performActions: [low_mod_statin]->disable, [high_statin]->disable, [PCSK9i]->disable, [bp_tx]->disable, [fibrates]->disable)
8disable all but pcsk9i(if [PCSK9i]==1, performActions: [low_mod_statin]->disable, [high_statin]->disable, [ezetimibe]->disable, [bp_tx]->disable, [fibrates]->disable)
9Show framingham(if [primary_select]==0, showHideTags: show tags: (framingham))
10Show predict(if [primary_select]==2, showHideTags: show tags: (predict))
11Show score2(if [primary_select]==3, showHideTags: show tags: (score2, score2op))
12Enable smoking cessation if smoker(if (([smoker]==1) && !(([primary_select]==2)))
||
(([predict_smoker]==2) && ([primary_select]==2)), performActions: [smoking_cessation]->enable)
13Disable smoking if neither condition met(if !((([smoker]==1) && !(([primary_select]==2)))
||
(([predict_smoker]==2) && ([primary_select]==2))), performActions: [smoking_cessation]->disable)
14Diabetes validation warning(if ([primary_select]==3) &&
([age]<70) &&
([diabetes]==1), showHideTags: show tags: (dm_warning))
15NZ age hide(if ([age]>75) && ([primary_select]==2), showHideTags: show tags: (nz_age))
16Show diet resource(if [mediterranean_diet]==1, showHideTags: show tags: (md))
17Show smoking resource(if ([smoking_cessation]==1) &&
([primary_select]==0), showHideTags: show tags: (sc))
18Show physical activity resource(if [physical_activity]==1, showHideTags: show tags: (pa))
19Show ADRs(if ([low_mod_statin]+[high_statin]+[ezetimibe]+[PCSK9i]+[fibrates]+[bp_tx])>0, showHideTags: show tags: (adrs) hide tags: (no_adrs))
20Show smoking cessation if smoker(if (([smoker]==1) && !(([primary_select]==2)))
||
(([predict_smoker]==2) && ([primary_select]==2)), showHideTags: show tags: (sc_option))
21Hide "no lifestyle options"(if ([mediterranean_diet]==1)
||
([physical_activity]==1)
||
([smoking_cessation]==1), showHideTags: hide tags: (no_lifestyle))
22Show diabetes DA link(if [diabetes]==1, showHideTags: show tags: (diabetes))
23disable all but fibrates(if [fibrates]==1, performActions: [bp_tx]->disable, [high_statin]->disable, [low_mod_statin]->disable, [ezetimibe]->disable, [PCSK9i]->disable)
24disable all but bp(if [bp_tx]==1, performActions: [ezetimibe]->disable, [PCSK9i]->disable, [fibrates]->disable, [high_statin]->disable, [low_mod_statin]->disable)
25If SBP<130 then disable htn tx(if [SBP]<130, performActions: [bp_tx]->disable)
26Show prevent all variables(if (parseFloat([prevent_model])==1) && (parseFloat([primary_select])==1), showHideTags: show tags: (prevent_all))
27Disable ACR(if [acr_missing]==1, performActions: [acr]->disable)
28Disable hemoglobin A1c(if [a1c_missing]==1, performActions: [a1c]->disable)
29Disable statin if already on statin(if ([primary_select]==1) && ([on_statin]==1), performActions: [low_mod_statin]->disableAlreadyTaking, [high_statin]->disableAlreadyTaking)
30Ezetimibe warning(if [ezetimibe]==1, showHideTags: show tags: (note_ezetimibe))
31PCSK9i warning(if [PCSK9i]==1, showHideTags: show tags: (note_pcsk9i))
32Fibrate warning(if [fibrates]==1, showHideTags: show tags: (note_fibrates))
33Re-enable acr and a1c(if 1==1, performActions: [acr]->enable, [a1c]->enable)
34Show PREVENT(if parseFloat([primary_select])==1, showHideTags: show tags: (prevent))
35Show ASCVD(if [primary_select]==4, showHideTags: show tags: (ascvd))
36FH warning(if (parseFloat([total_cholesterol])-parseFloat([HDL]))>6.5, showHideTags: show tags: (fh_warning) hide tags: (fh_soft_warning, fh_hide))
37Show your risk and hide with treatment by default(if 1==1, showHideTags: show tags: (no_treatment_selected) hide tags: (treatment_selected))
38Hide your risk and show with treatment if treatment selected(if [mediterranean_diet]==1 ||
[physical_activity]==1 ||
[smoking_cessation]==1 ||
[low_mod_statin]==1 ||
[high_statin]==1 ||
[bp_tx]==1 ||
[ezetimibe]==1 ||
[PCSK9i]==1 ||
[fibrates]==1
, showHideTags: show tags: (treatment_selected) hide tags: (no_treatment_selected))