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))
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 warning(if (parseFloat([total_cholesterol])-parseFloat([HDL]))>6.5, showHideTags: show tags: (fh_warning) hide tags: (fh_soft_warning, fh_hide))
5FH soft warning(if ((parseFloat([total_cholesterol])-parseFloat([HDL]))>=6)
&&
((parseFloat([total_cholesterol])-parseFloat([HDL]))<=6.5), showHideTags: show tags: (fh_soft_warning))
6disable all but low mod statin(if [low_mod_statin]==1, performActions: [high_statin]->disable, [ezetimibe]->disable, [PCSK9i]->disable, [fibrates]->disable, [bp_tx]->disable)
7disable all but high statin(if [high_statin]==1, performActions: [low_mod_statin]->disable, [ezetimibe]->disable, [PCSK9i]->disable, [bp_tx]->disable, [fibrates]->disable)
8disable all but ezetimibe(if [ezetimibe]==1, performActions: [low_mod_statin]->disable, [high_statin]->disable, [PCSK9i]->disable, [bp_tx]->disable, [fibrates]->disable)
9disable all but pcsk9i(if [PCSK9i]==1, performActions: [low_mod_statin]->disable, [high_statin]->disable, [ezetimibe]->disable, [bp_tx]->disable, [fibrates]->disable)
10Show framingham(if [primary_select]==0, showHideTags: show tags: (framingham))
11Show ascvd(if [primary_select]==1, showHideTags: show tags: (ascvd))
12Show predict(if [primary_select]==2, showHideTags: show tags: (predict))
13Show score2(if [primary_select]==3, showHideTags: show tags: (score2, score2op))
14Enable smoking cessation if smoker(if (([smoker]==1) && !(([primary_select]==2)))
||
(([predict_smoker]==2) && ([primary_select]==2)), performActions: [smoking_cessation]->enable)
15Disable smoking if neither condition met(if !((([smoker]==1) && !(([primary_select]==2)))
||
(([predict_smoker]==2) && ([primary_select]==2))), performActions: [smoking_cessation]->disable)
16Diabetes validation warning(if ([primary_select]==3) &&
([age]<70) &&
([diabetes]==1), showHideTags: show tags: (dm_warning))
17NZ age hide(if ([age]>75) && ([primary_select]==2), showHideTags: show tags: (nz_age))
18Show diet resource(if [mediterranean_diet]==1, showHideTags: show tags: (md))
19Show smoking resource(if ([smoking_cessation]==1) &&
([primary_select]==0), showHideTags: show tags: (sc))
20Show physical activity resource(if [physical_activity]==1, showHideTags: show tags: (pa))
21Show ADRs(if ([low_mod_statin]+[high_statin]+[ezetimibe]+[PCSK9i]+[fibrates]+[bp_tx])>0, showHideTags: show tags: (adrs) hide tags: (no_adrs))
22Show smoking cessation if smoker(if (([smoker]==1) && !(([primary_select]==2)))
||
(([predict_smoker]==2) && ([primary_select]==2)), showHideTags: show tags: (sc_option))
23Hide "no lifestyle options"(if ([mediterranean_diet]==1)
||
([physical_activity]==1)
||
([smoking_cessation]==1), showHideTags: hide tags: (no_lifestyle))
24Show diabetes DA link(if [diabetes]==1, showHideTags: show tags: (diabetes))
25disable all but fibrates(if [fibrates]==1, performActions: [bp_tx]->disable, [high_statin]->disable, [low_mod_statin]->disable, [ezetimibe]->disable, [PCSK9i]->disable)
26disable all but bp(if [bp_tx]==1, performActions: [ezetimibe]->disable, [PCSK9i]->disable, [fibrates]->disable, [high_statin]->disable, [low_mod_statin]->disable)
27If SBP<130 then disable htn tx(if [SBP]<130, performActions: [bp_tx]->disable)