diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 000000000..1387fd027 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "trailingComma": "none", + "tabWidth": 2, + "semi": true, + "singleQuote": true +} diff --git a/app/reporting-framework/base-mysql.report.js b/app/reporting-framework/base-mysql.report.js index 23d6f7ef7..6961f2216 100755 --- a/app/reporting-framework/base-mysql.report.js +++ b/app/reporting-framework/base-mysql.report.js @@ -246,6 +246,86 @@ import * as ml_weekly_predictions_base from './json-reports/ml-predictions/ml-we import * as clinic_flow_provider_statistics_aggregate from './json-reports/clinic-flow-provider-statistics-aggregate.json'; import * as clinic_flow_provider_statistics_base from './json-reports/clinic-flow-provider-statistics-base.json'; +// (New) Prep monthly report +import * as eligible_for_prep_aggregate from './json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-aggregate.json'; +import * as eligible_for_prep_base from './json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-base.json'; +import * as reasons_for_initiation_prep_aggregate from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-aggregate.json'; +import * as reasons_for_initiation_prep_base from './json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-base.json'; + +import * as new_for_prep_aggregate from './json-reports/prep-monthly/disaggregations/new/new-for-prep-aggregate.json'; +import * as new_for_prep_base from './json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json'; + +import * as prep_event_driven_aggregate from './json-reports/prep-monthly/disaggregations/event-driven/prep-event-driven-aggregate.json'; +import * as prep_event_driven_base from './json-reports/prep-monthly/disaggregations/event-driven/prep-event-driven-base.json'; + +import * as restarting_prep_aggregate from './json-reports/prep-monthly/disaggregations/restarting/restarting-prep-aggregate.json'; +import * as restarting_prep_base from './json-reports/prep-monthly/disaggregations/restarting/restarting-prep-base.json'; + +import * as while_on_prep_aggregate from './json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-aggregate.json'; +import * as while_on_prep_base from './json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-base.json'; + +import * as discounted_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-aggregate.json'; +import * as discounted_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-base.json'; + +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 tested_hiv_positive_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/tested-positive-aggregate.json'; +import * as tested_hiv_positive_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/tested-positive-base.json'; + +import * as low_risk_for_hiv_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/low-risk-for-hiv-aggregate.json'; +import * as low_risk_for_hiv_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/low-risk-for-hiv-base.json'; + +import * as prep_side_effects_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/prep-side-effects-aggregate.json'; +import * as prep_side_effects_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/prep-side-effects-base.json'; + +import * as non_adherence_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/non-adherence-aggregate.json'; +import * as non_adherence_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/non-adherence-base.json'; + +import * as viral_suppression_of_hiv_positive_partner_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/viral-suppression-of-hiv-positive-partner-aggregate.json'; +import * as viral_suppression_of_hiv_positive_partner_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/viral-suppression-of-hiv-positive-partner-base.json'; + +import * as too_many_hiv_tests_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/too-many-hiv-tests-aggregate.json'; +import * as too_many_hiv_tests_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/too-many-hiv-tests-base.json'; + +import * as partner_refusal_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/partner-refusal-aggregate.json'; +import * as partner_refusal_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/partner-refusal-base.json'; + +import * as partner_violence_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/partner-violence-aggregate.json'; +import * as partner_violence_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/partner-violence-base.json'; + +import * as died_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/died-aggregate.json'; +import * as died_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/died-base.json'; + +import * as transfer_outs_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/transfer-outs-aggregate.json'; +import * as transfer_outs_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/transfer-outs-base.json'; + +import * as missed_drug_pickups_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/missed-drug-pickups-aggregate.json'; +import * as missed_drug_pickups_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/missed-drug-pickups-base.json'; + +import * as any_other_reason_prep_aggregate from './json-reports/prep-monthly/disaggregations/discontinued/any-other-reason-aggregate.json'; +import * as any_other_reason_prep_base from './json-reports/prep-monthly/disaggregations/discontinued/any-other-reason-base.json'; + +import * as prep_monthly_report from './json-reports/prep-monthly/prep-report.json'; + //covid 19 report import * as patient_list_covid_template from './json-reports/patient-list-covid-template.json'; import * as covid_19_summary_aggregate from './json-reports/covid-19-summary-report-aggregate.json'; @@ -1391,6 +1471,201 @@ export class BaseMysqlReport { ) }); break; + case 'prep-monthly-report': + resolve({ + main: this.cloneJsonSchema(prep_monthly_report) + }); + break; + case 'eligibleForPrepAggregate': + resolve({ + main: this.cloneJsonSchema(eligible_for_prep_aggregate), + eligibleForPrepBase: this.cloneJsonSchema(eligible_for_prep_base) + }); + break; + case 'reasonForInitiationPrepAggregate': + resolve({ + main: this.cloneJsonSchema(reasons_for_initiation_prep_aggregate), + reasonForInitiationPrepBase: this.cloneJsonSchema( + reasons_for_initiation_prep_base + ) + }); + break; + case 'newForPrepAggregate': + resolve({ + main: this.cloneJsonSchema(new_for_prep_aggregate), + newForPrepBase: this.cloneJsonSchema(new_for_prep_base) + }); + break; + case 'eventDrivenPrepAggregate': + resolve({ + main: this.cloneJsonSchema(prep_event_driven_aggregate), + eventDrivenPrepBase: this.cloneJsonSchema(prep_event_driven_base) + }); + break; + case 'restartingPrepAggregate': + resolve({ + main: this.cloneJsonSchema(restarting_prep_aggregate), + restartingPrepBase: this.cloneJsonSchema(restarting_prep_base) + }); + break; + case 'whileOnPrepAggregate': + resolve({ + main: this.cloneJsonSchema(while_on_prep_aggregate), + whileOnPrepBase: this.cloneJsonSchema(while_on_prep_base) + }); + break; + case 'discontinuedPrepAggregate': + resolve({ + main: this.cloneJsonSchema(discounted_prep_aggregate), + discontinuedPrepBase: this.cloneJsonSchema(discounted_prep_base) + }); + break; + case 'gbvPrepAggregate': + resolve({ + main: this.cloneJsonSchema(gbv_prep_aggregate), + 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(recent_sti_prep_aggregate), + recentSTIPrepBase: this.cloneJsonSchema(recent_sti_prep_base) + }); + break; + case 'recurrentUseOfPepPrepAggregate': + resolve({ + main: this.cloneJsonSchema(recurrent_use_of_pep_prep_aggregate), + recurrentUseOfPepPrepBase: this.cloneJsonSchema( + recurrent_use_of_pep_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 'testedHIVPositivePrepAggregate': + resolve({ + main: this.cloneJsonSchema(tested_hiv_positive_prep_aggregate), + testedHIVPositivePrepBase: this.cloneJsonSchema( + tested_hiv_positive_prep_base + ) + }); + break; + case 'lowRiskForHIVPrepAggregate': + resolve({ + main: this.cloneJsonSchema(low_risk_for_hiv_prep_aggregate), + lowRiskForHIVPrepBase: this.cloneJsonSchema( + low_risk_for_hiv_prep_base + ) + }); + break; + case 'prepSideEffectsAggregate': + resolve({ + main: this.cloneJsonSchema(prep_side_effects_prep_aggregate), + prepSideEffectsPrepBase: this.cloneJsonSchema( + prep_side_effects_prep_base + ) + }); + break; + case 'nonAdherencePrepAggregate': + resolve({ + main: this.cloneJsonSchema(non_adherence_prep_aggregate), + nonAdherencePrepBase: this.cloneJsonSchema(non_adherence_prep_base) + }); + break; + case 'viralSuppressionOfHIVPositivePartnerPrepAggregate': + resolve({ + main: this.cloneJsonSchema( + viral_suppression_of_hiv_positive_partner_prep_aggregate + ), + viralSuppressionOfHIVPositivePartnerPrepBase: this.cloneJsonSchema( + viral_suppression_of_hiv_positive_partner_prep_base + ) + }); + break; + case 'tooManyHIVTestsPrepAggregate': + resolve({ + main: this.cloneJsonSchema(too_many_hiv_tests_prep_aggregate), + tooManyHIVTestsPrepBase: this.cloneJsonSchema( + too_many_hiv_tests_prep_base + ) + }); + break; + case 'partnerRefusalPrepAggregate': + resolve({ + main: this.cloneJsonSchema(partner_refusal_prep_aggregate), + partnerRefusalPrepBase: this.cloneJsonSchema( + partner_refusal_prep_base + ) + }); + break; + case 'partnerViolencePrepAggregate': + resolve({ + main: this.cloneJsonSchema(partner_violence_prep_aggregate), + partnerViolencePrepBase: this.cloneJsonSchema( + partner_violence_prep_base + ) + }); + break; + case 'diedPrepAggregate': + resolve({ + main: this.cloneJsonSchema(died_prep_aggregate), + diedPrepBase: this.cloneJsonSchema(died_prep_base) + }); + break; + case 'transferOutsPrepAggregate': + resolve({ + main: this.cloneJsonSchema(transfer_outs_prep_aggregate), + transferOutsPrepBase: this.cloneJsonSchema(transfer_outs_prep_base) + }); + break; + case 'missedDrugPickupsPrepAggregate': + resolve({ + main: this.cloneJsonSchema(missed_drug_pickups_prep_aggregate), + missedDrugPickupsPrepBase: this.cloneJsonSchema( + missed_drug_pickups_prep_base + ) + }); + break; + case 'anyOtherReasonPrepAggregate': + resolve({ + main: this.cloneJsonSchema(any_other_reason_prep_aggregate), + anyOtherReasonPrepBase: this.cloneJsonSchema( + any_other_reason_prep_base + ) + }); + break; case 'covid-19-monthly-report': resolve({ main: this.cloneJsonSchema(covid_19_monthly_report) diff --git a/app/reporting-framework/hiv/moh-731.report.js b/app/reporting-framework/hiv/moh-731.report.js index 81e681672..92c53808c 100755 --- a/app/reporting-framework/hiv/moh-731.report.js +++ b/app/reporting-framework/hiv/moh-731.report.js @@ -15,7 +15,7 @@ export class Moh731Report extends MultiDatasetPatientlistReport { } params.hivMonthlyDatasetSource = 'etl.hiv_monthly_report_dataset_frozen'; // defaults to frozen params.hivVlDataSource = - '(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)'; + '(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date AND fli.encounter_id = max_dates.encounter_id)'; console.log('creating new moh 731 report service'); super(reportName, params); } diff --git a/app/reporting-framework/json-reports/clinical-reminder-report.json b/app/reporting-framework/json-reports/clinical-reminder-report.json index af6355db0..af46abd99 100644 --- a/app/reporting-framework/json-reports/clinical-reminder-report.json +++ b/app/reporting-framework/json-reports/clinical-reminder-report.json @@ -16,7 +16,7 @@ "alias": "t1" }, { - "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)", + "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date AND fli.encounter_id = max_dates.encounter_id)", "alias": "fli", "join": { "type": "LEFT", diff --git a/app/reporting-framework/json-reports/defaulter-list-base.json b/app/reporting-framework/json-reports/defaulter-list-base.json index 27c3363c8..7273b4c10 100644 --- a/app/reporting-framework/json-reports/defaulter-list-base.json +++ b/app/reporting-framework/json-reports/defaulter-list-base.json @@ -14,7 +14,15 @@ "alias": "de", "join": { "type": "LEFT", - "joinCondition": "de.encounter_id = fd.encounter_id" + "joinCondition": "de.encounter_id = fd.encounter_id " + } + }, + { + "table": "(SELECT MAX(am.encounter_datetime) AS max_encounter_datetime, am.encounter_datetime, am.encounter_type, am.patient_id, fd.person_id , fd.rtc_date FROM etl.flat_defaulters fd INNER JOIN amrs.encounter am on (am.patient_id = fd.person_id) WHERE am.encounter_type = 21 group by am.patient_id)", + "alias": "am", + "join": { + "type": "INNER", + "joinCondition": "am.patient_id = fd.person_id" } }, { @@ -82,6 +90,14 @@ "type": "simple_column", "alias": "rtc_date", "column": "DATE_FORMAT(fd.rtc_date,'%Y-%m-%d')" + }, + { + "type": "derived_column", + "alias": "outreach_follow_up", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "case when max_encounter_datetime >= fd.rtc_date then 'Yes' else 'No' end" + } } ], "filters": { diff --git a/app/reporting-framework/json-reports/patient-list-template.json b/app/reporting-framework/json-reports/patient-list-template.json index f1c439de7..fb84f3dd8 100755 --- a/app/reporting-framework/json-reports/patient-list-template.json +++ b/app/reporting-framework/json-reports/patient-list-template.json @@ -9,7 +9,7 @@ "alias": "t1" }, { - "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)", + "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date AND fli.encounter_id = max_dates.encounter_id)", "alias": "fli", "join": { "type": "LEFT", diff --git a/app/reporting-framework/json-reports/patient-list-with-contacts-template.json b/app/reporting-framework/json-reports/patient-list-with-contacts-template.json index 2d1536f60..f7ac08f90 100755 --- a/app/reporting-framework/json-reports/patient-list-with-contacts-template.json +++ b/app/reporting-framework/json-reports/patient-list-with-contacts-template.json @@ -9,7 +9,7 @@ "alias": "t1" }, { - "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)", + "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date AND fli.encounter_id = max_dates.encounter_id)", "alias": "fli", "join": { "type": "LEFT", diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/any-other-reason-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/any-other-reason-aggregate.json new file mode 100644 index 000000000..28c2a5b17 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/any-other-reason-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "anyOtherReasonPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "anyOtherReasonPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "anyOtherReasonPrepBase", + "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": "yy_tg_15_19_male", + "column": "sum(b.yy_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "yy_tg_15_19_female", + "column": "sum(b.yy_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "yy_tg_20_24_male", + "column": "sum(b.yy_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "yy_tg_20_24_female", + "column": "sum(b.yy_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "yy_tg_25_29_male", + "column": "sum(b.yy_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "yy_tg_25_29_female", + "column": "sum(b.yy_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "yy_tg_30_34_male", + "column": "sum(b.yy_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "yy_tg_30_34_female", + "column": "sum(b.yy_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "yy_tg_35_39_male", + "column": "sum(b.yy_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "yy_tg_35_39_female", + "column": "sum(b.yy_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "yy_tg_40_44_male", + "column": "sum(b.yy_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "yy_tg_40_44_female", + "column": "sum(b.yy_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "yy_tg_45_49_male", + "column": "sum(b.yy_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "yy_tg_45_49_female", + "column": "sum(b.yy_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "yy_tg_50_54_male", + "column": "sum(b.yy_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "yy_tg_50_54_female", + "column": "sum(b.yy_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "yy_tg_55_59_male", + "column": "sum(b.yy_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "yy_tg_55_59_female", + "column": "sum(b.yy_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "yy_tg_60_64_male", + "column": "sum(b.yy_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "yy_tg_60_64_female", + "column": "sum(b.yy_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "yy_tg_above_65_male", + "column": "sum(b.yy_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "yy_tg_above_65_female", + "column": "sum(b.yy_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_yy_tg", + "column": "sum(b.total_yy_tg)" + }, + { + "type": "simple_column", + "alias": "yy_msm_15_19_male", + "column": "sum(b.yy_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "yy_msm_15_19_female", + "column": "sum(b.yy_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "yy_msm_20_24_male", + "column": "sum(b.yy_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "yy_msm_20_24_female", + "column": "sum(b.yy_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "yy_msm_25_29_male", + "column": "sum(b.yy_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "yy_msm_25_29_female", + "column": "sum(b.yy_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "yy_msm_30_34_male", + "column": "sum(b.yy_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "yy_msm_30_34_female", + "column": "sum(b.yy_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "yy_msm_35_39_male", + "column": "sum(b.yy_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "yy_msm_35_39_female", + "column": "sum(b.yy_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "yy_msm_40_44_male", + "column": "sum(b.yy_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "yy_msm_40_44_female", + "column": "sum(b.yy_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "yy_msm_45_49_male", + "column": "sum(b.yy_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "yy_msm_45_49_female", + "column": "sum(b.yy_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "yy_msm_50_54_male", + "column": "sum(b.yy_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "yy_msm_50_54_female", + "column": "sum(b.yy_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "yy_msm_55_59_male", + "column": "sum(b.yy_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "yy_msm_55_59_female", + "column": "sum(b.yy_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "yy_msm_60_64_male", + "column": "sum(b.yy_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "yy_msm_60_64_female", + "column": "sum(b.yy_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "yy_msm_above_65_male", + "column": "sum(b.yy_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "yy_msm_above_65_female", + "column": "sum(b.yy_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_yy_msm", + "column": "sum(b.total_yy_msm)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_15_19_male", + "column": "sum(b.yy_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_15_19_female", + "column": "sum(b.yy_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_20_24_male", + "column": "sum(b.yy_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_20_24_female", + "column": "sum(b.yy_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_25_29_male", + "column": "sum(b.yy_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_25_29_female", + "column": "sum(b.yy_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_30_34_male", + "column": "sum(b.yy_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_30_34_female", + "column": "sum(b.yy_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_35_39_male", + "column": "sum(b.yy_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_35_39_female", + "column": "sum(b.yy_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_40_44_male", + "column": "sum(b.yy_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_40_44_female", + "column": "sum(b.yy_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_45_49_male", + "column": "sum(b.yy_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_45_49_female", + "column": "sum(b.yy_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_50_54_male", + "column": "sum(b.yy_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_50_54_female", + "column": "sum(b.yy_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_55_59_male", + "column": "sum(b.yy_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_55_59_female", + "column": "sum(b.yy_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_60_64_male", + "column": "sum(b.yy_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_60_64_female", + "column": "sum(b.yy_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_above_65_male", + "column": "sum(b.yy_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "yy_agyw_above_65_female", + "column": "sum(b.yy_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_yy_agyw", + "column": "sum(b.total_yy_agyw)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_15_19_male", + "column": "sum(b.yy_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_15_19_female", + "column": "sum(b.yy_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_20_24_male", + "column": "sum(b.yy_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_20_24_female", + "column": "sum(b.yy_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_25_29_male", + "column": "sum(b.yy_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_25_29_female", + "column": "sum(b.yy_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_30_34_male", + "column": "sum(b.yy_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_30_34_female", + "column": "sum(b.yy_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_35_39_male", + "column": "sum(b.yy_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_35_39_female", + "column": "sum(b.yy_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_40_44_male", + "column": "sum(b.yy_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_40_44_female", + "column": "sum(b.yy_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_45_49_male", + "column": "sum(b.yy_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_45_49_female", + "column": "sum(b.yy_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_50_54_male", + "column": "sum(b.yy_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_50_54_female", + "column": "sum(b.yy_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_55_59_male", + "column": "sum(b.yy_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_55_59_female", + "column": "sum(b.yy_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_60_64_male", + "column": "sum(b.yy_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_60_64_female", + "column": "sum(b.yy_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_above_65_male", + "column": "sum(b.yy_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "yy_mhr_above_65_female", + "column": "sum(b.yy_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_yy_mhr", + "column": "sum(b.total_yy_mhr)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_15_19_male", + "column": "sum(b.yy_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_15_19_female", + "column": "sum(b.yy_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_20_24_male", + "column": "sum(b.yy_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_20_24_female", + "column": "sum(b.yy_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_25_29_male", + "column": "sum(b.yy_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_25_29_female", + "column": "sum(b.yy_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_30_34_male", + "column": "sum(b.yy_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_30_34_female", + "column": "sum(b.yy_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_35_39_male", + "column": "sum(b.yy_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_35_39_female", + "column": "sum(b.yy_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_40_44_male", + "column": "sum(b.yy_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_40_44_female", + "column": "sum(b.yy_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_45_49_male", + "column": "sum(b.yy_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_45_49_female", + "column": "sum(b.yy_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_50_54_male", + "column": "sum(b.yy_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_50_54_female", + "column": "sum(b.yy_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_55_59_male", + "column": "sum(b.yy_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_55_59_female", + "column": "sum(b.yy_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_60_64_male", + "column": "sum(b.yy_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_60_64_female", + "column": "sum(b.yy_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_above_65_male", + "column": "sum(b.yy_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "yy_fsw_above_65_female", + "column": "sum(b.yy_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_yy_fsw", + "column": "sum(b.total_yy_fsw)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_15_19_male", + "column": "sum(b.yy_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_15_19_female", + "column": "sum(b.yy_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_20_24_male", + "column": "sum(b.yy_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_20_24_female", + "column": "sum(b.yy_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_25_29_male", + "column": "sum(b.yy_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_25_29_female", + "column": "sum(b.yy_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_30_34_male", + "column": "sum(b.yy_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_30_34_female", + "column": "sum(b.yy_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_35_39_male", + "column": "sum(b.yy_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_35_39_female", + "column": "sum(b.yy_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_40_44_male", + "column": "sum(b.yy_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_40_44_female", + "column": "sum(b.yy_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_45_49_male", + "column": "sum(b.yy_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_45_49_female", + "column": "sum(b.yy_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_50_54_male", + "column": "sum(b.yy_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_50_54_female", + "column": "sum(b.yy_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_55_59_male", + "column": "sum(b.yy_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_55_59_female", + "column": "sum(b.yy_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_60_64_male", + "column": "sum(b.yy_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_60_64_female", + "column": "sum(b.yy_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_above_65_male", + "column": "sum(b.yy_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "yy_pwid_above_65_female", + "column": "sum(b.yy_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_yy_pwid", + "column": "sum(b.total_yy_pwid)" + }, + { + "type": "simple_column", + "alias": "yy_ow_15_19_male", + "column": "sum(b.yy_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "yy_ow_15_19_female", + "column": "sum(b.yy_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "yy_ow_20_24_male", + "column": "sum(b.yy_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "yy_ow_20_24_female", + "column": "sum(b.yy_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "yy_ow_25_29_male", + "column": "sum(b.yy_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "yy_ow_25_29_female", + "column": "sum(b.yy_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "yy_ow_30_34_male", + "column": "sum(b.yy_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "yy_ow_30_34_female", + "column": "sum(b.yy_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "yy_ow_35_39_male", + "column": "sum(b.yy_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "yy_ow_35_39_female", + "column": "sum(b.yy_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "yy_ow_40_44_male", + "column": "sum(b.yy_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "yy_ow_40_44_female", + "column": "sum(b.yy_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "yy_ow_45_49_male", + "column": "sum(b.yy_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "yy_ow_45_49_female", + "column": "sum(b.yy_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "yy_ow_50_54_male", + "column": "sum(b.yy_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "yy_ow_50_54_female", + "column": "sum(b.yy_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "yy_ow_55_59_male", + "column": "sum(b.yy_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "yy_ow_55_59_female", + "column": "sum(b.yy_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "yy_ow_60_64_male", + "column": "sum(b.yy_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "yy_ow_60_64_female", + "column": "sum(b.yy_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "yy_ow_above_65_male", + "column": "sum(b.yy_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "yy_ow_above_65_female", + "column": "sum(b.yy_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_yy_ow", + "column": "sum(b.total_yy_ow)" + }, + { + "type": "simple_column", + "alias": "yy_sc_15_19_male", + "column": "sum(b.yy_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "yy_sc_15_19_female", + "column": "sum(b.yy_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "yy_sc_20_24_male", + "column": "sum(b.yy_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "yy_sc_20_24_female", + "column": "sum(b.yy_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "yy_sc_25_29_male", + "column": "sum(b.yy_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "yy_sc_25_29_female", + "column": "sum(b.yy_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "yy_sc_30_34_male", + "column": "sum(b.yy_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "yy_sc_30_34_female", + "column": "sum(b.yy_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "yy_sc_35_39_male", + "column": "sum(b.yy_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "yy_sc_35_39_female", + "column": "sum(b.yy_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "yy_sc_40_44_male", + "column": "sum(b.yy_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "yy_sc_40_44_female", + "column": "sum(b.yy_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "yy_sc_45_49_male", + "column": "sum(b.yy_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "yy_sc_45_49_female", + "column": "sum(b.yy_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "yy_sc_50_54_male", + "column": "sum(b.yy_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "yy_sc_50_54_female", + "column": "sum(b.yy_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "yy_sc_55_59_male", + "column": "sum(b.yy_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "yy_sc_55_59_female", + "column": "sum(b.yy_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "yy_sc_60_64_male", + "column": "sum(b.yy_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "yy_sc_60_64_female", + "column": "sum(b.yy_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "yy_sc_above_65_male", + "column": "sum(b.yy_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "yy_sc_above_65_female", + "column": "sum(b.yy_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_yy_sc", + "column": "sum(b.total_yy_sc)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_15_19_male", + "column": "sum(b.yy_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_15_19_female", + "column": "sum(b.yy_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_20_24_male", + "column": "sum(b.yy_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_20_24_female", + "column": "sum(b.yy_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_25_29_male", + "column": "sum(b.yy_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_25_29_female", + "column": "sum(b.yy_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_30_34_male", + "column": "sum(b.yy_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_30_34_female", + "column": "sum(b.yy_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_35_39_male", + "column": "sum(b.yy_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_35_39_female", + "column": "sum(b.yy_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_40_44_male", + "column": "sum(b.yy_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_40_44_female", + "column": "sum(b.yy_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_45_49_male", + "column": "sum(b.yy_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_45_49_female", + "column": "sum(b.yy_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_50_54_male", + "column": "sum(b.yy_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_50_54_female", + "column": "sum(b.yy_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_55_59_male", + "column": "sum(b.yy_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_55_59_female", + "column": "sum(b.yy_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_60_64_male", + "column": "sum(b.yy_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_60_64_female", + "column": "sum(b.yy_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_above_65_male", + "column": "sum(b.yy_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "yy_pbfw_above_65_female", + "column": "sum(b.yy_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_yy_pbfw", + "column": "sum(b.total_yy_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_discontinuation_other_reasons", + "column": "sum(b.total_reason_for_discontinuation_other_reasons)" + } + ], + "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/discontinued/any-other-reason-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/any-other-reason-base.json new file mode 100644 index 000000000..bfda8eeb3 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/any-other-reason-base.json @@ -0,0 +1,1775 @@ +{ + "name": "anyOtherReasonPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "yy_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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_yy_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_yy_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_yy_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_yy_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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_yy_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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_yy_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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_yy_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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": "yy_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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_yy_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "yy_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_yy_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622') AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_discontinuation_other_reasons", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '5622'), 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/discontinued/died-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/died-aggregate.json new file mode 100644 index 000000000..1f34e14b7 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/died-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "diedPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "diedPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "diedPrepBase", + "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": "vv_tg_15_19_male", + "column": "sum(b.vv_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "vv_tg_15_19_female", + "column": "sum(b.vv_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "vv_tg_20_24_male", + "column": "sum(b.vv_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "vv_tg_20_24_female", + "column": "sum(b.vv_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "vv_tg_25_29_male", + "column": "sum(b.vv_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "vv_tg_25_29_female", + "column": "sum(b.vv_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "vv_tg_30_34_male", + "column": "sum(b.vv_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "vv_tg_30_34_female", + "column": "sum(b.vv_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "vv_tg_35_39_male", + "column": "sum(b.vv_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "vv_tg_35_39_female", + "column": "sum(b.vv_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "vv_tg_40_44_male", + "column": "sum(b.vv_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "vv_tg_40_44_female", + "column": "sum(b.vv_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "vv_tg_45_49_male", + "column": "sum(b.vv_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "vv_tg_45_49_female", + "column": "sum(b.vv_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "vv_tg_50_54_male", + "column": "sum(b.vv_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "vv_tg_50_54_female", + "column": "sum(b.vv_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "vv_tg_55_59_male", + "column": "sum(b.vv_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "vv_tg_55_59_female", + "column": "sum(b.vv_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "vv_tg_60_64_male", + "column": "sum(b.vv_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "vv_tg_60_64_female", + "column": "sum(b.vv_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "vv_tg_above_65_male", + "column": "sum(b.vv_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "vv_tg_above_65_female", + "column": "sum(b.vv_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_vv_tg", + "column": "sum(b.total_vv_tg)" + }, + { + "type": "simple_column", + "alias": "vv_msm_15_19_male", + "column": "sum(b.vv_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "vv_msm_15_19_female", + "column": "sum(b.vv_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "vv_msm_20_24_male", + "column": "sum(b.vv_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "vv_msm_20_24_female", + "column": "sum(b.vv_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "vv_msm_25_29_male", + "column": "sum(b.vv_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "vv_msm_25_29_female", + "column": "sum(b.vv_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "vv_msm_30_34_male", + "column": "sum(b.vv_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "vv_msm_30_34_female", + "column": "sum(b.vv_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "vv_msm_35_39_male", + "column": "sum(b.vv_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "vv_msm_35_39_female", + "column": "sum(b.vv_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "vv_msm_40_44_male", + "column": "sum(b.vv_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "vv_msm_40_44_female", + "column": "sum(b.vv_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "vv_msm_45_49_male", + "column": "sum(b.vv_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "vv_msm_45_49_female", + "column": "sum(b.vv_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "vv_msm_50_54_male", + "column": "sum(b.vv_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "vv_msm_50_54_female", + "column": "sum(b.vv_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "vv_msm_55_59_male", + "column": "sum(b.vv_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "vv_msm_55_59_female", + "column": "sum(b.vv_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "vv_msm_60_64_male", + "column": "sum(b.vv_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "vv_msm_60_64_female", + "column": "sum(b.vv_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "vv_msm_above_65_male", + "column": "sum(b.vv_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "vv_msm_above_65_female", + "column": "sum(b.vv_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_vv_msm", + "column": "sum(b.total_vv_msm)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_15_19_male", + "column": "sum(b.vv_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_15_19_female", + "column": "sum(b.vv_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_20_24_male", + "column": "sum(b.vv_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_20_24_female", + "column": "sum(b.vv_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_25_29_male", + "column": "sum(b.vv_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_25_29_female", + "column": "sum(b.vv_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_30_34_male", + "column": "sum(b.vv_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_30_34_female", + "column": "sum(b.vv_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_35_39_male", + "column": "sum(b.vv_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_35_39_female", + "column": "sum(b.vv_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_40_44_male", + "column": "sum(b.vv_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_40_44_female", + "column": "sum(b.vv_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_45_49_male", + "column": "sum(b.vv_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_45_49_female", + "column": "sum(b.vv_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_50_54_male", + "column": "sum(b.vv_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_50_54_female", + "column": "sum(b.vv_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_55_59_male", + "column": "sum(b.vv_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_55_59_female", + "column": "sum(b.vv_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_60_64_male", + "column": "sum(b.vv_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_60_64_female", + "column": "sum(b.vv_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_above_65_male", + "column": "sum(b.vv_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "vv_agyw_above_65_female", + "column": "sum(b.vv_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_vv_agyw", + "column": "sum(b.total_vv_agyw)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_15_19_male", + "column": "sum(b.vv_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_15_19_female", + "column": "sum(b.vv_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_20_24_male", + "column": "sum(b.vv_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_20_24_female", + "column": "sum(b.vv_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_25_29_male", + "column": "sum(b.vv_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_25_29_female", + "column": "sum(b.vv_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_30_34_male", + "column": "sum(b.vv_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_30_34_female", + "column": "sum(b.vv_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_35_39_male", + "column": "sum(b.vv_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_35_39_female", + "column": "sum(b.vv_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_40_44_male", + "column": "sum(b.vv_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_40_44_female", + "column": "sum(b.vv_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_45_49_male", + "column": "sum(b.vv_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_45_49_female", + "column": "sum(b.vv_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_50_54_male", + "column": "sum(b.vv_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_50_54_female", + "column": "sum(b.vv_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_55_59_male", + "column": "sum(b.vv_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_55_59_female", + "column": "sum(b.vv_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_60_64_male", + "column": "sum(b.vv_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_60_64_female", + "column": "sum(b.vv_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_above_65_male", + "column": "sum(b.vv_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "vv_mhr_above_65_female", + "column": "sum(b.vv_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_vv_mhr", + "column": "sum(b.total_vv_mhr)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_15_19_male", + "column": "sum(b.vv_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_15_19_female", + "column": "sum(b.vv_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_20_24_male", + "column": "sum(b.vv_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_20_24_female", + "column": "sum(b.vv_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_25_29_male", + "column": "sum(b.vv_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_25_29_female", + "column": "sum(b.vv_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_30_34_male", + "column": "sum(b.vv_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_30_34_female", + "column": "sum(b.vv_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_35_39_male", + "column": "sum(b.vv_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_35_39_female", + "column": "sum(b.vv_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_40_44_male", + "column": "sum(b.vv_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_40_44_female", + "column": "sum(b.vv_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_45_49_male", + "column": "sum(b.vv_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_45_49_female", + "column": "sum(b.vv_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_50_54_male", + "column": "sum(b.vv_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_50_54_female", + "column": "sum(b.vv_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_55_59_male", + "column": "sum(b.vv_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_55_59_female", + "column": "sum(b.vv_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_60_64_male", + "column": "sum(b.vv_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_60_64_female", + "column": "sum(b.vv_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_above_65_male", + "column": "sum(b.vv_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "vv_fsw_above_65_female", + "column": "sum(b.vv_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_vv_fsw", + "column": "sum(b.total_vv_fsw)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_15_19_male", + "column": "sum(b.vv_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_15_19_female", + "column": "sum(b.vv_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_20_24_male", + "column": "sum(b.vv_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_20_24_female", + "column": "sum(b.vv_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_25_29_male", + "column": "sum(b.vv_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_25_29_female", + "column": "sum(b.vv_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_30_34_male", + "column": "sum(b.vv_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_30_34_female", + "column": "sum(b.vv_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_35_39_male", + "column": "sum(b.vv_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_35_39_female", + "column": "sum(b.vv_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_40_44_male", + "column": "sum(b.vv_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_40_44_female", + "column": "sum(b.vv_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_45_49_male", + "column": "sum(b.vv_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_45_49_female", + "column": "sum(b.vv_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_50_54_male", + "column": "sum(b.vv_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_50_54_female", + "column": "sum(b.vv_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_55_59_male", + "column": "sum(b.vv_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_55_59_female", + "column": "sum(b.vv_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_60_64_male", + "column": "sum(b.vv_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_60_64_female", + "column": "sum(b.vv_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_above_65_male", + "column": "sum(b.vv_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "vv_pwid_above_65_female", + "column": "sum(b.vv_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_vv_pwid", + "column": "sum(b.total_vv_pwid)" + }, + { + "type": "simple_column", + "alias": "vv_ow_15_19_male", + "column": "sum(b.vv_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "vv_ow_15_19_female", + "column": "sum(b.vv_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "vv_ow_20_24_male", + "column": "sum(b.vv_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "vv_ow_20_24_female", + "column": "sum(b.vv_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "vv_ow_25_29_male", + "column": "sum(b.vv_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "vv_ow_25_29_female", + "column": "sum(b.vv_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "vv_ow_30_34_male", + "column": "sum(b.vv_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "vv_ow_30_34_female", + "column": "sum(b.vv_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "vv_ow_35_39_male", + "column": "sum(b.vv_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "vv_ow_35_39_female", + "column": "sum(b.vv_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "vv_ow_40_44_male", + "column": "sum(b.vv_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "vv_ow_40_44_female", + "column": "sum(b.vv_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "vv_ow_45_49_male", + "column": "sum(b.vv_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "vv_ow_45_49_female", + "column": "sum(b.vv_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "vv_ow_50_54_male", + "column": "sum(b.vv_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "vv_ow_50_54_female", + "column": "sum(b.vv_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "vv_ow_55_59_male", + "column": "sum(b.vv_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "vv_ow_55_59_female", + "column": "sum(b.vv_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "vv_ow_60_64_male", + "column": "sum(b.vv_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "vv_ow_60_64_female", + "column": "sum(b.vv_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "vv_ow_above_65_male", + "column": "sum(b.vv_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "vv_ow_above_65_female", + "column": "sum(b.vv_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_vv_ow", + "column": "sum(b.total_vv_ow)" + }, + { + "type": "simple_column", + "alias": "vv_sc_15_19_male", + "column": "sum(b.vv_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "vv_sc_15_19_female", + "column": "sum(b.vv_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "vv_sc_20_24_male", + "column": "sum(b.vv_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "vv_sc_20_24_female", + "column": "sum(b.vv_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "vv_sc_25_29_male", + "column": "sum(b.vv_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "vv_sc_25_29_female", + "column": "sum(b.vv_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "vv_sc_30_34_male", + "column": "sum(b.vv_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "vv_sc_30_34_female", + "column": "sum(b.vv_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "vv_sc_35_39_male", + "column": "sum(b.vv_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "vv_sc_35_39_female", + "column": "sum(b.vv_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "vv_sc_40_44_male", + "column": "sum(b.vv_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "vv_sc_40_44_female", + "column": "sum(b.vv_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "vv_sc_45_49_male", + "column": "sum(b.vv_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "vv_sc_45_49_female", + "column": "sum(b.vv_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "vv_sc_50_54_male", + "column": "sum(b.vv_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "vv_sc_50_54_female", + "column": "sum(b.vv_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "vv_sc_55_59_male", + "column": "sum(b.vv_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "vv_sc_55_59_female", + "column": "sum(b.vv_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "vv_sc_60_64_male", + "column": "sum(b.vv_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "vv_sc_60_64_female", + "column": "sum(b.vv_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "vv_sc_above_65_male", + "column": "sum(b.vv_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "vv_sc_above_65_female", + "column": "sum(b.vv_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_vv_sc", + "column": "sum(b.total_vv_sc)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_15_19_male", + "column": "sum(b.vv_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_15_19_female", + "column": "sum(b.vv_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_20_24_male", + "column": "sum(b.vv_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_20_24_female", + "column": "sum(b.vv_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_25_29_male", + "column": "sum(b.vv_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_25_29_female", + "column": "sum(b.vv_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_30_34_male", + "column": "sum(b.vv_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_30_34_female", + "column": "sum(b.vv_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_35_39_male", + "column": "sum(b.vv_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_35_39_female", + "column": "sum(b.vv_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_40_44_male", + "column": "sum(b.vv_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_40_44_female", + "column": "sum(b.vv_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_45_49_male", + "column": "sum(b.vv_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_45_49_female", + "column": "sum(b.vv_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_50_54_male", + "column": "sum(b.vv_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_50_54_female", + "column": "sum(b.vv_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_55_59_male", + "column": "sum(b.vv_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_55_59_female", + "column": "sum(b.vv_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_60_64_male", + "column": "sum(b.vv_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_60_64_female", + "column": "sum(b.vv_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_above_65_male", + "column": "sum(b.vv_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "vv_pbfw_above_65_female", + "column": "sum(b.vv_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_vv_pbfw", + "column": "sum(b.total_vv_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_discontinuation_died", + "column": "sum(b.total_reason_for_discontinuation_died)" + } + ], + "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/discontinued/died-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/died-base.json new file mode 100644 index 000000000..6da2f4f82 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/died-base.json @@ -0,0 +1,1775 @@ +{ + "name": "diedPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "vv_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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_vv_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_vv_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_vv_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_vv_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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_vv_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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_vv_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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_vv_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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": "vv_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') 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_vv_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "vv_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_vv_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593') AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_discontinuation_died", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1593'), 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/discontinued/discontinued-prep-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-aggregate.json new file mode 100644 index 000000000..4718608ec --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-aggregate.json @@ -0,0 +1,1116 @@ +{ + "name": "discontinuedPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "discontinuedPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "discontinuedPrepBase", + "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": "discontinued_prep_this_month", + "column": "sum(b.discontinued_prep_this_month)" + }, + { + "type": "simple_column", + "alias": "st_tg_15_19_female", + "column": "sum(b.st_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "st_tg_15_19_male", + "column": "sum(b.st_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "st_tg_20_24_female", + "column": "sum(b.st_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "st_tg_20_24_male", + "column": "sum(b.st_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "st_tg_25_29_female", + "column": "sum(b.st_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "st_tg_25_29_male", + "column": "sum(b.st_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "st_tg_30_34_female", + "column": "sum(b.st_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "st_tg_30_34_male", + "column": "sum(b.st_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "st_tg_35_39_female", + "column": "sum(b.st_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "st_tg_35_39_male", + "column": "sum(b.st_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "st_tg_40_44_female", + "column": "sum(b.st_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "st_tg_40_44_male", + "column": "sum(b.st_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "st_tg_45_49_female", + "column": "sum(b.st_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "st_tg_45_49_male", + "column": "sum(b.st_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "st_tg_50_54_female", + "column": "sum(b.st_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "st_tg_50_54_male", + "column": "sum(b.st_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "st_tg_55_59_female", + "column": "sum(b.st_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "st_tg_55_59_male", + "column": "sum(b.st_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "st_tg_60_64_female", + "column": "sum(b.st_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "st_tg_60_64_male", + "column": "sum(b.st_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "st_tg_above_65_female", + "column": "sum(b.st_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "st_tg_above_65_male", + "column": "sum(b.st_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_st_tg", + "column": "sum(b.total_st_tg)" + }, + { + "type": "simple_column", + "alias": "st_agyw_15_19_female", + "column": "sum(b.st_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "st_agyw_15_19_male", + "column": "sum(b.st_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "st_agyw_20_24_female", + "column": "sum(b.st_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "st_agyw_20_24_male", + "column": "sum(b.st_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "st_agyw_25_29_female", + "column": "sum(b.st_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "st_agyw_25_29_male", + "column": "sum(b.st_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "st_agyw_30_34_female", + "column": "sum(b.st_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "st_agyw_30_34_male", + "column": "sum(b.st_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "st_agyw_35_39_female", + "column": "sum(b.st_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "st_agyw_35_39_male", + "column": "sum(b.st_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "st_agyw_40_44_female", + "column": "sum(b.st_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "st_agyw_40_44_male", + "column": "sum(b.st_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "st_agyw_45_49_female", + "column": "sum(b.st_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "st_agyw_45_49_male", + "column": "sum(b.st_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "st_agyw_50_54_female", + "column": "sum(b.st_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "st_agyw_50_54_male", + "column": "sum(b.st_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "st_agyw_55_59_female", + "column": "sum(b.st_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "st_agyw_55_59_male", + "column": "sum(b.st_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "st_agyw_60_64_female", + "column": "sum(b.st_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "st_agyw_60_64_male", + "column": "sum(b.st_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "st_agyw_above_65_female", + "column": "sum(b.st_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "st_agyw_above_65_male", + "column": "sum(b.st_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_st_agyw", + "column": "sum(b.total_st_agyw)" + }, + { + "type": "simple_column", + "alias": "st_msm_15_19_female", + "column": "sum(b.st_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "st_msm_15_19_male", + "column": "sum(b.st_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "st_msm_20_24_female", + "column": "sum(b.st_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "st_msm_20_24_male", + "column": "sum(b.st_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "st_msm_25_29_female", + "column": "sum(b.st_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "st_msm_25_29_male", + "column": "sum(b.st_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "st_msm_30_34_female", + "column": "sum(b.st_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "st_msm_30_34_male", + "column": "sum(b.st_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "st_msm_35_39_female", + "column": "sum(b.st_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "st_msm_35_39_male", + "column": "sum(b.st_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "st_msm_40_44_female", + "column": "sum(b.st_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "st_msm_40_44_male", + "column": "sum(b.st_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "st_msm_45_49_female", + "column": "sum(b.st_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "st_msm_45_49_male", + "column": "sum(b.st_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "st_msm_50_54_female", + "column": "sum(b.st_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "st_msm_50_54_male", + "column": "sum(b.st_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "st_msm_55_59_female", + "column": "sum(b.st_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "st_msm_55_59_male", + "column": "sum(b.st_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "st_msm_60_64_female", + "column": "sum(b.st_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "st_msm_60_64_male", + "column": "sum(b.st_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "st_msm_above_65_female", + "column": "sum(b.st_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "st_msm_above_65_male", + "column": "sum(b.st_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_st_msm", + "column": "sum(b.total_st_msm)" + }, + { + "type": "simple_column", + "alias": "st_mahr_15_19_female", + "column": "sum(b.st_mahr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "st_mahr_15_19_male", + "column": "sum(b.st_mahr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "st_mahr_20_24_female", + "column": "sum(b.st_mahr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "st_mahr_20_24_male", + "column": "sum(b.st_mahr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "st_mahr_25_29_female", + "column": "sum(b.st_mahr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "st_mahr_25_29_male", + "column": "sum(b.st_mahr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "st_mahr_30_34_female", + "column": "sum(b.st_mahr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "st_mahr_30_34_male", + "column": "sum(b.st_mahr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "st_mahr_35_39_female", + "column": "sum(b.st_mahr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "st_mahr_35_39_male", + "column": "sum(b.st_mahr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "st_mahr_40_44_female", + "column": "sum(b.st_mahr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "st_mahr_40_44_male", + "column": "sum(b.st_mahr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "st_mahr_45_49_female", + "column": "sum(b.st_mahr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "st_mahr_45_49_male", + "column": "sum(b.st_mahr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "st_mahr_50_54_female", + "column": "sum(b.st_mahr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "st_mahr_50_54_male", + "column": "sum(b.st_mahr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "st_mahr_55_59_female", + "column": "sum(b.st_mahr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "st_mahr_55_59_male", + "column": "sum(b.st_mahr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "st_mahr_60_64_female", + "column": "sum(b.st_mahr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "st_mahr_60_64_male", + "column": "sum(b.st_mahr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "st_mahr_above_65_female", + "column": "sum(b.st_mahr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "st_mahr_above_65_male", + "column": "sum(b.st_mahr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_st_mahr", + "column": "sum(b.total_st_mahr)" + }, + { + "type": "simple_column", + "alias": "st_fsw_15_19_female", + "column": "sum(b.st_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "st_fsw_15_19_male", + "column": "sum(b.st_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "st_fsw_20_24_female", + "column": "sum(b.st_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "st_fsw_20_24_male", + "column": "sum(b.st_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "st_fsw_25_29_female", + "column": "sum(b.st_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "st_fsw_25_29_male", + "column": "sum(b.st_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "st_fsw_30_34_female", + "column": "sum(b.st_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "st_fsw_30_34_male", + "column": "sum(b.st_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "st_fsw_35_39_female", + "column": "sum(b.st_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "st_fsw_35_39_male", + "column": "sum(b.st_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "st_fsw_40_44_female", + "column": "sum(b.st_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "st_fsw_40_44_male", + "column": "sum(b.st_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "st_fsw_45_49_female", + "column": "sum(b.st_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "st_fsw_45_49_male", + "column": "sum(b.st_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "st_fsw_50_54_female", + "column": "sum(b.st_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "st_fsw_50_54_male", + "column": "sum(b.st_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "st_fsw_55_59_female", + "column": "sum(b.st_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "st_fsw_55_59_male", + "column": "sum(b.st_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "st_fsw_60_64_female", + "column": "sum(b.st_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "st_fsw_60_64_male", + "column": "sum(b.st_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "st_fsw_above_65_female", + "column": "sum(b.st_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "st_fsw_above_65_male", + "column": "sum(b.st_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_st_fsw", + "column": "sum(b.total_st_fsw)" + }, + { + "type": "simple_column", + "alias": "st_pwid_15_19_female", + "column": "sum(b.st_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "st_pwid_15_19_male", + "column": "sum(b.st_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "st_pwid_20_24_female", + "column": "sum(b.st_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "st_pwid_20_24_male", + "column": "sum(b.st_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "st_pwid_25_29_female", + "column": "sum(b.st_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "st_pwid_25_29_male", + "column": "sum(b.st_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "st_pwid_30_34_female", + "column": "sum(b.st_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "st_pwid_30_34_male", + "column": "sum(b.st_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "st_pwid_35_39_female", + "column": "sum(b.st_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "st_pwid_35_39_male", + "column": "sum(b.st_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "st_pwid_40_44_female", + "column": "sum(b.st_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "st_pwid_40_44_male", + "column": "sum(b.st_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "st_pwid_45_49_female", + "column": "sum(b.st_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "st_pwid_45_49_male", + "column": "sum(b.st_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "st_pwid_50_54_female", + "column": "sum(b.st_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "st_pwid_50_54_male", + "column": "sum(b.st_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "st_pwid_55_59_female", + "column": "sum(b.st_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "st_pwid_55_59_male", + "column": "sum(b.st_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "st_pwid_60_64_female", + "column": "sum(b.st_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "st_pwid_60_64_male", + "column": "sum(b.st_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "st_pwid_above_65_female", + "column": "sum(b.st_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "st_pwid_above_65_male", + "column": "sum(b.st_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_st_pwid", + "column": "sum(b.total_st_pwid)" + }, + { + "type": "simple_column", + "alias": "st_ow_15_19_female", + "column": "sum(b.st_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "st_ow_15_19_male", + "column": "sum(b.st_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "st_ow_20_24_female", + "column": "sum(b.st_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "st_ow_20_24_male", + "column": "sum(b.st_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "st_ow_25_29_female", + "column": "sum(b.st_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "st_ow_25_29_male", + "column": "sum(b.st_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "st_ow_30_34_female", + "column": "sum(b.st_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "st_ow_30_34_male", + "column": "sum(b.st_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "st_ow_35_39_female", + "column": "sum(b.st_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "st_ow_35_39_male", + "column": "sum(b.st_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "st_ow_40_44_female", + "column": "sum(b.st_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "st_ow_40_44_male", + "column": "sum(b.st_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "st_ow_45_49_female", + "column": "sum(b.st_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "st_ow_45_49_male", + "column": "sum(b.st_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "st_ow_50_54_female", + "column": "sum(b.st_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "st_ow_50_54_male", + "column": "sum(b.st_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "st_ow_55_59_female", + "column": "sum(b.st_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "st_ow_55_59_male", + "column": "sum(b.st_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "st_ow_60_64_female", + "column": "sum(b.st_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "st_ow_60_64_male", + "column": "sum(b.st_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "st_ow_above_65_female", + "column": "sum(b.st_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "st_ow_above_65_male", + "column": "sum(b.st_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_st_ow", + "column": "sum(b.total_st_ow)" + }, + { + "type": "simple_column", + "alias": "st_sdc_15_19_female", + "column": "sum(b.st_sdc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "st_sdc_15_19_male", + "column": "sum(b.st_sdc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "st_sdc_20_24_female", + "column": "sum(b.st_sdc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "st_sdc_20_24_male", + "column": "sum(b.st_sdc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "st_sdc_25_29_female", + "column": "sum(b.st_sdc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "st_sdc_25_29_male", + "column": "sum(b.st_sdc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "st_sdc_30_34_female", + "column": "sum(b.st_sdc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "st_sdc_30_34_male", + "column": "sum(b.st_sdc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "st_sdc_35_39_female", + "column": "sum(b.st_sdc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "st_sdc_35_39_male", + "column": "sum(b.st_sdc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "st_sdc_40_44_female", + "column": "sum(b.st_sdc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "st_sdc_40_44_male", + "column": "sum(b.st_sdc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "st_sdc_45_49_female", + "column": "sum(b.st_sdc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "st_sdc_45_49_male", + "column": "sum(b.st_sdc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "st_sdc_50_54_female", + "column": "sum(b.st_sdc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "st_sdc_50_54_male", + "column": "sum(b.st_sdc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "st_sdc_55_59_female", + "column": "sum(b.st_sdc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "st_sdc_55_59_male", + "column": "sum(b.st_sdc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "st_sdc_60_64_female", + "column": "sum(b.st_sdc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "st_sdc_60_64_male", + "column": "sum(b.st_sdc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "st_sdc_above_65_female", + "column": "sum(b.st_sdc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "st_sdc_above_65_male", + "column": "sum(b.st_sdc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_st_sdc", + "column": "sum(b.total_st_sdc)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_15_19_female", + "column": "sum(b.st_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_15_19_male", + "column": "sum(b.st_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_20_24_female", + "column": "sum(b.st_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_20_24_male", + "column": "sum(b.st_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_25_29_female", + "column": "sum(b.st_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_25_29_male", + "column": "sum(b.st_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_30_34_female", + "column": "sum(b.st_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_30_34_male", + "column": "sum(b.st_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_35_39_female", + "column": "sum(b.st_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_35_39_male", + "column": "sum(b.st_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_40_44_female", + "column": "sum(b.st_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_40_44_male", + "column": "sum(b.st_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_45_49_female", + "column": "sum(b.st_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_45_49_male", + "column": "sum(b.st_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_50_54_female", + "column": "sum(b.st_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_50_54_male", + "column": "sum(b.st_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_55_59_female", + "column": "sum(b.st_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_55_59_male", + "column": "sum(b.st_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_60_64_female", + "column": "sum(b.st_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_60_64_male", + "column": "sum(b.st_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_above_65_female", + "column": "sum(b.st_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "st_pbfw_above_65_male", + "column": "sum(b.st_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_st_pbfw", + "column": "sum(b.total_st_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_discontinued_prep_this_month", + "column": "sum(b.total_discontinued_prep_this_month)" + } + ], + "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/discontinued/discontinued-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-base.json new file mode 100644 index 000000000..9dd067733 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-base.json @@ -0,0 +1,1780 @@ +{ + "name": "discontinuedPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "discontinued_prep_this_month", + "column": "pd.discontinued_from_prep_this_month" + }, + { + "type": "derived_column", + "alias": "st_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_st_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.sub_population_type = 50 OR pd.population_type = 1)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_st_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_st_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_mahr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_st_mahr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M'), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_st_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_st_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_st_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F'), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_sdc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_st_sdc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "st_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_st_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_discontinued_prep_this_month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "DATE_FORMAT(pd.endDate,'%Y-%m')" + } + } + ], + "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/discontinued/low-risk-for-hiv-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/low-risk-for-hiv-aggregate.json new file mode 100644 index 000000000..a021b9300 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/low-risk-for-hiv-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "lowRiskForHIVPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "lowRiskForHIVPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "lowRiskForHIVPrepBase", + "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": "mm_tg_15_19_male", + "column": "sum(b.mm_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "mm_tg_15_19_female", + "column": "sum(b.mm_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "mm_tg_20_24_male", + "column": "sum(b.mm_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "mm_tg_20_24_female", + "column": "sum(b.mm_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "mm_tg_25_29_male", + "column": "sum(b.mm_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "mm_tg_25_29_female", + "column": "sum(b.mm_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "mm_tg_30_34_male", + "column": "sum(b.mm_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "mm_tg_30_34_female", + "column": "sum(b.mm_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "mm_tg_35_39_male", + "column": "sum(b.mm_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "mm_tg_35_39_female", + "column": "sum(b.mm_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "mm_tg_40_44_male", + "column": "sum(b.mm_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "mm_tg_40_44_female", + "column": "sum(b.mm_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "mm_tg_45_49_male", + "column": "sum(b.mm_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "mm_tg_45_49_female", + "column": "sum(b.mm_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "mm_tg_50_54_male", + "column": "sum(b.mm_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "mm_tg_50_54_female", + "column": "sum(b.mm_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "mm_tg_55_59_male", + "column": "sum(b.mm_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "mm_tg_55_59_female", + "column": "sum(b.mm_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "mm_tg_60_64_male", + "column": "sum(b.mm_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "mm_tg_60_64_female", + "column": "sum(b.mm_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "mm_tg_above_65_male", + "column": "sum(b.mm_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "mm_tg_above_65_female", + "column": "sum(b.mm_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_mm_tg", + "column": "sum(b.total_mm_tg)" + }, + { + "type": "simple_column", + "alias": "mm_msm_15_19_male", + "column": "sum(b.mm_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "mm_msm_15_19_female", + "column": "sum(b.mm_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "mm_msm_20_24_male", + "column": "sum(b.mm_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "mm_msm_20_24_female", + "column": "sum(b.mm_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "mm_msm_25_29_male", + "column": "sum(b.mm_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "mm_msm_25_29_female", + "column": "sum(b.mm_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "mm_msm_30_34_male", + "column": "sum(b.mm_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "mm_msm_30_34_female", + "column": "sum(b.mm_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "mm_msm_35_39_male", + "column": "sum(b.mm_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "mm_msm_35_39_female", + "column": "sum(b.mm_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "mm_msm_40_44_male", + "column": "sum(b.mm_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "mm_msm_40_44_female", + "column": "sum(b.mm_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "mm_msm_45_49_male", + "column": "sum(b.mm_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "mm_msm_45_49_female", + "column": "sum(b.mm_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "mm_msm_50_54_male", + "column": "sum(b.mm_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "mm_msm_50_54_female", + "column": "sum(b.mm_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "mm_msm_55_59_male", + "column": "sum(b.mm_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "mm_msm_55_59_female", + "column": "sum(b.mm_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "mm_msm_60_64_male", + "column": "sum(b.mm_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "mm_msm_60_64_female", + "column": "sum(b.mm_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "mm_msm_above_65_male", + "column": "sum(b.mm_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "mm_msm_above_65_female", + "column": "sum(b.mm_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_mm_msm", + "column": "sum(b.total_mm_msm)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_15_19_male", + "column": "sum(b.mm_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_15_19_female", + "column": "sum(b.mm_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_20_24_male", + "column": "sum(b.mm_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_20_24_female", + "column": "sum(b.mm_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_25_29_male", + "column": "sum(b.mm_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_25_29_female", + "column": "sum(b.mm_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_30_34_male", + "column": "sum(b.mm_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_30_34_female", + "column": "sum(b.mm_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_35_39_male", + "column": "sum(b.mm_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_35_39_female", + "column": "sum(b.mm_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_40_44_male", + "column": "sum(b.mm_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_40_44_female", + "column": "sum(b.mm_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_45_49_male", + "column": "sum(b.mm_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_45_49_female", + "column": "sum(b.mm_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_50_54_male", + "column": "sum(b.mm_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_50_54_female", + "column": "sum(b.mm_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_55_59_male", + "column": "sum(b.mm_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_55_59_female", + "column": "sum(b.mm_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_60_64_male", + "column": "sum(b.mm_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_60_64_female", + "column": "sum(b.mm_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_above_65_male", + "column": "sum(b.mm_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "mm_agyw_above_65_female", + "column": "sum(b.mm_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_mm_agyw", + "column": "sum(b.total_mm_agyw)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_15_19_male", + "column": "sum(b.mm_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_15_19_female", + "column": "sum(b.mm_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_20_24_male", + "column": "sum(b.mm_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_20_24_female", + "column": "sum(b.mm_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_25_29_male", + "column": "sum(b.mm_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_25_29_female", + "column": "sum(b.mm_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_30_34_male", + "column": "sum(b.mm_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_30_34_female", + "column": "sum(b.mm_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_35_39_male", + "column": "sum(b.mm_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_35_39_female", + "column": "sum(b.mm_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_40_44_male", + "column": "sum(b.mm_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_40_44_female", + "column": "sum(b.mm_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_45_49_male", + "column": "sum(b.mm_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_45_49_female", + "column": "sum(b.mm_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_50_54_male", + "column": "sum(b.mm_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_50_54_female", + "column": "sum(b.mm_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_55_59_male", + "column": "sum(b.mm_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_55_59_female", + "column": "sum(b.mm_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_60_64_male", + "column": "sum(b.mm_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_60_64_female", + "column": "sum(b.mm_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_above_65_male", + "column": "sum(b.mm_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "mm_mhr_above_65_female", + "column": "sum(b.mm_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_mm_mhr", + "column": "sum(b.total_mm_mhr)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_15_19_male", + "column": "sum(b.mm_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_15_19_female", + "column": "sum(b.mm_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_20_24_male", + "column": "sum(b.mm_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_20_24_female", + "column": "sum(b.mm_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_25_29_male", + "column": "sum(b.mm_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_25_29_female", + "column": "sum(b.mm_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_30_34_male", + "column": "sum(b.mm_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_30_34_female", + "column": "sum(b.mm_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_35_39_male", + "column": "sum(b.mm_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_35_39_female", + "column": "sum(b.mm_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_40_44_male", + "column": "sum(b.mm_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_40_44_female", + "column": "sum(b.mm_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_45_49_male", + "column": "sum(b.mm_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_45_49_female", + "column": "sum(b.mm_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_50_54_male", + "column": "sum(b.mm_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_50_54_female", + "column": "sum(b.mm_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_55_59_male", + "column": "sum(b.mm_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_55_59_female", + "column": "sum(b.mm_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_60_64_male", + "column": "sum(b.mm_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_60_64_female", + "column": "sum(b.mm_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_above_65_male", + "column": "sum(b.mm_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "mm_fsw_above_65_female", + "column": "sum(b.mm_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_mm_fsw", + "column": "sum(b.total_mm_fsw)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_15_19_male", + "column": "sum(b.mm_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_15_19_female", + "column": "sum(b.mm_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_20_24_male", + "column": "sum(b.mm_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_20_24_female", + "column": "sum(b.mm_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_25_29_male", + "column": "sum(b.mm_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_25_29_female", + "column": "sum(b.mm_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_30_34_male", + "column": "sum(b.mm_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_30_34_female", + "column": "sum(b.mm_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_35_39_male", + "column": "sum(b.mm_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_35_39_female", + "column": "sum(b.mm_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_40_44_male", + "column": "sum(b.mm_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_40_44_female", + "column": "sum(b.mm_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_45_49_male", + "column": "sum(b.mm_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_45_49_female", + "column": "sum(b.mm_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_50_54_male", + "column": "sum(b.mm_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_50_54_female", + "column": "sum(b.mm_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_55_59_male", + "column": "sum(b.mm_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_55_59_female", + "column": "sum(b.mm_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_60_64_male", + "column": "sum(b.mm_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_60_64_female", + "column": "sum(b.mm_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_above_65_male", + "column": "sum(b.mm_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "mm_pwid_above_65_female", + "column": "sum(b.mm_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_mm_pwid", + "column": "sum(b.total_mm_pwid)" + }, + { + "type": "simple_column", + "alias": "mm_ow_15_19_male", + "column": "sum(b.mm_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "mm_ow_15_19_female", + "column": "sum(b.mm_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "mm_ow_20_24_male", + "column": "sum(b.mm_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "mm_ow_20_24_female", + "column": "sum(b.mm_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "mm_ow_25_29_male", + "column": "sum(b.mm_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "mm_ow_25_29_female", + "column": "sum(b.mm_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "mm_ow_30_34_male", + "column": "sum(b.mm_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "mm_ow_30_34_female", + "column": "sum(b.mm_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "mm_ow_35_39_male", + "column": "sum(b.mm_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "mm_ow_35_39_female", + "column": "sum(b.mm_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "mm_ow_40_44_male", + "column": "sum(b.mm_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "mm_ow_40_44_female", + "column": "sum(b.mm_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "mm_ow_45_49_male", + "column": "sum(b.mm_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "mm_ow_45_49_female", + "column": "sum(b.mm_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "mm_ow_50_54_male", + "column": "sum(b.mm_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "mm_ow_50_54_female", + "column": "sum(b.mm_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "mm_ow_55_59_male", + "column": "sum(b.mm_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "mm_ow_55_59_female", + "column": "sum(b.mm_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "mm_ow_60_64_male", + "column": "sum(b.mm_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "mm_ow_60_64_female", + "column": "sum(b.mm_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "mm_ow_above_65_male", + "column": "sum(b.mm_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "mm_ow_above_65_female", + "column": "sum(b.mm_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_mm_ow", + "column": "sum(b.total_mm_ow)" + }, + { + "type": "simple_column", + "alias": "mm_sc_15_19_male", + "column": "sum(b.mm_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "mm_sc_15_19_female", + "column": "sum(b.mm_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "mm_sc_20_24_male", + "column": "sum(b.mm_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "mm_sc_20_24_female", + "column": "sum(b.mm_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "mm_sc_25_29_male", + "column": "sum(b.mm_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "mm_sc_25_29_female", + "column": "sum(b.mm_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "mm_sc_30_34_male", + "column": "sum(b.mm_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "mm_sc_30_34_female", + "column": "sum(b.mm_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "mm_sc_35_39_male", + "column": "sum(b.mm_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "mm_sc_35_39_female", + "column": "sum(b.mm_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "mm_sc_40_44_male", + "column": "sum(b.mm_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "mm_sc_40_44_female", + "column": "sum(b.mm_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "mm_sc_45_49_male", + "column": "sum(b.mm_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "mm_sc_45_49_female", + "column": "sum(b.mm_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "mm_sc_50_54_male", + "column": "sum(b.mm_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "mm_sc_50_54_female", + "column": "sum(b.mm_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "mm_sc_55_59_male", + "column": "sum(b.mm_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "mm_sc_55_59_female", + "column": "sum(b.mm_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "mm_sc_60_64_male", + "column": "sum(b.mm_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "mm_sc_60_64_female", + "column": "sum(b.mm_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "mm_sc_above_65_male", + "column": "sum(b.mm_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "mm_sc_above_65_female", + "column": "sum(b.mm_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_mm_sc", + "column": "sum(b.total_mm_sc)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_15_19_male", + "column": "sum(b.mm_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_15_19_female", + "column": "sum(b.mm_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_20_24_male", + "column": "sum(b.mm_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_20_24_female", + "column": "sum(b.mm_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_25_29_male", + "column": "sum(b.mm_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_25_29_female", + "column": "sum(b.mm_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_30_34_male", + "column": "sum(b.mm_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_30_34_female", + "column": "sum(b.mm_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_35_39_male", + "column": "sum(b.mm_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_35_39_female", + "column": "sum(b.mm_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_40_44_male", + "column": "sum(b.mm_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_40_44_female", + "column": "sum(b.mm_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_45_49_male", + "column": "sum(b.mm_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_45_49_female", + "column": "sum(b.mm_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_50_54_male", + "column": "sum(b.mm_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_50_54_female", + "column": "sum(b.mm_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_55_59_male", + "column": "sum(b.mm_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_55_59_female", + "column": "sum(b.mm_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_60_64_male", + "column": "sum(b.mm_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_60_64_female", + "column": "sum(b.mm_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_above_65_male", + "column": "sum(b.mm_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "mm_pbfw_above_65_female", + "column": "sum(b.mm_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_mm_pbfw", + "column": "sum(b.total_mm_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_discontinuation_low_risk", + "column": "sum(b.total_reason_for_discontinuation_low_risk)" + } + ], + "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/discontinued/low-risk-for-hiv-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/low-risk-for-hiv-base.json new file mode 100644 index 000000000..f6e2e2b9a --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/low-risk-for-hiv-base.json @@ -0,0 +1,1775 @@ +{ + "name": "lowRiskForHIVPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "mm_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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_mm_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_mm_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_mm_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_mm_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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_mm_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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_mm_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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_mm_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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": "mm_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') 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_mm_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "mm_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_mm_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777') AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_discontinuation_low_risk", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9777'), 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/discontinued/missed-drug-pickups-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/missed-drug-pickups-aggregate.json new file mode 100644 index 000000000..4db1b83bc --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/missed-drug-pickups-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "missedDrugPickupsPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "missedDrugPickupsPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "missedDrugPickupsPrepBase", + "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": "xx_tg_15_19_male", + "column": "sum(b.xx_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "xx_tg_15_19_female", + "column": "sum(b.xx_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "xx_tg_20_24_male", + "column": "sum(b.xx_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "xx_tg_20_24_female", + "column": "sum(b.xx_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "xx_tg_25_29_male", + "column": "sum(b.xx_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "xx_tg_25_29_female", + "column": "sum(b.xx_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "xx_tg_30_34_male", + "column": "sum(b.xx_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "xx_tg_30_34_female", + "column": "sum(b.xx_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "xx_tg_35_39_male", + "column": "sum(b.xx_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "xx_tg_35_39_female", + "column": "sum(b.xx_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "xx_tg_40_44_male", + "column": "sum(b.xx_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "xx_tg_40_44_female", + "column": "sum(b.xx_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "xx_tg_45_49_male", + "column": "sum(b.xx_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "xx_tg_45_49_female", + "column": "sum(b.xx_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "xx_tg_50_54_male", + "column": "sum(b.xx_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "xx_tg_50_54_female", + "column": "sum(b.xx_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "xx_tg_55_59_male", + "column": "sum(b.xx_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "xx_tg_55_59_female", + "column": "sum(b.xx_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "xx_tg_60_64_male", + "column": "sum(b.xx_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "xx_tg_60_64_female", + "column": "sum(b.xx_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "xx_tg_above_65_male", + "column": "sum(b.xx_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "xx_tg_above_65_female", + "column": "sum(b.xx_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_xx_tg", + "column": "sum(b.total_xx_tg)" + }, + { + "type": "simple_column", + "alias": "xx_msm_15_19_male", + "column": "sum(b.xx_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "xx_msm_15_19_female", + "column": "sum(b.xx_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "xx_msm_20_24_male", + "column": "sum(b.xx_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "xx_msm_20_24_female", + "column": "sum(b.xx_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "xx_msm_25_29_male", + "column": "sum(b.xx_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "xx_msm_25_29_female", + "column": "sum(b.xx_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "xx_msm_30_34_male", + "column": "sum(b.xx_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "xx_msm_30_34_female", + "column": "sum(b.xx_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "xx_msm_35_39_male", + "column": "sum(b.xx_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "xx_msm_35_39_female", + "column": "sum(b.xx_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "xx_msm_40_44_male", + "column": "sum(b.xx_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "xx_msm_40_44_female", + "column": "sum(b.xx_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "xx_msm_45_49_male", + "column": "sum(b.xx_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "xx_msm_45_49_female", + "column": "sum(b.xx_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "xx_msm_50_54_male", + "column": "sum(b.xx_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "xx_msm_50_54_female", + "column": "sum(b.xx_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "xx_msm_55_59_male", + "column": "sum(b.xx_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "xx_msm_55_59_female", + "column": "sum(b.xx_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "xx_msm_60_64_male", + "column": "sum(b.xx_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "xx_msm_60_64_female", + "column": "sum(b.xx_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "xx_msm_above_65_male", + "column": "sum(b.xx_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "xx_msm_above_65_female", + "column": "sum(b.xx_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_xx_msm", + "column": "sum(b.total_xx_msm)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_15_19_male", + "column": "sum(b.xx_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_15_19_female", + "column": "sum(b.xx_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_20_24_male", + "column": "sum(b.xx_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_20_24_female", + "column": "sum(b.xx_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_25_29_male", + "column": "sum(b.xx_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_25_29_female", + "column": "sum(b.xx_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_30_34_male", + "column": "sum(b.xx_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_30_34_female", + "column": "sum(b.xx_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_35_39_male", + "column": "sum(b.xx_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_35_39_female", + "column": "sum(b.xx_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_40_44_male", + "column": "sum(b.xx_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_40_44_female", + "column": "sum(b.xx_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_45_49_male", + "column": "sum(b.xx_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_45_49_female", + "column": "sum(b.xx_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_50_54_male", + "column": "sum(b.xx_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_50_54_female", + "column": "sum(b.xx_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_55_59_male", + "column": "sum(b.xx_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_55_59_female", + "column": "sum(b.xx_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_60_64_male", + "column": "sum(b.xx_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_60_64_female", + "column": "sum(b.xx_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_above_65_male", + "column": "sum(b.xx_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "xx_agyw_above_65_female", + "column": "sum(b.xx_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_xx_agyw", + "column": "sum(b.total_xx_agyw)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_15_19_male", + "column": "sum(b.xx_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_15_19_female", + "column": "sum(b.xx_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_20_24_male", + "column": "sum(b.xx_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_20_24_female", + "column": "sum(b.xx_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_25_29_male", + "column": "sum(b.xx_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_25_29_female", + "column": "sum(b.xx_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_30_34_male", + "column": "sum(b.xx_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_30_34_female", + "column": "sum(b.xx_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_35_39_male", + "column": "sum(b.xx_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_35_39_female", + "column": "sum(b.xx_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_40_44_male", + "column": "sum(b.xx_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_40_44_female", + "column": "sum(b.xx_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_45_49_male", + "column": "sum(b.xx_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_45_49_female", + "column": "sum(b.xx_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_50_54_male", + "column": "sum(b.xx_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_50_54_female", + "column": "sum(b.xx_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_55_59_male", + "column": "sum(b.xx_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_55_59_female", + "column": "sum(b.xx_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_60_64_male", + "column": "sum(b.xx_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_60_64_female", + "column": "sum(b.xx_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_above_65_male", + "column": "sum(b.xx_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "xx_mhr_above_65_female", + "column": "sum(b.xx_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_xx_mhr", + "column": "sum(b.total_xx_mhr)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_15_19_male", + "column": "sum(b.xx_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_15_19_female", + "column": "sum(b.xx_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_20_24_male", + "column": "sum(b.xx_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_20_24_female", + "column": "sum(b.xx_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_25_29_male", + "column": "sum(b.xx_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_25_29_female", + "column": "sum(b.xx_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_30_34_male", + "column": "sum(b.xx_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_30_34_female", + "column": "sum(b.xx_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_35_39_male", + "column": "sum(b.xx_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_35_39_female", + "column": "sum(b.xx_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_40_44_male", + "column": "sum(b.xx_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_40_44_female", + "column": "sum(b.xx_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_45_49_male", + "column": "sum(b.xx_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_45_49_female", + "column": "sum(b.xx_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_50_54_male", + "column": "sum(b.xx_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_50_54_female", + "column": "sum(b.xx_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_55_59_male", + "column": "sum(b.xx_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_55_59_female", + "column": "sum(b.xx_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_60_64_male", + "column": "sum(b.xx_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_60_64_female", + "column": "sum(b.xx_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_above_65_male", + "column": "sum(b.xx_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "xx_fsw_above_65_female", + "column": "sum(b.xx_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_xx_fsw", + "column": "sum(b.total_xx_fsw)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_15_19_male", + "column": "sum(b.xx_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_15_19_female", + "column": "sum(b.xx_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_20_24_male", + "column": "sum(b.xx_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_20_24_female", + "column": "sum(b.xx_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_25_29_male", + "column": "sum(b.xx_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_25_29_female", + "column": "sum(b.xx_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_30_34_male", + "column": "sum(b.xx_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_30_34_female", + "column": "sum(b.xx_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_35_39_male", + "column": "sum(b.xx_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_35_39_female", + "column": "sum(b.xx_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_40_44_male", + "column": "sum(b.xx_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_40_44_female", + "column": "sum(b.xx_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_45_49_male", + "column": "sum(b.xx_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_45_49_female", + "column": "sum(b.xx_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_50_54_male", + "column": "sum(b.xx_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_50_54_female", + "column": "sum(b.xx_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_55_59_male", + "column": "sum(b.xx_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_55_59_female", + "column": "sum(b.xx_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_60_64_male", + "column": "sum(b.xx_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_60_64_female", + "column": "sum(b.xx_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_above_65_male", + "column": "sum(b.xx_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "xx_pwid_above_65_female", + "column": "sum(b.xx_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_xx_pwid", + "column": "sum(b.total_xx_pwid)" + }, + { + "type": "simple_column", + "alias": "xx_ow_15_19_male", + "column": "sum(b.xx_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "xx_ow_15_19_female", + "column": "sum(b.xx_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "xx_ow_20_24_male", + "column": "sum(b.xx_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "xx_ow_20_24_female", + "column": "sum(b.xx_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "xx_ow_25_29_male", + "column": "sum(b.xx_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "xx_ow_25_29_female", + "column": "sum(b.xx_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "xx_ow_30_34_male", + "column": "sum(b.xx_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "xx_ow_30_34_female", + "column": "sum(b.xx_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "xx_ow_35_39_male", + "column": "sum(b.xx_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "xx_ow_35_39_female", + "column": "sum(b.xx_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "xx_ow_40_44_male", + "column": "sum(b.xx_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "xx_ow_40_44_female", + "column": "sum(b.xx_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "xx_ow_45_49_male", + "column": "sum(b.xx_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "xx_ow_45_49_female", + "column": "sum(b.xx_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "xx_ow_50_54_male", + "column": "sum(b.xx_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "xx_ow_50_54_female", + "column": "sum(b.xx_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "xx_ow_55_59_male", + "column": "sum(b.xx_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "xx_ow_55_59_female", + "column": "sum(b.xx_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "xx_ow_60_64_male", + "column": "sum(b.xx_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "xx_ow_60_64_female", + "column": "sum(b.xx_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "xx_ow_above_65_male", + "column": "sum(b.xx_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "xx_ow_above_65_female", + "column": "sum(b.xx_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_xx_ow", + "column": "sum(b.total_xx_ow)" + }, + { + "type": "simple_column", + "alias": "xx_sc_15_19_male", + "column": "sum(b.xx_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "xx_sc_15_19_female", + "column": "sum(b.xx_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "xx_sc_20_24_male", + "column": "sum(b.xx_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "xx_sc_20_24_female", + "column": "sum(b.xx_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "xx_sc_25_29_male", + "column": "sum(b.xx_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "xx_sc_25_29_female", + "column": "sum(b.xx_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "xx_sc_30_34_male", + "column": "sum(b.xx_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "xx_sc_30_34_female", + "column": "sum(b.xx_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "xx_sc_35_39_male", + "column": "sum(b.xx_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "xx_sc_35_39_female", + "column": "sum(b.xx_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "xx_sc_40_44_male", + "column": "sum(b.xx_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "xx_sc_40_44_female", + "column": "sum(b.xx_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "xx_sc_45_49_male", + "column": "sum(b.xx_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "xx_sc_45_49_female", + "column": "sum(b.xx_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "xx_sc_50_54_male", + "column": "sum(b.xx_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "xx_sc_50_54_female", + "column": "sum(b.xx_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "xx_sc_55_59_male", + "column": "sum(b.xx_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "xx_sc_55_59_female", + "column": "sum(b.xx_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "xx_sc_60_64_male", + "column": "sum(b.xx_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "xx_sc_60_64_female", + "column": "sum(b.xx_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "xx_sc_above_65_male", + "column": "sum(b.xx_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "xx_sc_above_65_female", + "column": "sum(b.xx_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_xx_sc", + "column": "sum(b.total_xx_sc)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_15_19_male", + "column": "sum(b.xx_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_15_19_female", + "column": "sum(b.xx_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_20_24_male", + "column": "sum(b.xx_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_20_24_female", + "column": "sum(b.xx_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_25_29_male", + "column": "sum(b.xx_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_25_29_female", + "column": "sum(b.xx_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_30_34_male", + "column": "sum(b.xx_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_30_34_female", + "column": "sum(b.xx_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_35_39_male", + "column": "sum(b.xx_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_35_39_female", + "column": "sum(b.xx_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_40_44_male", + "column": "sum(b.xx_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_40_44_female", + "column": "sum(b.xx_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_45_49_male", + "column": "sum(b.xx_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_45_49_female", + "column": "sum(b.xx_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_50_54_male", + "column": "sum(b.xx_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_50_54_female", + "column": "sum(b.xx_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_55_59_male", + "column": "sum(b.xx_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_55_59_female", + "column": "sum(b.xx_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_60_64_male", + "column": "sum(b.xx_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_60_64_female", + "column": "sum(b.xx_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_above_65_male", + "column": "sum(b.xx_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "xx_pbfw_above_65_female", + "column": "sum(b.xx_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_xx_pbfw", + "column": "sum(b.total_xx_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_discontinuation_missed_drug_pickup", + "column": "sum(b.total_reason_for_discontinuation_missed_drug_pickup)" + } + ], + "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/discontinued/missed-drug-pickups-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/missed-drug-pickups-base.json new file mode 100644 index 000000000..32cacbb5f --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/missed-drug-pickups-base.json @@ -0,0 +1,1775 @@ +{ + "name": "missedDrugPickupsPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "xx_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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_xx_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_xx_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_xx_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_xx_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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_xx_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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_xx_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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_xx_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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": "xx_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') 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_xx_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "xx_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_xx_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448') AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_discontinuation_missed_drug_pickup", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1448'), 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/discontinued/non-adherence-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/non-adherence-aggregate.json new file mode 100644 index 000000000..e462df112 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/non-adherence-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "nonAdherencePrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "nonAdherencePrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "nonAdherencePrepBase", + "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": "pp_tg_15_19_male", + "column": "sum(b.pp_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "pp_tg_15_19_female", + "column": "sum(b.pp_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "pp_tg_20_24_male", + "column": "sum(b.pp_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "pp_tg_20_24_female", + "column": "sum(b.pp_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "pp_tg_25_29_male", + "column": "sum(b.pp_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "pp_tg_25_29_female", + "column": "sum(b.pp_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "pp_tg_30_34_male", + "column": "sum(b.pp_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "pp_tg_30_34_female", + "column": "sum(b.pp_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "pp_tg_35_39_male", + "column": "sum(b.pp_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "pp_tg_35_39_female", + "column": "sum(b.pp_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "pp_tg_40_44_male", + "column": "sum(b.pp_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "pp_tg_40_44_female", + "column": "sum(b.pp_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "pp_tg_45_49_male", + "column": "sum(b.pp_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "pp_tg_45_49_female", + "column": "sum(b.pp_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "pp_tg_50_54_male", + "column": "sum(b.pp_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "pp_tg_50_54_female", + "column": "sum(b.pp_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "pp_tg_55_59_male", + "column": "sum(b.pp_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "pp_tg_55_59_female", + "column": "sum(b.pp_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "pp_tg_60_64_male", + "column": "sum(b.pp_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "pp_tg_60_64_female", + "column": "sum(b.pp_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "pp_tg_above_65_male", + "column": "sum(b.pp_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "pp_tg_above_65_female", + "column": "sum(b.pp_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_pp_tg", + "column": "sum(b.total_pp_tg)" + }, + { + "type": "simple_column", + "alias": "pp_msm_15_19_male", + "column": "sum(b.pp_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "pp_msm_15_19_female", + "column": "sum(b.pp_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "pp_msm_20_24_male", + "column": "sum(b.pp_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "pp_msm_20_24_female", + "column": "sum(b.pp_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "pp_msm_25_29_male", + "column": "sum(b.pp_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "pp_msm_25_29_female", + "column": "sum(b.pp_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "pp_msm_30_34_male", + "column": "sum(b.pp_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "pp_msm_30_34_female", + "column": "sum(b.pp_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "pp_msm_35_39_male", + "column": "sum(b.pp_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "pp_msm_35_39_female", + "column": "sum(b.pp_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "pp_msm_40_44_male", + "column": "sum(b.pp_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "pp_msm_40_44_female", + "column": "sum(b.pp_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "pp_msm_45_49_male", + "column": "sum(b.pp_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "pp_msm_45_49_female", + "column": "sum(b.pp_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "pp_msm_50_54_male", + "column": "sum(b.pp_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "pp_msm_50_54_female", + "column": "sum(b.pp_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "pp_msm_55_59_male", + "column": "sum(b.pp_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "pp_msm_55_59_female", + "column": "sum(b.pp_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "pp_msm_60_64_male", + "column": "sum(b.pp_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "pp_msm_60_64_female", + "column": "sum(b.pp_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "pp_msm_above_65_male", + "column": "sum(b.pp_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "pp_msm_above_65_female", + "column": "sum(b.pp_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_pp_msm", + "column": "sum(b.total_pp_msm)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_15_19_male", + "column": "sum(b.pp_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_15_19_female", + "column": "sum(b.pp_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_20_24_male", + "column": "sum(b.pp_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_20_24_female", + "column": "sum(b.pp_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_25_29_male", + "column": "sum(b.pp_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_25_29_female", + "column": "sum(b.pp_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_30_34_male", + "column": "sum(b.pp_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_30_34_female", + "column": "sum(b.pp_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_35_39_male", + "column": "sum(b.pp_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_35_39_female", + "column": "sum(b.pp_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_40_44_male", + "column": "sum(b.pp_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_40_44_female", + "column": "sum(b.pp_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_45_49_male", + "column": "sum(b.pp_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_45_49_female", + "column": "sum(b.pp_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_50_54_male", + "column": "sum(b.pp_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_50_54_female", + "column": "sum(b.pp_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_55_59_male", + "column": "sum(b.pp_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_55_59_female", + "column": "sum(b.pp_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_60_64_male", + "column": "sum(b.pp_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_60_64_female", + "column": "sum(b.pp_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_above_65_male", + "column": "sum(b.pp_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "pp_agyw_above_65_female", + "column": "sum(b.pp_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_pp_agyw", + "column": "sum(b.total_pp_agyw)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_15_19_male", + "column": "sum(b.pp_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_15_19_female", + "column": "sum(b.pp_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_20_24_male", + "column": "sum(b.pp_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_20_24_female", + "column": "sum(b.pp_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_25_29_male", + "column": "sum(b.pp_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_25_29_female", + "column": "sum(b.pp_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_30_34_male", + "column": "sum(b.pp_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_30_34_female", + "column": "sum(b.pp_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_35_39_male", + "column": "sum(b.pp_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_35_39_female", + "column": "sum(b.pp_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_40_44_male", + "column": "sum(b.pp_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_40_44_female", + "column": "sum(b.pp_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_45_49_male", + "column": "sum(b.pp_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_45_49_female", + "column": "sum(b.pp_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_50_54_male", + "column": "sum(b.pp_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_50_54_female", + "column": "sum(b.pp_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_55_59_male", + "column": "sum(b.pp_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_55_59_female", + "column": "sum(b.pp_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_60_64_male", + "column": "sum(b.pp_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_60_64_female", + "column": "sum(b.pp_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_above_65_male", + "column": "sum(b.pp_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "pp_mhr_above_65_female", + "column": "sum(b.pp_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_pp_mhr", + "column": "sum(b.total_pp_mhr)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_15_19_male", + "column": "sum(b.pp_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_15_19_female", + "column": "sum(b.pp_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_20_24_male", + "column": "sum(b.pp_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_20_24_female", + "column": "sum(b.pp_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_25_29_male", + "column": "sum(b.pp_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_25_29_female", + "column": "sum(b.pp_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_30_34_male", + "column": "sum(b.pp_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_30_34_female", + "column": "sum(b.pp_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_35_39_male", + "column": "sum(b.pp_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_35_39_female", + "column": "sum(b.pp_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_40_44_male", + "column": "sum(b.pp_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_40_44_female", + "column": "sum(b.pp_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_45_49_male", + "column": "sum(b.pp_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_45_49_female", + "column": "sum(b.pp_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_50_54_male", + "column": "sum(b.pp_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_50_54_female", + "column": "sum(b.pp_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_55_59_male", + "column": "sum(b.pp_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_55_59_female", + "column": "sum(b.pp_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_60_64_male", + "column": "sum(b.pp_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_60_64_female", + "column": "sum(b.pp_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_above_65_male", + "column": "sum(b.pp_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "pp_fsw_above_65_female", + "column": "sum(b.pp_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_pp_fsw", + "column": "sum(b.total_pp_fsw)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_15_19_male", + "column": "sum(b.pp_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_15_19_female", + "column": "sum(b.pp_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_20_24_male", + "column": "sum(b.pp_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_20_24_female", + "column": "sum(b.pp_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_25_29_male", + "column": "sum(b.pp_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_25_29_female", + "column": "sum(b.pp_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_30_34_male", + "column": "sum(b.pp_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_30_34_female", + "column": "sum(b.pp_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_35_39_male", + "column": "sum(b.pp_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_35_39_female", + "column": "sum(b.pp_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_40_44_male", + "column": "sum(b.pp_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_40_44_female", + "column": "sum(b.pp_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_45_49_male", + "column": "sum(b.pp_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_45_49_female", + "column": "sum(b.pp_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_50_54_male", + "column": "sum(b.pp_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_50_54_female", + "column": "sum(b.pp_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_55_59_male", + "column": "sum(b.pp_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_55_59_female", + "column": "sum(b.pp_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_60_64_male", + "column": "sum(b.pp_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_60_64_female", + "column": "sum(b.pp_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_above_65_male", + "column": "sum(b.pp_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "pp_pwid_above_65_female", + "column": "sum(b.pp_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_pp_pwid", + "column": "sum(b.total_pp_pwid)" + }, + { + "type": "simple_column", + "alias": "pp_ow_15_19_male", + "column": "sum(b.pp_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "pp_ow_15_19_female", + "column": "sum(b.pp_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "pp_ow_20_24_male", + "column": "sum(b.pp_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "pp_ow_20_24_female", + "column": "sum(b.pp_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "pp_ow_25_29_male", + "column": "sum(b.pp_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "pp_ow_25_29_female", + "column": "sum(b.pp_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "pp_ow_30_34_male", + "column": "sum(b.pp_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "pp_ow_30_34_female", + "column": "sum(b.pp_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "pp_ow_35_39_male", + "column": "sum(b.pp_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "pp_ow_35_39_female", + "column": "sum(b.pp_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "pp_ow_40_44_male", + "column": "sum(b.pp_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "pp_ow_40_44_female", + "column": "sum(b.pp_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "pp_ow_45_49_male", + "column": "sum(b.pp_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "pp_ow_45_49_female", + "column": "sum(b.pp_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "pp_ow_50_54_male", + "column": "sum(b.pp_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "pp_ow_50_54_female", + "column": "sum(b.pp_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "pp_ow_55_59_male", + "column": "sum(b.pp_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "pp_ow_55_59_female", + "column": "sum(b.pp_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "pp_ow_60_64_male", + "column": "sum(b.pp_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "pp_ow_60_64_female", + "column": "sum(b.pp_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "pp_ow_above_65_male", + "column": "sum(b.pp_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "pp_ow_above_65_female", + "column": "sum(b.pp_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_pp_ow", + "column": "sum(b.total_pp_ow)" + }, + { + "type": "simple_column", + "alias": "pp_sc_15_19_male", + "column": "sum(b.pp_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "pp_sc_15_19_female", + "column": "sum(b.pp_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "pp_sc_20_24_male", + "column": "sum(b.pp_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "pp_sc_20_24_female", + "column": "sum(b.pp_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "pp_sc_25_29_male", + "column": "sum(b.pp_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "pp_sc_25_29_female", + "column": "sum(b.pp_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "pp_sc_30_34_male", + "column": "sum(b.pp_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "pp_sc_30_34_female", + "column": "sum(b.pp_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "pp_sc_35_39_male", + "column": "sum(b.pp_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "pp_sc_35_39_female", + "column": "sum(b.pp_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "pp_sc_40_44_male", + "column": "sum(b.pp_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "pp_sc_40_44_female", + "column": "sum(b.pp_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "pp_sc_45_49_male", + "column": "sum(b.pp_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "pp_sc_45_49_female", + "column": "sum(b.pp_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "pp_sc_50_54_male", + "column": "sum(b.pp_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "pp_sc_50_54_female", + "column": "sum(b.pp_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "pp_sc_55_59_male", + "column": "sum(b.pp_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "pp_sc_55_59_female", + "column": "sum(b.pp_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "pp_sc_60_64_male", + "column": "sum(b.pp_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "pp_sc_60_64_female", + "column": "sum(b.pp_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "pp_sc_above_65_male", + "column": "sum(b.pp_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "pp_sc_above_65_female", + "column": "sum(b.pp_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_pp_sc", + "column": "sum(b.total_pp_sc)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_15_19_male", + "column": "sum(b.pp_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_15_19_female", + "column": "sum(b.pp_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_20_24_male", + "column": "sum(b.pp_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_20_24_female", + "column": "sum(b.pp_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_25_29_male", + "column": "sum(b.pp_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_25_29_female", + "column": "sum(b.pp_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_30_34_male", + "column": "sum(b.pp_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_30_34_female", + "column": "sum(b.pp_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_35_39_male", + "column": "sum(b.pp_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_35_39_female", + "column": "sum(b.pp_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_40_44_male", + "column": "sum(b.pp_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_40_44_female", + "column": "sum(b.pp_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_45_49_male", + "column": "sum(b.pp_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_45_49_female", + "column": "sum(b.pp_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_50_54_male", + "column": "sum(b.pp_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_50_54_female", + "column": "sum(b.pp_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_55_59_male", + "column": "sum(b.pp_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_55_59_female", + "column": "sum(b.pp_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_60_64_male", + "column": "sum(b.pp_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_60_64_female", + "column": "sum(b.pp_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_above_65_male", + "column": "sum(b.pp_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "pp_pbfw_above_65_female", + "column": "sum(b.pp_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_pp_pbfw", + "column": "sum(b.total_pp_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_discontinuation_non_adherence", + "column": "sum(b.total_reason_for_discontinuation_non_adherence)" + } + ], + "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/discontinued/non-adherence-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/non-adherence-base.json new file mode 100644 index 000000000..70bf31a54 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/non-adherence-base.json @@ -0,0 +1,1775 @@ +{ + "name": "nonAdherencePrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "pp_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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_pp_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_pp_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_pp_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_pp_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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_pp_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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_pp_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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_pp_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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": "pp_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') 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_pp_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "pp_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_pp_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434') AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_discontinuation_non_adherence", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1434'), 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/discontinued/partner-refusal-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-refusal-aggregate.json new file mode 100644 index 000000000..092a0782e --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-refusal-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "partnerRefusalPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "partnerRefusalPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "partnerRefusalPrepBase", + "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": "ss_tg_15_19_male", + "column": "sum(b.ss_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ss_tg_15_19_female", + "column": "sum(b.ss_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ss_tg_20_24_male", + "column": "sum(b.ss_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ss_tg_20_24_female", + "column": "sum(b.ss_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ss_tg_25_29_male", + "column": "sum(b.ss_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ss_tg_25_29_female", + "column": "sum(b.ss_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ss_tg_30_34_male", + "column": "sum(b.ss_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ss_tg_30_34_female", + "column": "sum(b.ss_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ss_tg_35_39_male", + "column": "sum(b.ss_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ss_tg_35_39_female", + "column": "sum(b.ss_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ss_tg_40_44_male", + "column": "sum(b.ss_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ss_tg_40_44_female", + "column": "sum(b.ss_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ss_tg_45_49_male", + "column": "sum(b.ss_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ss_tg_45_49_female", + "column": "sum(b.ss_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ss_tg_50_54_male", + "column": "sum(b.ss_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ss_tg_50_54_female", + "column": "sum(b.ss_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ss_tg_55_59_male", + "column": "sum(b.ss_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ss_tg_55_59_female", + "column": "sum(b.ss_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ss_tg_60_64_male", + "column": "sum(b.ss_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ss_tg_60_64_female", + "column": "sum(b.ss_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ss_tg_above_65_male", + "column": "sum(b.ss_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ss_tg_above_65_female", + "column": "sum(b.ss_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ss_tg", + "column": "sum(b.total_ss_tg)" + }, + { + "type": "simple_column", + "alias": "ss_msm_15_19_male", + "column": "sum(b.ss_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ss_msm_15_19_female", + "column": "sum(b.ss_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ss_msm_20_24_male", + "column": "sum(b.ss_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ss_msm_20_24_female", + "column": "sum(b.ss_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ss_msm_25_29_male", + "column": "sum(b.ss_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ss_msm_25_29_female", + "column": "sum(b.ss_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ss_msm_30_34_male", + "column": "sum(b.ss_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ss_msm_30_34_female", + "column": "sum(b.ss_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ss_msm_35_39_male", + "column": "sum(b.ss_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ss_msm_35_39_female", + "column": "sum(b.ss_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ss_msm_40_44_male", + "column": "sum(b.ss_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ss_msm_40_44_female", + "column": "sum(b.ss_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ss_msm_45_49_male", + "column": "sum(b.ss_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ss_msm_45_49_female", + "column": "sum(b.ss_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ss_msm_50_54_male", + "column": "sum(b.ss_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ss_msm_50_54_female", + "column": "sum(b.ss_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ss_msm_55_59_male", + "column": "sum(b.ss_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ss_msm_55_59_female", + "column": "sum(b.ss_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ss_msm_60_64_male", + "column": "sum(b.ss_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ss_msm_60_64_female", + "column": "sum(b.ss_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ss_msm_above_65_male", + "column": "sum(b.ss_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ss_msm_above_65_female", + "column": "sum(b.ss_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ss_msm", + "column": "sum(b.total_ss_msm)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_15_19_male", + "column": "sum(b.ss_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_15_19_female", + "column": "sum(b.ss_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_20_24_male", + "column": "sum(b.ss_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_20_24_female", + "column": "sum(b.ss_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_25_29_male", + "column": "sum(b.ss_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_25_29_female", + "column": "sum(b.ss_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_30_34_male", + "column": "sum(b.ss_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_30_34_female", + "column": "sum(b.ss_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_35_39_male", + "column": "sum(b.ss_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_35_39_female", + "column": "sum(b.ss_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_40_44_male", + "column": "sum(b.ss_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_40_44_female", + "column": "sum(b.ss_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_45_49_male", + "column": "sum(b.ss_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_45_49_female", + "column": "sum(b.ss_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_50_54_male", + "column": "sum(b.ss_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_50_54_female", + "column": "sum(b.ss_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_55_59_male", + "column": "sum(b.ss_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_55_59_female", + "column": "sum(b.ss_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_60_64_male", + "column": "sum(b.ss_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_60_64_female", + "column": "sum(b.ss_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_above_65_male", + "column": "sum(b.ss_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ss_agyw_above_65_female", + "column": "sum(b.ss_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ss_agyw", + "column": "sum(b.total_ss_agyw)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_15_19_male", + "column": "sum(b.ss_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_15_19_female", + "column": "sum(b.ss_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_20_24_male", + "column": "sum(b.ss_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_20_24_female", + "column": "sum(b.ss_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_25_29_male", + "column": "sum(b.ss_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_25_29_female", + "column": "sum(b.ss_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_30_34_male", + "column": "sum(b.ss_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_30_34_female", + "column": "sum(b.ss_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_35_39_male", + "column": "sum(b.ss_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_35_39_female", + "column": "sum(b.ss_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_40_44_male", + "column": "sum(b.ss_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_40_44_female", + "column": "sum(b.ss_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_45_49_male", + "column": "sum(b.ss_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_45_49_female", + "column": "sum(b.ss_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_50_54_male", + "column": "sum(b.ss_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_50_54_female", + "column": "sum(b.ss_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_55_59_male", + "column": "sum(b.ss_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_55_59_female", + "column": "sum(b.ss_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_60_64_male", + "column": "sum(b.ss_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_60_64_female", + "column": "sum(b.ss_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_above_65_male", + "column": "sum(b.ss_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ss_mhr_above_65_female", + "column": "sum(b.ss_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ss_mhr", + "column": "sum(b.total_ss_mhr)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_15_19_male", + "column": "sum(b.ss_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_15_19_female", + "column": "sum(b.ss_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_20_24_male", + "column": "sum(b.ss_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_20_24_female", + "column": "sum(b.ss_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_25_29_male", + "column": "sum(b.ss_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_25_29_female", + "column": "sum(b.ss_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_30_34_male", + "column": "sum(b.ss_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_30_34_female", + "column": "sum(b.ss_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_35_39_male", + "column": "sum(b.ss_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_35_39_female", + "column": "sum(b.ss_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_40_44_male", + "column": "sum(b.ss_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_40_44_female", + "column": "sum(b.ss_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_45_49_male", + "column": "sum(b.ss_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_45_49_female", + "column": "sum(b.ss_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_50_54_male", + "column": "sum(b.ss_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_50_54_female", + "column": "sum(b.ss_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_55_59_male", + "column": "sum(b.ss_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_55_59_female", + "column": "sum(b.ss_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_60_64_male", + "column": "sum(b.ss_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_60_64_female", + "column": "sum(b.ss_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_above_65_male", + "column": "sum(b.ss_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ss_fsw_above_65_female", + "column": "sum(b.ss_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ss_fsw", + "column": "sum(b.total_ss_fsw)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_15_19_male", + "column": "sum(b.ss_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_15_19_female", + "column": "sum(b.ss_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_20_24_male", + "column": "sum(b.ss_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_20_24_female", + "column": "sum(b.ss_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_25_29_male", + "column": "sum(b.ss_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_25_29_female", + "column": "sum(b.ss_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_30_34_male", + "column": "sum(b.ss_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_30_34_female", + "column": "sum(b.ss_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_35_39_male", + "column": "sum(b.ss_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_35_39_female", + "column": "sum(b.ss_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_40_44_male", + "column": "sum(b.ss_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_40_44_female", + "column": "sum(b.ss_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_45_49_male", + "column": "sum(b.ss_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_45_49_female", + "column": "sum(b.ss_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_50_54_male", + "column": "sum(b.ss_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_50_54_female", + "column": "sum(b.ss_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_55_59_male", + "column": "sum(b.ss_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_55_59_female", + "column": "sum(b.ss_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_60_64_male", + "column": "sum(b.ss_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_60_64_female", + "column": "sum(b.ss_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_above_65_male", + "column": "sum(b.ss_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ss_pwid_above_65_female", + "column": "sum(b.ss_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ss_pwid", + "column": "sum(b.total_ss_pwid)" + }, + { + "type": "simple_column", + "alias": "ss_ow_15_19_male", + "column": "sum(b.ss_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ss_ow_15_19_female", + "column": "sum(b.ss_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ss_ow_20_24_male", + "column": "sum(b.ss_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ss_ow_20_24_female", + "column": "sum(b.ss_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ss_ow_25_29_male", + "column": "sum(b.ss_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ss_ow_25_29_female", + "column": "sum(b.ss_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ss_ow_30_34_male", + "column": "sum(b.ss_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ss_ow_30_34_female", + "column": "sum(b.ss_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ss_ow_35_39_male", + "column": "sum(b.ss_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ss_ow_35_39_female", + "column": "sum(b.ss_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ss_ow_40_44_male", + "column": "sum(b.ss_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ss_ow_40_44_female", + "column": "sum(b.ss_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ss_ow_45_49_male", + "column": "sum(b.ss_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ss_ow_45_49_female", + "column": "sum(b.ss_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ss_ow_50_54_male", + "column": "sum(b.ss_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ss_ow_50_54_female", + "column": "sum(b.ss_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ss_ow_55_59_male", + "column": "sum(b.ss_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ss_ow_55_59_female", + "column": "sum(b.ss_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ss_ow_60_64_male", + "column": "sum(b.ss_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ss_ow_60_64_female", + "column": "sum(b.ss_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ss_ow_above_65_male", + "column": "sum(b.ss_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ss_ow_above_65_female", + "column": "sum(b.ss_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ss_ow", + "column": "sum(b.total_ss_ow)" + }, + { + "type": "simple_column", + "alias": "ss_sc_15_19_male", + "column": "sum(b.ss_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ss_sc_15_19_female", + "column": "sum(b.ss_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ss_sc_20_24_male", + "column": "sum(b.ss_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ss_sc_20_24_female", + "column": "sum(b.ss_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ss_sc_25_29_male", + "column": "sum(b.ss_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ss_sc_25_29_female", + "column": "sum(b.ss_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ss_sc_30_34_male", + "column": "sum(b.ss_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ss_sc_30_34_female", + "column": "sum(b.ss_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ss_sc_35_39_male", + "column": "sum(b.ss_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ss_sc_35_39_female", + "column": "sum(b.ss_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ss_sc_40_44_male", + "column": "sum(b.ss_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ss_sc_40_44_female", + "column": "sum(b.ss_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ss_sc_45_49_male", + "column": "sum(b.ss_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ss_sc_45_49_female", + "column": "sum(b.ss_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ss_sc_50_54_male", + "column": "sum(b.ss_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ss_sc_50_54_female", + "column": "sum(b.ss_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ss_sc_55_59_male", + "column": "sum(b.ss_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ss_sc_55_59_female", + "column": "sum(b.ss_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ss_sc_60_64_male", + "column": "sum(b.ss_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ss_sc_60_64_female", + "column": "sum(b.ss_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ss_sc_above_65_male", + "column": "sum(b.ss_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ss_sc_above_65_female", + "column": "sum(b.ss_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ss_sc", + "column": "sum(b.total_ss_sc)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_15_19_male", + "column": "sum(b.ss_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_15_19_female", + "column": "sum(b.ss_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_20_24_male", + "column": "sum(b.ss_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_20_24_female", + "column": "sum(b.ss_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_25_29_male", + "column": "sum(b.ss_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_25_29_female", + "column": "sum(b.ss_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_30_34_male", + "column": "sum(b.ss_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_30_34_female", + "column": "sum(b.ss_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_35_39_male", + "column": "sum(b.ss_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_35_39_female", + "column": "sum(b.ss_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_40_44_male", + "column": "sum(b.ss_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_40_44_female", + "column": "sum(b.ss_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_45_49_male", + "column": "sum(b.ss_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_45_49_female", + "column": "sum(b.ss_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_50_54_male", + "column": "sum(b.ss_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_50_54_female", + "column": "sum(b.ss_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_55_59_male", + "column": "sum(b.ss_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_55_59_female", + "column": "sum(b.ss_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_60_64_male", + "column": "sum(b.ss_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_60_64_female", + "column": "sum(b.ss_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_above_65_male", + "column": "sum(b.ss_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ss_pbfw_above_65_female", + "column": "sum(b.ss_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ss_pbfw", + "column": "sum(b.total_ss_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_discontinuation_partner_refusal", + "column": "sum(b.total_reason_for_discontinuation_partner_refusal)" + } + ], + "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/discontinued/partner-refusal-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-refusal-base.json new file mode 100644 index 000000000..dbe6ffed2 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-refusal-base.json @@ -0,0 +1,1775 @@ +{ + "name": "partnerRefusalPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "ss_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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_ss_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ss_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ss_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ss_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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_ss_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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_ss_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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_ss_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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": "ss_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') 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_ss_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ss_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ss_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958') AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_discontinuation_partner_refusal", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1958'), 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/discontinued/partner-violence-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-violence-aggregate.json new file mode 100644 index 000000000..6a1b7199e --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-violence-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "partnerViolencePrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "partnerViolencePrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "partnerViolencePrepBase", + "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": "tt_tg_15_19_male", + "column": "sum(b.tt_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tt_tg_15_19_female", + "column": "sum(b.tt_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tt_tg_20_24_male", + "column": "sum(b.tt_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tt_tg_20_24_female", + "column": "sum(b.tt_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tt_tg_25_29_male", + "column": "sum(b.tt_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tt_tg_25_29_female", + "column": "sum(b.tt_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tt_tg_30_34_male", + "column": "sum(b.tt_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tt_tg_30_34_female", + "column": "sum(b.tt_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tt_tg_35_39_male", + "column": "sum(b.tt_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tt_tg_35_39_female", + "column": "sum(b.tt_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tt_tg_40_44_male", + "column": "sum(b.tt_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tt_tg_40_44_female", + "column": "sum(b.tt_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tt_tg_45_49_male", + "column": "sum(b.tt_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tt_tg_45_49_female", + "column": "sum(b.tt_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tt_tg_50_54_male", + "column": "sum(b.tt_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tt_tg_50_54_female", + "column": "sum(b.tt_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tt_tg_55_59_male", + "column": "sum(b.tt_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tt_tg_55_59_female", + "column": "sum(b.tt_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tt_tg_60_64_male", + "column": "sum(b.tt_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tt_tg_60_64_female", + "column": "sum(b.tt_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tt_tg_above_65_male", + "column": "sum(b.tt_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "tt_tg_above_65_female", + "column": "sum(b.tt_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_tt_tg", + "column": "sum(b.total_tt_tg)" + }, + { + "type": "simple_column", + "alias": "tt_msm_15_19_male", + "column": "sum(b.tt_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tt_msm_15_19_female", + "column": "sum(b.tt_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tt_msm_20_24_male", + "column": "sum(b.tt_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tt_msm_20_24_female", + "column": "sum(b.tt_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tt_msm_25_29_male", + "column": "sum(b.tt_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tt_msm_25_29_female", + "column": "sum(b.tt_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tt_msm_30_34_male", + "column": "sum(b.tt_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tt_msm_30_34_female", + "column": "sum(b.tt_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tt_msm_35_39_male", + "column": "sum(b.tt_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tt_msm_35_39_female", + "column": "sum(b.tt_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tt_msm_40_44_male", + "column": "sum(b.tt_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tt_msm_40_44_female", + "column": "sum(b.tt_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tt_msm_45_49_male", + "column": "sum(b.tt_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tt_msm_45_49_female", + "column": "sum(b.tt_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tt_msm_50_54_male", + "column": "sum(b.tt_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tt_msm_50_54_female", + "column": "sum(b.tt_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tt_msm_55_59_male", + "column": "sum(b.tt_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tt_msm_55_59_female", + "column": "sum(b.tt_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tt_msm_60_64_male", + "column": "sum(b.tt_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tt_msm_60_64_female", + "column": "sum(b.tt_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tt_msm_above_65_male", + "column": "sum(b.tt_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "tt_msm_above_65_female", + "column": "sum(b.tt_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_tt_msm", + "column": "sum(b.total_tt_msm)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_15_19_male", + "column": "sum(b.tt_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_15_19_female", + "column": "sum(b.tt_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_20_24_male", + "column": "sum(b.tt_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_20_24_female", + "column": "sum(b.tt_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_25_29_male", + "column": "sum(b.tt_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_25_29_female", + "column": "sum(b.tt_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_30_34_male", + "column": "sum(b.tt_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_30_34_female", + "column": "sum(b.tt_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_35_39_male", + "column": "sum(b.tt_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_35_39_female", + "column": "sum(b.tt_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_40_44_male", + "column": "sum(b.tt_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_40_44_female", + "column": "sum(b.tt_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_45_49_male", + "column": "sum(b.tt_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_45_49_female", + "column": "sum(b.tt_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_50_54_male", + "column": "sum(b.tt_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_50_54_female", + "column": "sum(b.tt_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_55_59_male", + "column": "sum(b.tt_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_55_59_female", + "column": "sum(b.tt_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_60_64_male", + "column": "sum(b.tt_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_60_64_female", + "column": "sum(b.tt_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_above_65_male", + "column": "sum(b.tt_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "tt_agyw_above_65_female", + "column": "sum(b.tt_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_tt_agyw", + "column": "sum(b.total_tt_agyw)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_15_19_male", + "column": "sum(b.tt_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_15_19_female", + "column": "sum(b.tt_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_20_24_male", + "column": "sum(b.tt_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_20_24_female", + "column": "sum(b.tt_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_25_29_male", + "column": "sum(b.tt_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_25_29_female", + "column": "sum(b.tt_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_30_34_male", + "column": "sum(b.tt_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_30_34_female", + "column": "sum(b.tt_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_35_39_male", + "column": "sum(b.tt_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_35_39_female", + "column": "sum(b.tt_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_40_44_male", + "column": "sum(b.tt_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_40_44_female", + "column": "sum(b.tt_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_45_49_male", + "column": "sum(b.tt_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_45_49_female", + "column": "sum(b.tt_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_50_54_male", + "column": "sum(b.tt_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_50_54_female", + "column": "sum(b.tt_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_55_59_male", + "column": "sum(b.tt_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_55_59_female", + "column": "sum(b.tt_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_60_64_male", + "column": "sum(b.tt_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_60_64_female", + "column": "sum(b.tt_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_above_65_male", + "column": "sum(b.tt_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "tt_mhr_above_65_female", + "column": "sum(b.tt_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_tt_mhr", + "column": "sum(b.total_tt_mhr)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_15_19_male", + "column": "sum(b.tt_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_15_19_female", + "column": "sum(b.tt_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_20_24_male", + "column": "sum(b.tt_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_20_24_female", + "column": "sum(b.tt_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_25_29_male", + "column": "sum(b.tt_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_25_29_female", + "column": "sum(b.tt_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_30_34_male", + "column": "sum(b.tt_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_30_34_female", + "column": "sum(b.tt_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_35_39_male", + "column": "sum(b.tt_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_35_39_female", + "column": "sum(b.tt_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_40_44_male", + "column": "sum(b.tt_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_40_44_female", + "column": "sum(b.tt_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_45_49_male", + "column": "sum(b.tt_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_45_49_female", + "column": "sum(b.tt_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_50_54_male", + "column": "sum(b.tt_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_50_54_female", + "column": "sum(b.tt_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_55_59_male", + "column": "sum(b.tt_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_55_59_female", + "column": "sum(b.tt_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_60_64_male", + "column": "sum(b.tt_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_60_64_female", + "column": "sum(b.tt_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_above_65_male", + "column": "sum(b.tt_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "tt_fsw_above_65_female", + "column": "sum(b.tt_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_tt_fsw", + "column": "sum(b.total_tt_fsw)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_15_19_male", + "column": "sum(b.tt_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_15_19_female", + "column": "sum(b.tt_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_20_24_male", + "column": "sum(b.tt_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_20_24_female", + "column": "sum(b.tt_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_25_29_male", + "column": "sum(b.tt_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_25_29_female", + "column": "sum(b.tt_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_30_34_male", + "column": "sum(b.tt_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_30_34_female", + "column": "sum(b.tt_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_35_39_male", + "column": "sum(b.tt_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_35_39_female", + "column": "sum(b.tt_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_40_44_male", + "column": "sum(b.tt_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_40_44_female", + "column": "sum(b.tt_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_45_49_male", + "column": "sum(b.tt_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_45_49_female", + "column": "sum(b.tt_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_50_54_male", + "column": "sum(b.tt_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_50_54_female", + "column": "sum(b.tt_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_55_59_male", + "column": "sum(b.tt_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_55_59_female", + "column": "sum(b.tt_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_60_64_male", + "column": "sum(b.tt_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_60_64_female", + "column": "sum(b.tt_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_above_65_male", + "column": "sum(b.tt_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "tt_pwid_above_65_female", + "column": "sum(b.tt_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_tt_pwid", + "column": "sum(b.total_tt_pwid)" + }, + { + "type": "simple_column", + "alias": "tt_ow_15_19_male", + "column": "sum(b.tt_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tt_ow_15_19_female", + "column": "sum(b.tt_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tt_ow_20_24_male", + "column": "sum(b.tt_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tt_ow_20_24_female", + "column": "sum(b.tt_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tt_ow_25_29_male", + "column": "sum(b.tt_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tt_ow_25_29_female", + "column": "sum(b.tt_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tt_ow_30_34_male", + "column": "sum(b.tt_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tt_ow_30_34_female", + "column": "sum(b.tt_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tt_ow_35_39_male", + "column": "sum(b.tt_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tt_ow_35_39_female", + "column": "sum(b.tt_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tt_ow_40_44_male", + "column": "sum(b.tt_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tt_ow_40_44_female", + "column": "sum(b.tt_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tt_ow_45_49_male", + "column": "sum(b.tt_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tt_ow_45_49_female", + "column": "sum(b.tt_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tt_ow_50_54_male", + "column": "sum(b.tt_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tt_ow_50_54_female", + "column": "sum(b.tt_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tt_ow_55_59_male", + "column": "sum(b.tt_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tt_ow_55_59_female", + "column": "sum(b.tt_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tt_ow_60_64_male", + "column": "sum(b.tt_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tt_ow_60_64_female", + "column": "sum(b.tt_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tt_ow_above_65_male", + "column": "sum(b.tt_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "tt_ow_above_65_female", + "column": "sum(b.tt_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_tt_ow", + "column": "sum(b.total_tt_ow)" + }, + { + "type": "simple_column", + "alias": "tt_sc_15_19_male", + "column": "sum(b.tt_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tt_sc_15_19_female", + "column": "sum(b.tt_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tt_sc_20_24_male", + "column": "sum(b.tt_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tt_sc_20_24_female", + "column": "sum(b.tt_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tt_sc_25_29_male", + "column": "sum(b.tt_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tt_sc_25_29_female", + "column": "sum(b.tt_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tt_sc_30_34_male", + "column": "sum(b.tt_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tt_sc_30_34_female", + "column": "sum(b.tt_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tt_sc_35_39_male", + "column": "sum(b.tt_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tt_sc_35_39_female", + "column": "sum(b.tt_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tt_sc_40_44_male", + "column": "sum(b.tt_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tt_sc_40_44_female", + "column": "sum(b.tt_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tt_sc_45_49_male", + "column": "sum(b.tt_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tt_sc_45_49_female", + "column": "sum(b.tt_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tt_sc_50_54_male", + "column": "sum(b.tt_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tt_sc_50_54_female", + "column": "sum(b.tt_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tt_sc_55_59_male", + "column": "sum(b.tt_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tt_sc_55_59_female", + "column": "sum(b.tt_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tt_sc_60_64_male", + "column": "sum(b.tt_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tt_sc_60_64_female", + "column": "sum(b.tt_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tt_sc_above_65_male", + "column": "sum(b.tt_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "tt_sc_above_65_female", + "column": "sum(b.tt_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_tt_sc", + "column": "sum(b.total_tt_sc)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_15_19_male", + "column": "sum(b.tt_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_15_19_female", + "column": "sum(b.tt_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_20_24_male", + "column": "sum(b.tt_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_20_24_female", + "column": "sum(b.tt_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_25_29_male", + "column": "sum(b.tt_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_25_29_female", + "column": "sum(b.tt_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_30_34_male", + "column": "sum(b.tt_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_30_34_female", + "column": "sum(b.tt_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_35_39_male", + "column": "sum(b.tt_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_35_39_female", + "column": "sum(b.tt_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_40_44_male", + "column": "sum(b.tt_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_40_44_female", + "column": "sum(b.tt_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_45_49_male", + "column": "sum(b.tt_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_45_49_female", + "column": "sum(b.tt_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_50_54_male", + "column": "sum(b.tt_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_50_54_female", + "column": "sum(b.tt_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_55_59_male", + "column": "sum(b.tt_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_55_59_female", + "column": "sum(b.tt_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_60_64_male", + "column": "sum(b.tt_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_60_64_female", + "column": "sum(b.tt_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_above_65_male", + "column": "sum(b.tt_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "tt_pbfw_above_65_female", + "column": "sum(b.tt_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_tt_pbfw", + "column": "sum(b.total_tt_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_discontinuation_partner_violence", + "column": "sum(b.total_reason_for_discontinuation_partner_violence)" + } + ], + "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/discontinued/partner-violence-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-violence-base.json new file mode 100644 index 000000000..8fb10bea4 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-violence-base.json @@ -0,0 +1,1775 @@ +{ + "name": "partnerViolencePrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "tt_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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_tt_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tt_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tt_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tt_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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_tt_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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_tt_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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_tt_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '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)" + } + }, + { + "type": "derived_column", + "alias": "tt_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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": "tt_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') 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_tt_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tt_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tt_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761') AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_discontinuation_partner_violence", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9761'), 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/discontinued/prep-side-effects-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/prep-side-effects-aggregate.json new file mode 100644 index 000000000..961449a92 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/prep-side-effects-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "prepSideEffectsAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "prepSideEffectsPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "prepSideEffectsPrepBase", + "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": "nn_tg_15_19_male", + "column": "sum(b.nn_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "nn_tg_15_19_female", + "column": "sum(b.nn_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "nn_tg_20_24_male", + "column": "sum(b.nn_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "nn_tg_20_24_female", + "column": "sum(b.nn_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "nn_tg_25_29_male", + "column": "sum(b.nn_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "nn_tg_25_29_female", + "column": "sum(b.nn_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "nn_tg_30_34_male", + "column": "sum(b.nn_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "nn_tg_30_34_female", + "column": "sum(b.nn_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "nn_tg_35_39_male", + "column": "sum(b.nn_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "nn_tg_35_39_female", + "column": "sum(b.nn_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "nn_tg_40_44_male", + "column": "sum(b.nn_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "nn_tg_40_44_female", + "column": "sum(b.nn_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "nn_tg_45_49_male", + "column": "sum(b.nn_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "nn_tg_45_49_female", + "column": "sum(b.nn_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "nn_tg_50_54_male", + "column": "sum(b.nn_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "nn_tg_50_54_female", + "column": "sum(b.nn_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "nn_tg_55_59_male", + "column": "sum(b.nn_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "nn_tg_55_59_female", + "column": "sum(b.nn_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "nn_tg_60_64_male", + "column": "sum(b.nn_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "nn_tg_60_64_female", + "column": "sum(b.nn_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "nn_tg_above_65_male", + "column": "sum(b.nn_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "nn_tg_above_65_female", + "column": "sum(b.nn_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_nn_tg", + "column": "sum(b.total_nn_tg)" + }, + { + "type": "simple_column", + "alias": "nn_msm_15_19_male", + "column": "sum(b.nn_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "nn_msm_15_19_female", + "column": "sum(b.nn_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "nn_msm_20_24_male", + "column": "sum(b.nn_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "nn_msm_20_24_female", + "column": "sum(b.nn_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "nn_msm_25_29_male", + "column": "sum(b.nn_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "nn_msm_25_29_female", + "column": "sum(b.nn_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "nn_msm_30_34_male", + "column": "sum(b.nn_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "nn_msm_30_34_female", + "column": "sum(b.nn_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "nn_msm_35_39_male", + "column": "sum(b.nn_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "nn_msm_35_39_female", + "column": "sum(b.nn_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "nn_msm_40_44_male", + "column": "sum(b.nn_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "nn_msm_40_44_female", + "column": "sum(b.nn_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "nn_msm_45_49_male", + "column": "sum(b.nn_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "nn_msm_45_49_female", + "column": "sum(b.nn_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "nn_msm_50_54_male", + "column": "sum(b.nn_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "nn_msm_50_54_female", + "column": "sum(b.nn_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "nn_msm_55_59_male", + "column": "sum(b.nn_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "nn_msm_55_59_female", + "column": "sum(b.nn_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "nn_msm_60_64_male", + "column": "sum(b.nn_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "nn_msm_60_64_female", + "column": "sum(b.nn_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "nn_msm_above_65_male", + "column": "sum(b.nn_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "nn_msm_above_65_female", + "column": "sum(b.nn_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_nn_msm", + "column": "sum(b.total_nn_msm)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_15_19_male", + "column": "sum(b.nn_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_15_19_female", + "column": "sum(b.nn_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_20_24_male", + "column": "sum(b.nn_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_20_24_female", + "column": "sum(b.nn_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_25_29_male", + "column": "sum(b.nn_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_25_29_female", + "column": "sum(b.nn_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_30_34_male", + "column": "sum(b.nn_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_30_34_female", + "column": "sum(b.nn_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_35_39_male", + "column": "sum(b.nn_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_35_39_female", + "column": "sum(b.nn_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_40_44_male", + "column": "sum(b.nn_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_40_44_female", + "column": "sum(b.nn_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_45_49_male", + "column": "sum(b.nn_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_45_49_female", + "column": "sum(b.nn_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_50_54_male", + "column": "sum(b.nn_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_50_54_female", + "column": "sum(b.nn_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_55_59_male", + "column": "sum(b.nn_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_55_59_female", + "column": "sum(b.nn_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_60_64_male", + "column": "sum(b.nn_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_60_64_female", + "column": "sum(b.nn_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_above_65_male", + "column": "sum(b.nn_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "nn_agyw_above_65_female", + "column": "sum(b.nn_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_nn_agyw", + "column": "sum(b.total_nn_agyw)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_15_19_male", + "column": "sum(b.nn_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_15_19_female", + "column": "sum(b.nn_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_20_24_male", + "column": "sum(b.nn_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_20_24_female", + "column": "sum(b.nn_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_25_29_male", + "column": "sum(b.nn_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_25_29_female", + "column": "sum(b.nn_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_30_34_male", + "column": "sum(b.nn_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_30_34_female", + "column": "sum(b.nn_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_35_39_male", + "column": "sum(b.nn_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_35_39_female", + "column": "sum(b.nn_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_40_44_male", + "column": "sum(b.nn_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_40_44_female", + "column": "sum(b.nn_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_45_49_male", + "column": "sum(b.nn_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_45_49_female", + "column": "sum(b.nn_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_50_54_male", + "column": "sum(b.nn_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_50_54_female", + "column": "sum(b.nn_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_55_59_male", + "column": "sum(b.nn_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_55_59_female", + "column": "sum(b.nn_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_60_64_male", + "column": "sum(b.nn_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_60_64_female", + "column": "sum(b.nn_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_above_65_male", + "column": "sum(b.nn_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "nn_mhr_above_65_female", + "column": "sum(b.nn_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_nn_mhr", + "column": "sum(b.total_nn_mhr)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_15_19_male", + "column": "sum(b.nn_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_15_19_female", + "column": "sum(b.nn_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_20_24_male", + "column": "sum(b.nn_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_20_24_female", + "column": "sum(b.nn_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_25_29_male", + "column": "sum(b.nn_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_25_29_female", + "column": "sum(b.nn_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_30_34_male", + "column": "sum(b.nn_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_30_34_female", + "column": "sum(b.nn_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_35_39_male", + "column": "sum(b.nn_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_35_39_female", + "column": "sum(b.nn_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_40_44_male", + "column": "sum(b.nn_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_40_44_female", + "column": "sum(b.nn_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_45_49_male", + "column": "sum(b.nn_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_45_49_female", + "column": "sum(b.nn_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_50_54_male", + "column": "sum(b.nn_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_50_54_female", + "column": "sum(b.nn_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_55_59_male", + "column": "sum(b.nn_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_55_59_female", + "column": "sum(b.nn_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_60_64_male", + "column": "sum(b.nn_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_60_64_female", + "column": "sum(b.nn_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_above_65_male", + "column": "sum(b.nn_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "nn_fsw_above_65_female", + "column": "sum(b.nn_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_nn_fsw", + "column": "sum(b.total_nn_fsw)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_15_19_male", + "column": "sum(b.nn_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_15_19_female", + "column": "sum(b.nn_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_20_24_male", + "column": "sum(b.nn_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_20_24_female", + "column": "sum(b.nn_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_25_29_male", + "column": "sum(b.nn_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_25_29_female", + "column": "sum(b.nn_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_30_34_male", + "column": "sum(b.nn_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_30_34_female", + "column": "sum(b.nn_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_35_39_male", + "column": "sum(b.nn_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_35_39_female", + "column": "sum(b.nn_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_40_44_male", + "column": "sum(b.nn_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_40_44_female", + "column": "sum(b.nn_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_45_49_male", + "column": "sum(b.nn_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_45_49_female", + "column": "sum(b.nn_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_50_54_male", + "column": "sum(b.nn_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_50_54_female", + "column": "sum(b.nn_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_55_59_male", + "column": "sum(b.nn_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_55_59_female", + "column": "sum(b.nn_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_60_64_male", + "column": "sum(b.nn_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_60_64_female", + "column": "sum(b.nn_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_above_65_male", + "column": "sum(b.nn_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "nn_pwid_above_65_female", + "column": "sum(b.nn_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_nn_pwid", + "column": "sum(b.total_nn_pwid)" + }, + { + "type": "simple_column", + "alias": "nn_ow_15_19_male", + "column": "sum(b.nn_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "nn_ow_15_19_female", + "column": "sum(b.nn_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "nn_ow_20_24_male", + "column": "sum(b.nn_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "nn_ow_20_24_female", + "column": "sum(b.nn_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "nn_ow_25_29_male", + "column": "sum(b.nn_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "nn_ow_25_29_female", + "column": "sum(b.nn_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "nn_ow_30_34_male", + "column": "sum(b.nn_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "nn_ow_30_34_female", + "column": "sum(b.nn_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "nn_ow_35_39_male", + "column": "sum(b.nn_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "nn_ow_35_39_female", + "column": "sum(b.nn_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "nn_ow_40_44_male", + "column": "sum(b.nn_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "nn_ow_40_44_female", + "column": "sum(b.nn_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "nn_ow_45_49_male", + "column": "sum(b.nn_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "nn_ow_45_49_female", + "column": "sum(b.nn_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "nn_ow_50_54_male", + "column": "sum(b.nn_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "nn_ow_50_54_female", + "column": "sum(b.nn_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "nn_ow_55_59_male", + "column": "sum(b.nn_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "nn_ow_55_59_female", + "column": "sum(b.nn_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "nn_ow_60_64_male", + "column": "sum(b.nn_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "nn_ow_60_64_female", + "column": "sum(b.nn_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "nn_ow_above_65_male", + "column": "sum(b.nn_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "nn_ow_above_65_female", + "column": "sum(b.nn_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_nn_ow", + "column": "sum(b.total_nn_ow)" + }, + { + "type": "simple_column", + "alias": "nn_sc_15_19_male", + "column": "sum(b.nn_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "nn_sc_15_19_female", + "column": "sum(b.nn_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "nn_sc_20_24_male", + "column": "sum(b.nn_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "nn_sc_20_24_female", + "column": "sum(b.nn_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "nn_sc_25_29_male", + "column": "sum(b.nn_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "nn_sc_25_29_female", + "column": "sum(b.nn_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "nn_sc_30_34_male", + "column": "sum(b.nn_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "nn_sc_30_34_female", + "column": "sum(b.nn_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "nn_sc_35_39_male", + "column": "sum(b.nn_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "nn_sc_35_39_female", + "column": "sum(b.nn_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "nn_sc_40_44_male", + "column": "sum(b.nn_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "nn_sc_40_44_female", + "column": "sum(b.nn_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "nn_sc_45_49_male", + "column": "sum(b.nn_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "nn_sc_45_49_female", + "column": "sum(b.nn_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "nn_sc_50_54_male", + "column": "sum(b.nn_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "nn_sc_50_54_female", + "column": "sum(b.nn_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "nn_sc_55_59_male", + "column": "sum(b.nn_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "nn_sc_55_59_female", + "column": "sum(b.nn_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "nn_sc_60_64_male", + "column": "sum(b.nn_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "nn_sc_60_64_female", + "column": "sum(b.nn_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "nn_sc_above_65_male", + "column": "sum(b.nn_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "nn_sc_above_65_female", + "column": "sum(b.nn_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_nn_sc", + "column": "sum(b.total_nn_sc)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_15_19_male", + "column": "sum(b.nn_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_15_19_female", + "column": "sum(b.nn_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_20_24_male", + "column": "sum(b.nn_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_20_24_female", + "column": "sum(b.nn_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_25_29_male", + "column": "sum(b.nn_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_25_29_female", + "column": "sum(b.nn_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_30_34_male", + "column": "sum(b.nn_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_30_34_female", + "column": "sum(b.nn_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_35_39_male", + "column": "sum(b.nn_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_35_39_female", + "column": "sum(b.nn_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_40_44_male", + "column": "sum(b.nn_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_40_44_female", + "column": "sum(b.nn_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_45_49_male", + "column": "sum(b.nn_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_45_49_female", + "column": "sum(b.nn_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_50_54_male", + "column": "sum(b.nn_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_50_54_female", + "column": "sum(b.nn_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_55_59_male", + "column": "sum(b.nn_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_55_59_female", + "column": "sum(b.nn_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_60_64_male", + "column": "sum(b.nn_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_60_64_female", + "column": "sum(b.nn_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_above_65_male", + "column": "sum(b.nn_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "nn_pbfw_above_65_female", + "column": "sum(b.nn_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_nn_pbfw", + "column": "sum(b.total_nn_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_discontinuation_side_effects", + "column": "sum(b.total_reason_for_discontinuation_side_effects)" + } + ], + "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/discontinued/prep-side-effects-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/prep-side-effects-base.json new file mode 100644 index 000000000..8fa1aa19c --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/prep-side-effects-base.json @@ -0,0 +1,1775 @@ +{ + "name": "prepSideEffectsPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "nn_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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_nn_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_nn_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_nn_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_nn_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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_nn_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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_nn_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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_nn_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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": "nn_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') 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_nn_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "nn_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_nn_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664') AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_discontinuation_side_effects", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1664'), 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/discontinued/tested-positive-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/tested-positive-aggregate.json new file mode 100644 index 000000000..304cedcd3 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/tested-positive-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "testedHIVPositivePrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "testedHIVPositivePrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "testedHIVPositivePrepBase", + "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": "ll_tg_15_19_male", + "column": "sum(b.ll_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ll_tg_15_19_female", + "column": "sum(b.ll_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ll_tg_20_24_male", + "column": "sum(b.ll_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ll_tg_20_24_female", + "column": "sum(b.ll_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ll_tg_25_29_male", + "column": "sum(b.ll_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ll_tg_25_29_female", + "column": "sum(b.ll_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ll_tg_30_34_male", + "column": "sum(b.ll_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ll_tg_30_34_female", + "column": "sum(b.ll_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ll_tg_35_39_male", + "column": "sum(b.ll_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ll_tg_35_39_female", + "column": "sum(b.ll_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ll_tg_40_44_male", + "column": "sum(b.ll_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ll_tg_40_44_female", + "column": "sum(b.ll_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ll_tg_45_49_male", + "column": "sum(b.ll_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ll_tg_45_49_female", + "column": "sum(b.ll_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ll_tg_50_54_male", + "column": "sum(b.ll_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ll_tg_50_54_female", + "column": "sum(b.ll_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ll_tg_55_59_male", + "column": "sum(b.ll_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ll_tg_55_59_female", + "column": "sum(b.ll_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ll_tg_60_64_male", + "column": "sum(b.ll_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ll_tg_60_64_female", + "column": "sum(b.ll_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ll_tg_above_65_male", + "column": "sum(b.ll_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ll_tg_above_65_female", + "column": "sum(b.ll_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ll_tg", + "column": "sum(b.total_ll_tg)" + }, + { + "type": "simple_column", + "alias": "ll_msm_15_19_male", + "column": "sum(b.ll_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ll_msm_15_19_female", + "column": "sum(b.ll_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ll_msm_20_24_male", + "column": "sum(b.ll_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ll_msm_20_24_female", + "column": "sum(b.ll_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ll_msm_25_29_male", + "column": "sum(b.ll_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ll_msm_25_29_female", + "column": "sum(b.ll_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ll_msm_30_34_male", + "column": "sum(b.ll_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ll_msm_30_34_female", + "column": "sum(b.ll_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ll_msm_35_39_male", + "column": "sum(b.ll_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ll_msm_35_39_female", + "column": "sum(b.ll_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ll_msm_40_44_male", + "column": "sum(b.ll_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ll_msm_40_44_female", + "column": "sum(b.ll_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ll_msm_45_49_male", + "column": "sum(b.ll_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ll_msm_45_49_female", + "column": "sum(b.ll_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ll_msm_50_54_male", + "column": "sum(b.ll_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ll_msm_50_54_female", + "column": "sum(b.ll_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ll_msm_55_59_male", + "column": "sum(b.ll_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ll_msm_55_59_female", + "column": "sum(b.ll_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ll_msm_60_64_male", + "column": "sum(b.ll_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ll_msm_60_64_female", + "column": "sum(b.ll_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ll_msm_above_65_male", + "column": "sum(b.ll_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ll_msm_above_65_female", + "column": "sum(b.ll_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ll_msm", + "column": "sum(b.total_ll_msm)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_15_19_male", + "column": "sum(b.ll_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_15_19_female", + "column": "sum(b.ll_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_20_24_male", + "column": "sum(b.ll_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_20_24_female", + "column": "sum(b.ll_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_25_29_male", + "column": "sum(b.ll_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_25_29_female", + "column": "sum(b.ll_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_30_34_male", + "column": "sum(b.ll_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_30_34_female", + "column": "sum(b.ll_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_35_39_male", + "column": "sum(b.ll_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_35_39_female", + "column": "sum(b.ll_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_40_44_male", + "column": "sum(b.ll_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_40_44_female", + "column": "sum(b.ll_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_45_49_male", + "column": "sum(b.ll_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_45_49_female", + "column": "sum(b.ll_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_50_54_male", + "column": "sum(b.ll_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_50_54_female", + "column": "sum(b.ll_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_55_59_male", + "column": "sum(b.ll_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_55_59_female", + "column": "sum(b.ll_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_60_64_male", + "column": "sum(b.ll_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_60_64_female", + "column": "sum(b.ll_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_above_65_male", + "column": "sum(b.ll_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ll_agyw_above_65_female", + "column": "sum(b.ll_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ll_agyw", + "column": "sum(b.total_ll_agyw)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_15_19_male", + "column": "sum(b.ll_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_15_19_female", + "column": "sum(b.ll_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_20_24_male", + "column": "sum(b.ll_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_20_24_female", + "column": "sum(b.ll_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_25_29_male", + "column": "sum(b.ll_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_25_29_female", + "column": "sum(b.ll_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_30_34_male", + "column": "sum(b.ll_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_30_34_female", + "column": "sum(b.ll_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_35_39_male", + "column": "sum(b.ll_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_35_39_female", + "column": "sum(b.ll_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_40_44_male", + "column": "sum(b.ll_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_40_44_female", + "column": "sum(b.ll_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_45_49_male", + "column": "sum(b.ll_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_45_49_female", + "column": "sum(b.ll_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_50_54_male", + "column": "sum(b.ll_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_50_54_female", + "column": "sum(b.ll_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_55_59_male", + "column": "sum(b.ll_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_55_59_female", + "column": "sum(b.ll_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_60_64_male", + "column": "sum(b.ll_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_60_64_female", + "column": "sum(b.ll_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_above_65_male", + "column": "sum(b.ll_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ll_mhr_above_65_female", + "column": "sum(b.ll_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ll_mhr", + "column": "sum(b.total_ll_mhr)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_15_19_male", + "column": "sum(b.ll_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_15_19_female", + "column": "sum(b.ll_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_20_24_male", + "column": "sum(b.ll_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_20_24_female", + "column": "sum(b.ll_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_25_29_male", + "column": "sum(b.ll_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_25_29_female", + "column": "sum(b.ll_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_30_34_male", + "column": "sum(b.ll_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_30_34_female", + "column": "sum(b.ll_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_35_39_male", + "column": "sum(b.ll_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_35_39_female", + "column": "sum(b.ll_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_40_44_male", + "column": "sum(b.ll_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_40_44_female", + "column": "sum(b.ll_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_45_49_male", + "column": "sum(b.ll_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_45_49_female", + "column": "sum(b.ll_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_50_54_male", + "column": "sum(b.ll_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_50_54_female", + "column": "sum(b.ll_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_55_59_male", + "column": "sum(b.ll_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_55_59_female", + "column": "sum(b.ll_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_60_64_male", + "column": "sum(b.ll_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_60_64_female", + "column": "sum(b.ll_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_above_65_male", + "column": "sum(b.ll_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ll_fsw_above_65_female", + "column": "sum(b.ll_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ll_fsw", + "column": "sum(b.total_ll_fsw)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_15_19_male", + "column": "sum(b.ll_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_15_19_female", + "column": "sum(b.ll_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_20_24_male", + "column": "sum(b.ll_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_20_24_female", + "column": "sum(b.ll_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_25_29_male", + "column": "sum(b.ll_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_25_29_female", + "column": "sum(b.ll_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_30_34_male", + "column": "sum(b.ll_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_30_34_female", + "column": "sum(b.ll_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_35_39_male", + "column": "sum(b.ll_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_35_39_female", + "column": "sum(b.ll_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_40_44_male", + "column": "sum(b.ll_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_40_44_female", + "column": "sum(b.ll_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_45_49_male", + "column": "sum(b.ll_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_45_49_female", + "column": "sum(b.ll_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_50_54_male", + "column": "sum(b.ll_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_50_54_female", + "column": "sum(b.ll_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_55_59_male", + "column": "sum(b.ll_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_55_59_female", + "column": "sum(b.ll_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_60_64_male", + "column": "sum(b.ll_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_60_64_female", + "column": "sum(b.ll_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_above_65_male", + "column": "sum(b.ll_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ll_pwid_above_65_female", + "column": "sum(b.ll_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ll_pwid", + "column": "sum(b.total_ll_pwid)" + }, + { + "type": "simple_column", + "alias": "ll_ow_15_19_male", + "column": "sum(b.ll_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ll_ow_15_19_female", + "column": "sum(b.ll_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ll_ow_20_24_male", + "column": "sum(b.ll_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ll_ow_20_24_female", + "column": "sum(b.ll_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ll_ow_25_29_male", + "column": "sum(b.ll_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ll_ow_25_29_female", + "column": "sum(b.ll_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ll_ow_30_34_male", + "column": "sum(b.ll_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ll_ow_30_34_female", + "column": "sum(b.ll_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ll_ow_35_39_male", + "column": "sum(b.ll_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ll_ow_35_39_female", + "column": "sum(b.ll_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ll_ow_40_44_male", + "column": "sum(b.ll_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ll_ow_40_44_female", + "column": "sum(b.ll_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ll_ow_45_49_male", + "column": "sum(b.ll_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ll_ow_45_49_female", + "column": "sum(b.ll_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ll_ow_50_54_male", + "column": "sum(b.ll_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ll_ow_50_54_female", + "column": "sum(b.ll_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ll_ow_55_59_male", + "column": "sum(b.ll_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ll_ow_55_59_female", + "column": "sum(b.ll_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ll_ow_60_64_male", + "column": "sum(b.ll_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ll_ow_60_64_female", + "column": "sum(b.ll_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ll_ow_above_65_male", + "column": "sum(b.ll_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ll_ow_above_65_female", + "column": "sum(b.ll_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ll_ow", + "column": "sum(b.total_ll_ow)" + }, + { + "type": "simple_column", + "alias": "ll_sc_15_19_male", + "column": "sum(b.ll_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ll_sc_15_19_female", + "column": "sum(b.ll_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ll_sc_20_24_male", + "column": "sum(b.ll_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ll_sc_20_24_female", + "column": "sum(b.ll_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ll_sc_25_29_male", + "column": "sum(b.ll_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ll_sc_25_29_female", + "column": "sum(b.ll_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ll_sc_30_34_male", + "column": "sum(b.ll_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ll_sc_30_34_female", + "column": "sum(b.ll_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ll_sc_35_39_male", + "column": "sum(b.ll_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ll_sc_35_39_female", + "column": "sum(b.ll_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ll_sc_40_44_male", + "column": "sum(b.ll_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ll_sc_40_44_female", + "column": "sum(b.ll_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ll_sc_45_49_male", + "column": "sum(b.ll_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ll_sc_45_49_female", + "column": "sum(b.ll_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ll_sc_50_54_male", + "column": "sum(b.ll_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ll_sc_50_54_female", + "column": "sum(b.ll_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ll_sc_55_59_male", + "column": "sum(b.ll_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ll_sc_55_59_female", + "column": "sum(b.ll_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ll_sc_60_64_male", + "column": "sum(b.ll_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ll_sc_60_64_female", + "column": "sum(b.ll_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ll_sc_above_65_male", + "column": "sum(b.ll_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ll_sc_above_65_female", + "column": "sum(b.ll_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ll_sc", + "column": "sum(b.total_ll_sc)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_15_19_male", + "column": "sum(b.ll_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_15_19_female", + "column": "sum(b.ll_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_20_24_male", + "column": "sum(b.ll_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_20_24_female", + "column": "sum(b.ll_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_25_29_male", + "column": "sum(b.ll_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_25_29_female", + "column": "sum(b.ll_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_30_34_male", + "column": "sum(b.ll_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_30_34_female", + "column": "sum(b.ll_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_35_39_male", + "column": "sum(b.ll_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_35_39_female", + "column": "sum(b.ll_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_40_44_male", + "column": "sum(b.ll_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_40_44_female", + "column": "sum(b.ll_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_45_49_male", + "column": "sum(b.ll_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_45_49_female", + "column": "sum(b.ll_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_50_54_male", + "column": "sum(b.ll_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_50_54_female", + "column": "sum(b.ll_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_55_59_male", + "column": "sum(b.ll_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_55_59_female", + "column": "sum(b.ll_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_60_64_male", + "column": "sum(b.ll_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_60_64_female", + "column": "sum(b.ll_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_above_65_male", + "column": "sum(b.ll_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ll_pbfw_above_65_female", + "column": "sum(b.ll_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ll_pbfw", + "column": "sum(b.total_ll_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_discontinuation_tested_positive", + "column": "sum(b.total_reason_for_discontinuation_tested_positive)" + } + ], + "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/discontinued/tested-positive-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/tested-positive-base.json new file mode 100644 index 000000000..c569511d3 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/tested-positive-base.json @@ -0,0 +1,1775 @@ +{ + "name": "testedHIVPositivePrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "ll_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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_ll_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ll_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ll_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ll_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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_ll_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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_ll_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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_ll_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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": "ll_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') 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_ll_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ll_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ll_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169') AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_discontinuation_tested_positive", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '1169'), 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/discontinued/too-many-hiv-tests-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/too-many-hiv-tests-aggregate.json new file mode 100644 index 000000000..d64936eb5 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/too-many-hiv-tests-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "tooManyHIVTestsPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "tooManyHIVTestsPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "tooManyHIVTestsPrepBase", + "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": "rr_tg_15_19_male", + "column": "sum(b.rr_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "rr_tg_15_19_female", + "column": "sum(b.rr_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "rr_tg_20_24_male", + "column": "sum(b.rr_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "rr_tg_20_24_female", + "column": "sum(b.rr_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "rr_tg_25_29_male", + "column": "sum(b.rr_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "rr_tg_25_29_female", + "column": "sum(b.rr_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "rr_tg_30_34_male", + "column": "sum(b.rr_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "rr_tg_30_34_female", + "column": "sum(b.rr_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "rr_tg_35_39_male", + "column": "sum(b.rr_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "rr_tg_35_39_female", + "column": "sum(b.rr_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "rr_tg_40_44_male", + "column": "sum(b.rr_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "rr_tg_40_44_female", + "column": "sum(b.rr_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "rr_tg_45_49_male", + "column": "sum(b.rr_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "rr_tg_45_49_female", + "column": "sum(b.rr_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "rr_tg_50_54_male", + "column": "sum(b.rr_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "rr_tg_50_54_female", + "column": "sum(b.rr_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "rr_tg_55_59_male", + "column": "sum(b.rr_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "rr_tg_55_59_female", + "column": "sum(b.rr_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "rr_tg_60_64_male", + "column": "sum(b.rr_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "rr_tg_60_64_female", + "column": "sum(b.rr_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "rr_tg_above_65_male", + "column": "sum(b.rr_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "rr_tg_above_65_female", + "column": "sum(b.rr_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_rr_tg", + "column": "sum(b.total_rr_tg)" + }, + { + "type": "simple_column", + "alias": "rr_msm_15_19_male", + "column": "sum(b.rr_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "rr_msm_15_19_female", + "column": "sum(b.rr_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "rr_msm_20_24_male", + "column": "sum(b.rr_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "rr_msm_20_24_female", + "column": "sum(b.rr_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "rr_msm_25_29_male", + "column": "sum(b.rr_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "rr_msm_25_29_female", + "column": "sum(b.rr_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "rr_msm_30_34_male", + "column": "sum(b.rr_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "rr_msm_30_34_female", + "column": "sum(b.rr_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "rr_msm_35_39_male", + "column": "sum(b.rr_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "rr_msm_35_39_female", + "column": "sum(b.rr_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "rr_msm_40_44_male", + "column": "sum(b.rr_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "rr_msm_40_44_female", + "column": "sum(b.rr_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "rr_msm_45_49_male", + "column": "sum(b.rr_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "rr_msm_45_49_female", + "column": "sum(b.rr_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "rr_msm_50_54_male", + "column": "sum(b.rr_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "rr_msm_50_54_female", + "column": "sum(b.rr_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "rr_msm_55_59_male", + "column": "sum(b.rr_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "rr_msm_55_59_female", + "column": "sum(b.rr_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "rr_msm_60_64_male", + "column": "sum(b.rr_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "rr_msm_60_64_female", + "column": "sum(b.rr_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "rr_msm_above_65_male", + "column": "sum(b.rr_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "rr_msm_above_65_female", + "column": "sum(b.rr_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_rr_msm", + "column": "sum(b.total_rr_msm)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_15_19_male", + "column": "sum(b.rr_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_15_19_female", + "column": "sum(b.rr_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_20_24_male", + "column": "sum(b.rr_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_20_24_female", + "column": "sum(b.rr_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_25_29_male", + "column": "sum(b.rr_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_25_29_female", + "column": "sum(b.rr_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_30_34_male", + "column": "sum(b.rr_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_30_34_female", + "column": "sum(b.rr_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_35_39_male", + "column": "sum(b.rr_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_35_39_female", + "column": "sum(b.rr_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_40_44_male", + "column": "sum(b.rr_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_40_44_female", + "column": "sum(b.rr_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_45_49_male", + "column": "sum(b.rr_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_45_49_female", + "column": "sum(b.rr_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_50_54_male", + "column": "sum(b.rr_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_50_54_female", + "column": "sum(b.rr_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_55_59_male", + "column": "sum(b.rr_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_55_59_female", + "column": "sum(b.rr_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_60_64_male", + "column": "sum(b.rr_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_60_64_female", + "column": "sum(b.rr_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_above_65_male", + "column": "sum(b.rr_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "rr_agyw_above_65_female", + "column": "sum(b.rr_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_rr_agyw", + "column": "sum(b.total_rr_agyw)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_15_19_male", + "column": "sum(b.rr_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_15_19_female", + "column": "sum(b.rr_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_20_24_male", + "column": "sum(b.rr_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_20_24_female", + "column": "sum(b.rr_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_25_29_male", + "column": "sum(b.rr_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_25_29_female", + "column": "sum(b.rr_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_30_34_male", + "column": "sum(b.rr_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_30_34_female", + "column": "sum(b.rr_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_35_39_male", + "column": "sum(b.rr_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_35_39_female", + "column": "sum(b.rr_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_40_44_male", + "column": "sum(b.rr_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_40_44_female", + "column": "sum(b.rr_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_45_49_male", + "column": "sum(b.rr_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_45_49_female", + "column": "sum(b.rr_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_50_54_male", + "column": "sum(b.rr_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_50_54_female", + "column": "sum(b.rr_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_55_59_male", + "column": "sum(b.rr_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_55_59_female", + "column": "sum(b.rr_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_60_64_male", + "column": "sum(b.rr_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_60_64_female", + "column": "sum(b.rr_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_above_65_male", + "column": "sum(b.rr_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "rr_mhr_above_65_female", + "column": "sum(b.rr_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_rr_mhr", + "column": "sum(b.total_rr_mhr)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_15_19_male", + "column": "sum(b.rr_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_15_19_female", + "column": "sum(b.rr_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_20_24_male", + "column": "sum(b.rr_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_20_24_female", + "column": "sum(b.rr_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_25_29_male", + "column": "sum(b.rr_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_25_29_female", + "column": "sum(b.rr_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_30_34_male", + "column": "sum(b.rr_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_30_34_female", + "column": "sum(b.rr_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_35_39_male", + "column": "sum(b.rr_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_35_39_female", + "column": "sum(b.rr_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_40_44_male", + "column": "sum(b.rr_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_40_44_female", + "column": "sum(b.rr_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_45_49_male", + "column": "sum(b.rr_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_45_49_female", + "column": "sum(b.rr_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_50_54_male", + "column": "sum(b.rr_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_50_54_female", + "column": "sum(b.rr_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_55_59_male", + "column": "sum(b.rr_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_55_59_female", + "column": "sum(b.rr_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_60_64_male", + "column": "sum(b.rr_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_60_64_female", + "column": "sum(b.rr_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_above_65_male", + "column": "sum(b.rr_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "rr_fsw_above_65_female", + "column": "sum(b.rr_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_rr_fsw", + "column": "sum(b.total_rr_fsw)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_15_19_male", + "column": "sum(b.rr_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_15_19_female", + "column": "sum(b.rr_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_20_24_male", + "column": "sum(b.rr_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_20_24_female", + "column": "sum(b.rr_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_25_29_male", + "column": "sum(b.rr_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_25_29_female", + "column": "sum(b.rr_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_30_34_male", + "column": "sum(b.rr_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_30_34_female", + "column": "sum(b.rr_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_35_39_male", + "column": "sum(b.rr_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_35_39_female", + "column": "sum(b.rr_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_40_44_male", + "column": "sum(b.rr_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_40_44_female", + "column": "sum(b.rr_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_45_49_male", + "column": "sum(b.rr_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_45_49_female", + "column": "sum(b.rr_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_50_54_male", + "column": "sum(b.rr_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_50_54_female", + "column": "sum(b.rr_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_55_59_male", + "column": "sum(b.rr_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_55_59_female", + "column": "sum(b.rr_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_60_64_male", + "column": "sum(b.rr_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_60_64_female", + "column": "sum(b.rr_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_above_65_male", + "column": "sum(b.rr_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "rr_pwid_above_65_female", + "column": "sum(b.rr_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_rr_pwid", + "column": "sum(b.total_rr_pwid)" + }, + { + "type": "simple_column", + "alias": "rr_ow_15_19_male", + "column": "sum(b.rr_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "rr_ow_15_19_female", + "column": "sum(b.rr_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "rr_ow_20_24_male", + "column": "sum(b.rr_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "rr_ow_20_24_female", + "column": "sum(b.rr_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "rr_ow_25_29_male", + "column": "sum(b.rr_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "rr_ow_25_29_female", + "column": "sum(b.rr_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "rr_ow_30_34_male", + "column": "sum(b.rr_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "rr_ow_30_34_female", + "column": "sum(b.rr_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "rr_ow_35_39_male", + "column": "sum(b.rr_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "rr_ow_35_39_female", + "column": "sum(b.rr_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "rr_ow_40_44_male", + "column": "sum(b.rr_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "rr_ow_40_44_female", + "column": "sum(b.rr_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "rr_ow_45_49_male", + "column": "sum(b.rr_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "rr_ow_45_49_female", + "column": "sum(b.rr_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "rr_ow_50_54_male", + "column": "sum(b.rr_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "rr_ow_50_54_female", + "column": "sum(b.rr_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "rr_ow_55_59_male", + "column": "sum(b.rr_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "rr_ow_55_59_female", + "column": "sum(b.rr_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "rr_ow_60_64_male", + "column": "sum(b.rr_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "rr_ow_60_64_female", + "column": "sum(b.rr_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "rr_ow_above_65_male", + "column": "sum(b.rr_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "rr_ow_above_65_female", + "column": "sum(b.rr_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_rr_ow", + "column": "sum(b.total_rr_ow)" + }, + { + "type": "simple_column", + "alias": "rr_sc_15_19_male", + "column": "sum(b.rr_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "rr_sc_15_19_female", + "column": "sum(b.rr_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "rr_sc_20_24_male", + "column": "sum(b.rr_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "rr_sc_20_24_female", + "column": "sum(b.rr_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "rr_sc_25_29_male", + "column": "sum(b.rr_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "rr_sc_25_29_female", + "column": "sum(b.rr_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "rr_sc_30_34_male", + "column": "sum(b.rr_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "rr_sc_30_34_female", + "column": "sum(b.rr_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "rr_sc_35_39_male", + "column": "sum(b.rr_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "rr_sc_35_39_female", + "column": "sum(b.rr_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "rr_sc_40_44_male", + "column": "sum(b.rr_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "rr_sc_40_44_female", + "column": "sum(b.rr_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "rr_sc_45_49_male", + "column": "sum(b.rr_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "rr_sc_45_49_female", + "column": "sum(b.rr_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "rr_sc_50_54_male", + "column": "sum(b.rr_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "rr_sc_50_54_female", + "column": "sum(b.rr_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "rr_sc_55_59_male", + "column": "sum(b.rr_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "rr_sc_55_59_female", + "column": "sum(b.rr_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "rr_sc_60_64_male", + "column": "sum(b.rr_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "rr_sc_60_64_female", + "column": "sum(b.rr_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "rr_sc_above_65_male", + "column": "sum(b.rr_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "rr_sc_above_65_female", + "column": "sum(b.rr_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_rr_sc", + "column": "sum(b.total_rr_sc)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_15_19_male", + "column": "sum(b.rr_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_15_19_female", + "column": "sum(b.rr_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_20_24_male", + "column": "sum(b.rr_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_20_24_female", + "column": "sum(b.rr_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_25_29_male", + "column": "sum(b.rr_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_25_29_female", + "column": "sum(b.rr_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_30_34_male", + "column": "sum(b.rr_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_30_34_female", + "column": "sum(b.rr_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_35_39_male", + "column": "sum(b.rr_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_35_39_female", + "column": "sum(b.rr_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_40_44_male", + "column": "sum(b.rr_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_40_44_female", + "column": "sum(b.rr_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_45_49_male", + "column": "sum(b.rr_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_45_49_female", + "column": "sum(b.rr_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_50_54_male", + "column": "sum(b.rr_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_50_54_female", + "column": "sum(b.rr_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_55_59_male", + "column": "sum(b.rr_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_55_59_female", + "column": "sum(b.rr_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_60_64_male", + "column": "sum(b.rr_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_60_64_female", + "column": "sum(b.rr_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_above_65_male", + "column": "sum(b.rr_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "rr_pbfw_above_65_female", + "column": "sum(b.rr_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_rr_pbfw", + "column": "sum(b.total_rr_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_discontinuation_many_tests", + "column": "sum(b.total_reason_for_discontinuation_many_tests)" + } + ], + "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/discontinued/too-many-hiv-tests-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/too-many-hiv-tests-base.json new file mode 100644 index 000000000..6bab9f185 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/too-many-hiv-tests-base.json @@ -0,0 +1,1775 @@ +{ + "name": "tooManyHIVTestsPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "rr_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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_rr_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_rr_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_rr_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_rr_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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_rr_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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_rr_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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_rr_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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": "rr_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') 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_rr_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "rr_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_rr_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781') AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_discontinuation_many_tests", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9781'), 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/discontinued/transfer-outs-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/transfer-outs-aggregate.json new file mode 100644 index 000000000..3a183ae07 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/transfer-outs-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "transferOutsPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "transferOutsPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "transferOutsPrepBase", + "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": "ww_tg_15_19_male", + "column": "sum(b.ww_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ww_tg_15_19_female", + "column": "sum(b.ww_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ww_tg_20_24_male", + "column": "sum(b.ww_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ww_tg_20_24_female", + "column": "sum(b.ww_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ww_tg_25_29_male", + "column": "sum(b.ww_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ww_tg_25_29_female", + "column": "sum(b.ww_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ww_tg_30_34_male", + "column": "sum(b.ww_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ww_tg_30_34_female", + "column": "sum(b.ww_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ww_tg_35_39_male", + "column": "sum(b.ww_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ww_tg_35_39_female", + "column": "sum(b.ww_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ww_tg_40_44_male", + "column": "sum(b.ww_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ww_tg_40_44_female", + "column": "sum(b.ww_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ww_tg_45_49_male", + "column": "sum(b.ww_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ww_tg_45_49_female", + "column": "sum(b.ww_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ww_tg_50_54_male", + "column": "sum(b.ww_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ww_tg_50_54_female", + "column": "sum(b.ww_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ww_tg_55_59_male", + "column": "sum(b.ww_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ww_tg_55_59_female", + "column": "sum(b.ww_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ww_tg_60_64_male", + "column": "sum(b.ww_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ww_tg_60_64_female", + "column": "sum(b.ww_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ww_tg_above_65_male", + "column": "sum(b.ww_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ww_tg_above_65_female", + "column": "sum(b.ww_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ww_tg", + "column": "sum(b.total_ww_tg)" + }, + { + "type": "simple_column", + "alias": "ww_msm_15_19_male", + "column": "sum(b.ww_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ww_msm_15_19_female", + "column": "sum(b.ww_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ww_msm_20_24_male", + "column": "sum(b.ww_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ww_msm_20_24_female", + "column": "sum(b.ww_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ww_msm_25_29_male", + "column": "sum(b.ww_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ww_msm_25_29_female", + "column": "sum(b.ww_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ww_msm_30_34_male", + "column": "sum(b.ww_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ww_msm_30_34_female", + "column": "sum(b.ww_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ww_msm_35_39_male", + "column": "sum(b.ww_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ww_msm_35_39_female", + "column": "sum(b.ww_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ww_msm_40_44_male", + "column": "sum(b.ww_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ww_msm_40_44_female", + "column": "sum(b.ww_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ww_msm_45_49_male", + "column": "sum(b.ww_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ww_msm_45_49_female", + "column": "sum(b.ww_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ww_msm_50_54_male", + "column": "sum(b.ww_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ww_msm_50_54_female", + "column": "sum(b.ww_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ww_msm_55_59_male", + "column": "sum(b.ww_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ww_msm_55_59_female", + "column": "sum(b.ww_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ww_msm_60_64_male", + "column": "sum(b.ww_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ww_msm_60_64_female", + "column": "sum(b.ww_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ww_msm_above_65_male", + "column": "sum(b.ww_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ww_msm_above_65_female", + "column": "sum(b.ww_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ww_msm", + "column": "sum(b.total_ww_msm)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_15_19_male", + "column": "sum(b.ww_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_15_19_female", + "column": "sum(b.ww_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_20_24_male", + "column": "sum(b.ww_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_20_24_female", + "column": "sum(b.ww_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_25_29_male", + "column": "sum(b.ww_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_25_29_female", + "column": "sum(b.ww_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_30_34_male", + "column": "sum(b.ww_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_30_34_female", + "column": "sum(b.ww_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_35_39_male", + "column": "sum(b.ww_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_35_39_female", + "column": "sum(b.ww_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_40_44_male", + "column": "sum(b.ww_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_40_44_female", + "column": "sum(b.ww_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_45_49_male", + "column": "sum(b.ww_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_45_49_female", + "column": "sum(b.ww_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_50_54_male", + "column": "sum(b.ww_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_50_54_female", + "column": "sum(b.ww_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_55_59_male", + "column": "sum(b.ww_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_55_59_female", + "column": "sum(b.ww_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_60_64_male", + "column": "sum(b.ww_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_60_64_female", + "column": "sum(b.ww_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_above_65_male", + "column": "sum(b.ww_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ww_agyw_above_65_female", + "column": "sum(b.ww_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ww_agyw", + "column": "sum(b.total_ww_agyw)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_15_19_male", + "column": "sum(b.ww_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_15_19_female", + "column": "sum(b.ww_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_20_24_male", + "column": "sum(b.ww_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_20_24_female", + "column": "sum(b.ww_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_25_29_male", + "column": "sum(b.ww_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_25_29_female", + "column": "sum(b.ww_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_30_34_male", + "column": "sum(b.ww_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_30_34_female", + "column": "sum(b.ww_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_35_39_male", + "column": "sum(b.ww_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_35_39_female", + "column": "sum(b.ww_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_40_44_male", + "column": "sum(b.ww_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_40_44_female", + "column": "sum(b.ww_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_45_49_male", + "column": "sum(b.ww_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_45_49_female", + "column": "sum(b.ww_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_50_54_male", + "column": "sum(b.ww_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_50_54_female", + "column": "sum(b.ww_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_55_59_male", + "column": "sum(b.ww_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_55_59_female", + "column": "sum(b.ww_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_60_64_male", + "column": "sum(b.ww_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_60_64_female", + "column": "sum(b.ww_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_above_65_male", + "column": "sum(b.ww_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ww_mhr_above_65_female", + "column": "sum(b.ww_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ww_mhr", + "column": "sum(b.total_ww_mhr)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_15_19_male", + "column": "sum(b.ww_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_15_19_female", + "column": "sum(b.ww_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_20_24_male", + "column": "sum(b.ww_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_20_24_female", + "column": "sum(b.ww_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_25_29_male", + "column": "sum(b.ww_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_25_29_female", + "column": "sum(b.ww_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_30_34_male", + "column": "sum(b.ww_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_30_34_female", + "column": "sum(b.ww_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_35_39_male", + "column": "sum(b.ww_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_35_39_female", + "column": "sum(b.ww_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_40_44_male", + "column": "sum(b.ww_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_40_44_female", + "column": "sum(b.ww_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_45_49_male", + "column": "sum(b.ww_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_45_49_female", + "column": "sum(b.ww_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_50_54_male", + "column": "sum(b.ww_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_50_54_female", + "column": "sum(b.ww_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_55_59_male", + "column": "sum(b.ww_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_55_59_female", + "column": "sum(b.ww_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_60_64_male", + "column": "sum(b.ww_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_60_64_female", + "column": "sum(b.ww_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_above_65_male", + "column": "sum(b.ww_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ww_fsw_above_65_female", + "column": "sum(b.ww_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ww_fsw", + "column": "sum(b.total_ww_fsw)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_15_19_male", + "column": "sum(b.ww_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_15_19_female", + "column": "sum(b.ww_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_20_24_male", + "column": "sum(b.ww_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_20_24_female", + "column": "sum(b.ww_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_25_29_male", + "column": "sum(b.ww_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_25_29_female", + "column": "sum(b.ww_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_30_34_male", + "column": "sum(b.ww_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_30_34_female", + "column": "sum(b.ww_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_35_39_male", + "column": "sum(b.ww_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_35_39_female", + "column": "sum(b.ww_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_40_44_male", + "column": "sum(b.ww_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_40_44_female", + "column": "sum(b.ww_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_45_49_male", + "column": "sum(b.ww_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_45_49_female", + "column": "sum(b.ww_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_50_54_male", + "column": "sum(b.ww_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_50_54_female", + "column": "sum(b.ww_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_55_59_male", + "column": "sum(b.ww_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_55_59_female", + "column": "sum(b.ww_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_60_64_male", + "column": "sum(b.ww_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_60_64_female", + "column": "sum(b.ww_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_above_65_male", + "column": "sum(b.ww_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ww_pwid_above_65_female", + "column": "sum(b.ww_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ww_pwid", + "column": "sum(b.total_ww_pwid)" + }, + { + "type": "simple_column", + "alias": "ww_ow_15_19_male", + "column": "sum(b.ww_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ww_ow_15_19_female", + "column": "sum(b.ww_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ww_ow_20_24_male", + "column": "sum(b.ww_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ww_ow_20_24_female", + "column": "sum(b.ww_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ww_ow_25_29_male", + "column": "sum(b.ww_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ww_ow_25_29_female", + "column": "sum(b.ww_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ww_ow_30_34_male", + "column": "sum(b.ww_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ww_ow_30_34_female", + "column": "sum(b.ww_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ww_ow_35_39_male", + "column": "sum(b.ww_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ww_ow_35_39_female", + "column": "sum(b.ww_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ww_ow_40_44_male", + "column": "sum(b.ww_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ww_ow_40_44_female", + "column": "sum(b.ww_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ww_ow_45_49_male", + "column": "sum(b.ww_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ww_ow_45_49_female", + "column": "sum(b.ww_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ww_ow_50_54_male", + "column": "sum(b.ww_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ww_ow_50_54_female", + "column": "sum(b.ww_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ww_ow_55_59_male", + "column": "sum(b.ww_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ww_ow_55_59_female", + "column": "sum(b.ww_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ww_ow_60_64_male", + "column": "sum(b.ww_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ww_ow_60_64_female", + "column": "sum(b.ww_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ww_ow_above_65_male", + "column": "sum(b.ww_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ww_ow_above_65_female", + "column": "sum(b.ww_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ww_ow", + "column": "sum(b.total_ww_ow)" + }, + { + "type": "simple_column", + "alias": "ww_sc_15_19_male", + "column": "sum(b.ww_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ww_sc_15_19_female", + "column": "sum(b.ww_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ww_sc_20_24_male", + "column": "sum(b.ww_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ww_sc_20_24_female", + "column": "sum(b.ww_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ww_sc_25_29_male", + "column": "sum(b.ww_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ww_sc_25_29_female", + "column": "sum(b.ww_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ww_sc_30_34_male", + "column": "sum(b.ww_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ww_sc_30_34_female", + "column": "sum(b.ww_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ww_sc_35_39_male", + "column": "sum(b.ww_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ww_sc_35_39_female", + "column": "sum(b.ww_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ww_sc_40_44_male", + "column": "sum(b.ww_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ww_sc_40_44_female", + "column": "sum(b.ww_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ww_sc_45_49_male", + "column": "sum(b.ww_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ww_sc_45_49_female", + "column": "sum(b.ww_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ww_sc_50_54_male", + "column": "sum(b.ww_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ww_sc_50_54_female", + "column": "sum(b.ww_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ww_sc_55_59_male", + "column": "sum(b.ww_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ww_sc_55_59_female", + "column": "sum(b.ww_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ww_sc_60_64_male", + "column": "sum(b.ww_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ww_sc_60_64_female", + "column": "sum(b.ww_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ww_sc_above_65_male", + "column": "sum(b.ww_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ww_sc_above_65_female", + "column": "sum(b.ww_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ww_sc", + "column": "sum(b.total_ww_sc)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_15_19_male", + "column": "sum(b.ww_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_15_19_female", + "column": "sum(b.ww_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_20_24_male", + "column": "sum(b.ww_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_20_24_female", + "column": "sum(b.ww_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_25_29_male", + "column": "sum(b.ww_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_25_29_female", + "column": "sum(b.ww_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_30_34_male", + "column": "sum(b.ww_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_30_34_female", + "column": "sum(b.ww_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_35_39_male", + "column": "sum(b.ww_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_35_39_female", + "column": "sum(b.ww_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_40_44_male", + "column": "sum(b.ww_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_40_44_female", + "column": "sum(b.ww_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_45_49_male", + "column": "sum(b.ww_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_45_49_female", + "column": "sum(b.ww_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_50_54_male", + "column": "sum(b.ww_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_50_54_female", + "column": "sum(b.ww_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_55_59_male", + "column": "sum(b.ww_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_55_59_female", + "column": "sum(b.ww_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_60_64_male", + "column": "sum(b.ww_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_60_64_female", + "column": "sum(b.ww_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_above_65_male", + "column": "sum(b.ww_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "ww_pbfw_above_65_female", + "column": "sum(b.ww_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_ww_pbfw", + "column": "sum(b.total_ww_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_discontinuation_transfer_outs", + "column": "sum(b.total_reason_for_discontinuation_transfer_outs)" + } + ], + "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/discontinued/transfer-outs-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/transfer-outs-base.json new file mode 100644 index 000000000..ce347683d --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/transfer-outs-base.json @@ -0,0 +1,1775 @@ +{ + "name": "transferOutsPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "ww_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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_ww_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND (pd.population_type=1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ww_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND (pd.population_type=3 OR pd.sub_population_type = 10 OR pd.sub_population_type = 20)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ww_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ww_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND (pd.population_type=4 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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_ww_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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_ww_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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_ww_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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": "ww_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') 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_ww_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ww_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ww_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119') AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_discontinuation_transfer_outs", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '10119'), 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/discontinued/viral-suppression-of-hiv-positive-partner-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/viral-suppression-of-hiv-positive-partner-aggregate.json new file mode 100644 index 000000000..a8aefe355 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/viral-suppression-of-hiv-positive-partner-aggregate.json @@ -0,0 +1,186 @@ +{ + "name": "viralSuppressionOfHIVPositivePartnerPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "viralSuppressionOfHIVPositivePartnerPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "viralSuppressionOfHIVPositivePartnerPrepBase", + "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": "qq_sc_15_19_male", + "column": "sum(b.qq_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "qq_sc_15_19_female", + "column": "sum(b.qq_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "qq_sc_20_24_male", + "column": "sum(b.qq_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "qq_sc_20_24_female", + "column": "sum(b.qq_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "qq_sc_25_29_male", + "column": "sum(b.qq_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "qq_sc_25_29_female", + "column": "sum(b.qq_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "qq_sc_30_34_male", + "column": "sum(b.qq_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "qq_sc_30_34_female", + "column": "sum(b.qq_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "qq_sc_35_39_male", + "column": "sum(b.qq_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "qq_sc_35_39_female", + "column": "sum(b.qq_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "qq_sc_40_44_male", + "column": "sum(b.qq_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "qq_sc_40_44_female", + "column": "sum(b.qq_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "qq_sc_45_49_male", + "column": "sum(b.qq_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "qq_sc_45_49_female", + "column": "sum(b.qq_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "qq_sc_50_54_male", + "column": "sum(b.qq_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "qq_sc_50_54_female", + "column": "sum(b.qq_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "qq_sc_55_59_male", + "column": "sum(b.qq_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "qq_sc_55_59_female", + "column": "sum(b.qq_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "qq_sc_60_64_male", + "column": "sum(b.qq_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "qq_sc_60_64_female", + "column": "sum(b.qq_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "qq_sc_above_65_male", + "column": "sum(b.qq_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "qq_sc_above_65_female", + "column": "sum(b.qq_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_qq_sc", + "column": "sum(b.total_qq_sc)" + } + ], + "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/discontinued/viral-suppression-of-hiv-positive-partner-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/viral-suppression-of-hiv-positive-partner-base.json new file mode 100644 index 000000000..0f48c18c1 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/viral-suppression-of-hiv-positive-partner-base.json @@ -0,0 +1,295 @@ +{ + "name": "viralSuppressionOfHIVPositivePartnerPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "qq_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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": "qq_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') 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_qq_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if(((pd.discontinued_from_prep_this_month = 1 AND pd.reason_for_discontinuation = '9779') AND (pd.population_type=8 OR pd.old_population_type=100)), 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/eligibility/eligible-for-prep-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-aggregate.json new file mode 100644 index 000000000..57eb44a0c --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-aggregate.json @@ -0,0 +1,3181 @@ +{ + "name": "eligibleForPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "eligibleForPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "eligibleForPrepBase", + "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": "eligible_this_month", + "column": "sum(b.is_eligible_for_prep)" + }, + { + "type": "simple_column", + "alias": "e_tg_15_19_female", + "column": "sum(b.e_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "e_tg_15_19_male", + "column": "sum(b.e_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "e_tg_20_24_female", + "column": "sum(b.e_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "e_tg_20_24_male", + "column": "sum(b.e_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "e_tg_25_29_female", + "column": "sum(b.e_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "e_tg_25_29_male", + "column": "sum(b.e_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "e_tg_30_34_female", + "column": "sum(b.e_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "e_tg_30_34_male", + "column": "sum(b.e_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "e_tg_35_39_female", + "column": "sum(b.e_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "e_tg_35_39_male", + "column": "sum(b.e_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "e_tg_40_44_female", + "column": "sum(b.e_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "e_tg_40_44_male", + "column": "sum(b.e_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "e_tg_45_49_female", + "column": "sum(b.e_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "e_tg_45_49_male", + "column": "sum(b.e_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "e_tg_50_54_female", + "column": "sum(b.e_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "e_tg_50_54_male", + "column": "sum(b.e_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "e_tg_55_59_female", + "column": "sum(b.e_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "e_tg_55_59_male", + "column": "sum(b.e_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "e_tg_60_64_female", + "column": "sum(b.e_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "e_tg_60_64_male", + "column": "sum(b.e_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "e_tg_above_65_female", + "column": "sum(b.e_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "e_tg_above_65_male", + "column": "sum(b.e_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_e_tg", + "column": "sum(b.total_e_tg)" + }, + { + "type": "simple_column", + "alias": "e_agyw_15_19_female", + "column": "sum(b.e_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "e_agyw_15_19_male", + "column": "sum(b.e_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "e_agyw_20_24_female", + "column": "sum(b.e_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "e_agyw_20_24_male", + "column": "sum(b.e_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "e_agyw_25_29_female", + "column": "sum(b.e_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "e_agyw_25_29_male", + "column": "sum(b.e_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "e_agyw_30_34_female", + "column": "sum(b.e_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "e_agyw_30_34_male", + "column": "sum(b.e_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "e_agyw_35_39_female", + "column": "sum(b.e_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "e_agyw_35_39_male", + "column": "sum(b.e_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "e_agyw_40_44_female", + "column": "sum(b.e_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "e_agyw_40_44_male", + "column": "sum(b.e_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "e_agyw_45_49_female", + "column": "sum(b.e_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "e_agyw_45_49_male", + "column": "sum(b.e_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "e_agyw_50_54_female", + "column": "sum(b.e_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "e_agyw_50_54_male", + "column": "sum(b.e_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "e_agyw_55_59_female", + "column": "sum(b.e_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "e_agyw_55_59_male", + "column": "sum(b.e_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "e_agyw_60_64_female", + "column": "sum(b.e_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "e_agyw_60_64_male", + "column": "sum(b.e_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "e_agyw_above_65_female", + "column": "sum(b.e_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "e_agyw_above_65_male", + "column": "sum(b.e_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_e_agyw", + "column": "sum(b.total_e_agyw)" + }, + { + "type": "simple_column", + "alias": "e_msm_15_19_female", + "column": "sum(b.e_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "e_msm_15_19_male", + "column": "sum(b.e_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "e_msm_20_24_female", + "column": "sum(b.e_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "e_msm_20_24_male", + "column": "sum(b.e_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "e_msm_25_29_female", + "column": "sum(b.e_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "e_msm_25_29_male", + "column": "sum(b.e_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "e_msm_30_34_female", + "column": "sum(b.e_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "e_msm_30_34_male", + "column": "sum(b.e_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "e_msm_35_39_female", + "column": "sum(b.e_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "e_msm_35_39_male", + "column": "sum(b.e_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "e_msm_40_44_female", + "column": "sum(b.e_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "e_msm_40_44_male", + "column": "sum(b.e_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "e_msm_45_49_female", + "column": "sum(b.e_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "e_msm_45_49_male", + "column": "sum(b.e_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "e_msm_50_54_female", + "column": "sum(b.e_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "e_msm_50_54_male", + "column": "sum(b.e_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "e_msm_55_59_female", + "column": "sum(b.e_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "e_msm_55_59_male", + "column": "sum(b.e_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "e_msm_60_64_female", + "column": "sum(b.e_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "e_msm_60_64_male", + "column": "sum(b.e_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "e_msm_above_65_female", + "column": "sum(b.e_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "e_msm_above_65_male", + "column": "sum(b.e_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_e_msm", + "column": "sum(b.total_e_msm)" + }, + { + "type": "simple_column", + "alias": "e_mahr_15_19_female", + "column": "sum(b.e_mahr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "e_mahr_15_19_male", + "column": "sum(b.e_mahr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "e_mahr_20_24_female", + "column": "sum(b.e_mahr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "e_mahr_20_24_male", + "column": "sum(b.e_mahr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "e_mahr_25_29_female", + "column": "sum(b.e_mahr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "e_mahr_25_29_male", + "column": "sum(b.e_mahr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "e_mahr_30_34_female", + "column": "sum(b.e_mahr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "e_mahr_30_34_male", + "column": "sum(b.e_mahr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "e_mahr_35_39_female", + "column": "sum(b.e_mahr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "e_mahr_35_39_male", + "column": "sum(b.e_mahr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "e_mahr_40_44_female", + "column": "sum(b.e_mahr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "e_mahr_40_44_male", + "column": "sum(b.e_mahr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "e_mahr_45_49_female", + "column": "sum(b.e_mahr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "e_mahr_45_49_male", + "column": "sum(b.e_mahr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "e_mahr_50_54_female", + "column": "sum(b.e_mahr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "e_mahr_50_54_male", + "column": "sum(b.e_mahr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "e_mahr_55_59_female", + "column": "sum(b.e_mahr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "e_mahr_55_59_male", + "column": "sum(b.e_mahr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "e_mahr_60_64_female", + "column": "sum(b.e_mahr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "e_mahr_60_64_male", + "column": "sum(b.e_mahr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "e_mahr_above_65_female", + "column": "sum(b.e_mahr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "e_mahr_above_65_male", + "column": "sum(b.e_mahr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_e_mahr", + "column": "sum(b.total_e_mahr)" + }, + { + "type": "simple_column", + "alias": "e_fsw_15_19_female", + "column": "sum(b.e_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "e_fsw_15_19_male", + "column": "sum(b.e_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "e_fsw_20_24_female", + "column": "sum(b.e_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "e_fsw_20_24_male", + "column": "sum(b.e_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "e_fsw_25_29_female", + "column": "sum(b.e_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "e_fsw_25_29_male", + "column": "sum(b.e_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "e_fsw_30_34_female", + "column": "sum(b.e_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "e_fsw_30_34_male", + "column": "sum(b.e_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "e_fsw_35_39_female", + "column": "sum(b.e_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "e_fsw_35_39_male", + "column": "sum(b.e_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "e_fsw_40_44_female", + "column": "sum(b.e_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "e_fsw_40_44_male", + "column": "sum(b.e_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "e_fsw_45_49_female", + "column": "sum(b.e_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "e_fsw_45_49_male", + "column": "sum(b.e_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "e_fsw_50_54_female", + "column": "sum(b.e_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "e_fsw_50_54_male", + "column": "sum(b.e_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "e_fsw_55_59_female", + "column": "sum(b.e_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "e_fsw_55_59_male", + "column": "sum(b.e_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "e_fsw_60_64_female", + "column": "sum(b.e_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "e_fsw_60_64_male", + "column": "sum(b.e_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "e_fsw_above_65_female", + "column": "sum(b.e_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "e_fsw_above_65_male", + "column": "sum(b.e_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_e_fsw", + "column": "sum(b.total_e_fsw)" + }, + { + "type": "simple_column", + "alias": "e_pwid_15_19_female", + "column": "sum(b.e_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "e_pwid_15_19_male", + "column": "sum(b.e_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "e_pwid_20_24_female", + "column": "sum(b.e_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "e_pwid_20_24_male", + "column": "sum(b.e_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "e_pwid_25_29_female", + "column": "sum(b.e_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "e_pwid_25_29_male", + "column": "sum(b.e_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "e_pwid_30_34_female", + "column": "sum(b.e_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "e_pwid_30_34_male", + "column": "sum(b.e_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "e_pwid_35_39_female", + "column": "sum(b.e_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "e_pwid_35_39_male", + "column": "sum(b.e_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "e_pwid_40_44_female", + "column": "sum(b.e_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "e_pwid_40_44_male", + "column": "sum(b.e_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "e_pwid_45_49_female", + "column": "sum(b.e_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "e_pwid_45_49_male", + "column": "sum(b.e_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "e_pwid_50_54_female", + "column": "sum(b.e_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "e_pwid_50_54_male", + "column": "sum(b.e_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "e_pwid_55_59_female", + "column": "sum(b.e_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "e_pwid_55_59_male", + "column": "sum(b.e_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "e_pwid_60_64_female", + "column": "sum(b.e_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "e_pwid_60_64_male", + "column": "sum(b.e_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "e_pwid_above_65_female", + "column": "sum(b.e_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "e_pwid_above_65_male", + "column": "sum(b.e_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_e_pwid", + "column": "sum(b.total_e_pwid)" + }, + { + "type": "simple_column", + "alias": "e_ow_15_19_female", + "column": "sum(b.e_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "e_ow_15_19_male", + "column": "sum(b.e_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "e_ow_20_24_female", + "column": "sum(b.e_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "e_ow_20_24_male", + "column": "sum(b.e_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "e_ow_25_29_female", + "column": "sum(b.e_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "e_ow_25_29_male", + "column": "sum(b.e_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "e_ow_30_34_female", + "column": "sum(b.e_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "e_ow_30_34_male", + "column": "sum(b.e_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "e_ow_35_39_female", + "column": "sum(b.e_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "e_ow_35_39_male", + "column": "sum(b.e_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "e_ow_40_44_female", + "column": "sum(b.e_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "e_ow_40_44_male", + "column": "sum(b.e_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "e_ow_45_49_female", + "column": "sum(b.e_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "e_ow_45_49_male", + "column": "sum(b.e_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "e_ow_50_54_female", + "column": "sum(b.e_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "e_ow_50_54_male", + "column": "sum(b.e_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "e_ow_55_59_female", + "column": "sum(b.e_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "e_ow_55_59_male", + "column": "sum(b.e_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "e_ow_60_64_female", + "column": "sum(b.e_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "e_ow_60_64_male", + "column": "sum(b.e_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "e_ow_above_65_female", + "column": "sum(b.e_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "e_ow_above_65_male", + "column": "sum(b.e_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_e_ow", + "column": "sum(b.total_e_ow)" + }, + { + "type": "simple_column", + "alias": "e_sdc_15_19_female", + "column": "sum(b.e_sdc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "e_sdc_15_19_male", + "column": "sum(b.e_sdc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "e_sdc_20_24_female", + "column": "sum(b.e_sdc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "e_sdc_20_24_male", + "column": "sum(b.e_sdc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "e_sdc_25_29_female", + "column": "sum(b.e_sdc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "e_sdc_25_29_male", + "column": "sum(b.e_sdc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "e_sdc_30_34_female", + "column": "sum(b.e_sdc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "e_sdc_30_34_male", + "column": "sum(b.e_sdc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "e_sdc_35_39_female", + "column": "sum(b.e_sdc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "e_sdc_35_39_male", + "column": "sum(b.e_sdc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "e_sdc_40_44_female", + "column": "sum(b.e_sdc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "e_sdc_40_44_male", + "column": "sum(b.e_sdc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "e_sdc_45_49_female", + "column": "sum(b.e_sdc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "e_sdc_45_49_male", + "column": "sum(b.e_sdc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "e_sdc_50_54_female", + "column": "sum(b.e_sdc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "e_sdc_50_54_male", + "column": "sum(b.e_sdc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "e_sdc_55_59_female", + "column": "sum(b.e_sdc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "e_sdc_55_59_male", + "column": "sum(b.e_sdc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "e_sdc_60_64_female", + "column": "sum(b.e_sdc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "e_sdc_60_64_male", + "column": "sum(b.e_sdc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "e_sdc_above_65_female", + "column": "sum(b.e_sdc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "e_sdc_above_65_male", + "column": "sum(b.e_sdc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_e_sdc", + "column": "sum(b.total_e_sdc)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_15_19_female", + "column": "sum(b.e_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_15_19_male", + "column": "sum(b.e_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_20_24_female", + "column": "sum(b.e_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_20_24_male", + "column": "sum(b.e_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_25_29_female", + "column": "sum(b.e_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_25_29_male", + "column": "sum(b.e_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_30_34_female", + "column": "sum(b.e_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_30_34_male", + "column": "sum(b.e_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_35_39_female", + "column": "sum(b.e_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_35_39_male", + "column": "sum(b.e_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_40_44_female", + "column": "sum(b.e_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_40_44_male", + "column": "sum(b.e_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_45_49_female", + "column": "sum(b.e_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_45_49_male", + "column": "sum(b.e_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_50_54_female", + "column": "sum(b.e_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_50_54_male", + "column": "sum(b.e_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_55_59_female", + "column": "sum(b.e_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_55_59_male", + "column": "sum(b.e_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_60_64_female", + "column": "sum(b.e_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_60_64_male", + "column": "sum(b.e_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_above_65_female", + "column": "sum(b.e_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "e_pbfw_above_65_male", + "column": "sum(b.e_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_e_pbfw", + "column": "sum(b.total_e_pbfw)" + }, + { + "type": "simple_column", + "alias": "ct_tg_15_19_female", + "column": "sum(b.ct_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ct_tg_15_19_male", + "column": "sum(b.ct_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ct_tg_20_24_female", + "column": "sum(b.ct_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ct_tg_20_24_male", + "column": "sum(b.ct_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ct_tg_25_29_female", + "column": "sum(b.ct_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ct_tg_25_29_male", + "column": "sum(b.ct_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ct_tg_30_34_female", + "column": "sum(b.ct_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ct_tg_30_34_male", + "column": "sum(b.ct_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ct_tg_35_39_female", + "column": "sum(b.ct_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ct_tg_35_39_male", + "column": "sum(b.ct_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ct_tg_40_44_female", + "column": "sum(b.ct_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ct_tg_40_44_male", + "column": "sum(b.ct_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ct_tg_45_49_female", + "column": "sum(b.ct_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ct_tg_45_49_male", + "column": "sum(b.ct_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ct_tg_50_54_female", + "column": "sum(b.ct_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ct_tg_50_54_male", + "column": "sum(b.ct_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ct_tg_55_59_female", + "column": "sum(b.ct_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ct_tg_55_59_male", + "column": "sum(b.ct_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ct_tg_60_64_female", + "column": "sum(b.ct_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ct_tg_60_64_male", + "column": "sum(b.ct_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ct_tg_above_65_female", + "column": "sum(b.ct_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "ct_tg_above_65_male", + "column": "sum(b.ct_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_ct_tg", + "column": "sum(b.total_ct_tg)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_15_19_female", + "column": "sum(b.ct_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_15_19_male", + "column": "sum(b.ct_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_20_24_female", + "column": "sum(b.ct_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_20_24_male", + "column": "sum(b.ct_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_25_29_female", + "column": "sum(b.ct_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_25_29_male", + "column": "sum(b.ct_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_30_34_female", + "column": "sum(b.ct_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_30_34_male", + "column": "sum(b.ct_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_35_39_female", + "column": "sum(b.ct_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_35_39_male", + "column": "sum(b.ct_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_40_44_female", + "column": "sum(b.ct_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_40_44_male", + "column": "sum(b.ct_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_45_49_female", + "column": "sum(b.ct_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_45_49_male", + "column": "sum(b.ct_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_50_54_female", + "column": "sum(b.ct_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_50_54_male", + "column": "sum(b.ct_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_55_59_female", + "column": "sum(b.ct_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_55_59_male", + "column": "sum(b.ct_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_60_64_female", + "column": "sum(b.ct_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_60_64_male", + "column": "sum(b.ct_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_above_65_female", + "column": "sum(b.ct_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "ct_agyw_above_65_male", + "column": "sum(b.ct_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_ct_agyw", + "column": "sum(b.total_ct_agyw)" + }, + { + "type": "simple_column", + "alias": "ct_msm_15_19_female", + "column": "sum(b.ct_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ct_msm_15_19_male", + "column": "sum(b.ct_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ct_msm_20_24_female", + "column": "sum(b.ct_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ct_msm_20_24_male", + "column": "sum(b.ct_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ct_msm_25_29_female", + "column": "sum(b.ct_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ct_msm_25_29_male", + "column": "sum(b.ct_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ct_msm_30_34_female", + "column": "sum(b.ct_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ct_msm_30_34_male", + "column": "sum(b.ct_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ct_msm_35_39_female", + "column": "sum(b.ct_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ct_msm_35_39_male", + "column": "sum(b.ct_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ct_msm_40_44_female", + "column": "sum(b.ct_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ct_msm_40_44_male", + "column": "sum(b.ct_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ct_msm_45_49_female", + "column": "sum(b.ct_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ct_msm_45_49_male", + "column": "sum(b.ct_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ct_msm_50_54_female", + "column": "sum(b.ct_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ct_msm_50_54_male", + "column": "sum(b.ct_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ct_msm_55_59_female", + "column": "sum(b.ct_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ct_msm_55_59_male", + "column": "sum(b.ct_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ct_msm_60_64_female", + "column": "sum(b.ct_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ct_msm_60_64_male", + "column": "sum(b.ct_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ct_msm_above_65_female", + "column": "sum(b.ct_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "ct_msm_above_65_male", + "column": "sum(b.ct_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_ct_msm", + "column": "sum(b.total_ct_msm)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_15_19_female", + "column": "sum(b.ct_mahr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_15_19_male", + "column": "sum(b.ct_mahr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_20_24_female", + "column": "sum(b.ct_mahr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_20_24_male", + "column": "sum(b.ct_mahr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_25_29_female", + "column": "sum(b.ct_mahr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_25_29_male", + "column": "sum(b.ct_mahr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_30_34_female", + "column": "sum(b.ct_mahr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_30_34_male", + "column": "sum(b.ct_mahr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_35_39_female", + "column": "sum(b.ct_mahr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_35_39_male", + "column": "sum(b.ct_mahr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_40_44_female", + "column": "sum(b.ct_mahr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_40_44_male", + "column": "sum(b.ct_mahr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_45_49_female", + "column": "sum(b.ct_mahr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_45_49_male", + "column": "sum(b.ct_mahr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_50_54_female", + "column": "sum(b.ct_mahr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_50_54_male", + "column": "sum(b.ct_mahr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_55_59_female", + "column": "sum(b.ct_mahr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_55_59_male", + "column": "sum(b.ct_mahr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_60_64_female", + "column": "sum(b.ct_mahr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_60_64_male", + "column": "sum(b.ct_mahr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_above_65_female", + "column": "sum(b.ct_mahr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "ct_mahr_above_65_male", + "column": "sum(b.ct_mahr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_ct_mahr", + "column": "sum(b.total_ct_mahr)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_15_19_female", + "column": "sum(b.ct_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_15_19_male", + "column": "sum(b.ct_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_20_24_female", + "column": "sum(b.ct_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_20_24_male", + "column": "sum(b.ct_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_25_29_female", + "column": "sum(b.ct_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_25_29_male", + "column": "sum(b.ct_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_30_34_female", + "column": "sum(b.ct_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_30_34_male", + "column": "sum(b.ct_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_35_39_female", + "column": "sum(b.ct_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_35_39_male", + "column": "sum(b.ct_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_40_44_female", + "column": "sum(b.ct_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_40_44_male", + "column": "sum(b.ct_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_45_49_female", + "column": "sum(b.ct_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_45_49_male", + "column": "sum(b.ct_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_50_54_female", + "column": "sum(b.ct_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_50_54_male", + "column": "sum(b.ct_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_55_59_female", + "column": "sum(b.ct_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_55_59_male", + "column": "sum(b.ct_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_60_64_female", + "column": "sum(b.ct_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_60_64_male", + "column": "sum(b.ct_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_above_65_female", + "column": "sum(b.ct_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "ct_fsw_above_65_male", + "column": "sum(b.ct_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_ct_fsw", + "column": "sum(b.total_ct_fsw)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_15_19_female", + "column": "sum(b.ct_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_15_19_male", + "column": "sum(b.ct_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_20_24_female", + "column": "sum(b.ct_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_20_24_male", + "column": "sum(b.ct_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_25_29_female", + "column": "sum(b.ct_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_25_29_male", + "column": "sum(b.ct_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_30_34_female", + "column": "sum(b.ct_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_30_34_male", + "column": "sum(b.ct_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_35_39_female", + "column": "sum(b.ct_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_35_39_male", + "column": "sum(b.ct_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_40_44_female", + "column": "sum(b.ct_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_40_44_male", + "column": "sum(b.ct_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_45_49_female", + "column": "sum(b.ct_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_45_49_male", + "column": "sum(b.ct_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_50_54_female", + "column": "sum(b.ct_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_50_54_male", + "column": "sum(b.ct_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_55_59_female", + "column": "sum(b.ct_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_55_59_male", + "column": "sum(b.ct_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_60_64_female", + "column": "sum(b.ct_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_60_64_male", + "column": "sum(b.ct_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_above_65_female", + "column": "sum(b.ct_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "ct_pwid_above_65_male", + "column": "sum(b.ct_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_ct_pwid", + "column": "sum(b.total_ct_pwid)" + }, + { + "type": "simple_column", + "alias": "ct_ow_15_19_female", + "column": "sum(b.ct_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ct_ow_15_19_male", + "column": "sum(b.ct_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ct_ow_20_24_female", + "column": "sum(b.ct_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ct_ow_20_24_male", + "column": "sum(b.ct_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ct_ow_25_29_female", + "column": "sum(b.ct_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ct_ow_25_29_male", + "column": "sum(b.ct_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ct_ow_30_34_female", + "column": "sum(b.ct_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ct_ow_30_34_male", + "column": "sum(b.ct_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ct_ow_35_39_female", + "column": "sum(b.ct_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ct_ow_35_39_male", + "column": "sum(b.ct_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ct_ow_40_44_female", + "column": "sum(b.ct_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ct_ow_40_44_male", + "column": "sum(b.ct_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ct_ow_45_49_female", + "column": "sum(b.ct_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ct_ow_45_49_male", + "column": "sum(b.ct_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ct_ow_50_54_female", + "column": "sum(b.ct_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ct_ow_50_54_male", + "column": "sum(b.ct_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ct_ow_55_59_female", + "column": "sum(b.ct_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ct_ow_55_59_male", + "column": "sum(b.ct_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ct_ow_60_64_female", + "column": "sum(b.ct_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ct_ow_60_64_male", + "column": "sum(b.ct_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ct_ow_above_65_female", + "column": "sum(b.ct_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "ct_ow_above_65_male", + "column": "sum(b.ct_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_ct_ow", + "column": "sum(b.total_ct_ow)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_15_19_female", + "column": "sum(b.ct_sdc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_15_19_male", + "column": "sum(b.ct_sdc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_20_24_female", + "column": "sum(b.ct_sdc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_20_24_male", + "column": "sum(b.ct_sdc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_25_29_female", + "column": "sum(b.ct_sdc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_25_29_male", + "column": "sum(b.ct_sdc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_30_34_female", + "column": "sum(b.ct_sdc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_30_34_male", + "column": "sum(b.ct_sdc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_35_39_female", + "column": "sum(b.ct_sdc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_35_39_male", + "column": "sum(b.ct_sdc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_40_44_female", + "column": "sum(b.ct_sdc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_40_44_male", + "column": "sum(b.ct_sdc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_45_49_female", + "column": "sum(b.ct_sdc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_45_49_male", + "column": "sum(b.ct_sdc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_50_54_female", + "column": "sum(b.ct_sdc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_50_54_male", + "column": "sum(b.ct_sdc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_55_59_female", + "column": "sum(b.ct_sdc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_55_59_male", + "column": "sum(b.ct_sdc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_60_64_female", + "column": "sum(b.ct_sdc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_60_64_male", + "column": "sum(b.ct_sdc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_above_65_female", + "column": "sum(b.ct_sdc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "ct_sdc_above_65_male", + "column": "sum(b.ct_sdc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_ct_sdc", + "column": "sum(b.total_ct_sdc)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_15_19_female", + "column": "sum(b.ct_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_15_19_male", + "column": "sum(b.ct_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_20_24_female", + "column": "sum(b.ct_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_20_24_male", + "column": "sum(b.ct_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_25_29_female", + "column": "sum(b.ct_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_25_29_male", + "column": "sum(b.ct_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_30_34_female", + "column": "sum(b.ct_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_30_34_male", + "column": "sum(b.ct_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_35_39_female", + "column": "sum(b.ct_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_35_39_male", + "column": "sum(b.ct_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_40_44_female", + "column": "sum(b.ct_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_40_44_male", + "column": "sum(b.ct_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_45_49_female", + "column": "sum(b.ct_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_45_49_male", + "column": "sum(b.ct_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_50_54_female", + "column": "sum(b.ct_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_50_54_male", + "column": "sum(b.ct_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_55_59_female", + "column": "sum(b.ct_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_55_59_male", + "column": "sum(b.ct_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_60_64_female", + "column": "sum(b.ct_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_60_64_male", + "column": "sum(b.ct_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_above_65_female", + "column": "sum(b.ct_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "ct_pbfw_above_65_male", + "column": "sum(b.ct_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_ct_pbfw", + "column": "sum(b.total_ct_pbfw)" + }, + { + "type": "simple_column", + "alias": "he_tg_15_19_female", + "column": "sum(b.he_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "he_tg_15_19_male", + "column": "sum(b.he_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "he_tg_20_24_female", + "column": "sum(b.he_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "he_tg_20_24_male", + "column": "sum(b.he_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "he_tg_25_29_female", + "column": "sum(b.he_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "he_tg_25_29_male", + "column": "sum(b.he_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "he_tg_30_34_female", + "column": "sum(b.he_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "he_tg_30_34_male", + "column": "sum(b.he_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "he_tg_35_39_female", + "column": "sum(b.he_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "he_tg_35_39_male", + "column": "sum(b.he_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "he_tg_40_44_female", + "column": "sum(b.he_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "he_tg_40_44_male", + "column": "sum(b.he_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "he_tg_45_49_female", + "column": "sum(b.he_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "he_tg_45_49_male", + "column": "sum(b.he_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "he_tg_50_54_female", + "column": "sum(b.he_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "he_tg_50_54_male", + "column": "sum(b.he_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "he_tg_55_59_female", + "column": "sum(b.he_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "he_tg_55_59_male", + "column": "sum(b.he_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "he_tg_60_64_female", + "column": "sum(b.he_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "he_tg_60_64_male", + "column": "sum(b.he_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "he_tg_above_65_female", + "column": "sum(b.he_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "he_tg_above_65_male", + "column": "sum(b.he_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_he_tg", + "column": "sum(b.total_he_tg)" + }, + { + "type": "simple_column", + "alias": "he_agyw_15_19_female", + "column": "sum(b.he_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "he_agyw_15_19_male", + "column": "sum(b.he_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "he_agyw_20_24_female", + "column": "sum(b.he_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "he_agyw_20_24_male", + "column": "sum(b.he_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "he_agyw_25_29_female", + "column": "sum(b.he_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "he_agyw_25_29_male", + "column": "sum(b.he_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "he_agyw_30_34_female", + "column": "sum(b.he_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "he_agyw_30_34_male", + "column": "sum(b.he_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "he_agyw_35_39_female", + "column": "sum(b.he_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "he_agyw_35_39_male", + "column": "sum(b.he_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "he_agyw_40_44_female", + "column": "sum(b.he_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "he_agyw_40_44_male", + "column": "sum(b.he_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "he_agyw_45_49_female", + "column": "sum(b.he_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "he_agyw_45_49_male", + "column": "sum(b.he_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "he_agyw_50_54_female", + "column": "sum(b.he_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "he_agyw_50_54_male", + "column": "sum(b.he_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "he_agyw_55_59_female", + "column": "sum(b.he_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "he_agyw_55_59_male", + "column": "sum(b.he_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "he_agyw_60_64_female", + "column": "sum(b.he_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "he_agyw_60_64_male", + "column": "sum(b.he_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "he_agyw_above_65_female", + "column": "sum(b.he_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "he_agyw_above_65_male", + "column": "sum(b.he_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_he_agyw", + "column": "sum(b.total_he_agyw)" + }, + { + "type": "simple_column", + "alias": "he_msm_15_19_female", + "column": "sum(b.he_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "he_msm_15_19_male", + "column": "sum(b.he_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "he_msm_20_24_female", + "column": "sum(b.he_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "he_msm_20_24_male", + "column": "sum(b.he_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "he_msm_25_29_female", + "column": "sum(b.he_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "he_msm_25_29_male", + "column": "sum(b.he_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "he_msm_30_34_female", + "column": "sum(b.he_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "he_msm_30_34_male", + "column": "sum(b.he_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "he_msm_35_39_female", + "column": "sum(b.he_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "he_msm_35_39_male", + "column": "sum(b.he_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "he_msm_40_44_female", + "column": "sum(b.he_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "he_msm_40_44_male", + "column": "sum(b.he_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "he_msm_45_49_female", + "column": "sum(b.he_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "he_msm_45_49_male", + "column": "sum(b.he_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "he_msm_50_54_female", + "column": "sum(b.he_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "he_msm_50_54_male", + "column": "sum(b.he_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "he_msm_55_59_female", + "column": "sum(b.he_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "he_msm_55_59_male", + "column": "sum(b.he_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "he_msm_60_64_female", + "column": "sum(b.he_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "he_msm_60_64_male", + "column": "sum(b.he_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "he_msm_above_65_female", + "column": "sum(b.he_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "he_msm_above_65_male", + "column": "sum(b.he_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_he_msm", + "column": "sum(b.total_he_msm)" + }, + { + "type": "simple_column", + "alias": "he_mahr_15_19_female", + "column": "sum(b.he_mahr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "he_mahr_15_19_male", + "column": "sum(b.he_mahr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "he_mahr_20_24_female", + "column": "sum(b.he_mahr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "he_mahr_20_24_male", + "column": "sum(b.he_mahr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "he_mahr_25_29_female", + "column": "sum(b.he_mahr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "he_mahr_25_29_male", + "column": "sum(b.he_mahr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "he_mahr_30_34_female", + "column": "sum(b.he_mahr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "he_mahr_30_34_male", + "column": "sum(b.he_mahr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "he_mahr_35_39_female", + "column": "sum(b.he_mahr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "he_mahr_35_39_male", + "column": "sum(b.he_mahr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "he_mahr_40_44_female", + "column": "sum(b.he_mahr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "he_mahr_40_44_male", + "column": "sum(b.he_mahr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "he_mahr_45_49_female", + "column": "sum(b.he_mahr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "he_mahr_45_49_male", + "column": "sum(b.he_mahr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "he_mahr_50_54_female", + "column": "sum(b.he_mahr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "he_mahr_50_54_male", + "column": "sum(b.he_mahr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "he_mahr_55_59_female", + "column": "sum(b.he_mahr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "he_mahr_55_59_male", + "column": "sum(b.he_mahr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "he_mahr_60_64_female", + "column": "sum(b.he_mahr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "he_mahr_60_64_male", + "column": "sum(b.he_mahr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "he_mahr_above_65_female", + "column": "sum(b.he_mahr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "he_mahr_above_65_male", + "column": "sum(b.he_mahr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_he_mahr", + "column": "sum(b.total_he_mahr)" + }, + { + "type": "simple_column", + "alias": "he_fsw_15_19_female", + "column": "sum(b.he_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "he_fsw_15_19_male", + "column": "sum(b.he_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "he_fsw_20_24_female", + "column": "sum(b.he_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "he_fsw_20_24_male", + "column": "sum(b.he_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "he_fsw_25_29_female", + "column": "sum(b.he_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "he_fsw_25_29_male", + "column": "sum(b.he_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "he_fsw_30_34_female", + "column": "sum(b.he_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "he_fsw_30_34_male", + "column": "sum(b.he_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "he_fsw_35_39_female", + "column": "sum(b.he_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "he_fsw_35_39_male", + "column": "sum(b.he_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "he_fsw_40_44_female", + "column": "sum(b.he_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "he_fsw_40_44_male", + "column": "sum(b.he_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "he_fsw_45_49_female", + "column": "sum(b.he_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "he_fsw_45_49_male", + "column": "sum(b.he_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "he_fsw_50_54_female", + "column": "sum(b.he_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "he_fsw_50_54_male", + "column": "sum(b.he_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "he_fsw_55_59_female", + "column": "sum(b.he_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "he_fsw_55_59_male", + "column": "sum(b.he_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "he_fsw_60_64_female", + "column": "sum(b.he_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "he_fsw_60_64_male", + "column": "sum(b.he_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "he_fsw_above_65_female", + "column": "sum(b.he_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "he_fsw_above_65_male", + "column": "sum(b.he_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_he_fsw", + "column": "sum(b.total_he_fsw)" + }, + { + "type": "simple_column", + "alias": "he_pwid_15_19_female", + "column": "sum(b.he_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "he_pwid_15_19_male", + "column": "sum(b.he_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "he_pwid_20_24_female", + "column": "sum(b.he_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "he_pwid_20_24_male", + "column": "sum(b.he_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "he_pwid_25_29_female", + "column": "sum(b.he_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "he_pwid_25_29_male", + "column": "sum(b.he_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "he_pwid_30_34_female", + "column": "sum(b.he_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "he_pwid_30_34_male", + "column": "sum(b.he_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "he_pwid_35_39_female", + "column": "sum(b.he_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "he_pwid_35_39_male", + "column": "sum(b.he_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "he_pwid_40_44_female", + "column": "sum(b.he_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "he_pwid_40_44_male", + "column": "sum(b.he_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "he_pwid_45_49_female", + "column": "sum(b.he_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "he_pwid_45_49_male", + "column": "sum(b.he_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "he_pwid_50_54_female", + "column": "sum(b.he_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "he_pwid_50_54_male", + "column": "sum(b.he_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "he_pwid_55_59_female", + "column": "sum(b.he_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "he_pwid_55_59_male", + "column": "sum(b.he_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "he_pwid_60_64_female", + "column": "sum(b.he_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "he_pwid_60_64_male", + "column": "sum(b.he_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "he_pwid_above_65_female", + "column": "sum(b.he_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "he_pwid_above_65_male", + "column": "sum(b.he_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_he_pwid", + "column": "sum(b.total_he_pwid)" + }, + { + "type": "simple_column", + "alias": "he_ow_15_19_female", + "column": "sum(b.he_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "he_ow_15_19_male", + "column": "sum(b.he_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "he_ow_20_24_female", + "column": "sum(b.he_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "he_ow_20_24_male", + "column": "sum(b.he_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "he_ow_25_29_female", + "column": "sum(b.he_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "he_ow_25_29_male", + "column": "sum(b.he_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "he_ow_30_34_female", + "column": "sum(b.he_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "he_ow_30_34_male", + "column": "sum(b.he_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "he_ow_35_39_female", + "column": "sum(b.he_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "he_ow_35_39_male", + "column": "sum(b.he_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "he_ow_40_44_female", + "column": "sum(b.he_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "he_ow_40_44_male", + "column": "sum(b.he_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "he_ow_45_49_female", + "column": "sum(b.he_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "he_ow_45_49_male", + "column": "sum(b.he_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "he_ow_50_54_female", + "column": "sum(b.he_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "he_ow_50_54_male", + "column": "sum(b.he_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "he_ow_55_59_female", + "column": "sum(b.he_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "he_ow_55_59_male", + "column": "sum(b.he_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "he_ow_60_64_female", + "column": "sum(b.he_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "he_ow_60_64_male", + "column": "sum(b.he_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "he_ow_above_65_female", + "column": "sum(b.he_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "he_ow_above_65_male", + "column": "sum(b.he_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_he_ow", + "column": "sum(b.total_he_ow)" + }, + { + "type": "simple_column", + "alias": "he_sdc_15_19_female", + "column": "sum(b.he_sdc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "he_sdc_15_19_male", + "column": "sum(b.he_sdc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "he_sdc_20_24_female", + "column": "sum(b.he_sdc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "he_sdc_20_24_male", + "column": "sum(b.he_sdc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "he_sdc_25_29_female", + "column": "sum(b.he_sdc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "he_sdc_25_29_male", + "column": "sum(b.he_sdc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "he_sdc_30_34_female", + "column": "sum(b.he_sdc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "he_sdc_30_34_male", + "column": "sum(b.he_sdc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "he_sdc_35_39_female", + "column": "sum(b.he_sdc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "he_sdc_35_39_male", + "column": "sum(b.he_sdc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "he_sdc_40_44_female", + "column": "sum(b.he_sdc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "he_sdc_40_44_male", + "column": "sum(b.he_sdc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "he_sdc_45_49_female", + "column": "sum(b.he_sdc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "he_sdc_45_49_male", + "column": "sum(b.he_sdc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "he_sdc_50_54_female", + "column": "sum(b.he_sdc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "he_sdc_50_54_male", + "column": "sum(b.he_sdc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "he_sdc_55_59_female", + "column": "sum(b.he_sdc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "he_sdc_55_59_male", + "column": "sum(b.he_sdc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "he_sdc_60_64_female", + "column": "sum(b.he_sdc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "he_sdc_60_64_male", + "column": "sum(b.he_sdc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "he_sdc_above_65_female", + "column": "sum(b.he_sdc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "he_sdc_above_65_male", + "column": "sum(b.he_sdc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_he_sdc", + "column": "sum(b.total_he_sdc)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_15_19_female", + "column": "sum(b.he_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_15_19_male", + "column": "sum(b.he_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_20_24_female", + "column": "sum(b.he_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_20_24_male", + "column": "sum(b.he_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_25_29_female", + "column": "sum(b.he_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_25_29_male", + "column": "sum(b.he_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_30_34_female", + "column": "sum(b.he_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_30_34_male", + "column": "sum(b.he_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_35_39_female", + "column": "sum(b.he_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_35_39_male", + "column": "sum(b.he_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_40_44_female", + "column": "sum(b.he_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_40_44_male", + "column": "sum(b.he_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_45_49_female", + "column": "sum(b.he_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_45_49_male", + "column": "sum(b.he_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_50_54_female", + "column": "sum(b.he_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_50_54_male", + "column": "sum(b.he_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_55_59_female", + "column": "sum(b.he_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_55_59_male", + "column": "sum(b.he_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_60_64_female", + "column": "sum(b.he_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_60_64_male", + "column": "sum(b.he_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_above_65_female", + "column": "sum(b.he_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "he_pbfw_above_65_male", + "column": "sum(b.he_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_he_pbfw", + "column": "sum(b.total_he_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/eligibility/eligible-for-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-base.json new file mode 100644 index 000000000..5d7a5fd0f --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-base.json @@ -0,0 +1,5084 @@ +{ + "name": "eligibleForPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "is_eligible_for_prep", + "column": "pd.is_eligible_for_prep" + }, + { + "type": "derived_column", + "alias": "e_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_e_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_e_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_e_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_mahr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_e_mahr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_e_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_e_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_e_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_sdc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_e_sdc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "e_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_e_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ct_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ct_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ct_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_mahr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ct_mahr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ct_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ct_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ct_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_sdc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ct_sdc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "ct_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_ct_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_he_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_he_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_he_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_mahr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_he_mahr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_he_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_he_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_he_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_sdc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_he_sdc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "he_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_he_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.is_eligible_for_prep = 1 AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "DATE_FORMAT(pd.endDate,'%Y-%m')" + } + } + ], + "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/event-driven/prep-event-driven-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/event-driven/prep-event-driven-aggregate.json new file mode 100644 index 000000000..9574aba42 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/event-driven/prep-event-driven-aggregate.json @@ -0,0 +1,186 @@ +{ + "name": "eventDrivenPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "eventDrivenPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "eventDrivenPrepBase", + "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": "edp_mhr_15_19_male", + "column": "sum(b.edp_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_15_19_female", + "column": "sum(b.edp_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_20_24_male", + "column": "sum(b.edp_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_20_24_female", + "column": "sum(b.edp_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_25_29_male", + "column": "sum(b.edp_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_25_29_female", + "column": "sum(b.edp_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_30_34_male", + "column": "sum(b.edp_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_30_34_female", + "column": "sum(b.edp_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_35_39_male", + "column": "sum(b.edp_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_35_39_female", + "column": "sum(b.edp_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_40_44_male", + "column": "sum(b.edp_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_40_44_female", + "column": "sum(b.edp_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_45_49_male", + "column": "sum(b.edp_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_45_49_female", + "column": "sum(b.edp_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_50_54_male", + "column": "sum(b.edp_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_50_54_female", + "column": "sum(b.edp_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_55_59_male", + "column": "sum(b.edp_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_55_59_female", + "column": "sum(b.edp_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_60_64_male", + "column": "sum(b.edp_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_60_64_female", + "column": "sum(b.edp_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_above_65_male", + "column": "sum(b.edp_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "edp_mhr_above_65_female", + "column": "sum(b.edp_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_edp_mhr", + "column": "sum(b.total_edp_mhr)" + } + ], + "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/event-driven/prep-event-driven-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/event-driven/prep-event-driven-base.json new file mode 100644 index 000000000..83d3dbd99 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/event-driven/prep-event-driven-base.json @@ -0,0 +1,295 @@ +{ + "name": "eventDrivenPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "edp_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "edp_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_edp_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.is_event_driven_prep = 1 ), 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/new/new-for-prep-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-aggregate.json new file mode 100644 index 000000000..36f386b4b --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-aggregate.json @@ -0,0 +1,1116 @@ +{ + "name": "newForPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "newForPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "newForPrepBase", + "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": "initiated_this_month", + "column": "sum(b.is_initiated_on_prep)" + }, + { + "type": "simple_column", + "alias": "i_tg_15_19_female", + "column": "sum(b.i_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "i_tg_15_19_male", + "column": "sum(b.i_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "i_tg_20_24_female", + "column": "sum(b.i_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "i_tg_20_24_male", + "column": "sum(b.i_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "i_tg_25_29_female", + "column": "sum(b.i_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "i_tg_25_29_male", + "column": "sum(b.i_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "i_tg_30_34_female", + "column": "sum(b.i_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "i_tg_30_34_male", + "column": "sum(b.i_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "i_tg_35_39_female", + "column": "sum(b.i_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "i_tg_35_39_male", + "column": "sum(b.i_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "i_tg_40_44_female", + "column": "sum(b.i_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "i_tg_40_44_male", + "column": "sum(b.i_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "i_tg_45_49_female", + "column": "sum(b.i_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "i_tg_45_49_male", + "column": "sum(b.i_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "i_tg_50_54_female", + "column": "sum(b.i_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "i_tg_50_54_male", + "column": "sum(b.i_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "i_tg_55_59_female", + "column": "sum(b.i_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "i_tg_55_59_male", + "column": "sum(b.i_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "i_tg_60_64_female", + "column": "sum(b.i_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "i_tg_60_64_male", + "column": "sum(b.i_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "i_tg_above_65_female", + "column": "sum(b.i_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "i_tg_above_65_male", + "column": "sum(b.i_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_i_tg", + "column": "sum(b.total_i_tg)" + }, + { + "type": "simple_column", + "alias": "i_agyw_15_19_female", + "column": "sum(b.i_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "i_agyw_15_19_male", + "column": "sum(b.i_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "i_agyw_20_24_female", + "column": "sum(b.i_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "i_agyw_20_24_male", + "column": "sum(b.i_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "i_agyw_25_29_female", + "column": "sum(b.i_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "i_agyw_25_29_male", + "column": "sum(b.i_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "i_agyw_30_34_female", + "column": "sum(b.i_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "i_agyw_30_34_male", + "column": "sum(b.i_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "i_agyw_35_39_female", + "column": "sum(b.i_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "i_agyw_35_39_male", + "column": "sum(b.i_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "i_agyw_40_44_female", + "column": "sum(b.i_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "i_agyw_40_44_male", + "column": "sum(b.i_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "i_agyw_45_49_female", + "column": "sum(b.i_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "i_agyw_45_49_male", + "column": "sum(b.i_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "i_agyw_50_54_female", + "column": "sum(b.i_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "i_agyw_50_54_male", + "column": "sum(b.i_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "i_agyw_55_59_female", + "column": "sum(b.i_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "i_agyw_55_59_male", + "column": "sum(b.i_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "i_agyw_60_64_female", + "column": "sum(b.i_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "i_agyw_60_64_male", + "column": "sum(b.i_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "i_agyw_above_65_female", + "column": "sum(b.i_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "i_agyw_above_65_male", + "column": "sum(b.i_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_i_agyw", + "column": "sum(b.total_i_agyw)" + }, + { + "type": "simple_column", + "alias": "i_msm_15_19_female", + "column": "sum(b.i_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "i_msm_15_19_male", + "column": "sum(b.i_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "i_msm_20_24_female", + "column": "sum(b.i_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "i_msm_20_24_male", + "column": "sum(b.i_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "i_msm_25_29_female", + "column": "sum(b.i_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "i_msm_25_29_male", + "column": "sum(b.i_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "i_msm_30_34_female", + "column": "sum(b.i_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "i_msm_30_34_male", + "column": "sum(b.i_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "i_msm_35_39_female", + "column": "sum(b.i_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "i_msm_35_39_male", + "column": "sum(b.i_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "i_msm_40_44_female", + "column": "sum(b.i_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "i_msm_40_44_male", + "column": "sum(b.i_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "i_msm_45_49_female", + "column": "sum(b.i_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "i_msm_45_49_male", + "column": "sum(b.i_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "i_msm_50_54_female", + "column": "sum(b.i_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "i_msm_50_54_male", + "column": "sum(b.i_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "i_msm_55_59_female", + "column": "sum(b.i_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "i_msm_55_59_male", + "column": "sum(b.i_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "i_msm_60_64_female", + "column": "sum(b.i_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "i_msm_60_64_male", + "column": "sum(b.i_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "i_msm_above_65_female", + "column": "sum(b.i_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "i_msm_above_65_male", + "column": "sum(b.i_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_i_msm", + "column": "sum(b.total_i_msm)" + }, + { + "type": "simple_column", + "alias": "i_mahr_15_19_female", + "column": "sum(b.i_mahr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "i_mahr_15_19_male", + "column": "sum(b.i_mahr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "i_mahr_20_24_female", + "column": "sum(b.i_mahr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "i_mahr_20_24_male", + "column": "sum(b.i_mahr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "i_mahr_25_29_female", + "column": "sum(b.i_mahr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "i_mahr_25_29_male", + "column": "sum(b.i_mahr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "i_mahr_30_34_female", + "column": "sum(b.i_mahr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "i_mahr_30_34_male", + "column": "sum(b.i_mahr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "i_mahr_35_39_female", + "column": "sum(b.i_mahr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "i_mahr_35_39_male", + "column": "sum(b.i_mahr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "i_mahr_40_44_female", + "column": "sum(b.i_mahr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "i_mahr_40_44_male", + "column": "sum(b.i_mahr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "i_mahr_45_49_female", + "column": "sum(b.i_mahr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "i_mahr_45_49_male", + "column": "sum(b.i_mahr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "i_mahr_50_54_female", + "column": "sum(b.i_mahr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "i_mahr_50_54_male", + "column": "sum(b.i_mahr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "i_mahr_55_59_female", + "column": "sum(b.i_mahr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "i_mahr_55_59_male", + "column": "sum(b.i_mahr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "i_mahr_60_64_female", + "column": "sum(b.i_mahr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "i_mahr_60_64_male", + "column": "sum(b.i_mahr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "i_mahr_above_65_female", + "column": "sum(b.i_mahr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "i_mahr_above_65_male", + "column": "sum(b.i_mahr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_i_mahr", + "column": "sum(b.total_i_mahr)" + }, + { + "type": "simple_column", + "alias": "i_fsw_15_19_female", + "column": "sum(b.i_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "i_fsw_15_19_male", + "column": "sum(b.i_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "i_fsw_20_24_female", + "column": "sum(b.i_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "i_fsw_20_24_male", + "column": "sum(b.i_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "i_fsw_25_29_female", + "column": "sum(b.i_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "i_fsw_25_29_male", + "column": "sum(b.i_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "i_fsw_30_34_female", + "column": "sum(b.i_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "i_fsw_30_34_male", + "column": "sum(b.i_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "i_fsw_35_39_female", + "column": "sum(b.i_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "i_fsw_35_39_male", + "column": "sum(b.i_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "i_fsw_40_44_female", + "column": "sum(b.i_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "i_fsw_40_44_male", + "column": "sum(b.i_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "i_fsw_45_49_female", + "column": "sum(b.i_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "i_fsw_45_49_male", + "column": "sum(b.i_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "i_fsw_50_54_female", + "column": "sum(b.i_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "i_fsw_50_54_male", + "column": "sum(b.i_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "i_fsw_55_59_female", + "column": "sum(b.i_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "i_fsw_55_59_male", + "column": "sum(b.i_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "i_fsw_60_64_female", + "column": "sum(b.i_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "i_fsw_60_64_male", + "column": "sum(b.i_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "i_fsw_above_65_female", + "column": "sum(b.i_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "i_fsw_above_65_male", + "column": "sum(b.i_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_i_fsw", + "column": "sum(b.total_i_fsw)" + }, + { + "type": "simple_column", + "alias": "i_pwid_15_19_female", + "column": "sum(b.i_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "i_pwid_15_19_male", + "column": "sum(b.i_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "i_pwid_20_24_female", + "column": "sum(b.i_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "i_pwid_20_24_male", + "column": "sum(b.i_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "i_pwid_25_29_female", + "column": "sum(b.i_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "i_pwid_25_29_male", + "column": "sum(b.i_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "i_pwid_30_34_female", + "column": "sum(b.i_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "i_pwid_30_34_male", + "column": "sum(b.i_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "i_pwid_35_39_female", + "column": "sum(b.i_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "i_pwid_35_39_male", + "column": "sum(b.i_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "i_pwid_40_44_female", + "column": "sum(b.i_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "i_pwid_40_44_male", + "column": "sum(b.i_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "i_pwid_45_49_female", + "column": "sum(b.i_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "i_pwid_45_49_male", + "column": "sum(b.i_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "i_pwid_50_54_female", + "column": "sum(b.i_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "i_pwid_50_54_male", + "column": "sum(b.i_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "i_pwid_55_59_female", + "column": "sum(b.i_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "i_pwid_55_59_male", + "column": "sum(b.i_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "i_pwid_60_64_female", + "column": "sum(b.i_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "i_pwid_60_64_male", + "column": "sum(b.i_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "i_pwid_above_65_female", + "column": "sum(b.i_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "i_pwid_above_65_male", + "column": "sum(b.i_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_i_pwid", + "column": "sum(b.total_i_pwid)" + }, + { + "type": "simple_column", + "alias": "i_ow_15_19_female", + "column": "sum(b.i_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "i_ow_15_19_male", + "column": "sum(b.i_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "i_ow_20_24_female", + "column": "sum(b.i_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "i_ow_20_24_male", + "column": "sum(b.i_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "i_ow_25_29_female", + "column": "sum(b.i_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "i_ow_25_29_male", + "column": "sum(b.i_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "i_ow_30_34_female", + "column": "sum(b.i_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "i_ow_30_34_male", + "column": "sum(b.i_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "i_ow_35_39_female", + "column": "sum(b.i_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "i_ow_35_39_male", + "column": "sum(b.i_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "i_ow_40_44_female", + "column": "sum(b.i_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "i_ow_40_44_male", + "column": "sum(b.i_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "i_ow_45_49_female", + "column": "sum(b.i_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "i_ow_45_49_male", + "column": "sum(b.i_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "i_ow_50_54_female", + "column": "sum(b.i_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "i_ow_50_54_male", + "column": "sum(b.i_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "i_ow_55_59_female", + "column": "sum(b.i_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "i_ow_55_59_male", + "column": "sum(b.i_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "i_ow_60_64_female", + "column": "sum(b.i_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "i_ow_60_64_male", + "column": "sum(b.i_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "i_ow_above_65_female", + "column": "sum(b.i_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "i_ow_above_65_male", + "column": "sum(b.i_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_i_ow", + "column": "sum(b.total_i_ow)" + }, + { + "type": "simple_column", + "alias": "i_sdc_15_19_female", + "column": "sum(b.i_sdc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "i_sdc_15_19_male", + "column": "sum(b.i_sdc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "i_sdc_20_24_female", + "column": "sum(b.i_sdc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "i_sdc_20_24_male", + "column": "sum(b.i_sdc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "i_sdc_25_29_female", + "column": "sum(b.i_sdc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "i_sdc_25_29_male", + "column": "sum(b.i_sdc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "i_sdc_30_34_female", + "column": "sum(b.i_sdc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "i_sdc_30_34_male", + "column": "sum(b.i_sdc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "i_sdc_35_39_female", + "column": "sum(b.i_sdc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "i_sdc_35_39_male", + "column": "sum(b.i_sdc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "i_sdc_40_44_female", + "column": "sum(b.i_sdc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "i_sdc_40_44_male", + "column": "sum(b.i_sdc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "i_sdc_45_49_female", + "column": "sum(b.i_sdc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "i_sdc_45_49_male", + "column": "sum(b.i_sdc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "i_sdc_50_54_female", + "column": "sum(b.i_sdc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "i_sdc_50_54_male", + "column": "sum(b.i_sdc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "i_sdc_55_59_female", + "column": "sum(b.i_sdc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "i_sdc_55_59_male", + "column": "sum(b.i_sdc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "i_sdc_60_64_female", + "column": "sum(b.i_sdc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "i_sdc_60_64_male", + "column": "sum(b.i_sdc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "i_sdc_above_65_female", + "column": "sum(b.i_sdc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "i_sdc_above_65_male", + "column": "sum(b.i_sdc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_i_sdc", + "column": "sum(b.total_i_sdc)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_15_19_female", + "column": "sum(b.i_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_15_19_male", + "column": "sum(b.i_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_20_24_female", + "column": "sum(b.i_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_20_24_male", + "column": "sum(b.i_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_25_29_female", + "column": "sum(b.i_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_25_29_male", + "column": "sum(b.i_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_30_34_female", + "column": "sum(b.i_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_30_34_male", + "column": "sum(b.i_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_35_39_female", + "column": "sum(b.i_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_35_39_male", + "column": "sum(b.i_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_40_44_female", + "column": "sum(b.i_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_40_44_male", + "column": "sum(b.i_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_45_49_female", + "column": "sum(b.i_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_45_49_male", + "column": "sum(b.i_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_50_54_female", + "column": "sum(b.i_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_50_54_male", + "column": "sum(b.i_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_55_59_female", + "column": "sum(b.i_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_55_59_male", + "column": "sum(b.i_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_60_64_female", + "column": "sum(b.i_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_60_64_male", + "column": "sum(b.i_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_above_65_female", + "column": "sum(b.i_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "i_pbfw_above_65_male", + "column": "sum(b.i_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_i_pbfw", + "column": "sum(b.total_i_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_initiated_on_prep_this_month", + "column": "sum(b.total_initiated_on_prep_this_month)" + } + ], + "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/new/new-for-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json new file mode 100644 index 000000000..b0880c767 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json @@ -0,0 +1,1780 @@ +{ + "name": "newForPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "is_initiated_on_prep", + "column": "pd.enrolled_in_prep_this_month" + }, + { + "type": "derived_column", + "alias": "i_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 ) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 60) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_i_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 1 OR pd.sub_population_type = 50 OR pd.sub_population_type = 60)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_i_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_i_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_mahr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_i_mahr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_i_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_i_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_i_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_sdc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_i_sdc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "i_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_i_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1 AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_initiated_on_prep_this_month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.enrolled_in_prep_this_month = 1), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "DATE_FORMAT(pd.endDate,'%Y-%m')" + } + } + ], + "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/gbv-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-aggregate.json new file mode 100644 index 000000000..c8ea35160 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-aggregate.json @@ -0,0 +1,1111 @@ +{ + "name": "gbvPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "gbvPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "gbvPrepBase", + "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": "dd_tg_15_19_male", + "column": "sum(b.dd_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "dd_tg_15_19_female", + "column": "sum(b.dd_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "dd_tg_20_24_male", + "column": "sum(b.dd_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "dd_tg_20_24_female", + "column": "sum(b.dd_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "dd_tg_25_29_male", + "column": "sum(b.dd_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "dd_tg_25_29_female", + "column": "sum(b.dd_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "dd_tg_30_34_male", + "column": "sum(b.dd_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "dd_tg_30_34_female", + "column": "sum(b.dd_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "dd_tg_35_39_male", + "column": "sum(b.dd_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "dd_tg_35_39_female", + "column": "sum(b.dd_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "dd_tg_40_44_male", + "column": "sum(b.dd_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "dd_tg_40_44_female", + "column": "sum(b.dd_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "dd_tg_45_49_male", + "column": "sum(b.dd_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "dd_tg_45_49_female", + "column": "sum(b.dd_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "dd_tg_50_54_male", + "column": "sum(b.dd_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "dd_tg_50_54_female", + "column": "sum(b.dd_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "dd_tg_55_59_male", + "column": "sum(b.dd_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "dd_tg_55_59_female", + "column": "sum(b.dd_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "dd_tg_60_64_male", + "column": "sum(b.dd_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "dd_tg_60_64_female", + "column": "sum(b.dd_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "dd_tg_above_65_male", + "column": "sum(b.dd_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "dd_tg_above_65_female", + "column": "sum(b.dd_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_dd_tg", + "column": "sum(b.total_dd_tg)" + }, + { + "type": "simple_column", + "alias": "dd_msm_15_19_male", + "column": "sum(b.dd_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "dd_msm_15_19_female", + "column": "sum(b.dd_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "dd_msm_20_24_male", + "column": "sum(b.dd_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "dd_msm_20_24_female", + "column": "sum(b.dd_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "dd_msm_25_29_male", + "column": "sum(b.dd_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "dd_msm_25_29_female", + "column": "sum(b.dd_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "dd_msm_30_34_male", + "column": "sum(b.dd_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "dd_msm_30_34_female", + "column": "sum(b.dd_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "dd_msm_35_39_male", + "column": "sum(b.dd_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "dd_msm_35_39_female", + "column": "sum(b.dd_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "dd_msm_40_44_male", + "column": "sum(b.dd_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "dd_msm_40_44_female", + "column": "sum(b.dd_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "dd_msm_45_49_male", + "column": "sum(b.dd_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "dd_msm_45_49_female", + "column": "sum(b.dd_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "dd_msm_50_54_male", + "column": "sum(b.dd_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "dd_msm_50_54_female", + "column": "sum(b.dd_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "dd_msm_55_59_male", + "column": "sum(b.dd_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "dd_msm_55_59_female", + "column": "sum(b.dd_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "dd_msm_60_64_male", + "column": "sum(b.dd_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "dd_msm_60_64_female", + "column": "sum(b.dd_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "dd_msm_above_65_male", + "column": "sum(b.dd_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "dd_msm_above_65_female", + "column": "sum(b.dd_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_dd_msm", + "column": "sum(b.total_dd_msm)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_15_19_male", + "column": "sum(b.dd_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_15_19_female", + "column": "sum(b.dd_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_20_24_male", + "column": "sum(b.dd_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_20_24_female", + "column": "sum(b.dd_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_25_29_male", + "column": "sum(b.dd_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_25_29_female", + "column": "sum(b.dd_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_30_34_male", + "column": "sum(b.dd_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_30_34_female", + "column": "sum(b.dd_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_35_39_male", + "column": "sum(b.dd_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_35_39_female", + "column": "sum(b.dd_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_40_44_male", + "column": "sum(b.dd_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_40_44_female", + "column": "sum(b.dd_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_45_49_male", + "column": "sum(b.dd_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_45_49_female", + "column": "sum(b.dd_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_50_54_male", + "column": "sum(b.dd_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_50_54_female", + "column": "sum(b.dd_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_55_59_male", + "column": "sum(b.dd_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_55_59_female", + "column": "sum(b.dd_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_60_64_male", + "column": "sum(b.dd_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_60_64_female", + "column": "sum(b.dd_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_above_65_male", + "column": "sum(b.dd_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "dd_agyw_above_65_female", + "column": "sum(b.dd_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_dd_agyw", + "column": "sum(b.total_dd_agyw)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_15_19_male", + "column": "sum(b.dd_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_15_19_female", + "column": "sum(b.dd_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_20_24_male", + "column": "sum(b.dd_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_20_24_female", + "column": "sum(b.dd_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_25_29_male", + "column": "sum(b.dd_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_25_29_female", + "column": "sum(b.dd_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_30_34_male", + "column": "sum(b.dd_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_30_34_female", + "column": "sum(b.dd_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_35_39_male", + "column": "sum(b.dd_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_35_39_female", + "column": "sum(b.dd_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_40_44_male", + "column": "sum(b.dd_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_40_44_female", + "column": "sum(b.dd_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_45_49_male", + "column": "sum(b.dd_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_45_49_female", + "column": "sum(b.dd_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_50_54_male", + "column": "sum(b.dd_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_50_54_female", + "column": "sum(b.dd_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_55_59_male", + "column": "sum(b.dd_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_55_59_female", + "column": "sum(b.dd_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_60_64_male", + "column": "sum(b.dd_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_60_64_female", + "column": "sum(b.dd_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_above_65_male", + "column": "sum(b.dd_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "dd_mhr_above_65_female", + "column": "sum(b.dd_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_dd_mhr", + "column": "sum(b.total_dd_mhr)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_15_19_male", + "column": "sum(b.dd_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_15_19_female", + "column": "sum(b.dd_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_20_24_male", + "column": "sum(b.dd_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_20_24_female", + "column": "sum(b.dd_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_25_29_male", + "column": "sum(b.dd_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_25_29_female", + "column": "sum(b.dd_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_30_34_male", + "column": "sum(b.dd_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_30_34_female", + "column": "sum(b.dd_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_35_39_male", + "column": "sum(b.dd_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_35_39_female", + "column": "sum(b.dd_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_40_44_male", + "column": "sum(b.dd_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_40_44_female", + "column": "sum(b.dd_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_45_49_male", + "column": "sum(b.dd_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_45_49_female", + "column": "sum(b.dd_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_50_54_male", + "column": "sum(b.dd_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_50_54_female", + "column": "sum(b.dd_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_55_59_male", + "column": "sum(b.dd_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_55_59_female", + "column": "sum(b.dd_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_60_64_male", + "column": "sum(b.dd_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_60_64_female", + "column": "sum(b.dd_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_above_65_male", + "column": "sum(b.dd_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "dd_fsw_above_65_female", + "column": "sum(b.dd_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_dd_fsw", + "column": "sum(b.total_dd_fsw)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_15_19_male", + "column": "sum(b.dd_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_15_19_female", + "column": "sum(b.dd_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_20_24_male", + "column": "sum(b.dd_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_20_24_female", + "column": "sum(b.dd_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_25_29_male", + "column": "sum(b.dd_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_25_29_female", + "column": "sum(b.dd_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_30_34_male", + "column": "sum(b.dd_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_30_34_female", + "column": "sum(b.dd_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_35_39_male", + "column": "sum(b.dd_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_35_39_female", + "column": "sum(b.dd_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_40_44_male", + "column": "sum(b.dd_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_40_44_female", + "column": "sum(b.dd_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_45_49_male", + "column": "sum(b.dd_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_45_49_female", + "column": "sum(b.dd_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_50_54_male", + "column": "sum(b.dd_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_50_54_female", + "column": "sum(b.dd_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_55_59_male", + "column": "sum(b.dd_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_55_59_female", + "column": "sum(b.dd_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_60_64_male", + "column": "sum(b.dd_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_60_64_female", + "column": "sum(b.dd_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_above_65_male", + "column": "sum(b.dd_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "dd_pwid_above_65_female", + "column": "sum(b.dd_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_dd_pwid", + "column": "sum(b.total_dd_pwid)" + }, + { + "type": "simple_column", + "alias": "dd_ow_15_19_male", + "column": "sum(b.dd_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "dd_ow_15_19_female", + "column": "sum(b.dd_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "dd_ow_20_24_male", + "column": "sum(b.dd_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "dd_ow_20_24_female", + "column": "sum(b.dd_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "dd_ow_25_29_male", + "column": "sum(b.dd_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "dd_ow_25_29_female", + "column": "sum(b.dd_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "dd_ow_30_34_male", + "column": "sum(b.dd_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "dd_ow_30_34_female", + "column": "sum(b.dd_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "dd_ow_35_39_male", + "column": "sum(b.dd_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "dd_ow_35_39_female", + "column": "sum(b.dd_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "dd_ow_40_44_male", + "column": "sum(b.dd_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "dd_ow_40_44_female", + "column": "sum(b.dd_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "dd_ow_45_49_male", + "column": "sum(b.dd_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "dd_ow_45_49_female", + "column": "sum(b.dd_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "dd_ow_50_54_male", + "column": "sum(b.dd_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "dd_ow_50_54_female", + "column": "sum(b.dd_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "dd_ow_55_59_male", + "column": "sum(b.dd_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "dd_ow_55_59_female", + "column": "sum(b.dd_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "dd_ow_60_64_male", + "column": "sum(b.dd_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "dd_ow_60_64_female", + "column": "sum(b.dd_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "dd_ow_above_65_male", + "column": "sum(b.dd_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "dd_ow_above_65_female", + "column": "sum(b.dd_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_dd_ow", + "column": "sum(b.total_dd_ow)" + }, + { + "type": "simple_column", + "alias": "dd_sc_15_19_male", + "column": "sum(b.dd_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "dd_sc_15_19_female", + "column": "sum(b.dd_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "dd_sc_20_24_male", + "column": "sum(b.dd_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "dd_sc_20_24_female", + "column": "sum(b.dd_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "dd_sc_25_29_male", + "column": "sum(b.dd_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "dd_sc_25_29_female", + "column": "sum(b.dd_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "dd_sc_30_34_male", + "column": "sum(b.dd_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "dd_sc_30_34_female", + "column": "sum(b.dd_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "dd_sc_35_39_male", + "column": "sum(b.dd_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "dd_sc_35_39_female", + "column": "sum(b.dd_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "dd_sc_40_44_male", + "column": "sum(b.dd_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "dd_sc_40_44_female", + "column": "sum(b.dd_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "dd_sc_45_49_male", + "column": "sum(b.dd_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "dd_sc_45_49_female", + "column": "sum(b.dd_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "dd_sc_50_54_male", + "column": "sum(b.dd_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "dd_sc_50_54_female", + "column": "sum(b.dd_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "dd_sc_55_59_male", + "column": "sum(b.dd_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "dd_sc_55_59_female", + "column": "sum(b.dd_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "dd_sc_60_64_male", + "column": "sum(b.dd_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "dd_sc_60_64_female", + "column": "sum(b.dd_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "dd_sc_above_65_male", + "column": "sum(b.dd_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "dd_sc_above_65_female", + "column": "sum(b.dd_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_dd_sc", + "column": "sum(b.total_dd_sc)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_15_19_male", + "column": "sum(b.dd_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_15_19_female", + "column": "sum(b.dd_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_20_24_male", + "column": "sum(b.dd_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_20_24_female", + "column": "sum(b.dd_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_25_29_male", + "column": "sum(b.dd_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_25_29_female", + "column": "sum(b.dd_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_30_34_male", + "column": "sum(b.dd_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_30_34_female", + "column": "sum(b.dd_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_35_39_male", + "column": "sum(b.dd_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_35_39_female", + "column": "sum(b.dd_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_40_44_male", + "column": "sum(b.dd_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_40_44_female", + "column": "sum(b.dd_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_45_49_male", + "column": "sum(b.dd_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_45_49_female", + "column": "sum(b.dd_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_50_54_male", + "column": "sum(b.dd_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_50_54_female", + "column": "sum(b.dd_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_55_59_male", + "column": "sum(b.dd_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_55_59_female", + "column": "sum(b.dd_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_60_64_male", + "column": "sum(b.dd_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_60_64_female", + "column": "sum(b.dd_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_above_65_male", + "column": "sum(b.dd_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "dd_pbfw_above_65_female", + "column": "sum(b.dd_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_dd_pbfw", + "column": "sum(b.total_dd_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_initiation_gbv", + "column": "sum(b.total_reason_for_initiation_gbv)" + } + ], + "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/gbv-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-base.json new file mode 100644 index 000000000..b13b7a369 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-base.json @@ -0,0 +1,1775 @@ +{ + "name": "gbvPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "dd_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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_dd_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_dd_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_dd_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 4 OR pd.old_population_type = 300 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 4 OR pd.old_population_type = 300 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 4 OR pd.old_population_type = 300 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 4 OR pd.old_population_type = 300 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 4 OR pd.old_population_type = 300 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 4 OR pd.old_population_type = 300 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 4 OR pd.old_population_type = 300 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 4 OR pd.old_population_type = 300 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 4 OR pd.old_population_type = 300 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 4 OR pd.old_population_type = 300 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type = 4 OR pd.old_population_type = 300 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_dd_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=4 OR pd.old_population_type=300 OR pd.is_event_driven_prep = 1)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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_dd_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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_dd_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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": "dd_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' 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_dd_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=7 OR pd.old_population_type=300)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "dd_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "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)" + } + }, + { + "type": "derived_column", + "alias": "total_dd_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND (pd.population_type=8 OR pd.old_population_type=100)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "dd_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_dd_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761' AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_initiation_gbv", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761'), 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/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..787310a6d --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-aggregate.json @@ -0,0 +1,1111 @@ +{ + "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)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_initiation_inconsistent_condom_use", + "column": "sum(b.total_reason_for_initiation_inconsistent_condom_use)" + } + ], + "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..a699b9875 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-base.json @@ -0,0 +1,1775 @@ +{ + "name": "inconsistentOrNoCondomUsePrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1)), 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)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_initiation_inconsistent_condom_use", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9761'), 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..3101704f3 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-aggregate.json @@ -0,0 +1,1111 @@ +{ + "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)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_initiation_other_reasons", + "column": "sum(b.total_reason_for_initiation_other_reasons)" + } + ], + "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..b7016c5af --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-base.json @@ -0,0 +1,1775 @@ +{ + "name": "otherReasonsForPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1)), 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)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_initiation_other_reasons", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5622'), 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/prep-reasons-for-initiation-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-aggregate.json new file mode 100644 index 000000000..067a17880 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-aggregate.json @@ -0,0 +1,2501 @@ +{ + "name": "reasonForInitiationPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "reasonForInitiationPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "reasonForInitiationPrepBase", + "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": "cvp_sc_15_19_male", + "column": "sum(b.cvp_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_15_19_female", + "column": "sum(b.cvp_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_20_24_male", + "column": "sum(b.cvp_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_20_24_female", + "column": "sum(b.cvp_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_25_29_male", + "column": "sum(b.cvp_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_25_29_female", + "column": "sum(b.cvp_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_30_34_male", + "column": "sum(b.cvp_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_30_34_female", + "column": "sum(b.cvp_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_35_39_male", + "column": "sum(b.cvp_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_35_39_female", + "column": "sum(b.cvp_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_40_44_male", + "column": "sum(b.cvp_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_40_44_female", + "column": "sum(b.cvp_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_45_49_male", + "column": "sum(b.cvp_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_45_49_female", + "column": "sum(b.cvp_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_50_54_male", + "column": "sum(b.cvp_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_50_54_female", + "column": "sum(b.cvp_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_55_59_male", + "column": "sum(b.cvp_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_55_59_female", + "column": "sum(b.cvp_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_60_64_male", + "column": "sum(b.cvp_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_60_64_female", + "column": "sum(b.cvp_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_above_65_male", + "column": "sum(b.cvp_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "cvp_sc_above_65_female", + "column": "sum(b.cvp_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_cvp_sc", + "column": "sum(b.total_cvp_sc)" + }, + { + "type": "simple_column", + "alias": "aa_sc_15_19_male", + "column": "sum(b.aa_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "aa_sc_15_19_female", + "column": "sum(b.aa_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "aa_sc_20_24_male", + "column": "sum(b.aa_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "aa_sc_20_24_female", + "column": "sum(b.aa_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "aa_sc_25_29_male", + "column": "sum(b.aa_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "aa_sc_25_29_female", + "column": "sum(b.aa_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "aa_sc_30_34_male", + "column": "sum(b.aa_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "aa_sc_30_34_female", + "column": "sum(b.aa_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "aa_sc_35_39_male", + "column": "sum(b.aa_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "aa_sc_35_39_female", + "column": "sum(b.aa_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "aa_sc_40_44_male", + "column": "sum(b.aa_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "aa_sc_40_44_female", + "column": "sum(b.aa_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "aa_sc_45_49_male", + "column": "sum(b.aa_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "aa_sc_45_49_female", + "column": "sum(b.aa_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "aa_sc_50_54_male", + "column": "sum(b.aa_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "aa_sc_50_54_female", + "column": "sum(b.aa_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "aa_sc_55_59_male", + "column": "sum(b.aa_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "aa_sc_55_59_female", + "column": "sum(b.aa_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "aa_sc_60_64_male", + "column": "sum(b.aa_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "aa_sc_60_64_female", + "column": "sum(b.aa_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "aa_sc_above_65_male", + "column": "sum(b.aa_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "aa_sc_above_65_female", + "column": "sum(b.aa_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_aa_sc", + "column": "sum(b.total_aa_sc)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_15_19_male", + "column": "sum(b.aa_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_15_19_female", + "column": "sum(b.aa_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_20_24_male", + "column": "sum(b.aa_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_20_24_female", + "column": "sum(b.aa_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_25_29_male", + "column": "sum(b.aa_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_25_29_female", + "column": "sum(b.aa_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_30_34_male", + "column": "sum(b.aa_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_30_34_female", + "column": "sum(b.aa_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_35_39_male", + "column": "sum(b.aa_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_35_39_female", + "column": "sum(b.aa_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_40_44_male", + "column": "sum(b.aa_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_40_44_female", + "column": "sum(b.aa_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_45_49_male", + "column": "sum(b.aa_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_45_49_female", + "column": "sum(b.aa_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_50_54_male", + "column": "sum(b.aa_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_50_54_female", + "column": "sum(b.aa_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_55_59_male", + "column": "sum(b.aa_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_55_59_female", + "column": "sum(b.aa_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_60_64_male", + "column": "sum(b.aa_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_60_64_female", + "column": "sum(b.aa_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_above_65_male", + "column": "sum(b.aa_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "aa_pbfw_above_65_female", + "column": "sum(b.aa_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_initiated_prep_partner_positive", + "column": "sum(b.total_initiated_prep_partner_positive)" + }, + { + "type": "simple_column", + "alias": "total_aa_pbfw", + "column": "sum(b.total_aa_pbfw)" + }, + { + "type": "simple_column", + "alias": "bb_tg_15_19_male", + "column": "sum(b.bb_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "bb_tg_15_19_female", + "column": "sum(b.bb_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "bb_tg_20_24_male", + "column": "sum(b.bb_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "bb_tg_20_24_female", + "column": "sum(b.bb_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "bb_tg_25_29_male", + "column": "sum(b.bb_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "bb_tg_25_29_female", + "column": "sum(b.bb_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "bb_tg_30_34_male", + "column": "sum(b.bb_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "bb_tg_30_34_female", + "column": "sum(b.bb_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "bb_tg_35_39_male", + "column": "sum(b.bb_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "bb_tg_35_39_female", + "column": "sum(b.bb_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "bb_tg_40_44_male", + "column": "sum(b.bb_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "bb_tg_40_44_female", + "column": "sum(b.bb_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "bb_tg_45_49_male", + "column": "sum(b.bb_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "bb_tg_45_49_female", + "column": "sum(b.bb_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "bb_tg_50_54_male", + "column": "sum(b.bb_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "bb_tg_50_54_female", + "column": "sum(b.bb_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "bb_tg_55_59_male", + "column": "sum(b.bb_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "bb_tg_55_59_female", + "column": "sum(b.bb_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "bb_tg_60_64_male", + "column": "sum(b.bb_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "bb_tg_60_64_female", + "column": "sum(b.bb_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "bb_tg_above_65_male", + "column": "sum(b.bb_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "bb_tg_above_65_female", + "column": "sum(b.bb_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_bb_tg", + "column": "sum(b.total_bb_tg)" + }, + { + "type": "simple_column", + "alias": "bb_msm_15_19_male", + "column": "sum(b.bb_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "bb_msm_15_19_female", + "column": "sum(b.bb_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "bb_msm_20_24_male", + "column": "sum(b.bb_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "bb_msm_20_24_female", + "column": "sum(b.bb_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "bb_msm_25_29_male", + "column": "sum(b.bb_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "bb_msm_25_29_female", + "column": "sum(b.bb_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "bb_msm_30_34_male", + "column": "sum(b.bb_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "bb_msm_30_34_female", + "column": "sum(b.bb_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "bb_msm_35_39_male", + "column": "sum(b.bb_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "bb_msm_35_39_female", + "column": "sum(b.bb_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "bb_msm_40_44_male", + "column": "sum(b.bb_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "bb_msm_40_44_female", + "column": "sum(b.bb_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "bb_msm_45_49_male", + "column": "sum(b.bb_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "bb_msm_45_49_female", + "column": "sum(b.bb_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "bb_msm_50_54_male", + "column": "sum(b.bb_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "bb_msm_50_54_female", + "column": "sum(b.bb_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "bb_msm_55_59_male", + "column": "sum(b.bb_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "bb_msm_55_59_female", + "column": "sum(b.bb_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "bb_msm_60_64_male", + "column": "sum(b.bb_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "bb_msm_60_64_female", + "column": "sum(b.bb_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "bb_msm_above_65_male", + "column": "sum(b.bb_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "bb_msm_above_65_female", + "column": "sum(b.bb_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_bb_msm", + "column": "sum(b.total_bb_msm)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_15_19_male", + "column": "sum(b.bb_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_15_19_female", + "column": "sum(b.bb_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_20_24_male", + "column": "sum(b.bb_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_20_24_female", + "column": "sum(b.bb_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_25_29_male", + "column": "sum(b.bb_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_25_29_female", + "column": "sum(b.bb_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_30_34_male", + "column": "sum(b.bb_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_30_34_female", + "column": "sum(b.bb_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_35_39_male", + "column": "sum(b.bb_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_35_39_female", + "column": "sum(b.bb_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_40_44_male", + "column": "sum(b.bb_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_40_44_female", + "column": "sum(b.bb_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_45_49_male", + "column": "sum(b.bb_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_45_49_female", + "column": "sum(b.bb_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_50_54_male", + "column": "sum(b.bb_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_50_54_female", + "column": "sum(b.bb_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_55_59_male", + "column": "sum(b.bb_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_55_59_female", + "column": "sum(b.bb_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_60_64_male", + "column": "sum(b.bb_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_60_64_female", + "column": "sum(b.bb_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_above_65_male", + "column": "sum(b.bb_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "bb_agyw_above_65_female", + "column": "sum(b.bb_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_bb_agyw", + "column": "sum(b.total_bb_agyw)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_15_19_male", + "column": "sum(b.bb_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_15_19_female", + "column": "sum(b.bb_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_20_24_male", + "column": "sum(b.bb_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_20_24_female", + "column": "sum(b.bb_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_25_29_male", + "column": "sum(b.bb_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_25_29_female", + "column": "sum(b.bb_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_30_34_male", + "column": "sum(b.bb_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_30_34_female", + "column": "sum(b.bb_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_35_39_male", + "column": "sum(b.bb_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_35_39_female", + "column": "sum(b.bb_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_40_44_male", + "column": "sum(b.bb_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_40_44_female", + "column": "sum(b.bb_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_45_49_male", + "column": "sum(b.bb_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_45_49_female", + "column": "sum(b.bb_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_50_54_male", + "column": "sum(b.bb_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_50_54_female", + "column": "sum(b.bb_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_55_59_male", + "column": "sum(b.bb_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_55_59_female", + "column": "sum(b.bb_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_60_64_male", + "column": "sum(b.bb_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_60_64_female", + "column": "sum(b.bb_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_above_65_male", + "column": "sum(b.bb_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "bb_mhr_above_65_female", + "column": "sum(b.bb_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_bb_mhr", + "column": "sum(b.total_bb_mhr)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_15_19_male", + "column": "sum(b.bb_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_15_19_female", + "column": "sum(b.bb_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_20_24_male", + "column": "sum(b.bb_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_20_24_female", + "column": "sum(b.bb_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_25_29_male", + "column": "sum(b.bb_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_25_29_female", + "column": "sum(b.bb_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_30_34_male", + "column": "sum(b.bb_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_30_34_female", + "column": "sum(b.bb_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_35_39_male", + "column": "sum(b.bb_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_35_39_female", + "column": "sum(b.bb_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_40_44_male", + "column": "sum(b.bb_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_40_44_female", + "column": "sum(b.bb_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_45_49_male", + "column": "sum(b.bb_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_45_49_female", + "column": "sum(b.bb_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_50_54_male", + "column": "sum(b.bb_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_50_54_female", + "column": "sum(b.bb_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_55_59_male", + "column": "sum(b.bb_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_55_59_female", + "column": "sum(b.bb_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_60_64_male", + "column": "sum(b.bb_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_60_64_female", + "column": "sum(b.bb_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_above_65_male", + "column": "sum(b.bb_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "bb_fsw_above_65_female", + "column": "sum(b.bb_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_bb_fsw", + "column": "sum(b.total_bb_fsw)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_15_19_male", + "column": "sum(b.bb_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_15_19_female", + "column": "sum(b.bb_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_20_24_male", + "column": "sum(b.bb_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_20_24_female", + "column": "sum(b.bb_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_25_29_male", + "column": "sum(b.bb_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_25_29_female", + "column": "sum(b.bb_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_30_34_male", + "column": "sum(b.bb_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_30_34_female", + "column": "sum(b.bb_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_35_39_male", + "column": "sum(b.bb_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_35_39_female", + "column": "sum(b.bb_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_40_44_male", + "column": "sum(b.bb_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_40_44_female", + "column": "sum(b.bb_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_45_49_male", + "column": "sum(b.bb_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_45_49_female", + "column": "sum(b.bb_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_50_54_male", + "column": "sum(b.bb_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_50_54_female", + "column": "sum(b.bb_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_55_59_male", + "column": "sum(b.bb_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_55_59_female", + "column": "sum(b.bb_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_60_64_male", + "column": "sum(b.bb_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_60_64_female", + "column": "sum(b.bb_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_above_65_male", + "column": "sum(b.bb_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "bb_pwid_above_65_female", + "column": "sum(b.bb_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_bb_pwid", + "column": "sum(b.total_bb_pwid)" + }, + { + "type": "simple_column", + "alias": "bb_ow_15_19_male", + "column": "sum(b.bb_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "bb_ow_15_19_female", + "column": "sum(b.bb_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "bb_ow_20_24_male", + "column": "sum(b.bb_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "bb_ow_20_24_female", + "column": "sum(b.bb_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "bb_ow_25_29_male", + "column": "sum(b.bb_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "bb_ow_25_29_female", + "column": "sum(b.bb_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "bb_ow_30_34_male", + "column": "sum(b.bb_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "bb_ow_30_34_female", + "column": "sum(b.bb_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "bb_ow_35_39_male", + "column": "sum(b.bb_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "bb_ow_35_39_female", + "column": "sum(b.bb_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "bb_ow_40_44_male", + "column": "sum(b.bb_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "bb_ow_40_44_female", + "column": "sum(b.bb_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "bb_ow_45_49_male", + "column": "sum(b.bb_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "bb_ow_45_49_female", + "column": "sum(b.bb_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "bb_ow_50_54_male", + "column": "sum(b.bb_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "bb_ow_50_54_female", + "column": "sum(b.bb_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "bb_ow_55_59_male", + "column": "sum(b.bb_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "bb_ow_55_59_female", + "column": "sum(b.bb_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "bb_ow_60_64_male", + "column": "sum(b.bb_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "bb_ow_60_64_female", + "column": "sum(b.bb_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "bb_ow_above_65_male", + "column": "sum(b.bb_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "bb_ow_above_65_female", + "column": "sum(b.bb_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_bb_ow", + "column": "sum(b.total_bb_ow)" + }, + { + "type": "simple_column", + "alias": "bb_sc_15_19_male", + "column": "sum(b.bb_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "bb_sc_15_19_female", + "column": "sum(b.bb_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "bb_sc_20_24_male", + "column": "sum(b.bb_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "bb_sc_20_24_female", + "column": "sum(b.bb_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "bb_sc_25_29_male", + "column": "sum(b.bb_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "bb_sc_25_29_female", + "column": "sum(b.bb_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "bb_sc_30_34_male", + "column": "sum(b.bb_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "bb_sc_30_34_female", + "column": "sum(b.bb_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "bb_sc_35_39_male", + "column": "sum(b.bb_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "bb_sc_35_39_female", + "column": "sum(b.bb_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "bb_sc_40_44_male", + "column": "sum(b.bb_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "bb_sc_40_44_female", + "column": "sum(b.bb_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "bb_sc_45_49_male", + "column": "sum(b.bb_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "bb_sc_45_49_female", + "column": "sum(b.bb_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "bb_sc_50_54_male", + "column": "sum(b.bb_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "bb_sc_50_54_female", + "column": "sum(b.bb_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "bb_sc_55_59_male", + "column": "sum(b.bb_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "bb_sc_55_59_female", + "column": "sum(b.bb_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "bb_sc_60_64_male", + "column": "sum(b.bb_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "bb_sc_60_64_female", + "column": "sum(b.bb_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "bb_sc_above_65_male", + "column": "sum(b.bb_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "bb_sc_above_65_female", + "column": "sum(b.bb_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_bb_sc", + "column": "sum(b.total_bb_sc)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_15_19_male", + "column": "sum(b.bb_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_15_19_female", + "column": "sum(b.bb_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_20_24_male", + "column": "sum(b.bb_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_20_24_female", + "column": "sum(b.bb_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_25_29_male", + "column": "sum(b.bb_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_25_29_female", + "column": "sum(b.bb_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_30_34_male", + "column": "sum(b.bb_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_30_34_female", + "column": "sum(b.bb_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_35_39_male", + "column": "sum(b.bb_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_35_39_female", + "column": "sum(b.bb_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_40_44_male", + "column": "sum(b.bb_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_40_44_female", + "column": "sum(b.bb_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_45_49_male", + "column": "sum(b.bb_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_45_49_female", + "column": "sum(b.bb_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_50_54_male", + "column": "sum(b.bb_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_50_54_female", + "column": "sum(b.bb_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_55_59_male", + "column": "sum(b.bb_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_55_59_female", + "column": "sum(b.bb_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_60_64_male", + "column": "sum(b.bb_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_60_64_female", + "column": "sum(b.bb_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_above_65_male", + "column": "sum(b.bb_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "bb_pbfw_above_65_female", + "column": "sum(b.bb_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_bb_pbfw", + "column": "sum(b.total_bb_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_initiated_prep_partner_high_risk", + "column": "sum(b.total_initiated_prep_partner_high_risk)" + }, + { + "type": "simple_column", + "alias": "cc_tg_15_19_male", + "column": "sum(b.cc_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "cc_tg_15_19_female", + "column": "sum(b.cc_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "cc_tg_20_24_male", + "column": "sum(b.cc_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "cc_tg_20_24_female", + "column": "sum(b.cc_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "cc_tg_25_29_male", + "column": "sum(b.cc_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "cc_tg_25_29_female", + "column": "sum(b.cc_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "cc_tg_30_34_male", + "column": "sum(b.cc_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "cc_tg_30_34_female", + "column": "sum(b.cc_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "cc_tg_35_39_male", + "column": "sum(b.cc_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "cc_tg_35_39_female", + "column": "sum(b.cc_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "cc_tg_40_44_male", + "column": "sum(b.cc_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "cc_tg_40_44_female", + "column": "sum(b.cc_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "cc_tg_45_49_male", + "column": "sum(b.cc_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "cc_tg_45_49_female", + "column": "sum(b.cc_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "cc_tg_50_54_male", + "column": "sum(b.cc_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "cc_tg_50_54_female", + "column": "sum(b.cc_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "cc_tg_55_59_male", + "column": "sum(b.cc_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "cc_tg_55_59_female", + "column": "sum(b.cc_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "cc_tg_60_64_male", + "column": "sum(b.cc_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "cc_tg_60_64_female", + "column": "sum(b.cc_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "cc_tg_above_65_male", + "column": "sum(b.cc_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "cc_tg_above_65_female", + "column": "sum(b.cc_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_cc_tg", + "column": "sum(b.total_cc_tg)" + }, + { + "type": "simple_column", + "alias": "cc_msm_15_19_male", + "column": "sum(b.cc_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "cc_msm_15_19_female", + "column": "sum(b.cc_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "cc_msm_20_24_male", + "column": "sum(b.cc_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "cc_msm_20_24_female", + "column": "sum(b.cc_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "cc_msm_25_29_male", + "column": "sum(b.cc_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "cc_msm_25_29_female", + "column": "sum(b.cc_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "cc_msm_30_34_male", + "column": "sum(b.cc_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "cc_msm_30_34_female", + "column": "sum(b.cc_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "cc_msm_35_39_male", + "column": "sum(b.cc_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "cc_msm_35_39_female", + "column": "sum(b.cc_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "cc_msm_40_44_male", + "column": "sum(b.cc_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "cc_msm_40_44_female", + "column": "sum(b.cc_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "cc_msm_45_49_male", + "column": "sum(b.cc_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "cc_msm_45_49_female", + "column": "sum(b.cc_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "cc_msm_50_54_male", + "column": "sum(b.cc_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "cc_msm_50_54_female", + "column": "sum(b.cc_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "cc_msm_55_59_male", + "column": "sum(b.cc_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "cc_msm_55_59_female", + "column": "sum(b.cc_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "cc_msm_60_64_male", + "column": "sum(b.cc_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "cc_msm_60_64_female", + "column": "sum(b.cc_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "cc_msm_above_65_male", + "column": "sum(b.cc_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "cc_msm_above_65_female", + "column": "sum(b.cc_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_cc_msm", + "column": "sum(b.total_cc_msm)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_15_19_male", + "column": "sum(b.cc_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_15_19_female", + "column": "sum(b.cc_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_20_24_male", + "column": "sum(b.cc_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_20_24_female", + "column": "sum(b.cc_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_25_29_male", + "column": "sum(b.cc_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_25_29_female", + "column": "sum(b.cc_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_30_34_male", + "column": "sum(b.cc_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_30_34_female", + "column": "sum(b.cc_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_35_39_male", + "column": "sum(b.cc_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_35_39_female", + "column": "sum(b.cc_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_40_44_male", + "column": "sum(b.cc_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_40_44_female", + "column": "sum(b.cc_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_45_49_male", + "column": "sum(b.cc_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_45_49_female", + "column": "sum(b.cc_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_50_54_male", + "column": "sum(b.cc_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_50_54_female", + "column": "sum(b.cc_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_55_59_male", + "column": "sum(b.cc_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_55_59_female", + "column": "sum(b.cc_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_60_64_male", + "column": "sum(b.cc_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_60_64_female", + "column": "sum(b.cc_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_above_65_male", + "column": "sum(b.cc_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "cc_agyw_above_65_female", + "column": "sum(b.cc_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_cc_agyw", + "column": "sum(b.total_cc_agyw)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_15_19_male", + "column": "sum(b.cc_mhr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_15_19_female", + "column": "sum(b.cc_mhr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_20_24_male", + "column": "sum(b.cc_mhr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_20_24_female", + "column": "sum(b.cc_mhr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_25_29_male", + "column": "sum(b.cc_mhr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_25_29_female", + "column": "sum(b.cc_mhr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_30_34_male", + "column": "sum(b.cc_mhr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_30_34_female", + "column": "sum(b.cc_mhr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_35_39_male", + "column": "sum(b.cc_mhr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_35_39_female", + "column": "sum(b.cc_mhr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_40_44_male", + "column": "sum(b.cc_mhr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_40_44_female", + "column": "sum(b.cc_mhr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_45_49_male", + "column": "sum(b.cc_mhr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_45_49_female", + "column": "sum(b.cc_mhr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_50_54_male", + "column": "sum(b.cc_mhr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_50_54_female", + "column": "sum(b.cc_mhr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_55_59_male", + "column": "sum(b.cc_mhr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_55_59_female", + "column": "sum(b.cc_mhr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_60_64_male", + "column": "sum(b.cc_mhr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_60_64_female", + "column": "sum(b.cc_mhr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_above_65_male", + "column": "sum(b.cc_mhr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "cc_mhr_above_65_female", + "column": "sum(b.cc_mhr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_cc_mhr", + "column": "sum(b.total_cc_mhr)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_15_19_male", + "column": "sum(b.cc_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_15_19_female", + "column": "sum(b.cc_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_20_24_male", + "column": "sum(b.cc_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_20_24_female", + "column": "sum(b.cc_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_25_29_male", + "column": "sum(b.cc_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_25_29_female", + "column": "sum(b.cc_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_30_34_male", + "column": "sum(b.cc_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_30_34_female", + "column": "sum(b.cc_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_35_39_male", + "column": "sum(b.cc_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_35_39_female", + "column": "sum(b.cc_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_40_44_male", + "column": "sum(b.cc_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_40_44_female", + "column": "sum(b.cc_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_45_49_male", + "column": "sum(b.cc_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_45_49_female", + "column": "sum(b.cc_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_50_54_male", + "column": "sum(b.cc_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_50_54_female", + "column": "sum(b.cc_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_55_59_male", + "column": "sum(b.cc_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_55_59_female", + "column": "sum(b.cc_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_60_64_male", + "column": "sum(b.cc_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_60_64_female", + "column": "sum(b.cc_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_above_65_male", + "column": "sum(b.cc_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "cc_fsw_above_65_female", + "column": "sum(b.cc_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_cc_fsw", + "column": "sum(b.total_cc_fsw)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_15_19_male", + "column": "sum(b.cc_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_15_19_female", + "column": "sum(b.cc_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_20_24_male", + "column": "sum(b.cc_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_20_24_female", + "column": "sum(b.cc_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_25_29_male", + "column": "sum(b.cc_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_25_29_female", + "column": "sum(b.cc_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_30_34_male", + "column": "sum(b.cc_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_30_34_female", + "column": "sum(b.cc_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_35_39_male", + "column": "sum(b.cc_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_35_39_female", + "column": "sum(b.cc_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_40_44_male", + "column": "sum(b.cc_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_40_44_female", + "column": "sum(b.cc_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_45_49_male", + "column": "sum(b.cc_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_45_49_female", + "column": "sum(b.cc_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_50_54_male", + "column": "sum(b.cc_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_50_54_female", + "column": "sum(b.cc_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_55_59_male", + "column": "sum(b.cc_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_55_59_female", + "column": "sum(b.cc_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_60_64_male", + "column": "sum(b.cc_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_60_64_female", + "column": "sum(b.cc_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_above_65_male", + "column": "sum(b.cc_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "cc_pwid_above_65_female", + "column": "sum(b.cc_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_cc_pwid", + "column": "sum(b.total_cc_pwid)" + }, + { + "type": "simple_column", + "alias": "cc_ow_15_19_male", + "column": "sum(b.cc_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "cc_ow_15_19_female", + "column": "sum(b.cc_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "cc_ow_20_24_male", + "column": "sum(b.cc_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "cc_ow_20_24_female", + "column": "sum(b.cc_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "cc_ow_25_29_male", + "column": "sum(b.cc_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "cc_ow_25_29_female", + "column": "sum(b.cc_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "cc_ow_30_34_male", + "column": "sum(b.cc_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "cc_ow_30_34_female", + "column": "sum(b.cc_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "cc_ow_35_39_male", + "column": "sum(b.cc_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "cc_ow_35_39_female", + "column": "sum(b.cc_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "cc_ow_40_44_male", + "column": "sum(b.cc_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "cc_ow_40_44_female", + "column": "sum(b.cc_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "cc_ow_45_49_male", + "column": "sum(b.cc_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "cc_ow_45_49_female", + "column": "sum(b.cc_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "cc_ow_50_54_male", + "column": "sum(b.cc_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "cc_ow_50_54_female", + "column": "sum(b.cc_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "cc_ow_55_59_male", + "column": "sum(b.cc_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "cc_ow_55_59_female", + "column": "sum(b.cc_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "cc_ow_60_64_male", + "column": "sum(b.cc_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "cc_ow_60_64_female", + "column": "sum(b.cc_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "cc_ow_above_65_male", + "column": "sum(b.cc_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "cc_ow_above_65_female", + "column": "sum(b.cc_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_cc_ow", + "column": "sum(b.total_cc_ow)" + }, + { + "type": "simple_column", + "alias": "cc_sc_15_19_male", + "column": "sum(b.cc_sc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "cc_sc_15_19_female", + "column": "sum(b.cc_sc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "cc_sc_20_24_male", + "column": "sum(b.cc_sc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "cc_sc_20_24_female", + "column": "sum(b.cc_sc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "cc_sc_25_29_male", + "column": "sum(b.cc_sc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "cc_sc_25_29_female", + "column": "sum(b.cc_sc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "cc_sc_30_34_male", + "column": "sum(b.cc_sc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "cc_sc_30_34_female", + "column": "sum(b.cc_sc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "cc_sc_35_39_male", + "column": "sum(b.cc_sc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "cc_sc_35_39_female", + "column": "sum(b.cc_sc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "cc_sc_40_44_male", + "column": "sum(b.cc_sc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "cc_sc_40_44_female", + "column": "sum(b.cc_sc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "cc_sc_45_49_male", + "column": "sum(b.cc_sc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "cc_sc_45_49_female", + "column": "sum(b.cc_sc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "cc_sc_50_54_male", + "column": "sum(b.cc_sc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "cc_sc_50_54_female", + "column": "sum(b.cc_sc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "cc_sc_55_59_male", + "column": "sum(b.cc_sc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "cc_sc_55_59_female", + "column": "sum(b.cc_sc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "cc_sc_60_64_male", + "column": "sum(b.cc_sc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "cc_sc_60_64_female", + "column": "sum(b.cc_sc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "cc_sc_above_65_male", + "column": "sum(b.cc_sc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "cc_sc_above_65_female", + "column": "sum(b.cc_sc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_cc_sc", + "column": "sum(b.total_cc_sc)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_15_19_male", + "column": "sum(b.cc_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_15_19_female", + "column": "sum(b.cc_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_20_24_male", + "column": "sum(b.cc_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_20_24_female", + "column": "sum(b.cc_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_25_29_male", + "column": "sum(b.cc_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_25_29_female", + "column": "sum(b.cc_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_30_34_male", + "column": "sum(b.cc_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_30_34_female", + "column": "sum(b.cc_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_35_39_male", + "column": "sum(b.cc_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_35_39_female", + "column": "sum(b.cc_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_40_44_male", + "column": "sum(b.cc_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_40_44_female", + "column": "sum(b.cc_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_45_49_male", + "column": "sum(b.cc_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_45_49_female", + "column": "sum(b.cc_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_50_54_male", + "column": "sum(b.cc_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_50_54_female", + "column": "sum(b.cc_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_55_59_male", + "column": "sum(b.cc_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_55_59_female", + "column": "sum(b.cc_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_60_64_male", + "column": "sum(b.cc_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_60_64_female", + "column": "sum(b.cc_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_above_65_male", + "column": "sum(b.cc_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "cc_pbfw_above_65_female", + "column": "sum(b.cc_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "total_cc_pbfw", + "column": "sum(b.total_cc_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_initiated_prep_multiple_sex_partners", + "column": "sum(b.total_initiated_prep_multiple_sex_partners)" + } + ], + "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/prep-reasons-for-initiation-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-base.json new file mode 100644 index 000000000..b40301dfe --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-base.json @@ -0,0 +1,3999 @@ +{ + "name": "reasonForInitiationPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "cvp_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cvp_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_cvp_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '6688' AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_aa_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "aa_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_aa_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_initiated_prep_partner_positive", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '5566' AND (pd.population_type = 9 OR pd.old_population_type = 100 OR pd.population_type = 8) ), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_bb_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 50 OR pd.sub_population_type = 60 OR pd.population_type = 1)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_bb_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_bb_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_bb_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M'), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_bb_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_bb_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_bb_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F'), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_bb_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "bb_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_bb_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762' AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_initiated_prep_partner_high_risk", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9762'), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_cc_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 50 OR pd.sub_population_type = 60 OR pd.population_type = 1)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_cc_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_cc_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_mhr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_cc_mhr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 4 OR pd.is_event_driven_prep = 1)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_cc_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_cc_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_cc_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_sc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_cc_sc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "cc_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age > 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_cc_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903' AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_initiated_prep_multiple_sex_partners", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '7903'), 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..754cefb0d --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-aggregate.json @@ -0,0 +1,1111 @@ +{ + "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)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_initiation_recent_sti", + "column": "sum(b.total_reason_for_initiation_recent_sti)" + } + ], + "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..49fe3ed3a --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-base.json @@ -0,0 +1,1775 @@ +{ + "name": "recentSTIPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1)), 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)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_initiation_recent_sti", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '174'), 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..57e131cdc --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-aggregate.json @@ -0,0 +1,1111 @@ +{ + "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)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_initiation_recurrent_pep", + "column": "sum(b.total_reason_for_initiation_recurrent_pep)" + } + ], + "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..562e3303e --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-base.json @@ -0,0 +1,1775 @@ +{ + "name": "recurrentUseOfPepPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1) 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 OR pd.is_event_driven_prep = 1)), 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)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_initiation_recurrent_pep", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9764'), 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..d7268a4bd --- /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_v5", + "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..c53e87670 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-aggregate.json @@ -0,0 +1,1111 @@ +{ + "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)" + }, + { + "type": "simple_column", + "alias": "total_reason_for_initiation_transactional_sex", + "column": "sum(b.total_reason_for_initiation_transactional_sex)" + } + ], + "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..0d1273f24 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-base.json @@ -0,0 +1,1775 @@ +{ + "name": "transactionalSexPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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)" + } + }, + { + "type": "derived_column", + "alias": "total_reason_for_initiation_transactional_sex", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.reason_for_initiation = '9763'), 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/restarting/restarting-prep-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/restarting/restarting-prep-aggregate.json new file mode 100644 index 000000000..e8c7187ca --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/restarting/restarting-prep-aggregate.json @@ -0,0 +1,1116 @@ +{ + "name": "restartingPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "restartingPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "restartingPrepBase", + "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": "restarting_this_month", + "column": "sum(b.is_restarting_prep)" + }, + { + "type": "simple_column", + "alias": "re_tg_15_19_female", + "column": "sum(b.re_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "re_tg_15_19_male", + "column": "sum(b.re_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "re_tg_20_24_female", + "column": "sum(b.re_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "re_tg_20_24_male", + "column": "sum(b.re_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "re_tg_25_29_female", + "column": "sum(b.re_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "re_tg_25_29_male", + "column": "sum(b.re_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "re_tg_30_34_female", + "column": "sum(b.re_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "re_tg_30_34_male", + "column": "sum(b.re_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "re_tg_35_39_female", + "column": "sum(b.re_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "re_tg_35_39_male", + "column": "sum(b.re_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "re_tg_40_44_female", + "column": "sum(b.re_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "re_tg_40_44_male", + "column": "sum(b.re_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "re_tg_45_49_female", + "column": "sum(b.re_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "re_tg_45_49_male", + "column": "sum(b.re_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "re_tg_50_54_female", + "column": "sum(b.re_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "re_tg_50_54_male", + "column": "sum(b.re_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "re_tg_55_59_female", + "column": "sum(b.re_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "re_tg_55_59_male", + "column": "sum(b.re_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "re_tg_60_64_female", + "column": "sum(b.re_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "re_tg_60_64_male", + "column": "sum(b.re_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "re_tg_above_65_female", + "column": "sum(b.re_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "re_tg_above_65_male", + "column": "sum(b.re_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_re_tg", + "column": "sum(b.total_re_tg)" + }, + { + "type": "simple_column", + "alias": "re_agyw_15_19_female", + "column": "sum(b.re_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "re_agyw_15_19_male", + "column": "sum(b.re_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "re_agyw_20_24_female", + "column": "sum(b.re_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "re_agyw_20_24_male", + "column": "sum(b.re_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "re_agyw_25_29_female", + "column": "sum(b.re_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "re_agyw_25_29_male", + "column": "sum(b.re_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "re_agyw_30_34_female", + "column": "sum(b.re_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "re_agyw_30_34_male", + "column": "sum(b.re_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "re_agyw_35_39_female", + "column": "sum(b.re_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "re_agyw_35_39_male", + "column": "sum(b.re_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "re_agyw_40_44_female", + "column": "sum(b.re_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "re_agyw_40_44_male", + "column": "sum(b.re_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "re_agyw_45_49_female", + "column": "sum(b.re_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "re_agyw_45_49_male", + "column": "sum(b.re_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "re_agyw_50_54_female", + "column": "sum(b.re_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "re_agyw_50_54_male", + "column": "sum(b.re_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "re_agyw_55_59_female", + "column": "sum(b.re_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "re_agyw_55_59_male", + "column": "sum(b.re_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "re_agyw_60_64_female", + "column": "sum(b.re_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "re_agyw_60_64_male", + "column": "sum(b.re_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "re_agyw_above_65_female", + "column": "sum(b.re_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "re_agyw_above_65_male", + "column": "sum(b.re_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_re_agyw", + "column": "sum(b.total_re_agyw)" + }, + { + "type": "simple_column", + "alias": "re_msm_15_19_female", + "column": "sum(b.re_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "re_msm_15_19_male", + "column": "sum(b.re_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "re_msm_20_24_female", + "column": "sum(b.re_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "re_msm_20_24_male", + "column": "sum(b.re_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "re_msm_25_29_female", + "column": "sum(b.re_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "re_msm_25_29_male", + "column": "sum(b.re_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "re_msm_30_34_female", + "column": "sum(b.re_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "re_msm_30_34_male", + "column": "sum(b.re_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "re_msm_35_39_female", + "column": "sum(b.re_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "re_msm_35_39_male", + "column": "sum(b.re_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "re_msm_40_44_female", + "column": "sum(b.re_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "re_msm_40_44_male", + "column": "sum(b.re_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "re_msm_45_49_female", + "column": "sum(b.re_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "re_msm_45_49_male", + "column": "sum(b.re_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "re_msm_50_54_female", + "column": "sum(b.re_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "re_msm_50_54_male", + "column": "sum(b.re_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "re_msm_55_59_female", + "column": "sum(b.re_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "re_msm_55_59_male", + "column": "sum(b.re_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "re_msm_60_64_female", + "column": "sum(b.re_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "re_msm_60_64_male", + "column": "sum(b.re_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "re_msm_above_65_female", + "column": "sum(b.re_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "re_msm_above_65_male", + "column": "sum(b.re_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_re_msm", + "column": "sum(b.total_re_msm)" + }, + { + "type": "simple_column", + "alias": "re_mahr_15_19_female", + "column": "sum(b.re_mahr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "re_mahr_15_19_male", + "column": "sum(b.re_mahr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "re_mahr_20_24_female", + "column": "sum(b.re_mahr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "re_mahr_20_24_male", + "column": "sum(b.re_mahr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "re_mahr_25_29_female", + "column": "sum(b.re_mahr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "re_mahr_25_29_male", + "column": "sum(b.re_mahr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "re_mahr_30_34_female", + "column": "sum(b.re_mahr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "re_mahr_30_34_male", + "column": "sum(b.re_mahr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "re_mahr_35_39_female", + "column": "sum(b.re_mahr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "re_mahr_35_39_male", + "column": "sum(b.re_mahr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "re_mahr_40_44_female", + "column": "sum(b.re_mahr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "re_mahr_40_44_male", + "column": "sum(b.re_mahr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "re_mahr_45_49_female", + "column": "sum(b.re_mahr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "re_mahr_45_49_male", + "column": "sum(b.re_mahr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "re_mahr_50_54_female", + "column": "sum(b.re_mahr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "re_mahr_50_54_male", + "column": "sum(b.re_mahr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "re_mahr_55_59_female", + "column": "sum(b.re_mahr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "re_mahr_55_59_male", + "column": "sum(b.re_mahr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "re_mahr_60_64_female", + "column": "sum(b.re_mahr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "re_mahr_60_64_male", + "column": "sum(b.re_mahr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "re_mahr_above_65_female", + "column": "sum(b.re_mahr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "re_mahr_above_65_male", + "column": "sum(b.re_mahr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_re_mahr", + "column": "sum(b.total_re_mahr)" + }, + { + "type": "simple_column", + "alias": "re_fsw_15_19_female", + "column": "sum(b.re_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "re_fsw_15_19_male", + "column": "sum(b.re_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "re_fsw_20_24_female", + "column": "sum(b.re_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "re_fsw_20_24_male", + "column": "sum(b.re_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "re_fsw_25_29_female", + "column": "sum(b.re_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "re_fsw_25_29_male", + "column": "sum(b.re_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "re_fsw_30_34_female", + "column": "sum(b.re_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "re_fsw_30_34_male", + "column": "sum(b.re_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "re_fsw_35_39_female", + "column": "sum(b.re_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "re_fsw_35_39_male", + "column": "sum(b.re_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "re_fsw_40_44_female", + "column": "sum(b.re_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "re_fsw_40_44_male", + "column": "sum(b.re_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "re_fsw_45_49_female", + "column": "sum(b.re_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "re_fsw_45_49_male", + "column": "sum(b.re_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "re_fsw_50_54_female", + "column": "sum(b.re_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "re_fsw_50_54_male", + "column": "sum(b.re_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "re_fsw_55_59_female", + "column": "sum(b.re_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "re_fsw_55_59_male", + "column": "sum(b.re_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "re_fsw_60_64_female", + "column": "sum(b.re_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "re_fsw_60_64_male", + "column": "sum(b.re_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "re_fsw_above_65_female", + "column": "sum(b.re_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "re_fsw_above_65_male", + "column": "sum(b.re_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "re_pwid_15_19_female", + "column": "sum(b.re_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "total_re_fsw", + "column": "sum(b.total_re_fsw)" + }, + { + "type": "simple_column", + "alias": "re_pwid_15_19_male", + "column": "sum(b.re_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "re_pwid_20_24_female", + "column": "sum(b.re_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "re_pwid_20_24_male", + "column": "sum(b.re_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "re_pwid_25_29_female", + "column": "sum(b.re_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "re_pwid_25_29_male", + "column": "sum(b.re_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "re_pwid_30_34_female", + "column": "sum(b.re_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "re_pwid_30_34_male", + "column": "sum(b.re_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "re_pwid_35_39_female", + "column": "sum(b.re_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "re_pwid_35_39_male", + "column": "sum(b.re_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "re_pwid_40_44_female", + "column": "sum(b.re_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "re_pwid_40_44_male", + "column": "sum(b.re_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "re_pwid_45_49_female", + "column": "sum(b.re_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "re_pwid_45_49_male", + "column": "sum(b.re_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "re_pwid_50_54_female", + "column": "sum(b.re_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "re_pwid_50_54_male", + "column": "sum(b.re_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "re_pwid_55_59_female", + "column": "sum(b.re_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "re_pwid_55_59_male", + "column": "sum(b.re_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "re_pwid_60_64_female", + "column": "sum(b.re_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "re_pwid_60_64_male", + "column": "sum(b.re_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "re_pwid_above_65_female", + "column": "sum(b.re_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "re_pwid_above_65_male", + "column": "sum(b.re_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_re_pwid", + "column": "sum(b.total_re_pwid)" + }, + { + "type": "simple_column", + "alias": "re_ow_15_19_female", + "column": "sum(b.re_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "re_ow_15_19_male", + "column": "sum(b.re_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "re_ow_20_24_female", + "column": "sum(b.re_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "re_ow_20_24_male", + "column": "sum(b.re_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "re_ow_25_29_female", + "column": "sum(b.re_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "re_ow_25_29_male", + "column": "sum(b.re_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "re_ow_30_34_female", + "column": "sum(b.re_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "re_ow_30_34_male", + "column": "sum(b.re_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "re_ow_35_39_female", + "column": "sum(b.re_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "re_ow_35_39_male", + "column": "sum(b.re_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "re_ow_40_44_female", + "column": "sum(b.re_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "re_ow_40_44_male", + "column": "sum(b.re_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "re_ow_45_49_female", + "column": "sum(b.re_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "re_ow_45_49_male", + "column": "sum(b.re_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "re_ow_50_54_female", + "column": "sum(b.re_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "re_ow_50_54_male", + "column": "sum(b.re_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "re_ow_55_59_female", + "column": "sum(b.re_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "re_ow_55_59_male", + "column": "sum(b.re_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "re_ow_60_64_female", + "column": "sum(b.re_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "re_ow_60_64_male", + "column": "sum(b.re_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "re_ow_above_65_female", + "column": "sum(b.re_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "re_ow_above_65_male", + "column": "sum(b.re_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_re_ow", + "column": "sum(b.total_re_ow)" + }, + { + "type": "simple_column", + "alias": "re_sdc_15_19_female", + "column": "sum(b.re_sdc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "re_sdc_15_19_male", + "column": "sum(b.re_sdc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "re_sdc_20_24_female", + "column": "sum(b.re_sdc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "re_sdc_20_24_male", + "column": "sum(b.re_sdc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "re_sdc_25_29_female", + "column": "sum(b.re_sdc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "re_sdc_25_29_male", + "column": "sum(b.re_sdc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "re_sdc_30_34_female", + "column": "sum(b.re_sdc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "re_sdc_30_34_male", + "column": "sum(b.re_sdc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "re_sdc_35_39_female", + "column": "sum(b.re_sdc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "re_sdc_35_39_male", + "column": "sum(b.re_sdc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "re_sdc_40_44_female", + "column": "sum(b.re_sdc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "re_sdc_40_44_male", + "column": "sum(b.re_sdc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "re_sdc_45_49_female", + "column": "sum(b.re_sdc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "re_sdc_45_49_male", + "column": "sum(b.re_sdc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "re_sdc_50_54_female", + "column": "sum(b.re_sdc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "re_sdc_50_54_male", + "column": "sum(b.re_sdc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "re_sdc_55_59_female", + "column": "sum(b.re_sdc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "re_sdc_55_59_male", + "column": "sum(b.re_sdc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "re_sdc_60_64_female", + "column": "sum(b.re_sdc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "re_sdc_60_64_male", + "column": "sum(b.re_sdc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "re_sdc_above_65_female", + "column": "sum(b.re_sdc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "re_sdc_above_65_male", + "column": "sum(b.re_sdc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_re_sdc", + "column": "sum(b.total_re_sdc)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_15_19_female", + "column": "sum(b.re_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_15_19_male", + "column": "sum(b.re_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_20_24_female", + "column": "sum(b.re_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_20_24_male", + "column": "sum(b.re_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_25_29_female", + "column": "sum(b.re_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_25_29_male", + "column": "sum(b.re_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_30_34_female", + "column": "sum(b.re_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_30_34_male", + "column": "sum(b.re_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_35_39_female", + "column": "sum(b.re_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_35_39_male", + "column": "sum(b.re_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_40_44_female", + "column": "sum(b.re_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_40_44_male", + "column": "sum(b.re_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_45_49_female", + "column": "sum(b.re_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_45_49_male", + "column": "sum(b.re_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_50_54_female", + "column": "sum(b.re_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_50_54_male", + "column": "sum(b.re_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_55_59_female", + "column": "sum(b.re_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_55_59_male", + "column": "sum(b.re_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_60_64_female", + "column": "sum(b.re_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_60_64_male", + "column": "sum(b.re_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_above_65_female", + "column": "sum(b.re_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "re_pbfw_above_65_male", + "column": "sum(b.re_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_re_pbfw", + "column": "sum(b.total_re_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_restarting_prep_this_month", + "column": "sum(b.total_restarting_prep_this_month)" + } + ], + "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/restarting/restarting-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/restarting/restarting-prep-base.json new file mode 100644 index 000000000..5175f50cb --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/restarting/restarting-prep-base.json @@ -0,0 +1,1780 @@ +{ + "name": "restartingPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "is_restarting_prep", + "column": "pd.restarting_prep_this_month" + }, + { + "type": "derived_column", + "alias": "re_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_re_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 50 OR pd.sub_population_type = 60 OR pd.population_type = 1)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_re_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_re_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_mahr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_re_mahr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_re_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_re_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_re_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_sdc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_re_sdc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "re_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_re_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1 AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_restarting_prep_this_month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.restarting_prep_this_month = 1), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "DATE_FORMAT(pd.endDate,'%Y-%m')" + } + } + ], + "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/template-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/template-aggregate.json new file mode 100644 index 000000000..88a7f719d --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/template-aggregate.json @@ -0,0 +1,71 @@ +{ + "name": "eligibleForPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "eligibleForPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "eligibleForPrepBase", + "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" + } + ], + "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/template-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/template-base.json new file mode 100644 index 000000000..919e63283 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/template-base.json @@ -0,0 +1,111 @@ +{ + "name": "eligibleForPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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')" + } + } + ], + "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/while-on-prep/while-on-prep-aggregate.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-aggregate.json new file mode 100644 index 000000000..f19a18f7b --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-aggregate.json @@ -0,0 +1,2161 @@ +{ + "name": "whileOnPrepAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "whileOnPrepBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "whileOnPrepBase", + "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": "tested_positive_while_on_prep", + "column": "sum(b.tested_positive_while_on_prep)" + }, + { + "type": "simple_column", + "alias": "diagnosed_with_sti_while_on_prep", + "column": "sum(b.diagnosed_with_sti_while_on_prep)" + }, + { + "type": "simple_column", + "alias": "tp_tg_15_19_female", + "column": "sum(b.tp_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tp_tg_15_19_male", + "column": "sum(b.tp_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tp_tg_20_24_female", + "column": "sum(b.tp_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tp_tg_20_24_male", + "column": "sum(b.tp_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tp_tg_25_29_female", + "column": "sum(b.tp_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tp_tg_25_29_male", + "column": "sum(b.tp_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tp_tg_30_34_female", + "column": "sum(b.tp_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tp_tg_30_34_male", + "column": "sum(b.tp_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tp_tg_35_39_female", + "column": "sum(b.tp_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tp_tg_35_39_male", + "column": "sum(b.tp_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tp_tg_40_44_female", + "column": "sum(b.tp_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tp_tg_40_44_male", + "column": "sum(b.tp_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tp_tg_45_49_female", + "column": "sum(b.tp_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tp_tg_45_49_male", + "column": "sum(b.tp_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tp_tg_50_54_female", + "column": "sum(b.tp_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tp_tg_50_54_male", + "column": "sum(b.tp_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tp_tg_55_59_female", + "column": "sum(b.tp_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tp_tg_55_59_male", + "column": "sum(b.tp_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tp_tg_60_64_female", + "column": "sum(b.tp_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tp_tg_60_64_male", + "column": "sum(b.tp_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tp_tg_above_65_female", + "column": "sum(b.tp_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "tp_tg_above_65_male", + "column": "sum(b.tp_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_tp_tg", + "column": "sum(b.total_tp_tg)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_15_19_female", + "column": "sum(b.tp_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_15_19_male", + "column": "sum(b.tp_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_20_24_female", + "column": "sum(b.tp_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_20_24_male", + "column": "sum(b.tp_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_25_29_female", + "column": "sum(b.tp_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_25_29_male", + "column": "sum(b.tp_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_30_34_female", + "column": "sum(b.tp_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_30_34_male", + "column": "sum(b.tp_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_35_39_female", + "column": "sum(b.tp_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_35_39_male", + "column": "sum(b.tp_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_40_44_female", + "column": "sum(b.tp_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_40_44_male", + "column": "sum(b.tp_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_45_49_female", + "column": "sum(b.tp_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_45_49_male", + "column": "sum(b.tp_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_50_54_female", + "column": "sum(b.tp_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_50_54_male", + "column": "sum(b.tp_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_55_59_female", + "column": "sum(b.tp_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_55_59_male", + "column": "sum(b.tp_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_60_64_female", + "column": "sum(b.tp_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_60_64_male", + "column": "sum(b.tp_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_above_65_female", + "column": "sum(b.tp_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "tp_agyw_above_65_male", + "column": "sum(b.tp_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_tp_agyw", + "column": "sum(b.total_tp_agyw)" + }, + { + "type": "simple_column", + "alias": "tp_msm_15_19_female", + "column": "sum(b.tp_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tp_msm_15_19_male", + "column": "sum(b.tp_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tp_msm_20_24_female", + "column": "sum(b.tp_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tp_msm_20_24_male", + "column": "sum(b.tp_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tp_msm_25_29_female", + "column": "sum(b.tp_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tp_msm_25_29_male", + "column": "sum(b.tp_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tp_msm_30_34_female", + "column": "sum(b.tp_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tp_msm_30_34_male", + "column": "sum(b.tp_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tp_msm_35_39_female", + "column": "sum(b.tp_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tp_msm_35_39_male", + "column": "sum(b.tp_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tp_msm_40_44_female", + "column": "sum(b.tp_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tp_msm_40_44_male", + "column": "sum(b.tp_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tp_msm_45_49_female", + "column": "sum(b.tp_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tp_msm_45_49_male", + "column": "sum(b.tp_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tp_msm_50_54_female", + "column": "sum(b.tp_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tp_msm_50_54_male", + "column": "sum(b.tp_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tp_msm_55_59_female", + "column": "sum(b.tp_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tp_msm_55_59_male", + "column": "sum(b.tp_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tp_msm_60_64_female", + "column": "sum(b.tp_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tp_msm_60_64_male", + "column": "sum(b.tp_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tp_msm_above_65_female", + "column": "sum(b.tp_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "tp_msm_above_65_male", + "column": "sum(b.tp_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_tp_msm", + "column": "sum(b.total_tp_msm)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_15_19_female", + "column": "sum(b.tp_mahr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_15_19_male", + "column": "sum(b.tp_mahr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_20_24_female", + "column": "sum(b.tp_mahr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_20_24_male", + "column": "sum(b.tp_mahr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_25_29_female", + "column": "sum(b.tp_mahr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_25_29_male", + "column": "sum(b.tp_mahr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_30_34_female", + "column": "sum(b.tp_mahr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_30_34_male", + "column": "sum(b.tp_mahr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_35_39_female", + "column": "sum(b.tp_mahr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_35_39_male", + "column": "sum(b.tp_mahr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_40_44_female", + "column": "sum(b.tp_mahr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_40_44_male", + "column": "sum(b.tp_mahr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_45_49_female", + "column": "sum(b.tp_mahr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_45_49_male", + "column": "sum(b.tp_mahr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_50_54_female", + "column": "sum(b.tp_mahr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_50_54_male", + "column": "sum(b.tp_mahr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_55_59_female", + "column": "sum(b.tp_mahr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_55_59_male", + "column": "sum(b.tp_mahr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_60_64_female", + "column": "sum(b.tp_mahr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_60_64_male", + "column": "sum(b.tp_mahr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_above_65_female", + "column": "sum(b.tp_mahr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "tp_mahr_above_65_male", + "column": "sum(b.tp_mahr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_tp_mahr", + "column": "sum(b.total_tp_mahr)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_15_19_female", + "column": "sum(b.tp_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_15_19_male", + "column": "sum(b.tp_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_20_24_female", + "column": "sum(b.tp_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_20_24_male", + "column": "sum(b.tp_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_25_29_female", + "column": "sum(b.tp_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_25_29_male", + "column": "sum(b.tp_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_30_34_female", + "column": "sum(b.tp_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_30_34_male", + "column": "sum(b.tp_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_35_39_female", + "column": "sum(b.tp_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_35_39_male", + "column": "sum(b.tp_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_40_44_female", + "column": "sum(b.tp_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_40_44_male", + "column": "sum(b.tp_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_45_49_female", + "column": "sum(b.tp_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_45_49_male", + "column": "sum(b.tp_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_50_54_female", + "column": "sum(b.tp_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_50_54_male", + "column": "sum(b.tp_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_55_59_female", + "column": "sum(b.tp_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_55_59_male", + "column": "sum(b.tp_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_60_64_female", + "column": "sum(b.tp_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_60_64_male", + "column": "sum(b.tp_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_above_65_female", + "column": "sum(b.tp_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "tp_fsw_above_65_male", + "column": "sum(b.tp_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_tp_fsw", + "column": "sum(b.total_tp_fsw)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_15_19_female", + "column": "sum(b.tp_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_15_19_male", + "column": "sum(b.tp_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_20_24_female", + "column": "sum(b.tp_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_20_24_male", + "column": "sum(b.tp_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_25_29_female", + "column": "sum(b.tp_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_25_29_male", + "column": "sum(b.tp_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_30_34_female", + "column": "sum(b.tp_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_30_34_male", + "column": "sum(b.tp_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_35_39_female", + "column": "sum(b.tp_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_35_39_male", + "column": "sum(b.tp_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_40_44_female", + "column": "sum(b.tp_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_40_44_male", + "column": "sum(b.tp_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_45_49_female", + "column": "sum(b.tp_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_45_49_male", + "column": "sum(b.tp_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_50_54_female", + "column": "sum(b.tp_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_50_54_male", + "column": "sum(b.tp_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_55_59_female", + "column": "sum(b.tp_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_55_59_male", + "column": "sum(b.tp_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_60_64_female", + "column": "sum(b.tp_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_60_64_male", + "column": "sum(b.tp_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_above_65_female", + "column": "sum(b.tp_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "tp_pwid_above_65_male", + "column": "sum(b.tp_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_tp_pwid", + "column": "sum(b.total_tp_pwid)" + }, + { + "type": "simple_column", + "alias": "tp_ow_15_19_female", + "column": "sum(b.tp_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tp_ow_15_19_male", + "column": "sum(b.tp_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tp_ow_20_24_female", + "column": "sum(b.tp_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tp_ow_20_24_male", + "column": "sum(b.tp_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tp_ow_25_29_female", + "column": "sum(b.tp_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tp_ow_25_29_male", + "column": "sum(b.tp_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tp_ow_30_34_female", + "column": "sum(b.tp_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tp_ow_30_34_male", + "column": "sum(b.tp_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tp_ow_35_39_female", + "column": "sum(b.tp_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tp_ow_35_39_male", + "column": "sum(b.tp_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tp_ow_40_44_female", + "column": "sum(b.tp_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tp_ow_40_44_male", + "column": "sum(b.tp_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tp_ow_45_49_female", + "column": "sum(b.tp_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tp_ow_45_49_male", + "column": "sum(b.tp_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tp_ow_50_54_female", + "column": "sum(b.tp_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tp_ow_50_54_male", + "column": "sum(b.tp_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tp_ow_55_59_female", + "column": "sum(b.tp_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tp_ow_55_59_male", + "column": "sum(b.tp_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tp_ow_60_64_female", + "column": "sum(b.tp_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tp_ow_60_64_male", + "column": "sum(b.tp_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tp_ow_above_65_female", + "column": "sum(b.tp_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "tp_ow_above_65_male", + "column": "sum(b.tp_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_tp_ow", + "column": "sum(b.total_tp_ow)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_15_19_female", + "column": "sum(b.tp_sdc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_15_19_male", + "column": "sum(b.tp_sdc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_20_24_female", + "column": "sum(b.tp_sdc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_20_24_male", + "column": "sum(b.tp_sdc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_25_29_female", + "column": "sum(b.tp_sdc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_25_29_male", + "column": "sum(b.tp_sdc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_30_34_female", + "column": "sum(b.tp_sdc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_30_34_male", + "column": "sum(b.tp_sdc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_35_39_female", + "column": "sum(b.tp_sdc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_35_39_male", + "column": "sum(b.tp_sdc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_40_44_female", + "column": "sum(b.tp_sdc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_40_44_male", + "column": "sum(b.tp_sdc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_45_49_female", + "column": "sum(b.tp_sdc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_45_49_male", + "column": "sum(b.tp_sdc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_50_54_female", + "column": "sum(b.tp_sdc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_50_54_male", + "column": "sum(b.tp_sdc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_55_59_female", + "column": "sum(b.tp_sdc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_55_59_male", + "column": "sum(b.tp_sdc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_60_64_female", + "column": "sum(b.tp_sdc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_60_64_male", + "column": "sum(b.tp_sdc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_above_65_female", + "column": "sum(b.tp_sdc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "tp_sdc_above_65_male", + "column": "sum(b.tp_sdc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_tp_sdc", + "column": "sum(b.total_tp_sdc)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_15_19_female", + "column": "sum(b.tp_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_15_19_male", + "column": "sum(b.tp_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_20_24_female", + "column": "sum(b.tp_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_20_24_male", + "column": "sum(b.tp_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_25_29_female", + "column": "sum(b.tp_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_25_29_male", + "column": "sum(b.tp_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_30_34_female", + "column": "sum(b.tp_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_30_34_male", + "column": "sum(b.tp_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_35_39_female", + "column": "sum(b.tp_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_35_39_male", + "column": "sum(b.tp_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_40_44_female", + "column": "sum(b.tp_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_40_44_male", + "column": "sum(b.tp_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_45_49_female", + "column": "sum(b.tp_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_45_49_male", + "column": "sum(b.tp_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_50_54_female", + "column": "sum(b.tp_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_50_54_male", + "column": "sum(b.tp_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_55_59_female", + "column": "sum(b.tp_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_55_59_male", + "column": "sum(b.tp_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_60_64_female", + "column": "sum(b.tp_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_60_64_male", + "column": "sum(b.tp_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_above_65_female", + "column": "sum(b.tp_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "tp_pbfw_above_65_male", + "column": "sum(b.tp_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_tp_pbfw", + "column": "sum(b.total_tp_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_tested_positive_on_prep", + "column": "sum(b.total_tested_positive_on_prep)" + }, + { + "type": "simple_column", + "alias": "d_tg_15_19_female", + "column": "sum(b.d_tg_15_19_female)" + }, + { + "type": "simple_column", + "alias": "d_tg_15_19_male", + "column": "sum(b.d_tg_15_19_male)" + }, + { + "type": "simple_column", + "alias": "d_tg_20_24_female", + "column": "sum(b.d_tg_20_24_female)" + }, + { + "type": "simple_column", + "alias": "d_tg_20_24_male", + "column": "sum(b.d_tg_20_24_male)" + }, + { + "type": "simple_column", + "alias": "d_tg_25_29_female", + "column": "sum(b.d_tg_25_29_female)" + }, + { + "type": "simple_column", + "alias": "d_tg_25_29_male", + "column": "sum(b.d_tg_25_29_male)" + }, + { + "type": "simple_column", + "alias": "d_tg_30_34_female", + "column": "sum(b.d_tg_30_34_female)" + }, + { + "type": "simple_column", + "alias": "d_tg_30_34_male", + "column": "sum(b.d_tg_30_34_male)" + }, + { + "type": "simple_column", + "alias": "d_tg_35_39_female", + "column": "sum(b.d_tg_35_39_female)" + }, + { + "type": "simple_column", + "alias": "d_tg_35_39_male", + "column": "sum(b.d_tg_35_39_male)" + }, + { + "type": "simple_column", + "alias": "d_tg_40_44_female", + "column": "sum(b.d_tg_40_44_female)" + }, + { + "type": "simple_column", + "alias": "d_tg_40_44_male", + "column": "sum(b.d_tg_40_44_male)" + }, + { + "type": "simple_column", + "alias": "d_tg_45_49_female", + "column": "sum(b.d_tg_45_49_female)" + }, + { + "type": "simple_column", + "alias": "d_tg_45_49_male", + "column": "sum(b.d_tg_45_49_male)" + }, + { + "type": "simple_column", + "alias": "d_tg_50_54_female", + "column": "sum(b.d_tg_50_54_female)" + }, + { + "type": "simple_column", + "alias": "d_tg_50_54_male", + "column": "sum(b.d_tg_50_54_male)" + }, + { + "type": "simple_column", + "alias": "d_tg_55_59_female", + "column": "sum(b.d_tg_55_59_female)" + }, + { + "type": "simple_column", + "alias": "d_tg_55_59_male", + "column": "sum(b.d_tg_55_59_male)" + }, + { + "type": "simple_column", + "alias": "d_tg_60_64_female", + "column": "sum(b.d_tg_60_64_female)" + }, + { + "type": "simple_column", + "alias": "d_tg_60_64_male", + "column": "sum(b.d_tg_60_64_male)" + }, + { + "type": "simple_column", + "alias": "d_tg_above_65_female", + "column": "sum(b.d_tg_above_65_female)" + }, + { + "type": "simple_column", + "alias": "d_tg_above_65_male", + "column": "sum(b.d_tg_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_d_tg", + "column": "sum(b.total_d_tg)" + }, + { + "type": "simple_column", + "alias": "d_agyw_15_19_female", + "column": "sum(b.d_agyw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "d_agyw_15_19_male", + "column": "sum(b.d_agyw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "d_agyw_20_24_female", + "column": "sum(b.d_agyw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "d_agyw_20_24_male", + "column": "sum(b.d_agyw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "d_agyw_25_29_female", + "column": "sum(b.d_agyw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "d_agyw_25_29_male", + "column": "sum(b.d_agyw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "d_agyw_30_34_female", + "column": "sum(b.d_agyw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "d_agyw_30_34_male", + "column": "sum(b.d_agyw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "d_agyw_35_39_female", + "column": "sum(b.d_agyw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "d_agyw_35_39_male", + "column": "sum(b.d_agyw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "d_agyw_40_44_female", + "column": "sum(b.d_agyw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "d_agyw_40_44_male", + "column": "sum(b.d_agyw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "d_agyw_45_49_female", + "column": "sum(b.d_agyw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "d_agyw_45_49_male", + "column": "sum(b.d_agyw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "d_agyw_50_54_female", + "column": "sum(b.d_agyw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "d_agyw_50_54_male", + "column": "sum(b.d_agyw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "d_agyw_55_59_female", + "column": "sum(b.d_agyw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "d_agyw_55_59_male", + "column": "sum(b.d_agyw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "d_agyw_60_64_female", + "column": "sum(b.d_agyw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "d_agyw_60_64_male", + "column": "sum(b.d_agyw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "d_agyw_above_65_female", + "column": "sum(b.d_agyw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "d_agyw_above_65_male", + "column": "sum(b.d_agyw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_d_agyw", + "column": "sum(b.total_d_agyw)" + }, + { + "type": "simple_column", + "alias": "d_msm_15_19_female", + "column": "sum(b.d_msm_15_19_female)" + }, + { + "type": "simple_column", + "alias": "d_msm_15_19_male", + "column": "sum(b.d_msm_15_19_male)" + }, + { + "type": "simple_column", + "alias": "d_msm_20_24_female", + "column": "sum(b.d_msm_20_24_female)" + }, + { + "type": "simple_column", + "alias": "d_msm_20_24_male", + "column": "sum(b.d_msm_20_24_male)" + }, + { + "type": "simple_column", + "alias": "d_msm_25_29_female", + "column": "sum(b.d_msm_25_29_female)" + }, + { + "type": "simple_column", + "alias": "d_msm_25_29_male", + "column": "sum(b.d_msm_25_29_male)" + }, + { + "type": "simple_column", + "alias": "d_msm_30_34_female", + "column": "sum(b.d_msm_30_34_female)" + }, + { + "type": "simple_column", + "alias": "d_msm_30_34_male", + "column": "sum(b.d_msm_30_34_male)" + }, + { + "type": "simple_column", + "alias": "d_msm_35_39_female", + "column": "sum(b.d_msm_35_39_female)" + }, + { + "type": "simple_column", + "alias": "d_msm_35_39_male", + "column": "sum(b.d_msm_35_39_male)" + }, + { + "type": "simple_column", + "alias": "d_msm_40_44_female", + "column": "sum(b.d_msm_40_44_female)" + }, + { + "type": "simple_column", + "alias": "d_msm_40_44_male", + "column": "sum(b.d_msm_40_44_male)" + }, + { + "type": "simple_column", + "alias": "d_msm_45_49_female", + "column": "sum(b.d_msm_45_49_female)" + }, + { + "type": "simple_column", + "alias": "d_msm_45_49_male", + "column": "sum(b.d_msm_45_49_male)" + }, + { + "type": "simple_column", + "alias": "d_msm_50_54_female", + "column": "sum(b.d_msm_50_54_female)" + }, + { + "type": "simple_column", + "alias": "d_msm_50_54_male", + "column": "sum(b.d_msm_50_54_male)" + }, + { + "type": "simple_column", + "alias": "d_msm_55_59_female", + "column": "sum(b.d_msm_55_59_female)" + }, + { + "type": "simple_column", + "alias": "d_msm_55_59_male", + "column": "sum(b.d_msm_55_59_male)" + }, + { + "type": "simple_column", + "alias": "d_msm_60_64_female", + "column": "sum(b.d_msm_60_64_female)" + }, + { + "type": "simple_column", + "alias": "d_msm_60_64_male", + "column": "sum(b.d_msm_60_64_male)" + }, + { + "type": "simple_column", + "alias": "d_msm_above_65_female", + "column": "sum(b.d_msm_above_65_female)" + }, + { + "type": "simple_column", + "alias": "d_msm_above_65_male", + "column": "sum(b.d_msm_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_d_msm", + "column": "sum(b.total_d_msm)" + }, + { + "type": "simple_column", + "alias": "d_mahr_15_19_female", + "column": "sum(b.d_mahr_15_19_female)" + }, + { + "type": "simple_column", + "alias": "d_mahr_15_19_male", + "column": "sum(b.d_mahr_15_19_male)" + }, + { + "type": "simple_column", + "alias": "d_mahr_20_24_female", + "column": "sum(b.d_mahr_20_24_female)" + }, + { + "type": "simple_column", + "alias": "d_mahr_20_24_male", + "column": "sum(b.d_mahr_20_24_male)" + }, + { + "type": "simple_column", + "alias": "d_mahr_25_29_female", + "column": "sum(b.d_mahr_25_29_female)" + }, + { + "type": "simple_column", + "alias": "d_mahr_25_29_male", + "column": "sum(b.d_mahr_25_29_male)" + }, + { + "type": "simple_column", + "alias": "d_mahr_30_34_female", + "column": "sum(b.d_mahr_30_34_female)" + }, + { + "type": "simple_column", + "alias": "d_mahr_30_34_male", + "column": "sum(b.d_mahr_30_34_male)" + }, + { + "type": "simple_column", + "alias": "d_mahr_35_39_female", + "column": "sum(b.d_mahr_35_39_female)" + }, + { + "type": "simple_column", + "alias": "d_mahr_35_39_male", + "column": "sum(b.d_mahr_35_39_male)" + }, + { + "type": "simple_column", + "alias": "d_mahr_40_44_female", + "column": "sum(b.d_mahr_40_44_female)" + }, + { + "type": "simple_column", + "alias": "d_mahr_40_44_male", + "column": "sum(b.d_mahr_40_44_male)" + }, + { + "type": "simple_column", + "alias": "d_mahr_45_49_female", + "column": "sum(b.d_mahr_45_49_female)" + }, + { + "type": "simple_column", + "alias": "d_mahr_45_49_male", + "column": "sum(b.d_mahr_45_49_male)" + }, + { + "type": "simple_column", + "alias": "d_mahr_50_54_female", + "column": "sum(b.d_mahr_50_54_female)" + }, + { + "type": "simple_column", + "alias": "d_mahr_50_54_male", + "column": "sum(b.d_mahr_50_54_male)" + }, + { + "type": "simple_column", + "alias": "d_mahr_55_59_female", + "column": "sum(b.d_mahr_55_59_female)" + }, + { + "type": "simple_column", + "alias": "d_mahr_55_59_male", + "column": "sum(b.d_mahr_55_59_male)" + }, + { + "type": "simple_column", + "alias": "d_mahr_60_64_female", + "column": "sum(b.d_mahr_60_64_female)" + }, + { + "type": "simple_column", + "alias": "d_mahr_60_64_male", + "column": "sum(b.d_mahr_60_64_male)" + }, + { + "type": "simple_column", + "alias": "d_mahr_above_65_female", + "column": "sum(b.d_mahr_above_65_female)" + }, + { + "type": "simple_column", + "alias": "d_mahr_above_65_male", + "column": "sum(b.d_mahr_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_d_mahr", + "column": "sum(b.total_d_mahr)" + }, + { + "type": "simple_column", + "alias": "d_fsw_15_19_female", + "column": "sum(b.d_fsw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "d_fsw_15_19_male", + "column": "sum(b.d_fsw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "d_fsw_20_24_female", + "column": "sum(b.d_fsw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "d_fsw_20_24_male", + "column": "sum(b.d_fsw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "d_fsw_25_29_female", + "column": "sum(b.d_fsw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "d_fsw_25_29_male", + "column": "sum(b.d_fsw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "d_fsw_30_34_female", + "column": "sum(b.d_fsw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "d_fsw_30_34_male", + "column": "sum(b.d_fsw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "d_fsw_35_39_female", + "column": "sum(b.d_fsw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "d_fsw_35_39_male", + "column": "sum(b.d_fsw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "d_fsw_40_44_female", + "column": "sum(b.d_fsw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "d_fsw_40_44_male", + "column": "sum(b.d_fsw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "d_fsw_45_49_female", + "column": "sum(b.d_fsw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "d_fsw_45_49_male", + "column": "sum(b.d_fsw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "d_fsw_50_54_female", + "column": "sum(b.d_fsw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "d_fsw_50_54_male", + "column": "sum(b.d_fsw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "d_fsw_55_59_female", + "column": "sum(b.d_fsw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "d_fsw_55_59_male", + "column": "sum(b.d_fsw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "d_fsw_60_64_female", + "column": "sum(b.d_fsw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "d_fsw_60_64_male", + "column": "sum(b.d_fsw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "d_fsw_above_65_female", + "column": "sum(b.d_fsw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "d_fsw_above_65_male", + "column": "sum(b.d_fsw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_d_fsw", + "column": "sum(b.total_d_fsw)" + }, + { + "type": "simple_column", + "alias": "d_pwid_15_19_female", + "column": "sum(b.d_pwid_15_19_female)" + }, + { + "type": "simple_column", + "alias": "d_pwid_15_19_male", + "column": "sum(b.d_pwid_15_19_male)" + }, + { + "type": "simple_column", + "alias": "d_pwid_20_24_female", + "column": "sum(b.d_pwid_20_24_female)" + }, + { + "type": "simple_column", + "alias": "d_pwid_20_24_male", + "column": "sum(b.d_pwid_20_24_male)" + }, + { + "type": "simple_column", + "alias": "d_pwid_25_29_female", + "column": "sum(b.d_pwid_25_29_female)" + }, + { + "type": "simple_column", + "alias": "d_pwid_25_29_male", + "column": "sum(b.d_pwid_25_29_male)" + }, + { + "type": "simple_column", + "alias": "d_pwid_30_34_female", + "column": "sum(b.d_pwid_30_34_female)" + }, + { + "type": "simple_column", + "alias": "d_pwid_30_34_male", + "column": "sum(b.d_pwid_30_34_male)" + }, + { + "type": "simple_column", + "alias": "d_pwid_35_39_female", + "column": "sum(b.d_pwid_35_39_female)" + }, + { + "type": "simple_column", + "alias": "d_pwid_35_39_male", + "column": "sum(b.d_pwid_35_39_male)" + }, + { + "type": "simple_column", + "alias": "d_pwid_40_44_female", + "column": "sum(b.d_pwid_40_44_female)" + }, + { + "type": "simple_column", + "alias": "d_pwid_40_44_male", + "column": "sum(b.d_pwid_40_44_male)" + }, + { + "type": "simple_column", + "alias": "d_pwid_45_49_female", + "column": "sum(b.d_pwid_45_49_female)" + }, + { + "type": "simple_column", + "alias": "d_pwid_45_49_male", + "column": "sum(b.d_pwid_45_49_male)" + }, + { + "type": "simple_column", + "alias": "d_pwid_50_54_female", + "column": "sum(b.d_pwid_50_54_female)" + }, + { + "type": "simple_column", + "alias": "d_pwid_50_54_male", + "column": "sum(b.d_pwid_50_54_male)" + }, + { + "type": "simple_column", + "alias": "d_pwid_55_59_female", + "column": "sum(b.d_pwid_55_59_female)" + }, + { + "type": "simple_column", + "alias": "d_pwid_55_59_male", + "column": "sum(b.d_pwid_55_59_male)" + }, + { + "type": "simple_column", + "alias": "d_pwid_60_64_female", + "column": "sum(b.d_pwid_60_64_female)" + }, + { + "type": "simple_column", + "alias": "d_pwid_60_64_male", + "column": "sum(b.d_pwid_60_64_male)" + }, + { + "type": "simple_column", + "alias": "d_pwid_above_65_female", + "column": "sum(b.d_pwid_above_65_female)" + }, + { + "type": "simple_column", + "alias": "d_pwid_above_65_male", + "column": "sum(b.d_pwid_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_d_pwid", + "column": "sum(b.total_d_pwid)" + }, + { + "type": "simple_column", + "alias": "d_ow_15_19_female", + "column": "sum(b.d_ow_15_19_female)" + }, + { + "type": "simple_column", + "alias": "d_ow_15_19_male", + "column": "sum(b.d_ow_15_19_male)" + }, + { + "type": "simple_column", + "alias": "d_ow_20_24_female", + "column": "sum(b.d_ow_20_24_female)" + }, + { + "type": "simple_column", + "alias": "d_ow_20_24_male", + "column": "sum(b.d_ow_20_24_male)" + }, + { + "type": "simple_column", + "alias": "d_ow_25_29_female", + "column": "sum(b.d_ow_25_29_female)" + }, + { + "type": "simple_column", + "alias": "d_ow_25_29_male", + "column": "sum(b.d_ow_25_29_male)" + }, + { + "type": "simple_column", + "alias": "d_ow_30_34_female", + "column": "sum(b.d_ow_30_34_female)" + }, + { + "type": "simple_column", + "alias": "d_ow_30_34_male", + "column": "sum(b.d_ow_30_34_male)" + }, + { + "type": "simple_column", + "alias": "d_ow_35_39_female", + "column": "sum(b.d_ow_35_39_female)" + }, + { + "type": "simple_column", + "alias": "d_ow_35_39_male", + "column": "sum(b.d_ow_35_39_male)" + }, + { + "type": "simple_column", + "alias": "d_ow_40_44_female", + "column": "sum(b.d_ow_40_44_female)" + }, + { + "type": "simple_column", + "alias": "d_ow_40_44_male", + "column": "sum(b.d_ow_40_44_male)" + }, + { + "type": "simple_column", + "alias": "d_ow_45_49_female", + "column": "sum(b.d_ow_45_49_female)" + }, + { + "type": "simple_column", + "alias": "d_ow_45_49_male", + "column": "sum(b.d_ow_45_49_male)" + }, + { + "type": "simple_column", + "alias": "d_ow_50_54_female", + "column": "sum(b.d_ow_50_54_female)" + }, + { + "type": "simple_column", + "alias": "d_ow_50_54_male", + "column": "sum(b.d_ow_50_54_male)" + }, + { + "type": "simple_column", + "alias": "d_ow_55_59_female", + "column": "sum(b.d_ow_55_59_female)" + }, + { + "type": "simple_column", + "alias": "d_ow_55_59_male", + "column": "sum(b.d_ow_55_59_male)" + }, + { + "type": "simple_column", + "alias": "d_ow_60_64_female", + "column": "sum(b.d_ow_60_64_female)" + }, + { + "type": "simple_column", + "alias": "d_ow_60_64_male", + "column": "sum(b.d_ow_60_64_male)" + }, + { + "type": "simple_column", + "alias": "d_ow_above_65_female", + "column": "sum(b.d_ow_above_65_female)" + }, + { + "type": "simple_column", + "alias": "d_ow_above_65_male", + "column": "sum(b.d_ow_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_d_ow", + "column": "sum(b.total_d_ow)" + }, + { + "type": "simple_column", + "alias": "d_sdc_15_19_female", + "column": "sum(b.d_sdc_15_19_female)" + }, + { + "type": "simple_column", + "alias": "d_sdc_15_19_male", + "column": "sum(b.d_sdc_15_19_male)" + }, + { + "type": "simple_column", + "alias": "d_sdc_20_24_female", + "column": "sum(b.d_sdc_20_24_female)" + }, + { + "type": "simple_column", + "alias": "d_sdc_20_24_male", + "column": "sum(b.d_sdc_20_24_male)" + }, + { + "type": "simple_column", + "alias": "d_sdc_25_29_female", + "column": "sum(b.d_sdc_25_29_female)" + }, + { + "type": "simple_column", + "alias": "d_sdc_25_29_male", + "column": "sum(b.d_sdc_25_29_male)" + }, + { + "type": "simple_column", + "alias": "d_sdc_30_34_female", + "column": "sum(b.d_sdc_30_34_female)" + }, + { + "type": "simple_column", + "alias": "d_sdc_30_34_male", + "column": "sum(b.d_sdc_30_34_male)" + }, + { + "type": "simple_column", + "alias": "d_sdc_35_39_female", + "column": "sum(b.d_sdc_35_39_female)" + }, + { + "type": "simple_column", + "alias": "d_sdc_35_39_male", + "column": "sum(b.d_sdc_35_39_male)" + }, + { + "type": "simple_column", + "alias": "d_sdc_40_44_female", + "column": "sum(b.d_sdc_40_44_female)" + }, + { + "type": "simple_column", + "alias": "d_sdc_40_44_male", + "column": "sum(b.d_sdc_40_44_male)" + }, + { + "type": "simple_column", + "alias": "d_sdc_45_49_female", + "column": "sum(b.d_sdc_45_49_female)" + }, + { + "type": "simple_column", + "alias": "d_sdc_45_49_male", + "column": "sum(b.d_sdc_45_49_male)" + }, + { + "type": "simple_column", + "alias": "d_sdc_50_54_female", + "column": "sum(b.d_sdc_50_54_female)" + }, + { + "type": "simple_column", + "alias": "d_sdc_50_54_male", + "column": "sum(b.d_sdc_50_54_male)" + }, + { + "type": "simple_column", + "alias": "d_sdc_55_59_female", + "column": "sum(b.d_sdc_55_59_female)" + }, + { + "type": "simple_column", + "alias": "d_sdc_55_59_male", + "column": "sum(b.d_sdc_55_59_male)" + }, + { + "type": "simple_column", + "alias": "d_sdc_60_64_female", + "column": "sum(b.d_sdc_60_64_female)" + }, + { + "type": "simple_column", + "alias": "d_sdc_60_64_male", + "column": "sum(b.d_sdc_60_64_male)" + }, + { + "type": "simple_column", + "alias": "d_sdc_above_65_female", + "column": "sum(b.d_sdc_above_65_female)" + }, + { + "type": "simple_column", + "alias": "d_sdc_above_65_male", + "column": "sum(b.d_sdc_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_d_sdc", + "column": "sum(b.total_d_sdc)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_15_19_female", + "column": "sum(b.d_pbfw_15_19_female)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_15_19_male", + "column": "sum(b.d_pbfw_15_19_male)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_20_24_female", + "column": "sum(b.d_pbfw_20_24_female)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_20_24_male", + "column": "sum(b.d_pbfw_20_24_male)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_25_29_female", + "column": "sum(b.d_pbfw_25_29_female)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_25_29_male", + "column": "sum(b.d_pbfw_25_29_male)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_30_34_female", + "column": "sum(b.d_pbfw_30_34_female)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_30_34_male", + "column": "sum(b.d_pbfw_30_34_male)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_35_39_female", + "column": "sum(b.d_pbfw_35_39_female)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_35_39_male", + "column": "sum(b.d_pbfw_35_39_male)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_40_44_female", + "column": "sum(b.d_pbfw_40_44_female)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_40_44_male", + "column": "sum(b.d_pbfw_40_44_male)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_45_49_female", + "column": "sum(b.d_pbfw_45_49_female)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_45_49_male", + "column": "sum(b.d_pbfw_45_49_male)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_50_54_female", + "column": "sum(b.d_pbfw_50_54_female)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_50_54_male", + "column": "sum(b.d_pbfw_50_54_male)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_55_59_female", + "column": "sum(b.d_pbfw_55_59_female)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_55_59_male", + "column": "sum(b.d_pbfw_55_59_male)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_60_64_female", + "column": "sum(b.d_pbfw_60_64_female)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_60_64_male", + "column": "sum(b.d_pbfw_60_64_male)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_above_65_female", + "column": "sum(b.d_pbfw_above_65_female)" + }, + { + "type": "simple_column", + "alias": "d_pbfw_above_65_male", + "column": "sum(b.d_pbfw_above_65_male)" + }, + { + "type": "simple_column", + "alias": "total_d_pbfw", + "column": "sum(b.total_d_pbfw)" + }, + { + "type": "simple_column", + "alias": "total_diagnosed_with_sti_on_prep", + "column": "sum(b.total_diagnosed_with_sti_on_prep)" + } + ], + "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/while-on-prep/while-on-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-base.json new file mode 100644 index 000000000..24d28aae3 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-base.json @@ -0,0 +1,3449 @@ +{ + "name": "whileOnPrepBase", + "version": "1.0", + "tag": "", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.prep_monthly_report_dataset_v5", + "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": "tested_positive_while_on_prep", + "column": "pd.turned_positive_this_month" + }, + { + "type": "derived_column", + "alias": "diagnosed_with_sti_while_on_prep", + "column": "pd.diagnosed_with_sti" + }, + { + "type": "derived_column", + "alias": "tp_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tp_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 50 OR pd.sub_population_type = 60 OR pd.population_type = 1)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tp_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tp_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_mahr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tp_mahr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tp_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tp_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tp_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_sdc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tp_sdc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "tp_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tp_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1 AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_tested_positive_on_prep", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.turned_positive_this_month = 1), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 60 OR pd.population_type = 1) AND pd.gender = 'M' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_tg_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.population_type = 1) AND pd.gender = 'F' AND (pd.age >= 65 )), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_d_tg", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 50 OR pd.sub_population_type = 60 OR pd.population_type = 1)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_agyw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_d_agyw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 2), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_msm_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_d_msm", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.sub_population_type = 10 OR pd.sub_population_type = 20 OR pd.population_type = 3)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 4) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_mahr_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_d_mahr", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti= 1 AND (pd.old_population_type = 300 OR pd.population_type = 4)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_fsw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_d_fsw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 5 OR pd.sub_population_type = 30)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pwid_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_d_pwid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.population_type = 6 OR pd.sub_population_type = 40)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_ow_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_d_ow", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 300 OR pd.population_type = 7)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'M' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_sdc_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8) AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_d_sdc", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND (pd.old_population_type = 100 OR pd.population_type = 8)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_15_19_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_15_19_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 15 AND 19)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_20_24_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_20_24_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 20 AND 24)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_25_29_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_25_29_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 25 AND 29)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_30_34_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_30_34_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 30 AND 34)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_35_39_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_35_39_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 35 AND 39)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_40_44_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_40_44_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 40 AND 44)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_45_49_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_45_49_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 45 AND 49)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_50_54_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_50_54_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 50 AND 54)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_55_59_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_55_59_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 55 AND 59)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_60_64_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_60_64_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age between 60 AND 64)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_above_65_male", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.person_id is not null), -1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "d_pbfw_above_65_female", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9 AND pd.gender = 'F' AND (pd.age >= 65)), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_d_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1 AND pd.population_type = 9), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "total_diagnosed_with_sti_on_prep", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "if((pd.diagnosed_with_sti = 1), 1, NULL)" + } + }, + { + "type": "derived_column", + "alias": "month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "DATE_FORMAT(pd.endDate,'%Y-%m')" + } + } + ], + "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-patient-list-cols.json b/app/reporting-framework/json-reports/prep-monthly/prep-monthly-patient-list-cols.json new file mode 100644 index 000000000..0bc3a83ce --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/prep-monthly-patient-list-cols.json @@ -0,0 +1,27 @@ +{ + "patientListCols": [ + { + "headerName": "CCC Number", + "field": "ccc_number", + "width": 150, + "pinned": true + }, + { + "headerName": "NUPI Identifier", + "field": "upi_number", + "width": 150, + "pinned": true + }, + { + "headerName": "Patient Uuid", + "field": "patient_uuid", + "width": 100, + "hide": true + }, + { + "headerName": "Gender", + "field": "gender", + "width": 100 + } + ] +} 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 new file mode 100644 index 000000000..048fcff74 --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/prep-monthly-sections-indicators.json @@ -0,0 +1,24168 @@ +[ + { + "sectionTitle": "", + "indicators": [ + { + "label": "Month", + "indicator": "month" + }, + { + "label": "Location", + "indicator": "location" + } + ] + }, + { + "sectionTitle": "", + "indicators": [ + { + "label": "Age Disaggregation", + "indicators": [ + "15 - 19", + "20 - 24", + "25 - 29", + "30 - 34", + "35 - 39", + "40 - 44", + "45 - 49", + "50 - 54", + "55 - 59", + "60 - 64", + "65+", + "Total" + ] + }, + { + "label": "Gender Disaggregation", + "indicators": [ + "M", + "F", + "M", + "F", + "M", + "F", + "M", + "F", + "M", + "F", + "M", + "F", + "M", + "F", + "M", + "F", + "M", + "F", + "M", + "F", + "M", + "F" + ] + } + ] + }, + { + "sectionTitle": "No. clients intiated on PrEP", + "indicators": [ + { + "label": "Trans Gender (TG)", + "indicators": [ + { + "label": "Male Trans Gender Initiated on PrEP aged between 15 and 19", + "indicator": "i_tg_15_19_male" + }, + { + "label": "Female Trans Gender Initiated on PrEP aged between 15 and 19", + "indicator": "i_tg_15_19_female" + }, + { + "label": "Male Trans Gender Initiated on PrEP aged between 20 and 24", + "indicator": "i_tg_20_24_male" + }, + { + "label": "Female Trans Gender Initiated on PrEP aged between 20 and 24", + "indicator": "i_tg_20_24_female" + }, + { + "label": "Male Trans Gender Initiated on PrEP aged between 25 and 29", + "indicator": "i_tg_25_29_male" + }, + { + "label": "Female Trans Gender Initiated on PrEP aged between 25 and 29", + "indicator": "i_tg_25_29_female" + }, + { + "label": "Male Trans Gender Initiated on PrEP aged between 30 and 34", + "indicator": "i_tg_30_34_male" + }, + { + "label": "Female Trans Gender Initiated on PrEP aged between 30 and 34", + "indicator": "i_tg_30_34_female" + }, + { + "label": "Male Trans Gender Initiated on PrEP aged between 35 and 39", + "indicator": "i_tg_35_39_male" + }, + { + "label": "Female Trans Gender Initiated on PrEP aged between 35 and 39", + "indicator": "i_tg_35_39_female" + }, + { + "label": "Male Trans Gender Initiated on PrEP aged between 40 and 44", + "indicator": "i_tg_40_44_male" + }, + { + "label": "Female Trans Gender Initiated on PrEP aged between 40 and 44", + "indicator": "i_tg_40_44_female" + }, + { + "label": "Male Trans Gender Initiated on PrEP aged between 45 and 49", + "indicator": "i_tg_45_49_male" + }, + { + "label": "Female Trans Gender Initiated on PrEP aged between 45 and 49", + "indicator": "i_tg_45_49_female" + }, + { + "label": "Male Trans Gender Initiated on PrEP aged between 50 and 54", + "indicator": "i_tg_50_54_male" + }, + { + "label": "Female Trans Gender Initiated on PrEP aged between 50 and 54", + "indicator": "i_tg_50_54_female" + }, + { + "label": "Male Trans Gender Initiated on PrEP aged between 55 and 50", + "indicator": "i_tg_55_59_male" + }, + { + "label": "Female Trans Gender Initiated on PrEP aged between 55 and 59", + "indicator": "i_tg_55_59_female" + }, + { + "label": "Male Trans Gender Initiated on PrEP aged between 60 and 64", + "indicator": "i_tg_60_64_male" + }, + { + "label": "Female Trans Gender Initiated on PrEP aged between 60 and 64", + "indicator": "i_tg_60_64_female" + }, + { + "label": "Male Trans Gender Initiated on PrEP aged above 65", + "indicator": "i_tg_above_65_male" + }, + { + "label": "Female Trans Gender Initiated on PrEP aged above 65", + "indicator": "i_tg_above_65_female" + }, + { + "label": "Total Number of Trans Gender Initiated on PrEP", + "indicator": "total_i_tg" + } + ] + }, + { + "label": "Adolescent Girls and Young Women (AGYW)", + "indicators": [ + { + "label": "", + "indicator": "i_agyw_15_19_male" + }, + { + "label": "Adolescent Girls and Young Women Initiated on PrEP aged between 15 and 19", + "indicator": "i_agyw_15_19_female" + }, + { + "label": "", + "indicator": "i_agyw_20_24_male" + }, + { + "label": "Adolescent Girls and Young Women Initiated on PrEP aged between 20 and 24", + "indicator": "i_agyw_20_24_female" + }, + { + "label": "", + "indicator": "i_agyw_25_29_male" + }, + { + "label": "Adolescent Girls and Young Women Initiated on PrEP aged between 25 and 29", + "indicator": "i_agyw_25_29_female" + }, + { + "label": "", + "indicator": "i_agyw_30_34_male" + }, + { + "label": "Adolescent Girls and Young Women Initiated on PrEP aged between 30 and 34", + "indicator": "i_agyw_30_34_female" + }, + { + "label": "", + "indicator": "i_agyw_35_39_male" + }, + { + "label": "Adolescent Girls and Young Women Initiated on PrEP aged between 35 and 39", + "indicator": "i_agyw_35_39_female" + }, + { + "label": "", + "indicator": "i_agyw_40_44_male" + }, + { + "label": "Adolescent Girls and Young Women Initiated on PrEP aged between 40 and 44", + "indicator": "i_agyw_40_44_female" + }, + { + "label": "", + "indicator": "i_agyw_45_49_male" + }, + { + "label": "Adolescent Girls and Young Women Initiated on PrEP aged between 45 and 49", + "indicator": "i_agyw_45_49_female" + }, + { + "label": "", + "indicator": "i_agyw_50_54_male" + }, + { + "label": "Adolescent Girls and Young Women Initiated on PrEP aged between 50 and 54", + "indicator": "i_agyw_50_54_female" + }, + { + "label": "", + "indicator": "i_agyw_55_59_male" + }, + { + "label": "Adolescent Girls and Young Women Initiated on PrEP aged between 55 and 59", + "indicator": "i_agyw_55_59_female" + }, + { + "label": "", + "indicator": "i_agyw_60_64_male" + }, + { + "label": "Adolescent Girls and Young Women Initiated on PrEP aged between 60 and 64", + "indicator": "i_agyw_60_64_female" + }, + { + "label": "", + "indicator": "i_agyw_above_65_male" + }, + { + "label": "Adolescent Girls and Young Women Initiated on PrEP aged above 65", + "indicator": "i_agyw_above_65_female" + }, + { + "label": "Total Number of Adolescent Girls and Young Women Initiated on PrEP", + "indicator": "total_i_agyw" + } + ] + }, + { + "label": "Men Sex Worker (MSM)", + "indicators": [ + { + "label": "Men Sex Worker Initiated on PrEP aged between 15 and 19", + "indicator": "i_msm_15_19_male" + }, + { + "label": "", + "indicator": "i_msm_15_19_female" + }, + { + "label": "Men Sex Worker Initiated on PrEP aged between 20 and 24", + "indicator": "i_msm_20_24_male" + }, + { + "label": "", + "indicator": "i_msm_20_24_female" + }, + { + "label": "Men Sex Worker Initiated on PrEP aged between 25 and 29", + "indicator": "i_msm_25_29_male" + }, + { + "label": "", + "indicator": "i_msm_25_29_female" + }, + { + "label": "Men Sex Worker Initiated on PrEP aged between 30 and 34", + "indicator": "i_msm_30_34_male" + }, + { + "label": "", + "indicator": "i_msm_30_34_female" + }, + { + "label": "Men Sex Worker Initiated on PrEP aged between 35 and 39", + "indicator": "i_msm_35_39_male" + }, + { + "label": "", + "indicator": "i_msm_35_39_female" + }, + { + "label": "Men Sex Worker Initiated on PrEP aged between 40 and 44", + "indicator": "i_msm_40_44_male" + }, + { + "label": "", + "indicator": "i_msm_40_44_female" + }, + { + "label": "Men Sex Worker Initiated on PrEP aged between 45 and 49", + "indicator": "i_msm_45_49_male" + }, + { + "label": "", + "indicator": "i_msm_45_49_female" + }, + { + "label": "Men Sex Worker Initiated on PrEP aged between 50 and 54", + "indicator": "i_msm_50_54_male" + }, + { + "label": "", + "indicator": "i_msm_50_54_female" + }, + { + "label": "Men Sex Worker Initiated on PrEP aged between 55 and 59", + "indicator": "i_msm_55_59_male" + }, + { + "label": "", + "indicator": "i_msm_55_59_female" + }, + { + "label": "Men Sex Worker Initiated on PrEP aged between 60 and 64", + "indicator": "i_msm_60_64_male" + }, + { + "label": "", + "indicator": "i_msm_60_64_female" + }, + { + "label": "Men Sex Worker Initiated on PrEP aged above 65", + "indicator": "i_msm_above_65_male" + }, + { + "label": "", + "indicator": "i_msm_above_65_female" + }, + { + "label": "Total Number of Men Sex Worker Initiated on PrEP", + "indicator": "total_i_msm" + } + ] + }, + { + "label": "Men at High Risk", + "indicators": [ + { + "label": "Men at High Risk Initiated on PrEP aged between 15 and 19", + "indicator": "i_mahr_15_19_male" + }, + { + "label": "", + "indicator": "i_mahr_15_19_female" + }, + { + "label": "Men at High Risk Initiated on PrEP aged between 20 and 24", + "indicator": "i_mahr_20_24_male" + }, + { + "label": "", + "indicator": "i_mahr_20_24_female" + }, + { + "label": "Men at High Risk Initiated on PrEP aged between 25 and 29", + "indicator": "i_mahr_25_29_male" + }, + { + "label": "", + "indicator": "i_mahr_25_29_female" + }, + { + "label": "Men at High Risk Initiated on PrEP aged between 30 and 34", + "indicator": "i_mahr_30_34_male" + }, + { + "label": "", + "indicator": "i_mahr_30_34_female" + }, + { + "label": "Men at High Risk Initiated on PrEP aged between 35 and 39", + "indicator": "i_mahr_35_39_male" + }, + { + "label": "", + "indicator": "i_mahr_35_39_female" + }, + { + "label": "Men at High Risk Initiated on PrEP aged between 40 and 44", + "indicator": "i_mahr_40_44_male" + }, + { + "label": "", + "indicator": "i_mahr_40_44_female" + }, + { + "label": "Men at High Risk Initiated on PrEP aged between 45 and 49", + "indicator": "i_mahr_45_49_male" + }, + { + "label": "", + "indicator": "i_mahr_45_49_female" + }, + { + "label": "Men at High Risk Initiated on PrEP aged between 50 and 54", + "indicator": "i_mahr_50_54_male" + }, + { + "label": "", + "indicator": "i_mahr_50_54_female" + }, + { + "label": "Men at High Risk Initiated on PrEP aged between 55 and 59", + "indicator": "i_mahr_55_59_male" + }, + { + "label": "", + "indicator": "i_mahr_55_59_female" + }, + { + "label": "Men at High Risk Initiated on PrEP aged between 60 and 64", + "indicator": "i_mahr_60_64_male" + }, + { + "label": "", + "indicator": "i_mahr_60_64_female" + }, + { + "label": "Men at High Risk Initiated on PrEP aged above 65", + "indicator": "i_mahr_above_65_male" + }, + { + "label": "", + "indicator": "i_mahr_above_65_female" + }, + { + "label": "Total Number of Men at High Risk Initiated on PrEP", + "indicator": "total_i_mahr" + } + ] + }, + { + "label": "Female Sexual Workers (FSW)", + "indicators": [ + { + "label": "", + "indicator": "i_fsw_15_19_male" + }, + { + "label": "Female Sexual Workers Initiated on PrEP aged between 15 and 19", + "indicator": "i_fsw_15_19_female" + }, + { + "label": "", + "indicator": "i_fsw_20_24_male" + }, + { + "label": "Female Sexual Workers Initiated on PrEP aged between 20 and 24", + "indicator": "i_fsw_20_24_female" + }, + { + "label": "", + "indicator": "i_fsw_25_29_male" + }, + { + "label": "Female Sexual Workers Initiated on PrEP aged between 25 and 29", + "indicator": "i_fsw_25_29_female" + }, + { + "label": "", + "indicator": "i_fsw_30_34_male" + }, + { + "label": "Female Sexual Workers Initiated on PrEP aged between 30 and 34", + "indicator": "i_fsw_30_34_female" + }, + { + "label": "", + "indicator": "i_fsw_35_39_male" + }, + { + "label": "Female Sexual Workers Initiated on PrEP aged between 35 and 39", + "indicator": "i_fsw_35_39_female" + }, + { + "label": "", + "indicator": "i_fsw_40_44_male" + }, + { + "label": "Female Sexual Workers Initiated on PrEP aged between 40 and 44", + "indicator": "i_fsw_40_44_female" + }, + { + "label": "", + "indicator": "i_fsw_45_49_male" + }, + { + "label": "Female Sexual Workers Initiated on PrEP aged between 45 and 49", + "indicator": "i_fsw_45_49_female" + }, + { + "label": "", + "indicator": "i_fsw_50_54_male" + }, + { + "label": "Female Sexual Workers Initiated on PrEP aged between 50 and 54", + "indicator": "i_fsw_50_54_female" + }, + { + "label": "", + "indicator": "i_fsw_55_59_male" + }, + { + "label": "Female Sexual Workers Initiated on PrEP aged between 55 and 59", + "indicator": "i_fsw_55_59_female" + }, + { + "label": "", + "indicator": "i_fsw_60_64_male" + }, + { + "label": "Female Sexual Workers Initiated on PrEP aged between 60 and 64", + "indicator": "i_fsw_60_64_female" + }, + { + "label": "", + "indicator": "i_fsw_above_65_male" + }, + { + "label": "Female Sexual Workers Initiated on PrEP aged above 65", + "indicator": "i_fsw_above_65_female" + }, + { + "label": "Total Number of Female Sexual Workers Initiated on PrEP", + "indicator": "total_i_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Male PWID Initiated on PrEP aged between 15 and 19", + "indicator": "i_pwid_15_19_male" + }, + { + "label": "Female PWID Initiated on PrEP aged between 15 and 19", + "indicator": "i_pwid_15_19_female" + }, + { + "label": "Male PWID Initiated on PrEP aged between 20 and 24", + "indicator": "i_pwid_20_24_male" + }, + { + "label": "Female PWID Initiated on PrEP aged between 20 and 24", + "indicator": "i_pwid_20_24_female" + }, + { + "label": "Male PWID Initiated on PrEP aged between 25 and 29", + "indicator": "i_pwid_25_29_male" + }, + { + "label": "Female PWID Initiated on PrEP aged between 25 and 29", + "indicator": "i_pwid_25_29_female" + }, + { + "label": "Male PWID Initiated on PrEP aged between 30 and 34", + "indicator": "i_pwid_30_34_male" + }, + { + "label": "Female PWID Initiated on PrEP aged between 30 and 34", + "indicator": "i_pwid_30_34_female" + }, + { + "label": "Male PWID Initiated on PrEP aged between 35 and 39", + "indicator": "i_pwid_35_39_male" + }, + { + "label": "Female PWID Initiated on PrEP aged between 35 and 39", + "indicator": "i_pwid_35_39_female" + }, + { + "label": "Male PWID Initiated on PrEP aged between 40 and 44", + "indicator": "i_pwid_40_44_male" + }, + { + "label": "Female PWID Initiated on PrEP aged between 40 and 44", + "indicator": "i_pwid_40_44_female" + }, + { + "label": "Male PWID Initiated on PrEP aged between 45 and 49", + "indicator": "i_pwid_45_49_male" + }, + { + "label": "Female PWID Initiated on PrEP aged between 45 and 49", + "indicator": "i_pwid_45_49_female" + }, + { + "label": "Male PWID Initiated on PrEP aged between 50 and 54", + "indicator": "i_pwid_50_54_male" + }, + { + "label": "Female PWID Initiated on PrEP aged between 50 and 54", + "indicator": "i_pwid_50_54_female" + }, + { + "label": "Male PWID Initiated on PrEP aged between 55 and 50", + "indicator": "i_pwid_55_59_male" + }, + { + "label": "Female PWID Initiated on PrEP aged between 55 and 59", + "indicator": "i_pwid_55_59_female" + }, + { + "label": "Male PWID Initiated on PrEP aged between 60 and 64", + "indicator": "i_pwid_60_64_male" + }, + { + "label": "Female PWID Initiated on PrEP aged between 60 and 64", + "indicator": "i_pwid_60_64_female" + }, + { + "label": "Male PWID Initiated on PrEP aged above 65", + "indicator": "i_pwid_above_65_male" + }, + { + "label": "Female PWID Initiated on PrEP aged above 65", + "indicator": "i_pwid_above_65_female" + }, + { + "label": "Total Number of PWID Initiated on PrEP", + "indicator": "total_i_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "", + "indicator": "i_ow_15_19_male" + }, + { + "label": "Other Women Initiated on PrEP aged between 15 and 19", + "indicator": "i_ow_15_19_female" + }, + { + "label": "", + "indicator": "i_ow_20_24_male" + }, + { + "label": "Other Women Initiated on PrEP aged between 20 and 24", + "indicator": "i_ow_20_24_female" + }, + { + "label": "", + "indicator": "i_ow_25_29_male" + }, + { + "label": "Other Women Initiated on PrEP aged between 25 and 29", + "indicator": "i_ow_25_29_female" + }, + { + "label": "", + "indicator": "i_ow_30_34_male" + }, + { + "label": "Other Women Initiated on PrEP aged between 30 and 34", + "indicator": "i_ow_30_34_female" + }, + { + "label": "", + "indicator": "i_ow_35_39_male" + }, + { + "label": "Other Women Initiated on PrEP aged between 35 and 39", + "indicator": "i_ow_35_39_female" + }, + { + "label": "", + "indicator": "i_ow_40_44_male" + }, + { + "label": "Other Women Initiated on PrEP aged between 40 and 44", + "indicator": "i_ow_40_44_female" + }, + { + "label": "", + "indicator": "i_ow_45_49_male" + }, + { + "label": "Other Women Initiated on PrEP aged between 45 and 49", + "indicator": "i_ow_45_49_female" + }, + { + "label": "", + "indicator": "i_ow_50_54_male" + }, + { + "label": "Other Women Initiated on PrEP aged between 50 and 54", + "indicator": "i_ow_50_54_female" + }, + { + "label": "", + "indicator": "i_ow_55_59_male" + }, + { + "label": "Other Women Initiated on PrEP aged between 55 and 59", + "indicator": "i_ow_55_59_female" + }, + { + "label": "", + "indicator": "i_ow_60_64_male" + }, + { + "label": "Other Women Initiated on PrEP aged between 60 and 64", + "indicator": "i_ow_60_64_female" + }, + { + "label": "", + "indicator": "i_ow_above_65_male" + }, + { + "label": "Other Women Initiated on PrEP aged above 65", + "indicator": "i_ow_above_65_female" + }, + { + "label": "Total Number of Other Women Initiated on PrEP", + "indicator": "total_i_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Male Serodiscordant Couple Initiated on aged between 15 and 19", + "indicator": "i_sdc_15_19_male" + }, + { + "label": "Female Serodiscordant Couple Initiated on aged between 15 and 19", + "indicator": "i_sdc_15_19_female" + }, + { + "label": "Male Serodiscordant Couple Initiated on aged between 20 and 24", + "indicator": "i_sdc_20_24_male" + }, + { + "label": "Female Serodiscordant Couple Initiated on aged between 20 and 24", + "indicator": "i_sdc_20_24_female" + }, + { + "label": "Male Serodiscordant Couple Initiated on aged between 25 and 29", + "indicator": "i_sdc_25_29_male" + }, + { + "label": "Female Serodiscordant Couple Initiated on aged between 25 and 29", + "indicator": "i_sdc_25_29_female" + }, + { + "label": "Male Serodiscordant Couple Initiated on aged between 30 and 34", + "indicator": "i_sdc_30_34_male" + }, + { + "label": "Female Serodiscordant Couple Initiated on aged between 30 and 34", + "indicator": "i_sdc_30_34_female" + }, + { + "label": "Male Serodiscordant Couple Initiated on aged between 35 and 39", + "indicator": "i_sdc_35_39_male" + }, + { + "label": "Female Serodiscordant Couple Initiated on aged between 35 and 39", + "indicator": "i_sdc_35_39_female" + }, + { + "label": "Male Serodiscordant Couple Initiated on aged between 40 and 44", + "indicator": "i_sdc_40_44_male" + }, + { + "label": "Female Serodiscordant Couple Initiated on aged between 40 and 44", + "indicator": "i_sdc_40_44_female" + }, + { + "label": "Male Serodiscordant Couple Initiated on aged between 45 and 49", + "indicator": "i_sdc_45_49_male" + }, + { + "label": "Female Serodiscordant Couple Initiated on aged between 45 and 49", + "indicator": "i_sdc_45_49_female" + }, + { + "label": "Male Serodiscordant Couple Initiated on aged between 50 and 54", + "indicator": "i_sdc_50_54_male" + }, + { + "label": "Female Serodiscordant Couple Initiated on aged between 50 and 54", + "indicator": "i_sdc_50_54_female" + }, + { + "label": "Male Serodiscordant Couple Initiated on aged between 55 and 50", + "indicator": "i_sdc_55_59_male" + }, + { + "label": "Female Serodiscordant Couple Initiated on aged between 55 and 59", + "indicator": "i_sdc_55_59_female" + }, + { + "label": "Male Serodiscordant Couple Initiated on aged between 60 and 64", + "indicator": "i_sdc_60_64_male" + }, + { + "label": "Female Serodiscordant Couple Initiated on aged between 60 and 64", + "indicator": "i_sdc_60_64_female" + }, + { + "label": "Male Serodiscordant Couple Initiated on aged above 65", + "indicator": "i_sdc_above_65_male" + }, + { + "label": "Female Serodiscordant Couple Initiated on aged above 65", + "indicator": "i_sdc_above_65_female" + }, + { + "label": "Total Number of Serodiscordant Couple Initiated on", + "indicator": "total_i_sdc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "PBFW Initiated on PrEP aged between 15 and 19", + "indicator": "i_pbfw_15_19_female" + }, + { + "label": "", + "indicator": "i_pbfw_20_24_male" + }, + { + "label": "PBFW Initiated on PrEP aged between 20 and 24", + "indicator": "i_pbfw_20_24_female" + }, + { + "label": "", + "indicator": "i_pbfw_25_29_male" + }, + { + "label": "PBFW Initiated on PrEP aged between 25 and 29", + "indicator": "i_pbfw_25_29_female" + }, + { + "label": "", + "indicator": "i_pbfw_30_34_male" + }, + { + "label": "PBFW Initiated on PrEP aged between 30 and 34", + "indicator": "i_pbfw_30_34_female" + }, + { + "label": "", + "indicator": "i_pbfw_35_39_male" + }, + { + "label": "PBFW Initiated on PrEP aged between 35 and 39", + "indicator": "i_pbfw_35_39_female" + }, + { + "label": "", + "indicator": "i_pbfw_40_44_male" + }, + { + "label": "PBFW Initiated on PrEP aged between 40 and 44", + "indicator": "i_pbfw_40_44_female" + }, + { + "label": "", + "indicator": "i_pbfw_45_49_male" + }, + { + "label": "PBFW Initiated on PrEP aged between 45 and 49", + "indicator": "i_pbfw_45_49_female" + }, + { + "label": "", + "indicator": "i_pbfw_50_54_male" + }, + { + "label": "PBFW Initiated on PrEP aged between 50 and 54", + "indicator": "i_pbfw_50_54_female" + }, + { + "label": "", + "indicator": "i_pbfw_55_59_male" + }, + { + "label": "PBFW Initiated on PrEP aged between 55 and 59", + "indicator": "i_pbfw_55_59_female" + }, + { + "label": "", + "indicator": "i_pbfw_60_64_male" + }, + { + "label": "PBFW Initiated on PrEP aged between 60 and 64", + "indicator": "i_pbfw_60_64_female" + }, + { + "label": "", + "indicator": "i_pbfw_above_65_male" + }, + { + "label": "PBFW Initiated on PrEP aged above 65", + "indicator": "i_pbfw_above_65_female" + }, + { + "label": "Total Number of PBFW Initiated on PrEP", + "indicator": "total_i_pbfw" + } + ] + }, + { + "label": "Total Number clients initiated on PrEP", + "indicators": [ + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "Total Number of clients initiated on PrEP", + "indicator": "total_initiated_on_prep_this_month" + } + ] + } + ] + }, + { + "sectionTitle": "No. clients restarting PrEP", + "indicators": [ + { + "label": "Trans Gender (TG)", + "indicators": [ + { + "label": "Male Trans Gender Restarting PrEP aged between 15 and 19", + "indicator": "re_tg_15_19_male" + }, + { + "label": "Female Trans Gender Restarting PrEP aged between 15 and 19", + "indicator": "re_tg_15_19_female" + }, + { + "label": "Male Trans Gender Restarting PrEP aged between 20 and 24", + "indicator": "re_tg_20_24_male" + }, + { + "label": "Female Trans Gender Restarting PrEP aged between 20 and 24", + "indicator": "re_tg_20_24_female" + }, + { + "label": "Male Trans Gender Restarting PrEP aged between 25 and 29", + "indicator": "re_tg_25_29_male" + }, + { + "label": "Female Trans Gender Restarting PrEP aged between 25 and 29", + "indicator": "re_tg_25_29_female" + }, + { + "label": "Male Trans Gender Restarting PrEP aged between 30 and 34", + "indicator": "re_tg_30_34_male" + }, + { + "label": "Female Trans Gender Restarting PrEP aged between 30 and 34", + "indicator": "re_tg_30_34_female" + }, + { + "label": "Male Trans Gender Restarting PrEP aged between 35 and 39", + "indicator": "re_tg_35_39_male" + }, + { + "label": "Female Trans Gender Restarting PrEP aged between 35 and 39", + "indicator": "re_tg_35_39_female" + }, + { + "label": "Male Trans Gender Restarting PrEP aged between 40 and 44", + "indicator": "re_tg_40_44_male" + }, + { + "label": "Female Trans Gender Restarting PrEP aged between 40 and 44", + "indicator": "re_tg_40_44_female" + }, + { + "label": "Male Trans Gender Restarting PrEP aged between 45 and 49", + "indicator": "re_tg_45_49_male" + }, + { + "label": "Female Trans Gender Restarting PrEP aged between 45 and 49", + "indicator": "re_tg_45_49_female" + }, + { + "label": "Male Trans Gender Restarting PrEP aged between 50 and 54", + "indicator": "re_tg_50_54_male" + }, + { + "label": "Female Trans Gender Restarting PrEP aged between 50 and 54", + "indicator": "re_tg_50_54_female" + }, + { + "label": "Male Trans Gender Restarting PrEP aged between 55 and 50", + "indicator": "re_tg_55_59_male" + }, + { + "label": "Female Trans Gender Restarting PrEP aged between 55 and 59", + "indicator": "re_tg_55_59_female" + }, + { + "label": "Male Trans Gender Restarting PrEP aged between 60 and 64", + "indicator": "re_tg_60_64_male" + }, + { + "label": "Female Trans Gender Restarting PrEP aged between 60 and 64", + "indicator": "re_tg_60_64_female" + }, + { + "label": "Male Trans Gender Restarting PrEP aged above 65", + "indicator": "re_tg_above_65_male" + }, + { + "label": "Female Trans Gender Restarting PrEP aged above 65", + "indicator": "re_tg_above_65_female" + }, + { + "label": "Total Number of Trans Gender Restarting PrEP", + "indicator": "total_re_tg" + } + ] + }, + { + "label": "Adolescent Girls and Young Women (AGYW)", + "indicators": [ + { + "label": "", + "indicator": "re_agyw_15_19_male" + }, + { + "label": "Adolescent Girls and Young Women Restarting PrEP aged between 15 and 19", + "indicator": "re_agyw_15_19_female" + }, + { + "label": "", + "indicator": "re_agyw_20_24_male" + }, + { + "label": "Adolescent Girls and Young Women Restarting PrEP aged between 20 and 24", + "indicator": "re_agyw_20_24_female" + }, + { + "label": "", + "indicator": "re_agyw_25_29_male" + }, + { + "label": "Adolescent Girls and Young Women Restarting PrEP aged between 25 and 29", + "indicator": "re_agyw_25_29_female" + }, + { + "label": "", + "indicator": "re_agyw_30_34_male" + }, + { + "label": "Adolescent Girls and Young Women Restarting PrEP aged between 30 and 34", + "indicator": "re_agyw_30_34_female" + }, + { + "label": "", + "indicator": "re_agyw_35_39_male" + }, + { + "label": "Adolescent Girls and Young Women Restarting PrEP aged between 35 and 39", + "indicator": "re_agyw_35_39_female" + }, + { + "label": "", + "indicator": "re_agyw_40_44_male" + }, + { + "label": "Adolescent Girls and Young Women Restarting PrEP aged between 40 and 44", + "indicator": "re_agyw_40_44_female" + }, + { + "label": "", + "indicator": "re_agyw_45_49_male" + }, + { + "label": "Adolescent Girls and Young Women Restarting PrEP aged between 45 and 49", + "indicator": "re_agyw_45_49_female" + }, + { + "label": "", + "indicator": "re_agyw_50_54_male" + }, + { + "label": "Adolescent Girls and Young Women Restarting PrEP aged between 50 and 54", + "indicator": "re_agyw_50_54_female" + }, + { + "label": "", + "indicator": "re_agyw_55_59_male" + }, + { + "label": "Adolescent Girls and Young Women Restarting PrEP aged between 55 and 59", + "indicator": "re_agyw_55_59_female" + }, + { + "label": "", + "indicator": "re_agyw_60_64_male" + }, + { + "label": "Adolescent Girls and Young Women Restarting PrEP aged between 60 and 64", + "indicator": "re_agyw_60_64_female" + }, + { + "label": "", + "indicator": "re_agyw_above_65_male" + }, + { + "label": "Adolescent Girls and Young Women Restarting PrEP aged above 65", + "indicator": "re_agyw_above_65_female" + }, + { + "label": "Total Number of Adolescent Girls and Young Women Restarting PrEP", + "indicator": "total_re_agyw" + } + ] + }, + { + "label": "Men Sex Worker (MSM)", + "indicators": [ + { + "label": "Men Sex Worker Restarting PrEP aged between 15 and 19", + "indicator": "re_msm_15_19_male" + }, + { + "label": "", + "indicator": "re_msm_15_19_female" + }, + { + "label": "Men Sex Worker Restarting PrEP aged between 20 and 24", + "indicator": "re_msm_20_24_male" + }, + { + "label": "", + "indicator": "re_msm_20_24_female" + }, + { + "label": "Men Sex Worker Restarting PrEP aged between 25 and 29", + "indicator": "re_msm_25_29_male" + }, + { + "label": "", + "indicator": "re_msm_25_29_female" + }, + { + "label": "Men Sex Worker Restarting PrEP aged between 30 and 34", + "indicator": "re_msm_30_34_male" + }, + { + "label": "", + "indicator": "re_msm_30_34_female" + }, + { + "label": "Men Sex Worker Restarting PrEP aged between 35 and 39", + "indicator": "re_msm_35_39_male" + }, + { + "label": "", + "indicator": "re_msm_35_39_female" + }, + { + "label": "Men Sex Worker Restarting PrEP aged between 40 and 44", + "indicator": "re_msm_40_44_male" + }, + { + "label": "", + "indicator": "re_msm_40_44_female" + }, + { + "label": "Men Sex Worker Restarting PrEP aged between 45 and 49", + "indicator": "re_msm_45_49_male" + }, + { + "label": "", + "indicator": "re_msm_45_49_female" + }, + { + "label": "Men Sex Worker Restarting PrEP aged between 50 and 54", + "indicator": "re_msm_50_54_male" + }, + { + "label": "", + "indicator": "re_msm_50_54_female" + }, + { + "label": "Men Sex Worker Restarting PrEP aged between 55 and 59", + "indicator": "re_msm_55_59_male" + }, + { + "label": "", + "indicator": "re_msm_55_59_female" + }, + { + "label": "Men Sex Worker Restarting PrEP aged between 60 and 64", + "indicator": "re_msm_60_64_male" + }, + { + "label": "", + "indicator": "re_msm_60_64_female" + }, + { + "label": "Men Sex Worker Restarting PrEP aged above 65", + "indicator": "re_msm_above_65_male" + }, + { + "label": "", + "indicator": "re_msm_above_65_female" + }, + { + "label": "Total Number of Men Sex Worker Restarting PrEP", + "indicator": "total_re_msm" + } + ] + }, + { + "label": "Men at High Risk", + "indicators": [ + { + "label": "Men at High Risk Restarting PrEP aged between 15 and 19", + "indicator": "re_mahr_15_19_male" + }, + { + "label": "", + "indicator": "re_mahr_15_19_female" + }, + { + "label": "Men at High Risk Restarting PrEP aged between 20 and 24", + "indicator": "re_mahr_20_24_male" + }, + { + "label": "", + "indicator": "re_mahr_20_24_female" + }, + { + "label": "Men at High Risk Restarting PrEP aged between 25 and 29", + "indicator": "re_mahr_25_29_male" + }, + { + "label": "", + "indicator": "re_mahr_25_29_female" + }, + { + "label": "Men at High Risk Restarting PrEP aged between 30 and 34", + "indicator": "re_mahr_30_34_male" + }, + { + "label": "", + "indicator": "re_mahr_30_34_female" + }, + { + "label": "Men at High Risk Restarting PrEP aged between 35 and 39", + "indicator": "re_mahr_35_39_male" + }, + { + "label": "", + "indicator": "re_mahr_35_39_female" + }, + { + "label": "Men at High Risk Restarting PrEP aged between 40 and 44", + "indicator": "re_mahr_40_44_male" + }, + { + "label": "", + "indicator": "re_mahr_40_44_female" + }, + { + "label": "Men at High Risk Restarting PrEP aged between 45 and 49", + "indicator": "re_mahr_45_49_male" + }, + { + "label": "", + "indicator": "re_mahr_45_49_female" + }, + { + "label": "Men at High Risk Restarting PrEP aged between 50 and 54", + "indicator": "re_mahr_50_54_male" + }, + { + "label": "", + "indicator": "re_mahr_50_54_female" + }, + { + "label": "Men at High Risk Restarting PrEP aged between 55 and 59", + "indicator": "re_mahr_55_59_male" + }, + { + "label": "", + "indicator": "re_mahr_55_59_female" + }, + { + "label": "Men at High Risk Restarting PrEP aged between 60 and 64", + "indicator": "re_mahr_60_64_male" + }, + { + "label": "", + "indicator": "re_mahr_60_64_female" + }, + { + "label": "Men at High Risk Restarting PrEP aged above 65", + "indicator": "re_mahr_above_65_male" + }, + { + "label": "", + "indicator": "re_mahr_above_65_female" + }, + { + "label": "Total Number of Men at High Risk Restarting PrEP", + "indicator": "total_re_mahr" + } + ] + }, + { + "label": "Female Sexual Workers (FSW)", + "indicators": [ + { + "label": "", + "indicator": "re_fsw_15_19_male" + }, + { + "label": "Female Sexual Workers Restarting PrEP aged between 15 and 19", + "indicator": "re_fsw_15_19_female" + }, + { + "label": "", + "indicator": "re_fsw_20_24_male" + }, + { + "label": "Female Sexual Workers Restarting PrEP aged between 20 and 24", + "indicator": "re_fsw_20_24_female" + }, + { + "label": "", + "indicator": "re_fsw_25_29_male" + }, + { + "label": "Female Sexual Workers Restarting PrEP aged between 25 and 29", + "indicator": "re_fsw_25_29_female" + }, + { + "label": "", + "indicator": "re_fsw_30_34_male" + }, + { + "label": "Female Sexual Workers Restarting PrEP aged between 30 and 34", + "indicator": "re_fsw_30_34_female" + }, + { + "label": "", + "indicator": "re_fsw_35_39_male" + }, + { + "label": "Female Sexual Workers Restarting PrEP aged between 35 and 39", + "indicator": "re_fsw_35_39_female" + }, + { + "label": "", + "indicator": "re_fsw_40_44_male" + }, + { + "label": "Female Sexual Workers Restarting PrEP aged between 40 and 44", + "indicator": "re_fsw_40_44_female" + }, + { + "label": "", + "indicator": "re_fsw_45_49_male" + }, + { + "label": "Female Sexual Workers Restarting PrEP aged between 45 and 49", + "indicator": "re_fsw_45_49_female" + }, + { + "label": "", + "indicator": "re_fsw_50_54_male" + }, + { + "label": "Female Sexual Workers Restarting PrEP aged between 50 and 54", + "indicator": "re_fsw_50_54_female" + }, + { + "label": "", + "indicator": "re_fsw_55_59_male" + }, + { + "label": "Female Sexual Workers Restarting PrEP aged between 55 and 59", + "indicator": "re_fsw_55_59_female" + }, + { + "label": "", + "indicator": "re_fsw_60_64_male" + }, + { + "label": "Female Sexual Workers Restarting PrEP aged between 60 and 64", + "indicator": "re_fsw_60_64_female" + }, + { + "label": "", + "indicator": "re_fsw_above_65_male" + }, + { + "label": "Female Sexual Workers Restarting PrEP aged above 65", + "indicator": "re_fsw_above_65_female" + }, + { + "label": "Total Number of Female Sexual Workers Restarting PrEP", + "indicator": "total_re_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Male PWID Restarting PrEP aged between 15 and 19", + "indicator": "re_pwid_15_19_male" + }, + { + "label": "Female PWID Restarting PrEP aged between 15 and 19", + "indicator": "re_pwid_15_19_female" + }, + { + "label": "Male PWID Restarting PrEP aged between 20 and 24", + "indicator": "re_pwid_20_24_male" + }, + { + "label": "Female PWID Restarting PrEP aged between 20 and 24", + "indicator": "re_pwid_20_24_female" + }, + { + "label": "Male PWID Restarting PrEP aged between 25 and 29", + "indicator": "re_pwid_25_29_male" + }, + { + "label": "Female PWID Restarting PrEP aged between 25 and 29", + "indicator": "re_pwid_25_29_female" + }, + { + "label": "Male PWID Restarting PrEP aged between 30 and 34", + "indicator": "re_pwid_30_34_male" + }, + { + "label": "Female PWID Restarting PrEP aged between 30 and 34", + "indicator": "re_pwid_30_34_female" + }, + { + "label": "Male PWID Restarting PrEP aged between 35 and 39", + "indicator": "re_pwid_35_39_male" + }, + { + "label": "Female PWID Restarting PrEP aged between 35 and 39", + "indicator": "re_pwid_35_39_female" + }, + { + "label": "Male PWID Restarting PrEP aged between 40 and 44", + "indicator": "re_pwid_40_44_male" + }, + { + "label": "Female PWID Restarting PrEP aged between 40 and 44", + "indicator": "re_pwid_40_44_female" + }, + { + "label": "Male PWID Restarting PrEP aged between 45 and 49", + "indicator": "re_pwid_45_49_male" + }, + { + "label": "Female PWID Restarting PrEP aged between 45 and 49", + "indicator": "re_pwid_45_49_female" + }, + { + "label": "Male PWID Restarting PrEP aged between 50 and 54", + "indicator": "re_pwid_50_54_male" + }, + { + "label": "Female PWID Restarting PrEP aged between 50 and 54", + "indicator": "re_pwid_50_54_female" + }, + { + "label": "Male PWID Restarting PrEP aged between 55 and 50", + "indicator": "re_pwid_55_59_male" + }, + { + "label": "Female PWID Restarting PrEP aged between 55 and 59", + "indicator": "re_pwid_55_59_female" + }, + { + "label": "Male PWID Restarting PrEP aged between 60 and 64", + "indicator": "re_pwid_60_64_male" + }, + { + "label": "Female PWID Restarting PrEP aged between 60 and 64", + "indicator": "re_pwid_60_64_female" + }, + { + "label": "Male PWID Restarting PrEP aged above 65", + "indicator": "re_pwid_above_65_male" + }, + { + "label": "Female PWID Restarting PrEP aged above 65", + "indicator": "re_pwid_above_65_female" + }, + { + "label": "Total Number of PWID Restarting PrEP", + "indicator": "total_re_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "", + "indicator": "re_ow_15_19_male" + }, + { + "label": "Other Women Restarting PrEP aged between 15 and 19", + "indicator": "re_ow_15_19_female" + }, + { + "label": "", + "indicator": "re_ow_20_24_male" + }, + { + "label": "Other Women Restarting PrEP aged between 20 and 24", + "indicator": "re_ow_20_24_female" + }, + { + "label": "", + "indicator": "re_ow_25_29_male" + }, + { + "label": "Other Women Restarting PrEP aged between 25 and 29", + "indicator": "re_ow_25_29_female" + }, + { + "label": "", + "indicator": "re_ow_30_34_male" + }, + { + "label": "Other Women Restarting PrEP aged between 30 and 34", + "indicator": "re_ow_30_34_female" + }, + { + "label": "", + "indicator": "re_ow_35_39_male" + }, + { + "label": "Other Women Restarting PrEP aged between 35 and 39", + "indicator": "re_ow_35_39_female" + }, + { + "label": "", + "indicator": "re_ow_40_44_male" + }, + { + "label": "Other Women Restarting PrEP aged between 40 and 44", + "indicator": "re_ow_40_44_female" + }, + { + "label": "", + "indicator": "re_ow_45_49_male" + }, + { + "label": "Other Women Restarting PrEP aged between 45 and 49", + "indicator": "re_ow_45_49_female" + }, + { + "label": "", + "indicator": "re_ow_50_54_male" + }, + { + "label": "Other Women Restarting PrEP aged between 50 and 54", + "indicator": "re_ow_50_54_female" + }, + { + "label": "", + "indicator": "re_ow_55_59_male" + }, + { + "label": "Other Women Restarting PrEP aged between 55 and 59", + "indicator": "re_ow_55_59_female" + }, + { + "label": "", + "indicator": "re_ow_60_64_male" + }, + { + "label": "Other Women Restarting PrEP aged between 60 and 64", + "indicator": "re_ow_60_64_female" + }, + { + "label": "", + "indicator": "re_ow_above_65_male" + }, + { + "label": "Other Women Restarting PrEP aged above 65", + "indicator": "re_ow_above_65_female" + }, + { + "label": "Total Number of Other Women Restarting PrEP", + "indicator": "total_re_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Male Serodiscordant Couple Restarting PrEP aged between 15 and 19", + "indicator": "re_sdc_15_19_male" + }, + { + "label": "Female Serodiscordant Couple Restarting PrEP aged between 15 and 19", + "indicator": "re_sdc_15_19_female" + }, + { + "label": "Male Serodiscordant Couple Restarting PrEP aged between 20 and 24", + "indicator": "re_sdc_20_24_male" + }, + { + "label": "Female Serodiscordant Couple Restarting PrEP aged between 20 and 24", + "indicator": "re_sdc_20_24_female" + }, + { + "label": "Male Serodiscordant Couple Restarting PrEP aged between 25 and 29", + "indicator": "re_sdc_25_29_male" + }, + { + "label": "Female Serodiscordant Couple Restarting PrEP aged between 25 and 29", + "indicator": "re_sdc_25_29_female" + }, + { + "label": "Male Serodiscordant Couple Restarting PrEP aged between 30 and 34", + "indicator": "re_sdc_30_34_male" + }, + { + "label": "Female Serodiscordant Couple Restarting PrEP aged between 30 and 34", + "indicator": "re_sdc_30_34_female" + }, + { + "label": "Male Serodiscordant Couple Restarting PrEP aged between 35 and 39", + "indicator": "re_sdc_35_39_male" + }, + { + "label": "Female Serodiscordant Couple Restarting PrEP aged between 35 and 39", + "indicator": "re_sdc_35_39_female" + }, + { + "label": "Male Serodiscordant Couple Restarting PrEP aged between 40 and 44", + "indicator": "re_sdc_40_44_male" + }, + { + "label": "Female Serodiscordant Couple Restarting PrEP aged between 40 and 44", + "indicator": "re_sdc_40_44_female" + }, + { + "label": "Male Serodiscordant Couple Restarting PrEP aged between 45 and 49", + "indicator": "re_sdc_45_49_male" + }, + { + "label": "Female Serodiscordant Couple Restarting PrEP aged between 45 and 49", + "indicator": "re_sdc_45_49_female" + }, + { + "label": "Male Serodiscordant Couple Restarting PrEP aged between 50 and 54", + "indicator": "re_sdc_50_54_male" + }, + { + "label": "Female Serodiscordant Couple Restarting PrEP aged between 50 and 54", + "indicator": "re_sdc_50_54_female" + }, + { + "label": "Male Serodiscordant Couple Restarting PrEP aged between 55 and 50", + "indicator": "re_sdc_55_59_male" + }, + { + "label": "Female Serodiscordant Couple Restarting PrEP aged between 55 and 59", + "indicator": "re_sdc_55_59_female" + }, + { + "label": "Male Serodiscordant Couple Restarting PrEP aged between 60 and 64", + "indicator": "re_sdc_60_64_male" + }, + { + "label": "Female Serodiscordant Couple Restarting PrEP aged between 60 and 64", + "indicator": "re_sdc_60_64_female" + }, + { + "label": "Male Serodiscordant Couple Restarting PrEP aged above 65", + "indicator": "re_sdc_above_65_male" + }, + { + "label": "Female Serodiscordant Couple Restarting PrEP aged above 65", + "indicator": "re_sdc_above_65_female" + }, + { + "label": "Total Number of Serodiscordant Couple Restarting PrEP", + "indicator": "total_re_sdc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "PBFW Restarting PrEP aged between 15 and 19", + "indicator": "re_pbfw_15_19_female" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "PBFW Restarting PrEP aged between 20 and 24", + "indicator": "re_pbfw_20_24_female" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "PBFW Restarting PrEP aged between 25 and 29", + "indicator": "re_pbfw_25_29_female" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "PBFW Restarting PrEP aged between 30 and 34", + "indicator": "re_pbfw_30_34_female" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "PBFW Restarting PrEP aged between 35 and 39", + "indicator": "re_pbfw_35_39_female" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "PBFW Restarting PrEP aged between 40 and 44", + "indicator": "re_pbfw_40_44_female" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "PBFW Restarting PrEP aged between 45 and 49", + "indicator": "re_pbfw_45_49_female" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "PBFW Restarting PrEP aged between 50 and 54", + "indicator": "re_pbfw_50_54_female" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "PBFW Restarting PrEP aged between 55 and 59", + "indicator": "re_pbfw_55_59_female" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "PBFW Restarting PrEP aged between 60 and 64", + "indicator": "re_pbfw_60_64_female" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "PBFW Restarting PrEP aged above 65", + "indicator": "re_pbfw_above_65_female" + }, + { + "label": "Total Number of PBFW Restarting PrEP", + "indicator": "total_re_pbfw" + } + ] + }, + { + "label": "Total Number clients restarting on PrEP", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number of clients restarting PrEP", + "indicator": "total_restarting_prep_this_month" + } + ] + } + ] + }, + { + "sectionTitle": "No. of clients initiated on event driven prep", + "indicators": [ + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 15 and 19 Male", + "indicator": "edp_mhr_15_19_male" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 15 and 19 Female", + "indicator": "edp_mhr_15_19_female" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 20 and 24 Male", + "indicator": "edp_mhr_20_24_male" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 20 and 24 Female", + "indicator": "edp_mhr_20_24_female" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 25 and 29 Male", + "indicator": "edp_mhr_25_29_male" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 25 and 29 Female", + "indicator": "edp_mhr_25_29_female" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 30 and 34 Male", + "indicator": "edp_mhr_30_34_male" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 30 and 34 Female", + "indicator": "edp_mhr_30_34_female" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 35 and 39 Male", + "indicator": "edp_mhr_35_39_male" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 35 and 39 Female", + "indicator": "edp_mhr_35_39_female" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 40 and 44 Male", + "indicator": "edp_mhr_40_44_male" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 40 and 44 Female", + "indicator": "edp_mhr_40_44_female" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 45 and 49 Male", + "indicator": "edp_mhr_45_49_male" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 45 and 49 Female", + "indicator": "edp_mhr_45_49_female" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 50 and 54 Male", + "indicator": "edp_mhr_50_54_male" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 50 and 54 Female", + "indicator": "edp_mhr_50_54_female" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 55 and 59 Male", + "indicator": "edp_mhr_55_59_male" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 55 and 59 Female", + "indicator": "edp_mhr_55_59_female" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 60 and 64 Male", + "indicator": "edp_mhr_60_64_male" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged between 60 and 64 Female", + "indicator": "edp_mhr_60_64_female" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged above 65 Male", + "indicator": "edp_mhr_above_65_male" + }, + { + "label": "Apply to those clients who have been initiated on event driven prep aged above 65 Female", + "indicator": "edp_mhr_above_65_female" + }, + { + "label": "Total Number clients who have been initiated on event driven prep ", + "indicator": "total_edp_mhr" + } + ] + } + ] + }, + { + "sectionTitle": "No. clients tested HIV positive while on PrEP", + "indicators": [ + { + "label": "Trans Gender (TG)", + "indicators": [ + { + "label": "Male Trans Gender Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_tg_15_19_male" + }, + { + "label": "Female Trans Gender Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_tg_15_19_female" + }, + { + "label": "Male Trans Gender Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_tg_20_24_male" + }, + { + "label": "Female Trans Gender Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_tg_20_24_female" + }, + { + "label": "Male Trans Gender Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_tg_25_29_male" + }, + { + "label": "Female Trans Gender Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_tg_25_29_female" + }, + { + "label": "Male Trans Gender Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_tg_30_34_male" + }, + { + "label": "Female Trans Gender Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_tg_30_34_female" + }, + { + "label": "Male Trans Gender Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_tg_35_39_male" + }, + { + "label": "Female Trans Gender Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_tg_35_39_female" + }, + { + "label": "Male Trans Gender Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_tg_40_44_male" + }, + { + "label": "Female Trans Gender Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_tg_40_44_female" + }, + { + "label": "Male Trans Gender Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_tg_45_49_male" + }, + { + "label": "Female Trans Gender Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_tg_45_49_female" + }, + { + "label": "Male Trans Gender Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_tg_50_54_male" + }, + { + "label": "Female Trans Gender Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_tg_50_54_female" + }, + { + "label": "Male Trans Gender Tested HIV Positive while on PrEP aged between 55 and 50", + "indicator": "tp_tg_55_59_male" + }, + { + "label": "Female Trans Gender Tested HIV Positive while on PrEP aged between 55 and 59", + "indicator": "tp_tg_55_59_female" + }, + { + "label": "Male Trans Gender Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_tg_60_64_male" + }, + { + "label": "Female Trans Gender Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_tg_60_64_female" + }, + { + "label": "Male Trans Gender Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_tg_above_65_male" + }, + { + "label": "Female Trans Gender Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_tg_above_65_female" + }, + { + "label": "Total Number of Trans Gender Tested HIV Positive while on PrEP", + "indicator": "total_tp_tg" + } + ] + }, + { + "label": "Adolescent Girls and Young Women (AGYW)", + "indicators": [ + { + "label": "", + "indicator": "tp_agyw_15_19_male" + }, + { + "label": "Adolescent Girls and Young Women Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_agyw_15_19_female" + }, + { + "label": "", + "indicator": "tp_agyw_20_24_male" + }, + { + "label": "Adolescent Girls and Young Women Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_agyw_20_24_female" + }, + { + "label": "", + "indicator": "tp_agyw_25_29_male" + }, + { + "label": "Adolescent Girls and Young Women Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_agyw_25_29_female" + }, + { + "label": "", + "indicator": "tp_agyw_30_34_male" + }, + { + "label": "Adolescent Girls and Young Women Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_agyw_30_34_female" + }, + { + "label": "", + "indicator": "tp_agyw_35_39_male" + }, + { + "label": "Adolescent Girls and Young Women Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_agyw_35_39_female" + }, + { + "label": "", + "indicator": "tp_agyw_40_44_male" + }, + { + "label": "Adolescent Girls and Young Women Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_agyw_40_44_female" + }, + { + "label": "", + "indicator": "tp_agyw_45_49_male" + }, + { + "label": "Adolescent Girls and Young Women Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_agyw_45_49_female" + }, + { + "label": "", + "indicator": "tp_agyw_50_54_male" + }, + { + "label": "Adolescent Girls and Young Women Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_agyw_50_54_female" + }, + { + "label": "", + "indicator": "tp_agyw_55_59_male" + }, + { + "label": "Adolescent Girls and Young Women Tested HIV Positive while on PrEP aged between 55 and 59", + "indicator": "tp_agyw_55_59_female" + }, + { + "label": "", + "indicator": "tp_agyw_60_64_male" + }, + { + "label": "Adolescent Girls and Young Women Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_agyw_60_64_female" + }, + { + "label": "", + "indicator": "tp_agyw_above_65_male" + }, + { + "label": "Adolescent Girls and Young Women Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_agyw_above_65_female" + }, + { + "label": "Total Number of Adolescent Girls and Young Women Tested HIV Positive while on PrEP ", + "indicator": "total_tp_agyw" + } + ] + }, + { + "label": "Men Sex Worker (MSM)", + "indicators": [ + { + "label": "Men Sex Worker Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_msm_15_19_male" + }, + { + "label": "", + "indicator": "tp_msm_15_19_female" + }, + { + "label": "Men Sex Worker Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_msm_20_24_male" + }, + { + "label": "", + "indicator": "tp_msm_20_24_female" + }, + { + "label": "Men Sex Worker Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_msm_25_29_male" + }, + { + "label": "", + "indicator": "tp_msm_25_29_female" + }, + { + "label": "Men Sex Worker Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_msm_30_34_male" + }, + { + "label": "", + "indicator": "tp_msm_30_34_female" + }, + { + "label": "Men Sex Worker Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_msm_35_39_male" + }, + { + "label": "", + "indicator": "tp_msm_35_39_female" + }, + { + "label": "Men Sex Worker Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_msm_40_44_male" + }, + { + "label": "", + "indicator": "tp_msm_40_44_female" + }, + { + "label": "Men Sex Worker Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_msm_45_49_male" + }, + { + "label": "", + "indicator": "tp_msm_45_49_female" + }, + { + "label": "Men Sex Worker Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_msm_50_54_male" + }, + { + "label": "", + "indicator": "tp_msm_50_54_female" + }, + { + "label": "Men Sex Worker Tested HIV Positive while on PrEP aged between 55 and 59", + "indicator": "tp_msm_55_59_male" + }, + { + "label": "", + "indicator": "tp_msm_55_59_female" + }, + { + "label": "Men Sex Worker Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_msm_60_64_male" + }, + { + "label": "", + "indicator": "tp_msm_60_64_female" + }, + { + "label": "Men Sex Worker Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_msm_above_65_male" + }, + { + "label": "", + "indicator": "tp_msm_above_65_female" + }, + { + "label": "Total Number of Men Sex Worker Tested HIV Positive while on PrEP", + "indicator": "total_tp_msm" + } + ] + }, + { + "label": "Men at High Risk", + "indicators": [ + { + "label": "Men at High Risk Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_mahr_15_19_male" + }, + { + "label": "", + "indicator": "tp_mahr_15_19_female" + }, + { + "label": "Men at High Risk Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_mahr_20_24_male" + }, + { + "label": "", + "indicator": "tp_mahr_20_24_female" + }, + { + "label": "Men at High Risk Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_mahr_25_29_male" + }, + { + "label": "", + "indicator": "tp_mahr_25_29_female" + }, + { + "label": "Men at High Risk Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_mahr_30_34_male" + }, + { + "label": "", + "indicator": "tp_mahr_30_34_female" + }, + { + "label": "Men at High Risk Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_mahr_35_39_male" + }, + { + "label": "", + "indicator": "tp_mahr_35_39_female" + }, + { + "label": "Men at High Risk Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_mahr_40_44_male" + }, + { + "label": "", + "indicator": "tp_mahr_40_44_female" + }, + { + "label": "Men at High Risk Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_mahr_45_49_male" + }, + { + "label": "", + "indicator": "tp_mahr_45_49_female" + }, + { + "label": "Men at High Risk Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_mahr_50_54_male" + }, + { + "label": "", + "indicator": "tp_mahr_50_54_female" + }, + { + "label": "Men at High Risk Tested HIV Positive while on PrEP aged between 55 and 59", + "indicator": "tp_mahr_55_59_male" + }, + { + "label": "", + "indicator": "tp_mahr_55_59_female" + }, + { + "label": "Men at High Risk Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_mahr_60_64_male" + }, + { + "label": "", + "indicator": "tp_mahr_60_64_female" + }, + { + "label": "Men at High Risk Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_mahr_above_65_male" + }, + { + "label": "", + "indicator": "tp_mahr_above_65_female" + }, + { + "label": "Total Number of Men at High Risk Tested HIV Positive while on PrEP", + "indicator": "total_tp_mahr" + } + ] + }, + { + "label": "Female Sexual Workers (FSW)", + "indicators": [ + { + "label": "", + "indicator": "tp_fsw_15_19_male" + }, + { + "label": "Female Sexual Workers Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_fsw_15_19_female" + }, + { + "label": "", + "indicator": "tp_fsw_20_24_male" + }, + { + "label": "Female Sexual Workers Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_fsw_20_24_female" + }, + { + "label": "", + "indicator": "tp_fsw_25_29_male" + }, + { + "label": "Female Sexual Workers Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_fsw_25_29_female" + }, + { + "label": "", + "indicator": "tp_fsw_30_34_male" + }, + { + "label": "Female Sexual Workers Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_fsw_30_34_female" + }, + { + "label": "", + "indicator": "tp_fsw_35_39_male" + }, + { + "label": "Female Sexual Workers Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_fsw_35_39_female" + }, + { + "label": "", + "indicator": "tp_fsw_40_44_male" + }, + { + "label": "Female Sexual Workers Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_fsw_40_44_female" + }, + { + "label": "", + "indicator": "tp_fsw_45_49_male" + }, + { + "label": "Female Sexual Workers Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_fsw_45_49_female" + }, + { + "label": "", + "indicator": "tp_fsw_50_54_male" + }, + { + "label": "Female Sexual Workers Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_fsw_50_54_female" + }, + { + "label": "", + "indicator": "tp_fsw_55_59_male" + }, + { + "label": "Female Sexual Workers Tested HIV Positive while on PrEP aged between 55 and 59", + "indicator": "tp_fsw_55_59_female" + }, + { + "label": "", + "indicator": "tp_fsw_60_64_male" + }, + { + "label": "Female Sexual Workers Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_fsw_60_64_female" + }, + { + "label": "", + "indicator": "tp_fsw_above_65_male" + }, + { + "label": "Female Sexual Workers Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_fsw_above_65_female" + }, + { + "label": "Total Number of Female Sexual Workers Tested HIV Positive while on PrEP", + "indicator": "total_tp_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Male PWID Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_pwid_15_19_male" + }, + { + "label": "Female PWID Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_pwid_15_19_female" + }, + { + "label": "Male PWID Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_pwid_20_24_male" + }, + { + "label": "Female PWID Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_pwid_20_24_female" + }, + { + "label": "Male PWID Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_pwid_25_29_male" + }, + { + "label": "Female PWID Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_pwid_25_29_female" + }, + { + "label": "Male PWID Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_pwid_30_34_male" + }, + { + "label": "Female PWID Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_pwid_30_34_female" + }, + { + "label": "Male PWID Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_pwid_35_39_male" + }, + { + "label": "Female PWID Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_pwid_35_39_female" + }, + { + "label": "Male PWID Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_pwid_40_44_male" + }, + { + "label": "Female PWID Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_pwid_40_44_female" + }, + { + "label": "Male PWID Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_pwid_45_49_male" + }, + { + "label": "Female PWID Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_pwid_45_49_female" + }, + { + "label": "Male PWID Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_pwid_50_54_male" + }, + { + "label": "Female PWID Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_pwid_50_54_female" + }, + { + "label": "Male PWID Tested HIV Positive while on PrEP aged between 55 and 50", + "indicator": "tp_pwid_55_59_male" + }, + { + "label": "Female PWID Tested HIV Positive while on PrEP aged between 55 and 59", + "indicator": "tp_pwid_55_59_female" + }, + { + "label": "Male PWID Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_pwid_60_64_male" + }, + { + "label": "Female PWID Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_pwid_60_64_female" + }, + { + "label": "Male PWID Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_pwid_above_65_male" + }, + { + "label": "Female PWID Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_pwid_above_65_female" + }, + { + "label": "Total Number of PWID Tested HIV Positive while on PrEP", + "indicator": "total_tp_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "", + "indicator": "tp_ow_15_19_male" + }, + { + "label": "Other Women Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_ow_15_19_female" + }, + { + "label": "", + "indicator": "tp_ow_20_24_male" + }, + { + "label": "Other Women Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_ow_20_24_female" + }, + { + "label": "", + "indicator": "tp_ow_25_29_male" + }, + { + "label": "Other Women Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_ow_25_29_female" + }, + { + "label": "", + "indicator": "tp_ow_30_34_male" + }, + { + "label": "Other Women Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_ow_30_34_female" + }, + { + "label": "", + "indicator": "tp_ow_35_39_male" + }, + { + "label": "Other Women Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_ow_35_39_female" + }, + { + "label": "", + "indicator": "tp_ow_40_44_male" + }, + { + "label": "Other Women Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_ow_40_44_female" + }, + { + "label": "", + "indicator": "tp_ow_45_49_male" + }, + { + "label": "Other Women Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_ow_45_49_female" + }, + { + "label": "", + "indicator": "tp_ow_50_54_male" + }, + { + "label": "Other Women Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_ow_50_54_female" + }, + { + "label": "", + "indicator": "tp_ow_55_59_male" + }, + { + "label": "Other Women Tested HIV Positive while on PrEP aged between 55 and 59", + "indicator": "tp_ow_55_59_female" + }, + { + "label": "", + "indicator": "tp_ow_60_64_male" + }, + { + "label": "Other Women Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_ow_60_64_female" + }, + { + "label": "", + "indicator": "tp_ow_above_65_male" + }, + { + "label": "Other Women Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_ow_above_65_female" + }, + { + "label": "Total Number of Other Women Tested HIV Positive while on PrEP", + "indicator": "total_tp_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Male Serodiscordant Couple Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_sdc_15_19_male" + }, + { + "label": "Female Serodiscordant Couple Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_sdc_15_19_female" + }, + { + "label": "Male Serodiscordant Couple Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_sdc_20_24_male" + }, + { + "label": "Female Serodiscordant Couple Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_sdc_20_24_female" + }, + { + "label": "Male Serodiscordant Couple Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_sdc_25_29_male" + }, + { + "label": "Female Serodiscordant Couple Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_sdc_25_29_female" + }, + { + "label": "Male Serodiscordant Couple Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_sdc_30_34_male" + }, + { + "label": "Female Serodiscordant Couple Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_sdc_30_34_female" + }, + { + "label": "Male Serodiscordant Couple Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_sdc_35_39_male" + }, + { + "label": "Female Serodiscordant Couple Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_sdc_35_39_female" + }, + { + "label": "Male Serodiscordant Couple Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_sdc_40_44_male" + }, + { + "label": "Female Serodiscordant Couple Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_sdc_40_44_female" + }, + { + "label": "Male Serodiscordant Couple Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_sdc_45_49_male" + }, + { + "label": "Female Serodiscordant Couple Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_sdc_45_49_female" + }, + { + "label": "Male Serodiscordant Couple Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_sdc_50_54_male" + }, + { + "label": "Female Serodiscordant Couple Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_sdc_50_54_female" + }, + { + "label": "Male Serodiscordant Couple Tested HIV Positive while on PrEP aged between 55 and 50", + "indicator": "tp_sdc_55_59_male" + }, + { + "label": "Female Serodiscordant Couple Tested HIV Positive while on PrEP aged between 55 and 59", + "indicator": "tp_sdc_55_59_female" + }, + { + "label": "Male Serodiscordant Couple Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_sdc_60_64_male" + }, + { + "label": "Female Serodiscordant Couple Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_sdc_60_64_female" + }, + { + "label": "Male Serodiscordant Couple Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_sdc_above_65_male" + }, + { + "label": "Female Serodiscordant Couple Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_sdc_above_65_female" + }, + { + "label": "Total Number of Serodiscordant Couple Tested HIV Positive while on PrEP", + "indicator": "total_tp_sdc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "", + "indicator": "tp_pbfw_15_19_male" + }, + { + "label": "PBFW Tested HIV Positive while on PrEP aged between 15 and 19", + "indicator": "tp_pbfw_15_19_female" + }, + { + "label": "", + "indicator": "tp_pbfw_20_24_male" + }, + { + "label": "PBFW Tested HIV Positive while on PrEP aged between 20 and 24", + "indicator": "tp_pbfw_20_24_female" + }, + { + "label": "", + "indicator": "tp_pbfw_25_29_male" + }, + { + "label": "PBFW Tested HIV Positive while on PrEP aged between 25 and 29", + "indicator": "tp_pbfw_25_29_female" + }, + { + "label": "", + "indicator": "tp_pbfw_30_34_male" + }, + { + "label": "PBFW Tested HIV Positive while on PrEP aged between 30 and 34", + "indicator": "tp_pbfw_30_34_female" + }, + { + "label": "", + "indicator": "tp_pbfw_35_39_male" + }, + { + "label": "PBFW Tested HIV Positive while on PrEP aged between 35 and 39", + "indicator": "tp_pbfw_35_39_female" + }, + { + "label": "", + "indicator": "tp_pbfw_40_44_male" + }, + { + "label": "PBFW Tested HIV Positive while on PrEP aged between 40 and 44", + "indicator": "tp_pbfw_40_44_female" + }, + { + "label": "", + "indicator": "tp_pbfw_45_49_male" + }, + { + "label": "PBFW Tested HIV Positive while on PrEP aged between 45 and 49", + "indicator": "tp_pbfw_45_49_female" + }, + { + "label": "", + "indicator": "tp_pbfw_50_54_male" + }, + { + "label": "PBFW Tested HIV Positive while on PrEP aged between 50 and 54", + "indicator": "tp_pbfw_50_54_female" + }, + { + "label": "", + "indicator": "tp_pbfw_55_59_male" + }, + { + "label": "PBFW Tested HIV Positive while on PrEP aged between 55 and 59", + "indicator": "tp_pbfw_55_59_female" + }, + { + "label": "", + "indicator": "tp_pbfw_60_64_male" + }, + { + "label": "PBFW Tested HIV Positive while on PrEP aged between 60 and 64", + "indicator": "tp_pbfw_60_64_female" + }, + { + "label": "", + "indicator": "tp_pbfw_above_65_male" + }, + { + "label": "PBFW Tested HIV Positive while on PrEP aged above 65", + "indicator": "tp_pbfw_above_65_female" + }, + { + "label": "Total Number of PBFW Tested HIV Positive while on PrEP", + "indicator": "total_tp_pbfw" + } + ] + }, + { + "label": "Total Number clients tested HIV positive while on PrEP", + "indicators": [ + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "Total Number of clients tested HIV positive while on PrEP", + "indicator": "total_tested_positive_on_prep" + } + ] + } + ] + }, + { + "sectionTitle": "No. clients diagnosed with STIs while on PrEP", + "indicators": [ + { + "label": "Trans Gender (TG)", + "indicators": [ + { + "label": "Male Trans Gender diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_tg_15_19_male" + }, + { + "label": "Female Trans Gender diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_tg_15_19_female" + }, + { + "label": "Male Trans Gender diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_tg_20_24_male" + }, + { + "label": "Female Trans Gender diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_tg_20_24_female" + }, + { + "label": "Male Trans Gender diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_tg_25_29_male" + }, + { + "label": "Female Trans Gender diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_tg_25_29_female" + }, + { + "label": "Male Trans Gender diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_tg_30_34_male" + }, + { + "label": "Female Trans Gender diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_tg_30_34_female" + }, + { + "label": "Male Trans Gender diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_tg_35_39_male" + }, + { + "label": "Female Trans Gender diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_tg_35_39_female" + }, + { + "label": "Male Trans Gender diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_tg_40_44_male" + }, + { + "label": "Female Trans Gender diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_tg_40_44_female" + }, + { + "label": "Male Trans Gender diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_tg_45_49_male" + }, + { + "label": "Female Trans Gender diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_tg_45_49_female" + }, + { + "label": "Male Trans Gender diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_tg_50_54_male" + }, + { + "label": "Female Trans Gender diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_tg_50_54_female" + }, + { + "label": "Male Trans Gender diagnosed with STIs while on PrEP aged between 55 and 50", + "indicator": "d_tg_55_59_male" + }, + { + "label": "Female Trans Gender diagnosed with STIs while on PrEP aged between 55 and 59", + "indicator": "d_tg_55_59_female" + }, + { + "label": "Male Trans Gender diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_tg_60_64_male" + }, + { + "label": "Female Trans Gender diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_tg_60_64_female" + }, + { + "label": "Male Trans Gender diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_tg_above_65_male" + }, + { + "label": "Female Trans Gender diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_tg_above_65_female" + }, + { + "label": "Total Number of Trans Gender diagnosed with STIs while on PrEP", + "indicator": "total_d_tg" + } + ] + }, + { + "label": "Adolescent Girls and Young Women (AGYW)", + "indicators": [ + { + "label": "", + "indicator": "d_agyw_15_19_male" + }, + { + "label": "Adolescent Girls and Young Women diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_agyw_15_19_female" + }, + { + "label": "", + "indicator": "d_agyw_20_24_male" + }, + { + "label": "Adolescent Girls and Young Women diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_agyw_20_24_female" + }, + { + "label": "", + "indicator": "d_agyw_25_29_male" + }, + { + "label": "Adolescent Girls and Young Women diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_agyw_25_29_female" + }, + { + "label": "", + "indicator": "d_agyw_30_34_male" + }, + { + "label": "Adolescent Girls and Young Women diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_agyw_30_34_female" + }, + { + "label": "", + "indicator": "d_agyw_35_39_male" + }, + { + "label": "Adolescent Girls and Young Women diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_agyw_35_39_female" + }, + { + "label": "", + "indicator": "d_agyw_40_44_male" + }, + { + "label": "Adolescent Girls and Young Women diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_agyw_40_44_female" + }, + { + "label": "", + "indicator": "d_agyw_45_49_male" + }, + { + "label": "Adolescent Girls and Young Women diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_agyw_45_49_female" + }, + { + "label": "", + "indicator": "d_agyw_50_54_male" + }, + { + "label": "Adolescent Girls and Young Women diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_agyw_50_54_female" + }, + { + "label": "", + "indicator": "d_agyw_55_59_male" + }, + { + "label": "Adolescent Girls and Young Women diagnosed with STIs while on PrEP aged between 55 and 59", + "indicator": "d_agyw_55_59_female" + }, + { + "label": "", + "indicator": "d_agyw_60_64_male" + }, + { + "label": "Adolescent Girls and Young Women diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_agyw_60_64_female" + }, + { + "label": "", + "indicator": "d_agyw_above_65_male" + }, + { + "label": "Adolescent Girls and Young Women diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_agyw_above_65_female" + }, + { + "label": "Total Number of Adolescent Girls and Young Women diagnosed with STIs while on PrEP ", + "indicator": "total_d_agyw" + } + ] + }, + { + "label": "Men Sex Worker (MSM)", + "indicators": [ + { + "label": "Men Sex Worker diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_msm_15_19_male" + }, + { + "label": "", + "indicator": "d_msm_15_19_female" + }, + { + "label": "Men Sex Worker diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_msm_20_24_male" + }, + { + "label": "", + "indicator": "d_msm_20_24_female" + }, + { + "label": "Men Sex Worker diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_msm_25_29_male" + }, + { + "label": "", + "indicator": "d_msm_25_29_female" + }, + { + "label": "Men Sex Worker diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_msm_30_34_male" + }, + { + "label": "", + "indicator": "d_msm_30_34_female" + }, + { + "label": "Men Sex Worker diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_msm_35_39_male" + }, + { + "label": "", + "indicator": "d_msm_35_39_female" + }, + { + "label": "Men Sex Worker diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_msm_40_44_male" + }, + { + "label": "", + "indicator": "d_msm_40_44_female" + }, + { + "label": "Men Sex Worker diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_msm_45_49_male" + }, + { + "label": "", + "indicator": "d_msm_45_49_female" + }, + { + "label": "Men Sex Worker diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_msm_50_54_male" + }, + { + "label": "", + "indicator": "d_msm_50_54_female" + }, + { + "label": "Men Sex Worker diagnosed with STIs while on PrEP aged between 55 and 59", + "indicator": "d_msm_55_59_male" + }, + { + "label": "", + "indicator": "d_msm_55_59_female" + }, + { + "label": "Men Sex Worker diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_msm_60_64_male" + }, + { + "label": "", + "indicator": "d_msm_60_64_female" + }, + { + "label": "Men Sex Worker diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_msm_above_65_male" + }, + { + "label": "", + "indicator": "d_msm_above_65_female" + }, + { + "label": "Total Number of Men Sex Worker diagnosed with STIs while on PrEP", + "indicator": "total_d_msm" + } + ] + }, + { + "label": "Men at High Risk", + "indicators": [ + { + "label": "Men at High Risk diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_mahr_15_19_male" + }, + { + "label": "", + "indicator": "d_mahr_15_19_female" + }, + { + "label": "Men at High Risk diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_mahr_20_24_male" + }, + { + "label": "", + "indicator": "d_mahr_20_24_female" + }, + { + "label": "Men at High Risk diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_mahr_25_29_male" + }, + { + "label": "", + "indicator": "d_mahr_25_29_female" + }, + { + "label": "Men at High Risk diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_mahr_30_34_male" + }, + { + "label": "", + "indicator": "d_mahr_30_34_female" + }, + { + "label": "Men at High Risk diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_mahr_35_39_male" + }, + { + "label": "", + "indicator": "d_mahr_35_39_female" + }, + { + "label": "Men at High Risk diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_mahr_40_44_male" + }, + { + "label": "", + "indicator": "d_mahr_40_44_female" + }, + { + "label": "Men at High Risk diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_mahr_45_49_male" + }, + { + "label": "", + "indicator": "d_mahr_45_49_female" + }, + { + "label": "Men at High Risk diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_mahr_50_54_male" + }, + { + "label": "", + "indicator": "d_mahr_50_54_female" + }, + { + "label": "Men at High Risk diagnosed with STIs while on PrEP aged between 55 and 59", + "indicator": "d_mahr_55_59_male" + }, + { + "label": "", + "indicator": "d_mahr_55_59_female" + }, + { + "label": "Men at High Risk diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_mahr_60_64_male" + }, + { + "label": "", + "indicator": "d_mahr_60_64_female" + }, + { + "label": "Men at High Risk diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_mahr_above_65_male" + }, + { + "label": "", + "indicator": "d_mahr_above_65_female" + }, + { + "label": "Total Number of Men at High Risk diagnosed with STIs while on PrEP", + "indicator": "total_d_mahr" + } + ] + }, + { + "label": "Female Sexual Workers (FSW)", + "indicators": [ + { + "label": "", + "indicator": "d_fsw_15_19_male" + }, + { + "label": "Female Sexual Workers diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_fsw_15_19_female" + }, + { + "label": "", + "indicator": "d_fsw_20_24_male" + }, + { + "label": "Female Sexual Workers diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_fsw_20_24_female" + }, + { + "label": "", + "indicator": "d_fsw_25_29_male" + }, + { + "label": "Female Sexual Workers diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_fsw_25_29_female" + }, + { + "label": "", + "indicator": "d_fsw_30_34_male" + }, + { + "label": "Female Sexual Workers diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_fsw_30_34_female" + }, + { + "label": "", + "indicator": "d_fsw_35_39_male" + }, + { + "label": "Female Sexual Workers diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_fsw_35_39_female" + }, + { + "label": "", + "indicator": "d_fsw_40_44_male" + }, + { + "label": "Female Sexual Workers diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_fsw_40_44_female" + }, + { + "label": "", + "indicator": "d_fsw_45_49_male" + }, + { + "label": "Female Sexual Workers diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_fsw_45_49_female" + }, + { + "label": "", + "indicator": "d_fsw_50_54_male" + }, + { + "label": "Female Sexual Workers diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_fsw_50_54_female" + }, + { + "label": "", + "indicator": "d_fsw_55_59_male" + }, + { + "label": "Female Sexual Workers diagnosed with STIs while on PrEP aged between 55 and 59", + "indicator": "d_fsw_55_59_female" + }, + { + "label": "", + "indicator": "d_fsw_60_64_male" + }, + { + "label": "Female Sexual Workers diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_fsw_60_64_female" + }, + { + "label": "", + "indicator": "d_fsw_above_65_male" + }, + { + "label": "Female Sexual Workers diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_fsw_above_65_female" + }, + { + "label": "Total Number of Female Sexual Workers diagnosed with STIs while on PrEP", + "indicator": "total_d_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Male PWID diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_pwid_15_19_male" + }, + { + "label": "Female PWID diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_pwid_15_19_female" + }, + { + "label": "Male PWID diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_pwid_20_24_male" + }, + { + "label": "Female PWID diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_pwid_20_24_female" + }, + { + "label": "Male PWID diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_pwid_25_29_male" + }, + { + "label": "Female PWID diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_pwid_25_29_female" + }, + { + "label": "Male PWID diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_pwid_30_34_male" + }, + { + "label": "Female PWID diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_pwid_30_34_female" + }, + { + "label": "Male PWID diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_pwid_35_39_male" + }, + { + "label": "Female PWID diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_pwid_35_39_female" + }, + { + "label": "Male PWID diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_pwid_40_44_male" + }, + { + "label": "Female PWID diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_pwid_40_44_female" + }, + { + "label": "Male PWID diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_pwid_45_49_male" + }, + { + "label": "Female PWID diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_pwid_45_49_female" + }, + { + "label": "Male PWID diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_pwid_50_54_male" + }, + { + "label": "Female PWID diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_pwid_50_54_female" + }, + { + "label": "Male PWID diagnosed with STIs while on PrEP aged between 55 and 50", + "indicator": "d_pwid_55_59_male" + }, + { + "label": "Female PWID diagnosed with STIs while on PrEP aged between 55 and 59", + "indicator": "d_pwid_55_59_female" + }, + { + "label": "Male PWID diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_pwid_60_64_male" + }, + { + "label": "Female PWID diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_pwid_60_64_female" + }, + { + "label": "Male PWID diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_pwid_above_65_male" + }, + { + "label": "Female PWID diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_pwid_above_65_female" + }, + { + "label": "Total Number of PWID diagnosed with STIs while on PrEP", + "indicator": "total_d_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "", + "indicator": "d_ow_15_19_male" + }, + { + "label": "Other Women diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_ow_15_19_female" + }, + { + "label": "", + "indicator": "d_ow_20_24_male" + }, + { + "label": "Other Women diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_ow_20_24_female" + }, + { + "label": "", + "indicator": "d_ow_25_29_male" + }, + { + "label": "Other Women diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_ow_25_29_female" + }, + { + "label": "", + "indicator": "d_ow_30_34_male" + }, + { + "label": "Other Women diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_ow_30_34_female" + }, + { + "label": "", + "indicator": "d_ow_35_39_male" + }, + { + "label": "Other Women diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_ow_35_39_female" + }, + { + "label": "", + "indicator": "d_ow_40_44_male" + }, + { + "label": "Other Women diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_ow_40_44_female" + }, + { + "label": "", + "indicator": "d_ow_45_49_male" + }, + { + "label": "Other Women diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_ow_45_49_female" + }, + { + "label": "", + "indicator": "d_ow_50_54_male" + }, + { + "label": "Other Women diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_ow_50_54_female" + }, + { + "label": "", + "indicator": "d_ow_55_59_male" + }, + { + "label": "Other Women diagnosed with STIs while on PrEP aged between 55 and 59", + "indicator": "d_ow_55_59_female" + }, + { + "label": "", + "indicator": "d_ow_60_64_male" + }, + { + "label": "Other Women diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_ow_60_64_female" + }, + { + "label": "", + "indicator": "d_ow_above_65_male" + }, + { + "label": "Other Women diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_ow_above_65_female" + }, + { + "label": "Total Number of Other Women diagnosed with STIs while on PrEP", + "indicator": "total_d_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Male Serodiscordant Couple diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_sdc_15_19_male" + }, + { + "label": "Female Serodiscordant Couple diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_sdc_15_19_female" + }, + { + "label": "Male Serodiscordant Couple diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_sdc_20_24_male" + }, + { + "label": "Female Serodiscordant Couple diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_sdc_20_24_female" + }, + { + "label": "Male Serodiscordant Couple diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_sdc_25_29_male" + }, + { + "label": "Female Serodiscordant Couple diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_sdc_25_29_female" + }, + { + "label": "Male Serodiscordant Couple diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_sdc_30_34_male" + }, + { + "label": "Female Serodiscordant Couple diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_sdc_30_34_female" + }, + { + "label": "Male Serodiscordant Couple diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_sdc_35_39_male" + }, + { + "label": "Female Serodiscordant Couple diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_sdc_35_39_female" + }, + { + "label": "Male Serodiscordant Couple diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_sdc_40_44_male" + }, + { + "label": "Female Serodiscordant Couple diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_sdc_40_44_female" + }, + { + "label": "Male Serodiscordant Couple diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_sdc_45_49_male" + }, + { + "label": "Female Serodiscordant Couple diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_sdc_45_49_female" + }, + { + "label": "Male Serodiscordant Couple diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_sdc_50_54_male" + }, + { + "label": "Female Serodiscordant Couple diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_sdc_50_54_female" + }, + { + "label": "Male Serodiscordant Couple diagnosed with STIs while on PrEP aged between 55 and 50", + "indicator": "d_sdc_55_59_male" + }, + { + "label": "Female Serodiscordant Couple diagnosed with STIs while on PrEP aged between 55 and 59", + "indicator": "d_sdc_55_59_female" + }, + { + "label": "Male Serodiscordant Couple diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_sdc_60_64_male" + }, + { + "label": "Female Serodiscordant Couple diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_sdc_60_64_female" + }, + { + "label": "Male Serodiscordant Couple diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_sdc_above_65_male" + }, + { + "label": "Female Serodiscordant Couple diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_sdc_above_65_female" + }, + { + "label": "Total Number of Serodiscordant Couple diagnosed with STIs while on PrEP", + "indicator": "total_d_sdc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "", + "indicator": "d_pbfw_15_19_male" + }, + { + "label": "PBFW diagnosed with STIs while on PrEP aged between 15 and 19", + "indicator": "d_pbfw_15_19_female" + }, + { + "label": "", + "indicator": "d_pbfw_20_24_male" + }, + { + "label": "PBFW diagnosed with STIs while on PrEP aged between 20 and 24", + "indicator": "d_pbfw_20_24_female" + }, + { + "label": "", + "indicator": "d_pbfw_25_29_male" + }, + { + "label": "PBFW diagnosed with STIs while on PrEP aged between 25 and 29", + "indicator": "d_pbfw_25_29_female" + }, + { + "label": "", + "indicator": "d_pbfw_30_34_male" + }, + { + "label": "PBFW diagnosed with STIs while on PrEP aged between 30 and 34", + "indicator": "d_pbfw_30_34_female" + }, + { + "label": "", + "indicator": "d_pbfw_35_39_male" + }, + { + "label": "PBFW diagnosed with STIs while on PrEP aged between 35 and 39", + "indicator": "d_pbfw_35_39_female" + }, + { + "label": "", + "indicator": "d_pbfw_40_44_male" + }, + { + "label": "PBFW diagnosed with STIs while on PrEP aged between 40 and 44", + "indicator": "d_pbfw_40_44_female" + }, + { + "label": "", + "indicator": "d_pbfw_45_49_male" + }, + { + "label": "PBFW diagnosed with STIs while on PrEP aged between 45 and 49", + "indicator": "d_pbfw_45_49_female" + }, + { + "label": "", + "indicator": "d_pbfw_50_54_male" + }, + { + "label": "PBFW diagnosed with STIs while on PrEP aged between 50 and 54", + "indicator": "d_pbfw_50_54_female" + }, + { + "label": "", + "indicator": "d_pbfw_55_59_male" + }, + { + "label": "PBFW diagnosed with STIs while on PrEP aged between 55 and 59", + "indicator": "d_pbfw_55_59_female" + }, + { + "label": "", + "indicator": "d_pbfw_60_64_male" + }, + { + "label": "PBFW diagnosed with STIs while on PrEP aged between 60 and 64", + "indicator": "d_pbfw_60_64_female" + }, + { + "label": "", + "indicator": "d_pbfw_above_65_male" + }, + { + "label": "PBFW diagnosed with STIs while on PrEP aged above 65", + "indicator": "d_pbfw_above_65_female" + }, + { + "label": "Total Number of PBFW diagnosed with STIs while on PrEP", + "indicator": "total_d_pbfw" + } + ] + }, + { + "label": "Total Number clients diagnosed with STIs while on PrEP", + "indicators": [ + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "Total Number of clients diagnosed with STIs while on PrEP", + "indicator": "total_diagnosed_with_sti_on_prep" + } + ] + } + ] + }, + { + "sectionTitle": "No. clients stopped/discontinued PrEP this month", + "indicators": [ + { + "label": "Trans Gender (TG)", + "indicators": [ + { + "label": "Male Trans Gender stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_tg_15_19_male" + }, + { + "label": "Female Trans Gender stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_tg_15_19_female" + }, + { + "label": "Male Trans Gender stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_tg_20_24_male" + }, + { + "label": "Female Trans Gender stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_tg_20_24_female" + }, + { + "label": "Male Trans Gender stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_tg_25_29_male" + }, + { + "label": "Female Trans Gender stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_tg_25_29_female" + }, + { + "label": "Male Trans Gender stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_tg_30_34_male" + }, + { + "label": "Female Trans Gender stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_tg_30_34_female" + }, + { + "label": "Male Trans Gender stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_tg_35_39_male" + }, + { + "label": "Female Trans Gender stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_tg_35_39_female" + }, + { + "label": "Male Trans Gender stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_tg_40_44_male" + }, + { + "label": "Female Trans Gender stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_tg_40_44_female" + }, + { + "label": "Male Trans Gender stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_tg_45_49_male" + }, + { + "label": "Female Trans Gender stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_tg_45_49_female" + }, + { + "label": "Male Trans Gender stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_tg_50_54_male" + }, + { + "label": "Female Trans Gender stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_tg_50_54_female" + }, + { + "label": "Male Trans Gender stopped/discontinued PrEP this month aged between 55 and 50", + "indicator": "st_tg_55_59_male" + }, + { + "label": "Female Trans Gender stopped/discontinued PrEP this month aged between 55 and 59", + "indicator": "st_tg_55_59_female" + }, + { + "label": "Male Trans Gender stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_tg_60_64_male" + }, + { + "label": "Female Trans Gender stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_tg_60_64_female" + }, + { + "label": "Male Trans Gender stopped/discontinued PrEP this month aged above 65", + "indicator": "st_tg_above_65_male" + }, + { + "label": "Female Trans Gender stopped/discontinued PrEP this month aged above 65", + "indicator": "st_tg_above_65_female" + }, + { + "label": "Total Number of Trans Gender stopped/discontinued PrEP this month", + "indicator": "total_st_tg" + } + ] + }, + { + "label": "Adolescent Girls and Young Women (AGYW)", + "indicators": [ + { + "label": "", + "indicator": "st_agyw_15_19_male" + }, + { + "label": "Adolescent Girls and Young Women stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_agyw_15_19_female" + }, + { + "label": "", + "indicator": "st_agyw_20_24_male" + }, + { + "label": "Adolescent Girls and Young Women stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_agyw_20_24_female" + }, + { + "label": "", + "indicator": "st_agyw_25_29_male" + }, + { + "label": "Adolescent Girls and Young Women stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_agyw_25_29_female" + }, + { + "label": "", + "indicator": "st_agyw_30_34_male" + }, + { + "label": "Adolescent Girls and Young Women stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_agyw_30_34_female" + }, + { + "label": "", + "indicator": "st_agyw_35_39_male" + }, + { + "label": "Adolescent Girls and Young Women stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_agyw_35_39_female" + }, + { + "label": "", + "indicator": "st_agyw_40_44_male" + }, + { + "label": "Adolescent Girls and Young Women stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_agyw_40_44_female" + }, + { + "label": "", + "indicator": "st_agyw_45_49_male" + }, + { + "label": "Adolescent Girls and Young Women stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_agyw_45_49_female" + }, + { + "label": "", + "indicator": "st_agyw_50_54_male" + }, + { + "label": "Adolescent Girls and Young Women stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_agyw_50_54_female" + }, + { + "label": "", + "indicator": "st_agyw_55_59_male" + }, + { + "label": "Adolescent Girls and Young Women stopped/discontinued PrEP this month aged between 55 and 59", + "indicator": "st_agyw_55_59_female" + }, + { + "label": "", + "indicator": "st_agyw_60_64_male" + }, + { + "label": "Adolescent Girls and Young Women stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_agyw_60_64_female" + }, + { + "label": "", + "indicator": "st_agyw_above_65_male" + }, + { + "label": "Adolescent Girls and Young Women stopped/discontinued PrEP this month aged above 65", + "indicator": "st_agyw_above_65_female" + }, + { + "label": "Total Number of Adolescent Girls and Young Women stopped/discontinued PrEP this month ", + "indicator": "total_st_agyw" + } + ] + }, + { + "label": "Men Sex Worker (MSM)", + "indicators": [ + { + "label": "Men Sex Worker stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_msm_15_19_male" + }, + { + "label": "", + "indicator": "st_msm_15_19_female" + }, + { + "label": "Men Sex Worker stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_msm_20_24_male" + }, + { + "label": "", + "indicator": "st_msm_20_24_female" + }, + { + "label": "Men Sex Worker stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_msm_25_29_male" + }, + { + "label": "", + "indicator": "st_msm_25_29_female" + }, + { + "label": "Men Sex Worker stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_msm_30_34_male" + }, + { + "label": "", + "indicator": "st_msm_30_34_female" + }, + { + "label": "Men Sex Worker stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_msm_35_39_male" + }, + { + "label": "", + "indicator": "st_msm_35_39_female" + }, + { + "label": "Men Sex Worker stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_msm_40_44_male" + }, + { + "label": "", + "indicator": "st_msm_40_44_female" + }, + { + "label": "Men Sex Worker stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_msm_45_49_male" + }, + { + "label": "", + "indicator": "st_msm_45_49_female" + }, + { + "label": "Men Sex Worker stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_msm_50_54_male" + }, + { + "label": "", + "indicator": "st_msm_50_54_female" + }, + { + "label": "Men Sex Worker stopped/discontinued PrEP this month aged between 55 and 59", + "indicator": "st_msm_55_59_male" + }, + { + "label": "", + "indicator": "st_msm_55_59_female" + }, + { + "label": "Men Sex Worker stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_msm_60_64_male" + }, + { + "label": "", + "indicator": "st_msm_60_64_female" + }, + { + "label": "Men Sex Worker stopped/discontinued PrEP this month aged above 65", + "indicator": "st_msm_above_65_male" + }, + { + "label": "", + "indicator": "st_msm_above_65_female" + }, + { + "label": "Total Number of Men Sex Worker stopped/discontinued PrEP this month", + "indicator": "total_st_msm" + } + ] + }, + { + "label": "Men at High Risk", + "indicators": [ + { + "label": "Men at High Risk stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_mahr_15_19_male" + }, + { + "label": "", + "indicator": "st_mahr_15_19_female" + }, + { + "label": "Men at High Risk stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_mahr_20_24_male" + }, + { + "label": "", + "indicator": "st_mahr_20_24_female" + }, + { + "label": "Men at High Risk stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_mahr_25_29_male" + }, + { + "label": "", + "indicator": "st_mahr_25_29_female" + }, + { + "label": "Men at High Risk stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_mahr_30_34_male" + }, + { + "label": "", + "indicator": "st_mahr_30_34_female" + }, + { + "label": "Men at High Risk stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_mahr_35_39_male" + }, + { + "label": "", + "indicator": "st_mahr_35_39_female" + }, + { + "label": "Men at High Risk stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_mahr_40_44_male" + }, + { + "label": "", + "indicator": "st_mahr_40_44_female" + }, + { + "label": "Men at High Risk stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_mahr_45_49_male" + }, + { + "label": "", + "indicator": "st_mahr_45_49_female" + }, + { + "label": "Men at High Risk stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_mahr_50_54_male" + }, + { + "label": "", + "indicator": "st_mahr_50_54_female" + }, + { + "label": "Men at High Risk stopped/discontinued PrEP this month aged between 55 and 59", + "indicator": "st_mahr_55_59_male" + }, + { + "label": "", + "indicator": "st_mahr_55_59_female" + }, + { + "label": "Men at High Risk stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_mahr_60_64_male" + }, + { + "label": "", + "indicator": "st_mahr_60_64_female" + }, + { + "label": "Men at High Risk stopped/discontinued PrEP this month aged above 65", + "indicator": "st_mahr_above_65_male" + }, + { + "label": "", + "indicator": "st_mahr_above_65_female" + }, + { + "label": "Total Number of Men at High Risk stopped/discontinued PrEP this month", + "indicator": "total_st_mahr" + } + ] + }, + { + "label": "Female Sexual Workers (FSW)", + "indicators": [ + { + "label": "", + "indicator": "st_fsw_15_19_male" + }, + { + "label": "Female Sexual Workers stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_fsw_15_19_female" + }, + { + "label": "", + "indicator": "st_fsw_20_24_male" + }, + { + "label": "Female Sexual Workers stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_fsw_20_24_female" + }, + { + "label": "", + "indicator": "st_fsw_25_29_male" + }, + { + "label": "Female Sexual Workers stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_fsw_25_29_female" + }, + { + "label": "", + "indicator": "st_fsw_30_34_male" + }, + { + "label": "Female Sexual Workers stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_fsw_30_34_female" + }, + { + "label": "", + "indicator": "st_fsw_35_39_male" + }, + { + "label": "Female Sexual Workers stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_fsw_35_39_female" + }, + { + "label": "", + "indicator": "st_fsw_40_44_male" + }, + { + "label": "Female Sexual Workers stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_fsw_40_44_female" + }, + { + "label": "", + "indicator": "st_fsw_45_49_male" + }, + { + "label": "Female Sexual Workers stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_fsw_45_49_female" + }, + { + "label": "", + "indicator": "st_fsw_50_54_male" + }, + { + "label": "Female Sexual Workers stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_fsw_50_54_female" + }, + { + "label": "", + "indicator": "st_fsw_55_59_male" + }, + { + "label": "Female Sexual Workers stopped/discontinued PrEP this month aged between 55 and 59", + "indicator": "st_fsw_55_59_female" + }, + { + "label": "", + "indicator": "st_fsw_60_64_male" + }, + { + "label": "Female Sexual Workers stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_fsw_60_64_female" + }, + { + "label": "", + "indicator": "st_fsw_above_65_male" + }, + { + "label": "Female Sexual Workers stopped/discontinued PrEP this month aged above 65", + "indicator": "st_fsw_above_65_female" + }, + { + "label": "Total Number of Female Sexual Workers stopped/discontinued PrEP this month", + "indicator": "total_st_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Male PWID stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_pwid_15_19_male" + }, + { + "label": "Female PWID stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_pwid_15_19_female" + }, + { + "label": "Male PWID stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_pwid_20_24_male" + }, + { + "label": "Female PWID stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_pwid_20_24_female" + }, + { + "label": "Male PWID stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_pwid_25_29_male" + }, + { + "label": "Female PWID stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_pwid_25_29_female" + }, + { + "label": "Male PWID stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_pwid_30_34_male" + }, + { + "label": "Female PWID stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_pwid_30_34_female" + }, + { + "label": "Male PWID stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_pwid_35_39_male" + }, + { + "label": "Female PWID stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_pwid_35_39_female" + }, + { + "label": "Male PWID stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_pwid_40_44_male" + }, + { + "label": "Female PWID stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_pwid_40_44_female" + }, + { + "label": "Male PWID stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_pwid_45_49_male" + }, + { + "label": "Female PWID stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_pwid_45_49_female" + }, + { + "label": "Male PWID stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_pwid_50_54_male" + }, + { + "label": "Female PWID stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_pwid_50_54_female" + }, + { + "label": "Male PWID stopped/discontinued PrEP this month aged between 55 and 50", + "indicator": "st_pwid_55_59_male" + }, + { + "label": "Female PWID stopped/discontinued PrEP this month aged between 55 and 59", + "indicator": "st_pwid_55_59_female" + }, + { + "label": "Male PWID stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_pwid_60_64_male" + }, + { + "label": "Female PWID stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_pwid_60_64_female" + }, + { + "label": "Male PWID stopped/discontinued PrEP this month aged above 65", + "indicator": "st_pwid_above_65_male" + }, + { + "label": "Female PWID stopped/discontinued PrEP this month aged above 65", + "indicator": "st_pwid_above_65_female" + }, + { + "label": "Total Number of PWID stopped/discontinued PrEP this month", + "indicator": "total_st_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "", + "indicator": "st_ow_15_19_male" + }, + { + "label": "Other Women stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_ow_15_19_female" + }, + { + "label": "", + "indicator": "st_ow_20_24_male" + }, + { + "label": "Other Women stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_ow_20_24_female" + }, + { + "label": "", + "indicator": "st_ow_25_29_male" + }, + { + "label": "Other Women stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_ow_25_29_female" + }, + { + "label": "", + "indicator": "st_ow_30_34_male" + }, + { + "label": "Other Women stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_ow_30_34_female" + }, + { + "label": "", + "indicator": "st_ow_35_39_male" + }, + { + "label": "Other Women stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_ow_35_39_female" + }, + { + "label": "", + "indicator": "st_ow_40_44_male" + }, + { + "label": "Other Women stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_ow_40_44_female" + }, + { + "label": "", + "indicator": "st_ow_45_49_male" + }, + { + "label": "Other Women stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_ow_45_49_female" + }, + { + "label": "", + "indicator": "st_ow_50_54_male" + }, + { + "label": "Other Women stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_ow_50_54_female" + }, + { + "label": "", + "indicator": "st_ow_55_59_male" + }, + { + "label": "Other Women stopped/discontinued PrEP this month aged between 55 and 59", + "indicator": "st_ow_55_59_female" + }, + { + "label": "", + "indicator": "st_ow_60_64_male" + }, + { + "label": "Other Women stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_ow_60_64_female" + }, + { + "label": "", + "indicator": "st_ow_above_65_male" + }, + { + "label": "Other Women stopped/discontinued PrEP this month aged above 65", + "indicator": "st_ow_above_65_female" + }, + { + "label": "Total Number of Other Women stopped/discontinued PrEP this month", + "indicator": "total_st_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Male Serodiscordant Couple stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_sdc_15_19_male" + }, + { + "label": "Female Serodiscordant Couple stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_sdc_15_19_female" + }, + { + "label": "Male Serodiscordant Couple stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_sdc_20_24_male" + }, + { + "label": "Female Serodiscordant Couple stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_sdc_20_24_female" + }, + { + "label": "Male Serodiscordant Couple stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_sdc_25_29_male" + }, + { + "label": "Female Serodiscordant Couple stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_sdc_25_29_female" + }, + { + "label": "Male Serodiscordant Couple stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_sdc_30_34_male" + }, + { + "label": "Female Serodiscordant Couple stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_sdc_30_34_female" + }, + { + "label": "Male Serodiscordant Couple stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_sdc_35_39_male" + }, + { + "label": "Female Serodiscordant Couple stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_sdc_35_39_female" + }, + { + "label": "Male Serodiscordant Couple stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_sdc_40_44_male" + }, + { + "label": "Female Serodiscordant Couple stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_sdc_40_44_female" + }, + { + "label": "Male Serodiscordant Couple stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_sdc_45_49_male" + }, + { + "label": "Female Serodiscordant Couple stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_sdc_45_49_female" + }, + { + "label": "Male Serodiscordant Couple stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_sdc_50_54_male" + }, + { + "label": "Female Serodiscordant Couple stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_sdc_50_54_female" + }, + { + "label": "Male Serodiscordant Couple stopped/discontinued PrEP this month aged between 55 and 50", + "indicator": "st_sdc_55_59_male" + }, + { + "label": "Female Serodiscordant Couple stopped/discontinued PrEP this month aged between 55 and 59", + "indicator": "st_sdc_55_59_female" + }, + { + "label": "Male Serodiscordant Couple stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_sdc_60_64_male" + }, + { + "label": "Female Serodiscordant Couple stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_sdc_60_64_female" + }, + { + "label": "Male Serodiscordant Couple stopped/discontinued PrEP this month aged above 65", + "indicator": "st_sdc_above_65_male" + }, + { + "label": "Female Serodiscordant Couple stopped/discontinued PrEP this month aged above 65", + "indicator": "st_sdc_above_65_female" + }, + { + "label": "Total Number of Serodiscordant Couple stopped/discontinued PrEP this month", + "indicator": "total_st_sdc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "", + "indicator": "st_pbfw_15_19_male" + }, + { + "label": "PBFW stopped/discontinued PrEP this month aged between 15 and 19", + "indicator": "st_pbfw_15_19_female" + }, + { + "label": "", + "indicator": "st_pbfw_20_24_male" + }, + { + "label": "PBFW stopped/discontinued PrEP this month aged between 20 and 24", + "indicator": "st_pbfw_20_24_female" + }, + { + "label": "", + "indicator": "st_pbfw_25_29_male" + }, + { + "label": "PBFW stopped/discontinued PrEP this month aged between 25 and 29", + "indicator": "st_pbfw_25_29_female" + }, + { + "label": "", + "indicator": "st_pbfw_30_34_male" + }, + { + "label": "PBFW stopped/discontinued PrEP this month aged between 30 and 34", + "indicator": "st_pbfw_30_34_female" + }, + { + "label": "", + "indicator": "st_pbfw_35_39_male" + }, + { + "label": "PBFW stopped/discontinued PrEP this month aged between 35 and 39", + "indicator": "st_pbfw_35_39_female" + }, + { + "label": "", + "indicator": "st_pbfw_40_44_male" + }, + { + "label": "PBFW stopped/discontinued PrEP this month aged between 40 and 44", + "indicator": "st_pbfw_40_44_female" + }, + { + "label": "", + "indicator": "st_pbfw_45_49_male" + }, + { + "label": "PBFW stopped/discontinued PrEP this month aged between 45 and 49", + "indicator": "st_pbfw_45_49_female" + }, + { + "label": "", + "indicator": "st_pbfw_50_54_male" + }, + { + "label": "PBFW stopped/discontinued PrEP this month aged between 50 and 54", + "indicator": "st_pbfw_50_54_female" + }, + { + "label": "", + "indicator": "st_pbfw_55_59_male" + }, + { + "label": "PBFW stopped/discontinued PrEP this month aged between 55 and 59", + "indicator": "st_pbfw_55_59_female" + }, + { + "label": "", + "indicator": "st_pbfw_60_64_male" + }, + { + "label": "PBFW stopped/discontinued PrEP this month aged between 60 and 64", + "indicator": "st_pbfw_60_64_female" + }, + { + "label": "", + "indicator": "st_pbfw_above_65_male" + }, + { + "label": "PBFW stopped/discontinued PrEP this month aged above 65", + "indicator": "st_pbfw_above_65_female" + }, + { + "label": "Total Number of PBFW stopped/discontinued PrEP this month", + "indicator": "total_st_pbfw" + } + ] + }, + { + "label": "Total Number clients stopped/discontinued PrEP this month", + "indicators": [ + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "i_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "i_pbfw_15_19_male" + }, + { + "label": "Total Number of clients stopped/discontinued PrEP this month", + "indicator": "total_discontinued_prep_this_month" + } + ] + } + ] + }, + { + "sectionTitle": "Sero- Serodiscordant Couples trying to conceive", + "indicators": [ + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Serodiscordant Couples trying to conceive aged between 15 and 19 Male", + "indicator": "cvp_sc_15_19_male" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 15 and 19 Female", + "indicator": "cvp_sc_15_19_female" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 20 and 24 Male", + "indicator": "cvp_sc_20_24_male" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 20 and 24 Female", + "indicator": "cvp_sc_20_24_female" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 25 and 29 Male", + "indicator": "cvp_sc_25_29_male" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 25 and 29 Female", + "indicator": "cvp_sc_25_29_female" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 30 and 34 Male", + "indicator": "cvp_sc_30_34_male" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 30 and 34 Female", + "indicator": "cvp_sc_30_34_female" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 35 and 39 Male", + "indicator": "cvp_sc_35_39_male" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 35 and 39 Female", + "indicator": "cvp_sc_35_39_female" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 40 and 44 Male", + "indicator": "cvp_sc_40_44_male" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 40 and 44 Female", + "indicator": "cvp_sc_40_44_female" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 45 and 49 Male", + "indicator": "cvp_sc_45_49_male" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 45 and 49 Female", + "indicator": "cvp_sc_45_49_female" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 50 and 54 Male", + "indicator": "cvp_sc_50_54_male" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 50 and 54 Female", + "indicator": "cvp_sc_50_54_female" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 55 and 59 Male", + "indicator": "cvp_sc_55_49_male" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 55 and 59 Female", + "indicator": "cvp_sc_55_49_female" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 60 and 64 Male", + "indicator": "cvp_sc_60_64_male" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between 60 and 64 Female", + "indicator": "cvp_sc_60_64_female" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between above 65 Male", + "indicator": "cvp_sc_above_65_male" + }, + { + "label": "Serodiscordant Couples trying to conceive aged between above 65 Female", + "indicator": "cvp_sc_above_65_female" + }, + { + "label": "Total Number of Serodiscordant Couple", + "indicator": "total_cvp_sc" + } + ] + } + ] + }, + { + "sectionTitle": "Partner+ve (not on art, art_last 6mnt, Poor Viral suppression)", + "indicators": [ + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 15 and 19 Male", + "indicator": "aa_sc_15_19_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 15 and 19 Female", + "indicator": "aa_sc_15_19_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 20 and 24 Male", + "indicator": "aa_sc_20_24_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 20 and 24 Female", + "indicator": "aa_sc_20_24_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 25 and 29 Male", + "indicator": "aa_sc_25_29_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 25 and 29 Female", + "indicator": "aa_sc_25_29_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 30 and 34 Male", + "indicator": "aa_sc_30_34_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 30 and 34 Female", + "indicator": "aa_sc_30_34_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 35 and 39 Male", + "indicator": "aa_sc_35_39_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 35 and 39 Female", + "indicator": "aa_sc_35_39_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 40 and 44 Male", + "indicator": "aa_sc_40_44_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 40 and 44 Female", + "indicator": "aa_sc_40_44_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 45 and 49 Male", + "indicator": "aa_sc_45_49_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 45 and 49 Female", + "indicator": "aa_sc_45_49_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 50 and 54 Male", + "indicator": "aa_sc_50_54_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 50 and 54 Female", + "indicator": "aa_sc_50_54_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 55 and 59 Male", + "indicator": "aa_sc_55_59_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 55 and 59 Female", + "indicator": "aa_sc_55_59_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 60 and 64 Male", + "indicator": "aa_sc_60_64_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 60 and 64 Female", + "indicator": "aa_sc_60_64_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged above 65 Male", + "indicator": "aa_sc_above_65_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged above 65 Female", + "indicator": "aa_sc_above_65_female" + }, + { + "label": "Total Number of Serodiscordant Couple with HIV positive partner", + "indicator": "total_aa_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 15 and 19 Male", + "indicator": "aa_pbfw_15_19_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 15 and 19 Female", + "indicator": "aa_pbfw_15_19_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 20 and 24 Male", + "indicator": "aa_pbfw_20_24_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 20 and 24 Female", + "indicator": "aa_pbfw_20_24_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 25 and 29 Male", + "indicator": "aa_pbfw_25_29_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 25 and 29 Female", + "indicator": "aa_pbfw_25_29_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 30 and 34 Male", + "indicator": "aa_pbfw_30_34_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 30 and 34 Female", + "indicator": "aa_pbfw_30_34_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 35 and 39 Male", + "indicator": "aa_pbfw_35_39_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 35 and 39 Female", + "indicator": "aa_pbfw_35_39_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 40 and 44 Male", + "indicator": "aa_pbfw_40_44_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 40 and 44 Female", + "indicator": "aa_pbfw_40_44_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 45 and 49 Male", + "indicator": "aa_pbfw_45_49_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 45 and 49 Female", + "indicator": "aa_pbfw_45_49_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 50 and 54 Male", + "indicator": "aa_pbfw_50_54_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 50 and 54 Female", + "indicator": "aa_pbfw_50_54_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 55 and 59 Male", + "indicator": "aa_pbfw_55_59_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 55 and 59 Female", + "indicator": "aa_pbfw_55_59_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 60 and 64 Male", + "indicator": "aa_pbfw_60_64_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged between 60 and 64 Female", + "indicator": "aa_pbfw_60_64_female" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged above 65 Male", + "indicator": "aa_pbfw_above_65_male" + }, + { + "label": "Serodiscordant Couples where the HIV positive partner has not achieved viral suppression aged above 65 Female", + "indicator": "aa_pbfw_above_65_female" + }, + { + "label": "Total Number of Serodiscordant Couple with HIV positive partner", + "indicator": "total_aa_pbfw" + } + ] + }, + { + "label": "Total Number clients Partner+ve", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients Partner+ve (not on art, art_last 6mnt, Poor Viral suppression)", + "indicator": "total_initiated_prep_partner_positive" + } + ] + } + ] + }, + { + "sectionTitle": "Sex partner(s) high risk; HIV status is unknown, partner multiple sex partners", + "indicators": [ + { + "label": "Trans Gender (TG)", + "indicators": [ + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 male", + "indicator": "bb_tg_15_19_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Female", + "indicator": "bb_tg_15_19_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Male", + "indicator": "bb_tg_20_24_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Female", + "indicator": "bb_tg_20_24_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Male", + "indicator": "bb_tg_25_29_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Female", + "indicator": "bb_tg_25_29_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Male", + "indicator": "bb_tg_30_34_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Female", + "indicator": "bb_tg_30_34_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Male", + "indicator": "bb_tg_35_39_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Female", + "indicator": "bb_tg_35_39_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Male", + "indicator": "bb_tg_40_44_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Female", + "indicator": "bb_tg_40_44_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Male", + "indicator": "bb_tg_45_49_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Female", + "indicator": "bb_tg_45_49_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Male", + "indicator": "bb_tg_50_54_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Female", + "indicator": "bb_tg_50_54_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Male", + "indicator": "bb_tg_55_59_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Female", + "indicator": "bb_tg_55_59_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Male", + "indicator": "bb_tg_60_64_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Female", + "indicator": "bb_tg_60_64_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Male", + "indicator": "bb_tg_above_65_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Female", + "indicator": "bb_tg_above_65_female" + }, + { + "label": "Total Number of those started due to their suspicion of their sexual partner's HIV status ", + "indicator": "total_bb_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Male", + "indicator": "bb_agyw_15_19_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Female", + "indicator": "bb_agyw_15_19_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Male", + "indicator": "bb_agyw_20_24_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Female", + "indicator": "bb_agyw_20_24_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Male", + "indicator": "bb_agyw_25_29_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Female", + "indicator": "bb_agyw_25_29_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Male", + "indicator": "bb_agyw_30_34_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Female", + "indicator": "bb_agyw_30_34_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Male", + "indicator": "bb_agyw_35_39_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Female", + "indicator": "bb_agyw_35_39_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Male", + "indicator": "bb_agyw_40_44_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Female", + "indicator": "bb_agyw_40_44_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Male", + "indicator": "bb_agyw_45_49_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Female", + "indicator": "bb_agyw_45_49_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Male", + "indicator": "bb_agyw_50_54_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Female", + "indicator": "bb_agyw_50_54_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Male", + "indicator": "bb_agyw_55_59_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Female", + "indicator": "bb_agyw_55_59_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Male", + "indicator": "bb_agyw_60_64_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Female", + "indicator": "bb_agyw_60_64_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Male", + "indicator": "bb_agyw_above_65_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Female", + "indicator": "bb_agyw_above_65_female" + }, + { + "label": "Total Number of those started due to their suspicion of their sexual partner's HIV status ", + "indicator": "total_bb_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Male", + "indicator": "bb_msm_15_19_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Female", + "indicator": "bb_msm_15_19_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Male", + "indicator": "bb_msm_20_24_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Female", + "indicator": "bb_msm_20_24_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Male", + "indicator": "bb_msm_25_29_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Female", + "indicator": "bb_msm_25_29_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Male", + "indicator": "bb_msm_30_34_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Female", + "indicator": "bb_msm_30_34_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Male", + "indicator": "bb_msm_35_39_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Female", + "indicator": "bb_msm_35_39_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Male", + "indicator": "bb_msm_40_44_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Female", + "indicator": "bb_msm_40_44_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Male", + "indicator": "bb_msm_45_49_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Female", + "indicator": "bb_msm_45_49_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Male", + "indicator": "bb_msm_50_54_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Female", + "indicator": "bb_msm_50_54_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Male", + "indicator": "bb_msm_55_59_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Female", + "indicator": "bb_msm_55_59_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Male", + "indicator": "bb_msm_60_64_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Female", + "indicator": "bb_msm_60_64_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Male", + "indicator": "bb_msm_above_65_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Female", + "indicator": "bb_msm_above_65_female" + }, + { + "label": "Total Number of those started due to their suspicion of their sexual partner's HIV status ", + "indicator": "total_bb_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Male", + "indicator": "bb_mhr_15_19_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Female", + "indicator": "bb_mhr_15_19_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Male", + "indicator": "bb_mhr_20_24_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Female", + "indicator": "bb_mhr_20_24_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Male", + "indicator": "bb_mhr_25_29_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Female", + "indicator": "bb_mhr_25_29_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Male", + "indicator": "bb_mhr_30_34_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Female", + "indicator": "bb_mhr_30_34_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Male", + "indicator": "bb_mhr_35_39_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Female", + "indicator": "bb_mhr_35_39_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Male", + "indicator": "bb_mhr_40_44_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Female", + "indicator": "bb_mhr_40_44_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Male", + "indicator": "bb_mhr_45_49_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Female", + "indicator": "bb_mhr_45_49_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Male", + "indicator": "bb_mhr_50_54_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Female", + "indicator": "bb_mhr_50_54_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Male", + "indicator": "bb_mhr_55_59_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Female", + "indicator": "bb_mhr_55_59_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Male", + "indicator": "bb_mhr_60_64_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Female", + "indicator": "bb_mhr_60_64_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Male", + "indicator": "bb_mhr_above_65_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Female", + "indicator": "bb_mhr_above_65_female" + }, + { + "label": "Total Number of those started due to their suspicion of their sexual partner's HIV status ", + "indicator": "total_bb_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Male", + "indicator": "bb_fsw_15_19_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Female", + "indicator": "bb_fsw_15_19_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Male", + "indicator": "bb_fsw_20_24_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Female", + "indicator": "bb_fsw_20_24_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Male", + "indicator": "bb_fsw_25_29_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Female", + "indicator": "bb_fsw_25_29_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Male", + "indicator": "bb_fsw_30_34_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Female", + "indicator": "bb_fsw_30_34_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Male", + "indicator": "bb_fsw_35_39_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Female", + "indicator": "bb_fsw_35_39_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Male", + "indicator": "bb_fsw_40_44_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Female", + "indicator": "bb_fsw_40_44_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Male", + "indicator": "bb_fsw_45_49_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Female", + "indicator": "bb_fsw_45_49_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Male", + "indicator": "bb_fsw_50_54_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Female", + "indicator": "bb_fsw_50_54_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Male", + "indicator": "bb_fsw_55_59_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Female", + "indicator": "bb_fsw_55_59_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Male", + "indicator": "bb_fsw_60_64_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Female", + "indicator": "bb_fsw_60_64_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Male", + "indicator": "bb_fsw_above_65_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Female", + "indicator": "bb_fsw_above_65_female" + }, + { + "label": "Total Number of those started due to their suspicion of their sexual partner's HIV status ", + "indicator": "total_bb_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Male", + "indicator": "bb_pwid_15_19_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Female", + "indicator": "bb_pwid_15_19_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Male", + "indicator": "bb_pwid_20_24_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Female", + "indicator": "bb_pwid_20_24_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Male", + "indicator": "bb_pwid_25_29_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Female", + "indicator": "bb_pwid_25_29_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Male", + "indicator": "bb_pwid_30_34_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Female", + "indicator": "bb_pwid_30_34_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Male", + "indicator": "bb_pwid_35_39_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Female", + "indicator": "bb_pwid_35_39_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Male", + "indicator": "bb_pwid_40_44_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Female", + "indicator": "bb_pwid_40_44_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Male", + "indicator": "bb_pwid_45_49_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Female", + "indicator": "bb_pwid_45_49_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Male", + "indicator": "bb_pwid_50_54_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Female", + "indicator": "bb_pwid_50_54_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Male", + "indicator": "bb_pwid_55_59_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Female", + "indicator": "bb_pwid_55_59_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Male", + "indicator": "bb_pwid_60_64_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Female", + "indicator": "bb_pwid_60_64_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Male", + "indicator": "bb_pwid_above_65_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Female", + "indicator": "bb_pwid_above_65_female" + }, + { + "label": "Total Number of those started due to their suspicion of their sexual partner's HIV status ", + "indicator": "total_bb_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Male", + "indicator": "bb_ow_15_19_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Female", + "indicator": "bb_ow_15_19_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Male", + "indicator": "bb_ow_20_24_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Female", + "indicator": "bb_ow_20_24_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Male", + "indicator": "bb_ow_25_29_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Female", + "indicator": "bb_ow_25_29_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Male", + "indicator": "bb_ow_30_34_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Female", + "indicator": "bb_ow_30_34_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Male", + "indicator": "bb_ow_35_39_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Female", + "indicator": "bb_ow_35_39_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Male", + "indicator": "bb_ow_40_44_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Female", + "indicator": "bb_ow_40_44_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Male", + "indicator": "bb_ow_45_49_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Female", + "indicator": "bb_ow_45_49_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Male", + "indicator": "bb_ow_50_54_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Female", + "indicator": "bb_ow_50_54_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Male", + "indicator": "bb_ow_55_59_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Female", + "indicator": "bb_ow_55_59_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Male", + "indicator": "bb_ow_60_64_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Female", + "indicator": "bb_ow_60_64_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Male", + "indicator": "bb_ow_above_65_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Female", + "indicator": "bb_ow_above_65_female" + }, + { + "label": "Total Number of those started due to their suspicion of their sexual partner's HIV status ", + "indicator": "total_bb_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Male", + "indicator": "bb_sc_15_19_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Female", + "indicator": "bb_sc_15_19_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Male", + "indicator": "bb_sc_20_24_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Female", + "indicator": "bb_sc_20_24_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Male", + "indicator": "bb_sc_25_29_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Female", + "indicator": "bb_sc_25_29_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Male", + "indicator": "bb_sc_30_34_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Female", + "indicator": "bb_sc_30_34_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Male", + "indicator": "bb_sc_35_39_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Female", + "indicator": "bb_sc_35_39_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Male", + "indicator": "bb_sc_40_44_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Female", + "indicator": "bb_sc_40_44_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Male", + "indicator": "bb_sc_45_49_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Female", + "indicator": "bb_sc_45_49_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Male", + "indicator": "bb_sc_50_54_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Female", + "indicator": "bb_sc_50_54_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Male", + "indicator": "bb_sc_55_59_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Female", + "indicator": "bb_sc_55_59_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Male", + "indicator": "bb_sc_60_64_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Female", + "indicator": "bb_sc_60_64_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Male", + "indicator": "bb_sc_above_65_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Female", + "indicator": "bb_sc_above_65_female" + }, + { + "label": "Total Number of those started due to their suspicion of their sexual partner's HIV status ", + "indicator": "total_bb_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Male", + "indicator": "bb_pbfw_15_19_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 15 and 19 Female", + "indicator": "bb_pbfw_15_19_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Male", + "indicator": "bb_pbfw_20_24_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 20 and 24 Female", + "indicator": "bb_pbfw_20_24_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Male", + "indicator": "bb_pbfw_25_29_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 25 and 29 Female", + "indicator": "bb_pbfw_25_29_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Male", + "indicator": "bb_pbfw_30_34_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 30 and 34 Female", + "indicator": "bb_pbfw_30_34_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Male", + "indicator": "bb_pbfw_35_39_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 35 and 39 Female", + "indicator": "bb_pbfw_35_39_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Male", + "indicator": "bb_pbfw_40_44_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 40 and 44 Female", + "indicator": "bb_pbfw_40_44_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Male", + "indicator": "bb_pbfw_45_49_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 45 and 49 Female", + "indicator": "bb_pbfw_45_49_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Male", + "indicator": "bb_pbfw_50_54_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 50 and 54 Female", + "indicator": "bb_pbfw_50_54_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Male", + "indicator": "bb_pbfw_55_59_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 55 and 59 Female", + "indicator": "bb_pbfw_55_59_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Male", + "indicator": "bb_pbfw_60_64_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged between 60 and 64 Female", + "indicator": "bb_pbfw_60_64_female" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Male", + "indicator": "bb_pbfw_above_65_male" + }, + { + "label": "Apply to those started due to their suspicion of their sexual partner's HIV status aged above 65 Female", + "indicator": "bb_pbfw_above_65_female" + }, + { + "label": "Total Number of those started due to their suspicion of their sexual partner's HIV status ", + "indicator": "total_bb_pbfw" + } + ] + }, + { + "label": "Total Number clients Sex partner(s) high risk", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients partner(s) high risk", + "indicator": "total_initiated_prep_partner_high_risk" + } + ] + } + ] + }, + { + "sectionTitle": "Client has sex with more than one partner", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 15 and 19 Male", + "indicator": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 35 and 39 Female", + "indicator": "cc_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 40 and 44 Male", + "indicator": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_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": "cc_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Male", + "indicator": "cc_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Female", + "indicator": "cc_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is multiple sexual partners ", + "indicator": "total_cc_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 15 and 19 Male", + "indicator": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 35 and 39 Female", + "indicator": "cc_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 40 and 44 Male", + "indicator": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_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": "cc_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Male", + "indicator": "cc_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Female", + "indicator": "cc_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is multiple sexual partners ", + "indicator": "total_cc_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 15 and 19 Male", + "indicator": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 35 and 39 Female", + "indicator": "cc_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 40 and 44 Male", + "indicator": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_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": "cc_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Male", + "indicator": "cc_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Female", + "indicator": "cc_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for starting PrEP is multiple sexual partners ", + "indicator": "total_cc_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 15 and 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": "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": "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": "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": "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": "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": "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": "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": "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", + "indicator": "bb_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 40 and 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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "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": "cc_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is multiple sexual partners ", + "indicator": "total_cc_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 15 and 19 Male", + "indicator": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 35 and 39 Female", + "indicator": "cc_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 40 and 44 Male", + "indicator": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_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": "cc_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Male", + "indicator": "cc_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Female", + "indicator": "cc_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is multiple sexual partners ", + "indicator": "total_cc_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 15 and 19 Male", + "indicator": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 35 and 39 Female", + "indicator": "cc_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 40 and 44 Male", + "indicator": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_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": "cc_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Male", + "indicator": "cc_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Female", + "indicator": "cc_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is multiple sexual partners ", + "indicator": "total_cc_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 15 and 19 Male", + "indicator": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 35 and 39 Female", + "indicator": "cc_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 40 and 44 Male", + "indicator": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_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": "cc_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Male", + "indicator": "cc_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Female", + "indicator": "cc_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is multiple sexual partners ", + "indicator": "total_cc_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 15 and 19 Male", + "indicator": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 35 and 39 Female", + "indicator": "cc_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 40 and 44 Male", + "indicator": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_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": "cc_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Male", + "indicator": "cc_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Female", + "indicator": "cc_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is multiple sexual partners ", + "indicator": "total_cc_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 15 and 19 Male", + "indicator": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 35 and 39 Female", + "indicator": "cc_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged between 40 and 44 Male", + "indicator": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_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": "cc_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Male", + "indicator": "cc_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for starting PrEP is multiple sexual partners aged above 65 Female", + "indicator": "cc_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for starting PrEP is multiple sexual partners ", + "indicator": "total_cc_pbfw" + } + ] + }, + { + "label": "Total Number clients with more than one partner", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients with more than one partner", + "indicator": "total_initiated_prep_multiple_sex_partners" + } + ] + } + ] + }, + { + "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" + } + ] + }, + { + "label": "Total Number clients ongoing IPV/GBV", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients ongoing IPV/GBV", + "indicator": "total_reason_for_initiation_gbv" + } + ] + } + ] + }, + { + "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" + } + ] + }, + { + "label": "Total Number clients engaging in transactional sex", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total number clients engaging in transactional sex", + "indicator": "total_reason_for_initiation_transactional_sex" + } + ] + } + ] + }, + { + "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" + } + ] + }, + { + "label": "Total Number clients Recent STI", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total number clients Recent STI", + "indicator": "total_reason_for_initiation_recent_sti" + } + ] + } + ] + }, + { + "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" + } + ] + }, + { + "label": "Total Number clients Recurrent use of PEP", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total number clients Recurrent use of PEP", + "indicator": "total_reason_for_initiation_recurrent_pep" + } + ] + } + ] + }, + { + "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" + } + ] + }, + { + "label": "Total Number clients inconsistent condom use", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients inconsistent condom use", + "indicator": "total_reason_for_initiation_inconsistent_condom_use" + } + ] + } + ] + }, + { + "sectionTitle": "Starting PrEP for 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" + } + ] + }, + { + "label": "Total Number clients Starting PrEP for Other Reasons", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients Starting PrEP for Other Reasons", + "indicator": "total_reason_for_initiation_other_reasons" + } + ] + } + ] + }, + { + "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" + } + ] + } + ] + }, + { + "sectionTitle": "HIV test is positive", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Male", + "indicator": "ll_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Female", + "indicator": "ll_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Male", + "indicator": "ll_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Female", + "indicator": "ll_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Male", + "indicator": "ll_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Female", + "indicator": "ll_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Male", + "indicator": "ll_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Female", + "indicator": "ll_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Male", + "indicator": "ll_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Female", + "indicator": "ll_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Male", + "indicator": "ll_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Female", + "indicator": "ll_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Male", + "indicator": "ll_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Female", + "indicator": "ll_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Male", + "indicator": "ll_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Female", + "indicator": "ll_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Male", + "indicator": "ll_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Female", + "indicator": "ll_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Male", + "indicator": "ll_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Female", + "indicator": "ll_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Male", + "indicator": "ll_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Female", + "indicator": "ll_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is testing HIV positive while on prep", + "indicator": "total_ll_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Male", + "indicator": "ll_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Female", + "indicator": "ll_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Male", + "indicator": "ll_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Female", + "indicator": "ll_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Male", + "indicator": "ll_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Female", + "indicator": "ll_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Male", + "indicator": "ll_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Female", + "indicator": "ll_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Male", + "indicator": "ll_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Female", + "indicator": "ll_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Male", + "indicator": "ll_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Female", + "indicator": "ll_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Male", + "indicator": "ll_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Female", + "indicator": "ll_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Male", + "indicator": "ll_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Female", + "indicator": "ll_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Male", + "indicator": "ll_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Female", + "indicator": "ll_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Male", + "indicator": "ll_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Female", + "indicator": "ll_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Male", + "indicator": "ll_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Female", + "indicator": "ll_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is testing HIV positive while on prep ", + "indicator": "total_ll_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Male", + "indicator": "ll_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Female", + "indicator": "ll_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Male", + "indicator": "ll_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Female", + "indicator": "ll_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Male", + "indicator": "ll_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Female", + "indicator": "ll_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Male", + "indicator": "ll_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Female", + "indicator": "ll_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Male", + "indicator": "ll_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Female", + "indicator": "ll_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Male", + "indicator": "ll_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Female", + "indicator": "ll_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Male", + "indicator": "ll_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Female", + "indicator": "ll_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Male", + "indicator": "ll_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Female", + "indicator": "ll_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Male", + "indicator": "ll_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Female", + "indicator": "ll_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Male", + "indicator": "ll_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Female", + "indicator": "ll_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Male", + "indicator": "ll_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Female", + "indicator": "ll_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for discontinuing PrEP is testing HIV positive while on prep ", + "indicator": "total_ll_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Male", + "indicator": "ll_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Female", + "indicator": "ll_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Male", + "indicator": "ll_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Female", + "indicator": "ll_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Male", + "indicator": "ll_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Female", + "indicator": "ll_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Male", + "indicator": "ll_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Female", + "indicator": "ll_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Male", + "indicator": "ll_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Female", + "indicator": "ll_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Male", + "indicator": "ll_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Female", + "indicator": "ll_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Male", + "indicator": "ll_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Female", + "indicator": "ll_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Male", + "indicator": "ll_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Female", + "indicator": "ll_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Male", + "indicator": "ll_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Female", + "indicator": "ll_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Male", + "indicator": "ll_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Female", + "indicator": "ll_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Male", + "indicator": "ll_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Female", + "indicator": "ll_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is testing HIV positive while on prep ", + "indicator": "total_ll_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Male", + "indicator": "ll_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Female", + "indicator": "ll_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Male", + "indicator": "ll_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Female", + "indicator": "ll_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Male", + "indicator": "ll_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Female", + "indicator": "ll_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Male", + "indicator": "ll_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Female", + "indicator": "ll_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Male", + "indicator": "ll_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Female", + "indicator": "ll_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Male", + "indicator": "ll_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Female", + "indicator": "ll_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Male", + "indicator": "ll_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Female", + "indicator": "ll_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Male", + "indicator": "ll_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Female", + "indicator": "ll_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Male", + "indicator": "ll_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Female", + "indicator": "ll_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Male", + "indicator": "ll_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Female", + "indicator": "ll_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Male", + "indicator": "ll_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Female", + "indicator": "ll_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is testing HIV positive while on prep ", + "indicator": "total_ll_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Male", + "indicator": "ll_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Female", + "indicator": "ll_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Male", + "indicator": "ll_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Female", + "indicator": "ll_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Male", + "indicator": "ll_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Female", + "indicator": "ll_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Male", + "indicator": "ll_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Female", + "indicator": "ll_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Male", + "indicator": "ll_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Female", + "indicator": "ll_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Male", + "indicator": "ll_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Female", + "indicator": "ll_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Male", + "indicator": "ll_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Female", + "indicator": "ll_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Male", + "indicator": "ll_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Female", + "indicator": "ll_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Male", + "indicator": "ll_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Female", + "indicator": "ll_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Male", + "indicator": "ll_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Female", + "indicator": "ll_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Male", + "indicator": "ll_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Female", + "indicator": "ll_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is testing HIV positive while on prep ", + "indicator": "total_ll_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Male", + "indicator": "ll_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Female", + "indicator": "ll_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Male", + "indicator": "ll_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Female", + "indicator": "ll_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Male", + "indicator": "ll_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Female", + "indicator": "ll_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Male", + "indicator": "ll_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Female", + "indicator": "ll_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Male", + "indicator": "ll_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Female", + "indicator": "ll_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Male", + "indicator": "ll_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Female", + "indicator": "ll_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Male", + "indicator": "ll_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Female", + "indicator": "ll_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Male", + "indicator": "ll_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Female", + "indicator": "ll_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Male", + "indicator": "ll_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Female", + "indicator": "ll_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Male", + "indicator": "ll_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Female", + "indicator": "ll_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Male", + "indicator": "ll_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Female", + "indicator": "ll_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is testing HIV positive while on prep ", + "indicator": "total_ll_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Male", + "indicator": "ll_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Female", + "indicator": "ll_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Male", + "indicator": "ll_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Female", + "indicator": "ll_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Male", + "indicator": "ll_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Female", + "indicator": "ll_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Male", + "indicator": "ll_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Female", + "indicator": "ll_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Male", + "indicator": "ll_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Female", + "indicator": "ll_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Male", + "indicator": "ll_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Female", + "indicator": "ll_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Male", + "indicator": "ll_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Female", + "indicator": "ll_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Male", + "indicator": "ll_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Female", + "indicator": "ll_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Male", + "indicator": "ll_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Female", + "indicator": "ll_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Male", + "indicator": "ll_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Female", + "indicator": "ll_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Male", + "indicator": "ll_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Female", + "indicator": "ll_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is testing HIV positive while on prep ", + "indicator": "total_ll_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Male", + "indicator": "ll_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 15 and 19 Female", + "indicator": "ll_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Male", + "indicator": "ll_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 20 and 24 Female", + "indicator": "ll_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Male", + "indicator": "ll_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 25 and 29 Female", + "indicator": "ll_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Male", + "indicator": "ll_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 30 and 34 Female", + "indicator": "ll_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Male", + "indicator": "ll_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 35 and 39 Female", + "indicator": "ll_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Male", + "indicator": "ll_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 40 and 44 Female", + "indicator": "ll_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Male", + "indicator": "ll_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 45 and 49 Female", + "indicator": "ll_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Male", + "indicator": "ll_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 50 and 54 Female", + "indicator": "ll_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Male", + "indicator": "ll_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 55 and 59 Female", + "indicator": "ll_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Male", + "indicator": "ll_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged between 60 and 64 Female", + "indicator": "ll_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Male", + "indicator": "ll_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is testing HIV positive while on prep aged above 65 Female", + "indicator": "ll_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is testing HIV positive while on prep ", + "indicator": "total_ll_pbfw" + } + ] + }, + { + "label": "Total Number clients HIV test is positive", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients HIV test is positive", + "indicator": "total_reason_for_discontinuation_tested_positive" + } + ] + } + ] + }, + { + "sectionTitle": "Low risk of HIV", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Male", + "indicator": "mm_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Female", + "indicator": "mm_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Male", + "indicator": "mm_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Female", + "indicator": "mm_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Male", + "indicator": "mm_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Female", + "indicator": "mm_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Male", + "indicator": "mm_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Female", + "indicator": "mm_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Male", + "indicator": "mm_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Female", + "indicator": "mm_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Male", + "indicator": "mm_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Female", + "indicator": "mm_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Male", + "indicator": "mm_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Female", + "indicator": "mm_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Male", + "indicator": "mm_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Female", + "indicator": "mm_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Male", + "indicator": "mm_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Female", + "indicator": "mm_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Male", + "indicator": "mm_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Female", + "indicator": "mm_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Male", + "indicator": "mm_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Female", + "indicator": "mm_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is low risk for HIV", + "indicator": "total_mm_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Male", + "indicator": "mm_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Female", + "indicator": "mm_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Male", + "indicator": "mm_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Female", + "indicator": "mm_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Male", + "indicator": "mm_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Female", + "indicator": "mm_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Male", + "indicator": "mm_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Female", + "indicator": "mm_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Male", + "indicator": "mm_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Female", + "indicator": "mm_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Male", + "indicator": "mm_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Female", + "indicator": "mm_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Male", + "indicator": "mm_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Female", + "indicator": "mm_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Male", + "indicator": "mm_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Female", + "indicator": "mm_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Male", + "indicator": "mm_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Female", + "indicator": "mm_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Male", + "indicator": "mm_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Female", + "indicator": "mm_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Male", + "indicator": "mm_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Female", + "indicator": "mm_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is low risk for HIV ", + "indicator": "total_mm_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Male", + "indicator": "mm_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Female", + "indicator": "mm_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Male", + "indicator": "mm_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Female", + "indicator": "mm_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Male", + "indicator": "mm_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Female", + "indicator": "mm_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Male", + "indicator": "mm_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Female", + "indicator": "mm_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Male", + "indicator": "mm_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Female", + "indicator": "mm_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Male", + "indicator": "mm_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Female", + "indicator": "mm_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Male", + "indicator": "mm_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Female", + "indicator": "mm_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Male", + "indicator": "mm_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Female", + "indicator": "mm_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Male", + "indicator": "mm_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Female", + "indicator": "mm_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Male", + "indicator": "mm_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Female", + "indicator": "mm_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Male", + "indicator": "mm_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Female", + "indicator": "mm_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for discontinuing PrEP is low risk for HIV ", + "indicator": "total_mm_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Male", + "indicator": "mm_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Female", + "indicator": "mm_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Male", + "indicator": "mm_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Female", + "indicator": "mm_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Male", + "indicator": "mm_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Female", + "indicator": "mm_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Male", + "indicator": "mm_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Female", + "indicator": "mm_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Male", + "indicator": "mm_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Female", + "indicator": "mm_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Male", + "indicator": "mm_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Female", + "indicator": "mm_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Male", + "indicator": "mm_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Female", + "indicator": "mm_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Male", + "indicator": "mm_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Female", + "indicator": "mm_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Male", + "indicator": "mm_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Female", + "indicator": "mm_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Male", + "indicator": "mm_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Female", + "indicator": "mm_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Male", + "indicator": "mm_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Female", + "indicator": "mm_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is low risk for HIV ", + "indicator": "total_mm_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Male", + "indicator": "mm_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Female", + "indicator": "mm_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Male", + "indicator": "mm_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Female", + "indicator": "mm_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Male", + "indicator": "mm_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Female", + "indicator": "mm_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Male", + "indicator": "mm_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Female", + "indicator": "mm_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Male", + "indicator": "mm_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Female", + "indicator": "mm_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Male", + "indicator": "mm_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Female", + "indicator": "mm_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Male", + "indicator": "mm_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Female", + "indicator": "mm_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Male", + "indicator": "mm_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Female", + "indicator": "mm_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Male", + "indicator": "mm_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Female", + "indicator": "mm_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Male", + "indicator": "mm_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Female", + "indicator": "mm_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Male", + "indicator": "mm_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Female", + "indicator": "mm_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is low risk for HIV ", + "indicator": "total_mm_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Male", + "indicator": "mm_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Female", + "indicator": "mm_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Male", + "indicator": "mm_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Female", + "indicator": "mm_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Male", + "indicator": "mm_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Female", + "indicator": "mm_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Male", + "indicator": "mm_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Female", + "indicator": "mm_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Male", + "indicator": "mm_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Female", + "indicator": "mm_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Male", + "indicator": "mm_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Female", + "indicator": "mm_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Male", + "indicator": "mm_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Female", + "indicator": "mm_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Male", + "indicator": "mm_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Female", + "indicator": "mm_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Male", + "indicator": "mm_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Female", + "indicator": "mm_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Male", + "indicator": "mm_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Female", + "indicator": "mm_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Male", + "indicator": "mm_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Female", + "indicator": "mm_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is low risk for HIV ", + "indicator": "total_mm_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Male", + "indicator": "mm_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Female", + "indicator": "mm_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Male", + "indicator": "mm_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Female", + "indicator": "mm_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Male", + "indicator": "mm_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Female", + "indicator": "mm_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Male", + "indicator": "mm_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Female", + "indicator": "mm_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Male", + "indicator": "mm_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Female", + "indicator": "mm_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Male", + "indicator": "mm_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Female", + "indicator": "mm_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Male", + "indicator": "mm_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Female", + "indicator": "mm_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Male", + "indicator": "mm_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Female", + "indicator": "mm_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Male", + "indicator": "mm_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Female", + "indicator": "mm_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Male", + "indicator": "mm_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Female", + "indicator": "mm_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Male", + "indicator": "mm_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Female", + "indicator": "mm_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is low risk for HIV ", + "indicator": "total_mm_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Male", + "indicator": "mm_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Female", + "indicator": "mm_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Male", + "indicator": "mm_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Female", + "indicator": "mm_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Male", + "indicator": "mm_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Female", + "indicator": "mm_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Male", + "indicator": "mm_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Female", + "indicator": "mm_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Male", + "indicator": "mm_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Female", + "indicator": "mm_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Male", + "indicator": "mm_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Female", + "indicator": "mm_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Male", + "indicator": "mm_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Female", + "indicator": "mm_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Male", + "indicator": "mm_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Female", + "indicator": "mm_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Male", + "indicator": "mm_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Female", + "indicator": "mm_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Male", + "indicator": "mm_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Female", + "indicator": "mm_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Male", + "indicator": "mm_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Female", + "indicator": "mm_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is low risk for HIV ", + "indicator": "total_mm_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Male", + "indicator": "mm_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 15 and 19 Female", + "indicator": "mm_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Male", + "indicator": "mm_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 20 and 24 Female", + "indicator": "mm_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Male", + "indicator": "mm_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 25 and 29 Female", + "indicator": "mm_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Male", + "indicator": "mm_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 30 and 34 Female", + "indicator": "mm_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Male", + "indicator": "mm_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 35 and 39 Female", + "indicator": "mm_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Male", + "indicator": "mm_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 40 and 44 Female", + "indicator": "mm_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Male", + "indicator": "mm_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 45 and 49 Female", + "indicator": "mm_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Male", + "indicator": "mm_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 50 and 54 Female", + "indicator": "mm_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Male", + "indicator": "mm_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 55 and 59 Female", + "indicator": "mm_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Male", + "indicator": "mm_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged between 60 and 64 Female", + "indicator": "mm_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Male", + "indicator": "mm_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is low risk for HIV aged above 65 Female", + "indicator": "mm_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is low risk for HIV ", + "indicator": "total_mm_pbfw" + } + ] + }, + { + "label": "Total Number clients Low risk of HIV", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients Low risk of HIV", + "indicator": "total_reason_for_discontinuation_low_risk" + } + ] + } + ] + }, + { + "sectionTitle": "PrEP drugs side effects", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Male", + "indicator": "nn_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Female", + "indicator": "nn_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Male", + "indicator": "nn_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Female", + "indicator": "nn_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Male", + "indicator": "nn_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Female", + "indicator": "nn_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Male", + "indicator": "nn_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Female", + "indicator": "nn_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Male", + "indicator": "nn_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Female", + "indicator": "nn_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Male", + "indicator": "nn_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Female", + "indicator": "nn_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Male", + "indicator": "nn_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Female", + "indicator": "nn_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Male", + "indicator": "nn_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Female", + "indicator": "nn_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Male", + "indicator": "nn_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Female", + "indicator": "nn_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Male", + "indicator": "nn_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Female", + "indicator": "nn_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Male", + "indicator": "nn_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Female", + "indicator": "nn_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP", + "indicator": "total_nn_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Male", + "indicator": "nn_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Female", + "indicator": "nn_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Male", + "indicator": "nn_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Female", + "indicator": "nn_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Male", + "indicator": "nn_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Female", + "indicator": "nn_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Male", + "indicator": "nn_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Female", + "indicator": "nn_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Male", + "indicator": "nn_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Female", + "indicator": "nn_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Male", + "indicator": "nn_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Female", + "indicator": "nn_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Male", + "indicator": "nn_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Female", + "indicator": "nn_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Male", + "indicator": "nn_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Female", + "indicator": "nn_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Male", + "indicator": "nn_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Female", + "indicator": "nn_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Male", + "indicator": "nn_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Female", + "indicator": "nn_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Male", + "indicator": "nn_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Female", + "indicator": "nn_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP ", + "indicator": "total_nn_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Male", + "indicator": "nn_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Female", + "indicator": "nn_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Male", + "indicator": "nn_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Female", + "indicator": "nn_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Male", + "indicator": "nn_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Female", + "indicator": "nn_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Male", + "indicator": "nn_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Female", + "indicator": "nn_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Male", + "indicator": "nn_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Female", + "indicator": "nn_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Male", + "indicator": "nn_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Female", + "indicator": "nn_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Male", + "indicator": "nn_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Female", + "indicator": "nn_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Male", + "indicator": "nn_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Female", + "indicator": "nn_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Male", + "indicator": "nn_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Female", + "indicator": "nn_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Male", + "indicator": "nn_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Female", + "indicator": "nn_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Male", + "indicator": "nn_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Female", + "indicator": "nn_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP ", + "indicator": "total_nn_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Male", + "indicator": "nn_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Female", + "indicator": "nn_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Male", + "indicator": "nn_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Female", + "indicator": "nn_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Male", + "indicator": "nn_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Female", + "indicator": "nn_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Male", + "indicator": "nn_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Female", + "indicator": "nn_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Male", + "indicator": "nn_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Female", + "indicator": "nn_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Male", + "indicator": "nn_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Female", + "indicator": "nn_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Male", + "indicator": "nn_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Female", + "indicator": "nn_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Male", + "indicator": "nn_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Female", + "indicator": "nn_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Male", + "indicator": "nn_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Female", + "indicator": "nn_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Male", + "indicator": "nn_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Female", + "indicator": "nn_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Male", + "indicator": "nn_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Female", + "indicator": "nn_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP ", + "indicator": "total_nn_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Male", + "indicator": "nn_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Female", + "indicator": "nn_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Male", + "indicator": "nn_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Female", + "indicator": "nn_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Male", + "indicator": "nn_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Female", + "indicator": "nn_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Male", + "indicator": "nn_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Female", + "indicator": "nn_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Male", + "indicator": "nn_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Female", + "indicator": "nn_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Male", + "indicator": "nn_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Female", + "indicator": "nn_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Male", + "indicator": "nn_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Female", + "indicator": "nn_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Male", + "indicator": "nn_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Female", + "indicator": "nn_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Male", + "indicator": "nn_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Female", + "indicator": "nn_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Male", + "indicator": "nn_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Female", + "indicator": "nn_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Male", + "indicator": "nn_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Female", + "indicator": "nn_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP ", + "indicator": "total_nn_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Male", + "indicator": "nn_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Female", + "indicator": "nn_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Male", + "indicator": "nn_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Female", + "indicator": "nn_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Male", + "indicator": "nn_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Female", + "indicator": "nn_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Male", + "indicator": "nn_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Female", + "indicator": "nn_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Male", + "indicator": "nn_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Female", + "indicator": "nn_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Male", + "indicator": "nn_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Female", + "indicator": "nn_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Male", + "indicator": "nn_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Female", + "indicator": "nn_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Male", + "indicator": "nn_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Female", + "indicator": "nn_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Male", + "indicator": "nn_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Female", + "indicator": "nn_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Male", + "indicator": "nn_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Female", + "indicator": "nn_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Male", + "indicator": "nn_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Female", + "indicator": "nn_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP ", + "indicator": "total_nn_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Male", + "indicator": "nn_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Female", + "indicator": "nn_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Male", + "indicator": "nn_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Female", + "indicator": "nn_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Male", + "indicator": "nn_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Female", + "indicator": "nn_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Male", + "indicator": "nn_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Female", + "indicator": "nn_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Male", + "indicator": "nn_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Female", + "indicator": "nn_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Male", + "indicator": "nn_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Female", + "indicator": "nn_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Male", + "indicator": "nn_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Female", + "indicator": "nn_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Male", + "indicator": "nn_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Female", + "indicator": "nn_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Male", + "indicator": "nn_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Female", + "indicator": "nn_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Male", + "indicator": "nn_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Female", + "indicator": "nn_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Male", + "indicator": "nn_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Female", + "indicator": "nn_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP ", + "indicator": "total_nn_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Male", + "indicator": "nn_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Female", + "indicator": "nn_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Male", + "indicator": "nn_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Female", + "indicator": "nn_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Male", + "indicator": "nn_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Female", + "indicator": "nn_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Male", + "indicator": "nn_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Female", + "indicator": "nn_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Male", + "indicator": "nn_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Female", + "indicator": "nn_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Male", + "indicator": "nn_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Female", + "indicator": "nn_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Male", + "indicator": "nn_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Female", + "indicator": "nn_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Male", + "indicator": "nn_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Female", + "indicator": "nn_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Male", + "indicator": "nn_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Female", + "indicator": "nn_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Male", + "indicator": "nn_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Female", + "indicator": "nn_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Male", + "indicator": "nn_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Female", + "indicator": "nn_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP ", + "indicator": "total_nn_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Male", + "indicator": "nn_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 15 and 19 Female", + "indicator": "nn_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Male", + "indicator": "nn_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 20 and 24 Female", + "indicator": "nn_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Male", + "indicator": "nn_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 25 and 29 Female", + "indicator": "nn_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Male", + "indicator": "nn_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 30 and 34 Female", + "indicator": "nn_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Male", + "indicator": "nn_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 35 and 39 Female", + "indicator": "nn_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Male", + "indicator": "nn_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 40 and 44 Female", + "indicator": "nn_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Male", + "indicator": "nn_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 45 and 49 Female", + "indicator": "nn_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Male", + "indicator": "nn_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 50 and 54 Female", + "indicator": "nn_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Male", + "indicator": "nn_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 55 and 59 Female", + "indicator": "nn_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Male", + "indicator": "nn_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged between 60 and 64 Female", + "indicator": "nn_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Male", + "indicator": "nn_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP aged above 65 Female", + "indicator": "nn_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is side effects as a result of using PrEP ", + "indicator": "total_nn_pbfw" + } + ] + }, + { + "label": "Total Number clients PrEP drugs side effects", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients PrEP drugs side effects", + "indicator": "total_reason_for_discontinuation_side_effects" + } + ] + } + ] + }, + { + "sectionTitle": "Non-Adherence", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Male", + "indicator": "pp_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Female", + "indicator": "pp_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Male", + "indicator": "pp_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Female", + "indicator": "pp_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Male", + "indicator": "pp_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Female", + "indicator": "pp_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Male", + "indicator": "pp_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Female", + "indicator": "pp_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Male", + "indicator": "pp_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Female", + "indicator": "pp_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Male", + "indicator": "pp_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Female", + "indicator": "pp_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Male", + "indicator": "pp_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Female", + "indicator": "pp_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Male", + "indicator": "pp_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Female", + "indicator": "pp_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Male", + "indicator": "pp_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Female", + "indicator": "pp_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Male", + "indicator": "pp_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Female", + "indicator": "pp_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Male", + "indicator": "pp_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Female", + "indicator": "pp_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP", + "indicator": "total_pp_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Male", + "indicator": "pp_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Female", + "indicator": "pp_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Male", + "indicator": "pp_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Female", + "indicator": "pp_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Male", + "indicator": "pp_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Female", + "indicator": "pp_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Male", + "indicator": "pp_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Female", + "indicator": "pp_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Male", + "indicator": "pp_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Female", + "indicator": "pp_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Male", + "indicator": "pp_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Female", + "indicator": "pp_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Male", + "indicator": "pp_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Female", + "indicator": "pp_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Male", + "indicator": "pp_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Female", + "indicator": "pp_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Male", + "indicator": "pp_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Female", + "indicator": "pp_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Male", + "indicator": "pp_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Female", + "indicator": "pp_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Male", + "indicator": "pp_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Female", + "indicator": "pp_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP ", + "indicator": "total_pp_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Male", + "indicator": "pp_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Female", + "indicator": "pp_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Male", + "indicator": "pp_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Female", + "indicator": "pp_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Male", + "indicator": "pp_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Female", + "indicator": "pp_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Male", + "indicator": "pp_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Female", + "indicator": "pp_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Male", + "indicator": "pp_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Female", + "indicator": "pp_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Male", + "indicator": "pp_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Female", + "indicator": "pp_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Male", + "indicator": "pp_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Female", + "indicator": "pp_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Male", + "indicator": "pp_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Female", + "indicator": "pp_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Male", + "indicator": "pp_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Female", + "indicator": "pp_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Male", + "indicator": "pp_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Female", + "indicator": "pp_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Male", + "indicator": "pp_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Female", + "indicator": "pp_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP ", + "indicator": "total_pp_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Male", + "indicator": "pp_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Female", + "indicator": "pp_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Male", + "indicator": "pp_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Female", + "indicator": "pp_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Male", + "indicator": "pp_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Female", + "indicator": "pp_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Male", + "indicator": "pp_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Female", + "indicator": "pp_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Male", + "indicator": "pp_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Female", + "indicator": "pp_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Male", + "indicator": "pp_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Female", + "indicator": "pp_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Male", + "indicator": "pp_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Female", + "indicator": "pp_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Male", + "indicator": "pp_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Female", + "indicator": "pp_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Male", + "indicator": "pp_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Female", + "indicator": "pp_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Male", + "indicator": "pp_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Female", + "indicator": "pp_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Male", + "indicator": "pp_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Female", + "indicator": "pp_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP ", + "indicator": "total_pp_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Male", + "indicator": "pp_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Female", + "indicator": "pp_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Male", + "indicator": "pp_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Female", + "indicator": "pp_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Male", + "indicator": "pp_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Female", + "indicator": "pp_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Male", + "indicator": "pp_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Female", + "indicator": "pp_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Male", + "indicator": "pp_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Female", + "indicator": "pp_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Male", + "indicator": "pp_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Female", + "indicator": "pp_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Male", + "indicator": "pp_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Female", + "indicator": "pp_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Male", + "indicator": "pp_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Female", + "indicator": "pp_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Male", + "indicator": "pp_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Female", + "indicator": "pp_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Male", + "indicator": "pp_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Female", + "indicator": "pp_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Male", + "indicator": "pp_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Female", + "indicator": "pp_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP ", + "indicator": "total_pp_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Male", + "indicator": "pp_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Female", + "indicator": "pp_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Male", + "indicator": "pp_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Female", + "indicator": "pp_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Male", + "indicator": "pp_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Female", + "indicator": "pp_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Male", + "indicator": "pp_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Female", + "indicator": "pp_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Male", + "indicator": "pp_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Female", + "indicator": "pp_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Male", + "indicator": "pp_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Female", + "indicator": "pp_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Male", + "indicator": "pp_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Female", + "indicator": "pp_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Male", + "indicator": "pp_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Female", + "indicator": "pp_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Male", + "indicator": "pp_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Female", + "indicator": "pp_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Male", + "indicator": "pp_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Female", + "indicator": "pp_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Male", + "indicator": "pp_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Female", + "indicator": "pp_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP ", + "indicator": "total_pp_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Male", + "indicator": "pp_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Female", + "indicator": "pp_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Male", + "indicator": "pp_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Female", + "indicator": "pp_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Male", + "indicator": "pp_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Female", + "indicator": "pp_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Male", + "indicator": "pp_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Female", + "indicator": "pp_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Male", + "indicator": "pp_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Female", + "indicator": "pp_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Male", + "indicator": "pp_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Female", + "indicator": "pp_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Male", + "indicator": "pp_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Female", + "indicator": "pp_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Male", + "indicator": "pp_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Female", + "indicator": "pp_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Male", + "indicator": "pp_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Female", + "indicator": "pp_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Male", + "indicator": "pp_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Female", + "indicator": "pp_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Male", + "indicator": "pp_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Female", + "indicator": "pp_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP ", + "indicator": "total_pp_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Male", + "indicator": "pp_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Female", + "indicator": "pp_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Male", + "indicator": "pp_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Female", + "indicator": "pp_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Male", + "indicator": "pp_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Female", + "indicator": "pp_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Male", + "indicator": "pp_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Female", + "indicator": "pp_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Male", + "indicator": "pp_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Female", + "indicator": "pp_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Male", + "indicator": "pp_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Female", + "indicator": "pp_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Male", + "indicator": "pp_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Female", + "indicator": "pp_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Male", + "indicator": "pp_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Female", + "indicator": "pp_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Male", + "indicator": "pp_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Female", + "indicator": "pp_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Male", + "indicator": "pp_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Female", + "indicator": "pp_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Male", + "indicator": "pp_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Female", + "indicator": "pp_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP ", + "indicator": "total_pp_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Male", + "indicator": "pp_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 15 and 19 Female", + "indicator": "pp_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Male", + "indicator": "pp_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 20 and 24 Female", + "indicator": "pp_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Male", + "indicator": "pp_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 25 and 29 Female", + "indicator": "pp_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Male", + "indicator": "pp_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 30 and 34 Female", + "indicator": "pp_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Male", + "indicator": "pp_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 35 and 39 Female", + "indicator": "pp_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Male", + "indicator": "pp_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 40 and 44 Female", + "indicator": "pp_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Male", + "indicator": "pp_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 45 and 49 Female", + "indicator": "pp_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Male", + "indicator": "pp_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 50 and 54 Female", + "indicator": "pp_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Male", + "indicator": "pp_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 55 and 59 Female", + "indicator": "pp_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Male", + "indicator": "pp_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged between 60 and 64 Female", + "indicator": "pp_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Male", + "indicator": "pp_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP aged above 65 Female", + "indicator": "pp_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is being found to be non-adherent to PrEP ", + "indicator": "total_pp_pbfw" + } + ] + }, + { + "label": "Total Number clients Non-Adherence", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients Non-Adherence", + "indicator": "total_reason_for_discontinuation_non_adherence" + } + ] + } + ] + }, + { + "sectionTitle": "Viral suppression of HIV+ partner", + "indicators": [ + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 15 and 19 Male", + "indicator": "qq_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 15 and 19 Female", + "indicator": "qq_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 20 and 24 Male", + "indicator": "qq_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 20 and 24 Female", + "indicator": "qq_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 25 and 29 Male", + "indicator": "qq_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 25 and 29 Female", + "indicator": "qq_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 30 and 34 Male", + "indicator": "qq_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 30 and 34 Female", + "indicator": "qq_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 35 and 39 Male", + "indicator": "qq_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 35 and 39 Female", + "indicator": "qq_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 40 and 44 Male", + "indicator": "qq_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 40 and 44 Female", + "indicator": "qq_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 45 and 49 Male", + "indicator": "qq_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 45 and 49 Female", + "indicator": "qq_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 50 and 54 Male", + "indicator": "qq_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 50 and 54 Female", + "indicator": "qq_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 55 and 59 Male", + "indicator": "qq_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 55 and 59 Female", + "indicator": "qq_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 60 and 64 Male", + "indicator": "qq_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged between 60 and 64 Female", + "indicator": "qq_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged above 65 Male", + "indicator": "qq_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner aged above 65 Female", + "indicator": "qq_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is viral suppression of HIV positive partner ", + "indicator": "total_qq_sc" + } + ] + } + ] + }, + { + "sectionTitle": "Too many HIV test", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Male", + "indicator": "rr_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Female", + "indicator": "rr_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Male", + "indicator": "rr_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Female", + "indicator": "rr_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Male", + "indicator": "rr_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Female", + "indicator": "rr_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Male", + "indicator": "rr_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Female", + "indicator": "rr_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Male", + "indicator": "rr_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Female", + "indicator": "rr_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Male", + "indicator": "rr_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Female", + "indicator": "rr_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Male", + "indicator": "rr_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Female", + "indicator": "rr_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Male", + "indicator": "rr_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Female", + "indicator": "rr_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Male", + "indicator": "rr_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Female", + "indicator": "rr_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Male", + "indicator": "rr_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Female", + "indicator": "rr_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Male", + "indicator": "rr_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Female", + "indicator": "rr_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is too many HIV tests", + "indicator": "total_rr_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Male", + "indicator": "rr_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Female", + "indicator": "rr_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Male", + "indicator": "rr_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Female", + "indicator": "rr_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Male", + "indicator": "rr_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Female", + "indicator": "rr_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Male", + "indicator": "rr_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Female", + "indicator": "rr_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Male", + "indicator": "rr_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Female", + "indicator": "rr_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Male", + "indicator": "rr_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Female", + "indicator": "rr_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Male", + "indicator": "rr_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Female", + "indicator": "rr_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Male", + "indicator": "rr_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Female", + "indicator": "rr_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Male", + "indicator": "rr_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Female", + "indicator": "rr_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Male", + "indicator": "rr_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Female", + "indicator": "rr_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Male", + "indicator": "rr_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Female", + "indicator": "rr_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is too many HIV tests ", + "indicator": "total_rr_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Male", + "indicator": "rr_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Female", + "indicator": "rr_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Male", + "indicator": "rr_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Female", + "indicator": "rr_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Male", + "indicator": "rr_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Female", + "indicator": "rr_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Male", + "indicator": "rr_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Female", + "indicator": "rr_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Male", + "indicator": "rr_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Female", + "indicator": "rr_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Male", + "indicator": "rr_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Female", + "indicator": "rr_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Male", + "indicator": "rr_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Female", + "indicator": "rr_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Male", + "indicator": "rr_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Female", + "indicator": "rr_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Male", + "indicator": "rr_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Female", + "indicator": "rr_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Male", + "indicator": "rr_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Female", + "indicator": "rr_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Male", + "indicator": "rr_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Female", + "indicator": "rr_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for discontinuing PrEP is too many HIV tests ", + "indicator": "total_rr_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Male", + "indicator": "rr_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Female", + "indicator": "rr_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Male", + "indicator": "rr_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Female", + "indicator": "rr_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Male", + "indicator": "rr_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Female", + "indicator": "rr_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Male", + "indicator": "rr_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Female", + "indicator": "rr_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Male", + "indicator": "rr_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Female", + "indicator": "rr_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Male", + "indicator": "rr_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Female", + "indicator": "rr_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Male", + "indicator": "rr_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Female", + "indicator": "rr_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Male", + "indicator": "rr_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Female", + "indicator": "rr_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Male", + "indicator": "rr_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Female", + "indicator": "rr_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Male", + "indicator": "rr_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Female", + "indicator": "rr_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Male", + "indicator": "rr_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Female", + "indicator": "rr_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is too many HIV tests ", + "indicator": "total_rr_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Male", + "indicator": "rr_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Female", + "indicator": "rr_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Male", + "indicator": "rr_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Female", + "indicator": "rr_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Male", + "indicator": "rr_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Female", + "indicator": "rr_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Male", + "indicator": "rr_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Female", + "indicator": "rr_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Male", + "indicator": "rr_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Female", + "indicator": "rr_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Male", + "indicator": "rr_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Female", + "indicator": "rr_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Male", + "indicator": "rr_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Female", + "indicator": "rr_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Male", + "indicator": "rr_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Female", + "indicator": "rr_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Male", + "indicator": "rr_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Female", + "indicator": "rr_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Male", + "indicator": "rr_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Female", + "indicator": "rr_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Male", + "indicator": "rr_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Female", + "indicator": "rr_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is too many HIV tests ", + "indicator": "total_rr_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Male", + "indicator": "rr_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Female", + "indicator": "rr_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Male", + "indicator": "rr_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Female", + "indicator": "rr_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Male", + "indicator": "rr_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Female", + "indicator": "rr_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Male", + "indicator": "rr_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Female", + "indicator": "rr_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Male", + "indicator": "rr_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Female", + "indicator": "rr_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Male", + "indicator": "rr_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Female", + "indicator": "rr_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Male", + "indicator": "rr_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Female", + "indicator": "rr_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Male", + "indicator": "rr_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Female", + "indicator": "rr_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Male", + "indicator": "rr_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Female", + "indicator": "rr_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Male", + "indicator": "rr_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Female", + "indicator": "rr_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Male", + "indicator": "rr_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Female", + "indicator": "rr_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is too many HIV tests ", + "indicator": "total_rr_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Male", + "indicator": "rr_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Female", + "indicator": "rr_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Male", + "indicator": "rr_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Female", + "indicator": "rr_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Male", + "indicator": "rr_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Female", + "indicator": "rr_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Male", + "indicator": "rr_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Female", + "indicator": "rr_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Male", + "indicator": "rr_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Female", + "indicator": "rr_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Male", + "indicator": "rr_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Female", + "indicator": "rr_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Male", + "indicator": "rr_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Female", + "indicator": "rr_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Male", + "indicator": "rr_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Female", + "indicator": "rr_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Male", + "indicator": "rr_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Female", + "indicator": "rr_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Male", + "indicator": "rr_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Female", + "indicator": "rr_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Male", + "indicator": "rr_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Female", + "indicator": "rr_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is too many HIV tests ", + "indicator": "total_rr_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Male", + "indicator": "rr_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Female", + "indicator": "rr_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Male", + "indicator": "rr_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Female", + "indicator": "rr_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Male", + "indicator": "rr_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Female", + "indicator": "rr_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Male", + "indicator": "rr_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Female", + "indicator": "rr_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Male", + "indicator": "rr_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Female", + "indicator": "rr_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Male", + "indicator": "rr_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Female", + "indicator": "rr_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Male", + "indicator": "rr_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Female", + "indicator": "rr_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Male", + "indicator": "rr_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Female", + "indicator": "rr_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Male", + "indicator": "rr_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Female", + "indicator": "rr_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Male", + "indicator": "rr_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Female", + "indicator": "rr_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Male", + "indicator": "rr_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Female", + "indicator": "rr_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is too many HIV tests ", + "indicator": "total_rr_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Male", + "indicator": "rr_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 15 and 19 Female", + "indicator": "rr_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Male", + "indicator": "rr_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 20 and 24 Female", + "indicator": "rr_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Male", + "indicator": "rr_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 25 and 29 Female", + "indicator": "rr_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Male", + "indicator": "rr_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 30 and 34 Female", + "indicator": "rr_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Male", + "indicator": "rr_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 35 and 39 Female", + "indicator": "rr_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Male", + "indicator": "rr_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 40 and 44 Female", + "indicator": "rr_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Male", + "indicator": "rr_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 45 and 49 Female", + "indicator": "rr_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Male", + "indicator": "rr_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 50 and 54 Female", + "indicator": "rr_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Male", + "indicator": "rr_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 55 and 59 Female", + "indicator": "rr_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Male", + "indicator": "rr_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged between 60 and 64 Female", + "indicator": "rr_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Male", + "indicator": "rr_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is too many HIV tests aged above 65 Female", + "indicator": "rr_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is too many HIV tests ", + "indicator": "total_rr_pbfw" + } + ] + }, + { + "label": "Total Number of clients Too many HIV test", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients Too many HIV test", + "indicator": "total_reason_for_discontinuation_many_tests" + } + ] + } + ] + }, + { + "sectionTitle": "Partner refusal", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Male", + "indicator": "ss_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Female", + "indicator": "ss_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Male", + "indicator": "ss_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Female", + "indicator": "ss_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Male", + "indicator": "ss_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Female", + "indicator": "ss_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Male", + "indicator": "ss_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Female", + "indicator": "ss_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Male", + "indicator": "ss_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Female", + "indicator": "ss_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Male", + "indicator": "ss_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Female", + "indicator": "ss_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Male", + "indicator": "ss_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Female", + "indicator": "ss_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Male", + "indicator": "ss_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Female", + "indicator": "ss_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Male", + "indicator": "ss_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Female", + "indicator": "ss_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Male", + "indicator": "ss_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Female", + "indicator": "ss_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Male", + "indicator": "ss_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Female", + "indicator": "ss_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP", + "indicator": "total_ss_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Male", + "indicator": "ss_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Female", + "indicator": "ss_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Male", + "indicator": "ss_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Female", + "indicator": "ss_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Male", + "indicator": "ss_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Female", + "indicator": "ss_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Male", + "indicator": "ss_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Female", + "indicator": "ss_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Male", + "indicator": "ss_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Female", + "indicator": "ss_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Male", + "indicator": "ss_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Female", + "indicator": "ss_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Male", + "indicator": "ss_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Female", + "indicator": "ss_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Male", + "indicator": "ss_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Female", + "indicator": "ss_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Male", + "indicator": "ss_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Female", + "indicator": "ss_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Male", + "indicator": "ss_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Female", + "indicator": "ss_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Male", + "indicator": "ss_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Female", + "indicator": "ss_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP ", + "indicator": "total_ss_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Male", + "indicator": "ss_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Female", + "indicator": "ss_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Male", + "indicator": "ss_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Female", + "indicator": "ss_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Male", + "indicator": "ss_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Female", + "indicator": "ss_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Male", + "indicator": "ss_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Female", + "indicator": "ss_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Male", + "indicator": "ss_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Female", + "indicator": "ss_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Male", + "indicator": "ss_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Female", + "indicator": "ss_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Male", + "indicator": "ss_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Female", + "indicator": "ss_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Male", + "indicator": "ss_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Female", + "indicator": "ss_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Male", + "indicator": "ss_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Female", + "indicator": "ss_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Male", + "indicator": "ss_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Female", + "indicator": "ss_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Male", + "indicator": "ss_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Female", + "indicator": "ss_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP ", + "indicator": "total_ss_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Male", + "indicator": "ss_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Female", + "indicator": "ss_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Male", + "indicator": "ss_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Female", + "indicator": "ss_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Male", + "indicator": "ss_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Female", + "indicator": "ss_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Male", + "indicator": "ss_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Female", + "indicator": "ss_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Male", + "indicator": "ss_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Female", + "indicator": "ss_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Male", + "indicator": "ss_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Female", + "indicator": "ss_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Male", + "indicator": "ss_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Female", + "indicator": "ss_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Male", + "indicator": "ss_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Female", + "indicator": "ss_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Male", + "indicator": "ss_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Female", + "indicator": "ss_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Male", + "indicator": "ss_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Female", + "indicator": "ss_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Male", + "indicator": "ss_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Female", + "indicator": "ss_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP ", + "indicator": "total_ss_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Male", + "indicator": "ss_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Female", + "indicator": "ss_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Male", + "indicator": "ss_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Female", + "indicator": "ss_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Male", + "indicator": "ss_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Female", + "indicator": "ss_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Male", + "indicator": "ss_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Female", + "indicator": "ss_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Male", + "indicator": "ss_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Female", + "indicator": "ss_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Male", + "indicator": "ss_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Female", + "indicator": "ss_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Male", + "indicator": "ss_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Female", + "indicator": "ss_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Male", + "indicator": "ss_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Female", + "indicator": "ss_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Male", + "indicator": "ss_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Female", + "indicator": "ss_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Male", + "indicator": "ss_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Female", + "indicator": "ss_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Male", + "indicator": "ss_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Female", + "indicator": "ss_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP ", + "indicator": "total_ss_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Male", + "indicator": "ss_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Female", + "indicator": "ss_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Male", + "indicator": "ss_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Female", + "indicator": "ss_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Male", + "indicator": "ss_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Female", + "indicator": "ss_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Male", + "indicator": "ss_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Female", + "indicator": "ss_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Male", + "indicator": "ss_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Female", + "indicator": "ss_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Male", + "indicator": "ss_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Female", + "indicator": "ss_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Male", + "indicator": "ss_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Female", + "indicator": "ss_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Male", + "indicator": "ss_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Female", + "indicator": "ss_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Male", + "indicator": "ss_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Female", + "indicator": "ss_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Male", + "indicator": "ss_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Female", + "indicator": "ss_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Male", + "indicator": "ss_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Female", + "indicator": "ss_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP ", + "indicator": "total_ss_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Male", + "indicator": "ss_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Female", + "indicator": "ss_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Male", + "indicator": "ss_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Female", + "indicator": "ss_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Male", + "indicator": "ss_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Female", + "indicator": "ss_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Male", + "indicator": "ss_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Female", + "indicator": "ss_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Male", + "indicator": "ss_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Female", + "indicator": "ss_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Male", + "indicator": "ss_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Female", + "indicator": "ss_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Male", + "indicator": "ss_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Female", + "indicator": "ss_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Male", + "indicator": "ss_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Female", + "indicator": "ss_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Male", + "indicator": "ss_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Female", + "indicator": "ss_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Male", + "indicator": "ss_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Female", + "indicator": "ss_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Male", + "indicator": "ss_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Female", + "indicator": "ss_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP ", + "indicator": "total_ss_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Male", + "indicator": "ss_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Female", + "indicator": "ss_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Male", + "indicator": "ss_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Female", + "indicator": "ss_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Male", + "indicator": "ss_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Female", + "indicator": "ss_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Male", + "indicator": "ss_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Female", + "indicator": "ss_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Male", + "indicator": "ss_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Female", + "indicator": "ss_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Male", + "indicator": "ss_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Female", + "indicator": "ss_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Male", + "indicator": "ss_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Female", + "indicator": "ss_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Male", + "indicator": "ss_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Female", + "indicator": "ss_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Male", + "indicator": "ss_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Female", + "indicator": "ss_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Male", + "indicator": "ss_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Female", + "indicator": "ss_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Male", + "indicator": "ss_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Female", + "indicator": "ss_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP ", + "indicator": "total_ss_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Male", + "indicator": "ss_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 15 and 19 Female", + "indicator": "ss_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Male", + "indicator": "ss_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 20 and 24 Female", + "indicator": "ss_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Male", + "indicator": "ss_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 25 and 29 Female", + "indicator": "ss_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Male", + "indicator": "ss_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 30 and 34 Female", + "indicator": "ss_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Male", + "indicator": "ss_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 35 and 39 Female", + "indicator": "ss_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Male", + "indicator": "ss_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 40 and 44 Female", + "indicator": "ss_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Male", + "indicator": "ss_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 45 and 49 Female", + "indicator": "ss_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Male", + "indicator": "ss_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 50 and 54 Female", + "indicator": "ss_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Male", + "indicator": "ss_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 55 and 59 Female", + "indicator": "ss_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Male", + "indicator": "ss_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged between 60 and 64 Female", + "indicator": "ss_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Male", + "indicator": "ss_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP aged above 65 Female", + "indicator": "ss_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner refusal for them to continue using PrEP ", + "indicator": "total_ss_pbfw" + } + ] + }, + { + "label": "Total Number of clients Partner refusal", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients Partner refusal", + "indicator": "total_reason_for_discontinuation_partner_refusal" + } + ] + } + ] + }, + { + "sectionTitle": "Partner violence", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Male", + "indicator": "tt_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Female", + "indicator": "tt_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Male", + "indicator": "tt_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Female", + "indicator": "tt_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Male", + "indicator": "tt_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Female", + "indicator": "tt_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Male", + "indicator": "tt_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Female", + "indicator": "tt_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Male", + "indicator": "tt_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Female", + "indicator": "tt_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Male", + "indicator": "tt_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Female", + "indicator": "tt_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Male", + "indicator": "tt_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Female", + "indicator": "tt_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Male", + "indicator": "tt_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Female", + "indicator": "tt_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Male", + "indicator": "tt_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Female", + "indicator": "tt_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Male", + "indicator": "tt_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Female", + "indicator": "tt_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Male", + "indicator": "tt_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Female", + "indicator": "tt_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner violence", + "indicator": "total_tt_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Male", + "indicator": "tt_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Female", + "indicator": "tt_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Male", + "indicator": "tt_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Female", + "indicator": "tt_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Male", + "indicator": "tt_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Female", + "indicator": "tt_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Male", + "indicator": "tt_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Female", + "indicator": "tt_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Male", + "indicator": "tt_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Female", + "indicator": "tt_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Male", + "indicator": "tt_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Female", + "indicator": "tt_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Male", + "indicator": "tt_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Female", + "indicator": "tt_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Male", + "indicator": "tt_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Female", + "indicator": "tt_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Male", + "indicator": "tt_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Female", + "indicator": "tt_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Male", + "indicator": "tt_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Female", + "indicator": "tt_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Male", + "indicator": "tt_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Female", + "indicator": "tt_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner violence ", + "indicator": "total_tt_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Male", + "indicator": "tt_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Female", + "indicator": "tt_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Male", + "indicator": "tt_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Female", + "indicator": "tt_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Male", + "indicator": "tt_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Female", + "indicator": "tt_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Male", + "indicator": "tt_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Female", + "indicator": "tt_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Male", + "indicator": "tt_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Female", + "indicator": "tt_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Male", + "indicator": "tt_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Female", + "indicator": "tt_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Male", + "indicator": "tt_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Female", + "indicator": "tt_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Male", + "indicator": "tt_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Female", + "indicator": "tt_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Male", + "indicator": "tt_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Female", + "indicator": "tt_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Male", + "indicator": "tt_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Female", + "indicator": "tt_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Male", + "indicator": "tt_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Female", + "indicator": "tt_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for discontinuing PrEP is partner violence ", + "indicator": "total_tt_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Male", + "indicator": "tt_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Female", + "indicator": "tt_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Male", + "indicator": "tt_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Female", + "indicator": "tt_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Male", + "indicator": "tt_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Female", + "indicator": "tt_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Male", + "indicator": "tt_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Female", + "indicator": "tt_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Male", + "indicator": "tt_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Female", + "indicator": "tt_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Male", + "indicator": "tt_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Female", + "indicator": "tt_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Male", + "indicator": "tt_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Female", + "indicator": "tt_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Male", + "indicator": "tt_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Female", + "indicator": "tt_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Male", + "indicator": "tt_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Female", + "indicator": "tt_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Male", + "indicator": "tt_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Female", + "indicator": "tt_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Male", + "indicator": "tt_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Female", + "indicator": "tt_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner violence ", + "indicator": "total_tt_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Male", + "indicator": "tt_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Female", + "indicator": "tt_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Male", + "indicator": "tt_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Female", + "indicator": "tt_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Male", + "indicator": "tt_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Female", + "indicator": "tt_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Male", + "indicator": "tt_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Female", + "indicator": "tt_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Male", + "indicator": "tt_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Female", + "indicator": "tt_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Male", + "indicator": "tt_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Female", + "indicator": "tt_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Male", + "indicator": "tt_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Female", + "indicator": "tt_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Male", + "indicator": "tt_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Female", + "indicator": "tt_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Male", + "indicator": "tt_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Female", + "indicator": "tt_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Male", + "indicator": "tt_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Female", + "indicator": "tt_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Male", + "indicator": "tt_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Female", + "indicator": "tt_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner violence ", + "indicator": "total_tt_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Male", + "indicator": "tt_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Female", + "indicator": "tt_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Male", + "indicator": "tt_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Female", + "indicator": "tt_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Male", + "indicator": "tt_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Female", + "indicator": "tt_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Male", + "indicator": "tt_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Female", + "indicator": "tt_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Male", + "indicator": "tt_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Female", + "indicator": "tt_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Male", + "indicator": "tt_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Female", + "indicator": "tt_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Male", + "indicator": "tt_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Female", + "indicator": "tt_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Male", + "indicator": "tt_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Female", + "indicator": "tt_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Male", + "indicator": "tt_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Female", + "indicator": "tt_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Male", + "indicator": "tt_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Female", + "indicator": "tt_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Male", + "indicator": "tt_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Female", + "indicator": "tt_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner violence ", + "indicator": "total_tt_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Male", + "indicator": "tt_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Female", + "indicator": "tt_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Male", + "indicator": "tt_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Female", + "indicator": "tt_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Male", + "indicator": "tt_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Female", + "indicator": "tt_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Male", + "indicator": "tt_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Female", + "indicator": "tt_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Male", + "indicator": "tt_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Female", + "indicator": "tt_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Male", + "indicator": "tt_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Female", + "indicator": "tt_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Male", + "indicator": "tt_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Female", + "indicator": "tt_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Male", + "indicator": "tt_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Female", + "indicator": "tt_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Male", + "indicator": "tt_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Female", + "indicator": "tt_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Male", + "indicator": "tt_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Female", + "indicator": "tt_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Male", + "indicator": "tt_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Female", + "indicator": "tt_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner violence ", + "indicator": "total_tt_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Male", + "indicator": "tt_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Female", + "indicator": "tt_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Male", + "indicator": "tt_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Female", + "indicator": "tt_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Male", + "indicator": "tt_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Female", + "indicator": "tt_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Male", + "indicator": "tt_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Female", + "indicator": "tt_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Male", + "indicator": "tt_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Female", + "indicator": "tt_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Male", + "indicator": "tt_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Female", + "indicator": "tt_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Male", + "indicator": "tt_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Female", + "indicator": "tt_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Male", + "indicator": "tt_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Female", + "indicator": "tt_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Male", + "indicator": "tt_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Female", + "indicator": "tt_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Male", + "indicator": "tt_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Female", + "indicator": "tt_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Male", + "indicator": "tt_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Female", + "indicator": "tt_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner violence ", + "indicator": "total_tt_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Male", + "indicator": "tt_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 15 and 19 Female", + "indicator": "tt_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Male", + "indicator": "tt_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 20 and 24 Female", + "indicator": "tt_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Male", + "indicator": "tt_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 25 and 29 Female", + "indicator": "tt_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Male", + "indicator": "tt_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 30 and 34 Female", + "indicator": "tt_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Male", + "indicator": "tt_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 35 and 39 Female", + "indicator": "tt_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Male", + "indicator": "tt_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 40 and 44 Female", + "indicator": "tt_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Male", + "indicator": "tt_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 45 and 49 Female", + "indicator": "tt_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Male", + "indicator": "tt_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 50 and 54 Female", + "indicator": "tt_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Male", + "indicator": "tt_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 55 and 59 Female", + "indicator": "tt_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Male", + "indicator": "tt_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged between 60 and 64 Female", + "indicator": "tt_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Male", + "indicator": "tt_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is partner violence aged above 65 Female", + "indicator": "tt_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is partner violence ", + "indicator": "total_tt_pbfw" + } + ] + }, + { + "label": "Total Number of clients Partner violence", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients Partner violence", + "indicator": "total_reason_for_discontinuation_partner_violence" + } + ] + } + ] + }, + { + "sectionTitle": "Died", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Male", + "indicator": "vv_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Female", + "indicator": "vv_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Male", + "indicator": "vv_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Female", + "indicator": "vv_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Male", + "indicator": "vv_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Female", + "indicator": "vv_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Male", + "indicator": "vv_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Female", + "indicator": "vv_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Male", + "indicator": "vv_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Female", + "indicator": "vv_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Male", + "indicator": "vv_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Female", + "indicator": "vv_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Male", + "indicator": "vv_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Female", + "indicator": "vv_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Male", + "indicator": "vv_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Female", + "indicator": "vv_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Male", + "indicator": "vv_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Female", + "indicator": "vv_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Male", + "indicator": "vv_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Female", + "indicator": "vv_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Male", + "indicator": "vv_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Female", + "indicator": "vv_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is died while on prep", + "indicator": "total_vv_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Male", + "indicator": "vv_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Female", + "indicator": "vv_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Male", + "indicator": "vv_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Female", + "indicator": "vv_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Male", + "indicator": "vv_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Female", + "indicator": "vv_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Male", + "indicator": "vv_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Female", + "indicator": "vv_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Male", + "indicator": "vv_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Female", + "indicator": "vv_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Male", + "indicator": "vv_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Female", + "indicator": "vv_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Male", + "indicator": "vv_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Female", + "indicator": "vv_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Male", + "indicator": "vv_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Female", + "indicator": "vv_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Male", + "indicator": "vv_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Female", + "indicator": "vv_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Male", + "indicator": "vv_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Female", + "indicator": "vv_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Male", + "indicator": "vv_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Female", + "indicator": "vv_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is died while on prep ", + "indicator": "total_vv_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Male", + "indicator": "vv_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Female", + "indicator": "vv_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Male", + "indicator": "vv_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Female", + "indicator": "vv_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Male", + "indicator": "vv_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Female", + "indicator": "vv_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Male", + "indicator": "vv_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Female", + "indicator": "vv_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Male", + "indicator": "vv_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Female", + "indicator": "vv_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Male", + "indicator": "vv_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Female", + "indicator": "vv_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Male", + "indicator": "vv_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Female", + "indicator": "vv_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Male", + "indicator": "vv_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Female", + "indicator": "vv_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Male", + "indicator": "vv_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Female", + "indicator": "vv_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Male", + "indicator": "vv_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Female", + "indicator": "vv_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Male", + "indicator": "vv_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Female", + "indicator": "vv_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for discontinuing PrEP is died while on prep ", + "indicator": "total_vv_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Male", + "indicator": "vv_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Female", + "indicator": "vv_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Male", + "indicator": "vv_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Female", + "indicator": "vv_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Male", + "indicator": "vv_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Female", + "indicator": "vv_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Male", + "indicator": "vv_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Female", + "indicator": "vv_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Male", + "indicator": "vv_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Female", + "indicator": "vv_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Male", + "indicator": "vv_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Female", + "indicator": "vv_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Male", + "indicator": "vv_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Female", + "indicator": "vv_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Male", + "indicator": "vv_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Female", + "indicator": "vv_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Male", + "indicator": "vv_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Female", + "indicator": "vv_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Male", + "indicator": "vv_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Female", + "indicator": "vv_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Male", + "indicator": "vv_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Female", + "indicator": "vv_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is died while on prep ", + "indicator": "total_vv_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Male", + "indicator": "vv_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Female", + "indicator": "vv_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Male", + "indicator": "vv_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Female", + "indicator": "vv_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Male", + "indicator": "vv_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Female", + "indicator": "vv_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Male", + "indicator": "vv_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Female", + "indicator": "vv_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Male", + "indicator": "vv_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Female", + "indicator": "vv_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Male", + "indicator": "vv_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Female", + "indicator": "vv_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Male", + "indicator": "vv_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Female", + "indicator": "vv_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Male", + "indicator": "vv_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Female", + "indicator": "vv_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Male", + "indicator": "vv_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Female", + "indicator": "vv_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Male", + "indicator": "vv_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Female", + "indicator": "vv_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Male", + "indicator": "vv_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Female", + "indicator": "vv_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is died while on prep ", + "indicator": "total_vv_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Male", + "indicator": "vv_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Female", + "indicator": "vv_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Male", + "indicator": "vv_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Female", + "indicator": "vv_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Male", + "indicator": "vv_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Female", + "indicator": "vv_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Male", + "indicator": "vv_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Female", + "indicator": "vv_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Male", + "indicator": "vv_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Female", + "indicator": "vv_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Male", + "indicator": "vv_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Female", + "indicator": "vv_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Male", + "indicator": "vv_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Female", + "indicator": "vv_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Male", + "indicator": "vv_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Female", + "indicator": "vv_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Male", + "indicator": "vv_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Female", + "indicator": "vv_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Male", + "indicator": "vv_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Female", + "indicator": "vv_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Male", + "indicator": "vv_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Female", + "indicator": "vv_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is died while on prep ", + "indicator": "total_vv_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Male", + "indicator": "vv_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Female", + "indicator": "vv_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Male", + "indicator": "vv_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Female", + "indicator": "vv_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Male", + "indicator": "vv_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Female", + "indicator": "vv_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Male", + "indicator": "vv_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Female", + "indicator": "vv_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Male", + "indicator": "vv_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Female", + "indicator": "vv_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Male", + "indicator": "vv_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Female", + "indicator": "vv_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Male", + "indicator": "vv_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Female", + "indicator": "vv_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Male", + "indicator": "vv_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Female", + "indicator": "vv_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Male", + "indicator": "vv_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Female", + "indicator": "vv_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Male", + "indicator": "vv_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Female", + "indicator": "vv_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Male", + "indicator": "vv_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Female", + "indicator": "vv_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is died while on prep ", + "indicator": "total_vv_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Male", + "indicator": "vv_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Female", + "indicator": "vv_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Male", + "indicator": "vv_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Female", + "indicator": "vv_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Male", + "indicator": "vv_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Female", + "indicator": "vv_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Male", + "indicator": "vv_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Female", + "indicator": "vv_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Male", + "indicator": "vv_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Female", + "indicator": "vv_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Male", + "indicator": "vv_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Female", + "indicator": "vv_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Male", + "indicator": "vv_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Female", + "indicator": "vv_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Male", + "indicator": "vv_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Female", + "indicator": "vv_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Male", + "indicator": "vv_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Female", + "indicator": "vv_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Male", + "indicator": "vv_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Female", + "indicator": "vv_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Male", + "indicator": "vv_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Female", + "indicator": "vv_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is died while on prep ", + "indicator": "total_vv_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Male", + "indicator": "vv_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 15 and 19 Female", + "indicator": "vv_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Male", + "indicator": "vv_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 20 and 24 Female", + "indicator": "vv_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Male", + "indicator": "vv_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 25 and 29 Female", + "indicator": "vv_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Male", + "indicator": "vv_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 30 and 34 Female", + "indicator": "vv_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Male", + "indicator": "vv_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 35 and 39 Female", + "indicator": "vv_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Male", + "indicator": "vv_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 40 and 44 Female", + "indicator": "vv_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Male", + "indicator": "vv_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 45 and 49 Female", + "indicator": "vv_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Male", + "indicator": "vv_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 50 and 54 Female", + "indicator": "vv_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Male", + "indicator": "vv_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 55 and 59 Female", + "indicator": "vv_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Male", + "indicator": "vv_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged between 60 and 64 Female", + "indicator": "vv_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Male", + "indicator": "vv_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is died while on prep aged above 65 Female", + "indicator": "vv_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is died while on prep ", + "indicator": "total_vv_pbfw" + } + ] + }, + { + "label": "Total Number of clients Died", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients Died", + "indicator": "total_reason_for_discontinuation_died" + } + ] + } + ] + }, + { + "sectionTitle": "Transfer outs", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Male", + "indicator": "ww_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Female", + "indicator": "ww_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Male", + "indicator": "ww_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Female", + "indicator": "ww_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Male", + "indicator": "ww_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Female", + "indicator": "ww_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Male", + "indicator": "ww_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Female", + "indicator": "ww_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Male", + "indicator": "ww_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Female", + "indicator": "ww_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Male", + "indicator": "ww_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Female", + "indicator": "ww_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Male", + "indicator": "ww_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Female", + "indicator": "ww_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Male", + "indicator": "ww_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Female", + "indicator": "ww_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Male", + "indicator": "ww_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Female", + "indicator": "ww_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Male", + "indicator": "ww_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Female", + "indicator": "ww_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Male", + "indicator": "ww_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Female", + "indicator": "ww_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is transfer to other facilities", + "indicator": "total_ww_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Male", + "indicator": "ww_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Female", + "indicator": "ww_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Male", + "indicator": "ww_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Female", + "indicator": "ww_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Male", + "indicator": "ww_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Female", + "indicator": "ww_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Male", + "indicator": "ww_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Female", + "indicator": "ww_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Male", + "indicator": "ww_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Female", + "indicator": "ww_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Male", + "indicator": "ww_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Female", + "indicator": "ww_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Male", + "indicator": "ww_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Female", + "indicator": "ww_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Male", + "indicator": "ww_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Female", + "indicator": "ww_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Male", + "indicator": "ww_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Female", + "indicator": "ww_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Male", + "indicator": "ww_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Female", + "indicator": "ww_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Male", + "indicator": "ww_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Female", + "indicator": "ww_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is transfer to other facilities ", + "indicator": "total_ww_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Male", + "indicator": "ww_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Female", + "indicator": "ww_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Male", + "indicator": "ww_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Female", + "indicator": "ww_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Male", + "indicator": "ww_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Female", + "indicator": "ww_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Male", + "indicator": "ww_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Female", + "indicator": "ww_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Male", + "indicator": "ww_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Female", + "indicator": "ww_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Male", + "indicator": "ww_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Female", + "indicator": "ww_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Male", + "indicator": "ww_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Female", + "indicator": "ww_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Male", + "indicator": "ww_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Female", + "indicator": "ww_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Male", + "indicator": "ww_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Female", + "indicator": "ww_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Male", + "indicator": "ww_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Female", + "indicator": "ww_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Male", + "indicator": "ww_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Female", + "indicator": "ww_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for discontinuing PrEP is transfer to other facilities ", + "indicator": "total_ww_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Male", + "indicator": "ww_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Female", + "indicator": "ww_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Male", + "indicator": "ww_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Female", + "indicator": "ww_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Male", + "indicator": "ww_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Female", + "indicator": "ww_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Male", + "indicator": "ww_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Female", + "indicator": "ww_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Male", + "indicator": "ww_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Female", + "indicator": "ww_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Male", + "indicator": "ww_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Female", + "indicator": "ww_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Male", + "indicator": "ww_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Female", + "indicator": "ww_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Male", + "indicator": "ww_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Female", + "indicator": "ww_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Male", + "indicator": "ww_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Female", + "indicator": "ww_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Male", + "indicator": "ww_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Female", + "indicator": "ww_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Male", + "indicator": "ww_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Female", + "indicator": "ww_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is transfer to other facilities ", + "indicator": "total_ww_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Male", + "indicator": "ww_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Female", + "indicator": "ww_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Male", + "indicator": "ww_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Female", + "indicator": "ww_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Male", + "indicator": "ww_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Female", + "indicator": "ww_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Male", + "indicator": "ww_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Female", + "indicator": "ww_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Male", + "indicator": "ww_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Female", + "indicator": "ww_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Male", + "indicator": "ww_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Female", + "indicator": "ww_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Male", + "indicator": "ww_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Female", + "indicator": "ww_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Male", + "indicator": "ww_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Female", + "indicator": "ww_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Male", + "indicator": "ww_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Female", + "indicator": "ww_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Male", + "indicator": "ww_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Female", + "indicator": "ww_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Male", + "indicator": "ww_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Female", + "indicator": "ww_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is transfer to other facilities ", + "indicator": "total_ww_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Male", + "indicator": "ww_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Female", + "indicator": "ww_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Male", + "indicator": "ww_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Female", + "indicator": "ww_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Male", + "indicator": "ww_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Female", + "indicator": "ww_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Male", + "indicator": "ww_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Female", + "indicator": "ww_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Male", + "indicator": "ww_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Female", + "indicator": "ww_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Male", + "indicator": "ww_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Female", + "indicator": "ww_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Male", + "indicator": "ww_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Female", + "indicator": "ww_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Male", + "indicator": "ww_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Female", + "indicator": "ww_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Male", + "indicator": "ww_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Female", + "indicator": "ww_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Male", + "indicator": "ww_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Female", + "indicator": "ww_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Male", + "indicator": "ww_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Female", + "indicator": "ww_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is transfer to other facilities ", + "indicator": "total_ww_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Male", + "indicator": "ww_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Female", + "indicator": "ww_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Male", + "indicator": "ww_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Female", + "indicator": "ww_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Male", + "indicator": "ww_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Female", + "indicator": "ww_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Male", + "indicator": "ww_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Female", + "indicator": "ww_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Male", + "indicator": "ww_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Female", + "indicator": "ww_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Male", + "indicator": "ww_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Female", + "indicator": "ww_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Male", + "indicator": "ww_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Female", + "indicator": "ww_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Male", + "indicator": "ww_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Female", + "indicator": "ww_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Male", + "indicator": "ww_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Female", + "indicator": "ww_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Male", + "indicator": "ww_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Female", + "indicator": "ww_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Male", + "indicator": "ww_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Female", + "indicator": "ww_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is transfer to other facilities ", + "indicator": "total_ww_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Male", + "indicator": "ww_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Female", + "indicator": "ww_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Male", + "indicator": "ww_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Female", + "indicator": "ww_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Male", + "indicator": "ww_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Female", + "indicator": "ww_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Male", + "indicator": "ww_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Female", + "indicator": "ww_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Male", + "indicator": "ww_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Female", + "indicator": "ww_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Male", + "indicator": "ww_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Female", + "indicator": "ww_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Male", + "indicator": "ww_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Female", + "indicator": "ww_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Male", + "indicator": "ww_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Female", + "indicator": "ww_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Male", + "indicator": "ww_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Female", + "indicator": "ww_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Male", + "indicator": "ww_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Female", + "indicator": "ww_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Male", + "indicator": "ww_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Female", + "indicator": "ww_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is transfer to other facilities ", + "indicator": "total_ww_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Male", + "indicator": "ww_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 15 and 19 Female", + "indicator": "ww_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Male", + "indicator": "ww_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 20 and 24 Female", + "indicator": "ww_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Male", + "indicator": "ww_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 25 and 29 Female", + "indicator": "ww_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Male", + "indicator": "ww_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 30 and 34 Female", + "indicator": "ww_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Male", + "indicator": "ww_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 35 and 39 Female", + "indicator": "ww_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Male", + "indicator": "ww_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 40 and 44 Female", + "indicator": "ww_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Male", + "indicator": "ww_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 45 and 49 Female", + "indicator": "ww_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Male", + "indicator": "ww_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 50 and 54 Female", + "indicator": "ww_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Male", + "indicator": "ww_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 55 and 59 Female", + "indicator": "ww_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Male", + "indicator": "ww_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged between 60 and 64 Female", + "indicator": "ww_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Male", + "indicator": "ww_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is transfer to other facilities aged above 65 Female", + "indicator": "ww_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is transfer to other facilities ", + "indicator": "total_ww_pbfw" + } + ] + }, + { + "label": "Total Number of clients Transfer outs", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients Transfer outs", + "indicator": "total_reason_for_discontinuation_transfer_outs" + } + ] + } + ] + }, + { + "sectionTitle": "Missed drug pick ups", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Male", + "indicator": "xx_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Female", + "indicator": "xx_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Male", + "indicator": "xx_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Female", + "indicator": "xx_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Male", + "indicator": "xx_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Female", + "indicator": "xx_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Male", + "indicator": "xx_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Female", + "indicator": "xx_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Male", + "indicator": "xx_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Female", + "indicator": "xx_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Male", + "indicator": "xx_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Female", + "indicator": "xx_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Male", + "indicator": "xx_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Female", + "indicator": "xx_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Male", + "indicator": "xx_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Female", + "indicator": "xx_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Male", + "indicator": "xx_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Female", + "indicator": "xx_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Male", + "indicator": "xx_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Female", + "indicator": "xx_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Male", + "indicator": "xx_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Female", + "indicator": "xx_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is missed drug pick ups", + "indicator": "total_xx_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Male", + "indicator": "xx_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Female", + "indicator": "xx_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Male", + "indicator": "xx_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Female", + "indicator": "xx_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Male", + "indicator": "xx_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Female", + "indicator": "xx_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Male", + "indicator": "xx_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Female", + "indicator": "xx_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Male", + "indicator": "xx_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Female", + "indicator": "xx_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Male", + "indicator": "xx_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Female", + "indicator": "xx_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Male", + "indicator": "xx_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Female", + "indicator": "xx_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Male", + "indicator": "xx_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Female", + "indicator": "xx_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Male", + "indicator": "xx_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Female", + "indicator": "xx_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Male", + "indicator": "xx_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Female", + "indicator": "xx_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Male", + "indicator": "xx_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Female", + "indicator": "xx_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is missed drug pick ups ", + "indicator": "total_xx_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Male", + "indicator": "xx_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Female", + "indicator": "xx_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Male", + "indicator": "xx_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Female", + "indicator": "xx_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Male", + "indicator": "xx_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Female", + "indicator": "xx_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Male", + "indicator": "xx_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Female", + "indicator": "xx_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Male", + "indicator": "xx_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Female", + "indicator": "xx_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Male", + "indicator": "xx_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Female", + "indicator": "xx_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Male", + "indicator": "xx_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Female", + "indicator": "xx_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Male", + "indicator": "xx_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Female", + "indicator": "xx_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Male", + "indicator": "xx_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Female", + "indicator": "xx_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Male", + "indicator": "xx_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Female", + "indicator": "xx_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Male", + "indicator": "xx_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Female", + "indicator": "xx_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for discontinuing PrEP is missed drug pick ups ", + "indicator": "total_xx_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Male", + "indicator": "xx_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Female", + "indicator": "xx_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Male", + "indicator": "xx_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Female", + "indicator": "xx_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Male", + "indicator": "xx_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Female", + "indicator": "xx_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Male", + "indicator": "xx_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Female", + "indicator": "xx_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Male", + "indicator": "xx_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Female", + "indicator": "xx_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Male", + "indicator": "xx_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Female", + "indicator": "xx_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Male", + "indicator": "xx_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Female", + "indicator": "xx_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Male", + "indicator": "xx_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Female", + "indicator": "xx_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Male", + "indicator": "xx_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Female", + "indicator": "xx_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Male", + "indicator": "xx_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Female", + "indicator": "xx_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Male", + "indicator": "xx_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Female", + "indicator": "xx_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is missed drug pick ups ", + "indicator": "total_xx_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Male", + "indicator": "xx_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Female", + "indicator": "xx_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Male", + "indicator": "xx_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Female", + "indicator": "xx_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Male", + "indicator": "xx_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Female", + "indicator": "xx_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Male", + "indicator": "xx_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Female", + "indicator": "xx_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Male", + "indicator": "xx_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Female", + "indicator": "xx_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Male", + "indicator": "xx_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Female", + "indicator": "xx_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Male", + "indicator": "xx_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Female", + "indicator": "xx_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Male", + "indicator": "xx_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Female", + "indicator": "xx_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Male", + "indicator": "xx_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Female", + "indicator": "xx_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Male", + "indicator": "xx_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Female", + "indicator": "xx_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Male", + "indicator": "xx_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Female", + "indicator": "xx_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is missed drug pick ups ", + "indicator": "total_xx_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Male", + "indicator": "xx_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Female", + "indicator": "xx_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Male", + "indicator": "xx_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Female", + "indicator": "xx_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Male", + "indicator": "xx_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Female", + "indicator": "xx_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Male", + "indicator": "xx_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Female", + "indicator": "xx_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Male", + "indicator": "xx_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Female", + "indicator": "xx_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Male", + "indicator": "xx_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Female", + "indicator": "xx_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Male", + "indicator": "xx_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Female", + "indicator": "xx_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Male", + "indicator": "xx_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Female", + "indicator": "xx_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Male", + "indicator": "xx_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Female", + "indicator": "xx_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Male", + "indicator": "xx_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Female", + "indicator": "xx_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Male", + "indicator": "xx_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Female", + "indicator": "xx_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is missed drug pick ups ", + "indicator": "total_xx_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Male", + "indicator": "xx_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Female", + "indicator": "xx_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Male", + "indicator": "xx_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Female", + "indicator": "xx_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Male", + "indicator": "xx_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Female", + "indicator": "xx_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Male", + "indicator": "xx_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Female", + "indicator": "xx_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Male", + "indicator": "xx_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Female", + "indicator": "xx_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Male", + "indicator": "xx_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Female", + "indicator": "xx_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Male", + "indicator": "xx_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Female", + "indicator": "xx_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Male", + "indicator": "xx_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Female", + "indicator": "xx_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Male", + "indicator": "xx_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Female", + "indicator": "xx_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Male", + "indicator": "xx_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Female", + "indicator": "xx_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Male", + "indicator": "xx_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Female", + "indicator": "xx_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is missed drug pick ups ", + "indicator": "total_xx_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Male", + "indicator": "xx_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Female", + "indicator": "xx_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Male", + "indicator": "xx_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Female", + "indicator": "xx_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Male", + "indicator": "xx_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Female", + "indicator": "xx_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Male", + "indicator": "xx_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Female", + "indicator": "xx_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Male", + "indicator": "xx_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Female", + "indicator": "xx_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Male", + "indicator": "xx_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Female", + "indicator": "xx_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Male", + "indicator": "xx_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Female", + "indicator": "xx_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Male", + "indicator": "xx_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Female", + "indicator": "xx_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Male", + "indicator": "xx_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Female", + "indicator": "xx_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Male", + "indicator": "xx_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Female", + "indicator": "xx_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Male", + "indicator": "xx_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Female", + "indicator": "xx_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is missed drug pick ups ", + "indicator": "total_xx_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Male", + "indicator": "xx_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 15 and 19 Female", + "indicator": "xx_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Male", + "indicator": "xx_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 20 and 24 Female", + "indicator": "xx_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Male", + "indicator": "xx_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 25 and 29 Female", + "indicator": "xx_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Male", + "indicator": "xx_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 30 and 34 Female", + "indicator": "xx_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Male", + "indicator": "xx_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 35 and 39 Female", + "indicator": "xx_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Male", + "indicator": "xx_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 40 and 44 Female", + "indicator": "xx_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Male", + "indicator": "xx_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 45 and 49 Female", + "indicator": "xx_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Male", + "indicator": "xx_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 50 and 54 Female", + "indicator": "xx_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Male", + "indicator": "xx_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 55 and 59 Female", + "indicator": "xx_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Male", + "indicator": "xx_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged between 60 and 64 Female", + "indicator": "xx_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Male", + "indicator": "xx_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is missed drug pick ups aged above 65 Female", + "indicator": "xx_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is missed drug pick ups ", + "indicator": "total_xx_pbfw" + } + ] + }, + { + "label": "Total Number of clients Missed drug pick ups", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients Missed drug pick ups", + "indicator": "total_reason_for_discontinuation_missed_drug_pickup" + } + ] + } + ] + }, + { + "sectionTitle": "Any other reason for discontinuing PrEP", + "indicators": [ + { + "label": "TG", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Male", + "indicator": "yy_tg_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Female", + "indicator": "yy_tg_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Male", + "indicator": "yy_tg_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Female", + "indicator": "yy_tg_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Male", + "indicator": "yy_tg_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Female", + "indicator": "yy_tg_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Male", + "indicator": "yy_tg_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Female", + "indicator": "yy_tg_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Male", + "indicator": "yy_tg_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Female", + "indicator": "yy_tg_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Male", + "indicator": "yy_tg_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Female", + "indicator": "yy_tg_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Male", + "indicator": "yy_tg_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Female", + "indicator": "yy_tg_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Male", + "indicator": "yy_tg_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Female", + "indicator": "yy_tg_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Male", + "indicator": "yy_tg_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Female", + "indicator": "yy_tg_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Male", + "indicator": "yy_tg_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Female", + "indicator": "yy_tg_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Male", + "indicator": "yy_tg_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Female", + "indicator": "yy_tg_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is any other reason", + "indicator": "total_yy_tg" + } + ] + }, + { + "label": "AGYW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Male", + "indicator": "yy_agyw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Female", + "indicator": "yy_agyw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Male", + "indicator": "yy_agyw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Female", + "indicator": "yy_agyw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Male", + "indicator": "yy_agyw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Female", + "indicator": "yy_agyw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Male", + "indicator": "yy_agyw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Female", + "indicator": "yy_agyw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Male", + "indicator": "yy_agyw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Female", + "indicator": "yy_agyw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Male", + "indicator": "yy_agyw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Female", + "indicator": "yy_agyw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Male", + "indicator": "yy_agyw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Female", + "indicator": "yy_agyw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Male", + "indicator": "yy_agyw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Female", + "indicator": "yy_agyw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Male", + "indicator": "yy_agyw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Female", + "indicator": "yy_agyw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Male", + "indicator": "yy_agyw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Female", + "indicator": "yy_agyw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Male", + "indicator": "yy_agyw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Female", + "indicator": "yy_agyw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is any other reason ", + "indicator": "total_yy_agyw" + } + ] + }, + { + "label": "MSM", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Male", + "indicator": "yy_msm_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Female", + "indicator": "yy_msm_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Male", + "indicator": "yy_msm_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Female", + "indicator": "yy_msm_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Male", + "indicator": "yy_msm_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Female", + "indicator": "yy_msm_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Male", + "indicator": "yy_msm_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Female", + "indicator": "yy_msm_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Male", + "indicator": "yy_msm_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Female", + "indicator": "yy_msm_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Male", + "indicator": "yy_msm_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Female", + "indicator": "yy_msm_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Male", + "indicator": "yy_msm_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Female", + "indicator": "yy_msm_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Male", + "indicator": "yy_msm_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Female", + "indicator": "yy_msm_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Male", + "indicator": "yy_msm_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Female", + "indicator": "yy_msm_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Male", + "indicator": "yy_msm_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Female", + "indicator": "yy_msm_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Male", + "indicator": "yy_msm_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Female", + "indicator": "yy_msm_above_65_female" + }, + { + "label": "Total Number of clients whose main reason for discontinuing PrEP is any other reason ", + "indicator": "total_yy_msm" + } + ] + }, + { + "label": "Men at high risk", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Male", + "indicator": "yy_mhr_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Female", + "indicator": "yy_mhr_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Male", + "indicator": "yy_mhr_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Female", + "indicator": "yy_mhr_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Male", + "indicator": "yy_mhr_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Female", + "indicator": "yy_mhr_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Male", + "indicator": "yy_mhr_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Female", + "indicator": "yy_mhr_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Male", + "indicator": "yy_mhr_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Female", + "indicator": "yy_mhr_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Male", + "indicator": "yy_mhr_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Female", + "indicator": "yy_mhr_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Male", + "indicator": "yy_mhr_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Female", + "indicator": "yy_mhr_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Male", + "indicator": "yy_mhr_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Female", + "indicator": "yy_mhr_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Male", + "indicator": "yy_mhr_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Female", + "indicator": "yy_mhr_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Male", + "indicator": "yy_mhr_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Female", + "indicator": "yy_mhr_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Male", + "indicator": "yy_mhr_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Female", + "indicator": "yy_mhr_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is any other reason ", + "indicator": "total_yy_mhr" + } + ] + }, + { + "label": "FSW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Male", + "indicator": "yy_fsw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Female", + "indicator": "yy_fsw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Male", + "indicator": "yy_fsw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Female", + "indicator": "yy_fsw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Male", + "indicator": "yy_fsw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Female", + "indicator": "yy_fsw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Male", + "indicator": "yy_fsw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Female", + "indicator": "yy_fsw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Male", + "indicator": "yy_fsw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Female", + "indicator": "yy_fsw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Male", + "indicator": "yy_fsw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Female", + "indicator": "yy_fsw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Male", + "indicator": "yy_fsw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Female", + "indicator": "yy_fsw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Male", + "indicator": "yy_fsw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Female", + "indicator": "yy_fsw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Male", + "indicator": "yy_fsw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Female", + "indicator": "yy_fsw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Male", + "indicator": "yy_fsw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Female", + "indicator": "yy_fsw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Male", + "indicator": "yy_fsw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Female", + "indicator": "yy_fsw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is any other reason ", + "indicator": "total_yy_fsw" + } + ] + }, + { + "label": "PWID", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Male", + "indicator": "yy_pwid_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Female", + "indicator": "yy_pwid_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Male", + "indicator": "yy_pwid_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Female", + "indicator": "yy_pwid_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Male", + "indicator": "yy_pwid_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Female", + "indicator": "yy_pwid_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Male", + "indicator": "yy_pwid_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Female", + "indicator": "yy_pwid_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Male", + "indicator": "yy_pwid_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Female", + "indicator": "yy_pwid_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Male", + "indicator": "yy_pwid_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Female", + "indicator": "yy_pwid_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Male", + "indicator": "yy_pwid_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Female", + "indicator": "yy_pwid_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Male", + "indicator": "yy_pwid_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Female", + "indicator": "yy_pwid_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Male", + "indicator": "yy_pwid_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Female", + "indicator": "yy_pwid_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Male", + "indicator": "yy_pwid_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Female", + "indicator": "yy_pwid_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Male", + "indicator": "yy_pwid_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Female", + "indicator": "yy_pwid_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is any other reason ", + "indicator": "total_yy_pwid" + } + ] + }, + { + "label": "Other Women", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Male", + "indicator": "yy_ow_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Female", + "indicator": "yy_ow_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Male", + "indicator": "yy_ow_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Female", + "indicator": "yy_ow_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Male", + "indicator": "yy_ow_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Female", + "indicator": "yy_ow_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Male", + "indicator": "yy_ow_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Female", + "indicator": "yy_ow_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Male", + "indicator": "yy_ow_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Female", + "indicator": "yy_ow_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Male", + "indicator": "yy_ow_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Female", + "indicator": "yy_ow_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Male", + "indicator": "yy_ow_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Female", + "indicator": "yy_ow_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Male", + "indicator": "yy_ow_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Female", + "indicator": "yy_ow_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Male", + "indicator": "yy_ow_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Female", + "indicator": "yy_ow_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Male", + "indicator": "yy_ow_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Female", + "indicator": "yy_ow_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Male", + "indicator": "yy_ow_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Female", + "indicator": "yy_ow_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is any other reason ", + "indicator": "total_yy_ow" + } + ] + }, + { + "label": "Serodiscordant Couple", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Male", + "indicator": "yy_sc_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Female", + "indicator": "yy_sc_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Male", + "indicator": "yy_sc_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Female", + "indicator": "yy_sc_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Male", + "indicator": "yy_sc_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Female", + "indicator": "yy_sc_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Male", + "indicator": "yy_sc_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Female", + "indicator": "yy_sc_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Male", + "indicator": "yy_sc_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Female", + "indicator": "yy_sc_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Male", + "indicator": "yy_sc_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Female", + "indicator": "yy_sc_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Male", + "indicator": "yy_sc_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Female", + "indicator": "yy_sc_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Male", + "indicator": "yy_sc_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Female", + "indicator": "yy_sc_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Male", + "indicator": "yy_sc_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Female", + "indicator": "yy_sc_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Male", + "indicator": "yy_sc_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Female", + "indicator": "yy_sc_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Male", + "indicator": "yy_sc_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Female", + "indicator": "yy_sc_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is any other reason ", + "indicator": "total_yy_sc" + } + ] + }, + { + "label": "PBFW", + "indicators": [ + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Male", + "indicator": "yy_pbfw_15_19_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 15 and 19 Female", + "indicator": "yy_pbfw_15_19_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Male", + "indicator": "yy_pbfw_20_24_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 20 and 24 Female", + "indicator": "yy_pbfw_20_24_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Male", + "indicator": "yy_pbfw_25_29_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 25 and 29 Female", + "indicator": "yy_pbfw_25_29_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Male", + "indicator": "yy_pbfw_30_34_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 30 and 34 Female", + "indicator": "yy_pbfw_30_34_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Male", + "indicator": "yy_pbfw_35_39_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 35 and 39 Female", + "indicator": "yy_pbfw_35_39_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Male", + "indicator": "yy_pbfw_40_44_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 40 and 44 Female", + "indicator": "yy_pbfw_40_44_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Male", + "indicator": "yy_pbfw_45_49_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 45 and 49 Female", + "indicator": "yy_pbfw_45_49_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Male", + "indicator": "yy_pbfw_50_54_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 50 and 54 Female", + "indicator": "yy_pbfw_50_54_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Male", + "indicator": "yy_pbfw_55_59_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 55 and 59 Female", + "indicator": "yy_pbfw_55_59_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Male", + "indicator": "yy_pbfw_60_64_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged between 60 and 64 Female", + "indicator": "yy_pbfw_60_64_female" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Male", + "indicator": "yy_pbfw_above_65_male" + }, + { + "label": "Apply to those clients whose main reason for discontinuing PrEP is any other reason aged above 65 Female", + "indicator": "yy_pbfw_above_65_female" + }, + { + "label": "Total Number clients whose main reason for discontinuing PrEP is any other reason ", + "indicator": "total_yy_pbfw" + } + ] + }, + { + "label": "Total Number of clients Any other reason", + "indicators": [ + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_20_24_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_25_29_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_30_34_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_35_39_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_40_44_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_45_49_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_50_54_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_55_59_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_60_64_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "", + "indicator": "re_pbfw_above_65_male" + }, + { + "label": "", + "indicator": "re_pbfw_15_19_male" + }, + { + "label": "Total Number clients Any other reason", + "indicator": "total_reason_for_discontinuation_other_reasons" + } + ] + } + ] + } +] diff --git a/app/reporting-framework/json-reports/prep-monthly/prep-report.json b/app/reporting-framework/json-reports/prep-monthly/prep-report.json new file mode 100644 index 000000000..630ff97fd --- /dev/null +++ b/app/reporting-framework/json-reports/prep-monthly/prep-report.json @@ -0,0 +1,30 @@ +{ + "reports": [ + "eligibleForPrepAggregate", + "reasonForInitiationPrepAggregate", + "newForPrepAggregate", + "eventDrivenPrepAggregate", + "restartingPrepAggregate", + "whileOnPrepAggregate", + "discontinuedPrepAggregate", + "gbvPrepAggregate", + "transactionalSexPrepAggregate", + "recentSTIPrepAggregate", + "recurrentUseOfPepPrepAggregate", + "inconsistentOrNoCondomUsePrepAggregate", + "otherReasonsForPrepAggregate", + "sharedNeedlesPrepAggregate", + "testedHIVPositivePrepAggregate", + "lowRiskForHIVPrepAggregate", + "prepSideEffectsAggregate", + "nonAdherencePrepAggregate", + "viralSuppressionOfHIVPositivePartnerPrepAggregate", + "tooManyHIVTestsPrepAggregate", + "partnerRefusalPrepAggregate", + "partnerViolencePrepAggregate", + "diedPrepAggregate", + "transferOutsPrepAggregate", + "missedDrugPickupsPrepAggregate", + "anyOtherReasonPrepAggregate" + ] +} diff --git a/app/reporting-framework/json-reports/surge-report-base.json b/app/reporting-framework/json-reports/surge-report-base.json index aa3716467..83e1fca61 100644 --- a/app/reporting-framework/json-reports/surge-report-base.json +++ b/app/reporting-framework/json-reports/surge-report-base.json @@ -10,7 +10,7 @@ "alias": "srb" }, { - "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)", + "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date AND fli.encounter_id = max_dates.encounter_id)", "alias": "fli", "join": { "type": "LEFT", diff --git a/app/reporting-framework/json-reports/tb-preventive-dataset-base.json b/app/reporting-framework/json-reports/tb-preventive-dataset-base.json index 8192b329a..6a382ff43 100644 --- a/app/reporting-framework/json-reports/tb-preventive-dataset-base.json +++ b/app/reporting-framework/json-reports/tb-preventive-dataset-base.json @@ -10,7 +10,7 @@ "alias": "hmsd" }, { - "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)", + "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date AND fli.encounter_id = max_dates.encounter_id)", "alias": "fli", "join": { "type": "LEFT", diff --git a/app/routes/prep-monthly-report.route.js b/app/routes/prep-monthly-report.route.js new file mode 100644 index 000000000..559273604 --- /dev/null +++ b/app/routes/prep-monthly-report.route.js @@ -0,0 +1,111 @@ +const authorizer = require('../../authorization/etl-authorizer'); +import { PrepMonthlyReportService } from '../../service/prep/prep-monthly-report.service'; +const etlHelpers = require('../../etl-helpers'); +const privileges = authorizer.getAllPrivileges(); +const preRequest = require('../../pre-request-processing'); + +/** +1 -- TG +2 -- AGYW +3 -- MSM +4 -- Men at High Risk +5 -- FSW +6 -- PWID +7 -- Other Women +8 -- SeroDiscordant Couple +9 -- PBFW +*/ + +const routes = [ + { + method: 'GET', + path: '/etl/prep-monthly-report', + config: { + plugins: { + hapiAuthorization: { + role: privileges.canViewClinicDashBoard + } + }, + handler: function (request, reply) { + preRequest.resolveLocationIdsToLocationUuids(request, function () { + let requestParams = Object.assign({}, request.query, request.params); + let reportParams = etlHelpers.getReportParams( + 'prep-monthly-report', + ['endDate', 'locationUuids'], + requestParams + ); + + let service = new PrepMonthlyReportService( + 'prep-monthly-report', + reportParams.requestParams + ); + service + .getAggregateReport() + .then((result) => { + reply(result); + }) + .catch((error) => { + reply(error); + }); + }); + }, + description: 'PrEP monthly summary dataset', + notes: 'PrEP monthly summary dataset', + tags: ['api'], + validate: { + options: { + allowUnknown: true + }, + params: {} + } + } + }, + { + method: 'GET', + path: '/etl/prep-monthly-report-patient-list', + config: { + plugins: { + hapiAuthorization: { + role: privileges.canViewClinicDashBoard + } + }, + handler: function (request, reply) { + request.query.reportName = 'prep-monthly-report-patient-list'; + preRequest.resolveLocationIdsToLocationUuids(request, function () { + let requestParams = Object.assign({}, request.query, request.params); + + let requestCopy = _.cloneDeep(requestParams); + let reportParams = etlHelpers.getReportParams( + request.query.reportName, + ['startDate', 'endDate', 'locationUuids', 'locations'], + requestParams + ); + requestCopy.locationUuids = reportParams.requestParams.locationUuids; + const service = new PrepMonthlyReportService( + 'prep-monthly-report', + requestCopy + ); + service + .generatePatientListReport(requestParams.indicators.split(',')) + .then((results) => { + _.each(results.result, (item) => { + item.arv_first_regimen = etlHelpers.getARVNames( + item.arv_first_regimen + ); + item.cur_meds = etlHelpers.getARVNames(item.cur_meds); + }); + reply(results); + }) + .catch((err) => { + reply(err); + }); + }); + }, + description: + 'Get patient list for prep monthly summary report of the location and month provided', + notes: 'Returns patient list of prep monthly summary indicators', + tags: ['api'] + } + } +]; +exports.routes = (server) => server.route(routes); diff --git a/build-json-schema.js b/build-json-schema.js new file mode 100644 index 000000000..5e8ed0fd3 --- /dev/null +++ b/build-json-schema.js @@ -0,0 +1,255 @@ +// Usage: node build-json-schema.js +const populationTypes = [ + 'tg', + 'msm', + 'agyw', + 'mhr', + 'fsw', + 'pwid', + 'ow', + 'sc', + 'pbfw' +]; + +maleOnlyPopulationTypes = [3, 4]; +femaleOnlyPopulationTypes = [2, 5, 9, 7]; + +// const populationTypes = ['sc', 'pbfw']; + +const ageGroups = [ + '15_19', + '20_24', + '25_29', + '30_34', + '35_39', + '40_44', + '45_49', + '50_54', + '55_59', + '60_64', + 'above_65' +]; +const genders = ['male', 'female']; + +const subPopulationTypes = ['msm', 'fsw', 'pwid', 'tg']; + +checkForCompability = (population_type, gender) => { + if (gender === 'male') { + if (femaleOnlyPopulationTypes.includes(population_type)) { + return -1; + } else { + return 1; + } + } else { + if (maleOnlyPopulationTypes.includes(population_type)) { + return -1; + } else { + return 1; + } + } +}; + +//const + +const generateExpression = (data) => { + if (checkForCompability(data.populationType, data.gender) === -1) { + return `if((pd.person_id is not null), -1, NULL)`; + } else { + if (data.isOldPop) { + return `if((pd.${data.column} = '${ + data.value + }' AND (pd.population_type = ${ + data.populationType + } OR pd.old_population_type = ${ + data.oldPopulationType + } ) AND pd.gender = '${getGender(data.gender)}' AND (pd.age ${ + data.ageGroup + })), ${checkForCompability(data.populationType, data.gender)}, NULL)`; + } else if (data.isSubPop) { + return `if((pd.${data.column} = '${ + data.value + }' AND (pd.population_type = ${data.populationType} OR ${ + data.subPopulationType + }) AND pd.gender = '${getGender(data.gender)}' AND (pd.age ${ + data.ageGroup + })), ${checkForCompability(data.populationType, data.gender)}, NULL)`; + } else { + return `if((pd.${data.column} = '${ + data.value + }' AND pd.population_type = ${ + data.populationType + } AND pd.gender = '${getGender(data.gender)}' AND (pd.age ${ + data.ageGroup + })), ${checkForCompability(data.populationType, data.gender)}, NULL)`; + } + } +}; + +const getPopulationType = (populationType) => { + switch (populationType) { + case 'tg': + return 1; + case 'agyw': + return 2; + case 'msm': + return 3; + case 'mhr': + return 4; + case 'fsw': + return 5; + case 'pwid': + return 6; + case 'ow': + return 7; + case 'sc': + return 8; + case 'pbfw': + return 9; + default: + return 0; + } +}; + +const getGender = (gender) => { + return gender === 'male' ? 'M' : 'F'; +}; + +const getAgeGroup = (ageGroup) => { + switch (ageGroup) { + case '15_19': + return 'between 15 AND 19'; + case '20_24': + return 'between 20 AND 24'; + case '25_29': + return 'between 25 AND 29'; + case '30_34': + return 'between 30 AND 34'; + case '35_39': + return 'between 35 AND 39'; + case '40_44': + return 'between 40 AND 44'; + case '45_49': + return 'between 45 AND 49'; + case '50_54': + return 'between 50 AND 54'; + case '55_59': + return 'between 55 AND 59'; + case '60_64': + return 'between 60 AND 64'; + case 'above_65': + return '> 65'; + default: + return 0; + } +}; + +const getOldPopulationType = (population) => { + if (population === 'mhr' || population === 'ow') { + return 300; + } else if (population === 'sc') { + return 100; + } +}; + +const getSubPopulationType = (population) => { + ///'msm', 'fsw', 'pwid', 'tg' + switch (population) { + case 'msm': + return `pd.sub_population_type = 10 OR pd.sub_population_type = 20`; + case 'fsw': + return `pd.sub_population_type = 30`; + case 'pwid': + return `pd.sub_population_type = 40`; + case 'tg': + return `pd.sub_population_type = 50 OR pd.sub_population_type = 60`; + default: + return ``; + } +}; + +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 + */ +const generateColumns = (column, value, alias) => { + let columns = []; + + for (let pt of populationTypes) { + for (let ag of ageGroups) { + for (let g of genders) { + columns.push({ + type: 'derived_column', + alias: `${alias}_${pt}_${ag}_${g}`, + expressionType: 'simple_expression', + expressionOptions: { + expression: generateExpression({ + column: column, + populationType: getPopulationType(pt), + gender: g, + value: value, + ageGroup: getAgeGroup(ag), + isOldPop: pt === 'ow' || pt === 'mhr' || pt === 'sc', + isSubPop: subPopulationTypes.includes(pt), + oldPopulationType: getOldPopulationType(pt), + subPopulationType: getSubPopulationType(pt) + }) + } + }); + } + } + // Add total column + columns.push({ + type: 'derived_column', + alias: `total_${alias}_${pt}`, + expressionType: 'simple_expression', + expressionOptions: { + 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 + }) + } + }); + } + + return columns; +}; + +const generateAggregate = (alias) => { + let aggregates = []; + for (let pt of populationTypes) { + for (let ag of ageGroups) { + for (let g of genders) { + aggregates.push({ + type: 'simple_column', + alias: `${alias}_${pt}_${ag}_${g}`, + column: `sum(b.${alias}_${pt}_${ag}_${g})` + }); + } + } + // Add total column + aggregates.push({ + type: 'simple_column', + alias: `total_${alias}_${pt}`, + column: `sum(b.total_${alias}_${pt})` + }); + } + return aggregates; +}; + +const aggsSchema = generateAggregate('edp'); +const aggs = JSON.stringify(aggsSchema, null, 2); diff --git a/dao/patient/etl-patient-dao.js b/dao/patient/etl-patient-dao.js index 328e4b6a3..ea647f6a0 100755 --- a/dao/patient/etl-patient-dao.js +++ b/dao/patient/etl-patient-dao.js @@ -38,7 +38,7 @@ module.exports = (function () { 't1.encounter_id = t3.encounter_id' ], [ - '(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN ( SELECT person_id, MAX(test_datetime) AS max_vl_1_date, max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id ) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)', + '(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN ( SELECT person_id, MAX(test_datetime) AS max_vl_1_date, max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id ) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date AND fli.encounter_id = max_dates.encounter_id)', 'fli', 'fli.person_id = t1.person_id' ] diff --git a/dao/patient/etl-patient-hiv-summary-dao.js b/dao/patient/etl-patient-hiv-summary-dao.js index 039262a08..b84dc9ae3 100755 --- a/dao/patient/etl-patient-hiv-summary-dao.js +++ b/dao/patient/etl-patient-hiv-summary-dao.js @@ -4,7 +4,8 @@ var db = require('../../etl-db'); var def = { getPatientHivSummary: getPatientHivSummary, - getPatientLastEncounter: getPatientLastEncounter + getPatientLastEncounter: getPatientLastEncounter, + getPatientLastVL: getPatientLastVL }; module.exports = def; @@ -61,3 +62,21 @@ function getPatientLastEncounter(patientUuid) { return db.queryDb(queryObject); } +function getPatientLastVL(patientUuid) { + var whereClause = ['uuid = ? and hiv_viral_load is not null ', patientUuid]; + + var queryObject = { + columns: 'MAX(test_datetime),hiv_viral_load', + table: 'etl.flat_labs_and_imaging', + where: whereClause, + order: [ + { + column: 'test_datetime', + asc: false + } + ], + limit: 1, + group: ['person_id', 'test_datetime'] + }; + return db.queryDb(queryObject); +} diff --git a/programs/patient-data-resolver.service.js b/programs/patient-data-resolver.service.js index fd3ee96cd..bbb04bbfa 100755 --- a/programs/patient-data-resolver.service.js +++ b/programs/patient-data-resolver.service.js @@ -18,7 +18,8 @@ const availableKeys = { patientEncounters: getPatientEncounters, isPatientTransferredOut: checkTransferOut, dcQualifedVisits: getQualifiedDcVisits, - latestCovidAssessment: getLatestCovidAssessment + latestCovidAssessment: getLatestCovidAssessment, + isViremicHighVL: getLatestVL }; const def = { @@ -31,7 +32,8 @@ const def = { getPatientEncounters: getPatientEncounters, checkTransferOut: checkTransferOut, dcQualifedVisits: getQualifiedDcVisits, - getLatestCovidAssessment: getLatestCovidAssessment + getLatestCovidAssessment: getLatestCovidAssessment, + isViremicHighVL: getLatestVL }; module.exports = def; @@ -198,3 +200,22 @@ function getLatestCovidAssessment(patientUuid) { }); }); } + +function getLatestVL(patientUuid) { + return new Promise((resolve, reject) => { + etlHivSummary + .getPatientLastVL(patientUuid) + .then((result) => { + if (result.size > 0) { + const isViremic = + result.result[0].hiv_viral_load > 200 ? true : false; + resolve(isViremic); + } else { + resolve(false); + } + }) + .catch((error) => { + reject(error); + }); + }); +} diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index 07b4a5140..b5f1f8a49 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -4547,7 +4547,8 @@ "patientEnrollment", "isPatientTransferredOut", "patientEncounters", - "latestCovidAssessment" + "latestCovidAssessment", + "isViremicHighVL" ], "enrollmentOptions": { "requiredProgramQuestions": [ @@ -4603,25 +4604,25 @@ { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", "display": "ADULTRETURN", - "allowedIf": "screenedForCovidToday && age > 24", + "allowedIf": "!isViremicHighVL && age > 24", "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" + "viremiaError": "To access clinical forms kindly fill Enhanced Adherence Encounter Form" } }, { "uuid": "4e7553b4-373d-452f-bc89-3f4ad9a01ce7", "display": "YOUTHRETURN", - "allowedIf": "screenedForCovidToday && age >= 10 && age <= 24", + "allowedIf": "!isViremicHighVL && age >= 10 && age <= 24", "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" + "viremiaError": "To access clinical forms kindly fill Enhanced Adherence Encounter Form" } }, { "uuid": "8d5b3108-c2cc-11de-8d13-0010c6dffd0f", "display": "PEDSRETURN", - "allowedIf": "screenedForCovidToday && age <= 14", + "allowedIf": "!isViremicHighVL && age <= 14", "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" + "viremiaError": "To access clinical forms kindly fill Enhanced Adherence Encounter Form" } }, { diff --git a/programs/scope-builder.service.js b/programs/scope-builder.service.js index 938c977a6..c9e8f4dfb 100755 --- a/programs/scope-builder.service.js +++ b/programs/scope-builder.service.js @@ -15,7 +15,8 @@ function buildScope(dataDictionary) { qualifiesMedicationRefillVisit: false, lastCovidScreeningDate: '', retroSpective: false, - screenedForCovidToday: false + screenedForCovidToday: false, + isViremicHighVL: false }; let isStandardDcVisit = false; @@ -34,13 +35,6 @@ function buildScope(dataDictionary) { buildPatientScopeMembers(scope, dataDictionary.patient); } - if (dataDictionary.patient) { - const result = conditionalDCVisits(dataDictionary); - if (result) { - isStandardDcVisit = true; - } - } - if (dataDictionary.enrollment) { buildProgramScopeMembers(scope, dataDictionary.enrollment); } @@ -70,6 +64,10 @@ function buildScope(dataDictionary) { } if (dataDictionary.dcQualifedVisits) { + const result = conditionalDCVisits(dataDictionary); + if (result) { + isStandardDcVisit = true; + } if ( dataDictionary.dcQualifedVisits.qualifies_for_standard_visit === 1 || isStandardDcVisit @@ -158,7 +156,13 @@ function buildScope(dataDictionary) { } } } - + // Add Restrictions For Users who are not Suppressed vl > 200 System to Restrict Filling of Enhance Adherance Form + if ( + dataDictionary.programUuid === 'c4246ff0-b081-460c-bcc5-b0678012659e' && + dataDictionary.isViremicHighVL + ) { + scope.isViremicHighVL = true; + } // add other methods to build the scope objects return scope; } @@ -169,8 +173,11 @@ function conditionalDCVisits(patient) { const latestEncounter = getLatestEncounter(patientEncounters); const expectedEncounterToBeDrugPickup = '987009c6-6f24-43f7-9640-c285d6553c63'; - // return true if the latest encounter is a drug pickup - return latestEncounter.encounterType.uuid === expectedEncounterToBeDrugPickup; + if (latestEncounter) { + return ( + latestEncounter.encounterType.uuid === expectedEncounterToBeDrugPickup + ); + } } function buildPatientScopeMembers(scope, patient) { diff --git a/service/prep/prep-monthly-report.service.js b/service/prep/prep-monthly-report.service.js new file mode 100644 index 000000000..585333473 --- /dev/null +++ b/service/prep/prep-monthly-report.service.js @@ -0,0 +1,121 @@ +const _ = require('lodash'); + +import { MultiDatasetPatientlistReport } from '../../app/reporting-framework/multi-dataset-patientlist.report.js'; +import ReportProcessorHelpersService from '../../app/reporting-framework/report-processor-helpers.service'; + +const etlHelpers = require('../../etl-helpers.js'); +const prepMonthlyReportSections = require('../../app/reporting-framework/json-reports/prep-monthly/prep-monthly-sections-indicators.json'); + +export class PrepMonthlyReportService extends MultiDatasetPatientlistReport { + constructor(reportName, params) { + if (params.isAggregated) { + params.excludeParam = ['location_id']; + params.joinColumnParam = 'join_location'; + } + + super(reportName, params); + } + getAggregateReport(reportParams) { + const that = this; + return new Promise((resolve, reject) => { + super + .generateReport(reportParams) + .then((results) => { + if (reportParams && reportParams.type === 'patient-list') { + resolve(results); + } else { + let finalResult = []; + const reportProcessorHelpersService = new ReportProcessorHelpersService(); + for (let result of results) { + if ( + result.report && + result.report.reportSchemas && + result.report.reportSchemas.main && + result.report.reportSchemas.main.transFormDirectives.joinColumn + ) { + finalResult = reportProcessorHelpersService.joinDataSets( + that.params[ + result.report.reportSchemas.main.transFormDirectives + .joinColumnParam + ] || + result.report.reportSchemas.main.transFormDirectives + .joinColumn, + finalResult, + result?.results?.results?.results + ); + } + } + resolve({ + queriesAndSchemas: results, + result: finalResult, + sectionDefinitions: prepMonthlyReportSections, + indicatorDefinitions: [] + }); + } + }) + .catch((error) => { + console.error('prep monthly report generation error: ', error); + reject(error); + }); + }); + } + + generatePatientList(indicators) { + let self = this; + return new Promise((resolve, reject) => { + super + .generatePatientListReport(indicators) + .then((results) => { + let indicatorLabels = self.getIndicatorSectionDefinitions( + results.indicators, + prepMonthlyReportSections + ); + + results.indicators = indicatorLabels; + + if (results.result.length > 0) { + _.each(results.result, (item) => { + item.cur_prep_meds_names = etlHelpers.getARVNames( + item.cur_prep_meds_names + ); + }); + } + + self + .resolveLocationUuidsToName(self.params.locationUuids) + .then((locations) => { + results.locations = locations; + resolve(results); + }) + .catch((err) => { + resolve(results); + }); + }) + .catch((err) => { + reject(results); + }); + }); + } + + getIndicatorSectionDefinitions(requestIndicators, sectionDefinitions) { + let results = []; + _.each(requestIndicators, function (requestIndicator) { + _.each(sectionDefinitions, function (sectionDefinition) { + _.each(sectionDefinition.indicators, function (indicator) { + if (indicator.indicator === requestIndicator) { + results.push(indicator); + } + }); + }); + }); + return results; + } + + resolveLocationUuidsToName(uuids) { + return new Promise((resolve, reject) => { + dao.resolveLocationUuidsToName(uuids.split(','), (loc) => { + resolve(loc); + }); + }); + } +}