From f050377b235cd85364df308451dc4384ffed1220 Mon Sep 17 00:00:00 2001 From: Jenny Smith Date: Tue, 21 May 2024 10:16:01 +0100 Subject: [PATCH 1/7] Update hiv_synthesis.sas --- hiv_synthesis.sas | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/hiv_synthesis.sas b/hiv_synthesis.sas index ace8c065..e507217b 100644 --- a/hiv_synthesis.sas +++ b/hiv_synthesis.sas @@ -197,7 +197,7 @@ newp_seed = 7; * SEXUAL BEHAVIOUR; -* condom_incr_year_i; condom_incr_year_i = 0; * mar19; * initialising condom_incr_year_i - this is set again in year_i variables section; +* condom_change_year_i; condom_change_year_i = 0; * mar19; * initialising condom_change_year_i - this is set again in year_i variables section; * rr_sw_age_1519; rr_sw_age_1519 = 0.80; * rr_sw_age_2534; rr_sw_age_2534 = 0.30; * rr_sw_age_3549; rr_sw_age_3549 = 0.03; @@ -2190,7 +2190,7 @@ who may be dead and hence have caldate{t} missing; *Prevention; *Condom promotion and provision: currently not in essential scenario but under discussion; *SBCC: not explicitly modelled, but the switch off is; - *condom_incr_year_i=2; *Switches off SBCC; + *condom_change_year_i=2; *Switches off SBCC; circ_inc_rate_year_i = 2; *No VMMC; *Prep; @@ -2742,7 +2742,7 @@ if caldate{t} = &year_interv then do; if mihpsa_params_set_in_options ne 1 then circ_inc_rate_year_i = 0; *variations coded in circumcision section; *increase in condom use; - if mihpsa_params_set_in_options ne 1 then condom_incr_year_i = 0; *coded within core (not below options code); + if mihpsa_params_set_in_options ne 1 then condom_change_year_i = 0; *coded within core (not below options code); *population wide tld; pop_wide_tld = 0; @@ -3469,7 +3469,7 @@ if 2025 < caldate{t} then rred_rc = (ych_risk_beh_newp**(2000-1995))*(yc if condom_disrup_covid = 1 and covid_disrup_affected = 1 then rred_rc = rred_rc * 1.5; * - condom_incr_year_i = 2 refers to SBCC being switched off, + condom_change_year_i = 2 refers to SBCC being switched off, SBCC in Zimbabwe was introduced at least in 2011 In 2011 rred_rc depending on the sampling varies from 0.031 (ych_risk_beh_newp = 0.5, ych2_risk_beh_newp =0.975) 0.168 (ych_risk_beh_newp = 0.7, ych2_risk_beh_newp =1) @@ -3482,7 +3482,7 @@ if condom_disrup_covid = 1 and covid_disrup_affected = 1 then rred_rc = rred_rc and 1 if we assume it was implemented from 1995 if SBBC implemented before 2000 then it shoudl affect ch_risk_beh_ep. We have not modelled SBBC retrospectively and so we have not included its cost; -if caldate{t} >= &year_interv and condom_incr_year_i = 2 then do; +if caldate{t} >= &year_interv and condom_change_year_i = 2 then do; *rred_rc =rred_rc2021_+((rred_rc2011_-rred_rc2021_)*prop_redattr_sbcc); rred_rc =rred_rc2021_+((1-rred_rc2021_)*prop_redattr_sbcc); end; @@ -3492,7 +3492,7 @@ ch_risk_beh_ep=1.0; if 1995 < caldate{t} <= 2000 then ch_risk_beh_ep = ych_risk_beh_ep**(caldate{t}-1995); if caldate{t} = 2000 then ch_risk_beh_ep2000_ = ych_risk_beh_ep**(2000-1995); if caldate{t} > 2000 then ch_risk_beh_ep = ch_risk_beh_ep2000_; -if caldate{t} >= &year_interv and condom_incr_year_i = 2 then +if caldate{t} >= &year_interv and condom_change_year_i = 2 then ch_risk_beh_ep = ch_risk_beh_ep2000_+((1-ch_risk_beh_ep2000_)*prop_redattr_sbcc); @@ -4300,7 +4300,7 @@ end; * Reducing newp by 50% if condom incr =1; -if caldate{t} = &year_interv and condom_incr_year_i = 1 then do; +if caldate{t} = &year_interv and condom_change_year_i = 1 then do; u=rand('uniform'); if u < 0.50 then do;newp=newp/2;newp=round(newp,1);end; end; @@ -19179,7 +19179,7 @@ discount /*year_i interventions*/ /* NB: everyone in the data set must have the same value for these parameters for them to be included (since we take the value for the last person) */ -condom_incr_year_i incr_test_year_i decr_hard_reach_year_i incr_adh_year_i +condom_change_year_i incr_test_year_i decr_hard_reach_year_i incr_adh_year_i decr_prob_loss_at_diag_year_i absence_cd4_year_i absence_vl_year_i decr_rate_lost_year_i decr_rate_lost_art_year_i incr_rate_return_year_i incr_rate_restart_year_i incr_rate_init_year_i decr_rate_int_choice_year_i incr_prob_vl_meas_done_year_i incr_pr_switch_line_year_i incr_adh_prep_oral_yr_i poc_vl_monitoring_i @@ -21126,7 +21126,7 @@ prob_stop_anti_hypertensive prob_intensify_1_2 prob_intensify_2_3 effect_sbp_cvd discount /*year_i interventions*/ -condom_incr_year_i incr_test_year_i decr_hard_reach_year_i incr_adh_year_i +condom_change_year_i incr_test_year_i decr_hard_reach_year_i incr_adh_year_i decr_prob_loss_at_diag_year_i absence_cd4_year_i absence_vl_year_i decr_rate_lost_year_i decr_rate_lost_art_year_i incr_rate_return_year_i incr_rate_restart_year_i incr_rate_init_year_i decr_rate_int_choice_year_i incr_prob_vl_meas_done_year_i incr_pr_switch_line_year_i incr_adh_prep_oral_yr_i poc_vl_monitoring_i From cd9087bd1a733514f72bf453b8d694f8b3e567ba Mon Sep 17 00:00:00 2001 From: Jenny Smith Date: Tue, 21 May 2024 10:33:39 +0100 Subject: [PATCH 2/7] Update hiv_synthesis.sas --- hiv_synthesis.sas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hiv_synthesis.sas b/hiv_synthesis.sas index e507217b..b3f786d1 100644 --- a/hiv_synthesis.sas +++ b/hiv_synthesis.sas @@ -2165,8 +2165,8 @@ if caldate_never_dot >= &year_interv then do; * we need to use caldate_never_dot so that the parameter value is given to everyone in the data set - we use the value for serial_no = 100000 who may be dead and hence have caldate{t} missing; - *Option 0 is continuation at current rates; - *Option 1 is essential scenario for Zimbabwe; + *Option 0 is continuation at current rates - status quo; + *Option 1 is minimal scenario for Zimbabwe; *Option 2,3,4,5,6,7 are essential + 1 testing strategy; *Vale; *Option 10,11,12,13,14 are essential + different prevention strategies; *Jenny; *Option 15,16,17,18 are essential + Oral TDF/FTC PrEP for different sub-pops; *Jenny; From a2ee8818bdab7d944f085fbe1df9b0ea60657616 Mon Sep 17 00:00:00 2001 From: Jenny Smith Date: Tue, 21 May 2024 13:33:19 +0100 Subject: [PATCH 3/7] Update hiv_synthesis.sas --- hiv_synthesis.sas | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hiv_synthesis.sas b/hiv_synthesis.sas index b3f786d1..e2ace385 100644 --- a/hiv_synthesis.sas +++ b/hiv_synthesis.sas @@ -2188,7 +2188,6 @@ who may be dead and hence have caldate{t} missing; *Note: at the moment the other testing modalities to be swicthed off are not modelled; *Prevention; - *Condom promotion and provision: currently not in essential scenario but under discussion; *SBCC: not explicitly modelled, but the switch off is; *condom_change_year_i=2; *Switches off SBCC; circ_inc_rate_year_i = 2; *No VMMC; @@ -2222,7 +2221,6 @@ who may be dead and hence have caldate{t} missing; end; - *TESTING; *TESTING; if option = 2 then do; *Self-test kits distributed (Primary distribution); prob_self_test_hard_reach = 0.1; @@ -2247,6 +2245,7 @@ who may be dead and hence have caldate{t} missing; *PREVENTION; if option = 10 then do;*HIV P&T program targeting FSWf; + eff_sw_program = 1; end; if option = 11 then do;*Social and behavioral change communication (SBCC); end; @@ -18761,7 +18760,7 @@ s_newp_this_per_hivneg_m s_newp_this_per_hivneg_w s_newp_this_per_hivneg_age s_newp_this_per_hivneg_m_prep s_newp_this_per_hivneg_w_prep s_newp_tp_hivneg_age1524w_prep s_newp_this_per_hivneg_sw_prep s_pep_not_prep s_testfor_prep_oral s_testfor_prep_inj s_testfor_prep_vr s_prep_oral s_prep_inj s_prep_vr s_prep_oral_ever s_prep_inj_ever s_prep_vr_ever -s_last_prep_used s_stop_prep_inj_choice +s_last_prep_used s_stop_prep_inj_choice s_stop_prep_vr_choice s_stop_prep_oral_elig s_stop_prep_inj_elig s_stop_prep_any_elig s_prep_oral_willing s_prep_inj_willing s_prep_oral_at_infection s_prep_inj_at_infection s_stop_prep_vr_elig s_prep_vr_willing s_prep_vr_at_infection @@ -19308,7 +19307,7 @@ if country = 'Zimbabwe' then do; if cald = 2004.5 and (prevalence1549 < 0.07) then do; abort abend; end; if cald = 2015.5 and (prevalence1549 < 0.12 or prevalence1549 > 0.15 ) then do; abort abend; end;*ZIMPHIA 13.4; end; -/*if cald = &year_interv and (prevalence1549 > 0.30 or incidence1549 < 0.15 ) then do; abort abend; end;*/ *QUERY should we be using this line for Zim? JAS Feb24; + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~; * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~; From cefbf8385012c3681703ad3e34129a169149a22e Mon Sep 17 00:00:00 2001 From: Jenny Smith Date: Tue, 21 May 2024 13:49:23 +0100 Subject: [PATCH 4/7] Update hiv_synthesis.sas --- hiv_synthesis.sas | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hiv_synthesis.sas b/hiv_synthesis.sas index e2ace385..18ff1842 100644 --- a/hiv_synthesis.sas +++ b/hiv_synthesis.sas @@ -17002,7 +17002,7 @@ if 15 <= age and (death = . or caldate&j = death ) then do; s_all_prep_criteria + all_prep_criteria ; s_all_prep_criteria_hivneg + all_prep_criteria_hivneg; s_prep_elig_hivneg + prep_elig_hivneg ; s_prep_elig_hivneg_onprep + prep_elig_hivneg_onprep ; s_prep_elig_onprep + prep_elig_onprep ;s_prep_elig_onprep_inj + prep_elig_onprep_inj; - s_started_prep_inj_hiv + started_prep_inj_hiv; s_prep_elig_onprep_vr + prep_elig_onprep_vr; s_started_prep_vr_hiv + started_prep_vr_hiv; + s_started_prep_oral_hiv + started_prep_oral_hiv; s_started_prep_inj_hiv + started_prep_inj_hiv; s_prep_elig_onprep_vr + prep_elig_onprep_vr; s_started_prep_vr_hiv + started_prep_vr_hiv; s_started_prep_any_hiv + started_prep_any_hiv; s_pop_wide_tld_hiv + pop_wide_tld_hiv; s_pop_wide_tld_prep_elig + pop_wide_tld_prep_elig ; s_pop_wide_tld_neg_prep_inelig + pop_wide_tld_neg_prep_inelig; @@ -18780,7 +18780,7 @@ s_start_restart_prep_vr s_start_restart_prep_vr_prim s_all_prep_criteria s_all_prep_criteria_hivneg s_prep_elig_hivneg s_prep_elig_hivneg_onprep s_prep_elig_onprep s_prep_elig_onprep_inj s_prep_elig_onprep_vr -s_started_prep_inj_hiv s_started_prep_vr_hiv s_started_prep_any_hiv s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig +s_started_prep_oral_hiv s_started_prep_inj_hiv s_started_prep_vr_hiv s_started_prep_any_hiv s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig @@ -19751,7 +19751,7 @@ s_start_rest_prep_inj_prim_cabr s_all_prep_criteria s_all_prep_criteria_hivneg s_prep_elig_hivneg s_prep_elig_hivneg_onprep s_prep_elig_onprep s_prep_elig_onprep_inj s_prep_elig_onprep_vr -s_started_prep_inj_hiv s_started_prep_vr_hiv s_started_prep_any_hiv s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig +s_started_prep_oral_hiv s_started_prep_inj_hiv s_started_prep_vr_hiv s_started_prep_any_hiv s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig /*testing and diagnosis*/ s_tested s_tested_m s_tested_f s_tested_f_non_anc s_tested_ancpd s_test_anclabpd s_tested_1524w s_tested_f_anc s_ever_tested_m s_ever_tested_w s_firsttest @@ -20730,7 +20730,7 @@ s_start_rest_prep_inj_prim_cabr s_all_prep_criteria s_all_prep_criteria_hivneg s_prep_elig_hivneg s_prep_elig_hivneg_onprep s_prep_elig_onprep s_prep_elig_onprep_inj s_prep_elig_onprep_vr -s_prep_oral_restart_date_choice s_started_prep_vr_hiv s_started_prep_any_hiv s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig +s_started_prep_oral_hiv s_started_prep_inj_hiv s_started_prep_vr_hiv s_started_prep_any_hiv s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig /*testing and diagnosis*/ s_tested s_tested_m s_tested_f s_tested_f_non_anc s_tested_ancpd s_test_anclabpd s_tested_1524w s_tested_f_anc s_ever_tested_m s_ever_tested_w s_firsttest From 268fb80e7c0cb986d03a29a0a5c8e22e623538d9 Mon Sep 17 00:00:00 2001 From: Jenny Smith Date: Wed, 22 May 2024 12:22:28 +0100 Subject: [PATCH 5/7] Update hiv_synthesis.sas --- hiv_synthesis.sas | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/hiv_synthesis.sas b/hiv_synthesis.sas index 18ff1842..65d83d27 100644 --- a/hiv_synthesis.sas +++ b/hiv_synthesis.sas @@ -12543,7 +12543,6 @@ if 15 <= age < 65 then alive1564=1;else alive1564=0; if 15 <= age < 65 and gender=1 then alive1564_m=1;else alive1564_m=0; if 15 <= age < 65 and gender=2 then alive1564_w=1;else alive1564_w=0; -ageg014_=0;if 0 <= age < 15 then ageg014_=1; age_1849w=0;if 18 <= age < 50 and gender=2 then age_1849w=1; age_1844m=0;if 18 <= age < 45 and gender=1 then age_1844m=1; age_1844w=0;if 18 <= age < 45 and gender=2 then age_1844w=1; @@ -17570,7 +17569,6 @@ if 0 <= age and (death = . or caldate&j = death ) then do; s_vmmc1014m + vmmc1014m ; s_new_vmmc + new_vmmc ; s_new_vmmc1014m + new_vmmc1014m ; s_ageg1014m + ageg1014m; - s_ageg014_ + ageg014_; end; if age=0 and (death = . or caldate&j = death ) then s_alive0_ + alive0_; @@ -18521,7 +18519,7 @@ s_n cald run option s_alive0_ s_alive1549 s_alive1549_w s_alive1549_m s_alive1564 s_alive1564_w s_alive1564_m s_ageg1517m s_ageg1819m s_ageg1519m s_ageg2024m s_ageg2529m s_ageg3034m s_ageg3539m s_ageg4044m -s_ageg4549m s_ageg5054m s_ageg5559m s_ageg6064m s_ageg1564m s_ageg1549m s_age_1844m s_ageg1014m s_ageg014_ +s_ageg4549m s_ageg5054m s_ageg5559m s_ageg6064m s_ageg1564m s_ageg1549m s_age_1844m s_ageg1014m s_ageg1517w s_ageg1819w s_ageg1519w s_ageg2024w s_ageg2529w s_ageg3034w s_ageg3539w s_ageg4044w s_ageg4549w s_ageg5054w s_ageg5559w s_ageg6064w s_ageg1564w s_ageg1549w s_age_1844w s_ageg1m s_ageg2m s_ageg3m s_ageg4m s_ageg5m s_ageg1w s_ageg2w s_ageg3w s_ageg4w s_ageg5w @@ -19493,7 +19491,7 @@ s_n cald s_alive0_ s_alive1549 s_alive1549_w s_alive1549_m s_alive1564 s_alive1564_w s_alive1564_m s_ageg1517m s_ageg1819m s_ageg1519m s_ageg2024m s_ageg2529m s_ageg3034m s_ageg3539m s_ageg4044m -s_ageg4549m s_ageg5054m s_ageg5559m s_ageg6064m s_ageg1564m s_ageg1549m s_age_1844m s_ageg1014m s_ageg014_ +s_ageg4549m s_ageg5054m s_ageg5559m s_ageg6064m s_ageg1564m s_ageg1549m s_age_1844m s_ageg1014m s_ageg1517w s_ageg1819w s_ageg1519w s_ageg2024w s_ageg2529w s_ageg3034w s_ageg3539w s_ageg4044w s_ageg4549w s_ageg5054w s_ageg5559w s_ageg6064w s_ageg1564w s_ageg1549w s_age_1844w s_ageg1m s_ageg2m s_ageg3m s_ageg4m s_ageg5m s_ageg1w s_ageg2w s_ageg3w s_ageg4w s_ageg5w @@ -20471,7 +20469,7 @@ run cald option s_alive0_ s_alive1549 s_alive1549_w s_alive1549_m s_alive1564 s_alive1564_w s_alive1564_m s_ageg1517m s_ageg1819m s_ageg1519m s_ageg2024m s_ageg2529m s_ageg3034m s_ageg3539m s_ageg4044m -s_ageg4549m s_ageg5054m s_ageg5559m s_ageg6064m s_ageg1564m s_ageg1549m s_age_1844m s_ageg1014m s_ageg014_ +s_ageg4549m s_ageg5054m s_ageg5559m s_ageg6064m s_ageg1564m s_ageg1549m s_age_1844m s_ageg1014m s_ageg1517w s_ageg1819w s_ageg1519w s_ageg2024w s_ageg2529w s_ageg3034w s_ageg3539w s_ageg4044w s_ageg4549w s_ageg5054w s_ageg5559w s_ageg6064w s_ageg1564w s_ageg1549w s_age_1844w s_ageg1m s_ageg2m s_ageg3m s_ageg4m s_ageg5m s_ageg1w s_ageg2w s_ageg3w s_ageg4w s_ageg5w From 06aa0aff110f3be088c7e020da9cfaeff972a214 Mon Sep 17 00:00:00 2001 From: Jenny Smith Date: Wed, 22 May 2024 12:43:28 +0100 Subject: [PATCH 6/7] Update hiv_synthesis.sas --- hiv_synthesis.sas | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/hiv_synthesis.sas b/hiv_synthesis.sas index 65d83d27..719a3044 100644 --- a/hiv_synthesis.sas +++ b/hiv_synthesis.sas @@ -14759,6 +14759,10 @@ if prep_elig_hivneg = 1 and (prep_any=1 or prep_oral=1 or prep_inj=1 or prep_vr= prep_elig_onprep = 0; if prep_any_elig=1 and (prep_any=1 or prep_oral=1 or prep_inj=1 or prep_vr=1) then prep_elig_onprep = 1; +* of people on prep, proportion on prep_oral; +prep_elig_onprep_oral=0; +if prep_elig_onprep = 1 and prep_oral=1 then prep_elig_onprep_oral=1; + * of people on prep, proportion on prep_inj; prep_elig_onprep_inj=0; if prep_elig_onprep = 1 and prep_inj=1 then prep_elig_onprep_inj=1; @@ -16999,10 +17003,12 @@ if 15 <= age and (death = . or caldate&j = death ) then do; s_on_risk_informed_prep_oral + on_risk_informed_prep_oral; s_on_risk_informed_prep_inj + on_risk_informed_prep_inj; s_on_risk_informed_prep_vr + on_risk_informed_prep_vr; - s_all_prep_criteria + all_prep_criteria ; s_all_prep_criteria_hivneg + all_prep_criteria_hivneg; s_prep_elig_hivneg + prep_elig_hivneg ; - s_prep_elig_hivneg_onprep + prep_elig_hivneg_onprep ; s_prep_elig_onprep + prep_elig_onprep ;s_prep_elig_onprep_inj + prep_elig_onprep_inj; - s_started_prep_oral_hiv + started_prep_oral_hiv; s_started_prep_inj_hiv + started_prep_inj_hiv; s_prep_elig_onprep_vr + prep_elig_onprep_vr; s_started_prep_vr_hiv + started_prep_vr_hiv; - s_started_prep_any_hiv + started_prep_any_hiv; s_pop_wide_tld_hiv + pop_wide_tld_hiv; s_pop_wide_tld_prep_elig + pop_wide_tld_prep_elig ; + s_all_prep_criteria + all_prep_criteria ; s_all_prep_criteria_hivneg + all_prep_criteria_hivneg ; s_prep_elig_hivneg + prep_elig_hivneg ; + s_prep_elig_hivneg_onprep + prep_elig_hivneg_onprep ; s_prep_elig_onprep + prep_elig_onprep ; + s_prep_elig_onprep_oral + prep_elig_onprep_oral ; s_prep_elig_onprep_inj + prep_elig_onprep_inj ; s_prep_elig_onprep_vr + prep_elig_onprep_vr ; + s_started_prep_any_hiv + started_prep_any_hiv ; + s_started_prep_oral_hiv + started_prep_oral_hiv ; s_started_prep_inj_hiv + started_prep_inj_hiv ; s_started_prep_vr_hiv + started_prep_vr_hiv ; + s_pop_wide_tld_hiv + pop_wide_tld_hiv; s_pop_wide_tld_prep_elig + pop_wide_tld_prep_elig ; s_pop_wide_tld_neg_prep_inelig + pop_wide_tld_neg_prep_inelig; @@ -18776,9 +18782,10 @@ s_on_risk_informed_prep_oral s_on_risk_informed_prep_inj s_on_risk_informed_prep s_start_restart_prep_oral s_start_restart_prep_inj s_start_restart_prep_inj_prim s_start_rest_prep_inj_prim_cabr s_start_restart_prep_vr s_start_restart_prep_vr_prim -s_all_prep_criteria s_all_prep_criteria_hivneg s_prep_elig_hivneg s_prep_elig_hivneg_onprep s_prep_elig_onprep s_prep_elig_onprep_inj -s_prep_elig_onprep_vr -s_started_prep_oral_hiv s_started_prep_inj_hiv s_started_prep_vr_hiv s_started_prep_any_hiv s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig +s_all_prep_criteria s_all_prep_criteria_hivneg s_prep_elig_hivneg s_prep_elig_hivneg_onprep +s_prep_elig_onprep s_prep_elig_onprep_oral s_prep_elig_onprep_inj s_prep_elig_onprep_vr +s_started_prep_any_hiv s_started_prep_oral_hiv s_started_prep_inj_hiv s_started_prep_vr_hiv +s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig @@ -19747,9 +19754,10 @@ s_on_risk_informed_prep_oral s_on_risk_informed_prep_inj s_on_risk_informed_prep s_start_restart_prep_oral s_start_restart_prep_inj s_start_restart_prep_vr s_start_restart_prep_inj_prim s_start_restart_prep_vr_prim s_start_rest_prep_inj_prim_cabr -s_all_prep_criteria s_all_prep_criteria_hivneg s_prep_elig_hivneg s_prep_elig_hivneg_onprep s_prep_elig_onprep s_prep_elig_onprep_inj -s_prep_elig_onprep_vr -s_started_prep_oral_hiv s_started_prep_inj_hiv s_started_prep_vr_hiv s_started_prep_any_hiv s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig +s_all_prep_criteria s_all_prep_criteria_hivneg s_prep_elig_hivneg s_prep_elig_hivneg_onprep +s_prep_elig_onprep s_prep_elig_onprep_oral s_prep_elig_onprep_inj s_prep_elig_onprep_vr +s_started_prep_any_hiv s_started_prep_oral_hiv s_started_prep_inj_hiv s_started_prep_vr_hiv +s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig /*testing and diagnosis*/ s_tested s_tested_m s_tested_f s_tested_f_non_anc s_tested_ancpd s_test_anclabpd s_tested_1524w s_tested_f_anc s_ever_tested_m s_ever_tested_w s_firsttest @@ -20726,9 +20734,10 @@ s_on_risk_informed_prep_oral s_on_risk_informed_prep_inj s_on_risk_informed_prep s_start_restart_prep_oral s_start_restart_prep_inj s_start_restart_prep_vr s_start_restart_prep_inj_prim s_start_restart_prep_vr_prim s_start_rest_prep_inj_prim_cabr -s_all_prep_criteria s_all_prep_criteria_hivneg s_prep_elig_hivneg s_prep_elig_hivneg_onprep s_prep_elig_onprep s_prep_elig_onprep_inj -s_prep_elig_onprep_vr -s_started_prep_oral_hiv s_started_prep_inj_hiv s_started_prep_vr_hiv s_started_prep_any_hiv s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig +s_all_prep_criteria s_all_prep_criteria_hivneg s_prep_elig_hivneg s_prep_elig_hivneg_onprep +s_prep_elig_onprep s_prep_elig_onprep_oral s_prep_elig_onprep_inj s_prep_elig_onprep_vr +s_started_prep_any_hiv s_started_prep_oral_hiv s_started_prep_inj_hiv s_started_prep_vr_hiv +s_pop_wide_tld_hiv s_pop_wide_tld_prep_elig s_pop_wide_tld_neg_prep_inelig /*testing and diagnosis*/ s_tested s_tested_m s_tested_f s_tested_f_non_anc s_tested_ancpd s_test_anclabpd s_tested_1524w s_tested_f_anc s_ever_tested_m s_ever_tested_w s_firsttest From 3e393b2a080243b78df7c4ab531cd61bd8f27985 Mon Sep 17 00:00:00 2001 From: Jenny Smith Date: Thu, 23 May 2024 12:02:04 +0100 Subject: [PATCH 7/7] Update hiv_synthesis.sas --- hiv_synthesis.sas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hiv_synthesis.sas b/hiv_synthesis.sas index 719a3044..9d55392e 100644 --- a/hiv_synthesis.sas +++ b/hiv_synthesis.sas @@ -4848,7 +4848,7 @@ end; u_self_test=rand('uniform'); if . < np_lasttest <= 0 then u_self_test = u_self_test * eff_self_test_targeting; if newp_lasttest ge 1 then u_self_test=u_self_test/eff_self_test_targeting; - if secondary_self_test=1 and eponart=1 then u_self_test=u_self_test/secondary_self_test_targeting; + if secondary_self_test=1 and epart=1 then u_self_test=u_self_test/secondary_self_test_targeting; if tested ne 1 and (caldate{t]-max(0,dt_last_self_test) >= 0.25) and u_self_test < rate_self_test then do; self_tested=1; dt_last_self_test=caldate{t};