diff --git a/app/reporting-framework/base-mysql.report.js b/app/reporting-framework/base-mysql.report.js index 8b52e4d0b..d454ac087 100755 --- a/app/reporting-framework/base-mysql.report.js +++ b/app/reporting-framework/base-mysql.report.js @@ -250,6 +250,24 @@ import * as discounted_prep_base from './json-reports/prep-monthly/disaggregatio import * as gbv_prep_aggregate from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-aggregate.json'; import * as gbv_prep_base from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-base.json'; +import * as transactional_sex_prep_aggregate from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-aggregate.json'; +import * as transactional_sex_prep_base from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-base.json'; + +import * as recent_sti_prep_aggregate from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-aggregate.json'; +import * as recent_sti_prep_base from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-base.json'; + +import * as recurrent_use_of_pep_prep_aggregate from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-aggregate.json'; +import * as recurrent_use_of_pep_prep_base from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-base.json'; + +import * as inconsistent_or_no_condom_use_prep_aggregate from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-aggregate.json'; +import * as inconsistent_or_no_condom_use_prep_base from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-base.json'; + +import * as other_reasons_prep_aggregate from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-aggregate.json'; +import * as other_reasons_prep_base from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-base.json'; + +import * as shared_needles_prep_aggregate from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/shared-needles-aggregate.json'; +import * as shared_needles_prep_base from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/shared-needles-base.json'; + import * as prep_monthly_report from './json-reports/prep-monthly/prep-report.json'; //covid 19 report @@ -1341,6 +1359,56 @@ export class BaseMysqlReport { gbvPrepBase: this.cloneJsonSchema(gbv_prep_base) }); break; + case 'transactionalSexPrepAggregate': + resolve({ + main: this.cloneJsonSchema(transactional_sex_prep_aggregate), + transactionalSexPrepBase: this.cloneJsonSchema( + transactional_sex_prep_base + ) + }); + break; + case 'recentSTIPrepAggregate': + resolve({ + main: this.cloneJsonSchema(recurrent_use_of_pep_prep_aggregate), + recentSTIPrepBase: this.cloneJsonSchema( + recurrent_use_of_pep_prep_base + ) + }); + break; + case 'recurrentUseOfPepPrepAggregate': + resolve({ + main: this.cloneJsonSchema(recent_sti_prep_aggregate), + recurrentUseOfPepPrepBase: this.cloneJsonSchema( + recent_sti_prep_base + ) + }); + break; + case 'inconsistentOrNoCondomUsePrepAggregate': + resolve({ + main: this.cloneJsonSchema( + inconsistent_or_no_condom_use_prep_aggregate + ), + inconsistentOrNoCondomUsePrepBase: this.cloneJsonSchema( + inconsistent_or_no_condom_use_prep_base + ) + }); + break; + case 'otherReasonsForPrepAggregate': + resolve({ + main: this.cloneJsonSchema(other_reasons_prep_aggregate), + otherReasonsForPrepBase: this.cloneJsonSchema( + other_reasons_prep_base + ) + }); + break; + case 'sharedNeedlesPrepAggregate': + resolve({ + main: this.cloneJsonSchema(shared_needles_prep_aggregate), + sharedNeedlesPrepBase: this.cloneJsonSchema( + shared_needles_prep_base + ) + }); + break; case 'covid-19-monthly-report': resolve({ main: this.cloneJsonSchema(covid_19_monthly_report) diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-base.json index 66c425b9d..22923f267 100644 --- a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-base.json +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-base.json @@ -269,7 +269,7 @@ "alias": "total_dd_tg", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 1), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" } }, { @@ -453,7 +453,7 @@ "alias": "total_dd_msm", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 3), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" } }, { @@ -821,7 +821,7 @@ "alias": "total_dd_mhr", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 4), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" } }, { @@ -1005,7 +1005,7 @@ "alias": "total_dd_fsw", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 5), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" } }, { @@ -1189,7 +1189,7 @@ "alias": "total_dd_pwid", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 6), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" } }, { @@ -1373,7 +1373,7 @@ "alias": "total_dd_ow", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 7), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" } }, { @@ -1381,7 +1381,7 @@ "alias": "dd_sc_15_19_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1389,7 +1389,7 @@ "alias": "dd_sc_15_19_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" } }, { @@ -1397,7 +1397,7 @@ "alias": "dd_sc_20_24_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1405,7 +1405,7 @@ "alias": "dd_sc_20_24_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" } }, { @@ -1413,7 +1413,7 @@ "alias": "dd_sc_25_29_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1421,7 +1421,7 @@ "alias": "dd_sc_25_29_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" } }, { @@ -1429,7 +1429,7 @@ "alias": "dd_sc_30_34_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1437,7 +1437,7 @@ "alias": "dd_sc_30_34_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" } }, { @@ -1445,7 +1445,7 @@ "alias": "dd_sc_35_39_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1453,7 +1453,7 @@ "alias": "dd_sc_35_39_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" } }, { @@ -1461,7 +1461,7 @@ "alias": "dd_sc_40_44_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1469,7 +1469,7 @@ "alias": "dd_sc_40_44_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" } }, { @@ -1477,7 +1477,7 @@ "alias": "dd_sc_45_49_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1485,7 +1485,7 @@ "alias": "dd_sc_45_49_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" } }, { @@ -1493,7 +1493,7 @@ "alias": "dd_sc_50_54_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1501,7 +1501,7 @@ "alias": "dd_sc_50_54_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" } }, { @@ -1509,7 +1509,7 @@ "alias": "dd_sc_55_59_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1517,7 +1517,7 @@ "alias": "dd_sc_55_59_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" } }, { @@ -1525,7 +1525,7 @@ "alias": "dd_sc_60_64_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1533,7 +1533,7 @@ "alias": "dd_sc_60_64_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" } }, { @@ -1541,7 +1541,7 @@ "alias": "dd_sc_above_65_male", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" } }, { @@ -1549,7 +1549,7 @@ "alias": "dd_sc_above_65_female", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" } }, { @@ -1557,7 +1557,7 @@ "alias": "total_dd_sc", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 8), 1, NULL)" + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" } }, { diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-aggregate.json new file mode 100644 index 000000000..2bed2344f --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-aggregate.json @@ -0,0 +1,1106 @@ +{ + "name": "inconsistentOrNoCondomUsePrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "inconsistentOrNoCondomUsePrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "inconsistentOrNoCondomUsePrepBase", + "alias": "b" + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "b.person_id" + }, + { + "type": "simple_column", + "alias": "month", + "column": "b.month" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "b.location_id" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "b.location_uuid" + }, + { + "type": "simple_column", + "alias": "location", + "column": "b.location" + }, + { + "type": "simple_column", + "alias": "hh_tg_15_19_male", + "column": "sum(b.hh_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "hh_tg_15_19_female", + "column": "sum(b.hh_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "hh_tg_20_24_male", + "column": "sum(b.hh_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "hh_tg_20_24_female", + "column": "sum(b.hh_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "hh_tg_25_29_male", + "column": "sum(b.hh_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "hh_tg_25_29_female", + "column": "sum(b.hh_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "hh_tg_30_34_male", + "column": "sum(b.hh_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "hh_tg_30_34_female", + "column": "sum(b.hh_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "hh_tg_35_39_male", + "column": "sum(b.hh_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "hh_tg_35_39_female", + "column": "sum(b.hh_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "hh_tg_40_44_male", + "column": "sum(b.hh_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "hh_tg_40_44_female", + "column": "sum(b.hh_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "hh_tg_45_49_male", + "column": "sum(b.hh_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "hh_tg_45_49_female", + "column": "sum(b.hh_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "hh_tg_50_54_male", + "column": "sum(b.hh_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "hh_tg_50_54_female", + "column": "sum(b.hh_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "hh_tg_55_59_male", + "column": "sum(b.hh_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "hh_tg_55_59_female", + "column": "sum(b.hh_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "hh_tg_60_64_male", + "column": "sum(b.hh_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "hh_tg_60_64_female", + "column": "sum(b.hh_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "hh_tg_above_65_male", + "column": "sum(b.hh_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "hh_tg_above_65_female", + "column": "sum(b.hh_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_hh_tg", + "column": "sum(b.total_hh_tg)" + }, + { + "type": "simple_column", + "alias": "hh_msm_15_19_male", + "column": "sum(b.hh_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "hh_msm_15_19_female", + "column": "sum(b.hh_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "hh_msm_20_24_male", + "column": "sum(b.hh_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "hh_msm_20_24_female", + "column": "sum(b.hh_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "hh_msm_25_29_male", + "column": "sum(b.hh_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "hh_msm_25_29_female", + "column": "sum(b.hh_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "hh_msm_30_34_male", + "column": "sum(b.hh_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "hh_msm_30_34_female", + "column": "sum(b.hh_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "hh_msm_35_39_male", + "column": "sum(b.hh_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "hh_msm_35_39_female", + "column": "sum(b.hh_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "hh_msm_40_44_male", + "column": "sum(b.hh_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "hh_msm_40_44_female", + "column": "sum(b.hh_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "hh_msm_45_49_male", + "column": "sum(b.hh_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "hh_msm_45_49_female", + "column": "sum(b.hh_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "hh_msm_50_54_male", + "column": "sum(b.hh_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "hh_msm_50_54_female", + "column": "sum(b.hh_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "hh_msm_55_59_male", + "column": "sum(b.hh_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "hh_msm_55_59_female", + "column": "sum(b.hh_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "hh_msm_60_64_male", + "column": "sum(b.hh_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "hh_msm_60_64_female", + "column": "sum(b.hh_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "hh_msm_above_65_male", + "column": "sum(b.hh_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "hh_msm_above_65_female", + "column": "sum(b.hh_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_hh_msm", + "column": "sum(b.total_hh_msm)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_15_19_male", + "column": "sum(b.hh_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_15_19_female", + "column": "sum(b.hh_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_20_24_male", + "column": "sum(b.hh_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_20_24_female", + "column": "sum(b.hh_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_25_29_male", + "column": "sum(b.hh_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_25_29_female", + "column": "sum(b.hh_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_30_34_male", + "column": "sum(b.hh_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_30_34_female", + "column": "sum(b.hh_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_35_39_male", + "column": "sum(b.hh_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_35_39_female", + "column": "sum(b.hh_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_40_44_male", + "column": "sum(b.hh_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_40_44_female", + "column": "sum(b.hh_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_45_49_male", + "column": "sum(b.hh_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_45_49_female", + "column": "sum(b.hh_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_50_54_male", + "column": "sum(b.hh_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_50_54_female", + "column": "sum(b.hh_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_55_59_male", + "column": "sum(b.hh_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_55_59_female", + "column": "sum(b.hh_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_60_64_male", + "column": "sum(b.hh_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_60_64_female", + "column": "sum(b.hh_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_above_65_male", + "column": "sum(b.hh_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "hh_agyw_above_65_female", + "column": "sum(b.hh_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_hh_agyw", + "column": "sum(b.total_hh_agyw)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_15_19_male", + "column": "sum(b.hh_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_15_19_female", + "column": "sum(b.hh_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_20_24_male", + "column": "sum(b.hh_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_20_24_female", + "column": "sum(b.hh_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_25_29_male", + "column": "sum(b.hh_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_25_29_female", + "column": "sum(b.hh_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_30_34_male", + "column": "sum(b.hh_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_30_34_female", + "column": "sum(b.hh_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_35_39_male", + "column": "sum(b.hh_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_35_39_female", + "column": "sum(b.hh_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_40_44_male", + "column": "sum(b.hh_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_40_44_female", + "column": "sum(b.hh_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_45_49_male", + "column": "sum(b.hh_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_45_49_female", + "column": "sum(b.hh_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_50_54_male", + "column": "sum(b.hh_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_50_54_female", + "column": "sum(b.hh_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_55_59_male", + "column": "sum(b.hh_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_55_59_female", + "column": "sum(b.hh_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_60_64_male", + "column": "sum(b.hh_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_60_64_female", + "column": "sum(b.hh_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_above_65_male", + "column": "sum(b.hh_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "hh_mhr_above_65_female", + "column": "sum(b.hh_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_hh_mhr", + "column": "sum(b.total_hh_mhr)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_15_19_male", + "column": "sum(b.hh_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_15_19_female", + "column": "sum(b.hh_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_20_24_male", + "column": "sum(b.hh_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_20_24_female", + "column": "sum(b.hh_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_25_29_male", + "column": "sum(b.hh_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_25_29_female", + "column": "sum(b.hh_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_30_34_male", + "column": "sum(b.hh_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_30_34_female", + "column": "sum(b.hh_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_35_39_male", + "column": "sum(b.hh_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_35_39_female", + "column": "sum(b.hh_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_40_44_male", + "column": "sum(b.hh_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_40_44_female", + "column": "sum(b.hh_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_45_49_male", + "column": "sum(b.hh_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_45_49_female", + "column": "sum(b.hh_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_50_54_male", + "column": "sum(b.hh_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_50_54_female", + "column": "sum(b.hh_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_55_59_male", + "column": "sum(b.hh_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_55_59_female", + "column": "sum(b.hh_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_60_64_male", + "column": "sum(b.hh_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_60_64_female", + "column": "sum(b.hh_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_above_65_male", + "column": "sum(b.hh_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "hh_fsw_above_65_female", + "column": "sum(b.hh_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_hh_fsw", + "column": "sum(b.total_hh_fsw)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_15_19_male", + "column": "sum(b.hh_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_15_19_female", + "column": "sum(b.hh_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_20_24_male", + "column": "sum(b.hh_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_20_24_female", + "column": "sum(b.hh_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_25_29_male", + "column": "sum(b.hh_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_25_29_female", + "column": "sum(b.hh_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_30_34_male", + "column": "sum(b.hh_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_30_34_female", + "column": "sum(b.hh_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_35_39_male", + "column": "sum(b.hh_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_35_39_female", + "column": "sum(b.hh_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_40_44_male", + "column": "sum(b.hh_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_40_44_female", + "column": "sum(b.hh_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_45_49_male", + "column": "sum(b.hh_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_45_49_female", + "column": "sum(b.hh_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_50_54_male", + "column": "sum(b.hh_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_50_54_female", + "column": "sum(b.hh_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_55_59_male", + "column": "sum(b.hh_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_55_59_female", + "column": "sum(b.hh_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_60_64_male", + "column": "sum(b.hh_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_60_64_female", + "column": "sum(b.hh_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_above_65_male", + "column": "sum(b.hh_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "hh_pwid_above_65_female", + "column": "sum(b.hh_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_hh_pwid", + "column": "sum(b.total_hh_pwid)" + }, + { + "type": "simple_column", + "alias": "hh_ow_15_19_male", + "column": "sum(b.hh_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "hh_ow_15_19_female", + "column": "sum(b.hh_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "hh_ow_20_24_male", + "column": "sum(b.hh_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "hh_ow_20_24_female", + "column": "sum(b.hh_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "hh_ow_25_29_male", + "column": "sum(b.hh_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "hh_ow_25_29_female", + "column": "sum(b.hh_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "hh_ow_30_34_male", + "column": "sum(b.hh_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "hh_ow_30_34_female", + "column": "sum(b.hh_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "hh_ow_35_39_male", + "column": "sum(b.hh_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "hh_ow_35_39_female", + "column": "sum(b.hh_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "hh_ow_40_44_male", + "column": "sum(b.hh_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "hh_ow_40_44_female", + "column": "sum(b.hh_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "hh_ow_45_49_male", + "column": "sum(b.hh_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "hh_ow_45_49_female", + "column": "sum(b.hh_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "hh_ow_50_54_male", + "column": "sum(b.hh_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "hh_ow_50_54_female", + "column": "sum(b.hh_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "hh_ow_55_59_male", + "column": "sum(b.hh_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "hh_ow_55_59_female", + "column": "sum(b.hh_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "hh_ow_60_64_male", + "column": "sum(b.hh_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "hh_ow_60_64_female", + "column": "sum(b.hh_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "hh_ow_above_65_male", + "column": "sum(b.hh_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "hh_ow_above_65_female", + "column": "sum(b.hh_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_hh_ow", + "column": "sum(b.total_hh_ow)" + }, + { + "type": "simple_column", + "alias": "hh_sc_15_19_male", + "column": "sum(b.hh_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "hh_sc_15_19_female", + "column": "sum(b.hh_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "hh_sc_20_24_male", + "column": "sum(b.hh_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "hh_sc_20_24_female", + "column": "sum(b.hh_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "hh_sc_25_29_male", + "column": "sum(b.hh_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "hh_sc_25_29_female", + "column": "sum(b.hh_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "hh_sc_30_34_male", + "column": "sum(b.hh_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "hh_sc_30_34_female", + "column": "sum(b.hh_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "hh_sc_35_39_male", + "column": "sum(b.hh_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "hh_sc_35_39_female", + "column": "sum(b.hh_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "hh_sc_40_44_male", + "column": "sum(b.hh_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "hh_sc_40_44_female", + "column": "sum(b.hh_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "hh_sc_45_49_male", + "column": "sum(b.hh_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "hh_sc_45_49_female", + "column": "sum(b.hh_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "hh_sc_50_54_male", + "column": "sum(b.hh_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "hh_sc_50_54_female", + "column": "sum(b.hh_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "hh_sc_55_59_male", + "column": "sum(b.hh_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "hh_sc_55_59_female", + "column": "sum(b.hh_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "hh_sc_60_64_male", + "column": "sum(b.hh_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "hh_sc_60_64_female", + "column": "sum(b.hh_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "hh_sc_above_65_male", + "column": "sum(b.hh_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "hh_sc_above_65_female", + "column": "sum(b.hh_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_hh_sc", + "column": "sum(b.total_hh_sc)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_15_19_male", + "column": "sum(b.hh_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_15_19_female", + "column": "sum(b.hh_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_20_24_male", + "column": "sum(b.hh_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_20_24_female", + "column": "sum(b.hh_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_25_29_male", + "column": "sum(b.hh_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_25_29_female", + "column": "sum(b.hh_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_30_34_male", + "column": "sum(b.hh_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_30_34_female", + "column": "sum(b.hh_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_35_39_male", + "column": "sum(b.hh_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_35_39_female", + "column": "sum(b.hh_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_40_44_male", + "column": "sum(b.hh_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_40_44_female", + "column": "sum(b.hh_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_45_49_male", + "column": "sum(b.hh_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_45_49_female", + "column": "sum(b.hh_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_50_54_male", + "column": "sum(b.hh_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_50_54_female", + "column": "sum(b.hh_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_55_59_male", + "column": "sum(b.hh_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_55_59_female", + "column": "sum(b.hh_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_60_64_male", + "column": "sum(b.hh_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_60_64_female", + "column": "sum(b.hh_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_above_65_male", + "column": "sum(b.hh_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "hh_pbfw_above_65_female", + "column": "sum(b.hh_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_hh_pbfw", + "column": "sum(b.total_hh_pbfw)" + } + ], + "groupBy": { + "groupParam": "groupByParam", + "columns": ["b.location_id"], + "excludeParam": "excludeParam" + }, + "transFormDirectives": { + "joinColumn": "location_id", + "joinColumnParam": "", + "skipColumns": [""], + "disaggregationColumns": [] + }, + "dynamicJsonQueryGenerationDirectives": { + "patientListGenerator": { + "useTemplate": "patient-list-with-contacts-template", + "useTemplateVersion": "1.0", + "generatingDirectives": { + "joinDirectives": { + "joinType": "INNER", + "joinCondition": "<> = <>", + "baseColumn": "person_id", + "templateColumn": "person_id" + } + } + } + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-base.json new file mode 100644 index 000000000..feeb8e98d --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-base.json @@ -0,0 +1,1767 @@ +{ + "name": "inconsistentOrNoCondomUsePrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v3", + "alias": "pd" + }, + { + "table": "etl.flat_patient_identifiers_v1", + "alias": "fi", + "join": { + "type": "LEFT", + "joinCondition": "pd.person_id = fi.patient_id" + } + }, + { + "table": "amrs.location", + "alias": "l", + "join": { + "type": "INNER", + "joinCondition": "pd.location_id = l.location_id" + } + }, + { + "table": "amrs.person", + "alias": "per", + "join": { + "type": "INNER", + "joinCondition": "pd.person_id = per.person_id" + } + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "pd.person_id" + }, + { + "type": "simple_column", + "alias": "ccc_number", + "column": "fi.ccc" + }, + { + "type": "simple_column", + "alias": "ovcid_id", + "column": "fi.ovcid" + }, + { + "type": "simple_column", + "alias": "upi_number", + "column": "fi.nupi" + }, + { + "type": "simple_column", + "alias": "age", + "column": "pd.age" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "pd.location_id" + }, + { + "type": "simple_column", + "alias": "location", + "column": "l.name" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "l.uuid" + }, + { + "type": "simple_column", + "alias": "population_type", + "column": "pd.population_type" + }, + { + "type": "derived_column", + "alias": "month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "DATE_FORMAT(pd.endDate,'%Y-%m')" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "hh_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' 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)" + } + }, + { + "type": "derived_column", + "alias": "total_hh_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_hh_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_hh_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_hh_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_hh_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_hh_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_hh_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_hh_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "hh_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_hh_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7104' AND pd.population_type = 9), 1, NULL)" + } + } + ], + "filters": { + "conditionJoinOperator": "and", + "conditions": [ + { + "filterType": "tableColumns", + "conditionExpression": "pd.location_id in (?)", + "parameterName": "locations" + }, + { + "filterType": "tableColumns", + "conditionExpression": "pd.endDate = ?", + "parameterName": "endDate" + } + ] + }, + "groupBy": { + "groupParam": "groupByParam", + "columns": ["person_id"] + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-aggregate.json new file mode 100644 index 000000000..e9acbf6c9 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-aggregate.json @@ -0,0 +1,1106 @@ +{ + "name": "otherReasonsForPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "otherReasonsForPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "otherReasonsForPrepBase", + "alias": "b" + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "b.person_id" + }, + { + "type": "simple_column", + "alias": "month", + "column": "b.month" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "b.location_id" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "b.location_uuid" + }, + { + "type": "simple_column", + "alias": "location", + "column": "b.location" + }, + { + "type": "simple_column", + "alias": "jj_tg_15_19_male", + "column": "sum(b.jj_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "jj_tg_15_19_female", + "column": "sum(b.jj_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "jj_tg_20_24_male", + "column": "sum(b.jj_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "jj_tg_20_24_female", + "column": "sum(b.jj_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "jj_tg_25_29_male", + "column": "sum(b.jj_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "jj_tg_25_29_female", + "column": "sum(b.jj_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "jj_tg_30_34_male", + "column": "sum(b.jj_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "jj_tg_30_34_female", + "column": "sum(b.jj_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "jj_tg_35_39_male", + "column": "sum(b.jj_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "jj_tg_35_39_female", + "column": "sum(b.jj_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "jj_tg_40_44_male", + "column": "sum(b.jj_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "jj_tg_40_44_female", + "column": "sum(b.jj_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "jj_tg_45_49_male", + "column": "sum(b.jj_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "jj_tg_45_49_female", + "column": "sum(b.jj_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "jj_tg_50_54_male", + "column": "sum(b.jj_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "jj_tg_50_54_female", + "column": "sum(b.jj_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "jj_tg_55_59_male", + "column": "sum(b.jj_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "jj_tg_55_59_female", + "column": "sum(b.jj_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "jj_tg_60_64_male", + "column": "sum(b.jj_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "jj_tg_60_64_female", + "column": "sum(b.jj_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "jj_tg_above_65_male", + "column": "sum(b.jj_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "jj_tg_above_65_female", + "column": "sum(b.jj_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_jj_tg", + "column": "sum(b.total_jj_tg)" + }, + { + "type": "simple_column", + "alias": "jj_msm_15_19_male", + "column": "sum(b.jj_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "jj_msm_15_19_female", + "column": "sum(b.jj_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "jj_msm_20_24_male", + "column": "sum(b.jj_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "jj_msm_20_24_female", + "column": "sum(b.jj_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "jj_msm_25_29_male", + "column": "sum(b.jj_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "jj_msm_25_29_female", + "column": "sum(b.jj_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "jj_msm_30_34_male", + "column": "sum(b.jj_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "jj_msm_30_34_female", + "column": "sum(b.jj_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "jj_msm_35_39_male", + "column": "sum(b.jj_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "jj_msm_35_39_female", + "column": "sum(b.jj_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "jj_msm_40_44_male", + "column": "sum(b.jj_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "jj_msm_40_44_female", + "column": "sum(b.jj_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "jj_msm_45_49_male", + "column": "sum(b.jj_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "jj_msm_45_49_female", + "column": "sum(b.jj_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "jj_msm_50_54_male", + "column": "sum(b.jj_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "jj_msm_50_54_female", + "column": "sum(b.jj_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "jj_msm_55_59_male", + "column": "sum(b.jj_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "jj_msm_55_59_female", + "column": "sum(b.jj_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "jj_msm_60_64_male", + "column": "sum(b.jj_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "jj_msm_60_64_female", + "column": "sum(b.jj_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "jj_msm_above_65_male", + "column": "sum(b.jj_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "jj_msm_above_65_female", + "column": "sum(b.jj_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_jj_msm", + "column": "sum(b.total_jj_msm)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_15_19_male", + "column": "sum(b.jj_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_15_19_female", + "column": "sum(b.jj_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_20_24_male", + "column": "sum(b.jj_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_20_24_female", + "column": "sum(b.jj_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_25_29_male", + "column": "sum(b.jj_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_25_29_female", + "column": "sum(b.jj_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_30_34_male", + "column": "sum(b.jj_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_30_34_female", + "column": "sum(b.jj_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_35_39_male", + "column": "sum(b.jj_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_35_39_female", + "column": "sum(b.jj_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_40_44_male", + "column": "sum(b.jj_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_40_44_female", + "column": "sum(b.jj_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_45_49_male", + "column": "sum(b.jj_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_45_49_female", + "column": "sum(b.jj_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_50_54_male", + "column": "sum(b.jj_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_50_54_female", + "column": "sum(b.jj_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_55_59_male", + "column": "sum(b.jj_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_55_59_female", + "column": "sum(b.jj_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_60_64_male", + "column": "sum(b.jj_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_60_64_female", + "column": "sum(b.jj_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_above_65_male", + "column": "sum(b.jj_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "jj_agyw_above_65_female", + "column": "sum(b.jj_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_jj_agyw", + "column": "sum(b.total_jj_agyw)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_15_19_male", + "column": "sum(b.jj_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_15_19_female", + "column": "sum(b.jj_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_20_24_male", + "column": "sum(b.jj_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_20_24_female", + "column": "sum(b.jj_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_25_29_male", + "column": "sum(b.jj_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_25_29_female", + "column": "sum(b.jj_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_30_34_male", + "column": "sum(b.jj_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_30_34_female", + "column": "sum(b.jj_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_35_39_male", + "column": "sum(b.jj_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_35_39_female", + "column": "sum(b.jj_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_40_44_male", + "column": "sum(b.jj_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_40_44_female", + "column": "sum(b.jj_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_45_49_male", + "column": "sum(b.jj_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_45_49_female", + "column": "sum(b.jj_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_50_54_male", + "column": "sum(b.jj_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_50_54_female", + "column": "sum(b.jj_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_55_59_male", + "column": "sum(b.jj_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_55_59_female", + "column": "sum(b.jj_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_60_64_male", + "column": "sum(b.jj_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_60_64_female", + "column": "sum(b.jj_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_above_65_male", + "column": "sum(b.jj_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "jj_mhr_above_65_female", + "column": "sum(b.jj_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_jj_mhr", + "column": "sum(b.total_jj_mhr)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_15_19_male", + "column": "sum(b.jj_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_15_19_female", + "column": "sum(b.jj_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_20_24_male", + "column": "sum(b.jj_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_20_24_female", + "column": "sum(b.jj_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_25_29_male", + "column": "sum(b.jj_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_25_29_female", + "column": "sum(b.jj_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_30_34_male", + "column": "sum(b.jj_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_30_34_female", + "column": "sum(b.jj_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_35_39_male", + "column": "sum(b.jj_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_35_39_female", + "column": "sum(b.jj_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_40_44_male", + "column": "sum(b.jj_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_40_44_female", + "column": "sum(b.jj_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_45_49_male", + "column": "sum(b.jj_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_45_49_female", + "column": "sum(b.jj_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_50_54_male", + "column": "sum(b.jj_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_50_54_female", + "column": "sum(b.jj_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_55_59_male", + "column": "sum(b.jj_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_55_59_female", + "column": "sum(b.jj_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_60_64_male", + "column": "sum(b.jj_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_60_64_female", + "column": "sum(b.jj_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_above_65_male", + "column": "sum(b.jj_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "jj_fsw_above_65_female", + "column": "sum(b.jj_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_jj_fsw", + "column": "sum(b.total_jj_fsw)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_15_19_male", + "column": "sum(b.jj_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_15_19_female", + "column": "sum(b.jj_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_20_24_male", + "column": "sum(b.jj_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_20_24_female", + "column": "sum(b.jj_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_25_29_male", + "column": "sum(b.jj_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_25_29_female", + "column": "sum(b.jj_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_30_34_male", + "column": "sum(b.jj_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_30_34_female", + "column": "sum(b.jj_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_35_39_male", + "column": "sum(b.jj_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_35_39_female", + "column": "sum(b.jj_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_40_44_male", + "column": "sum(b.jj_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_40_44_female", + "column": "sum(b.jj_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_45_49_male", + "column": "sum(b.jj_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_45_49_female", + "column": "sum(b.jj_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_50_54_male", + "column": "sum(b.jj_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_50_54_female", + "column": "sum(b.jj_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_55_59_male", + "column": "sum(b.jj_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_55_59_female", + "column": "sum(b.jj_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_60_64_male", + "column": "sum(b.jj_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_60_64_female", + "column": "sum(b.jj_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_above_65_male", + "column": "sum(b.jj_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "jj_pwid_above_65_female", + "column": "sum(b.jj_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_jj_pwid", + "column": "sum(b.total_jj_pwid)" + }, + { + "type": "simple_column", + "alias": "jj_ow_15_19_male", + "column": "sum(b.jj_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "jj_ow_15_19_female", + "column": "sum(b.jj_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "jj_ow_20_24_male", + "column": "sum(b.jj_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "jj_ow_20_24_female", + "column": "sum(b.jj_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "jj_ow_25_29_male", + "column": "sum(b.jj_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "jj_ow_25_29_female", + "column": "sum(b.jj_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "jj_ow_30_34_male", + "column": "sum(b.jj_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "jj_ow_30_34_female", + "column": "sum(b.jj_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "jj_ow_35_39_male", + "column": "sum(b.jj_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "jj_ow_35_39_female", + "column": "sum(b.jj_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "jj_ow_40_44_male", + "column": "sum(b.jj_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "jj_ow_40_44_female", + "column": "sum(b.jj_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "jj_ow_45_49_male", + "column": "sum(b.jj_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "jj_ow_45_49_female", + "column": "sum(b.jj_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "jj_ow_50_54_male", + "column": "sum(b.jj_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "jj_ow_50_54_female", + "column": "sum(b.jj_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "jj_ow_55_59_male", + "column": "sum(b.jj_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "jj_ow_55_59_female", + "column": "sum(b.jj_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "jj_ow_60_64_male", + "column": "sum(b.jj_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "jj_ow_60_64_female", + "column": "sum(b.jj_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "jj_ow_above_65_male", + "column": "sum(b.jj_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "jj_ow_above_65_female", + "column": "sum(b.jj_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_jj_ow", + "column": "sum(b.total_jj_ow)" + }, + { + "type": "simple_column", + "alias": "jj_sc_15_19_male", + "column": "sum(b.jj_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "jj_sc_15_19_female", + "column": "sum(b.jj_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "jj_sc_20_24_male", + "column": "sum(b.jj_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "jj_sc_20_24_female", + "column": "sum(b.jj_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "jj_sc_25_29_male", + "column": "sum(b.jj_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "jj_sc_25_29_female", + "column": "sum(b.jj_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "jj_sc_30_34_male", + "column": "sum(b.jj_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "jj_sc_30_34_female", + "column": "sum(b.jj_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "jj_sc_35_39_male", + "column": "sum(b.jj_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "jj_sc_35_39_female", + "column": "sum(b.jj_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "jj_sc_40_44_male", + "column": "sum(b.jj_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "jj_sc_40_44_female", + "column": "sum(b.jj_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "jj_sc_45_49_male", + "column": "sum(b.jj_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "jj_sc_45_49_female", + "column": "sum(b.jj_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "jj_sc_50_54_male", + "column": "sum(b.jj_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "jj_sc_50_54_female", + "column": "sum(b.jj_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "jj_sc_55_59_male", + "column": "sum(b.jj_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "jj_sc_55_59_female", + "column": "sum(b.jj_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "jj_sc_60_64_male", + "column": "sum(b.jj_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "jj_sc_60_64_female", + "column": "sum(b.jj_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "jj_sc_above_65_male", + "column": "sum(b.jj_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "jj_sc_above_65_female", + "column": "sum(b.jj_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_jj_sc", + "column": "sum(b.total_jj_sc)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_15_19_male", + "column": "sum(b.jj_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_15_19_female", + "column": "sum(b.jj_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_20_24_male", + "column": "sum(b.jj_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_20_24_female", + "column": "sum(b.jj_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_25_29_male", + "column": "sum(b.jj_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_25_29_female", + "column": "sum(b.jj_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_30_34_male", + "column": "sum(b.jj_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_30_34_female", + "column": "sum(b.jj_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_35_39_male", + "column": "sum(b.jj_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_35_39_female", + "column": "sum(b.jj_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_40_44_male", + "column": "sum(b.jj_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_40_44_female", + "column": "sum(b.jj_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_45_49_male", + "column": "sum(b.jj_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_45_49_female", + "column": "sum(b.jj_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_50_54_male", + "column": "sum(b.jj_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_50_54_female", + "column": "sum(b.jj_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_55_59_male", + "column": "sum(b.jj_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_55_59_female", + "column": "sum(b.jj_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_60_64_male", + "column": "sum(b.jj_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_60_64_female", + "column": "sum(b.jj_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_above_65_male", + "column": "sum(b.jj_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "jj_pbfw_above_65_female", + "column": "sum(b.jj_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_jj_pbfw", + "column": "sum(b.total_jj_pbfw)" + } + ], + "groupBy": { + "groupParam": "groupByParam", + "columns": ["b.location_id"], + "excludeParam": "excludeParam" + }, + "transFormDirectives": { + "joinColumn": "location_id", + "joinColumnParam": "", + "skipColumns": [""], + "disaggregationColumns": [] + }, + "dynamicJsonQueryGenerationDirectives": { + "patientListGenerator": { + "useTemplate": "patient-list-with-contacts-template", + "useTemplateVersion": "1.0", + "generatingDirectives": { + "joinDirectives": { + "joinType": "INNER", + "joinCondition": "<> = <>", + "baseColumn": "person_id", + "templateColumn": "person_id" + } + } + } + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-base.json new file mode 100644 index 000000000..9ce4faf5e --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-base.json @@ -0,0 +1,1767 @@ +{ + "name": "otherReasonsForPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v3", + "alias": "pd" + }, + { + "table": "etl.flat_patient_identifiers_v1", + "alias": "fi", + "join": { + "type": "LEFT", + "joinCondition": "pd.person_id = fi.patient_id" + } + }, + { + "table": "amrs.location", + "alias": "l", + "join": { + "type": "INNER", + "joinCondition": "pd.location_id = l.location_id" + } + }, + { + "table": "amrs.person", + "alias": "per", + "join": { + "type": "INNER", + "joinCondition": "pd.person_id = per.person_id" + } + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "pd.person_id" + }, + { + "type": "simple_column", + "alias": "ccc_number", + "column": "fi.ccc" + }, + { + "type": "simple_column", + "alias": "ovcid_id", + "column": "fi.ovcid" + }, + { + "type": "simple_column", + "alias": "upi_number", + "column": "fi.nupi" + }, + { + "type": "simple_column", + "alias": "age", + "column": "pd.age" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "pd.location_id" + }, + { + "type": "simple_column", + "alias": "location", + "column": "l.name" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "l.uuid" + }, + { + "type": "simple_column", + "alias": "population_type", + "column": "pd.population_type" + }, + { + "type": "derived_column", + "alias": "month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "DATE_FORMAT(pd.endDate,'%Y-%m')" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "jj_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' 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)" + } + }, + { + "type": "derived_column", + "alias": "total_jj_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_jj_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_jj_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_jj_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_jj_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_jj_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_jj_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_jj_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "jj_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_jj_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622' AND pd.population_type = 9), 1, NULL)" + } + } + ], + "filters": { + "conditionJoinOperator": "and", + "conditions": [ + { + "filterType": "tableColumns", + "conditionExpression": "pd.location_id in (?)", + "parameterName": "locations" + }, + { + "filterType": "tableColumns", + "conditionExpression": "pd.endDate = ?", + "parameterName": "endDate" + } + ] + }, + "groupBy": { + "groupParam": "groupByParam", + "columns": ["person_id"] + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-aggregate.json new file mode 100644 index 000000000..6a8626852 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-aggregate.json @@ -0,0 +1,1106 @@ +{ + "name": "recentSTIPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "recentSTIPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "recentSTIPrepBase", + "alias": "b" + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "b.person_id" + }, + { + "type": "simple_column", + "alias": "month", + "column": "b.month" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "b.location_id" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "b.location_uuid" + }, + { + "type": "simple_column", + "alias": "location", + "column": "b.location" + }, + { + "type": "simple_column", + "alias": "ff_tg_15_19_male", + "column": "sum(b.ff_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ff_tg_15_19_female", + "column": "sum(b.ff_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ff_tg_20_24_male", + "column": "sum(b.ff_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ff_tg_20_24_female", + "column": "sum(b.ff_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ff_tg_25_29_male", + "column": "sum(b.ff_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ff_tg_25_29_female", + "column": "sum(b.ff_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ff_tg_30_34_male", + "column": "sum(b.ff_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ff_tg_30_34_female", + "column": "sum(b.ff_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ff_tg_35_39_male", + "column": "sum(b.ff_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ff_tg_35_39_female", + "column": "sum(b.ff_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ff_tg_40_44_male", + "column": "sum(b.ff_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ff_tg_40_44_female", + "column": "sum(b.ff_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ff_tg_45_49_male", + "column": "sum(b.ff_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ff_tg_45_49_female", + "column": "sum(b.ff_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ff_tg_50_54_male", + "column": "sum(b.ff_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ff_tg_50_54_female", + "column": "sum(b.ff_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ff_tg_55_59_male", + "column": "sum(b.ff_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ff_tg_55_59_female", + "column": "sum(b.ff_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ff_tg_60_64_male", + "column": "sum(b.ff_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ff_tg_60_64_female", + "column": "sum(b.ff_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ff_tg_above_65_male", + "column": "sum(b.ff_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ff_tg_above_65_female", + "column": "sum(b.ff_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ff_tg", + "column": "sum(b.total_ff_tg)" + }, + { + "type": "simple_column", + "alias": "ff_msm_15_19_male", + "column": "sum(b.ff_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ff_msm_15_19_female", + "column": "sum(b.ff_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ff_msm_20_24_male", + "column": "sum(b.ff_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ff_msm_20_24_female", + "column": "sum(b.ff_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ff_msm_25_29_male", + "column": "sum(b.ff_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ff_msm_25_29_female", + "column": "sum(b.ff_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ff_msm_30_34_male", + "column": "sum(b.ff_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ff_msm_30_34_female", + "column": "sum(b.ff_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ff_msm_35_39_male", + "column": "sum(b.ff_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ff_msm_35_39_female", + "column": "sum(b.ff_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ff_msm_40_44_male", + "column": "sum(b.ff_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ff_msm_40_44_female", + "column": "sum(b.ff_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ff_msm_45_49_male", + "column": "sum(b.ff_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ff_msm_45_49_female", + "column": "sum(b.ff_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ff_msm_50_54_male", + "column": "sum(b.ff_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ff_msm_50_54_female", + "column": "sum(b.ff_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ff_msm_55_59_male", + "column": "sum(b.ff_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ff_msm_55_59_female", + "column": "sum(b.ff_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ff_msm_60_64_male", + "column": "sum(b.ff_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ff_msm_60_64_female", + "column": "sum(b.ff_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ff_msm_above_65_male", + "column": "sum(b.ff_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ff_msm_above_65_female", + "column": "sum(b.ff_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ff_msm", + "column": "sum(b.total_ff_msm)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_15_19_male", + "column": "sum(b.ff_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_15_19_female", + "column": "sum(b.ff_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_20_24_male", + "column": "sum(b.ff_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_20_24_female", + "column": "sum(b.ff_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_25_29_male", + "column": "sum(b.ff_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_25_29_female", + "column": "sum(b.ff_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_30_34_male", + "column": "sum(b.ff_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_30_34_female", + "column": "sum(b.ff_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_35_39_male", + "column": "sum(b.ff_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_35_39_female", + "column": "sum(b.ff_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_40_44_male", + "column": "sum(b.ff_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_40_44_female", + "column": "sum(b.ff_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_45_49_male", + "column": "sum(b.ff_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_45_49_female", + "column": "sum(b.ff_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_50_54_male", + "column": "sum(b.ff_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_50_54_female", + "column": "sum(b.ff_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_55_59_male", + "column": "sum(b.ff_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_55_59_female", + "column": "sum(b.ff_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_60_64_male", + "column": "sum(b.ff_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_60_64_female", + "column": "sum(b.ff_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_above_65_male", + "column": "sum(b.ff_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ff_agyw_above_65_female", + "column": "sum(b.ff_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ff_agyw", + "column": "sum(b.total_ff_agyw)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_15_19_male", + "column": "sum(b.ff_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_15_19_female", + "column": "sum(b.ff_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_20_24_male", + "column": "sum(b.ff_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_20_24_female", + "column": "sum(b.ff_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_25_29_male", + "column": "sum(b.ff_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_25_29_female", + "column": "sum(b.ff_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_30_34_male", + "column": "sum(b.ff_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_30_34_female", + "column": "sum(b.ff_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_35_39_male", + "column": "sum(b.ff_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_35_39_female", + "column": "sum(b.ff_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_40_44_male", + "column": "sum(b.ff_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_40_44_female", + "column": "sum(b.ff_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_45_49_male", + "column": "sum(b.ff_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_45_49_female", + "column": "sum(b.ff_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_50_54_male", + "column": "sum(b.ff_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_50_54_female", + "column": "sum(b.ff_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_55_59_male", + "column": "sum(b.ff_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_55_59_female", + "column": "sum(b.ff_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_60_64_male", + "column": "sum(b.ff_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_60_64_female", + "column": "sum(b.ff_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_above_65_male", + "column": "sum(b.ff_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ff_mhr_above_65_female", + "column": "sum(b.ff_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ff_mhr", + "column": "sum(b.total_ff_mhr)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_15_19_male", + "column": "sum(b.ff_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_15_19_female", + "column": "sum(b.ff_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_20_24_male", + "column": "sum(b.ff_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_20_24_female", + "column": "sum(b.ff_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_25_29_male", + "column": "sum(b.ff_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_25_29_female", + "column": "sum(b.ff_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_30_34_male", + "column": "sum(b.ff_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_30_34_female", + "column": "sum(b.ff_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_35_39_male", + "column": "sum(b.ff_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_35_39_female", + "column": "sum(b.ff_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_40_44_male", + "column": "sum(b.ff_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_40_44_female", + "column": "sum(b.ff_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_45_49_male", + "column": "sum(b.ff_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_45_49_female", + "column": "sum(b.ff_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_50_54_male", + "column": "sum(b.ff_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_50_54_female", + "column": "sum(b.ff_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_55_59_male", + "column": "sum(b.ff_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_55_59_female", + "column": "sum(b.ff_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_60_64_male", + "column": "sum(b.ff_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_60_64_female", + "column": "sum(b.ff_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_above_65_male", + "column": "sum(b.ff_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ff_fsw_above_65_female", + "column": "sum(b.ff_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ff_fsw", + "column": "sum(b.total_ff_fsw)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_15_19_male", + "column": "sum(b.ff_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_15_19_female", + "column": "sum(b.ff_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_20_24_male", + "column": "sum(b.ff_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_20_24_female", + "column": "sum(b.ff_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_25_29_male", + "column": "sum(b.ff_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_25_29_female", + "column": "sum(b.ff_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_30_34_male", + "column": "sum(b.ff_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_30_34_female", + "column": "sum(b.ff_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_35_39_male", + "column": "sum(b.ff_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_35_39_female", + "column": "sum(b.ff_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_40_44_male", + "column": "sum(b.ff_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_40_44_female", + "column": "sum(b.ff_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_45_49_male", + "column": "sum(b.ff_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_45_49_female", + "column": "sum(b.ff_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_50_54_male", + "column": "sum(b.ff_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_50_54_female", + "column": "sum(b.ff_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_55_59_male", + "column": "sum(b.ff_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_55_59_female", + "column": "sum(b.ff_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_60_64_male", + "column": "sum(b.ff_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_60_64_female", + "column": "sum(b.ff_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_above_65_male", + "column": "sum(b.ff_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ff_pwid_above_65_female", + "column": "sum(b.ff_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ff_pwid", + "column": "sum(b.total_ff_pwid)" + }, + { + "type": "simple_column", + "alias": "ff_ow_15_19_male", + "column": "sum(b.ff_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ff_ow_15_19_female", + "column": "sum(b.ff_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ff_ow_20_24_male", + "column": "sum(b.ff_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ff_ow_20_24_female", + "column": "sum(b.ff_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ff_ow_25_29_male", + "column": "sum(b.ff_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ff_ow_25_29_female", + "column": "sum(b.ff_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ff_ow_30_34_male", + "column": "sum(b.ff_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ff_ow_30_34_female", + "column": "sum(b.ff_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ff_ow_35_39_male", + "column": "sum(b.ff_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ff_ow_35_39_female", + "column": "sum(b.ff_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ff_ow_40_44_male", + "column": "sum(b.ff_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ff_ow_40_44_female", + "column": "sum(b.ff_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ff_ow_45_49_male", + "column": "sum(b.ff_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ff_ow_45_49_female", + "column": "sum(b.ff_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ff_ow_50_54_male", + "column": "sum(b.ff_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ff_ow_50_54_female", + "column": "sum(b.ff_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ff_ow_55_59_male", + "column": "sum(b.ff_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ff_ow_55_59_female", + "column": "sum(b.ff_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ff_ow_60_64_male", + "column": "sum(b.ff_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ff_ow_60_64_female", + "column": "sum(b.ff_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ff_ow_above_65_male", + "column": "sum(b.ff_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ff_ow_above_65_female", + "column": "sum(b.ff_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ff_ow", + "column": "sum(b.total_ff_ow)" + }, + { + "type": "simple_column", + "alias": "ff_sc_15_19_male", + "column": "sum(b.ff_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ff_sc_15_19_female", + "column": "sum(b.ff_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ff_sc_20_24_male", + "column": "sum(b.ff_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ff_sc_20_24_female", + "column": "sum(b.ff_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ff_sc_25_29_male", + "column": "sum(b.ff_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ff_sc_25_29_female", + "column": "sum(b.ff_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ff_sc_30_34_male", + "column": "sum(b.ff_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ff_sc_30_34_female", + "column": "sum(b.ff_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ff_sc_35_39_male", + "column": "sum(b.ff_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ff_sc_35_39_female", + "column": "sum(b.ff_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ff_sc_40_44_male", + "column": "sum(b.ff_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ff_sc_40_44_female", + "column": "sum(b.ff_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ff_sc_45_49_male", + "column": "sum(b.ff_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ff_sc_45_49_female", + "column": "sum(b.ff_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ff_sc_50_54_male", + "column": "sum(b.ff_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ff_sc_50_54_female", + "column": "sum(b.ff_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ff_sc_55_59_male", + "column": "sum(b.ff_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ff_sc_55_59_female", + "column": "sum(b.ff_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ff_sc_60_64_male", + "column": "sum(b.ff_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ff_sc_60_64_female", + "column": "sum(b.ff_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ff_sc_above_65_male", + "column": "sum(b.ff_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ff_sc_above_65_female", + "column": "sum(b.ff_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ff_sc", + "column": "sum(b.total_ff_sc)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_15_19_male", + "column": "sum(b.ff_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_15_19_female", + "column": "sum(b.ff_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_20_24_male", + "column": "sum(b.ff_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_20_24_female", + "column": "sum(b.ff_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_25_29_male", + "column": "sum(b.ff_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_25_29_female", + "column": "sum(b.ff_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_30_34_male", + "column": "sum(b.ff_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_30_34_female", + "column": "sum(b.ff_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_35_39_male", + "column": "sum(b.ff_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_35_39_female", + "column": "sum(b.ff_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_40_44_male", + "column": "sum(b.ff_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_40_44_female", + "column": "sum(b.ff_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_45_49_male", + "column": "sum(b.ff_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_45_49_female", + "column": "sum(b.ff_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_50_54_male", + "column": "sum(b.ff_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_50_54_female", + "column": "sum(b.ff_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_55_59_male", + "column": "sum(b.ff_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_55_59_female", + "column": "sum(b.ff_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_60_64_male", + "column": "sum(b.ff_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_60_64_female", + "column": "sum(b.ff_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_above_65_male", + "column": "sum(b.ff_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ff_pbfw_above_65_female", + "column": "sum(b.ff_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ff_pbfw", + "column": "sum(b.total_ff_pbfw)" + } + ], + "groupBy": { + "groupParam": "groupByParam", + "columns": ["b.location_id"], + "excludeParam": "excludeParam" + }, + "transFormDirectives": { + "joinColumn": "location_id", + "joinColumnParam": "", + "skipColumns": [""], + "disaggregationColumns": [] + }, + "dynamicJsonQueryGenerationDirectives": { + "patientListGenerator": { + "useTemplate": "patient-list-with-contacts-template", + "useTemplateVersion": "1.0", + "generatingDirectives": { + "joinDirectives": { + "joinType": "INNER", + "joinCondition": "<> = <>", + "baseColumn": "person_id", + "templateColumn": "person_id" + } + } + } + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-base.json new file mode 100644 index 000000000..ef539e605 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-base.json @@ -0,0 +1,1767 @@ +{ + "name": "recentSTIPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v3", + "alias": "pd" + }, + { + "table": "etl.flat_patient_identifiers_v1", + "alias": "fi", + "join": { + "type": "LEFT", + "joinCondition": "pd.person_id = fi.patient_id" + } + }, + { + "table": "amrs.location", + "alias": "l", + "join": { + "type": "INNER", + "joinCondition": "pd.location_id = l.location_id" + } + }, + { + "table": "amrs.person", + "alias": "per", + "join": { + "type": "INNER", + "joinCondition": "pd.person_id = per.person_id" + } + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "pd.person_id" + }, + { + "type": "simple_column", + "alias": "ccc_number", + "column": "fi.ccc" + }, + { + "type": "simple_column", + "alias": "ovcid_id", + "column": "fi.ovcid" + }, + { + "type": "simple_column", + "alias": "upi_number", + "column": "fi.nupi" + }, + { + "type": "simple_column", + "alias": "age", + "column": "pd.age" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "pd.location_id" + }, + { + "type": "simple_column", + "alias": "location", + "column": "l.name" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "l.uuid" + }, + { + "type": "simple_column", + "alias": "population_type", + "column": "pd.population_type" + }, + { + "type": "derived_column", + "alias": "month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "DATE_FORMAT(pd.endDate,'%Y-%m')" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "ff_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' 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)" + } + }, + { + "type": "derived_column", + "alias": "total_ff_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ff_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ff_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ff_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ff_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ff_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ff_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ff_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ff_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ff_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174' AND pd.population_type = 9), 1, NULL)" + } + } + ], + "filters": { + "conditionJoinOperator": "and", + "conditions": [ + { + "filterType": "tableColumns", + "conditionExpression": "pd.location_id in (?)", + "parameterName": "locations" + }, + { + "filterType": "tableColumns", + "conditionExpression": "pd.endDate = ?", + "parameterName": "endDate" + } + ] + }, + "groupBy": { + "groupParam": "groupByParam", + "columns": ["person_id"] + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-aggregate.json new file mode 100644 index 000000000..ee59e2d23 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-aggregate.json @@ -0,0 +1,1106 @@ +{ + "name": "recurrentUseOfPepPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "recurrentUseOfPepPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "recurrentUseOfPepPrepBase", + "alias": "b" + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "b.person_id" + }, + { + "type": "simple_column", + "alias": "month", + "column": "b.month" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "b.location_id" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "b.location_uuid" + }, + { + "type": "simple_column", + "alias": "location", + "column": "b.location" + }, + { + "type": "simple_column", + "alias": "gg_tg_15_19_male", + "column": "sum(b.gg_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "gg_tg_15_19_female", + "column": "sum(b.gg_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "gg_tg_20_24_male", + "column": "sum(b.gg_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "gg_tg_20_24_female", + "column": "sum(b.gg_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "gg_tg_25_29_male", + "column": "sum(b.gg_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "gg_tg_25_29_female", + "column": "sum(b.gg_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "gg_tg_30_34_male", + "column": "sum(b.gg_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "gg_tg_30_34_female", + "column": "sum(b.gg_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "gg_tg_35_39_male", + "column": "sum(b.gg_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "gg_tg_35_39_female", + "column": "sum(b.gg_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "gg_tg_40_44_male", + "column": "sum(b.gg_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "gg_tg_40_44_female", + "column": "sum(b.gg_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "gg_tg_45_49_male", + "column": "sum(b.gg_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "gg_tg_45_49_female", + "column": "sum(b.gg_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "gg_tg_50_54_male", + "column": "sum(b.gg_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "gg_tg_50_54_female", + "column": "sum(b.gg_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "gg_tg_55_59_male", + "column": "sum(b.gg_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "gg_tg_55_59_female", + "column": "sum(b.gg_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "gg_tg_60_64_male", + "column": "sum(b.gg_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "gg_tg_60_64_female", + "column": "sum(b.gg_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "gg_tg_above_65_male", + "column": "sum(b.gg_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "gg_tg_above_65_female", + "column": "sum(b.gg_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_gg_tg", + "column": "sum(b.total_gg_tg)" + }, + { + "type": "simple_column", + "alias": "gg_msm_15_19_male", + "column": "sum(b.gg_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "gg_msm_15_19_female", + "column": "sum(b.gg_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "gg_msm_20_24_male", + "column": "sum(b.gg_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "gg_msm_20_24_female", + "column": "sum(b.gg_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "gg_msm_25_29_male", + "column": "sum(b.gg_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "gg_msm_25_29_female", + "column": "sum(b.gg_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "gg_msm_30_34_male", + "column": "sum(b.gg_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "gg_msm_30_34_female", + "column": "sum(b.gg_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "gg_msm_35_39_male", + "column": "sum(b.gg_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "gg_msm_35_39_female", + "column": "sum(b.gg_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "gg_msm_40_44_male", + "column": "sum(b.gg_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "gg_msm_40_44_female", + "column": "sum(b.gg_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "gg_msm_45_49_male", + "column": "sum(b.gg_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "gg_msm_45_49_female", + "column": "sum(b.gg_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "gg_msm_50_54_male", + "column": "sum(b.gg_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "gg_msm_50_54_female", + "column": "sum(b.gg_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "gg_msm_55_59_male", + "column": "sum(b.gg_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "gg_msm_55_59_female", + "column": "sum(b.gg_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "gg_msm_60_64_male", + "column": "sum(b.gg_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "gg_msm_60_64_female", + "column": "sum(b.gg_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "gg_msm_above_65_male", + "column": "sum(b.gg_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "gg_msm_above_65_female", + "column": "sum(b.gg_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_gg_msm", + "column": "sum(b.total_gg_msm)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_15_19_male", + "column": "sum(b.gg_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_15_19_female", + "column": "sum(b.gg_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_20_24_male", + "column": "sum(b.gg_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_20_24_female", + "column": "sum(b.gg_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_25_29_male", + "column": "sum(b.gg_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_25_29_female", + "column": "sum(b.gg_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_30_34_male", + "column": "sum(b.gg_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_30_34_female", + "column": "sum(b.gg_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_35_39_male", + "column": "sum(b.gg_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_35_39_female", + "column": "sum(b.gg_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_40_44_male", + "column": "sum(b.gg_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_40_44_female", + "column": "sum(b.gg_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_45_49_male", + "column": "sum(b.gg_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_45_49_female", + "column": "sum(b.gg_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_50_54_male", + "column": "sum(b.gg_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_50_54_female", + "column": "sum(b.gg_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_55_59_male", + "column": "sum(b.gg_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_55_59_female", + "column": "sum(b.gg_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_60_64_male", + "column": "sum(b.gg_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_60_64_female", + "column": "sum(b.gg_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_above_65_male", + "column": "sum(b.gg_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "gg_agyw_above_65_female", + "column": "sum(b.gg_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_gg_agyw", + "column": "sum(b.total_gg_agyw)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_15_19_male", + "column": "sum(b.gg_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_15_19_female", + "column": "sum(b.gg_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_20_24_male", + "column": "sum(b.gg_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_20_24_female", + "column": "sum(b.gg_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_25_29_male", + "column": "sum(b.gg_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_25_29_female", + "column": "sum(b.gg_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_30_34_male", + "column": "sum(b.gg_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_30_34_female", + "column": "sum(b.gg_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_35_39_male", + "column": "sum(b.gg_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_35_39_female", + "column": "sum(b.gg_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_40_44_male", + "column": "sum(b.gg_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_40_44_female", + "column": "sum(b.gg_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_45_49_male", + "column": "sum(b.gg_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_45_49_female", + "column": "sum(b.gg_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_50_54_male", + "column": "sum(b.gg_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_50_54_female", + "column": "sum(b.gg_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_55_59_male", + "column": "sum(b.gg_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_55_59_female", + "column": "sum(b.gg_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_60_64_male", + "column": "sum(b.gg_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_60_64_female", + "column": "sum(b.gg_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_above_65_male", + "column": "sum(b.gg_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "gg_mhr_above_65_female", + "column": "sum(b.gg_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_gg_mhr", + "column": "sum(b.total_gg_mhr)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_15_19_male", + "column": "sum(b.gg_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_15_19_female", + "column": "sum(b.gg_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_20_24_male", + "column": "sum(b.gg_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_20_24_female", + "column": "sum(b.gg_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_25_29_male", + "column": "sum(b.gg_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_25_29_female", + "column": "sum(b.gg_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_30_34_male", + "column": "sum(b.gg_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_30_34_female", + "column": "sum(b.gg_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_35_39_male", + "column": "sum(b.gg_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_35_39_female", + "column": "sum(b.gg_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_40_44_male", + "column": "sum(b.gg_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_40_44_female", + "column": "sum(b.gg_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_45_49_male", + "column": "sum(b.gg_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_45_49_female", + "column": "sum(b.gg_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_50_54_male", + "column": "sum(b.gg_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_50_54_female", + "column": "sum(b.gg_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_55_59_male", + "column": "sum(b.gg_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_55_59_female", + "column": "sum(b.gg_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_60_64_male", + "column": "sum(b.gg_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_60_64_female", + "column": "sum(b.gg_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_above_65_male", + "column": "sum(b.gg_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "gg_fsw_above_65_female", + "column": "sum(b.gg_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_gg_fsw", + "column": "sum(b.total_gg_fsw)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_15_19_male", + "column": "sum(b.gg_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_15_19_female", + "column": "sum(b.gg_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_20_24_male", + "column": "sum(b.gg_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_20_24_female", + "column": "sum(b.gg_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_25_29_male", + "column": "sum(b.gg_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_25_29_female", + "column": "sum(b.gg_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_30_34_male", + "column": "sum(b.gg_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_30_34_female", + "column": "sum(b.gg_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_35_39_male", + "column": "sum(b.gg_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_35_39_female", + "column": "sum(b.gg_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_40_44_male", + "column": "sum(b.gg_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_40_44_female", + "column": "sum(b.gg_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_45_49_male", + "column": "sum(b.gg_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_45_49_female", + "column": "sum(b.gg_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_50_54_male", + "column": "sum(b.gg_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_50_54_female", + "column": "sum(b.gg_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_55_59_male", + "column": "sum(b.gg_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_55_59_female", + "column": "sum(b.gg_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_60_64_male", + "column": "sum(b.gg_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_60_64_female", + "column": "sum(b.gg_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_above_65_male", + "column": "sum(b.gg_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "gg_pwid_above_65_female", + "column": "sum(b.gg_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_gg_pwid", + "column": "sum(b.total_gg_pwid)" + }, + { + "type": "simple_column", + "alias": "gg_ow_15_19_male", + "column": "sum(b.gg_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "gg_ow_15_19_female", + "column": "sum(b.gg_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "gg_ow_20_24_male", + "column": "sum(b.gg_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "gg_ow_20_24_female", + "column": "sum(b.gg_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "gg_ow_25_29_male", + "column": "sum(b.gg_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "gg_ow_25_29_female", + "column": "sum(b.gg_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "gg_ow_30_34_male", + "column": "sum(b.gg_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "gg_ow_30_34_female", + "column": "sum(b.gg_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "gg_ow_35_39_male", + "column": "sum(b.gg_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "gg_ow_35_39_female", + "column": "sum(b.gg_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "gg_ow_40_44_male", + "column": "sum(b.gg_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "gg_ow_40_44_female", + "column": "sum(b.gg_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "gg_ow_45_49_male", + "column": "sum(b.gg_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "gg_ow_45_49_female", + "column": "sum(b.gg_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "gg_ow_50_54_male", + "column": "sum(b.gg_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "gg_ow_50_54_female", + "column": "sum(b.gg_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "gg_ow_55_59_male", + "column": "sum(b.gg_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "gg_ow_55_59_female", + "column": "sum(b.gg_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "gg_ow_60_64_male", + "column": "sum(b.gg_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "gg_ow_60_64_female", + "column": "sum(b.gg_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "gg_ow_above_65_male", + "column": "sum(b.gg_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "gg_ow_above_65_female", + "column": "sum(b.gg_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_gg_ow", + "column": "sum(b.total_gg_ow)" + }, + { + "type": "simple_column", + "alias": "gg_sc_15_19_male", + "column": "sum(b.gg_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "gg_sc_15_19_female", + "column": "sum(b.gg_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "gg_sc_20_24_male", + "column": "sum(b.gg_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "gg_sc_20_24_female", + "column": "sum(b.gg_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "gg_sc_25_29_male", + "column": "sum(b.gg_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "gg_sc_25_29_female", + "column": "sum(b.gg_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "gg_sc_30_34_male", + "column": "sum(b.gg_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "gg_sc_30_34_female", + "column": "sum(b.gg_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "gg_sc_35_39_male", + "column": "sum(b.gg_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "gg_sc_35_39_female", + "column": "sum(b.gg_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "gg_sc_40_44_male", + "column": "sum(b.gg_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "gg_sc_40_44_female", + "column": "sum(b.gg_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "gg_sc_45_49_male", + "column": "sum(b.gg_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "gg_sc_45_49_female", + "column": "sum(b.gg_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "gg_sc_50_54_male", + "column": "sum(b.gg_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "gg_sc_50_54_female", + "column": "sum(b.gg_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "gg_sc_55_59_male", + "column": "sum(b.gg_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "gg_sc_55_59_female", + "column": "sum(b.gg_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "gg_sc_60_64_male", + "column": "sum(b.gg_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "gg_sc_60_64_female", + "column": "sum(b.gg_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "gg_sc_above_65_male", + "column": "sum(b.gg_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "gg_sc_above_65_female", + "column": "sum(b.gg_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_gg_sc", + "column": "sum(b.total_gg_sc)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_15_19_male", + "column": "sum(b.gg_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_15_19_female", + "column": "sum(b.gg_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_20_24_male", + "column": "sum(b.gg_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_20_24_female", + "column": "sum(b.gg_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_25_29_male", + "column": "sum(b.gg_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_25_29_female", + "column": "sum(b.gg_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_30_34_male", + "column": "sum(b.gg_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_30_34_female", + "column": "sum(b.gg_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_35_39_male", + "column": "sum(b.gg_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_35_39_female", + "column": "sum(b.gg_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_40_44_male", + "column": "sum(b.gg_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_40_44_female", + "column": "sum(b.gg_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_45_49_male", + "column": "sum(b.gg_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_45_49_female", + "column": "sum(b.gg_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_50_54_male", + "column": "sum(b.gg_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_50_54_female", + "column": "sum(b.gg_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_55_59_male", + "column": "sum(b.gg_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_55_59_female", + "column": "sum(b.gg_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_60_64_male", + "column": "sum(b.gg_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_60_64_female", + "column": "sum(b.gg_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_above_65_male", + "column": "sum(b.gg_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "gg_pbfw_above_65_female", + "column": "sum(b.gg_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_gg_pbfw", + "column": "sum(b.total_gg_pbfw)" + } + ], + "groupBy": { + "groupParam": "groupByParam", + "columns": ["b.location_id"], + "excludeParam": "excludeParam" + }, + "transFormDirectives": { + "joinColumn": "location_id", + "joinColumnParam": "", + "skipColumns": [""], + "disaggregationColumns": [] + }, + "dynamicJsonQueryGenerationDirectives": { + "patientListGenerator": { + "useTemplate": "patient-list-with-contacts-template", + "useTemplateVersion": "1.0", + "generatingDirectives": { + "joinDirectives": { + "joinType": "INNER", + "joinCondition": "<> = <>", + "baseColumn": "person_id", + "templateColumn": "person_id" + } + } + } + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-base.json new file mode 100644 index 000000000..41ec7fec2 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-base.json @@ -0,0 +1,1767 @@ +{ + "name": "recurrentUseOfPepPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v3", + "alias": "pd" + }, + { + "table": "etl.flat_patient_identifiers_v1", + "alias": "fi", + "join": { + "type": "LEFT", + "joinCondition": "pd.person_id = fi.patient_id" + } + }, + { + "table": "amrs.location", + "alias": "l", + "join": { + "type": "INNER", + "joinCondition": "pd.location_id = l.location_id" + } + }, + { + "table": "amrs.person", + "alias": "per", + "join": { + "type": "INNER", + "joinCondition": "pd.person_id = per.person_id" + } + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "pd.person_id" + }, + { + "type": "simple_column", + "alias": "ccc_number", + "column": "fi.ccc" + }, + { + "type": "simple_column", + "alias": "ovcid_id", + "column": "fi.ovcid" + }, + { + "type": "simple_column", + "alias": "upi_number", + "column": "fi.nupi" + }, + { + "type": "simple_column", + "alias": "age", + "column": "pd.age" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "pd.location_id" + }, + { + "type": "simple_column", + "alias": "location", + "column": "l.name" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "l.uuid" + }, + { + "type": "simple_column", + "alias": "population_type", + "column": "pd.population_type" + }, + { + "type": "derived_column", + "alias": "month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "DATE_FORMAT(pd.endDate,'%Y-%m')" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "gg_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' 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)" + } + }, + { + "type": "derived_column", + "alias": "total_gg_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_gg_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_gg_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_gg_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_gg_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_gg_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_gg_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_gg_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "gg_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_gg_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764' AND pd.population_type = 9), 1, NULL)" + } + } + ], + "filters": { + "conditionJoinOperator": "and", + "conditions": [ + { + "filterType": "tableColumns", + "conditionExpression": "pd.location_id in (?)", + "parameterName": "locations" + }, + { + "filterType": "tableColumns", + "conditionExpression": "pd.endDate = ?", + "parameterName": "endDate" + } + ] + }, + "groupBy": { + "groupParam": "groupByParam", + "columns": ["person_id"] + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/shared-needles-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/shared-needles-aggregate.json new file mode 100644 index 000000000..9a8a4b0c9 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/shared-needles-aggregate.json @@ -0,0 +1,186 @@ +{ + "name": "sharedNeedlesPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "sharedNeedlesPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "sharedNeedlesPrepBase", + "alias": "b" + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "b.person_id" + }, + { + "type": "simple_column", + "alias": "month", + "column": "b.month" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "b.location_id" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "b.location_uuid" + }, + { + "type": "simple_column", + "alias": "location", + "column": "b.location" + }, + { + "type": "simple_column", + "alias": "kk_pwid_15_19_male", + "column": "sum(b.kk_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_15_19_female", + "column": "sum(b.kk_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_20_24_male", + "column": "sum(b.kk_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_20_24_female", + "column": "sum(b.kk_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_25_29_male", + "column": "sum(b.kk_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_25_29_female", + "column": "sum(b.kk_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_30_34_male", + "column": "sum(b.kk_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_30_34_female", + "column": "sum(b.kk_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_35_39_male", + "column": "sum(b.kk_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_35_39_female", + "column": "sum(b.kk_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_40_44_male", + "column": "sum(b.kk_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_40_44_female", + "column": "sum(b.kk_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_45_49_male", + "column": "sum(b.kk_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_45_49_female", + "column": "sum(b.kk_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_50_54_male", + "column": "sum(b.kk_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_50_54_female", + "column": "sum(b.kk_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_55_59_male", + "column": "sum(b.kk_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_55_59_female", + "column": "sum(b.kk_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_60_64_male", + "column": "sum(b.kk_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_60_64_female", + "column": "sum(b.kk_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_above_65_male", + "column": "sum(b.kk_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "kk_pwid_above_65_female", + "column": "sum(b.kk_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_kk_pwid", + "column": "sum(b.total_kk_pwid)" + } + ], + "groupBy": { + "groupParam": "groupByParam", + "columns": ["b.location_id"], + "excludeParam": "excludeParam" + }, + "transFormDirectives": { + "joinColumn": "location_id", + "joinColumnParam": "", + "skipColumns": [""], + "disaggregationColumns": [] + }, + "dynamicJsonQueryGenerationDirectives": { + "patientListGenerator": { + "useTemplate": "patient-list-with-contacts-template", + "useTemplateVersion": "1.0", + "generatingDirectives": { + "joinDirectives": { + "joinType": "INNER", + "joinCondition": "<> = <>", + "baseColumn": "person_id", + "templateColumn": "person_id" + } + } + } + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/shared-needles-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/shared-needles-base.json new file mode 100644 index 000000000..09d65b5bc --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/shared-needles-base.json @@ -0,0 +1,295 @@ +{ + "name": "sharedNeedlesPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v3", + "alias": "pd" + }, + { + "table": "etl.flat_patient_identifiers_v1", + "alias": "fi", + "join": { + "type": "LEFT", + "joinCondition": "pd.person_id = fi.patient_id" + } + }, + { + "table": "amrs.location", + "alias": "l", + "join": { + "type": "INNER", + "joinCondition": "pd.location_id = l.location_id" + } + }, + { + "table": "amrs.person", + "alias": "per", + "join": { + "type": "INNER", + "joinCondition": "pd.person_id = per.person_id" + } + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "pd.person_id" + }, + { + "type": "simple_column", + "alias": "ccc_number", + "column": "fi.ccc" + }, + { + "type": "simple_column", + "alias": "ovcid_id", + "column": "fi.ovcid" + }, + { + "type": "simple_column", + "alias": "upi_number", + "column": "fi.nupi" + }, + { + "type": "simple_column", + "alias": "age", + "column": "pd.age" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "pd.location_id" + }, + { + "type": "simple_column", + "alias": "location", + "column": "l.name" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "l.uuid" + }, + { + "type": "simple_column", + "alias": "population_type", + "column": "pd.population_type" + }, + { + "type": "derived_column", + "alias": "month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "DATE_FORMAT(pd.endDate,'%Y-%m')" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "kk_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_kk_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '105' AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + } + ], + "filters": { + "conditionJoinOperator": "and", + "conditions": [ + { + "filterType": "tableColumns", + "conditionExpression": "pd.location_id in (?)", + "parameterName": "locations" + }, + { + "filterType": "tableColumns", + "conditionExpression": "pd.endDate = ?", + "parameterName": "endDate" + } + ] + }, + "groupBy": { + "groupParam": "groupByParam", + "columns": ["person_id"] + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-aggregate.json new file mode 100644 index 000000000..2abd90e5a --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-aggregate.json @@ -0,0 +1,1106 @@ +{ + "name": "transactionalSexPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "transactionalSexPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "transactionalSexPrepBase", + "alias": "b" + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "b.person_id" + }, + { + "type": "simple_column", + "alias": "month", + "column": "b.month" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "b.location_id" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "b.location_uuid" + }, + { + "type": "simple_column", + "alias": "location", + "column": "b.location" + }, + { + "type": "simple_column", + "alias": "ee_tg_15_19_male", + "column": "sum(b.ee_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ee_tg_15_19_female", + "column": "sum(b.ee_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ee_tg_20_24_male", + "column": "sum(b.ee_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ee_tg_20_24_female", + "column": "sum(b.ee_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ee_tg_25_29_male", + "column": "sum(b.ee_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ee_tg_25_29_female", + "column": "sum(b.ee_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ee_tg_30_34_male", + "column": "sum(b.ee_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ee_tg_30_34_female", + "column": "sum(b.ee_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ee_tg_35_39_male", + "column": "sum(b.ee_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ee_tg_35_39_female", + "column": "sum(b.ee_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ee_tg_40_44_male", + "column": "sum(b.ee_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ee_tg_40_44_female", + "column": "sum(b.ee_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ee_tg_45_49_male", + "column": "sum(b.ee_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ee_tg_45_49_female", + "column": "sum(b.ee_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ee_tg_50_54_male", + "column": "sum(b.ee_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ee_tg_50_54_female", + "column": "sum(b.ee_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ee_tg_55_59_male", + "column": "sum(b.ee_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ee_tg_55_59_female", + "column": "sum(b.ee_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ee_tg_60_64_male", + "column": "sum(b.ee_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ee_tg_60_64_female", + "column": "sum(b.ee_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ee_tg_above_65_male", + "column": "sum(b.ee_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ee_tg_above_65_female", + "column": "sum(b.ee_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ee_tg", + "column": "sum(b.total_ee_tg)" + }, + { + "type": "simple_column", + "alias": "ee_msm_15_19_male", + "column": "sum(b.ee_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ee_msm_15_19_female", + "column": "sum(b.ee_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ee_msm_20_24_male", + "column": "sum(b.ee_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ee_msm_20_24_female", + "column": "sum(b.ee_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ee_msm_25_29_male", + "column": "sum(b.ee_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ee_msm_25_29_female", + "column": "sum(b.ee_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ee_msm_30_34_male", + "column": "sum(b.ee_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ee_msm_30_34_female", + "column": "sum(b.ee_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ee_msm_35_39_male", + "column": "sum(b.ee_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ee_msm_35_39_female", + "column": "sum(b.ee_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ee_msm_40_44_male", + "column": "sum(b.ee_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ee_msm_40_44_female", + "column": "sum(b.ee_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ee_msm_45_49_male", + "column": "sum(b.ee_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ee_msm_45_49_female", + "column": "sum(b.ee_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ee_msm_50_54_male", + "column": "sum(b.ee_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ee_msm_50_54_female", + "column": "sum(b.ee_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ee_msm_55_59_male", + "column": "sum(b.ee_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ee_msm_55_59_female", + "column": "sum(b.ee_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ee_msm_60_64_male", + "column": "sum(b.ee_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ee_msm_60_64_female", + "column": "sum(b.ee_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ee_msm_above_65_male", + "column": "sum(b.ee_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ee_msm_above_65_female", + "column": "sum(b.ee_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ee_msm", + "column": "sum(b.total_ee_msm)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_15_19_male", + "column": "sum(b.ee_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_15_19_female", + "column": "sum(b.ee_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_20_24_male", + "column": "sum(b.ee_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_20_24_female", + "column": "sum(b.ee_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_25_29_male", + "column": "sum(b.ee_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_25_29_female", + "column": "sum(b.ee_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_30_34_male", + "column": "sum(b.ee_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_30_34_female", + "column": "sum(b.ee_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_35_39_male", + "column": "sum(b.ee_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_35_39_female", + "column": "sum(b.ee_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_40_44_male", + "column": "sum(b.ee_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_40_44_female", + "column": "sum(b.ee_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_45_49_male", + "column": "sum(b.ee_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_45_49_female", + "column": "sum(b.ee_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_50_54_male", + "column": "sum(b.ee_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_50_54_female", + "column": "sum(b.ee_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_55_59_male", + "column": "sum(b.ee_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_55_59_female", + "column": "sum(b.ee_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_60_64_male", + "column": "sum(b.ee_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_60_64_female", + "column": "sum(b.ee_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_above_65_male", + "column": "sum(b.ee_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ee_agyw_above_65_female", + "column": "sum(b.ee_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ee_agyw", + "column": "sum(b.total_ee_agyw)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_15_19_male", + "column": "sum(b.ee_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_15_19_female", + "column": "sum(b.ee_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_20_24_male", + "column": "sum(b.ee_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_20_24_female", + "column": "sum(b.ee_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_25_29_male", + "column": "sum(b.ee_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_25_29_female", + "column": "sum(b.ee_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_30_34_male", + "column": "sum(b.ee_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_30_34_female", + "column": "sum(b.ee_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_35_39_male", + "column": "sum(b.ee_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_35_39_female", + "column": "sum(b.ee_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_40_44_male", + "column": "sum(b.ee_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_40_44_female", + "column": "sum(b.ee_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_45_49_male", + "column": "sum(b.ee_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_45_49_female", + "column": "sum(b.ee_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_50_54_male", + "column": "sum(b.ee_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_50_54_female", + "column": "sum(b.ee_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_55_59_male", + "column": "sum(b.ee_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_55_59_female", + "column": "sum(b.ee_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_60_64_male", + "column": "sum(b.ee_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_60_64_female", + "column": "sum(b.ee_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_above_65_male", + "column": "sum(b.ee_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ee_mhr_above_65_female", + "column": "sum(b.ee_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ee_mhr", + "column": "sum(b.total_ee_mhr)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_15_19_male", + "column": "sum(b.ee_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_15_19_female", + "column": "sum(b.ee_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_20_24_male", + "column": "sum(b.ee_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_20_24_female", + "column": "sum(b.ee_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_25_29_male", + "column": "sum(b.ee_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_25_29_female", + "column": "sum(b.ee_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_30_34_male", + "column": "sum(b.ee_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_30_34_female", + "column": "sum(b.ee_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_35_39_male", + "column": "sum(b.ee_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_35_39_female", + "column": "sum(b.ee_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_40_44_male", + "column": "sum(b.ee_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_40_44_female", + "column": "sum(b.ee_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_45_49_male", + "column": "sum(b.ee_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_45_49_female", + "column": "sum(b.ee_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_50_54_male", + "column": "sum(b.ee_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_50_54_female", + "column": "sum(b.ee_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_55_59_male", + "column": "sum(b.ee_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_55_59_female", + "column": "sum(b.ee_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_60_64_male", + "column": "sum(b.ee_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_60_64_female", + "column": "sum(b.ee_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_above_65_male", + "column": "sum(b.ee_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ee_fsw_above_65_female", + "column": "sum(b.ee_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ee_fsw", + "column": "sum(b.total_ee_fsw)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_15_19_male", + "column": "sum(b.ee_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_15_19_female", + "column": "sum(b.ee_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_20_24_male", + "column": "sum(b.ee_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_20_24_female", + "column": "sum(b.ee_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_25_29_male", + "column": "sum(b.ee_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_25_29_female", + "column": "sum(b.ee_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_30_34_male", + "column": "sum(b.ee_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_30_34_female", + "column": "sum(b.ee_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_35_39_male", + "column": "sum(b.ee_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_35_39_female", + "column": "sum(b.ee_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_40_44_male", + "column": "sum(b.ee_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_40_44_female", + "column": "sum(b.ee_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_45_49_male", + "column": "sum(b.ee_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_45_49_female", + "column": "sum(b.ee_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_50_54_male", + "column": "sum(b.ee_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_50_54_female", + "column": "sum(b.ee_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_55_59_male", + "column": "sum(b.ee_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_55_59_female", + "column": "sum(b.ee_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_60_64_male", + "column": "sum(b.ee_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_60_64_female", + "column": "sum(b.ee_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_above_65_male", + "column": "sum(b.ee_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ee_pwid_above_65_female", + "column": "sum(b.ee_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ee_pwid", + "column": "sum(b.total_ee_pwid)" + }, + { + "type": "simple_column", + "alias": "ee_ow_15_19_male", + "column": "sum(b.ee_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ee_ow_15_19_female", + "column": "sum(b.ee_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ee_ow_20_24_male", + "column": "sum(b.ee_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ee_ow_20_24_female", + "column": "sum(b.ee_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ee_ow_25_29_male", + "column": "sum(b.ee_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ee_ow_25_29_female", + "column": "sum(b.ee_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ee_ow_30_34_male", + "column": "sum(b.ee_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ee_ow_30_34_female", + "column": "sum(b.ee_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ee_ow_35_39_male", + "column": "sum(b.ee_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ee_ow_35_39_female", + "column": "sum(b.ee_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ee_ow_40_44_male", + "column": "sum(b.ee_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ee_ow_40_44_female", + "column": "sum(b.ee_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ee_ow_45_49_male", + "column": "sum(b.ee_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ee_ow_45_49_female", + "column": "sum(b.ee_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ee_ow_50_54_male", + "column": "sum(b.ee_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ee_ow_50_54_female", + "column": "sum(b.ee_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ee_ow_55_59_male", + "column": "sum(b.ee_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ee_ow_55_59_female", + "column": "sum(b.ee_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ee_ow_60_64_male", + "column": "sum(b.ee_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ee_ow_60_64_female", + "column": "sum(b.ee_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ee_ow_above_65_male", + "column": "sum(b.ee_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ee_ow_above_65_female", + "column": "sum(b.ee_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ee_ow", + "column": "sum(b.total_ee_ow)" + }, + { + "type": "simple_column", + "alias": "ee_sc_15_19_male", + "column": "sum(b.ee_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ee_sc_15_19_female", + "column": "sum(b.ee_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ee_sc_20_24_male", + "column": "sum(b.ee_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ee_sc_20_24_female", + "column": "sum(b.ee_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ee_sc_25_29_male", + "column": "sum(b.ee_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ee_sc_25_29_female", + "column": "sum(b.ee_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ee_sc_30_34_male", + "column": "sum(b.ee_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ee_sc_30_34_female", + "column": "sum(b.ee_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ee_sc_35_39_male", + "column": "sum(b.ee_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ee_sc_35_39_female", + "column": "sum(b.ee_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ee_sc_40_44_male", + "column": "sum(b.ee_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ee_sc_40_44_female", + "column": "sum(b.ee_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ee_sc_45_49_male", + "column": "sum(b.ee_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ee_sc_45_49_female", + "column": "sum(b.ee_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ee_sc_50_54_male", + "column": "sum(b.ee_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ee_sc_50_54_female", + "column": "sum(b.ee_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ee_sc_55_59_male", + "column": "sum(b.ee_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ee_sc_55_59_female", + "column": "sum(b.ee_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ee_sc_60_64_male", + "column": "sum(b.ee_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ee_sc_60_64_female", + "column": "sum(b.ee_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ee_sc_above_65_male", + "column": "sum(b.ee_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ee_sc_above_65_female", + "column": "sum(b.ee_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ee_sc", + "column": "sum(b.total_ee_sc)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_15_19_male", + "column": "sum(b.ee_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_15_19_female", + "column": "sum(b.ee_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_20_24_male", + "column": "sum(b.ee_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_20_24_female", + "column": "sum(b.ee_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_25_29_male", + "column": "sum(b.ee_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_25_29_female", + "column": "sum(b.ee_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_30_34_male", + "column": "sum(b.ee_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_30_34_female", + "column": "sum(b.ee_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_35_39_male", + "column": "sum(b.ee_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_35_39_female", + "column": "sum(b.ee_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_40_44_male", + "column": "sum(b.ee_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_40_44_female", + "column": "sum(b.ee_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_45_49_male", + "column": "sum(b.ee_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_45_49_female", + "column": "sum(b.ee_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_50_54_male", + "column": "sum(b.ee_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_50_54_female", + "column": "sum(b.ee_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_55_59_male", + "column": "sum(b.ee_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_55_59_female", + "column": "sum(b.ee_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_60_64_male", + "column": "sum(b.ee_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_60_64_female", + "column": "sum(b.ee_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_above_65_male", + "column": "sum(b.ee_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ee_pbfw_above_65_female", + "column": "sum(b.ee_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ee_pbfw", + "column": "sum(b.total_ee_pbfw)" + } + ], + "groupBy": { + "groupParam": "groupByParam", + "columns": ["b.location_id"], + "excludeParam": "excludeParam" + }, + "transFormDirectives": { + "joinColumn": "location_id", + "joinColumnParam": "", + "skipColumns": [""], + "disaggregationColumns": [] + }, + "dynamicJsonQueryGenerationDirectives": { + "patientListGenerator": { + "useTemplate": "patient-list-with-contacts-template", + "useTemplateVersion": "1.0", + "generatingDirectives": { + "joinDirectives": { + "joinType": "INNER", + "joinCondition": "<> = <>", + "baseColumn": "person_id", + "templateColumn": "person_id" + } + } + } + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-base.json new file mode 100644 index 000000000..dbb1318e2 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-base.json @@ -0,0 +1,1767 @@ +{ + "name": "transactionalSexPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v3", + "alias": "pd" + }, + { + "table": "etl.flat_patient_identifiers_v1", + "alias": "fi", + "join": { + "type": "LEFT", + "joinCondition": "pd.person_id = fi.patient_id" + } + }, + { + "table": "amrs.location", + "alias": "l", + "join": { + "type": "INNER", + "joinCondition": "pd.location_id = l.location_id" + } + }, + { + "table": "amrs.person", + "alias": "per", + "join": { + "type": "INNER", + "joinCondition": "pd.person_id = per.person_id" + } + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "pd.person_id" + }, + { + "type": "simple_column", + "alias": "ccc_number", + "column": "fi.ccc" + }, + { + "type": "simple_column", + "alias": "ovcid_id", + "column": "fi.ovcid" + }, + { + "type": "simple_column", + "alias": "upi_number", + "column": "fi.nupi" + }, + { + "type": "simple_column", + "alias": "age", + "column": "pd.age" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "pd.location_id" + }, + { + "type": "simple_column", + "alias": "location", + "column": "l.name" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "l.uuid" + }, + { + "type": "simple_column", + "alias": "population_type", + "column": "pd.population_type" + }, + { + "type": "derived_column", + "alias": "month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "DATE_FORMAT(pd.endDate,'%Y-%m')" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "ee_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' 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)" + } + }, + { + "type": "derived_column", + "alias": "total_ee_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ee_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ee_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 4 OR pd.old_population_type = 300 ) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ee_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ee_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ee_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 7 OR pd.old_population_type = 300 ) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ee_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type = 8 OR pd.old_population_type = 100 ) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ee_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ee_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ee_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763' AND pd.population_type = 9), 1, NULL)" + } + } + ], + "filters": { + "conditionJoinOperator": "and", + "conditions": [ + { + "filterType": "tableColumns", + "conditionExpression": "pd.location_id in (?)", + "parameterName": "locations" + }, + { + "filterType": "tableColumns", + "conditionExpression": "pd.endDate = ?", + "parameterName": "endDate" + } + ] + }, + "groupBy": { + "groupParam": "groupByParam", + "columns": ["person_id"] + } +} diff --git a/app/reporting-framework/json-reports/prep-monthly/prep-monthly-sections-indicators.json b/app/reporting-framework/json-reports/prep-monthly/prep-monthly-sections-indicators.json index 49e5dfaf2..592ded251 100644 --- a/app/reporting-framework/json-reports/prep-monthly/prep-monthly-sections-indicators.json +++ b/app/reporting-framework/json-reports/prep-monthly/prep-monthly-sections-indicators.json @@ -8563,39 +8563,39 @@ "indicators": [ { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 15 and 19 Male", - "indicator": "bb_mhr_15_19_male" + "indicator": "cc_mhr_15_19_male" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 15 and 19 Female", - "indicator": "bb_mhr_15_19_female" + "indicator": "cc_mhr_15_19_female" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 20 and 24 Male", - "indicator": "bb_mhr_20_24_male" + "indicator": "cc_mhr_20_24_male" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 20 and 24 Female", - "indicator": "bb_mhr_20_24_female" + "indicator": "cc_mhr_20_24_female" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 25 and 29 Male", - "indicator": "bb_mhr_25_29_male" + "indicator": "cc_mhr_25_29_male" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 25 and 29 Female", - "indicator": "bb_mhr_25_29_female" + "indicator": "cc_mhr_25_29_female" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 30 and 34 Male", - "indicator": "bb_mhr_30_34_male" + "indicator": "cc_mhr_30_34_male" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 30 and 34 Female", - "indicator": "bb_mhr_30_34_female" + "indicator": "cc_mhr_30_34_female" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 35 and 39 Male", - "indicator": "bb_mhr_35_39_male" + "indicator": "cc_mhr_35_39_male" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 35 and 39 Female", @@ -8603,55 +8603,55 @@ }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 40 and 44 Male", - "indicator": "bb_mhr_40_44_male" + "indicator": "cc_mhr_40_44_male" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 40 and 44 Female", - "indicator": "bb_mhr_40_44_female" + "indicator": "cc_mhr_40_44_female" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 45 and 49 Male", - "indicator": "bb_mhr_45_49_male" + "indicator": "cc_mhr_45_49_male" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 45 and 49 Female", - "indicator": "bb_mhr_45_49_female" + "indicator": "cc_mhr_45_49_female" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 50 and 54 Male", - "indicator": "bb_mhr_50_54_male" + "indicator": "cc_mhr_50_54_male" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 50 and 54 Female", - "indicator": "bb_mhr_50_54_female" + "indicator": "cc_mhr_50_54_female" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 55 and 59 Male", - "indicator": "bb_mhr_55_59_male" + "indicator": "cc_mhr_55_59_male" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 55 and 59 Female", - "indicator": "bb_mhr_55_59_female" + "indicator": "cc_mhr_55_59_female" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 60 and 64 Male", - "indicator": "bb_mhr_60_64_male" + "indicator": "cc_mhr_60_64_male" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 60 and 64 Female", - "indicator": "bb_mhr_60_64_female" + "indicator": "cc_mhr_60_64_female" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Male", - "indicator": "bb_mhr_above_65_male" + "indicator": "cc_mhr_above_65_male" }, { "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Female", - "indicator": "bb_mhr_above_65_female" + "indicator": "cc_mhr_above_65_female" }, { "label": "Total Number clients whose main reason for starting PrEP is multiple sexual partners ", - "indicator": "total_bb_mhr" + "indicator": "total_cc_mhr" } ] }, @@ -9141,5 +9141,5375 @@ ] } ] + }, + { + "sectionTitle": "On going IPV/GBV", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Male", + "indicator": "dd_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Female", + "indicator": "dd_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Male", + "indicator": "dd_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Female", + "indicator": "dd_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Male", + "indicator": "dd_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Female", + "indicator": "dd_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Male", + "indicator": "dd_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Female", + "indicator": "dd_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Male", + "indicator": "dd_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Female", + "indicator": "dd_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Male", + "indicator": "dd_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Female", + "indicator": "dd_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Male", + "indicator": "dd_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Female", + "indicator": "dd_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Male", + "indicator": "dd_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Female", + "indicator": "dd_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Male", + "indicator": "dd_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Female", + "indicator": "dd_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Male", + "indicator": "dd_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Female", + "indicator": "dd_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Male", + "indicator": "dd_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Female", + "indicator": "dd_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is on going IPV/GBV ", + "indicator": "total_dd_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Male", + "indicator": "dd_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Female", + "indicator": "dd_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Male", + "indicator": "dd_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Female", + "indicator": "dd_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Male", + "indicator": "dd_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Female", + "indicator": "dd_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Male", + "indicator": "dd_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Female", + "indicator": "dd_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Male", + "indicator": "dd_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Female", + "indicator": "dd_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Male", + "indicator": "dd_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Female", + "indicator": "dd_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Male", + "indicator": "dd_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Female", + "indicator": "dd_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Male", + "indicator": "dd_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Female", + "indicator": "dd_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Male", + "indicator": "dd_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Female", + "indicator": "dd_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Male", + "indicator": "dd_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Female", + "indicator": "dd_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Male", + "indicator": "dd_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Female", + "indicator": "dd_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is on going IPV/GBV ", + "indicator": "total_dd_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Male", + "indicator": "dd_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Female", + "indicator": "dd_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Male", + "indicator": "dd_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Female", + "indicator": "dd_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Male", + "indicator": "dd_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Female", + "indicator": "dd_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Male", + "indicator": "dd_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Female", + "indicator": "dd_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Male", + "indicator": "dd_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Female", + "indicator": "dd_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Male", + "indicator": "dd_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Female", + "indicator": "dd_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Male", + "indicator": "dd_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Female", + "indicator": "dd_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Male", + "indicator": "dd_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Female", + "indicator": "dd_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Male", + "indicator": "dd_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Female", + "indicator": "dd_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Male", + "indicator": "dd_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Female", + "indicator": "dd_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Male", + "indicator": "dd_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Female", + "indicator": "dd_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for starting PrEP is on going IPV/GBV ", + "indicator": "total_dd_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Male", + "indicator": "dd_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Female", + "indicator": "dd_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Male", + "indicator": "dd_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Female", + "indicator": "dd_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Male", + "indicator": "dd_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Female", + "indicator": "dd_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Male", + "indicator": "dd_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Female", + "indicator": "dd_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Male", + "indicator": "dd_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Female", + "indicator": "dd_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Male", + "indicator": "dd_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Female", + "indicator": "dd_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Male", + "indicator": "dd_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Female", + "indicator": "dd_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Male", + "indicator": "dd_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Female", + "indicator": "dd_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Male", + "indicator": "dd_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Female", + "indicator": "dd_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Male", + "indicator": "dd_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Female", + "indicator": "dd_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Male", + "indicator": "dd_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Female", + "indicator": "dd_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is on going IPV/GBV ", + "indicator": "total_dd_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Male", + "indicator": "dd_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Female", + "indicator": "dd_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Male", + "indicator": "dd_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Female", + "indicator": "dd_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Male", + "indicator": "dd_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Female", + "indicator": "dd_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Male", + "indicator": "dd_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Female", + "indicator": "dd_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Male", + "indicator": "dd_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Female", + "indicator": "dd_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Male", + "indicator": "dd_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Female", + "indicator": "dd_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Male", + "indicator": "dd_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Female", + "indicator": "dd_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Male", + "indicator": "dd_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Female", + "indicator": "dd_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Male", + "indicator": "dd_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Female", + "indicator": "dd_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Male", + "indicator": "dd_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Female", + "indicator": "dd_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Male", + "indicator": "dd_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Female", + "indicator": "dd_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is on going IPV/GBV ", + "indicator": "total_dd_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Male", + "indicator": "dd_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Female", + "indicator": "dd_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Male", + "indicator": "dd_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Female", + "indicator": "dd_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Male", + "indicator": "dd_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Female", + "indicator": "dd_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Male", + "indicator": "dd_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Female", + "indicator": "dd_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Male", + "indicator": "dd_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Female", + "indicator": "dd_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Male", + "indicator": "dd_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Female", + "indicator": "dd_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Male", + "indicator": "dd_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Female", + "indicator": "dd_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Male", + "indicator": "dd_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Female", + "indicator": "dd_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Male", + "indicator": "dd_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Female", + "indicator": "dd_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Male", + "indicator": "dd_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Female", + "indicator": "dd_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Male", + "indicator": "dd_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Female", + "indicator": "dd_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is on going IPV/GBV ", + "indicator": "total_dd_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Male", + "indicator": "dd_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Female", + "indicator": "dd_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Male", + "indicator": "dd_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Female", + "indicator": "dd_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Male", + "indicator": "dd_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Female", + "indicator": "dd_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Male", + "indicator": "dd_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Female", + "indicator": "dd_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Male", + "indicator": "dd_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Female", + "indicator": "dd_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Male", + "indicator": "dd_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Female", + "indicator": "dd_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Male", + "indicator": "dd_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Female", + "indicator": "dd_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Male", + "indicator": "dd_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Female", + "indicator": "dd_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Male", + "indicator": "dd_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Female", + "indicator": "dd_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Male", + "indicator": "dd_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Female", + "indicator": "dd_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Male", + "indicator": "dd_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Female", + "indicator": "dd_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is on going IPV/GBV ", + "indicator": "total_dd_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Male", + "indicator": "dd_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Female", + "indicator": "dd_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Male", + "indicator": "dd_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Female", + "indicator": "dd_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Male", + "indicator": "dd_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Female", + "indicator": "dd_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Male", + "indicator": "dd_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Female", + "indicator": "dd_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Male", + "indicator": "dd_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Female", + "indicator": "dd_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Male", + "indicator": "dd_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Female", + "indicator": "dd_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Male", + "indicator": "dd_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Female", + "indicator": "dd_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Male", + "indicator": "dd_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Female", + "indicator": "dd_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Male", + "indicator": "dd_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Female", + "indicator": "dd_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Male", + "indicator": "dd_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Female", + "indicator": "dd_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Male", + "indicator": "dd_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Female", + "indicator": "dd_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is on going IPV/GBV ", + "indicator": "total_dd_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Male", + "indicator": "dd_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 15 and 19 Female", + "indicator": "dd_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Male", + "indicator": "dd_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 20 and 24 Female", + "indicator": "dd_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Male", + "indicator": "dd_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 25 and 29 Female", + "indicator": "dd_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Male", + "indicator": "dd_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 30 and 34 Female", + "indicator": "dd_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Male", + "indicator": "dd_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 35 and 39 Female", + "indicator": "dd_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Male", + "indicator": "dd_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 40 and 44 Female", + "indicator": "dd_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Male", + "indicator": "dd_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 45 and 49 Female", + "indicator": "dd_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Male", + "indicator": "dd_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 50 and 54 Female", + "indicator": "dd_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Male", + "indicator": "dd_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 55 and 59 Female", + "indicator": "dd_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Male", + "indicator": "dd_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged between 60 and 64 Female", + "indicator": "dd_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Male", + "indicator": "dd_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is on going IPV/GBV aged above 65 Female", + "indicator": "dd_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is on going IPV/GBV ", + "indicator": "total_dd_pbfw" + } + ] + } + ] + }, + { + "sectionTitle": "Engaging in transactional sex", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Male", + "indicator": "ee_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Female", + "indicator": "ee_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Male", + "indicator": "ee_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Female", + "indicator": "ee_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Male", + "indicator": "ee_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Female", + "indicator": "ee_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Male", + "indicator": "ee_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Female", + "indicator": "ee_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Male", + "indicator": "ee_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Female", + "indicator": "ee_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Male", + "indicator": "ee_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Female", + "indicator": "ee_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Male", + "indicator": "ee_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Female", + "indicator": "ee_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Male", + "indicator": "ee_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Female", + "indicator": "ee_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Male", + "indicator": "ee_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Female", + "indicator": "ee_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Male", + "indicator": "ee_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Female", + "indicator": "ee_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Male", + "indicator": "ee_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Female", + "indicator": "ee_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is engaging in transactional sex ", + "indicator": "total_ee_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Male", + "indicator": "ee_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Female", + "indicator": "ee_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Male", + "indicator": "ee_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Female", + "indicator": "ee_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Male", + "indicator": "ee_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Female", + "indicator": "ee_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Male", + "indicator": "ee_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Female", + "indicator": "ee_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Male", + "indicator": "ee_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Female", + "indicator": "ee_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Male", + "indicator": "ee_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Female", + "indicator": "ee_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Male", + "indicator": "ee_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Female", + "indicator": "ee_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Male", + "indicator": "ee_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Female", + "indicator": "ee_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Male", + "indicator": "ee_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Female", + "indicator": "ee_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Male", + "indicator": "ee_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Female", + "indicator": "ee_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Male", + "indicator": "ee_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Female", + "indicator": "ee_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is engaging in transactional sex ", + "indicator": "total_ee_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Male", + "indicator": "ee_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Female", + "indicator": "ee_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Male", + "indicator": "ee_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Female", + "indicator": "ee_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Male", + "indicator": "ee_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Female", + "indicator": "ee_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Male", + "indicator": "ee_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Female", + "indicator": "ee_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Male", + "indicator": "ee_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Female", + "indicator": "ee_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Male", + "indicator": "ee_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Female", + "indicator": "ee_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Male", + "indicator": "ee_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Female", + "indicator": "ee_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Male", + "indicator": "ee_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Female", + "indicator": "ee_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Male", + "indicator": "ee_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Female", + "indicator": "ee_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Male", + "indicator": "ee_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Female", + "indicator": "ee_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Male", + "indicator": "ee_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Female", + "indicator": "ee_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for starting PrEP is engaging in transactional sex ", + "indicator": "total_ee_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Male", + "indicator": "ee_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Female", + "indicator": "ee_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Male", + "indicator": "ee_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Female", + "indicator": "ee_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Male", + "indicator": "ee_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Female", + "indicator": "ee_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Male", + "indicator": "ee_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Female", + "indicator": "ee_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Male", + "indicator": "ee_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Female", + "indicator": "ee_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Male", + "indicator": "ee_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Female", + "indicator": "ee_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Male", + "indicator": "ee_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Female", + "indicator": "ee_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Male", + "indicator": "ee_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Female", + "indicator": "ee_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Male", + "indicator": "ee_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Female", + "indicator": "ee_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Male", + "indicator": "ee_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Female", + "indicator": "ee_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Male", + "indicator": "ee_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Female", + "indicator": "ee_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is engaging in transactional sex ", + "indicator": "total_ee_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Male", + "indicator": "ee_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Female", + "indicator": "ee_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Male", + "indicator": "ee_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Female", + "indicator": "ee_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Male", + "indicator": "ee_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Female", + "indicator": "ee_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Male", + "indicator": "ee_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Female", + "indicator": "ee_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Male", + "indicator": "ee_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Female", + "indicator": "ee_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Male", + "indicator": "ee_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Female", + "indicator": "ee_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Male", + "indicator": "ee_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Female", + "indicator": "ee_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Male", + "indicator": "ee_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Female", + "indicator": "ee_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Male", + "indicator": "ee_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Female", + "indicator": "ee_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Male", + "indicator": "ee_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Female", + "indicator": "ee_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Male", + "indicator": "ee_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Female", + "indicator": "ee_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is engaging in transactional sex ", + "indicator": "total_ee_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Male", + "indicator": "ee_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Female", + "indicator": "ee_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Male", + "indicator": "ee_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Female", + "indicator": "ee_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Male", + "indicator": "ee_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Female", + "indicator": "ee_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Male", + "indicator": "ee_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Female", + "indicator": "ee_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Male", + "indicator": "ee_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Female", + "indicator": "ee_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Male", + "indicator": "ee_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Female", + "indicator": "ee_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Male", + "indicator": "ee_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Female", + "indicator": "ee_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Male", + "indicator": "ee_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Female", + "indicator": "ee_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Male", + "indicator": "ee_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Female", + "indicator": "ee_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Male", + "indicator": "ee_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Female", + "indicator": "ee_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Male", + "indicator": "ee_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Female", + "indicator": "ee_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is engaging in transactional sex ", + "indicator": "total_ee_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Male", + "indicator": "ee_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Female", + "indicator": "ee_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Male", + "indicator": "ee_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Female", + "indicator": "ee_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Male", + "indicator": "ee_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Female", + "indicator": "ee_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Male", + "indicator": "ee_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Female", + "indicator": "ee_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Male", + "indicator": "ee_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Female", + "indicator": "ee_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Male", + "indicator": "ee_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Female", + "indicator": "ee_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Male", + "indicator": "ee_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Female", + "indicator": "ee_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Male", + "indicator": "ee_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Female", + "indicator": "ee_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Male", + "indicator": "ee_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Female", + "indicator": "ee_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Male", + "indicator": "ee_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Female", + "indicator": "ee_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Male", + "indicator": "ee_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Female", + "indicator": "ee_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is engaging in transactional sex ", + "indicator": "total_ee_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Male", + "indicator": "ee_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Female", + "indicator": "ee_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Male", + "indicator": "ee_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Female", + "indicator": "ee_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Male", + "indicator": "ee_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Female", + "indicator": "ee_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Male", + "indicator": "ee_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Female", + "indicator": "ee_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Male", + "indicator": "ee_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Female", + "indicator": "ee_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Male", + "indicator": "ee_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Female", + "indicator": "ee_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Male", + "indicator": "ee_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Female", + "indicator": "ee_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Male", + "indicator": "ee_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Female", + "indicator": "ee_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Male", + "indicator": "ee_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Female", + "indicator": "ee_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Male", + "indicator": "ee_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Female", + "indicator": "ee_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Male", + "indicator": "ee_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Female", + "indicator": "ee_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is engaging in transactional sex ", + "indicator": "total_ee_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Male", + "indicator": "ee_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 15 and 19 Female", + "indicator": "ee_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Male", + "indicator": "ee_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 20 and 24 Female", + "indicator": "ee_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Male", + "indicator": "ee_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 25 and 29 Female", + "indicator": "ee_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Male", + "indicator": "ee_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 30 and 34 Female", + "indicator": "ee_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Male", + "indicator": "ee_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 35 and 39 Female", + "indicator": "ee_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Male", + "indicator": "ee_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 40 and 44 Female", + "indicator": "ee_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Male", + "indicator": "ee_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 45 and 49 Female", + "indicator": "ee_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Male", + "indicator": "ee_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 50 and 54 Female", + "indicator": "ee_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Male", + "indicator": "ee_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 55 and 59 Female", + "indicator": "ee_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Male", + "indicator": "ee_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged between 60 and 64 Female", + "indicator": "ee_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Male", + "indicator": "ee_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is engaging in transactional sex aged above 65 Female", + "indicator": "ee_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is engaging in transactional sex ", + "indicator": "total_ee_pbfw" + } + ] + } + ] + }, + { + "sectionTitle": "Recent STI in the last six months", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Male", + "indicator": "ff_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Female", + "indicator": "ff_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Male", + "indicator": "ff_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Female", + "indicator": "ff_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Male", + "indicator": "ff_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Female", + "indicator": "ff_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Male", + "indicator": "ff_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Female", + "indicator": "ff_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Male", + "indicator": "ff_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Female", + "indicator": "ff_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Male", + "indicator": "ff_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Female", + "indicator": "ff_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Male", + "indicator": "ff_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Female", + "indicator": "ff_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Male", + "indicator": "ff_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Female", + "indicator": "ff_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Male", + "indicator": "ff_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Female", + "indicator": "ff_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Male", + "indicator": "ff_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Female", + "indicator": "ff_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Male", + "indicator": "ff_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Female", + "indicator": "ff_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recent STI in the last six months ", + "indicator": "total_ff_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Male", + "indicator": "ff_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Female", + "indicator": "ff_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Male", + "indicator": "ff_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Female", + "indicator": "ff_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Male", + "indicator": "ff_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Female", + "indicator": "ff_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Male", + "indicator": "ff_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Female", + "indicator": "ff_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Male", + "indicator": "ff_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Female", + "indicator": "ff_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Male", + "indicator": "ff_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Female", + "indicator": "ff_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Male", + "indicator": "ff_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Female", + "indicator": "ff_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Male", + "indicator": "ff_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Female", + "indicator": "ff_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Male", + "indicator": "ff_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Female", + "indicator": "ff_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Male", + "indicator": "ff_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Female", + "indicator": "ff_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Male", + "indicator": "ff_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Female", + "indicator": "ff_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recent STI in the last six months ", + "indicator": "total_ff_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Male", + "indicator": "ff_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Female", + "indicator": "ff_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Male", + "indicator": "ff_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Female", + "indicator": "ff_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Male", + "indicator": "ff_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Female", + "indicator": "ff_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Male", + "indicator": "ff_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Female", + "indicator": "ff_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Male", + "indicator": "ff_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Female", + "indicator": "ff_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Male", + "indicator": "ff_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Female", + "indicator": "ff_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Male", + "indicator": "ff_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Female", + "indicator": "ff_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Male", + "indicator": "ff_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Female", + "indicator": "ff_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Male", + "indicator": "ff_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Female", + "indicator": "ff_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Male", + "indicator": "ff_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Female", + "indicator": "ff_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Male", + "indicator": "ff_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Female", + "indicator": "ff_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for starting PrEP is recent STI in the last six months ", + "indicator": "total_ff_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Male", + "indicator": "ff_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Female", + "indicator": "ff_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Male", + "indicator": "ff_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Female", + "indicator": "ff_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Male", + "indicator": "ff_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Female", + "indicator": "ff_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Male", + "indicator": "ff_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Female", + "indicator": "ff_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Male", + "indicator": "ff_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Female", + "indicator": "ff_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Male", + "indicator": "ff_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Female", + "indicator": "ff_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Male", + "indicator": "ff_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Female", + "indicator": "ff_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Male", + "indicator": "ff_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Female", + "indicator": "ff_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Male", + "indicator": "ff_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Female", + "indicator": "ff_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Male", + "indicator": "ff_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Female", + "indicator": "ff_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Male", + "indicator": "ff_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Female", + "indicator": "ff_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recent STI in the last six months ", + "indicator": "total_ff_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Male", + "indicator": "ff_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Female", + "indicator": "ff_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Male", + "indicator": "ff_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Female", + "indicator": "ff_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Male", + "indicator": "ff_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Female", + "indicator": "ff_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Male", + "indicator": "ff_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Female", + "indicator": "ff_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Male", + "indicator": "ff_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Female", + "indicator": "ff_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Male", + "indicator": "ff_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Female", + "indicator": "ff_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Male", + "indicator": "ff_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Female", + "indicator": "ff_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Male", + "indicator": "ff_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Female", + "indicator": "ff_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Male", + "indicator": "ff_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Female", + "indicator": "ff_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Male", + "indicator": "ff_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Female", + "indicator": "ff_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Male", + "indicator": "ff_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Female", + "indicator": "ff_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recent STI in the last six months ", + "indicator": "total_ff_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Male", + "indicator": "ff_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Female", + "indicator": "ff_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Male", + "indicator": "ff_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Female", + "indicator": "ff_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Male", + "indicator": "ff_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Female", + "indicator": "ff_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Male", + "indicator": "ff_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Female", + "indicator": "ff_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Male", + "indicator": "ff_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Female", + "indicator": "ff_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Male", + "indicator": "ff_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Female", + "indicator": "ff_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Male", + "indicator": "ff_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Female", + "indicator": "ff_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Male", + "indicator": "ff_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Female", + "indicator": "ff_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Male", + "indicator": "ff_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Female", + "indicator": "ff_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Male", + "indicator": "ff_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Female", + "indicator": "ff_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Male", + "indicator": "ff_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Female", + "indicator": "ff_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recent STI in the last six months ", + "indicator": "total_ff_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Male", + "indicator": "ff_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Female", + "indicator": "ff_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Male", + "indicator": "ff_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Female", + "indicator": "ff_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Male", + "indicator": "ff_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Female", + "indicator": "ff_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Male", + "indicator": "ff_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Female", + "indicator": "ff_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Male", + "indicator": "ff_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Female", + "indicator": "ff_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Male", + "indicator": "ff_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Female", + "indicator": "ff_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Male", + "indicator": "ff_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Female", + "indicator": "ff_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Male", + "indicator": "ff_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Female", + "indicator": "ff_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Male", + "indicator": "ff_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Female", + "indicator": "ff_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Male", + "indicator": "ff_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Female", + "indicator": "ff_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Male", + "indicator": "ff_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Female", + "indicator": "ff_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recent STI in the last six months ", + "indicator": "total_ff_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Male", + "indicator": "ff_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Female", + "indicator": "ff_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Male", + "indicator": "ff_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Female", + "indicator": "ff_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Male", + "indicator": "ff_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Female", + "indicator": "ff_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Male", + "indicator": "ff_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Female", + "indicator": "ff_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Male", + "indicator": "ff_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Female", + "indicator": "ff_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Male", + "indicator": "ff_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Female", + "indicator": "ff_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Male", + "indicator": "ff_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Female", + "indicator": "ff_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Male", + "indicator": "ff_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Female", + "indicator": "ff_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Male", + "indicator": "ff_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Female", + "indicator": "ff_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Male", + "indicator": "ff_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Female", + "indicator": "ff_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Male", + "indicator": "ff_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Female", + "indicator": "ff_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recent STI in the last six months ", + "indicator": "total_ff_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Male", + "indicator": "ff_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 15 and 19 Female", + "indicator": "ff_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Male", + "indicator": "ff_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 20 and 24 Female", + "indicator": "ff_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Male", + "indicator": "ff_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 25 and 29 Female", + "indicator": "ff_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Male", + "indicator": "ff_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 30 and 34 Female", + "indicator": "ff_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Male", + "indicator": "ff_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 35 and 39 Female", + "indicator": "ff_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Male", + "indicator": "ff_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 40 and 44 Female", + "indicator": "ff_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Male", + "indicator": "ff_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 45 and 49 Female", + "indicator": "ff_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Male", + "indicator": "ff_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 50 and 54 Female", + "indicator": "ff_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Male", + "indicator": "ff_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 55 and 59 Female", + "indicator": "ff_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Male", + "indicator": "ff_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged between 60 and 64 Female", + "indicator": "ff_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Male", + "indicator": "ff_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recent STI in the last six months aged above 65 Female", + "indicator": "ff_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recent STI in the last six months ", + "indicator": "total_ff_pbfw" + } + ] + } + ] + }, + { + "sectionTitle": "Recurrent use of PEP", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Male", + "indicator": "gg_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Female", + "indicator": "gg_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Male", + "indicator": "gg_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Female", + "indicator": "gg_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Male", + "indicator": "gg_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Female", + "indicator": "gg_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Male", + "indicator": "gg_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Female", + "indicator": "gg_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Male", + "indicator": "gg_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Female", + "indicator": "gg_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Male", + "indicator": "gg_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Female", + "indicator": "gg_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Male", + "indicator": "gg_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Female", + "indicator": "gg_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Male", + "indicator": "gg_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Female", + "indicator": "gg_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Male", + "indicator": "gg_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Female", + "indicator": "gg_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Male", + "indicator": "gg_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Female", + "indicator": "gg_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Male", + "indicator": "gg_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Female", + "indicator": "gg_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recurrent use of PEP ", + "indicator": "total_gg_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Male", + "indicator": "gg_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Female", + "indicator": "gg_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Male", + "indicator": "gg_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Female", + "indicator": "gg_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Male", + "indicator": "gg_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Female", + "indicator": "gg_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Male", + "indicator": "gg_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Female", + "indicator": "gg_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Male", + "indicator": "gg_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Female", + "indicator": "gg_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Male", + "indicator": "gg_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Female", + "indicator": "gg_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Male", + "indicator": "gg_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Female", + "indicator": "gg_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Male", + "indicator": "gg_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Female", + "indicator": "gg_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Male", + "indicator": "gg_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Female", + "indicator": "gg_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Male", + "indicator": "gg_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Female", + "indicator": "gg_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Male", + "indicator": "gg_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Female", + "indicator": "gg_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recurrent use of PEP ", + "indicator": "total_gg_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Male", + "indicator": "gg_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Female", + "indicator": "gg_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Male", + "indicator": "gg_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Female", + "indicator": "gg_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Male", + "indicator": "gg_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Female", + "indicator": "gg_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Male", + "indicator": "gg_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Female", + "indicator": "gg_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Male", + "indicator": "gg_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Female", + "indicator": "gg_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Male", + "indicator": "gg_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Female", + "indicator": "gg_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Male", + "indicator": "gg_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Female", + "indicator": "gg_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Male", + "indicator": "gg_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Female", + "indicator": "gg_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Male", + "indicator": "gg_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Female", + "indicator": "gg_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Male", + "indicator": "gg_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Female", + "indicator": "gg_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Male", + "indicator": "gg_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Female", + "indicator": "gg_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for starting PrEP is recurrent use of PEP ", + "indicator": "total_gg_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Male", + "indicator": "gg_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Female", + "indicator": "gg_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Male", + "indicator": "gg_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Female", + "indicator": "gg_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Male", + "indicator": "gg_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Female", + "indicator": "gg_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Male", + "indicator": "gg_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Female", + "indicator": "gg_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Male", + "indicator": "gg_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Female", + "indicator": "gg_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Male", + "indicator": "gg_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Female", + "indicator": "gg_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Male", + "indicator": "gg_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Female", + "indicator": "gg_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Male", + "indicator": "gg_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Female", + "indicator": "gg_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Male", + "indicator": "gg_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Female", + "indicator": "gg_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Male", + "indicator": "gg_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Female", + "indicator": "gg_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Male", + "indicator": "gg_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Female", + "indicator": "gg_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recurrent use of PEP ", + "indicator": "total_gg_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Male", + "indicator": "gg_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Female", + "indicator": "gg_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Male", + "indicator": "gg_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Female", + "indicator": "gg_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Male", + "indicator": "gg_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Female", + "indicator": "gg_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Male", + "indicator": "gg_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Female", + "indicator": "gg_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Male", + "indicator": "gg_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Female", + "indicator": "gg_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Male", + "indicator": "gg_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Female", + "indicator": "gg_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Male", + "indicator": "gg_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Female", + "indicator": "gg_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Male", + "indicator": "gg_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Female", + "indicator": "gg_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Male", + "indicator": "gg_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Female", + "indicator": "gg_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Male", + "indicator": "gg_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Female", + "indicator": "gg_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Male", + "indicator": "gg_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Female", + "indicator": "gg_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recurrent use of PEP ", + "indicator": "total_gg_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Male", + "indicator": "gg_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Female", + "indicator": "gg_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Male", + "indicator": "gg_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Female", + "indicator": "gg_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Male", + "indicator": "gg_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Female", + "indicator": "gg_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Male", + "indicator": "gg_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Female", + "indicator": "gg_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Male", + "indicator": "gg_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Female", + "indicator": "gg_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Male", + "indicator": "gg_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Female", + "indicator": "gg_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Male", + "indicator": "gg_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Female", + "indicator": "gg_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Male", + "indicator": "gg_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Female", + "indicator": "gg_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Male", + "indicator": "gg_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Female", + "indicator": "gg_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Male", + "indicator": "gg_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Female", + "indicator": "gg_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Male", + "indicator": "gg_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Female", + "indicator": "gg_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recurrent use of PEP ", + "indicator": "total_gg_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Male", + "indicator": "gg_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Female", + "indicator": "gg_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Male", + "indicator": "gg_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Female", + "indicator": "gg_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Male", + "indicator": "gg_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Female", + "indicator": "gg_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Male", + "indicator": "gg_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Female", + "indicator": "gg_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Male", + "indicator": "gg_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Female", + "indicator": "gg_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Male", + "indicator": "gg_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Female", + "indicator": "gg_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Male", + "indicator": "gg_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Female", + "indicator": "gg_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Male", + "indicator": "gg_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Female", + "indicator": "gg_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Male", + "indicator": "gg_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Female", + "indicator": "gg_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Male", + "indicator": "gg_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Female", + "indicator": "gg_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Male", + "indicator": "gg_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Female", + "indicator": "gg_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recurrent use of PEP ", + "indicator": "total_gg_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Male", + "indicator": "gg_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Female", + "indicator": "gg_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Male", + "indicator": "gg_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Female", + "indicator": "gg_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Male", + "indicator": "gg_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Female", + "indicator": "gg_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Male", + "indicator": "gg_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Female", + "indicator": "gg_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Male", + "indicator": "gg_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Female", + "indicator": "gg_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Male", + "indicator": "gg_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Female", + "indicator": "gg_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Male", + "indicator": "gg_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Female", + "indicator": "gg_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Male", + "indicator": "gg_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Female", + "indicator": "gg_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Male", + "indicator": "gg_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Female", + "indicator": "gg_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Male", + "indicator": "gg_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Female", + "indicator": "gg_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Male", + "indicator": "gg_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Female", + "indicator": "gg_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recurrent use of PEP ", + "indicator": "total_gg_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Male", + "indicator": "gg_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 15 and 19 Female", + "indicator": "gg_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Male", + "indicator": "gg_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 20 and 24 Female", + "indicator": "gg_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Male", + "indicator": "gg_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 25 and 29 Female", + "indicator": "gg_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Male", + "indicator": "gg_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 30 and 34 Female", + "indicator": "gg_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Male", + "indicator": "gg_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 35 and 39 Female", + "indicator": "gg_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Male", + "indicator": "gg_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 40 and 44 Female", + "indicator": "gg_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Male", + "indicator": "gg_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 45 and 49 Female", + "indicator": "gg_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Male", + "indicator": "gg_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 50 and 54 Female", + "indicator": "gg_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Male", + "indicator": "gg_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 55 and 59 Female", + "indicator": "gg_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Male", + "indicator": "gg_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged between 60 and 64 Female", + "indicator": "gg_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Male", + "indicator": "gg_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is recurrent use of PEP aged above 65 Female", + "indicator": "gg_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is recurrent use of PEP ", + "indicator": "total_gg_pbfw" + } + ] + } + ] + }, + { + "sectionTitle": "Inconsistent or no condom use during intercourse", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Male", + "indicator": "hh_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Female", + "indicator": "hh_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Male", + "indicator": "hh_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Female", + "indicator": "hh_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Male", + "indicator": "hh_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Female", + "indicator": "hh_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Male", + "indicator": "hh_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Female", + "indicator": "hh_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Male", + "indicator": "hh_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Female", + "indicator": "hh_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Male", + "indicator": "hh_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Female", + "indicator": "hh_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Male", + "indicator": "hh_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Female", + "indicator": "hh_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Male", + "indicator": "hh_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Female", + "indicator": "hh_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Male", + "indicator": "hh_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Female", + "indicator": "hh_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Male", + "indicator": "hh_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Female", + "indicator": "hh_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Male", + "indicator": "hh_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Female", + "indicator": "hh_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse ", + "indicator": "total_hh_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Male", + "indicator": "hh_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Female", + "indicator": "hh_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Male", + "indicator": "hh_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Female", + "indicator": "hh_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Male", + "indicator": "hh_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Female", + "indicator": "hh_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Male", + "indicator": "hh_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Female", + "indicator": "hh_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Male", + "indicator": "hh_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Female", + "indicator": "hh_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Male", + "indicator": "hh_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Female", + "indicator": "hh_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Male", + "indicator": "hh_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Female", + "indicator": "hh_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Male", + "indicator": "hh_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Female", + "indicator": "hh_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Male", + "indicator": "hh_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Female", + "indicator": "hh_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Male", + "indicator": "hh_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Female", + "indicator": "hh_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Male", + "indicator": "hh_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Female", + "indicator": "hh_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse ", + "indicator": "total_hh_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Male", + "indicator": "hh_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Female", + "indicator": "hh_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Male", + "indicator": "hh_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Female", + "indicator": "hh_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Male", + "indicator": "hh_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Female", + "indicator": "hh_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Male", + "indicator": "hh_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Female", + "indicator": "hh_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Male", + "indicator": "hh_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Female", + "indicator": "hh_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Male", + "indicator": "hh_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Female", + "indicator": "hh_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Male", + "indicator": "hh_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Female", + "indicator": "hh_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Male", + "indicator": "hh_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Female", + "indicator": "hh_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Male", + "indicator": "hh_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Female", + "indicator": "hh_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Male", + "indicator": "hh_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Female", + "indicator": "hh_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Male", + "indicator": "hh_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Female", + "indicator": "hh_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse ", + "indicator": "total_hh_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Male", + "indicator": "hh_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Female", + "indicator": "hh_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Male", + "indicator": "hh_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Female", + "indicator": "hh_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Male", + "indicator": "hh_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Female", + "indicator": "hh_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Male", + "indicator": "hh_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Female", + "indicator": "hh_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Male", + "indicator": "hh_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Female", + "indicator": "hh_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Male", + "indicator": "hh_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Female", + "indicator": "hh_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Male", + "indicator": "hh_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Female", + "indicator": "hh_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Male", + "indicator": "hh_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Female", + "indicator": "hh_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Male", + "indicator": "hh_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Female", + "indicator": "hh_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Male", + "indicator": "hh_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Female", + "indicator": "hh_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Male", + "indicator": "hh_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Female", + "indicator": "hh_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse ", + "indicator": "total_hh_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Male", + "indicator": "hh_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Female", + "indicator": "hh_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Male", + "indicator": "hh_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Female", + "indicator": "hh_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Male", + "indicator": "hh_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Female", + "indicator": "hh_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Male", + "indicator": "hh_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Female", + "indicator": "hh_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Male", + "indicator": "hh_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Female", + "indicator": "hh_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Male", + "indicator": "hh_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Female", + "indicator": "hh_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Male", + "indicator": "hh_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Female", + "indicator": "hh_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Male", + "indicator": "hh_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Female", + "indicator": "hh_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Male", + "indicator": "hh_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Female", + "indicator": "hh_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Male", + "indicator": "hh_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Female", + "indicator": "hh_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Male", + "indicator": "hh_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Female", + "indicator": "hh_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse ", + "indicator": "total_hh_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Male", + "indicator": "hh_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Female", + "indicator": "hh_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Male", + "indicator": "hh_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Female", + "indicator": "hh_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Male", + "indicator": "hh_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Female", + "indicator": "hh_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Male", + "indicator": "hh_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Female", + "indicator": "hh_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Male", + "indicator": "hh_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Female", + "indicator": "hh_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Male", + "indicator": "hh_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Female", + "indicator": "hh_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Male", + "indicator": "hh_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Female", + "indicator": "hh_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Male", + "indicator": "hh_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Female", + "indicator": "hh_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Male", + "indicator": "hh_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Female", + "indicator": "hh_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Male", + "indicator": "hh_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Female", + "indicator": "hh_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Male", + "indicator": "hh_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Female", + "indicator": "hh_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse ", + "indicator": "total_hh_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Male", + "indicator": "hh_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Female", + "indicator": "hh_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Male", + "indicator": "hh_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Female", + "indicator": "hh_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Male", + "indicator": "hh_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Female", + "indicator": "hh_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Male", + "indicator": "hh_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Female", + "indicator": "hh_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Male", + "indicator": "hh_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Female", + "indicator": "hh_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Male", + "indicator": "hh_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Female", + "indicator": "hh_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Male", + "indicator": "hh_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Female", + "indicator": "hh_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Male", + "indicator": "hh_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Female", + "indicator": "hh_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Male", + "indicator": "hh_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Female", + "indicator": "hh_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Male", + "indicator": "hh_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Female", + "indicator": "hh_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Male", + "indicator": "hh_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Female", + "indicator": "hh_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse ", + "indicator": "total_hh_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Male", + "indicator": "hh_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Female", + "indicator": "hh_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Male", + "indicator": "hh_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Female", + "indicator": "hh_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Male", + "indicator": "hh_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Female", + "indicator": "hh_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Male", + "indicator": "hh_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Female", + "indicator": "hh_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Male", + "indicator": "hh_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Female", + "indicator": "hh_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Male", + "indicator": "hh_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Female", + "indicator": "hh_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Male", + "indicator": "hh_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Female", + "indicator": "hh_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Male", + "indicator": "hh_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Female", + "indicator": "hh_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Male", + "indicator": "hh_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Female", + "indicator": "hh_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Male", + "indicator": "hh_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Female", + "indicator": "hh_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Male", + "indicator": "hh_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Female", + "indicator": "hh_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse ", + "indicator": "total_hh_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Male", + "indicator": "hh_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 15 and 19 Female", + "indicator": "hh_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Male", + "indicator": "hh_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 20 and 24 Female", + "indicator": "hh_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Male", + "indicator": "hh_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 25 and 29 Female", + "indicator": "hh_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Male", + "indicator": "hh_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 30 and 34 Female", + "indicator": "hh_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Male", + "indicator": "hh_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 35 and 39 Female", + "indicator": "hh_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Male", + "indicator": "hh_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 40 and 44 Female", + "indicator": "hh_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Male", + "indicator": "hh_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 45 and 49 Female", + "indicator": "hh_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Male", + "indicator": "hh_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 50 and 54 Female", + "indicator": "hh_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Male", + "indicator": "hh_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 55 and 59 Female", + "indicator": "hh_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Male", + "indicator": "hh_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged between 60 and 64 Female", + "indicator": "hh_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Male", + "indicator": "hh_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse aged above 65 Female", + "indicator": "hh_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is inconsistent or no condom use during intercourse ", + "indicator": "total_hh_pbfw" + } + ] + } + ] + }, + { + "sectionTitle": "Other Reasons", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Male", + "indicator": "jj_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Female", + "indicator": "jj_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Male", + "indicator": "jj_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Female", + "indicator": "jj_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Male", + "indicator": "jj_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Female", + "indicator": "jj_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Male", + "indicator": "jj_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Female", + "indicator": "jj_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Male", + "indicator": "jj_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Female", + "indicator": "jj_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Male", + "indicator": "jj_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Female", + "indicator": "jj_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Male", + "indicator": "jj_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Female", + "indicator": "jj_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Male", + "indicator": "jj_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Female", + "indicator": "jj_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Male", + "indicator": "jj_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Female", + "indicator": "jj_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Male", + "indicator": "jj_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Female", + "indicator": "jj_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Male", + "indicator": "jj_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Female", + "indicator": "jj_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is other reasons ", + "indicator": "total_jj_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Male", + "indicator": "jj_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Female", + "indicator": "jj_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Male", + "indicator": "jj_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Female", + "indicator": "jj_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Male", + "indicator": "jj_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Female", + "indicator": "jj_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Male", + "indicator": "jj_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Female", + "indicator": "jj_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Male", + "indicator": "jj_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Female", + "indicator": "jj_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Male", + "indicator": "jj_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Female", + "indicator": "jj_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Male", + "indicator": "jj_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Female", + "indicator": "jj_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Male", + "indicator": "jj_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Female", + "indicator": "jj_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Male", + "indicator": "jj_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Female", + "indicator": "jj_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Male", + "indicator": "jj_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Female", + "indicator": "jj_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Male", + "indicator": "jj_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Female", + "indicator": "jj_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is other reasons ", + "indicator": "total_jj_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Male", + "indicator": "jj_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Female", + "indicator": "jj_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Male", + "indicator": "jj_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Female", + "indicator": "jj_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Male", + "indicator": "jj_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Female", + "indicator": "jj_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Male", + "indicator": "jj_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Female", + "indicator": "jj_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Male", + "indicator": "jj_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Female", + "indicator": "jj_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Male", + "indicator": "jj_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Female", + "indicator": "jj_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Male", + "indicator": "jj_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Female", + "indicator": "jj_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Male", + "indicator": "jj_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Female", + "indicator": "jj_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Male", + "indicator": "jj_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Female", + "indicator": "jj_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Male", + "indicator": "jj_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Female", + "indicator": "jj_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Male", + "indicator": "jj_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Female", + "indicator": "jj_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for starting PrEP is other reasons ", + "indicator": "total_jj_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Male", + "indicator": "jj_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Female", + "indicator": "jj_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Male", + "indicator": "jj_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Female", + "indicator": "jj_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Male", + "indicator": "jj_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Female", + "indicator": "jj_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Male", + "indicator": "jj_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Female", + "indicator": "jj_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Male", + "indicator": "jj_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Female", + "indicator": "jj_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Male", + "indicator": "jj_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Female", + "indicator": "jj_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Male", + "indicator": "jj_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Female", + "indicator": "jj_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Male", + "indicator": "jj_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Female", + "indicator": "jj_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Male", + "indicator": "jj_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Female", + "indicator": "jj_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Male", + "indicator": "jj_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Female", + "indicator": "jj_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Male", + "indicator": "jj_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Female", + "indicator": "jj_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is other reasons ", + "indicator": "total_jj_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Male", + "indicator": "jj_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Female", + "indicator": "jj_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Male", + "indicator": "jj_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Female", + "indicator": "jj_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Male", + "indicator": "jj_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Female", + "indicator": "jj_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Male", + "indicator": "jj_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Female", + "indicator": "jj_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Male", + "indicator": "jj_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Female", + "indicator": "jj_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Male", + "indicator": "jj_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Female", + "indicator": "jj_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Male", + "indicator": "jj_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Female", + "indicator": "jj_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Male", + "indicator": "jj_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Female", + "indicator": "jj_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Male", + "indicator": "jj_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Female", + "indicator": "jj_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Male", + "indicator": "jj_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Female", + "indicator": "jj_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Male", + "indicator": "jj_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Female", + "indicator": "jj_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is other reasons ", + "indicator": "total_jj_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Male", + "indicator": "jj_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Female", + "indicator": "jj_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Male", + "indicator": "jj_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Female", + "indicator": "jj_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Male", + "indicator": "jj_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Female", + "indicator": "jj_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Male", + "indicator": "jj_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Female", + "indicator": "jj_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Male", + "indicator": "jj_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Female", + "indicator": "jj_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Male", + "indicator": "jj_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Female", + "indicator": "jj_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Male", + "indicator": "jj_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Female", + "indicator": "jj_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Male", + "indicator": "jj_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Female", + "indicator": "jj_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Male", + "indicator": "jj_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Female", + "indicator": "jj_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Male", + "indicator": "jj_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Female", + "indicator": "jj_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Male", + "indicator": "jj_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Female", + "indicator": "jj_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is other reasons ", + "indicator": "total_jj_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Male", + "indicator": "jj_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Female", + "indicator": "jj_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Male", + "indicator": "jj_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Female", + "indicator": "jj_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Male", + "indicator": "jj_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Female", + "indicator": "jj_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Male", + "indicator": "jj_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Female", + "indicator": "jj_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Male", + "indicator": "jj_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Female", + "indicator": "jj_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Male", + "indicator": "jj_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Female", + "indicator": "jj_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Male", + "indicator": "jj_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Female", + "indicator": "jj_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Male", + "indicator": "jj_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Female", + "indicator": "jj_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Male", + "indicator": "jj_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Female", + "indicator": "jj_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Male", + "indicator": "jj_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Female", + "indicator": "jj_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Male", + "indicator": "jj_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Female", + "indicator": "jj_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is other reasons ", + "indicator": "total_jj_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Male", + "indicator": "jj_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Female", + "indicator": "jj_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Male", + "indicator": "jj_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Female", + "indicator": "jj_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Male", + "indicator": "jj_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Female", + "indicator": "jj_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Male", + "indicator": "jj_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Female", + "indicator": "jj_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Male", + "indicator": "jj_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Female", + "indicator": "jj_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Male", + "indicator": "jj_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Female", + "indicator": "jj_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Male", + "indicator": "jj_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Female", + "indicator": "jj_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Male", + "indicator": "jj_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Female", + "indicator": "jj_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Male", + "indicator": "jj_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Female", + "indicator": "jj_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Male", + "indicator": "jj_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Female", + "indicator": "jj_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Male", + "indicator": "jj_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Female", + "indicator": "jj_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is other reasons ", + "indicator": "total_jj_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Male", + "indicator": "jj_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 15 and 19 Female", + "indicator": "jj_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Male", + "indicator": "jj_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 20 and 24 Female", + "indicator": "jj_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Male", + "indicator": "jj_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 25 and 29 Female", + "indicator": "jj_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Male", + "indicator": "jj_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 30 and 34 Female", + "indicator": "jj_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Male", + "indicator": "jj_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 35 and 39 Female", + "indicator": "jj_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Male", + "indicator": "jj_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 40 and 44 Female", + "indicator": "jj_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Male", + "indicator": "jj_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 45 and 49 Female", + "indicator": "jj_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Male", + "indicator": "jj_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 50 and 54 Female", + "indicator": "jj_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Male", + "indicator": "jj_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 55 and 59 Female", + "indicator": "jj_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Male", + "indicator": "jj_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged between 60 and 64 Female", + "indicator": "jj_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Male", + "indicator": "jj_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is other reasons aged above 65 Female", + "indicator": "jj_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is other reasons ", + "indicator": "total_jj_pbfw" + } + ] + } + ] + }, + { + "sectionTitle": "Injection drug use with shared needles", + "indicators": [ + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 15 and 19 Male", + "indicator": "kk_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 15 and 19 Female", + "indicator": "kk_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 20 and 24 Male", + "indicator": "kk_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 20 and 24 Female", + "indicator": "kk_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 25 and 29 Male", + "indicator": "kk_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 25 and 29 Female", + "indicator": "kk_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 30 and 34 Male", + "indicator": "kk_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 30 and 34 Female", + "indicator": "kk_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 35 and 39 Male", + "indicator": "kk_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 35 and 39 Female", + "indicator": "kk_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 40 and 44 Male", + "indicator": "kk_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 40 and 44 Female", + "indicator": "kk_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 45 and 49 Male", + "indicator": "kk_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 45 and 49 Female", + "indicator": "kk_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 50 and 54 Male", + "indicator": "kk_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 50 and 54 Female", + "indicator": "kk_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 55 and 59 Male", + "indicator": "kk_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 55 and 59 Female", + "indicator": "kk_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 60 and 64 Male", + "indicator": "kk_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged between 60 and 64 Female", + "indicator": "kk_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged above 65 Male", + "indicator": "kk_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is shared needles aged above 65 Female", + "indicator": "kk_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is shared needles ", + "indicator": "total_kk_pwid" + } + ] + } + ] } ] diff --git a/app/reporting-framework/json-reports/prep-monthly/prep-report.json b/app/reporting-framework/json-reports/prep-monthly/prep-report.json index b54ee5c0b..cfceff01e 100644 --- a/app/reporting-framework/json-reports/prep-monthly/prep-report.json +++ b/app/reporting-framework/json-reports/prep-monthly/prep-report.json @@ -6,6 +6,12 @@ "restartingPrepAggregate", "whileOnPrepAggregate", "discontinuedPrepAggregate", - "gbvPrepAggregate" + "gbvPrepAggregate", + "transactionalSexPrepAggregate", + "recentSTIPrepAggregate", + "recurrentUseOfPepPrepAggregate", + "inconsistentOrNoCondomUsePrepAggregate", + "otherReasonsForPrepAggregate", + "sharedNeedlesPrepAggregate" ] } diff --git a/build-json-schema.js b/build-json-schema.js index f72e08284..5aadd9a07 100644 --- a/build-json-schema.js +++ b/build-json-schema.js @@ -146,8 +146,8 @@ const getAgeGroup = (ageGroup) => { const getOldPopulationType = (population) => { if (population === 'mhr' || population === 'ow') { return 300; - } else { - return; + } else if (population === 'sc') { + return 100; } }; @@ -167,6 +167,16 @@ const getSubPopulationType = (population) => { } }; +const generateTotalExpression = (data) => { + if (data.isOldPop) { + return `if((pd.${data.column} = '${data.value}' AND (pd.population_type=${data.populationType} OR pd.old_population_type=${data.oldPopulationType})), 1, NULL)`; + } else if (data.isSubPop) { + return `if((pd.${data.column} = '${data.value}' AND (pd.population_type=${data.populationType} OR ${data.subPopulationType})), 1, NULL)`; + } else { + return `if((pd.${data.column} = '${data.value}' AND pd.population_type = ${data.populationType}), 1, NULL)`; + } +}; + /** * @param {database column} column * @returns An array of derived columns @@ -188,7 +198,7 @@ const generateColumns = (column, value, alias) => { gender: g, value: value, ageGroup: getAgeGroup(ag), - isOldPop: pt === 'ow' || pt === 'mhr', + isOldPop: pt === 'ow' || pt === 'mhr' || pt === 'sc', isSubPop: subPopulationTypes.includes(pt), oldPopulationType: getOldPopulationType(pt), subPopulationType: getSubPopulationType(pt) @@ -203,9 +213,15 @@ const generateColumns = (column, value, alias) => { alias: `total_${alias}_${pt}`, expressionType: 'simple_expression', expressionOptions: { - expression: `if((pd.${column} = '${value}' AND pd.population_type = ${getPopulationType( - pt - )}), 1, NULL)` + expression: generateTotalExpression({ + isOldPop: pt === 'ow' || pt === 'mhr' || pt === 'sc', + isSubPop: subPopulationTypes.includes(pt), + oldPopulationType: getOldPopulationType(pt), + subPopulationType: getSubPopulationType(pt), + populationType: getPopulationType(pt), + column: column, + value: value + }) } }); } @@ -235,10 +251,10 @@ const generateAggregate = (alias) => { return aggregates; }; -// const colsSchema = generateColumns('reason_for_initiation', 9761, 'dd'); -// const cols = JSON.stringify(colsSchema, null, 2); -// console.log(cols); +const colsSchema = generateColumns('reason_for_initiation', 105, 'kk'); +const cols = JSON.stringify(colsSchema, null, 2); +console.log(cols); -const aggsSchema = generateAggregate('dd'); -const aggs = JSON.stringify(aggsSchema, null, 2); -console.log(aggs); +// const aggsSchema = generateAggregate('jj'); +// const aggs = JSON.stringify(aggsSchema, null, 2); +// console.log(aggs);