From 60ce0eb9956c7f8c70a5402038e18cff5a3dcc7d Mon Sep 17 00:00:00 2001 From: sharleenawinja <105132006+sharleenawinja@users.noreply.github.com> Date: Fri, 7 Jul 2023 10:33:15 +0300 Subject: [PATCH] POC-388: Map old population type indicators to new population type indicators (#1293) --- .../discontinued/discontinued-prep-base.json | 236 +++--- .../eligibility/eligible-for-prep-base.json | 694 +++++++++--------- .../new/new-for-prep-base.json | 232 +++--- .../prep-reasons-for-initiation-base.json | 560 +++++++------- .../restarting/restarting-prep-base.json | 234 +++--- .../while-on-prep/while-on-prep-base.json | 468 ++++++------ 6 files changed, 1212 insertions(+), 1212 deletions(-) diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-base.json index 479488c42..d888c25bc 100644 --- a/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-base.json +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-base.json @@ -90,7 +90,7 @@ "alias": "st_tg_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -98,7 +98,7 @@ "alias": "st_tg_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -106,7 +106,7 @@ "alias": "st_tg_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -114,7 +114,7 @@ "alias": "st_tg_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -122,7 +122,7 @@ "alias": "st_tg_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -130,7 +130,7 @@ "alias": "st_tg_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -138,7 +138,7 @@ "alias": "st_tg_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -146,7 +146,7 @@ "alias": "st_tg_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -154,7 +154,7 @@ "alias": "st_tg_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -162,7 +162,7 @@ "alias": "st_tg_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -170,7 +170,7 @@ "alias": "st_tg_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -178,7 +178,7 @@ "alias": "st_tg_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -186,7 +186,7 @@ "alias": "st_tg_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -194,7 +194,7 @@ "alias": "st_tg_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -202,7 +202,7 @@ "alias": "st_tg_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -210,7 +210,7 @@ "alias": "st_tg_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -218,7 +218,7 @@ "alias": "st_tg_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -226,7 +226,7 @@ "alias": "st_tg_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -234,7 +234,7 @@ "alias": "st_tg_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -242,7 +242,7 @@ "alias": "st_tg_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -250,7 +250,7 @@ "alias": "st_tg_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -258,7 +258,7 @@ "alias": "st_tg_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -266,7 +266,7 @@ "alias": "total_st_tg", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 1), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.sub_population_type = 50 OR pd.population_type = 1)), 1, NULL)" } }, { @@ -458,7 +458,7 @@ "alias": "st_msm_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -474,7 +474,7 @@ "alias": "st_msm_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -490,7 +490,7 @@ "alias": "st_msm_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -506,7 +506,7 @@ "alias": "st_msm_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -522,7 +522,7 @@ "alias": "st_msm_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -538,7 +538,7 @@ "alias": "st_msm_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -554,7 +554,7 @@ "alias": "st_msm_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -570,7 +570,7 @@ "alias": "st_msm_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -586,7 +586,7 @@ "alias": "st_msm_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -602,7 +602,7 @@ "alias": "st_msm_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -618,7 +618,7 @@ "alias": "st_msm_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -634,7 +634,7 @@ "alias": "total_st_msm", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 3), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" } }, { @@ -642,7 +642,7 @@ "alias": "st_mahr_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -658,7 +658,7 @@ "alias": "st_mahr_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -674,7 +674,7 @@ "alias": "st_mahr_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -690,7 +690,7 @@ "alias": "st_mahr_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -706,7 +706,7 @@ "alias": "st_mahr_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -722,7 +722,7 @@ "alias": "st_mahr_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -738,7 +738,7 @@ "alias": "st_mahr_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -754,7 +754,7 @@ "alias": "st_mahr_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -770,7 +770,7 @@ "alias": "st_mahr_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -786,7 +786,7 @@ "alias": "st_mahr_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -802,7 +802,7 @@ "alias": "st_mahr_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -818,7 +818,7 @@ "alias": "total_st_mahr", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 4), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" } }, { @@ -834,7 +834,7 @@ "alias": "st_fsw_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -850,7 +850,7 @@ "alias": "st_fsw_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -866,7 +866,7 @@ "alias": "st_fsw_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -882,7 +882,7 @@ "alias": "st_fsw_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -898,7 +898,7 @@ "alias": "st_fsw_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -914,7 +914,7 @@ "alias": "st_fsw_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -930,7 +930,7 @@ "alias": "st_fsw_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -946,7 +946,7 @@ "alias": "st_fsw_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -962,7 +962,7 @@ "alias": "st_fsw_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -978,7 +978,7 @@ "alias": "st_fsw_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -994,7 +994,7 @@ "alias": "st_fsw_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1002,7 +1002,7 @@ "alias": "total_st_fsw", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 5), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" } }, { @@ -1010,7 +1010,7 @@ "alias": "st_pwid_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1018,7 +1018,7 @@ "alias": "st_pwid_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1026,7 +1026,7 @@ "alias": "st_pwid_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1034,7 +1034,7 @@ "alias": "st_pwid_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1042,7 +1042,7 @@ "alias": "st_pwid_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1050,7 +1050,7 @@ "alias": "st_pwid_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1058,7 +1058,7 @@ "alias": "st_pwid_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1066,7 +1066,7 @@ "alias": "st_pwid_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1074,7 +1074,7 @@ "alias": "st_pwid_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1082,7 +1082,7 @@ "alias": "st_pwid_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1090,7 +1090,7 @@ "alias": "st_pwid_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1098,7 +1098,7 @@ "alias": "st_pwid_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1106,7 +1106,7 @@ "alias": "st_pwid_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1114,7 +1114,7 @@ "alias": "st_pwid_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1122,7 +1122,7 @@ "alias": "st_pwid_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1130,7 +1130,7 @@ "alias": "st_pwid_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1138,7 +1138,7 @@ "alias": "st_pwid_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1146,7 +1146,7 @@ "alias": "st_pwid_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1154,7 +1154,7 @@ "alias": "st_pwid_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1162,7 +1162,7 @@ "alias": "st_pwid_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1170,7 +1170,7 @@ "alias": "st_pwid_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1178,7 +1178,7 @@ "alias": "st_pwid_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1186,7 +1186,7 @@ "alias": "total_st_pwid", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 6), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" } }, { @@ -1202,7 +1202,7 @@ "alias": "st_ow_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1218,7 +1218,7 @@ "alias": "st_ow_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1234,7 +1234,7 @@ "alias": "st_ow_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1250,7 +1250,7 @@ "alias": "st_ow_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1266,7 +1266,7 @@ "alias": "st_ow_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1282,7 +1282,7 @@ "alias": "st_ow_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1298,7 +1298,7 @@ "alias": "st_ow_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1314,7 +1314,7 @@ "alias": "st_ow_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1330,7 +1330,7 @@ "alias": "st_ow_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1346,7 +1346,7 @@ "alias": "st_ow_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1362,7 +1362,7 @@ "alias": "st_ow_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1370,7 +1370,7 @@ "alias": "total_st_ow", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 7), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F'), 1, NULL)" } }, { @@ -1378,7 +1378,7 @@ "alias": "st_sdc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1386,7 +1386,7 @@ "alias": "st_sdc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1394,7 +1394,7 @@ "alias": "st_sdc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1402,7 +1402,7 @@ "alias": "st_sdc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1410,7 +1410,7 @@ "alias": "st_sdc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1418,7 +1418,7 @@ "alias": "st_sdc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1426,7 +1426,7 @@ "alias": "st_sdc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1434,7 +1434,7 @@ "alias": "st_sdc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1442,7 +1442,7 @@ "alias": "st_sdc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1450,7 +1450,7 @@ "alias": "st_sdc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1458,7 +1458,7 @@ "alias": "st_sdc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1466,7 +1466,7 @@ "alias": "st_sdc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1474,7 +1474,7 @@ "alias": "st_sdc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1482,7 +1482,7 @@ "alias": "st_sdc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1490,7 +1490,7 @@ "alias": "st_sdc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1498,7 +1498,7 @@ "alias": "st_sdc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1506,7 +1506,7 @@ "alias": "st_sdc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1514,7 +1514,7 @@ "alias": "st_sdc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1522,7 +1522,7 @@ "alias": "st_sdc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1530,7 +1530,7 @@ "alias": "st_sdc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1538,7 +1538,7 @@ "alias": "st_sdc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1546,7 +1546,7 @@ "alias": "st_sdc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1554,7 +1554,7 @@ "alias": "total_st_sdc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, { @@ -1755,7 +1755,7 @@ "conditions": [ { "filterType": "tableColumns", - "conditionExpression": "pd.location_id IN ?", + "conditionExpression": "pd.location_id IN (?)", "parameterName": "locations" }, { diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-base.json index fa8a42aa4..6e766e4ac 100644 --- a/app/reporting-framework/json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-base.json +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-base.json @@ -90,7 +90,7 @@ "alias": "e_tg_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -98,7 +98,7 @@ "alias": "e_tg_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -106,7 +106,7 @@ "alias": "e_tg_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -114,7 +114,7 @@ "alias": "e_tg_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -122,7 +122,7 @@ "alias": "e_tg_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -130,7 +130,7 @@ "alias": "e_tg_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -138,7 +138,7 @@ "alias": "e_tg_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -146,7 +146,7 @@ "alias": "e_tg_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -154,7 +154,7 @@ "alias": "e_tg_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -162,7 +162,7 @@ "alias": "e_tg_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -170,7 +170,7 @@ "alias": "e_tg_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -178,7 +178,7 @@ "alias": "e_tg_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -186,7 +186,7 @@ "alias": "e_tg_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -194,7 +194,7 @@ "alias": "e_tg_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -202,7 +202,7 @@ "alias": "e_tg_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -210,7 +210,7 @@ "alias": "e_tg_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -218,7 +218,7 @@ "alias": "e_tg_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -226,7 +226,7 @@ "alias": "e_tg_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -234,7 +234,7 @@ "alias": "e_tg_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -242,7 +242,7 @@ "alias": "e_tg_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -250,7 +250,7 @@ "alias": "e_tg_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -458,7 +458,7 @@ "alias": "e_msm_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -474,7 +474,7 @@ "alias": "e_msm_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -490,7 +490,7 @@ "alias": "e_msm_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -506,7 +506,7 @@ "alias": "e_msm_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -522,7 +522,7 @@ "alias": "e_msm_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -538,7 +538,7 @@ "alias": "e_msm_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -554,7 +554,7 @@ "alias": "e_msm_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -570,7 +570,7 @@ "alias": "e_msm_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -586,7 +586,7 @@ "alias": "e_msm_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -602,7 +602,7 @@ "alias": "e_msm_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -618,7 +618,7 @@ "alias": "e_msm_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -634,7 +634,7 @@ "alias": "total_e_msm", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" } }, { @@ -642,7 +642,7 @@ "alias": "e_mahr_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -658,7 +658,7 @@ "alias": "e_mahr_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -674,7 +674,7 @@ "alias": "e_mahr_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -690,7 +690,7 @@ "alias": "e_mahr_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -706,7 +706,7 @@ "alias": "e_mahr_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -722,7 +722,7 @@ "alias": "e_mahr_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -738,7 +738,7 @@ "alias": "e_mahr_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -754,7 +754,7 @@ "alias": "e_mahr_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -770,7 +770,7 @@ "alias": "e_mahr_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -786,7 +786,7 @@ "alias": "e_mahr_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -802,7 +802,7 @@ "alias": "e_mahr_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -818,7 +818,7 @@ "alias": "total_e_mahr", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" } }, { @@ -834,7 +834,7 @@ "alias": "e_fsw_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -850,7 +850,7 @@ "alias": "e_fsw_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -866,7 +866,7 @@ "alias": "e_fsw_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -882,7 +882,7 @@ "alias": "e_fsw_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -898,7 +898,7 @@ "alias": "e_fsw_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -914,7 +914,7 @@ "alias": "e_fsw_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -930,7 +930,7 @@ "alias": "e_fsw_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -946,7 +946,7 @@ "alias": "e_fsw_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -962,7 +962,7 @@ "alias": "e_fsw_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -978,7 +978,7 @@ "alias": "e_fsw_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -994,7 +994,7 @@ "alias": "e_fsw_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1002,7 +1002,7 @@ "alias": "total_e_fsw", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" } }, { @@ -1010,7 +1010,7 @@ "alias": "e_pwid_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1018,7 +1018,7 @@ "alias": "e_pwid_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1026,7 +1026,7 @@ "alias": "e_pwid_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1034,7 +1034,7 @@ "alias": "e_pwid_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1042,7 +1042,7 @@ "alias": "e_pwid_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1050,7 +1050,7 @@ "alias": "e_pwid_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1058,7 +1058,7 @@ "alias": "e_pwid_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1066,7 +1066,7 @@ "alias": "e_pwid_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1074,7 +1074,7 @@ "alias": "e_pwid_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1082,7 +1082,7 @@ "alias": "e_pwid_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1090,7 +1090,7 @@ "alias": "e_pwid_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1098,7 +1098,7 @@ "alias": "e_pwid_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1106,7 +1106,7 @@ "alias": "e_pwid_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1114,7 +1114,7 @@ "alias": "e_pwid_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1122,7 +1122,7 @@ "alias": "e_pwid_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1130,7 +1130,7 @@ "alias": "e_pwid_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1138,7 +1138,7 @@ "alias": "e_pwid_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1146,7 +1146,7 @@ "alias": "e_pwid_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1154,7 +1154,7 @@ "alias": "e_pwid_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1162,7 +1162,7 @@ "alias": "e_pwid_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1170,7 +1170,7 @@ "alias": "e_pwid_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1178,7 +1178,7 @@ "alias": "e_pwid_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1186,7 +1186,7 @@ "alias": "total_e_pwid", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" } }, { @@ -1202,7 +1202,7 @@ "alias": "e_ow_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1218,7 +1218,7 @@ "alias": "e_ow_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1234,7 +1234,7 @@ "alias": "e_ow_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1250,7 +1250,7 @@ "alias": "e_ow_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1266,7 +1266,7 @@ "alias": "e_ow_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1282,7 +1282,7 @@ "alias": "e_ow_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1298,7 +1298,7 @@ "alias": "e_ow_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1314,7 +1314,7 @@ "alias": "e_ow_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1330,7 +1330,7 @@ "alias": "e_ow_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1346,7 +1346,7 @@ "alias": "e_ow_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1362,7 +1362,7 @@ "alias": "e_ow_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1370,7 +1370,7 @@ "alias": "total_e_ow", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" } }, { @@ -1378,7 +1378,7 @@ "alias": "e_sdc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1386,7 +1386,7 @@ "alias": "e_sdc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1394,7 +1394,7 @@ "alias": "e_sdc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1402,7 +1402,7 @@ "alias": "e_sdc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1410,7 +1410,7 @@ "alias": "e_sdc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1418,7 +1418,7 @@ "alias": "e_sdc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1426,7 +1426,7 @@ "alias": "e_sdc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1434,7 +1434,7 @@ "alias": "e_sdc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1442,7 +1442,7 @@ "alias": "e_sdc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1450,7 +1450,7 @@ "alias": "e_sdc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1458,7 +1458,7 @@ "alias": "e_sdc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1466,7 +1466,7 @@ "alias": "e_sdc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1474,7 +1474,7 @@ "alias": "e_sdc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1482,7 +1482,7 @@ "alias": "e_sdc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1490,7 +1490,7 @@ "alias": "e_sdc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1498,7 +1498,7 @@ "alias": "e_sdc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1506,7 +1506,7 @@ "alias": "e_sdc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1514,7 +1514,7 @@ "alias": "e_sdc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1522,7 +1522,7 @@ "alias": "e_sdc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1530,7 +1530,7 @@ "alias": "e_sdc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1538,7 +1538,7 @@ "alias": "e_sdc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1546,7 +1546,7 @@ "alias": "e_sdc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1554,7 +1554,7 @@ "alias": "total_e_sdc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, { @@ -1746,7 +1746,7 @@ "alias": "ct_tg_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1754,7 +1754,7 @@ "alias": "ct_tg_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1762,7 +1762,7 @@ "alias": "ct_tg_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1770,7 +1770,7 @@ "alias": "ct_tg_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1778,7 +1778,7 @@ "alias": "ct_tg_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1786,7 +1786,7 @@ "alias": "ct_tg_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1794,7 +1794,7 @@ "alias": "ct_tg_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1802,7 +1802,7 @@ "alias": "ct_tg_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1810,7 +1810,7 @@ "alias": "ct_tg_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1818,7 +1818,7 @@ "alias": "ct_tg_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1826,7 +1826,7 @@ "alias": "ct_tg_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1834,7 +1834,7 @@ "alias": "ct_tg_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1842,7 +1842,7 @@ "alias": "ct_tg_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1850,7 +1850,7 @@ "alias": "ct_tg_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1858,7 +1858,7 @@ "alias": "ct_tg_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1866,7 +1866,7 @@ "alias": "ct_tg_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1874,7 +1874,7 @@ "alias": "ct_tg_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1882,7 +1882,7 @@ "alias": "ct_tg_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1890,7 +1890,7 @@ "alias": "ct_tg_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1898,7 +1898,7 @@ "alias": "ct_tg_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1906,7 +1906,7 @@ "alias": "ct_tg_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -1914,7 +1914,7 @@ "alias": "ct_tg_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -2114,7 +2114,7 @@ "alias": "ct_msm_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2130,7 +2130,7 @@ "alias": "ct_msm_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2146,7 +2146,7 @@ "alias": "ct_msm_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2162,7 +2162,7 @@ "alias": "ct_msm_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2178,7 +2178,7 @@ "alias": "ct_msm_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2194,7 +2194,7 @@ "alias": "ct_msm_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2210,7 +2210,7 @@ "alias": "ct_msm_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2226,7 +2226,7 @@ "alias": "ct_msm_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2242,7 +2242,7 @@ "alias": "ct_msm_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2258,7 +2258,7 @@ "alias": "ct_msm_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2274,7 +2274,7 @@ "alias": "ct_msm_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -2290,7 +2290,7 @@ "alias": "total_ct_msm", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" } }, { @@ -2298,7 +2298,7 @@ "alias": "ct_mahr_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2314,7 +2314,7 @@ "alias": "ct_mahr_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2330,7 +2330,7 @@ "alias": "ct_mahr_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2346,7 +2346,7 @@ "alias": "ct_mahr_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2362,7 +2362,7 @@ "alias": "ct_mahr_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2378,7 +2378,7 @@ "alias": "ct_mahr_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2394,7 +2394,7 @@ "alias": "ct_mahr_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2410,7 +2410,7 @@ "alias": "ct_mahr_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2426,7 +2426,7 @@ "alias": "ct_mahr_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2442,7 +2442,7 @@ "alias": "ct_mahr_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2458,7 +2458,7 @@ "alias": "ct_mahr_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -2474,7 +2474,7 @@ "alias": "total_ct_mahr", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" } }, { @@ -2490,7 +2490,7 @@ "alias": "ct_fsw_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2506,7 +2506,7 @@ "alias": "ct_fsw_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2522,7 +2522,7 @@ "alias": "ct_fsw_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2538,7 +2538,7 @@ "alias": "ct_fsw_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2554,7 +2554,7 @@ "alias": "ct_fsw_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2570,7 +2570,7 @@ "alias": "ct_fsw_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2586,7 +2586,7 @@ "alias": "ct_fsw_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2602,7 +2602,7 @@ "alias": "ct_fsw_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2618,7 +2618,7 @@ "alias": "ct_fsw_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2634,7 +2634,7 @@ "alias": "ct_fsw_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2650,7 +2650,7 @@ "alias": "ct_fsw_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -2658,7 +2658,7 @@ "alias": "total_ct_fsw", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" } }, { @@ -2666,7 +2666,7 @@ "alias": "ct_pwid_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2674,7 +2674,7 @@ "alias": "ct_pwid_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2682,7 +2682,7 @@ "alias": "ct_pwid_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2690,7 +2690,7 @@ "alias": "ct_pwid_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2698,7 +2698,7 @@ "alias": "ct_pwid_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2706,7 +2706,7 @@ "alias": "ct_pwid_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2714,7 +2714,7 @@ "alias": "ct_pwid_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2722,7 +2722,7 @@ "alias": "ct_pwid_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2730,7 +2730,7 @@ "alias": "ct_pwid_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2738,7 +2738,7 @@ "alias": "ct_pwid_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2746,7 +2746,7 @@ "alias": "ct_pwid_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2754,7 +2754,7 @@ "alias": "ct_pwid_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2762,7 +2762,7 @@ "alias": "ct_pwid_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2770,7 +2770,7 @@ "alias": "ct_pwid_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2778,7 +2778,7 @@ "alias": "ct_pwid_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2786,7 +2786,7 @@ "alias": "ct_pwid_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2794,7 +2794,7 @@ "alias": "ct_pwid_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2802,7 +2802,7 @@ "alias": "ct_pwid_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2810,7 +2810,7 @@ "alias": "ct_pwid_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2818,7 +2818,7 @@ "alias": "ct_pwid_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2826,7 +2826,7 @@ "alias": "ct_pwid_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -2834,7 +2834,7 @@ "alias": "ct_pwid_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -2842,7 +2842,7 @@ "alias": "total_ct_pwid", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" } }, { @@ -2858,7 +2858,7 @@ "alias": "ct_ow_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2874,7 +2874,7 @@ "alias": "ct_ow_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2890,7 +2890,7 @@ "alias": "ct_ow_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2906,7 +2906,7 @@ "alias": "ct_ow_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2922,7 +2922,7 @@ "alias": "ct_ow_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2938,7 +2938,7 @@ "alias": "ct_ow_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2954,7 +2954,7 @@ "alias": "ct_ow_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2970,7 +2970,7 @@ "alias": "ct_ow_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2986,7 +2986,7 @@ "alias": "ct_ow_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3002,7 +3002,7 @@ "alias": "ct_ow_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3018,7 +3018,7 @@ "alias": "ct_ow_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -3026,7 +3026,7 @@ "alias": "total_ct_ow", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" } }, { @@ -3034,7 +3034,7 @@ "alias": "ct_sdc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3042,7 +3042,7 @@ "alias": "ct_sdc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3050,7 +3050,7 @@ "alias": "ct_sdc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3058,7 +3058,7 @@ "alias": "ct_sdc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3066,7 +3066,7 @@ "alias": "ct_sdc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3074,7 +3074,7 @@ "alias": "ct_sdc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3082,7 +3082,7 @@ "alias": "ct_sdc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3090,7 +3090,7 @@ "alias": "ct_sdc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3098,7 +3098,7 @@ "alias": "ct_sdc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3106,7 +3106,7 @@ "alias": "ct_sdc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3114,7 +3114,7 @@ "alias": "ct_sdc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3122,7 +3122,7 @@ "alias": "ct_sdc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3130,7 +3130,7 @@ "alias": "ct_sdc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3138,7 +3138,7 @@ "alias": "ct_sdc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3146,7 +3146,7 @@ "alias": "ct_sdc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3154,7 +3154,7 @@ "alias": "ct_sdc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3162,7 +3162,7 @@ "alias": "ct_sdc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3170,7 +3170,7 @@ "alias": "ct_sdc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3178,7 +3178,7 @@ "alias": "ct_sdc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3186,7 +3186,7 @@ "alias": "ct_sdc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3194,7 +3194,7 @@ "alias": "ct_sdc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -3202,7 +3202,7 @@ "alias": "ct_sdc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -3210,7 +3210,7 @@ "alias": "total_ct_sdc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, { @@ -3402,7 +3402,7 @@ "alias": "he_tg_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3410,7 +3410,7 @@ "alias": "he_tg_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3418,7 +3418,7 @@ "alias": "he_tg_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3426,7 +3426,7 @@ "alias": "he_tg_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3434,7 +3434,7 @@ "alias": "he_tg_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3442,7 +3442,7 @@ "alias": "he_tg_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3450,7 +3450,7 @@ "alias": "he_tg_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3458,7 +3458,7 @@ "alias": "he_tg_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3466,7 +3466,7 @@ "alias": "he_tg_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3474,7 +3474,7 @@ "alias": "he_tg_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3482,7 +3482,7 @@ "alias": "he_tg_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3490,7 +3490,7 @@ "alias": "he_tg_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3498,7 +3498,7 @@ "alias": "he_tg_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3506,7 +3506,7 @@ "alias": "he_tg_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3514,7 +3514,7 @@ "alias": "he_tg_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3522,7 +3522,7 @@ "alias": "he_tg_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3530,7 +3530,7 @@ "alias": "he_tg_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3538,7 +3538,7 @@ "alias": "he_tg_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3546,7 +3546,7 @@ "alias": "he_tg_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3554,7 +3554,7 @@ "alias": "he_tg_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3562,7 +3562,7 @@ "alias": "he_tg_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -3570,7 +3570,7 @@ "alias": "he_tg_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -3770,7 +3770,7 @@ "alias": "he_msm_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3786,7 +3786,7 @@ "alias": "he_msm_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3802,7 +3802,7 @@ "alias": "he_msm_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3818,7 +3818,7 @@ "alias": "he_msm_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3834,7 +3834,7 @@ "alias": "he_msm_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3850,7 +3850,7 @@ "alias": "he_msm_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3866,7 +3866,7 @@ "alias": "he_msm_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3882,7 +3882,7 @@ "alias": "he_msm_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3898,7 +3898,7 @@ "alias": "he_msm_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3914,7 +3914,7 @@ "alias": "he_msm_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3930,7 +3930,7 @@ "alias": "he_msm_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -3946,7 +3946,7 @@ "alias": "total_he_msm", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 3), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" } }, { @@ -3954,7 +3954,7 @@ "alias": "he_mahr_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3970,7 +3970,7 @@ "alias": "he_mahr_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3986,7 +3986,7 @@ "alias": "he_mahr_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -4002,7 +4002,7 @@ "alias": "he_mahr_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -4018,7 +4018,7 @@ "alias": "he_mahr_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -4034,7 +4034,7 @@ "alias": "he_mahr_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -4050,7 +4050,7 @@ "alias": "he_mahr_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -4066,7 +4066,7 @@ "alias": "he_mahr_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -4082,7 +4082,7 @@ "alias": "he_mahr_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -4098,7 +4098,7 @@ "alias": "he_mahr_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -4114,7 +4114,7 @@ "alias": "he_mahr_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -4130,7 +4130,7 @@ "alias": "total_he_mahr", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 4), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" } }, { @@ -4146,7 +4146,7 @@ "alias": "he_fsw_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -4162,7 +4162,7 @@ "alias": "he_fsw_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -4178,7 +4178,7 @@ "alias": "he_fsw_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -4194,7 +4194,7 @@ "alias": "he_fsw_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -4210,7 +4210,7 @@ "alias": "he_fsw_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -4226,7 +4226,7 @@ "alias": "he_fsw_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -4242,7 +4242,7 @@ "alias": "he_fsw_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -4258,7 +4258,7 @@ "alias": "he_fsw_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -4274,7 +4274,7 @@ "alias": "he_fsw_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -4290,7 +4290,7 @@ "alias": "he_fsw_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -4306,7 +4306,7 @@ "alias": "he_fsw_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -4314,7 +4314,7 @@ "alias": "total_he_fsw", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" } }, { @@ -4322,7 +4322,7 @@ "alias": "he_pwid_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -4330,7 +4330,7 @@ "alias": "he_pwid_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -4338,7 +4338,7 @@ "alias": "he_pwid_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -4346,7 +4346,7 @@ "alias": "he_pwid_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -4354,7 +4354,7 @@ "alias": "he_pwid_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -4362,7 +4362,7 @@ "alias": "he_pwid_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -4370,7 +4370,7 @@ "alias": "he_pwid_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -4378,7 +4378,7 @@ "alias": "he_pwid_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -4386,7 +4386,7 @@ "alias": "he_pwid_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -4394,7 +4394,7 @@ "alias": "he_pwid_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -4402,7 +4402,7 @@ "alias": "he_pwid_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -4410,7 +4410,7 @@ "alias": "he_pwid_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -4418,7 +4418,7 @@ "alias": "he_pwid_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -4426,7 +4426,7 @@ "alias": "he_pwid_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -4434,7 +4434,7 @@ "alias": "he_pwid_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -4442,7 +4442,7 @@ "alias": "he_pwid_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -4450,7 +4450,7 @@ "alias": "he_pwid_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -4458,7 +4458,7 @@ "alias": "he_pwid_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -4466,7 +4466,7 @@ "alias": "he_pwid_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -4474,7 +4474,7 @@ "alias": "he_pwid_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -4482,7 +4482,7 @@ "alias": "he_pwid_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -4490,7 +4490,7 @@ "alias": "he_pwid_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -4498,7 +4498,7 @@ "alias": "total_he_pwid", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 6), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" } }, { @@ -4514,7 +4514,7 @@ "alias": "he_ow_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -4530,7 +4530,7 @@ "alias": "he_ow_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -4546,7 +4546,7 @@ "alias": "he_ow_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -4562,7 +4562,7 @@ "alias": "he_ow_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -4578,7 +4578,7 @@ "alias": "he_ow_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -4594,7 +4594,7 @@ "alias": "he_ow_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -4610,7 +4610,7 @@ "alias": "he_ow_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -4626,7 +4626,7 @@ "alias": "he_ow_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -4642,7 +4642,7 @@ "alias": "he_ow_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -4658,7 +4658,7 @@ "alias": "he_ow_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -4674,7 +4674,7 @@ "alias": "he_ow_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -4682,7 +4682,7 @@ "alias": "total_he_ow", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 7), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" } }, { @@ -4690,7 +4690,7 @@ "alias": "he_sdc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -4698,7 +4698,7 @@ "alias": "he_sdc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -4706,7 +4706,7 @@ "alias": "he_sdc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -4714,7 +4714,7 @@ "alias": "he_sdc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -4722,7 +4722,7 @@ "alias": "he_sdc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -4730,7 +4730,7 @@ "alias": "he_sdc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -4738,7 +4738,7 @@ "alias": "he_sdc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -4746,7 +4746,7 @@ "alias": "he_sdc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -4754,7 +4754,7 @@ "alias": "he_sdc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -4762,7 +4762,7 @@ "alias": "he_sdc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -4770,7 +4770,7 @@ "alias": "he_sdc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -4778,7 +4778,7 @@ "alias": "he_sdc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -4786,7 +4786,7 @@ "alias": "he_sdc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -4794,7 +4794,7 @@ "alias": "he_sdc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -4802,7 +4802,7 @@ "alias": "he_sdc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -4810,7 +4810,7 @@ "alias": "he_sdc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -4818,7 +4818,7 @@ "alias": "he_sdc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -4826,7 +4826,7 @@ "alias": "he_sdc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -4834,7 +4834,7 @@ "alias": "he_sdc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -4842,7 +4842,7 @@ "alias": "he_sdc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -4850,7 +4850,7 @@ "alias": "he_sdc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -4858,7 +4858,7 @@ "alias": "he_sdc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -4866,7 +4866,7 @@ "alias": "total_he_sdc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, { diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json index 2b10a3199..bd83d97e7 100644 --- a/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json @@ -90,7 +90,7 @@ "alias": "i_tg_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -98,7 +98,7 @@ "alias": "i_tg_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -106,7 +106,7 @@ "alias": "i_tg_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -114,7 +114,7 @@ "alias": "i_tg_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -122,7 +122,7 @@ "alias": "i_tg_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -130,7 +130,7 @@ "alias": "i_tg_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -138,7 +138,7 @@ "alias": "i_tg_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -146,7 +146,7 @@ "alias": "i_tg_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -154,7 +154,7 @@ "alias": "i_tg_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -162,7 +162,7 @@ "alias": "i_tg_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -170,7 +170,7 @@ "alias": "i_tg_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -178,7 +178,7 @@ "alias": "i_tg_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -186,7 +186,7 @@ "alias": "i_tg_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -194,7 +194,7 @@ "alias": "i_tg_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -202,7 +202,7 @@ "alias": "i_tg_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -210,7 +210,7 @@ "alias": "i_tg_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -218,7 +218,7 @@ "alias": "i_tg_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -226,7 +226,7 @@ "alias": "i_tg_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -234,7 +234,7 @@ "alias": "i_tg_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -242,7 +242,7 @@ "alias": "i_tg_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -250,7 +250,7 @@ "alias": "i_tg_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -258,7 +258,7 @@ "alias": "i_tg_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -458,7 +458,7 @@ "alias": "i_msm_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -474,7 +474,7 @@ "alias": "i_msm_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -490,7 +490,7 @@ "alias": "i_msm_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -506,7 +506,7 @@ "alias": "i_msm_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -522,7 +522,7 @@ "alias": "i_msm_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -538,7 +538,7 @@ "alias": "i_msm_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -554,7 +554,7 @@ "alias": "i_msm_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -570,7 +570,7 @@ "alias": "i_msm_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -586,7 +586,7 @@ "alias": "i_msm_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -602,7 +602,7 @@ "alias": "i_msm_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -618,7 +618,7 @@ "alias": "i_msm_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -634,7 +634,7 @@ "alias": "total_i_msm", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 3), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" } }, { @@ -642,7 +642,7 @@ "alias": "i_mahr_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -658,7 +658,7 @@ "alias": "i_mahr_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -674,7 +674,7 @@ "alias": "i_mahr_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -690,7 +690,7 @@ "alias": "i_mahr_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -706,7 +706,7 @@ "alias": "i_mahr_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -722,7 +722,7 @@ "alias": "i_mahr_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -738,7 +738,7 @@ "alias": "i_mahr_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -754,7 +754,7 @@ "alias": "i_mahr_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -770,7 +770,7 @@ "alias": "i_mahr_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -786,7 +786,7 @@ "alias": "i_mahr_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -802,7 +802,7 @@ "alias": "i_mahr_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -818,7 +818,7 @@ "alias": "total_i_mahr", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 4), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" } }, { @@ -834,7 +834,7 @@ "alias": "i_fsw_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -850,7 +850,7 @@ "alias": "i_fsw_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -866,7 +866,7 @@ "alias": "i_fsw_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -882,7 +882,7 @@ "alias": "i_fsw_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -898,7 +898,7 @@ "alias": "i_fsw_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -914,7 +914,7 @@ "alias": "i_fsw_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -930,7 +930,7 @@ "alias": "i_fsw_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -946,7 +946,7 @@ "alias": "i_fsw_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -962,7 +962,7 @@ "alias": "i_fsw_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -978,7 +978,7 @@ "alias": "i_fsw_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -994,7 +994,7 @@ "alias": "i_fsw_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1002,7 +1002,7 @@ "alias": "total_i_fsw", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 5), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" } }, { @@ -1010,7 +1010,7 @@ "alias": "i_pwid_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1018,7 +1018,7 @@ "alias": "i_pwid_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1026,7 +1026,7 @@ "alias": "i_pwid_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1034,7 +1034,7 @@ "alias": "i_pwid_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1042,7 +1042,7 @@ "alias": "i_pwid_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1050,7 +1050,7 @@ "alias": "i_pwid_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1058,7 +1058,7 @@ "alias": "i_pwid_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1066,7 +1066,7 @@ "alias": "i_pwid_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1074,7 +1074,7 @@ "alias": "i_pwid_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1082,7 +1082,7 @@ "alias": "i_pwid_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1090,7 +1090,7 @@ "alias": "i_pwid_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1098,7 +1098,7 @@ "alias": "i_pwid_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1106,7 +1106,7 @@ "alias": "i_pwid_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1114,7 +1114,7 @@ "alias": "i_pwid_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1122,7 +1122,7 @@ "alias": "i_pwid_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1130,7 +1130,7 @@ "alias": "i_pwid_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1138,7 +1138,7 @@ "alias": "i_pwid_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1146,7 +1146,7 @@ "alias": "i_pwid_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1154,7 +1154,7 @@ "alias": "i_pwid_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1162,7 +1162,7 @@ "alias": "i_pwid_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1170,7 +1170,7 @@ "alias": "i_pwid_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1178,7 +1178,7 @@ "alias": "i_pwid_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1186,7 +1186,7 @@ "alias": "total_i_pwid", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 6), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" } }, { @@ -1202,7 +1202,7 @@ "alias": "i_ow_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1218,7 +1218,7 @@ "alias": "i_ow_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1234,7 +1234,7 @@ "alias": "i_ow_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1250,7 +1250,7 @@ "alias": "i_ow_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1266,7 +1266,7 @@ "alias": "i_ow_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1282,7 +1282,7 @@ "alias": "i_ow_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1298,7 +1298,7 @@ "alias": "i_ow_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1314,7 +1314,7 @@ "alias": "i_ow_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1330,7 +1330,7 @@ "alias": "i_ow_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1346,7 +1346,7 @@ "alias": "i_ow_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1362,7 +1362,7 @@ "alias": "i_ow_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1370,7 +1370,7 @@ "alias": "total_i_ow", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 7), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" } }, { @@ -1378,7 +1378,7 @@ "alias": "i_sdc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1386,7 +1386,7 @@ "alias": "i_sdc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1394,7 +1394,7 @@ "alias": "i_sdc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1402,7 +1402,7 @@ "alias": "i_sdc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1410,7 +1410,7 @@ "alias": "i_sdc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1418,7 +1418,7 @@ "alias": "i_sdc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1426,7 +1426,7 @@ "alias": "i_sdc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1434,7 +1434,7 @@ "alias": "i_sdc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1442,7 +1442,7 @@ "alias": "i_sdc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1450,7 +1450,7 @@ "alias": "i_sdc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1458,7 +1458,7 @@ "alias": "i_sdc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1466,7 +1466,7 @@ "alias": "i_sdc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1474,7 +1474,7 @@ "alias": "i_sdc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1482,7 +1482,7 @@ "alias": "i_sdc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1490,7 +1490,7 @@ "alias": "i_sdc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1498,7 +1498,7 @@ "alias": "i_sdc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1506,7 +1506,7 @@ "alias": "i_sdc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1514,7 +1514,7 @@ "alias": "i_sdc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1522,7 +1522,7 @@ "alias": "i_sdc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1530,7 +1530,7 @@ "alias": "i_sdc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1538,7 +1538,7 @@ "alias": "i_sdc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1546,7 +1546,7 @@ "alias": "i_sdc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1554,7 +1554,7 @@ "alias": "total_i_sdc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, { diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-base.json index 4ce2aa3f7..f5f66a2c1 100644 --- a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-base.json +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-base.json @@ -93,7 +93,7 @@ "alias": "cvp_sc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -101,7 +101,7 @@ "alias": "cvp_sc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -109,7 +109,7 @@ "alias": "cvp_sc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -117,7 +117,7 @@ "alias": "cvp_sc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -125,7 +125,7 @@ "alias": "cvp_sc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -133,7 +133,7 @@ "alias": "cvp_sc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -141,7 +141,7 @@ "alias": "cvp_sc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -149,7 +149,7 @@ "alias": "cvp_sc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -157,7 +157,7 @@ "alias": "cvp_sc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -165,7 +165,7 @@ "alias": "cvp_sc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -173,7 +173,7 @@ "alias": "cvp_sc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -181,7 +181,7 @@ "alias": "cvp_sc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -189,7 +189,7 @@ "alias": "cvp_sc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -197,7 +197,7 @@ "alias": "cvp_sc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -205,7 +205,7 @@ "alias": "cvp_sc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -213,7 +213,7 @@ "alias": "cvp_sc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -221,7 +221,7 @@ "alias": "cvp_sc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -229,7 +229,7 @@ "alias": "cvp_sc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -237,7 +237,7 @@ "alias": "cvp_sc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -245,7 +245,7 @@ "alias": "cvp_sc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -253,7 +253,7 @@ "alias": "cvp_sc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -261,7 +261,7 @@ "alias": "cvp_sc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -269,7 +269,7 @@ "alias": "total_cvp_sc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '6688' AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, { @@ -277,7 +277,7 @@ "alias": "aa_sc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -285,7 +285,7 @@ "alias": "aa_sc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -293,7 +293,7 @@ "alias": "aa_sc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -301,7 +301,7 @@ "alias": "aa_sc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -309,7 +309,7 @@ "alias": "aa_sc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -317,7 +317,7 @@ "alias": "aa_sc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -325,7 +325,7 @@ "alias": "aa_sc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -333,7 +333,7 @@ "alias": "aa_sc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -341,7 +341,7 @@ "alias": "aa_sc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -349,7 +349,7 @@ "alias": "aa_sc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -357,7 +357,7 @@ "alias": "aa_sc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -365,7 +365,7 @@ "alias": "aa_sc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -373,7 +373,7 @@ "alias": "aa_sc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -381,7 +381,7 @@ "alias": "aa_sc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -389,7 +389,7 @@ "alias": "aa_sc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -397,7 +397,7 @@ "alias": "aa_sc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -405,7 +405,7 @@ "alias": "aa_sc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -413,7 +413,7 @@ "alias": "aa_sc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -421,7 +421,7 @@ "alias": "aa_sc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -429,7 +429,7 @@ "alias": "aa_sc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -437,7 +437,7 @@ "alias": "aa_sc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -445,7 +445,7 @@ "alias": "aa_sc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -453,7 +453,7 @@ "alias": "total_aa_sc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, { @@ -645,7 +645,7 @@ "alias": "bb_tg_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -653,7 +653,7 @@ "alias": "bb_tg_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -661,7 +661,7 @@ "alias": "bb_tg_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -669,7 +669,7 @@ "alias": "bb_tg_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -677,7 +677,7 @@ "alias": "bb_tg_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -685,7 +685,7 @@ "alias": "bb_tg_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -693,7 +693,7 @@ "alias": "bb_tg_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -701,7 +701,7 @@ "alias": "bb_tg_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -709,7 +709,7 @@ "alias": "bb_tg_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -717,7 +717,7 @@ "alias": "bb_tg_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -725,7 +725,7 @@ "alias": "bb_tg_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -733,7 +733,7 @@ "alias": "bb_tg_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -741,7 +741,7 @@ "alias": "bb_tg_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -749,7 +749,7 @@ "alias": "bb_tg_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -757,7 +757,7 @@ "alias": "bb_tg_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -765,7 +765,7 @@ "alias": "bb_tg_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -773,7 +773,7 @@ "alias": "bb_tg_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -781,7 +781,7 @@ "alias": "bb_tg_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -789,7 +789,7 @@ "alias": "bb_tg_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -797,7 +797,7 @@ "alias": "bb_tg_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -805,7 +805,7 @@ "alias": "bb_tg_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -813,7 +813,7 @@ "alias": "bb_tg_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -821,7 +821,7 @@ "alias": "total_bb_tg", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 1), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.sub_population_type = 60 OR pd.population_type = 1)), 1, NULL)" } }, { @@ -829,7 +829,7 @@ "alias": "bb_msm_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -845,7 +845,7 @@ "alias": "bb_msm_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -861,7 +861,7 @@ "alias": "bb_msm_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -877,7 +877,7 @@ "alias": "bb_msm_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -893,7 +893,7 @@ "alias": "bb_msm_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -909,7 +909,7 @@ "alias": "bb_msm_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -925,7 +925,7 @@ "alias": "bb_msm_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -941,7 +941,7 @@ "alias": "bb_msm_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -957,7 +957,7 @@ "alias": "bb_msm_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -973,7 +973,7 @@ "alias": "bb_msm_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -989,7 +989,7 @@ "alias": "bb_msm_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -1005,7 +1005,7 @@ "alias": "total_bb_msm", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 3), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" } }, { @@ -1197,7 +1197,7 @@ "alias": "bb_mhr_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1213,7 +1213,7 @@ "alias": "bb_mhr_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1229,7 +1229,7 @@ "alias": "bb_mhr_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1245,7 +1245,7 @@ "alias": "bb_mhr_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1261,7 +1261,7 @@ "alias": "bb_mhr_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1277,7 +1277,7 @@ "alias": "bb_mhr_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1293,7 +1293,7 @@ "alias": "bb_mhr_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1309,7 +1309,7 @@ "alias": "bb_mhr_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1325,7 +1325,7 @@ "alias": "bb_mhr_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1341,7 +1341,7 @@ "alias": "bb_mhr_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1357,7 +1357,7 @@ "alias": "bb_mhr_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -1373,7 +1373,7 @@ "alias": "total_bb_mhr", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 4), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" } }, { @@ -1389,7 +1389,7 @@ "alias": "bb_fsw_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1405,7 +1405,7 @@ "alias": "bb_fsw_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1421,7 +1421,7 @@ "alias": "bb_fsw_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1437,7 +1437,7 @@ "alias": "bb_fsw_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1453,7 +1453,7 @@ "alias": "bb_fsw_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1469,7 +1469,7 @@ "alias": "bb_fsw_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1485,7 +1485,7 @@ "alias": "bb_fsw_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1501,7 +1501,7 @@ "alias": "bb_fsw_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1517,7 +1517,7 @@ "alias": "bb_fsw_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1533,7 +1533,7 @@ "alias": "bb_fsw_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1549,7 +1549,7 @@ "alias": "bb_fsw_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -1557,7 +1557,7 @@ "alias": "total_bb_fsw", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 5), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" } }, { @@ -1565,7 +1565,7 @@ "alias": "bb_pwid_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1573,7 +1573,7 @@ "alias": "bb_pwid_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1581,7 +1581,7 @@ "alias": "bb_pwid_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1589,7 +1589,7 @@ "alias": "bb_pwid_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1597,7 +1597,7 @@ "alias": "bb_pwid_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1605,7 +1605,7 @@ "alias": "bb_pwid_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1613,7 +1613,7 @@ "alias": "bb_pwid_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1621,7 +1621,7 @@ "alias": "bb_pwid_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1629,7 +1629,7 @@ "alias": "bb_pwid_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1637,7 +1637,7 @@ "alias": "bb_pwid_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1645,7 +1645,7 @@ "alias": "bb_pwid_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1653,7 +1653,7 @@ "alias": "bb_pwid_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1661,7 +1661,7 @@ "alias": "bb_pwid_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1669,7 +1669,7 @@ "alias": "bb_pwid_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1677,7 +1677,7 @@ "alias": "bb_pwid_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1685,7 +1685,7 @@ "alias": "bb_pwid_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1693,7 +1693,7 @@ "alias": "bb_pwid_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1701,7 +1701,7 @@ "alias": "bb_pwid_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1709,7 +1709,7 @@ "alias": "bb_pwid_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1717,7 +1717,7 @@ "alias": "bb_pwid_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1725,7 +1725,7 @@ "alias": "bb_pwid_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -1733,7 +1733,7 @@ "alias": "bb_pwid_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -1741,7 +1741,7 @@ "alias": "total_bb_pwid", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 6), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" } }, { @@ -1757,7 +1757,7 @@ "alias": "bb_ow_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1773,7 +1773,7 @@ "alias": "bb_ow_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1789,7 +1789,7 @@ "alias": "bb_ow_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1805,7 +1805,7 @@ "alias": "bb_ow_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1821,7 +1821,7 @@ "alias": "bb_ow_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1837,7 +1837,7 @@ "alias": "bb_ow_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1853,7 +1853,7 @@ "alias": "bb_ow_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1869,7 +1869,7 @@ "alias": "bb_ow_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1885,7 +1885,7 @@ "alias": "bb_ow_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1901,7 +1901,7 @@ "alias": "bb_ow_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1917,7 +1917,7 @@ "alias": "bb_ow_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -1925,7 +1925,7 @@ "alias": "total_bb_ow", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 7), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" } }, { @@ -1933,7 +1933,7 @@ "alias": "bb_sc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1941,7 +1941,7 @@ "alias": "bb_sc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1949,7 +1949,7 @@ "alias": "bb_sc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1957,7 +1957,7 @@ "alias": "bb_sc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1965,7 +1965,7 @@ "alias": "bb_sc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1973,7 +1973,7 @@ "alias": "bb_sc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1981,7 +1981,7 @@ "alias": "bb_sc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1989,7 +1989,7 @@ "alias": "bb_sc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1997,7 +1997,7 @@ "alias": "bb_sc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2005,7 +2005,7 @@ "alias": "bb_sc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2013,7 +2013,7 @@ "alias": "bb_sc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2021,7 +2021,7 @@ "alias": "bb_sc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2029,7 +2029,7 @@ "alias": "bb_sc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2037,7 +2037,7 @@ "alias": "bb_sc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2045,7 +2045,7 @@ "alias": "bb_sc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2053,7 +2053,7 @@ "alias": "bb_sc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2061,7 +2061,7 @@ "alias": "bb_sc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2069,7 +2069,7 @@ "alias": "bb_sc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2077,7 +2077,7 @@ "alias": "bb_sc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2085,7 +2085,7 @@ "alias": "bb_sc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2093,7 +2093,7 @@ "alias": "bb_sc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -2101,7 +2101,7 @@ "alias": "bb_sc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -2109,7 +2109,7 @@ "alias": "total_bb_sc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, { @@ -2301,7 +2301,7 @@ "alias": "cc_tg_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2309,7 +2309,7 @@ "alias": "cc_tg_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2317,7 +2317,7 @@ "alias": "cc_tg_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2325,7 +2325,7 @@ "alias": "cc_tg_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2333,7 +2333,7 @@ "alias": "cc_tg_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2341,7 +2341,7 @@ "alias": "cc_tg_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2349,7 +2349,7 @@ "alias": "cc_tg_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2357,7 +2357,7 @@ "alias": "cc_tg_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2365,7 +2365,7 @@ "alias": "cc_tg_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2373,7 +2373,7 @@ "alias": "cc_tg_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2381,7 +2381,7 @@ "alias": "cc_tg_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2389,7 +2389,7 @@ "alias": "cc_tg_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2397,7 +2397,7 @@ "alias": "cc_tg_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2405,7 +2405,7 @@ "alias": "cc_tg_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2413,7 +2413,7 @@ "alias": "cc_tg_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2421,7 +2421,7 @@ "alias": "cc_tg_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2429,7 +2429,7 @@ "alias": "cc_tg_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2437,7 +2437,7 @@ "alias": "cc_tg_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2445,7 +2445,7 @@ "alias": "cc_tg_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2453,7 +2453,7 @@ "alias": "cc_tg_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2461,7 +2461,7 @@ "alias": "cc_tg_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -2469,7 +2469,7 @@ "alias": "cc_tg_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -2477,7 +2477,7 @@ "alias": "total_cc_tg", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 1), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.sub_population_type = 60 OR pd.population_type = 1)), 1, NULL)" } }, { @@ -2485,7 +2485,7 @@ "alias": "cc_msm_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2501,7 +2501,7 @@ "alias": "cc_msm_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2517,7 +2517,7 @@ "alias": "cc_msm_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2533,7 +2533,7 @@ "alias": "cc_msm_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2549,7 +2549,7 @@ "alias": "cc_msm_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2565,7 +2565,7 @@ "alias": "cc_msm_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2581,7 +2581,7 @@ "alias": "cc_msm_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2597,7 +2597,7 @@ "alias": "cc_msm_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2613,7 +2613,7 @@ "alias": "cc_msm_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2629,7 +2629,7 @@ "alias": "cc_msm_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2645,7 +2645,7 @@ "alias": "cc_msm_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -2661,7 +2661,7 @@ "alias": "total_cc_msm", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 3), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" } }, { @@ -2853,7 +2853,7 @@ "alias": "cc_mhr_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2869,7 +2869,7 @@ "alias": "cc_mhr_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2885,7 +2885,7 @@ "alias": "cc_mhr_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2901,7 +2901,7 @@ "alias": "cc_mhr_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2917,7 +2917,7 @@ "alias": "cc_mhr_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2933,7 +2933,7 @@ "alias": "cc_mhr_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2949,7 +2949,7 @@ "alias": "cc_mhr_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2965,7 +2965,7 @@ "alias": "cc_mhr_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2981,7 +2981,7 @@ "alias": "cc_mhr_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2997,7 +2997,7 @@ "alias": "cc_mhr_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3013,7 +3013,7 @@ "alias": "cc_mhr_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -3029,7 +3029,7 @@ "alias": "total_cc_mhr", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 4), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" } }, { @@ -3045,7 +3045,7 @@ "alias": "cc_fsw_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3061,7 +3061,7 @@ "alias": "cc_fsw_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3077,7 +3077,7 @@ "alias": "cc_fsw_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3093,7 +3093,7 @@ "alias": "cc_fsw_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3109,7 +3109,7 @@ "alias": "cc_fsw_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3125,7 +3125,7 @@ "alias": "cc_fsw_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3141,7 +3141,7 @@ "alias": "cc_fsw_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3157,7 +3157,7 @@ "alias": "cc_fsw_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3173,7 +3173,7 @@ "alias": "cc_fsw_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3189,7 +3189,7 @@ "alias": "cc_fsw_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3205,7 +3205,7 @@ "alias": "cc_fsw_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -3213,7 +3213,7 @@ "alias": "total_cc_fsw", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 5), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" } }, { @@ -3221,7 +3221,7 @@ "alias": "cc_pwid_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3229,7 +3229,7 @@ "alias": "cc_pwid_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3237,7 +3237,7 @@ "alias": "cc_pwid_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3245,7 +3245,7 @@ "alias": "cc_pwid_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3253,7 +3253,7 @@ "alias": "cc_pwid_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3261,7 +3261,7 @@ "alias": "cc_pwid_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3269,7 +3269,7 @@ "alias": "cc_pwid_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3277,7 +3277,7 @@ "alias": "cc_pwid_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3285,7 +3285,7 @@ "alias": "cc_pwid_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3293,7 +3293,7 @@ "alias": "cc_pwid_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3301,7 +3301,7 @@ "alias": "cc_pwid_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3309,7 +3309,7 @@ "alias": "cc_pwid_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3317,7 +3317,7 @@ "alias": "cc_pwid_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3325,7 +3325,7 @@ "alias": "cc_pwid_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3333,7 +3333,7 @@ "alias": "cc_pwid_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3341,7 +3341,7 @@ "alias": "cc_pwid_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3349,7 +3349,7 @@ "alias": "cc_pwid_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3357,7 +3357,7 @@ "alias": "cc_pwid_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3365,7 +3365,7 @@ "alias": "cc_pwid_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3373,7 +3373,7 @@ "alias": "cc_pwid_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3381,7 +3381,7 @@ "alias": "cc_pwid_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -3389,7 +3389,7 @@ "alias": "cc_pwid_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -3397,7 +3397,7 @@ "alias": "total_cc_pwid", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 6), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" } }, { @@ -3413,7 +3413,7 @@ "alias": "cc_ow_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3429,7 +3429,7 @@ "alias": "cc_ow_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3445,7 +3445,7 @@ "alias": "cc_ow_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3461,7 +3461,7 @@ "alias": "cc_ow_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3477,7 +3477,7 @@ "alias": "cc_ow_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3493,7 +3493,7 @@ "alias": "cc_ow_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3509,7 +3509,7 @@ "alias": "cc_ow_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3525,7 +3525,7 @@ "alias": "cc_ow_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3541,7 +3541,7 @@ "alias": "cc_ow_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3557,7 +3557,7 @@ "alias": "cc_ow_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3573,7 +3573,7 @@ "alias": "cc_ow_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -3581,7 +3581,7 @@ "alias": "total_cc_ow", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 7), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" } }, { @@ -3589,7 +3589,7 @@ "alias": "cc_sc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3597,7 +3597,7 @@ "alias": "cc_sc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3605,7 +3605,7 @@ "alias": "cc_sc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3613,7 +3613,7 @@ "alias": "cc_sc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3621,7 +3621,7 @@ "alias": "cc_sc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3629,7 +3629,7 @@ "alias": "cc_sc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3637,7 +3637,7 @@ "alias": "cc_sc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3645,7 +3645,7 @@ "alias": "cc_sc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3653,7 +3653,7 @@ "alias": "cc_sc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3661,7 +3661,7 @@ "alias": "cc_sc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3669,7 +3669,7 @@ "alias": "cc_sc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3677,7 +3677,7 @@ "alias": "cc_sc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3685,7 +3685,7 @@ "alias": "cc_sc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3693,7 +3693,7 @@ "alias": "cc_sc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3701,7 +3701,7 @@ "alias": "cc_sc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3709,7 +3709,7 @@ "alias": "cc_sc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3717,7 +3717,7 @@ "alias": "cc_sc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3725,7 +3725,7 @@ "alias": "cc_sc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3733,7 +3733,7 @@ "alias": "cc_sc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3741,7 +3741,7 @@ "alias": "cc_sc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3749,7 +3749,7 @@ "alias": "cc_sc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -3757,7 +3757,7 @@ "alias": "cc_sc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -3765,7 +3765,7 @@ "alias": "total_cc_sc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, { diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/restarting/restarting-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/restarting/restarting-prep-base.json index 7d5e7150d..016a3e70a 100644 --- a/app/reporting-framework/json-reports/prep-monthly/disaggregations/restarting/restarting-prep-base.json +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/restarting/restarting-prep-base.json @@ -90,7 +90,7 @@ "alias": "re_tg_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -98,7 +98,7 @@ "alias": "re_tg_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -106,7 +106,7 @@ "alias": "re_tg_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -114,7 +114,7 @@ "alias": "re_tg_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -122,7 +122,7 @@ "alias": "re_tg_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -130,7 +130,7 @@ "alias": "re_tg_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -138,7 +138,7 @@ "alias": "re_tg_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -146,7 +146,7 @@ "alias": "re_tg_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -154,7 +154,7 @@ "alias": "re_tg_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -162,7 +162,7 @@ "alias": "re_tg_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -170,7 +170,7 @@ "alias": "re_tg_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -178,7 +178,7 @@ "alias": "re_tg_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -186,7 +186,7 @@ "alias": "re_tg_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -194,7 +194,7 @@ "alias": "re_tg_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -202,7 +202,7 @@ "alias": "re_tg_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -210,7 +210,7 @@ "alias": "re_tg_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -218,7 +218,7 @@ "alias": "re_tg_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -226,7 +226,7 @@ "alias": "re_tg_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -234,7 +234,7 @@ "alias": "re_tg_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -242,7 +242,7 @@ "alias": "re_tg_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -250,7 +250,7 @@ "alias": "re_tg_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -258,7 +258,7 @@ "alias": "re_tg_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -266,7 +266,7 @@ "alias": "total_re_tg", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 1), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.sub_population_type = 60 OR pd.population_type = 1)), 1, NULL)" } }, { @@ -458,7 +458,7 @@ "alias": "re_msm_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -474,7 +474,7 @@ "alias": "re_msm_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -490,7 +490,7 @@ "alias": "re_msm_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -506,7 +506,7 @@ "alias": "re_msm_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -522,7 +522,7 @@ "alias": "re_msm_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -538,7 +538,7 @@ "alias": "re_msm_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -554,7 +554,7 @@ "alias": "re_msm_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -570,7 +570,7 @@ "alias": "re_msm_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -586,7 +586,7 @@ "alias": "re_msm_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -602,7 +602,7 @@ "alias": "re_msm_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -618,7 +618,7 @@ "alias": "re_msm_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -634,7 +634,7 @@ "alias": "total_re_msm", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 3), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" } }, { @@ -642,7 +642,7 @@ "alias": "re_mahr_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -658,7 +658,7 @@ "alias": "re_mahr_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -674,7 +674,7 @@ "alias": "re_mahr_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -690,7 +690,7 @@ "alias": "re_mahr_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -706,7 +706,7 @@ "alias": "re_mahr_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -722,7 +722,7 @@ "alias": "re_mahr_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -738,7 +738,7 @@ "alias": "re_mahr_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -754,7 +754,7 @@ "alias": "re_mahr_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -770,7 +770,7 @@ "alias": "re_mahr_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -786,7 +786,7 @@ "alias": "re_mahr_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -802,7 +802,7 @@ "alias": "re_mahr_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -818,7 +818,7 @@ "alias": "total_re_mahr", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 4), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" } }, { @@ -834,7 +834,7 @@ "alias": "re_fsw_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -850,7 +850,7 @@ "alias": "re_fsw_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -866,7 +866,7 @@ "alias": "re_fsw_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -882,7 +882,7 @@ "alias": "re_fsw_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -898,7 +898,7 @@ "alias": "re_fsw_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -914,7 +914,7 @@ "alias": "re_fsw_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -930,7 +930,7 @@ "alias": "re_fsw_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -946,7 +946,7 @@ "alias": "re_fsw_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -962,7 +962,7 @@ "alias": "re_fsw_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -978,7 +978,7 @@ "alias": "re_fsw_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -994,7 +994,7 @@ "alias": "re_fsw_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1002,7 +1002,7 @@ "alias": "total_re_fsw", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 5), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" } }, { @@ -1010,7 +1010,7 @@ "alias": "re_pwid_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1018,7 +1018,7 @@ "alias": "re_pwid_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1026,7 +1026,7 @@ "alias": "re_pwid_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1034,7 +1034,7 @@ "alias": "re_pwid_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1042,7 +1042,7 @@ "alias": "re_pwid_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1050,7 +1050,7 @@ "alias": "re_pwid_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1058,7 +1058,7 @@ "alias": "re_pwid_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1066,7 +1066,7 @@ "alias": "re_pwid_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1074,7 +1074,7 @@ "alias": "re_pwid_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1082,7 +1082,7 @@ "alias": "re_pwid_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1090,7 +1090,7 @@ "alias": "re_pwid_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1098,7 +1098,7 @@ "alias": "re_pwid_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1106,7 +1106,7 @@ "alias": "re_pwid_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1114,7 +1114,7 @@ "alias": "re_pwid_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1122,7 +1122,7 @@ "alias": "re_pwid_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1130,7 +1130,7 @@ "alias": "re_pwid_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1138,7 +1138,7 @@ "alias": "re_pwid_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1146,7 +1146,7 @@ "alias": "re_pwid_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1154,7 +1154,7 @@ "alias": "re_pwid_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1162,7 +1162,7 @@ "alias": "re_pwid_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1170,7 +1170,7 @@ "alias": "re_pwid_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1178,7 +1178,7 @@ "alias": "re_pwid_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1186,7 +1186,7 @@ "alias": "total_re_pwid", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 6), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" } }, { @@ -1202,7 +1202,7 @@ "alias": "re_ow_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1218,7 +1218,7 @@ "alias": "re_ow_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1234,7 +1234,7 @@ "alias": "re_ow_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1250,7 +1250,7 @@ "alias": "re_ow_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1266,7 +1266,7 @@ "alias": "re_ow_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1282,7 +1282,7 @@ "alias": "re_ow_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1298,7 +1298,7 @@ "alias": "re_ow_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1314,7 +1314,7 @@ "alias": "re_ow_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1330,7 +1330,7 @@ "alias": "re_ow_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1346,7 +1346,7 @@ "alias": "re_ow_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1362,7 +1362,7 @@ "alias": "re_ow_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1370,7 +1370,7 @@ "alias": "total_re_ow", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 7), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" } }, { @@ -1378,7 +1378,7 @@ "alias": "re_sdc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1386,7 +1386,7 @@ "alias": "re_sdc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1394,7 +1394,7 @@ "alias": "re_sdc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1402,7 +1402,7 @@ "alias": "re_sdc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1410,7 +1410,7 @@ "alias": "re_sdc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1418,7 +1418,7 @@ "alias": "re_sdc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1426,7 +1426,7 @@ "alias": "re_sdc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1434,7 +1434,7 @@ "alias": "re_sdc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1442,7 +1442,7 @@ "alias": "re_sdc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1450,7 +1450,7 @@ "alias": "re_sdc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1458,7 +1458,7 @@ "alias": "re_sdc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1466,7 +1466,7 @@ "alias": "re_sdc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1474,7 +1474,7 @@ "alias": "re_sdc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1482,7 +1482,7 @@ "alias": "re_sdc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1490,7 +1490,7 @@ "alias": "re_sdc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1498,7 +1498,7 @@ "alias": "re_sdc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1506,7 +1506,7 @@ "alias": "re_sdc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1514,7 +1514,7 @@ "alias": "re_sdc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1522,7 +1522,7 @@ "alias": "re_sdc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1530,7 +1530,7 @@ "alias": "re_sdc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1538,7 +1538,7 @@ "alias": "re_sdc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1546,7 +1546,7 @@ "alias": "re_sdc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1554,7 +1554,7 @@ "alias": "total_re_sdc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, { diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-base.json index 0e4eec9b3..f4d6657b0 100644 --- a/app/reporting-framework/json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-base.json +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-base.json @@ -95,7 +95,7 @@ "alias": "tp_tg_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -103,7 +103,7 @@ "alias": "tp_tg_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -111,7 +111,7 @@ "alias": "tp_tg_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -119,7 +119,7 @@ "alias": "tp_tg_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -127,7 +127,7 @@ "alias": "tp_tg_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -135,7 +135,7 @@ "alias": "tp_tg_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -143,7 +143,7 @@ "alias": "tp_tg_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -151,7 +151,7 @@ "alias": "tp_tg_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -159,7 +159,7 @@ "alias": "tp_tg_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -167,7 +167,7 @@ "alias": "tp_tg_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -175,7 +175,7 @@ "alias": "tp_tg_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -183,7 +183,7 @@ "alias": "tp_tg_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -191,7 +191,7 @@ "alias": "tp_tg_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -199,7 +199,7 @@ "alias": "tp_tg_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -207,7 +207,7 @@ "alias": "tp_tg_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -215,7 +215,7 @@ "alias": "tp_tg_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -223,7 +223,7 @@ "alias": "tp_tg_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -231,7 +231,7 @@ "alias": "tp_tg_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -239,7 +239,7 @@ "alias": "tp_tg_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -247,7 +247,7 @@ "alias": "tp_tg_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -255,7 +255,7 @@ "alias": "tp_tg_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -263,7 +263,7 @@ "alias": "tp_tg_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -271,7 +271,7 @@ "alias": "total_tp_tg", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 1), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.sub_population_type = 60 OR pd.population_type = 1)), 1, NULL)" } }, { @@ -463,7 +463,7 @@ "alias": "tp_msm_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -479,7 +479,7 @@ "alias": "tp_msm_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -495,7 +495,7 @@ "alias": "tp_msm_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -511,7 +511,7 @@ "alias": "tp_msm_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -527,7 +527,7 @@ "alias": "tp_msm_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -543,7 +543,7 @@ "alias": "tp_msm_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -559,7 +559,7 @@ "alias": "tp_msm_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -575,7 +575,7 @@ "alias": "tp_msm_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -591,7 +591,7 @@ "alias": "tp_msm_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -607,7 +607,7 @@ "alias": "tp_msm_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -623,7 +623,7 @@ "alias": "tp_msm_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -639,7 +639,7 @@ "alias": "total_tp_msm", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 3), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" } }, { @@ -647,7 +647,7 @@ "alias": "tp_mahr_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -663,7 +663,7 @@ "alias": "tp_mahr_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -679,7 +679,7 @@ "alias": "tp_mahr_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -695,7 +695,7 @@ "alias": "tp_mahr_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -711,7 +711,7 @@ "alias": "tp_mahr_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -727,7 +727,7 @@ "alias": "tp_mahr_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -743,7 +743,7 @@ "alias": "tp_mahr_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -759,7 +759,7 @@ "alias": "tp_mahr_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -775,7 +775,7 @@ "alias": "tp_mahr_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -791,7 +791,7 @@ "alias": "tp_mahr_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -807,7 +807,7 @@ "alias": "tp_mahr_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -823,7 +823,7 @@ "alias": "total_tp_mahr", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 4), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" } }, { @@ -839,7 +839,7 @@ "alias": "tp_fsw_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -855,7 +855,7 @@ "alias": "tp_fsw_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -871,7 +871,7 @@ "alias": "tp_fsw_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -887,7 +887,7 @@ "alias": "tp_fsw_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -903,7 +903,7 @@ "alias": "tp_fsw_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -919,7 +919,7 @@ "alias": "tp_fsw_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -935,7 +935,7 @@ "alias": "tp_fsw_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -951,7 +951,7 @@ "alias": "tp_fsw_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -967,7 +967,7 @@ "alias": "tp_fsw_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -983,7 +983,7 @@ "alias": "tp_fsw_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -999,7 +999,7 @@ "alias": "tp_fsw_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1007,7 +1007,7 @@ "alias": "total_tp_fsw", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 5), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" } }, { @@ -1015,7 +1015,7 @@ "alias": "tp_pwid_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1023,7 +1023,7 @@ "alias": "tp_pwid_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1031,7 +1031,7 @@ "alias": "tp_pwid_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1039,7 +1039,7 @@ "alias": "tp_pwid_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1047,7 +1047,7 @@ "alias": "tp_pwid_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1055,7 +1055,7 @@ "alias": "tp_pwid_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1063,7 +1063,7 @@ "alias": "tp_pwid_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1071,7 +1071,7 @@ "alias": "tp_pwid_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1079,7 +1079,7 @@ "alias": "tp_pwid_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1087,7 +1087,7 @@ "alias": "tp_pwid_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1095,7 +1095,7 @@ "alias": "tp_pwid_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1103,7 +1103,7 @@ "alias": "tp_pwid_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1111,7 +1111,7 @@ "alias": "tp_pwid_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1119,7 +1119,7 @@ "alias": "tp_pwid_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1127,7 +1127,7 @@ "alias": "tp_pwid_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1135,7 +1135,7 @@ "alias": "tp_pwid_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1143,7 +1143,7 @@ "alias": "tp_pwid_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1151,7 +1151,7 @@ "alias": "tp_pwid_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1159,7 +1159,7 @@ "alias": "tp_pwid_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1167,7 +1167,7 @@ "alias": "tp_pwid_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1175,7 +1175,7 @@ "alias": "tp_pwid_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1183,7 +1183,7 @@ "alias": "tp_pwid_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1191,7 +1191,7 @@ "alias": "total_tp_pwid", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 6), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" } }, { @@ -1207,7 +1207,7 @@ "alias": "tp_ow_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1223,7 +1223,7 @@ "alias": "tp_ow_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1239,7 +1239,7 @@ "alias": "tp_ow_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1255,7 +1255,7 @@ "alias": "tp_ow_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1271,7 +1271,7 @@ "alias": "tp_ow_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1287,7 +1287,7 @@ "alias": "tp_ow_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1303,7 +1303,7 @@ "alias": "tp_ow_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1319,7 +1319,7 @@ "alias": "tp_ow_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1335,7 +1335,7 @@ "alias": "tp_ow_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1351,7 +1351,7 @@ "alias": "tp_ow_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1367,7 +1367,7 @@ "alias": "tp_ow_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1375,7 +1375,7 @@ "alias": "total_tp_ow", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 7), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" } }, { @@ -1383,7 +1383,7 @@ "alias": "tp_sdc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1391,7 +1391,7 @@ "alias": "tp_sdc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1399,7 +1399,7 @@ "alias": "tp_sdc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1407,7 +1407,7 @@ "alias": "tp_sdc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1415,7 +1415,7 @@ "alias": "tp_sdc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1423,7 +1423,7 @@ "alias": "tp_sdc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1431,7 +1431,7 @@ "alias": "tp_sdc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1439,7 +1439,7 @@ "alias": "tp_sdc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1447,7 +1447,7 @@ "alias": "tp_sdc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1455,7 +1455,7 @@ "alias": "tp_sdc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1463,7 +1463,7 @@ "alias": "tp_sdc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1471,7 +1471,7 @@ "alias": "tp_sdc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1479,7 +1479,7 @@ "alias": "tp_sdc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1487,7 +1487,7 @@ "alias": "tp_sdc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1495,7 +1495,7 @@ "alias": "tp_sdc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1503,7 +1503,7 @@ "alias": "tp_sdc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1511,7 +1511,7 @@ "alias": "tp_sdc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1519,7 +1519,7 @@ "alias": "tp_sdc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1527,7 +1527,7 @@ "alias": "tp_sdc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1535,7 +1535,7 @@ "alias": "tp_sdc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1543,7 +1543,7 @@ "alias": "tp_sdc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1551,7 +1551,7 @@ "alias": "tp_sdc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -1559,7 +1559,7 @@ "alias": "total_tp_sdc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, { @@ -1751,7 +1751,7 @@ "alias": "d_tg_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1759,7 +1759,7 @@ "alias": "d_tg_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1767,7 +1767,7 @@ "alias": "d_tg_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1775,7 +1775,7 @@ "alias": "d_tg_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1783,7 +1783,7 @@ "alias": "d_tg_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1791,7 +1791,7 @@ "alias": "d_tg_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1799,7 +1799,7 @@ "alias": "d_tg_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1807,7 +1807,7 @@ "alias": "d_tg_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1815,7 +1815,7 @@ "alias": "d_tg_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1823,7 +1823,7 @@ "alias": "d_tg_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1831,7 +1831,7 @@ "alias": "d_tg_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1839,7 +1839,7 @@ "alias": "d_tg_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1847,7 +1847,7 @@ "alias": "d_tg_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1855,7 +1855,7 @@ "alias": "d_tg_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1863,7 +1863,7 @@ "alias": "d_tg_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1871,7 +1871,7 @@ "alias": "d_tg_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1879,7 +1879,7 @@ "alias": "d_tg_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1887,7 +1887,7 @@ "alias": "d_tg_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1895,7 +1895,7 @@ "alias": "d_tg_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1903,7 +1903,7 @@ "alias": "d_tg_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1911,7 +1911,7 @@ "alias": "d_tg_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -1919,7 +1919,7 @@ "alias": "d_tg_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1 AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" } }, { @@ -1927,7 +1927,7 @@ "alias": "total_d_tg", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 1), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.sub_population_type = 60 OR pd.population_type = 1)), 1, NULL)" } }, { @@ -2119,7 +2119,7 @@ "alias": "d_msm_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2135,7 +2135,7 @@ "alias": "d_msm_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2151,7 +2151,7 @@ "alias": "d_msm_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2167,7 +2167,7 @@ "alias": "d_msm_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2183,7 +2183,7 @@ "alias": "d_msm_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2199,7 +2199,7 @@ "alias": "d_msm_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2215,7 +2215,7 @@ "alias": "d_msm_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2231,7 +2231,7 @@ "alias": "d_msm_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2247,7 +2247,7 @@ "alias": "d_msm_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2263,7 +2263,7 @@ "alias": "d_msm_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2279,7 +2279,7 @@ "alias": "d_msm_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -2295,7 +2295,7 @@ "alias": "total_d_msm", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 3), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" } }, { @@ -2303,7 +2303,7 @@ "alias": "d_mahr_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2319,7 +2319,7 @@ "alias": "d_mahr_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2335,7 +2335,7 @@ "alias": "d_mahr_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2351,7 +2351,7 @@ "alias": "d_mahr_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2367,7 +2367,7 @@ "alias": "d_mahr_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2383,7 +2383,7 @@ "alias": "d_mahr_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2399,7 +2399,7 @@ "alias": "d_mahr_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2415,7 +2415,7 @@ "alias": "d_mahr_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2431,7 +2431,7 @@ "alias": "d_mahr_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2447,7 +2447,7 @@ "alias": "d_mahr_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2463,7 +2463,7 @@ "alias": "d_mahr_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 4 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -2479,7 +2479,7 @@ "alias": "total_d_mahr", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti= 1 AND pd.population_type = 4), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti= 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" } }, { @@ -2495,7 +2495,7 @@ "alias": "d_fsw_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2511,7 +2511,7 @@ "alias": "d_fsw_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2527,7 +2527,7 @@ "alias": "d_fsw_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2543,7 +2543,7 @@ "alias": "d_fsw_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2559,7 +2559,7 @@ "alias": "d_fsw_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2575,7 +2575,7 @@ "alias": "d_fsw_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2591,7 +2591,7 @@ "alias": "d_fsw_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2607,7 +2607,7 @@ "alias": "d_fsw_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2623,7 +2623,7 @@ "alias": "d_fsw_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2639,7 +2639,7 @@ "alias": "d_fsw_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2655,7 +2655,7 @@ "alias": "d_fsw_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 5 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -2663,7 +2663,7 @@ "alias": "total_d_fsw", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 5), 1, NULL)" + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" } }, { @@ -2671,7 +2671,7 @@ "alias": "d_pwid_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2679,7 +2679,7 @@ "alias": "d_pwid_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2687,7 +2687,7 @@ "alias": "d_pwid_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2695,7 +2695,7 @@ "alias": "d_pwid_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2703,7 +2703,7 @@ "alias": "d_pwid_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2711,7 +2711,7 @@ "alias": "d_pwid_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2719,7 +2719,7 @@ "alias": "d_pwid_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2727,7 +2727,7 @@ "alias": "d_pwid_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2735,7 +2735,7 @@ "alias": "d_pwid_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2743,7 +2743,7 @@ "alias": "d_pwid_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2751,7 +2751,7 @@ "alias": "d_pwid_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2759,7 +2759,7 @@ "alias": "d_pwid_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2767,7 +2767,7 @@ "alias": "d_pwid_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2775,7 +2775,7 @@ "alias": "d_pwid_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2783,7 +2783,7 @@ "alias": "d_pwid_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2791,7 +2791,7 @@ "alias": "d_pwid_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2799,7 +2799,7 @@ "alias": "d_pwid_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2807,7 +2807,7 @@ "alias": "d_pwid_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -2815,7 +2815,7 @@ "alias": "d_pwid_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2823,7 +2823,7 @@ "alias": "d_pwid_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -2831,7 +2831,7 @@ "alias": "d_pwid_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -2839,7 +2839,7 @@ "alias": "d_pwid_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -2847,7 +2847,7 @@ "alias": "total_d_pwid", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 6), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" } }, { @@ -2863,7 +2863,7 @@ "alias": "d_ow_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -2879,7 +2879,7 @@ "alias": "d_ow_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -2895,7 +2895,7 @@ "alias": "d_ow_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -2911,7 +2911,7 @@ "alias": "d_ow_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -2927,7 +2927,7 @@ "alias": "d_ow_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -2943,7 +2943,7 @@ "alias": "d_ow_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -2959,7 +2959,7 @@ "alias": "d_ow_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -2975,7 +2975,7 @@ "alias": "d_ow_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -2991,7 +2991,7 @@ "alias": "d_ow_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3007,7 +3007,7 @@ "alias": "d_ow_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3023,7 +3023,7 @@ "alias": "d_ow_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -3031,7 +3031,7 @@ "alias": "total_d_ow", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 7), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" } }, { @@ -3039,7 +3039,7 @@ "alias": "d_sdc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3047,7 +3047,7 @@ "alias": "d_sdc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -3055,7 +3055,7 @@ "alias": "d_sdc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3063,7 +3063,7 @@ "alias": "d_sdc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -3071,7 +3071,7 @@ "alias": "d_sdc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3079,7 +3079,7 @@ "alias": "d_sdc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -3087,7 +3087,7 @@ "alias": "d_sdc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3095,7 +3095,7 @@ "alias": "d_sdc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -3103,7 +3103,7 @@ "alias": "d_sdc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3111,7 +3111,7 @@ "alias": "d_sdc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -3119,7 +3119,7 @@ "alias": "d_sdc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3127,7 +3127,7 @@ "alias": "d_sdc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -3135,7 +3135,7 @@ "alias": "d_sdc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3143,7 +3143,7 @@ "alias": "d_sdc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -3151,7 +3151,7 @@ "alias": "d_sdc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3159,7 +3159,7 @@ "alias": "d_sdc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -3167,7 +3167,7 @@ "alias": "d_sdc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3175,7 +3175,7 @@ "alias": "d_sdc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -3183,7 +3183,7 @@ "alias": "d_sdc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3191,7 +3191,7 @@ "alias": "d_sdc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -3199,7 +3199,7 @@ "alias": "d_sdc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -3207,7 +3207,7 @@ "alias": "d_sdc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" } }, { @@ -3215,7 +3215,7 @@ "alias": "total_d_sdc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" } }, {