From d618d911d8ec66c3bb527cc29a9df049efb21dc3 Mon Sep 17 00:00:00 2001 From: Drizzentic Date: Fri, 29 Sep 2023 10:12:01 +0300 Subject: [PATCH 1/7] POC-535 (#1329) --- dao/patient/etl-patient-hiv-summary-dao.js | 21 +++++++++++++++++- programs/patient-data-resolver.service.js | 25 ++++++++++++++++++++-- programs/patient-program-config.json | 15 +++++++------ programs/scope-builder.service.js | 11 ++++++++-- 4 files changed, 60 insertions(+), 12 deletions(-) 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 bf5bfaa3f..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; @@ -155,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; } From 918352a8399d767828f5cea55d73d2bed4ae09ee Mon Sep 17 00:00:00 2001 From: Alfred Mutai <124869802+Alfred-Mutai@users.noreply.github.com> Date: Mon, 2 Oct 2023 09:49:09 +0300 Subject: [PATCH 2/7] MOH count fix (#1331) --- app/reporting-framework/hiv/moh-731.report.js | 2 +- .../json-reports/clinical-reminder-report.json | 2 +- app/reporting-framework/json-reports/patient-list-template.json | 2 +- .../json-reports/patient-list-with-contacts-template.json | 2 +- app/reporting-framework/json-reports/surge-report-base.json | 2 +- .../json-reports/tb-preventive-dataset-base.json | 2 +- dao/patient/etl-patient-dao.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/reporting-framework/hiv/moh-731.report.js b/app/reporting-framework/hiv/moh-731.report.js index 135f8b5b5..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.test_datetime = max_dates.max_vl_1_date)'; + '(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 9a6dd239b..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.test_datetime = max_dates.max_vl_1_date)", + "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-template.json b/app/reporting-framework/json-reports/patient-list-template.json index d7356dcc8..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.test_datetime = max_dates.max_vl_1_date)", + "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 7bfd4e81b..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.test_datetime = max_dates.max_vl_1_date)", + "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/surge-report-base.json b/app/reporting-framework/json-reports/surge-report-base.json index 50993a1e9..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.test_datetime = max_dates.max_vl_1_date)", + "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 e960e0a15..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.test_datetime = max_dates.max_vl_1_date)", + "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/dao/patient/etl-patient-dao.js b/dao/patient/etl-patient-dao.js index 63c677804..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.test_datetime = max_dates.max_vl_1_date)', + '(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' ] From 0cd7be6c97788a476f7e3228e4726b86ea6f6869 Mon Sep 17 00:00:00 2001 From: Saningo Lekalantula Date: Thu, 5 Oct 2023 10:31:03 +0300 Subject: [PATCH 3/7] POC-522 (#1328) * Add query to generate line list with no intervention done on the defaulters list report * Update line list query * POC-522: Add column outreach follow-up to defaulter list * Remove unwanted columns --------- Co-authored-by: kantush Co-authored-by: Drizzentic --- .../json-reports/defaulter-list-base.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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": { From 3c1d21ac274e094aba2bdc60fd02c8c9da9c1bd0 Mon Sep 17 00:00:00 2001 From: Kipchumba Bett Date: Thu, 5 Oct 2023 12:45:34 +0300 Subject: [PATCH 4/7] [prep]: Initial prep monthly report (#1263) * (feat): Add new comprehensive prep monthly report * adding event driven indicators (#1332) * adding event driven indicators * Update build-json-schema.js * Update build-json-schema.js --------- Co-authored-by: Drizzentic --------- Co-authored-by: sharleenawinja <105132006+sharleenawinja@users.noreply.github.com> Co-authored-by: Drizzentic --- .prettierrc | 6 + app/reporting-framework/base-mysql.report.js | 275 + .../any-other-reason-aggregate.json | 1111 + .../discontinued/any-other-reason-base.json | 1775 ++ .../discontinued/died-aggregate.json | 1111 + .../discontinued/died-base.json | 1775 ++ .../discontinued-prep-aggregate.json | 1116 + .../discontinued/discontinued-prep-base.json | 1780 ++ .../low-risk-for-hiv-aggregate.json | 1111 + .../discontinued/low-risk-for-hiv-base.json | 1775 ++ .../missed-drug-pickups-aggregate.json | 1111 + .../missed-drug-pickups-base.json | 1775 ++ .../discontinued/non-adherence-aggregate.json | 1111 + .../discontinued/non-adherence-base.json | 1775 ++ .../partner-refusal-aggregate.json | 1111 + .../discontinued/partner-refusal-base.json | 1775 ++ .../partner-violence-aggregate.json | 1111 + .../discontinued/partner-violence-base.json | 1775 ++ .../prep-side-effects-aggregate.json | 1111 + .../discontinued/prep-side-effects-base.json | 1775 ++ .../tested-positive-aggregate.json | 1111 + .../discontinued/tested-positive-base.json | 1775 ++ .../too-many-hiv-tests-aggregate.json | 1111 + .../discontinued/too-many-hiv-tests-base.json | 1775 ++ .../discontinued/transfer-outs-aggregate.json | 1111 + .../discontinued/transfer-outs-base.json | 1775 ++ ...ion-of-hiv-positive-partner-aggregate.json | 186 + ...pression-of-hiv-positive-partner-base.json | 295 + .../eligible-for-prep-aggregate.json | 3181 ++ .../eligibility/eligible-for-prep-base.json | 5084 ++++ .../prep-event-driven-aggregate.json | 186 + .../event-driven/prep-event-driven-base.json | 295 + .../new/new-for-prep-aggregate.json | 1116 + .../new/new-for-prep-base.json | 1780 ++ .../reasons_for_initiation/gbv-aggregate.json | 1111 + .../reasons_for_initiation/gbv-base.json | 1775 ++ ...consistent-or-no-condom-use-aggregate.json | 1111 + .../inconsistent-or-no-condom-use-base.json | 1775 ++ .../other-reasons-aggregate.json | 1111 + .../other-reasons-base.json | 1775 ++ ...prep-reasons-for-initiation-aggregate.json | 2501 ++ .../prep-reasons-for-initiation-base.json | 3999 +++ .../recent-sti-aggregate.json | 1111 + .../recent-sti-base.json | 1775 ++ .../recurrent-use-of-pep-aggregate.json | 1111 + .../recurrent-use-of-pep-base.json | 1775 ++ .../shared-needles-aggregate.json | 186 + .../shared-needles-base.json | 295 + .../transactional-sex-aggregate.json | 1111 + .../transactional-sex-base.json | 1775 ++ .../restarting/restarting-prep-aggregate.json | 1116 + .../restarting/restarting-prep-base.json | 1780 ++ .../disaggregations/template-aggregate.json | 71 + .../disaggregations/template-base.json | 111 + .../while-on-prep-aggregate.json | 2161 ++ .../while-on-prep/while-on-prep-base.json | 3449 +++ .../prep-monthly-patient-list-cols.json | 27 + .../prep-monthly-sections-indicators.json | 24168 ++++++++++++++++ .../prep-monthly/prep-report.json | 30 + app/routes/prep-monthly-report.route.js | 111 + build-json-schema.js | 255 + service/prep/prep-monthly-report.service.js | 121 + 62 files changed, 104743 insertions(+) create mode 100644 .prettierrc create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/any-other-reason-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/any-other-reason-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/died-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/died-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/discontinued-prep-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/low-risk-for-hiv-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/low-risk-for-hiv-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/missed-drug-pickups-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/missed-drug-pickups-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/non-adherence-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/non-adherence-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-refusal-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-refusal-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-violence-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/partner-violence-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/prep-side-effects-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/prep-side-effects-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/tested-positive-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/tested-positive-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/too-many-hiv-tests-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/too-many-hiv-tests-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/transfer-outs-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/transfer-outs-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/viral-suppression-of-hiv-positive-partner-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/discontinued/viral-suppression-of-hiv-positive-partner-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/eligibility/eligible-for-prep-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/event-driven/prep-event-driven-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/event-driven/prep-event-driven-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/gbv-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/inconsistent-or-no-condom-use-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/other-reasons-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/prep-reasons-for-initiation-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recent-sti-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/recurrent-use-of-pep-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/shared-needles-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/shared-needles-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/reasons_for_initiation/transactional-sex-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/restarting/restarting-prep-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/restarting/restarting-prep-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/template-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/template-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-aggregate.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/disaggregations/while-on-prep/while-on-prep-base.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/prep-monthly-patient-list-cols.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/prep-monthly-sections-indicators.json create mode 100644 app/reporting-framework/json-reports/prep-monthly/prep-report.json create mode 100644 app/routes/prep-monthly-report.route.js create mode 100644 build-json-schema.js create mode 100644 service/prep/prep-monthly-report.service.js 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 09c931429..005bf2c4e 100755 --- a/app/reporting-framework/base-mysql.report.js +++ b/app/reporting-framework/base-mysql.report.js @@ -232,6 +232,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'; @@ -1327,6 +1407,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/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/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/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); + }); + }); + } +} From d59c5969087a156d38ba105435b3dd83e92c1d51 Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Thu, 5 Oct 2023 17:36:47 +0300 Subject: [PATCH 5/7] Poc 352 (#1325) * POC-352 * POC:352 recommended PR Changes * Update app/reporting-framework/multi-dataset-patientlist.report.js Co-authored-by: Drizzentic --------- Co-authored-by: Drizzentic --- app/reporting-framework/base-mysql.report.js | 69 +++++- .../RRI/hei-infant-rri-testing-aggregate.json | 122 ++++++++++ .../RRI/hei-infant-rri-testing-base.json | 168 +++++++++++++ .../RRI/pmtct-rri-cal-hiv-aggregate.json | 84 +++++++ .../RRI/pmtct-rri-calhiv-dataset-base.json | 191 +++++++++++++++ .../RRI/pmtct-rri-dataset-base.json | 214 +++++++++++++++++ .../json-reports/RRI/pmtct-rri-framework.json | 92 ++++++++ .../RRI/pmtct-rri-pbfw-aggregate.json | 84 +++++++ .../RRI/pmtct-rri-pbfw-dataset-base.json | 218 +++++++++++++++++ .../RRI/pmtct-rri-wra-aggregate.json | 84 +++++++ .../RRI/pmtct-rri-wra-dataset-base.json | 222 ++++++++++++++++++ .../json-reports/RRI/pmtct-rri.json | 8 + .../RRI/pmtct_rri_patient_list_template.json | 116 +++++++++ .../multi-dataset-patientlist.report.js | 1 - app/routes/pmtct-rri-report.route.js | 142 +++++++++++ service/rri/pmtct-rri-service.js | 125 ++++++++++ service/rri/pmtct_rri_reporting.service.js | 24 ++ 17 files changed, 1959 insertions(+), 5 deletions(-) create mode 100644 app/reporting-framework/json-reports/RRI/hei-infant-rri-testing-aggregate.json create mode 100644 app/reporting-framework/json-reports/RRI/hei-infant-rri-testing-base.json create mode 100644 app/reporting-framework/json-reports/RRI/pmtct-rri-cal-hiv-aggregate.json create mode 100644 app/reporting-framework/json-reports/RRI/pmtct-rri-calhiv-dataset-base.json create mode 100644 app/reporting-framework/json-reports/RRI/pmtct-rri-dataset-base.json create mode 100644 app/reporting-framework/json-reports/RRI/pmtct-rri-framework.json create mode 100644 app/reporting-framework/json-reports/RRI/pmtct-rri-pbfw-aggregate.json create mode 100644 app/reporting-framework/json-reports/RRI/pmtct-rri-pbfw-dataset-base.json create mode 100644 app/reporting-framework/json-reports/RRI/pmtct-rri-wra-aggregate.json create mode 100644 app/reporting-framework/json-reports/RRI/pmtct-rri-wra-dataset-base.json create mode 100644 app/reporting-framework/json-reports/RRI/pmtct-rri.json create mode 100644 app/reporting-framework/json-reports/RRI/pmtct_rri_patient_list_template.json create mode 100644 app/routes/pmtct-rri-report.route.js create mode 100644 service/rri/pmtct-rri-service.js create mode 100644 service/rri/pmtct_rri_reporting.service.js diff --git a/app/reporting-framework/base-mysql.report.js b/app/reporting-framework/base-mysql.report.js index 005bf2c4e..6961f2216 100755 --- a/app/reporting-framework/base-mysql.report.js +++ b/app/reporting-framework/base-mysql.report.js @@ -38,6 +38,19 @@ import * as starting_art_aggregation_age15 from './json-reports/starting-art-agg import * as starting_art_base_age15 from './json-reports/starting-art-base-age15.json'; import * as starting_art_disaggregation_age15 from './json-reports/starting-art-disaggregation-age15.json'; +//PMTC RRI +// import * as pmtc_rri_dataset_base from './json-reports/rri/pmtct-rri-dataset-base.json'; +import * as pmtct_rri from './json-reports/rri/pmtct-rri.json'; +import * as pmtct_rri_cal_hiv_aggregate from './json-reports/rri/pmtct-rri-cal-hiv-aggregate.json'; +import * as pmtct_rri_pbfw_aggregate from './json-reports/rri/pmtct-rri-pbfw-aggregate.json'; +import * as pmtct_rri_wra_aggregate from './json-reports/rri/pmtct-rri-wra-aggregate.json'; +import * as pmtct_rri_hei_aggregate from './json-reports/rri/hei-infant-rri-testing-aggregate.json'; +import * as pmtc_rri_hei_dataset_base from './json-reports/rri/hei-infant-rri-testing-base.json'; +import * as pmtc_rri_calhiv_dataset_base from './json-reports/rri/pmtct-rri-calhiv-dataset-base.json'; +import * as pmtc_rri__pbfw_dataset_base from './json-reports/rri/pmtct-rri-pbfw-dataset-base.json'; +import * as pmtct_rri_patient_list_template from './json-reports/rri/pmtct_rri_patient_list_template.json'; +import * as pmtc_rri_wra_dataset_base from './json-reports/rri/pmtct-rri-wra-dataset-base.json'; + import * as starting_art_aggregation_age_green from './json-reports/starting-art-aggregation-age-green.json'; import * as starting_art_base_age_green from './json-reports/starting-art-base-age-green.json'; import * as starting_art_disaggregation_age_green from './json-reports/starting-art-disaggregation-age-green.json'; @@ -142,6 +155,7 @@ import * as prep_dataset_report from './json-reports/prep-dataset-report.json'; import * as ltfu_surge_baseline_report from './json-reports/ltfus-surge-baseline-base.json'; import * as ltfu_surge_baseline_aggregate_report from './json-reports/ltfus-surge-baseline-aggregate.json'; import * as prep_report_patient_list_template from './json-reports/prep-report-patient-list-template.json'; +import * as pmtct_rri_report_patient_list_template from './json-reports/rri/pmtct_rri_patient_list_template.json'; import * as hiv_latest_clinical_encounter_date_base from './json-reports/hiv-latest-clinical-encounter-date-base.json'; import * as prep_monthly_summary from './json-reports/prep-monthly-summary.json'; @@ -396,7 +410,7 @@ export class BaseMysqlReport { that.reportQuery = sqlQuery; // run query - // console.log('Query', sqlQuery); + console.log('Query', sqlQuery); that .executeReportQuery(that.reportQuery) .then((result) => { @@ -468,6 +482,11 @@ export class BaseMysqlReport { main: this.cloneJsonSchema(prep_report_patient_list_template) }); break; + case 'pmtct-rri-report-patient-list-template': + resolve({ + main: this.cloneJsonSchema(pmtct_rri_report_patient_list_template) + }); + break; case 'mainDatasetAggregate': resolve({ main: this.cloneJsonSchema(main_dataset_aggregate), @@ -850,6 +869,51 @@ export class BaseMysqlReport { main: this.cloneJsonSchema(cdm_dataset_base) }); break; + // PMTCT-RRI + case 'pmtct_rri_aggregate_summary': + resolve({ + main: this.cloneJsonSchema(pmtct_rri) + }); + break; + case 'pmtctrripatientlisttemplate': + resolve({ + main: this.cloneJsonSchema(pmtct_rri_patient_list_template) + }); + break; + case 'pmtctRriCalhivAggregate': + resolve({ + main: this.cloneJsonSchema(pmtct_rri_cal_hiv_aggregate), + pmtctRriCalhivDataSetBase: this.cloneJsonSchema( + pmtc_rri_calhiv_dataset_base + ) + }); + break; + + case 'pmtctRriPbfwAggregate': + resolve({ + main: this.cloneJsonSchema(pmtct_rri_pbfw_aggregate), + pmtctRriPbfwDataSetBase: this.cloneJsonSchema( + pmtc_rri__pbfw_dataset_base + ) + }); + break; + + case 'pmtctRriWraAggregate': + resolve({ + main: this.cloneJsonSchema(pmtct_rri_wra_aggregate), + pmtctRriWraDataSetBase: this.cloneJsonSchema( + pmtc_rri_wra_dataset_base + ) + }); + break; + case 'pmtctRriHeiAggregate': + resolve({ + main: this.cloneJsonSchema(pmtct_rri_hei_aggregate), + heiInfantRriTestingBase: this.cloneJsonSchema( + pmtc_rri_hei_dataset_base + ) + }); + break; case 'clinicalReminderReport': resolve({ main: this.cloneJsonSchema(clinical_reminders_report), @@ -1739,8 +1803,6 @@ export class BaseMysqlReport { } generateReportQuery(reportSchemas, params) { - // console.log('Passed params', params) - // console.log('report schemas', JSON.stringify(reportSchemas, null, 4)); let jSql = this.getJson2Sql(reportSchemas, params); return new Promise((resolve, reject) => { try { @@ -1757,7 +1819,6 @@ export class BaseMysqlReport { } executeReportQuery(sqlQuery) { - // console.log('Executing Query', sqlQuery); let runner = this.getSqlRunner(); return new Promise((resolve, reject) => { runner diff --git a/app/reporting-framework/json-reports/RRI/hei-infant-rri-testing-aggregate.json b/app/reporting-framework/json-reports/RRI/hei-infant-rri-testing-aggregate.json new file mode 100644 index 000000000..f9c929f94 --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/hei-infant-rri-testing-aggregate.json @@ -0,0 +1,122 @@ +{ + "name": "heiInfantRriTestingAggregate", + "version": "1.0", + "tag": "", + "description": "", + "uses": [ + { + "name": "heiInfantRriTestingBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "heiInfantRriTestingBase", + "alias": "hmds" + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "reporting_month", + "column": "hmds.reporting_month" + }, + { + "type": "simple_column", + "alias": "location", + "column": "hmds.location" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "hmds.location_id" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "hmds.location_uuid" + }, + { + "type": "derived_column", + "alias": "initial_pcr_less_than_8_wks", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "COUNT(hmds.initial_pcr_less_than_8_wks)" + } + }, + { + "type": "derived_column", + "alias": "initial_pcr_8_wks_to_12_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "COUNT(hmds.initial_pcr_8_wks_to_12_months)" + } + }, + { + "type": "derived_column", + "alias": "initial_pcr_less_than_12_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "COUNT(hmds.initial_pcr_less_than_12_months)" + } + }, + { + "type": "derived_column", + "alias": "second_pcr_6_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "COUNT(hmds.second_pcr_6_months)" + } + }, + { + "type": "derived_column", + "alias": "third_pcr_12_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "COUNT(hmds.third_pcr_12_months)" + } + }, + { + "type": "derived_column", + "alias": "antibody_at_18_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "COUNT(hmds.antibody_at_18_months)" + } + }, + { + "type": "derived_column", + "alias": "antibody_post_18_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "COUNT(hmds.antibody_post_18_months)" + } + } + ], + "groupBy": { + "groupParam": "groupByParam", + "columns": ["hmds.reporting_month", "hmds.location_id"], + "excludeParam": "excludeParam" + }, + "transFormDirectives": { + "joinColumn": "location_id", + "skipColumns": [], + "disaggregationColumns": [] + }, + "dynamicJsonQueryGenerationDirectives": { + "patientListGenerator": { + "useTemplate": "hei-report-patient-list-template", + "useTemplateVersion": "1.0", + "generatingDirectives": { + "joinDirectives": { + "joinType": "INNER", + "joinCondition": "<> = <>", + "baseColumn": "person_id", + "templateColumn": "person_id" + } + }, + "skipParams": [] + } + } +} diff --git a/app/reporting-framework/json-reports/RRI/hei-infant-rri-testing-base.json b/app/reporting-framework/json-reports/RRI/hei-infant-rri-testing-base.json new file mode 100644 index 000000000..8351baff2 --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/hei-infant-rri-testing-base.json @@ -0,0 +1,168 @@ +{ + "name": "heiInfantRriTestingBase", + "version": "1.0", + "tag": "hei_infant_rri_testing_base", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.pmtct_rri_dataset", + "alias": "prd" + }, + { + "table": "etl.hei_monthly_report_dataset", + "alias": "hmd", + "join": { + "type": "inner", + "joinCondition": "prd.person_id = hmd.person_id" + } + }, + { + "table": "amrs.location", + "alias": "l", + "join": { + "type": "inner", + "joinCondition": "hmd.location_id = l.location_id" + } + }, + { + "table": "etl.flat_hei_summary", + "alias": "fhs", + "join": { + "type": "LEFT", + "joinCondition": "hmd.person_id = fhs.person_id AND fhs.next_clinical_datetime_hiv IS NULL" + } + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "person_id", + "column": "hmd.person_id" + }, + { + "type": "simple_column", + "alias": "age", + "column": "prd.age" + }, + { + "type": "simple_column", + "alias": "location", + "column": "hmd.clinic" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "l.uuid" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "hmd.location_id" + }, + { + "type": "simple_column", + "alias": "reporting_month", + "column": "DATE_FORMAT(hmd.endDate,'%Y-%m')" + }, + { + "type": "simple_column", + "alias": "month", + "column": "DATE_FORMAT(hmd.endDate,'%Y-%m')" + }, + { + "type": "derived_column", + "alias": "initial_pcr_less_than_8_wks", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "IF(hmd.initial_pcr_this_month is null AND hmd.age_in_months < 2 ,NULL,1)" + } + }, + { + "type": "derived_column", + "alias": "initial_pcr_8_wks_to_12_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "IF(hmd.initial_pcr_this_month is null AND hmd.age_in_months between 2 and 12,NULL,1)" + } + }, + { + "type": "derived_column", + "alias": "initial_pcr_less_than_12_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "IF(hmd.initial_pcr_this_month is null AND hmd.age_in_months < 12,NULL,1)" + } + }, + { + "type": "derived_column", + "alias": "second_pcr_6_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "IF(hmd.second_pcr_this_month is null AND hmd.age_in_months = 6,NULL,1)" + } + }, + { + "type": "derived_column", + "alias": "third_pcr_12_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "IF(hmd.third_pcr_this_month is null AND hmd.age_in_months = 12,NULL,1)" + } + }, + { + "type": "derived_column", + "alias": "antibody_at_18_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "IF(hmd.initial_antibody_screening_this_month is null AND hmd.age_in_months = 18,NULL,1)" + } + }, + { + "type": "derived_column", + "alias": "antibody_post_18_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "IF(hmd.initial_antibody_screening_this_month is null AND hmd.age_in_months > 18,NULL,1)" + } + } + ], + "filters": { + "conditionJoinOperator": "and", + "conditions": [ + { + "filterType": "tableColumns", + "conditionExpression": "prd.encounter_datetime >= ?", + "parameterName": "startDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "prd.encounter_datetime <= ?", + "parameterName": "endDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "prd.encounter_type in (115)" + }, + { + "filterType": "tableColumns", + "conditionExpression": "hmd.endDate=?", + "parameterName": "endDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "prd.age <=20" + }, + { + "filterType": "tableColumns", + "conditionExpression": "hmd.location_id in (?)", + "parameterName": "locations" + } + ] + }, + "groupBy": { + "groupParam": "groupByParam", + "columns": ["prd.person_id"], + "excludeParam": "excludeParam" + } +} diff --git a/app/reporting-framework/json-reports/RRI/pmtct-rri-cal-hiv-aggregate.json b/app/reporting-framework/json-reports/RRI/pmtct-rri-cal-hiv-aggregate.json new file mode 100644 index 000000000..0610e66c3 --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/pmtct-rri-cal-hiv-aggregate.json @@ -0,0 +1,84 @@ +{ + "name": "pmtctRriCalhivAggregate", + "version": "1.0", + "tag": "pmtct_rri_cal_hiv_aggregate", + "uses": [ + { + "name": "pmtctRriCalhivDataSetBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "pmtctRriCalhivDataSetBase", + "alias": "prd_base" + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "Reporting_Month", + "column": "prd_base.reporting_month" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "prd_base.location_id" + }, + { + "type": "simple_column", + "alias": "location_Name", + "column": "prd_base.location" + }, + { + "type": "derived_column", + "alias": "all_calhiv", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "COUNT(prd_base.person_id)" + } + }, + { + "type": "derived_column", + "alias": "calhiv_vl_done_past_6_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "SUM(prd_base.calhiv_vl_done_past_6_months)" + } + }, + { + "type": "derived_column", + "alias": "calhiv_virally_unsuppressed", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "SUM(prd_base.calhiv_virally_unsuppressed)" + } + } + ], + "groupBy": { + "groupParam": "groupByParam", + "columns": ["prd_base.location_id", "prd_base.reporting_month"], + "excludeParam": "excludeParam" + }, + "transFormDirectives": { + "joinColumn": "location_id", + "joinColumnParam": "", + "skipColumns": [""], + "disaggregationColumns": [] + }, + "dynamicJsonQueryGenerationDirectives": { + "patientListGenerator": { + "useTemplate": "pmtct-rri-report-patient-list-template", + "useTemplateVersion": "1.0", + "generatingDirectives": { + "joinDirectives": { + "joinType": "INNER", + "joinCondition": "<> = <>", + "baseColumn": "person_id", + "templateColumn": "person_id" + } + } + } + } +} diff --git a/app/reporting-framework/json-reports/RRI/pmtct-rri-calhiv-dataset-base.json b/app/reporting-framework/json-reports/RRI/pmtct-rri-calhiv-dataset-base.json new file mode 100644 index 000000000..c5b5deb60 --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/pmtct-rri-calhiv-dataset-base.json @@ -0,0 +1,191 @@ +{ + "name": "pmtctRriCalhivDataSetBase", + "version": "1.0", + "tag": "pmtct_rri_calhiv_dataset_base", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.pmtct_rri_dataset", + "alias": "prd" + }, + { + "table": "etl.dates", + "alias": "dts", + "join": { + "type": "INNER", + "joinCondition": "prd.encounter_datetime <= dts.endDate and coalesce(prd.death_date, out_of_care) is null" + } + }, + { + "table": "etl.hiv_monthly_report_dataset_v1_2", + "alias": "fhs", + "join": { + "type": "inner", + "joinCondition": "prd.person_id = fhs.person_id" + } + }, + { + "table": "amrs.location", + "alias": "l", + "join": { + "type": "INNER", + "joinCondition": "prd.location_id = l.location_id" + } + }, + { + "table": "amrs.person", + "alias": "p", + "join": { + "type": "INNER", + "joinCondition": "p.person_id = prd.person_id" + } + } + ], + "columns": [ + { + "type": "derived_column", + "alias": "calhiv_vl_done_past_6_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": " CASE WHEN prd.cur_arv_meds IS NOT NULL AND (prd.latest_vl_test_date IS NULL OR TIMESTAMPDIFF(MONTH, prd.latest_vl_test_date, prd.encounter_datetime) >= 6) THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "calhiv_virally_unsuppressed", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN TIMESTAMPDIFF(MONTH, DATE(prd.latest_vl_test_date), DATE(dts.endDate)) <= 6 AND prd.latest_viral_load >= 200 THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "age_range", + "expressionType": "case_statement", + "expressionOptions": { + "caseOptions": [ + { + "condition": "extract(year from (from_days(datediff(now(),p.birthdate)))) >= 15", + "value": "15_and_above" + }, + { + "condition": "else", + "value": "below_15" + } + ] + } + }, + { + "type": "derived_column", + "alias": "encounter_month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "MONTH(prd.encounter_datetime)" + } + }, + { + "type": "derived_column", + "alias": "reporting_month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "date_format(prd.encounter_datetime, '%m/%Y')" + } + }, + { + "type": "derived_column", + "alias": "encounter_year", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "YEAR(prd.encounter_datetime)" + } + }, + { + "type": "simple_column", + "alias": "location", + "column": "l.name" + }, + { + "type": "simple_column", + "alias": "regimen", + "column": "prd.cur_arv_meds" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "l.uuid" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "prd.location_id" + }, + { + "type": "simple_column", + "alias": "encounter_datetime", + "column": "prd.encounter_datetime" + }, + { + "type": "simple_column", + "alias": "month", + "column": "prd.encounter_datetime" + }, + { + "type": "simple_column", + "alias": "person_id", + "column": "p.person_id" + }, + { + "type": "simple_column", + "alias": "gender", + "column": "p.gender" + }, + { + "type": "simple_column", + "alias": "age", + "column": "prd.age" + } + ], + "filters": { + "conditionJoinOperator": "and", + "conditions": [ + { + "filterType": "tableColumns", + "conditionExpression": "prd.age BETWEEN 0 AND 20" + }, + { + "filterType": "tableColumns", + "conditionExpression": "prd.encounter_datetime >= ?", + "parameterName": "startDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "prd.encounter_datetime <= ?", + "parameterName": "endDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "fhs.endDate=?", + "parameterName": "endDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "l.uuid in (?)", + "parameterName": "locationUuids" + }, + { + "filterType": "tableColumns", + "conditionExpression": "round(datediff(prd.encounter_datetime,p.birthdate)/365) >= 0" + }, + { + "filterType": "tableColumns", + "conditionExpression": "round(datediff(prd.encounter_datetime,p.birthdate)/365) <= 120" + } + ] + }, + "groupBy": { + "groupParam": "groupByParam", + "columns": ["prd.person_id"], + "excludeParam": "excludeParam" + } +} diff --git a/app/reporting-framework/json-reports/RRI/pmtct-rri-dataset-base.json b/app/reporting-framework/json-reports/RRI/pmtct-rri-dataset-base.json new file mode 100644 index 000000000..13de87955 --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/pmtct-rri-dataset-base.json @@ -0,0 +1,214 @@ +{ + "name": "pmtctRriDataSetBase", + "version": "1.0", + "tag": "pmtct_rri_dataset_base", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.pmtct_rri_dataset", + "alias": "prd" + }, + { + "table": "etl.dates", + "alias": "dts", + "join": { + "type": "INNER", + "joinCondition": "prd.encounter_datetime <= dts.endDate and coalesce(prd.death_date, out_of_care) is null" + } + }, + { + "table": "etl.hiv_monthly_report_dataset_v1_2", + "alias": "fhs", + "join": { + "type": "inner", + "joinCondition": "prd.person_id = fhs.person_id" + } + }, + { + "table": "amrs.location", + "alias": "l", + "join": { + "type": "INNER", + "joinCondition": "prd.location_id = l.location_id" + } + }, + { + "table": "amrs.person", + "alias": "p", + "join": { + "type": "INNER", + "joinCondition": "p.person_id = prd.person_id" + } + } + ], + "columns": [ + { + "type": "derived_column", + "alias": "vl_done_past_6_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": " CASE WHEN prd.cur_arv_meds IS NOT NULL AND (prd.latest_vl_test_date IS NULL OR TIMESTAMPDIFF(MONTH, prd.latest_vl_test_date, prd.encounter_datetime) >= 6) THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "pregnant", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN prd.is_pregnant = 1 THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "breastfeeding", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": " CASE WHEN prd.is_mother_breastfeeding = 1 THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "pregnant_and_on_arvs", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN prd.is_pregnant = 1 AND prd.cur_arv_meds IS NOT NULL THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "breastfeeding_and_on_arvs", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN prd.is_mother_breastfeeding = 1 AND prd.cur_arv_meds IS NOT NULL THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "virally_unsuppressed", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN TIMESTAMPDIFF(MONTH, DATE(prd.latest_vl_test_date), DATE(dts.endDate)) <= 6 AND prd.latest_viral_load >= 200 THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "age_range", + "expressionType": "case_statement", + "expressionOptions": { + "caseOptions": [ + { + "condition": "extract(year from (from_days(datediff(now(),p.birthdate)))) >= 15", + "value": "15_and_above" + }, + { + "condition": "else", + "value": "below_15" + } + ] + } + }, + { + "type": "derived_column", + "alias": "encounter_month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "MONTH(prd.encounter_datetime)" + } + }, + { + "type": "derived_column", + "alias": "reporting_month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "date_format(prd.encounter_datetime, '%m/%Y')" + } + }, + { + "type": "derived_column", + "alias": "encounter_year", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "YEAR(prd.encounter_datetime)" + } + }, + { + "type": "simple_column", + "alias": "location", + "column": "l.name" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "l.uuid" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "prd.location_id" + }, + { + "type": "simple_column", + "alias": "encounter_datetime", + "column": "prd.encounter_datetime" + }, + { + "type": "simple_column", + "alias": "month", + "column": "prd.encounter_datetime" + }, + { + "type": "simple_column", + "alias": "person_id", + "column": "p.person_id" + }, + { + "type": "simple_column", + "alias": "gender", + "column": "p.gender" + }, + { + "type": "simple_column", + "alias": "age", + "column": "prd.age" + } + ], + "filters": { + "conditionJoinOperator": "and", + "conditions": [ + { + "filterType": "tableColumns", + "conditionExpression": "prd.encounter_datetime >= ?", + "parameterName": "startDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "prd.encounter_datetime <= ?", + "parameterName": "endDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "fhs.endDate=?", + "parameterName": "endDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "l.uuid in (?)", + "parameterName": "locationUuids" + }, + { + "filterType": "tableColumns", + "conditionExpression": "round(datediff(prd.encounter_datetime,p.birthdate)/365) >= 0" + }, + { + "filterType": "tableColumns", + "conditionExpression": "round(datediff(prd.encounter_datetime,p.birthdate)/365) <= 120" + } + ] + }, + "groupBy": { + "groupParam": "groupByParam", + "columns": ["prd.person_id"], + "excludeParam": "excludeParam" + } +} diff --git a/app/reporting-framework/json-reports/RRI/pmtct-rri-framework.json b/app/reporting-framework/json-reports/RRI/pmtct-rri-framework.json new file mode 100644 index 000000000..72987825b --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/pmtct-rri-framework.json @@ -0,0 +1,92 @@ +[ + { + "sectionTitle": "HEI Infant Missed PCR Testing", + "indicators": [ + { + "label": "Initial PCR < 8wks", + "ref": "HV02-44", + "indicator": "initial_pcr_less_than_8_wks" + }, + { + "label": "Initial PCR >= 8wks-12mnths", + "ref": "HV02-45", + "indicator": "initial_pcr_8_wks_to_12_months" + }, + { + "label": "Initial PCR < 12 mnths_Total", + "ref": "HV02-46", + "indicator": "initial_pcr_less_than_12_months" + }, + { + "label": "Second PCR at 6 months", + "ref": "", + "indicator": "second_pcr_6_months" + }, + { + "label": "Third PCR at 12 months", + "ref": "", + "indicator": "third_pcr_12_months" + } + ] + }, + { + "sectionTitle": "CALHIV Missed Viral Load Test", + "indicators": [ + { + "label": "Total CALHIV", + "ref": "", + "indicator": "all_calhiv" + }, + { + "label": "CALHIV Without Valid VL", + "ref": "", + "indicator": "calhiv_vl_done_past_6_months" + }, + { + "label": "CALHIV With Unsuppressed VL", + "ref": "", + "indicator": "calhiv_virally_unsuppressed" + }, + { + "label": "CALHIV Without DTG Based Regimen", + "ref": "", + "indicator": "regimen" + } + ] + }, + { + "sectionTitle": "PBFW Missed Viral Load Test", + "indicators": [ + { + "label": "Total Positive PBFW", + "ref": "", + "indicator": "all_pbfw" + }, + { + "label": "PBFW Without Valid VL", + "ref": "", + "indicator": "pbfw_vl_done_past_6_months" + }, + { + "label": "PBFW With Unsuppressed VL", + "ref": "", + "indicator": "pbfw_virally_unsuppressed" + } + ] + }, + { + "sectionTitle": "WRA Missed Viral Load Test", + "indicators": [ + { + "label": "Total WRA", + "ref": "", + "indicator": "all_wra" + }, + { + "label": "WRA Without contact", + "ref": "", + "indicator": "wra_vl_done_past_6_months" + } + ] + } +] diff --git a/app/reporting-framework/json-reports/RRI/pmtct-rri-pbfw-aggregate.json b/app/reporting-framework/json-reports/RRI/pmtct-rri-pbfw-aggregate.json new file mode 100644 index 000000000..57c7b2153 --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/pmtct-rri-pbfw-aggregate.json @@ -0,0 +1,84 @@ +{ + "name": "pmtctRriPbfwAggregate", + "version": "1.0", + "tag": "pmtct_rri_pbfw_aggregate", + "uses": [ + { + "name": "pmtctRriPbfwDataSetBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "pmtctRriPbfwDataSetBase", + "alias": "prd_base" + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "Reporting_Month", + "column": "reporting_month" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "location_id" + }, + { + "type": "simple_column", + "alias": "location_Name", + "column": "location" + }, + { + "type": "derived_column", + "alias": "all_pbfw", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "COUNT(prd_base.person_id)" + } + }, + { + "type": "derived_column", + "alias": "pbfw_vl_done_past_6_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "SUM(prd_base.pbfw_vl_done_past_6_months)" + } + }, + { + "type": "derived_column", + "alias": "pbfw_virally_unsuppressed", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "SUM(prd_base.pbfw_virally_unsuppressed)" + } + } + ], + "groupBy": { + "groupParam": "groupByParam", + "columns": ["prd_base.location_id", "prd_base.reporting_month"], + "excludeParam": "excludeParam" + }, + "transFormDirectives": { + "joinColumn": "location_id", + "joinColumnParam": "", + "skipColumns": [""], + "disaggregationColumns": [] + }, + "dynamicJsonQueryGenerationDirectives": { + "patientListGenerator": { + "useTemplate": "pmtct-rri-report-patient-list-template", + "useTemplateVersion": "1.0", + "generatingDirectives": { + "joinDirectives": { + "joinType": "INNER", + "joinCondition": "<> = <>", + "baseColumn": "person_id", + "templateColumn": "person_id" + } + } + } + } +} diff --git a/app/reporting-framework/json-reports/RRI/pmtct-rri-pbfw-dataset-base.json b/app/reporting-framework/json-reports/RRI/pmtct-rri-pbfw-dataset-base.json new file mode 100644 index 000000000..34d56663c --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/pmtct-rri-pbfw-dataset-base.json @@ -0,0 +1,218 @@ +{ + "name": "pmtctRriPbfwDataSetBase", + "version": "1.0", + "tag": "pmtct_rri_pbfw_dataset_base", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.pmtct_rri_dataset", + "alias": "prd" + }, + { + "table": "etl.dates", + "alias": "dts", + "join": { + "type": "INNER", + "joinCondition": "prd.encounter_datetime <= dts.endDate and coalesce(prd.death_date, out_of_care) is null" + } + }, + { + "table": "etl.hiv_monthly_report_dataset_v1_2", + "alias": "fhs", + "join": { + "type": "inner", + "joinCondition": "prd.person_id = fhs.person_id" + } + }, + { + "table": "amrs.location", + "alias": "l", + "join": { + "type": "INNER", + "joinCondition": "prd.location_id = l.location_id" + } + }, + { + "table": "amrs.person", + "alias": "p", + "join": { + "type": "INNER", + "joinCondition": "p.person_id = prd.person_id" + } + } + ], + "columns": [ + { + "type": "derived_column", + "alias": "pbfw_vl_done_past_6_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": " CASE WHEN prd.cur_arv_meds IS NOT NULL AND (prd.latest_vl_test_date IS NULL OR TIMESTAMPDIFF(MONTH, prd.latest_vl_test_date, prd.encounter_datetime) >= 6) THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "pregnant", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN prd.is_pregnant = 1 THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "breastfeeding", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": " CASE WHEN prd.is_mother_breastfeeding = 1 THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "pregnant_and_on_arvs", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN prd.is_pregnant = 1 AND prd.cur_arv_meds IS NOT NULL THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "breastfeeding_and_on_arvs", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN prd.is_mother_breastfeeding = 1 AND prd.cur_arv_meds IS NOT NULL THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "pbfw_virally_unsuppressed", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN TIMESTAMPDIFF(MONTH, DATE(prd.latest_vl_test_date), DATE(dts.endDate)) <= 6 AND prd.latest_viral_load >= 200 THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "age_range", + "expressionType": "case_statement", + "expressionOptions": { + "caseOptions": [ + { + "condition": "extract(year from (from_days(datediff(now(),p.birthdate)))) >= 15", + "value": "15_and_above" + }, + { + "condition": "else", + "value": "below_15" + } + ] + } + }, + { + "type": "derived_column", + "alias": "encounter_month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "MONTH(prd.encounter_datetime)" + } + }, + { + "type": "derived_column", + "alias": "reporting_month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "date_format(prd.encounter_datetime, '%m/%Y')" + } + }, + { + "type": "derived_column", + "alias": "encounter_year", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "YEAR(prd.encounter_datetime)" + } + }, + { + "type": "simple_column", + "alias": "location", + "column": "l.name" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "l.uuid" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "prd.location_id" + }, + { + "type": "simple_column", + "alias": "encounter_datetime", + "column": "prd.encounter_datetime" + }, + { + "type": "simple_column", + "alias": "month", + "column": "prd.encounter_datetime" + }, + { + "type": "simple_column", + "alias": "person_id", + "column": "p.person_id" + }, + { + "type": "simple_column", + "alias": "gender", + "column": "p.gender" + }, + { + "type": "simple_column", + "alias": "age", + "column": "prd.age" + } + ], + "filters": { + "conditionJoinOperator": "and", + "conditions": [ + { + "filterType": "tableColumns", + "conditionExpression": "prd.is_pregnant = 1 OR prd.is_mother_breastfeeding = 1" + }, + { + "filterType": "tableColumns", + "conditionExpression": "prd.encounter_datetime >= ?", + "parameterName": "startDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "prd.encounter_datetime <= ?", + "parameterName": "endDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "fhs.endDate=?", + "parameterName": "endDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "l.uuid in (?)", + "parameterName": "locationUuids" + }, + { + "filterType": "tableColumns", + "conditionExpression": "round(datediff(prd.encounter_datetime,p.birthdate)/365) >= 0" + }, + { + "filterType": "tableColumns", + "conditionExpression": "round(datediff(prd.encounter_datetime,p.birthdate)/365) <= 120" + } + ] + }, + "groupBy": { + "groupParam": "groupByParam", + "columns": ["prd.person_id"], + "excludeParam": "excludeParam" + } +} diff --git a/app/reporting-framework/json-reports/RRI/pmtct-rri-wra-aggregate.json b/app/reporting-framework/json-reports/RRI/pmtct-rri-wra-aggregate.json new file mode 100644 index 000000000..9d4677246 --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/pmtct-rri-wra-aggregate.json @@ -0,0 +1,84 @@ +{ + "name": "pmtctRriWraAggregate", + "version": "1.0", + "tag": "pmtct_rri_wra_aggregate", + "uses": [ + { + "name": "pmtctRriWraDataSetBase", + "version": "1.0", + "type": "dataset_def" + } + ], + "sources": [ + { + "dataSet": "pmtctRriWraDataSetBase", + "alias": "prd_base" + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "Reporting_Month", + "column": "reporting_month" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "location_id" + }, + { + "type": "simple_column", + "alias": "location_Name", + "column": "location" + }, + { + "type": "derived_column", + "alias": "all_wra", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "COUNT(prd_base.person_id)" + } + }, + { + "type": "derived_column", + "alias": "wra_vl_done_past_6_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "SUM(prd_base.wra_vl_done_past_6_months)" + } + }, + { + "type": "derived_column", + "alias": "wra_virally_unsuppressed", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "SUM(prd_base.wra_virally_unsuppressed)" + } + } + ], + "groupBy": { + "groupParam": "groupByParam", + "columns": ["prd_base.location_id", "prd_base.reporting_month"], + "excludeParam": "excludeParam" + }, + "transFormDirectives": { + "joinColumn": "location_id", + "joinColumnParam": "", + "skipColumns": [""], + "disaggregationColumns": [] + }, + "dynamicJsonQueryGenerationDirectives": { + "patientListGenerator": { + "useTemplate": "pmtct-rri-report-patient-list-template", + "useTemplateVersion": "1.0", + "generatingDirectives": { + "joinDirectives": { + "joinType": "INNER", + "joinCondition": "<> = <>", + "baseColumn": "person_id", + "templateColumn": "person_id" + } + } + } + } +} diff --git a/app/reporting-framework/json-reports/RRI/pmtct-rri-wra-dataset-base.json b/app/reporting-framework/json-reports/RRI/pmtct-rri-wra-dataset-base.json new file mode 100644 index 000000000..0f7b5c498 --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/pmtct-rri-wra-dataset-base.json @@ -0,0 +1,222 @@ +{ + "name": "pmtctRriWraDataSetBase", + "version": "1.0", + "tag": "pmtct_rri_wra_dataset_base", + "description": "", + "uses": [], + "sources": [ + { + "table": "etl.pmtct_rri_dataset", + "alias": "prd" + }, + { + "table": "etl.dates", + "alias": "dts", + "join": { + "type": "INNER", + "joinCondition": "prd.encounter_datetime <= dts.endDate and coalesce(prd.death_date, out_of_care) is null" + } + }, + { + "table": "etl.hiv_monthly_report_dataset_v1_2", + "alias": "fhs", + "join": { + "type": "inner", + "joinCondition": "prd.person_id = fhs.person_id" + } + }, + { + "table": "amrs.location", + "alias": "l", + "join": { + "type": "INNER", + "joinCondition": "prd.location_id = l.location_id" + } + }, + { + "table": "amrs.person", + "alias": "p", + "join": { + "type": "INNER", + "joinCondition": "p.person_id = prd.person_id" + } + } + ], + "columns": [ + { + "type": "derived_column", + "alias": "wra_vl_done_past_6_months", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": " CASE WHEN prd.cur_arv_meds IS NOT NULL AND (prd.latest_vl_test_date IS NULL OR TIMESTAMPDIFF(MONTH, prd.latest_vl_test_date, prd.encounter_datetime) >= 6) THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "pregnant", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN prd.is_pregnant = 1 THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "breastfeeding", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": " CASE WHEN prd.is_mother_breastfeeding = 1 THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "pregnant_and_on_arvs", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN prd.is_pregnant = 1 AND prd.cur_arv_meds IS NOT NULL THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "breastfeeding_and_on_arvs", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN prd.is_mother_breastfeeding = 1 AND prd.cur_arv_meds IS NOT NULL THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "wra_virally_unsuppressed", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "CASE WHEN TIMESTAMPDIFF(MONTH, DATE(prd.latest_vl_test_date), DATE(dts.endDate)) <= 6 AND prd.latest_viral_load >= 200 THEN 1 ELSE NULL END" + } + }, + { + "type": "derived_column", + "alias": "age_range", + "expressionType": "case_statement", + "expressionOptions": { + "caseOptions": [ + { + "condition": "extract(year from (from_days(datediff(now(),p.birthdate)))) >= 15", + "value": "15_and_above" + }, + { + "condition": "else", + "value": "below_15" + } + ] + } + }, + { + "type": "derived_column", + "alias": "encounter_month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "MONTH(prd.encounter_datetime)" + } + }, + { + "type": "derived_column", + "alias": "reporting_month", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "date_format(prd.encounter_datetime, '%m/%Y')" + } + }, + { + "type": "derived_column", + "alias": "encounter_year", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "YEAR(prd.encounter_datetime)" + } + }, + { + "type": "simple_column", + "alias": "location", + "column": "l.name" + }, + { + "type": "simple_column", + "alias": "location_uuid", + "column": "l.uuid" + }, + { + "type": "simple_column", + "alias": "location_id", + "column": "prd.location_id" + }, + { + "type": "simple_column", + "alias": "encounter_datetime", + "column": "prd.encounter_datetime" + }, + { + "type": "simple_column", + "alias": "month", + "column": "prd.encounter_datetime" + }, + { + "type": "simple_column", + "alias": "person_id", + "column": "p.person_id" + }, + { + "type": "simple_column", + "alias": "gender", + "column": "p.gender" + }, + { + "type": "simple_column", + "alias": "age", + "column": "prd.age" + } + ], + "filters": { + "conditionJoinOperator": "and", + "conditions": [ + { + "filterType": "tableColumns", + "conditionExpression": "prd.age BETWEEN 15 AND 49" + }, + { + "filterType": "tableColumns", + "conditionExpression": "prd.gender IN ('F')" + }, + { + "filterType": "tableColumns", + "conditionExpression": "prd.encounter_datetime >= ?", + "parameterName": "startDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "prd.encounter_datetime <= ?", + "parameterName": "endDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "fhs.endDate=?", + "parameterName": "endDate" + }, + { + "filterType": "tableColumns", + "conditionExpression": "l.uuid in (?)", + "parameterName": "locationUuids" + }, + { + "filterType": "tableColumns", + "conditionExpression": "round(datediff(prd.encounter_datetime,p.birthdate)/365) >= 0" + }, + { + "filterType": "tableColumns", + "conditionExpression": "round(datediff(prd.encounter_datetime,p.birthdate)/365) <= 120" + } + ] + }, + "groupBy": { + "groupParam": "groupByParam", + "columns": ["prd.person_id"], + "excludeParam": "excludeParam" + } +} diff --git a/app/reporting-framework/json-reports/RRI/pmtct-rri.json b/app/reporting-framework/json-reports/RRI/pmtct-rri.json new file mode 100644 index 000000000..0f42d4592 --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/pmtct-rri.json @@ -0,0 +1,8 @@ +{ + "reports": [ + "pmtctRriHeiAggregate", + "pmtctRriCalhivAggregate", + "pmtctRriPbfwAggregate", + "pmtctRriWraAggregate" + ] +} diff --git a/app/reporting-framework/json-reports/RRI/pmtct_rri_patient_list_template.json b/app/reporting-framework/json-reports/RRI/pmtct_rri_patient_list_template.json new file mode 100644 index 000000000..aa4c95288 --- /dev/null +++ b/app/reporting-framework/json-reports/RRI/pmtct_rri_patient_list_template.json @@ -0,0 +1,116 @@ +{ + "name": "pmtct-rri-report-patient-list-template", + "version": "1.0", + "tag": "pmtct-rri-report-patient-list-template", + "description": "PMTCT patient list template", + "sources": [ + { + "table": "amrs.person", + "alias": "t1" + }, + { + "table": "amrs.person_name", + "alias": "person_name", + "join": { + "type": "LEFT", + "joinCondition": "t1.person_id = person_name.person_id AND (person_name.voided IS NULL || person_name.voided = 0) AND person_name.preferred = 1" + } + }, + { + "table": "amrs.patient_identifier", + "alias": "id", + "join": { + "type": "LEFT", + "joinCondition": "t1.person_id = id.patient_id AND (id.voided IS NULL || id.voided = 0)" + } + }, + { + "table": "etl.flat_patient_identifiers_v1", + "alias": "flat_identifiers", + "join": { + "type": "LEFT", + "joinCondition": "t1.person_id = flat_identifiers.patient_id" + } + }, + { + "table": "amrs.person_address", + "alias": "pa", + "join": { + "type": "LEFT", + "joinCondition": "t1.person_id = pa.person_id" + } + } + ], + "columns": [ + { + "type": "simple_column", + "alias": "patient_uuid", + "column": "t1.uuid" + }, + { + "type": "simple_column", + "alias": "ccc_number", + "column": "flat_identifiers.ccc" + }, + { + "type": "simple_column", + "alias": "ovcid_id", + "column": "flat_identifiers.ovcid" + }, + { + "type": "simple_column", + "alias": "upi_number", + "column": "flat_identifiers.nupi" + }, + { + "type": "derived_column", + "alias": "uuid", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "t1.uuid" + } + }, + { + "type": "simple_column", + "alias": "person_id", + "column": "t1.person_id" + }, + { + "type": "simple_column", + "alias": "gender", + "column": "t1.gender" + }, + { + "type": "simple_column", + "alias": "birthdate", + "column": "t1.birthdate" + }, + { + "type": "derived_column", + "alias": "age", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": "extract(year from (from_days(datediff(now(),t1.birthdate))))" + } + }, + { + "type": "derived_column", + "alias": "person_name", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": " CONCAT(COALESCE(person_name.given_name, ''), ' ', COALESCE(person_name.middle_name, ''), ' ', COALESCE(person_name.family_name, ''))" + } + }, + { + "type": "derived_column", + "alias": "identifiers", + "expressionType": "simple_expression", + "expressionOptions": { + "expression": " GROUP_CONCAT(DISTINCT id.identifier SEPARATOR ', ')" + } + } + ], + "groupBy": { + "columns": ["t1.person_id"] + } +} diff --git a/app/reporting-framework/multi-dataset-patientlist.report.js b/app/reporting-framework/multi-dataset-patientlist.report.js index 01c8e29ea..d06f5e13c 100755 --- a/app/reporting-framework/multi-dataset-patientlist.report.js +++ b/app/reporting-framework/multi-dataset-patientlist.report.js @@ -60,7 +60,6 @@ export class MultiDatasetPatientlistReport extends MultiDatasetReport { type: 'patient-list', indicators: indicators }; - let that = this; return new Promise((resolve, reject) => { this.generateReport(additionalParams) diff --git a/app/routes/pmtct-rri-report.route.js b/app/routes/pmtct-rri-report.route.js new file mode 100644 index 000000000..f4d7c23dd --- /dev/null +++ b/app/routes/pmtct-rri-report.route.js @@ -0,0 +1,142 @@ +var authorizer = require('../../authorization/etl-authorizer'); +import { PMTCTRRIReportingService } from '../../service/rri/pmtct_rri_reporting.service.js'; +import { PmtctRriSummaryService } from '../../service/rri/pmtct-rri-service.js'; +var etlHelpers = require('../../etl-helpers'); +var privileges = authorizer.getAllPrivileges(); +var preRequest = require('../../pre-request-processing'); +const routes = [ + { + method: 'GET', + + path: '/etl/pmtct_rri_summary', + 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( + 'pmtct_rri_aggregate_summary', + ['startDate', 'endDate', 'locationUuids'], + requestParams + ); + + let service = new PmtctRriSummaryService( + 'pmtct_rri_aggregate_summary', + reportParams.requestParams + ); + service + .generateReport() + .then((result) => { + reply(result); + }) + .catch((error) => { + console.error('Error: ', error); + reply(error); + }); + }); + }, + description: 'PMTCT, HEI, CALHIV and WRA RRI reports', + notes: 'PMTCT, HEI, CALHIV and WRA RRI reports', + tags: ['api'], + validate: { + options: { + allowUnknown: true + }, + params: {} + } + } + }, + { + method: 'GET', + path: '/etl/pmtct_rri_summary/patient-list', + config: { + plugins: { + hapiAuthorization: { + role: privileges.canViewClinicDashBoard + } + }, + handler: function (request, reply) { + if (request.query.locationUuids) { + preRequest.resolveLocationIdsToLocationUuids(request, function () { + let requestParams = Object.assign( + {}, + request.query, + request.params + ); + let reportParams = etlHelpers.getReportParams( + 'pmtct_rri_aggregate_summary', + ['endDate', 'locationUuids'], + requestParams + ); + delete reportParams.requestParams['gender']; + const pmtctrriService = new PmtctRriSummaryService( + 'pmtct_rri_aggregate_summary', + reportParams.requestParams + ); + pmtctrriService + .generatePatientListReport(reportParams.requestParams) + .then((result) => { + reply(result); + }) + .catch((error) => { + reply(error); + }); + }); + } + }, + description: + 'Get patient list for txnew summary report of the location and month provided', + notes: 'Returns patient list of txnew summary indicators', + tags: ['api'] + } + }, + + { + method: 'GET', + + path: '/etl/pmtct_rri_aggregate', + 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( + 'pmtct_rri_summary', + ['startDate', 'endDate', 'locationUuids'], + requestParams + ); + let service = new PMTCTRRIReportingService( + 'pmtctRriSummary', + reportParams.requestParams + ); + service + .getPmtctRriSummaryReport(reportParams.requestParams) + .then((result) => { + reply(result); + }) + .catch((error) => { + reply(error); + }); + }); + }, + description: 'PMTCT, HEI, CALHIV and WRA RRI reports', + notes: 'PMTCT, HEI, CALHIV and WRA RRI reports', + tags: ['api'], + validate: { + options: { + allowUnknown: true + }, + params: {} + } + } + } +]; +exports.routes = (server) => server.route(routes); diff --git a/service/rri/pmtct-rri-service.js b/service/rri/pmtct-rri-service.js new file mode 100644 index 000000000..d8d4bba1d --- /dev/null +++ b/service/rri/pmtct-rri-service.js @@ -0,0 +1,125 @@ +import ReportProcessorHelpersService from '../../app/reporting-framework/report-processor-helpers.service.js'; +import { MultiDatasetPatientlistReport } from '../../app/reporting-framework/multi-dataset-patientlist.report.js'; + +const _ = require('lodash'); +const Moment = require('moment'); + +const pmtctrriReportSections = require('../../app/reporting-framework/json-reports/rri/pmtct-rri-framework.json'); +const pmtctrriReportPatientListCols = require('../../app/reporting-framework/json-reports/rri/pmtct_rri_patient_list_template.json'); + +const etlHelpers = require('../../etl-helpers.js'); + +export class PmtctRriSummaryService extends MultiDatasetPatientlistReport { + constructor(reportName, params) { + super(reportName, params); + params.hivMonthlyDatasetSource = 'etl.hiv_monthly_report_dataset_frozen'; + } + + generateReport(additionalParams) { + const that = this; + return new Promise((resolve, reject) => { + that + .getSourceTables() + .then((sourceTables) => { + that.params.hivMonthlyDatasetSource = + sourceTables.hivMonthlyDatasetSource; + super.generateReport(additionalParams).then((results) => { + if (additionalParams && additionalParams.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: pmtctrriReportSections, + indicatorDefinitions: [] + }); + } + }); + }) + .catch((error) => { + reject(error); + }); + }); + } + getSourceTables() { + const self = this; + return new Promise((resolve, reject) => { + let query = 'select * from etl.moh_731_last_release_month'; + let runner = self.getSqlRunner(); + + runner + .executeQuery(query) + .then((results) => { + const lastReleasedMonth = results[0]['last_released_month']; + let sourceTables = { + hivMonthlyDatasetSource: this.determineSourceTable( + self.params.endingMonth, + lastReleasedMonth + ) + }; + + resolve(sourceTables); + }) + .catch((error) => { + reject(error); + }); + }); + } + determineSourceTable(month, lastReleasedMonth) { + // set default source table to frozen table + let sourceTable = 'etl.hiv_monthly_report_dataset_frozen'; + if (Moment(lastReleasedMonth).isSameOrAfter(Moment(month))) { + sourceTable = 'etl.hiv_monthly_report_dataset_frozen'; + } else { + sourceTable = 'etl.hiv_monthly_report_dataset_v1_2'; + } + return sourceTable; + } + + generatePatientListReport(reportParams) { + const indicators = reportParams.requestIndicators.split(',') || []; + let self = this; + return new Promise((resolve, reject) => { + super + .generatePatientListReport(indicators) + .then((results) => { + let result = results.result; + results['results'] = { + results: result + }; + results['patientListCols'] = pmtctrriReportPatientListCols; + delete results['result']; + _.each(results.results.results, (row) => { + row.cur_meds = etlHelpers.getARVNames(row.cur_meds); + }); + resolve(results); + }) + .catch((err) => { + reject(err); + }); + }); + } +} diff --git a/service/rri/pmtct_rri_reporting.service.js b/service/rri/pmtct_rri_reporting.service.js new file mode 100644 index 000000000..66493a43f --- /dev/null +++ b/service/rri/pmtct_rri_reporting.service.js @@ -0,0 +1,24 @@ +const Promise = require('bluebird'); +const Moment = require('moment'); +const _ = require('lodash'); +var processors = require('../../etl-processors.js'); +import { BaseMysqlReport } from '../../app/reporting-framework/base-mysql.report'; +export class PMTCTRRIReportingService { + getPmtctRriSummaryReport(reportParams) { + let self = this; + return new Promise(function (resolve, reject) { + let report = new BaseMysqlReport('pmtctRriSummary', reportParams); + console.log(report); + Promise.join(report.generateReport(), (results) => { + let result = results.results.results; + results.size = result ? result.length : 0; + results.result = result; + delete results['results']; + resolve(results); + // TODO Do some post processing + }).catch((errors) => { + reject(errors); + }); + }); + } +} From 5a7fee855d9723ff5b2d8ff4fd16bd97ca989ac4 Mon Sep 17 00:00:00 2001 From: Drizzentic Date: Fri, 6 Oct 2023 12:19:16 +0300 Subject: [PATCH 6/7] remove covid restriction (#1334) --- programs/patient-program-config.json | 366 +++++---------------------- 1 file changed, 63 insertions(+), 303 deletions(-) diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index b5f1f8a49..903b1679b 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -75,11 +75,7 @@ }, { "uuid": "8d5b27bc-c2cc-11de-8d13-0010c6dffd0f", - "display": "ADULTINITIAL", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "ADULTINITIAL" }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", @@ -140,11 +136,7 @@ }, { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", - "display": "ADULTRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "ADULTRETURN" }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", @@ -205,27 +197,15 @@ }, { "uuid": "5ef97eed-18f5-40f6-9fbf-a11b1f06484a", - "display": "LABORDERENCOUNTER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "LABORDERENCOUNTER" }, { "uuid": "5544894d-8add-4521-a0ea-c124c5886c8b", - "display": "POCLAB", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "POCLAB" }, { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", - "display": "ADULTRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "ADULTRETURN" }, { "uuid": "238625fc-8a25-44b2-aa5a-8bf48fa0e18d", @@ -290,11 +270,7 @@ }, { "uuid": "8d5b2dde-c2cc-11de-8d13-0010c6dffd0f", - "display": "PEDSINITIAL", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "PEDSINITIAL" }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", @@ -345,11 +321,7 @@ }, { "uuid": "8d5b3108-c2cc-11de-8d13-0010c6dffd0f", - "display": "PEDSRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "PEDSRETURN" }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", @@ -405,11 +377,7 @@ }, { "uuid": "8d5b3108-c2cc-11de-8d13-0010c6dffd0f", - "display": "PEDSRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "PEDSRETURN" }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", @@ -469,11 +437,7 @@ }, { "uuid": "fc8c1694-90fc-46a8-962b-73ce9a99a78f", - "display": "YOUTHINITIAL", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "YOUTHINITIAL" }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", @@ -529,11 +493,7 @@ }, { "uuid": "4e7553b4-373d-452f-bc89-3f4ad9a01ce7", - "display": "YOUTHRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "YOUTHRETURN" }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", @@ -589,11 +549,7 @@ }, { "uuid": "4e7553b4-373d-452f-bc89-3f4ad9a01ce7", - "display": "YOUTHRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "YOUTHRETURN" }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", @@ -674,11 +630,7 @@ }, { "uuid": "987009c6-6f24-43f7-9640-c285d6553c63", - "display": "DRUGPICKUP", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "DRUGPICKUP" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -749,19 +701,11 @@ "encounterTypes": [ { "uuid": "5ef97eed-18f5-40f6-9fbf-a11b1f06484a", - "display": "LABORDERENCOUNTER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "LABORDERENCOUNTER" }, { "uuid": "5544894d-8add-4521-a0ea-c124c5886c8b", - "display": "POCLAB", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "POCLAB" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -779,11 +723,7 @@ "encounterTypes": [ { "uuid": "10a86a62-b771-44d1-b1ad-3b8496c7bc47", - "display": "INPATIENTPEER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "INPATIENTPEER" }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", @@ -1370,19 +1310,11 @@ }, { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", - "display": "ADULTRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "ADULTRETURN" }, { "uuid": "8e942fd1-135d-42bd-9701-04560f180ec5", - "display": "MOH257BLUECARD", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "MOH257BLUECARD" }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", @@ -1451,19 +1383,11 @@ }, { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", - "display": "ADULTRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "ADULTRETURN" }, { "uuid": "8e942fd1-135d-42bd-9701-04560f180ec5", - "display": "MOH257BLUECARD", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "MOH257BLUECARD" }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", @@ -1528,11 +1452,7 @@ "encounterTypes": [ { "uuid": "8d5b27bc-c2cc-11de-8d13-0010c6dffd0f", - "display": "ADULTINITIAL", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "ADULTINITIAL" }, { "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", @@ -1593,11 +1513,7 @@ "encounterTypes": [ { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", - "display": "ADULTRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "ADULTRETURN" }, { "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", @@ -1605,11 +1521,7 @@ }, { "uuid": "8e942fd1-135d-42bd-9701-04560f180ec5", - "display": "MOH257BLUECARD", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "MOH257BLUECARD" }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", @@ -1670,11 +1582,7 @@ "encounterTypes": [ { "uuid": "8d5b27bc-c2cc-11de-8d13-0010c6dffd0f", - "display": "ADULTINITIAL", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "ADULTINITIAL" }, { "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", @@ -1682,11 +1590,7 @@ }, { "uuid": "8d5b2dde-c2cc-11de-8d13-0010c6dffd0f", - "display": "PEDSINITIAL", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "PEDSINITIAL" }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", @@ -1747,11 +1651,7 @@ "encounterTypes": [ { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", - "display": "ADULTRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "ADULTRETURN" }, { "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", @@ -1759,11 +1659,7 @@ }, { "uuid": "8e942fd1-135d-42bd-9701-04560f180ec5", - "display": "MOH257BLUECARD", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "MOH257BLUECARD" }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", @@ -1820,11 +1716,7 @@ "encounterTypes": [ { "uuid": "8d5b2dde-c2cc-11de-8d13-0010c6dffd0f", - "display": "PEDSINITIAL", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "PEDSINITIAL" }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", @@ -1893,19 +1785,11 @@ }, { "uuid": "693559d3-4e44-4d33-83f9-bc70ca56fe34", - "display": "TXSUPPORTERMEDREFILL", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "TXSUPPORTERMEDREFILL" }, { "uuid": "987009c6-6f24-43f7-9640-c285d6553c63", - "display": "DRUGPICKUP", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "DRUGPICKUP" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -1961,11 +1845,7 @@ "encounterTypes": [ { "uuid": "10a86a62-b771-44d1-b1ad-3b8496c7bc47", - "display": "INPATIENTPEER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "INPATIENTPEER" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -1983,19 +1863,11 @@ "encounterTypes": [ { "uuid": "5ef97eed-18f5-40f6-9fbf-a11b1f06484a", - "display": "LABORDERENCOUNTER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "LABORDERENCOUNTER" }, { "uuid": "5544894d-8add-4521-a0ea-c124c5886c8b", - "display": "POCLAB", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "POCLAB" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -2273,11 +2145,7 @@ "encounterTypes": [ { "uuid": "c3a78744-f94a-4a25-ac9d-1c48df887895", - "display": "PEPINITIAL", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "PEPINITIAL" }, { "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", @@ -2313,11 +2181,7 @@ "encounterTypes": [ { "uuid": "f091b833-9e1a-4eef-8364-fc289095a832", - "display": "PEPRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "PEPRETURN" }, { "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", @@ -2351,19 +2215,11 @@ "encounterTypes": [ { "uuid": "5ef97eed-18f5-40f6-9fbf-a11b1f06484a", - "display": "LABORDERENCOUNTER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "LABORDERENCOUNTER" }, { "uuid": "5544894d-8add-4521-a0ea-c124c5886c8b", - "display": "POCLAB", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "POCLAB" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -2381,11 +2237,7 @@ "encounterTypes": [ { "uuid": "10a86a62-b771-44d1-b1ad-3b8496c7bc47", - "display": "INPATIENTPEER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "INPATIENTPEER" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -2721,27 +2573,15 @@ }, { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", - "display": "ADULTRETURN", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "ADULTRETURN" }, { "uuid": "b690e24a-6dc7-40a8-8cbd-0924dd507dca", - "display": "YOUTHTHIRDLINE", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "YOUTHTHIRDLINE" }, { "uuid": "fed9ffa5-da88-484a-8259-bee7daa6d6f2", - "display": "PEDSTHIRDLINE", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "PEDSTHIRDLINE" }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", @@ -2796,19 +2636,11 @@ "encounterTypes": [ { "uuid": "5ef97eed-18f5-40f6-9fbf-a11b1f06484a", - "display": "LABORDERENCOUNTER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "LABORDERENCOUNTER" }, { "uuid": "5544894d-8add-4521-a0ea-c124c5886c8b", - "display": "POCLAB", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "POCLAB" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -2826,11 +2658,7 @@ "encounterTypes": [ { "uuid": "10a86a62-b771-44d1-b1ad-3b8496c7bc47", - "display": "INPATIENTPEER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "INPATIENTPEER" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -3018,11 +2846,7 @@ "encounterTypes": [ { "uuid": "987009c6-6f24-43f7-9640-c285d6553c63", - "display": "DRUGPICKUP", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "DRUGPICKUP" }, { "uuid": "238625fc-8a25-44b2-aa5a-8bf48fa0e18d", @@ -3031,11 +2855,7 @@ }, { "uuid": "5ef97eed-18f5-40f6-9fbf-a11b1f06484a", - "display": "LABORDERENCOUNTER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "LABORDERENCOUNTER" }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", @@ -3043,11 +2863,7 @@ }, { "uuid": "5544894d-8add-4521-a0ea-c124c5886c8b", - "display": "POCLAB", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "POCLAB" }, { "uuid": "cb5c0abd-0817-40e3-9413-8669561fadb9", @@ -3095,26 +2911,18 @@ { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", "display": "ADULTRETURN", - "allowedIf": "screenedForCovidToday && age > 24", + "allowedIf": " age > 24", "errors": { "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" } }, { "uuid": "5544894d-8add-4521-a0ea-c124c5886c8b", - "display": "POCLAB", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "POCLAB" }, { "uuid": "5ef97eed-18f5-40f6-9fbf-a11b1f06484a", - "display": "LABORDERENCOUNTER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "LABORDERENCOUNTER" }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", @@ -3130,7 +2938,7 @@ }, { "uuid": "4e7553b4-373d-452f-bc89-3f4ad9a01ce7", - "allowedIf": "age >= 10 && age <= 24 && screenedForCovidToday", + "allowedIf": "age >= 10 && age <= 24", "display": "YOUTHRETURN" }, { @@ -3206,11 +3014,7 @@ }, { "uuid": "987009c6-6f24-43f7-9640-c285d6553c63", - "display": "DRUGPICKUP", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "DRUGPICKUP" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -3286,11 +3090,7 @@ }, { "uuid": "987009c6-6f24-43f7-9640-c285d6553c63", - "display": "DRUGPICKUP", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "DRUGPICKUP" }, { "uuid": "cb5c0abd-0817-40e3-9413-8669561fadb9", @@ -3320,19 +3120,11 @@ "encounterTypes": [ { "uuid": "5ef97eed-18f5-40f6-9fbf-a11b1f06484a", - "display": "LABORDERENCOUNTER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "LABORDERENCOUNTER" }, { "uuid": "5544894d-8add-4521-a0ea-c124c5886c8b", - "display": "POCLAB", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "POCLAB" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -3442,11 +3234,7 @@ }, { "uuid": "95f5847a-8952-4a3a-8610-caee271d351a", - "display": "TRANSITMEDICATION", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "TRANSITMEDICATION" }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", @@ -3463,11 +3251,7 @@ }, { "uuid": "987009c6-6f24-43f7-9640-c285d6553c63", - "display": "DRUGPICKUP", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "DRUGPICKUP" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -3485,19 +3269,11 @@ "encounterTypes": [ { "uuid": "5ef97eed-18f5-40f6-9fbf-a11b1f06484a", - "display": "LABORDERENCOUNTER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "LABORDERENCOUNTER" }, { "uuid": "5544894d-8add-4521-a0ea-c124c5886c8b", - "display": "POCLAB", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "POCLAB" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -3515,11 +3291,7 @@ "encounterTypes": [ { "uuid": "10a86a62-b771-44d1-b1ad-3b8496c7bc47", - "display": "INPATIENTPEER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "INPATIENTPEER" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -4672,7 +4444,7 @@ }, { "uuid": "c4efb6ba-e286-4933-8854-cd3af8e1ebef", - "allowedIf": "screenedForCovidToday && age >= 10 && age <= 24", + "allowedIf": " age >= 10 && age <= 24", "display": "YOUTHCOUNSELING" }, { @@ -4714,11 +4486,7 @@ }, { "uuid": "987009c6-6f24-43f7-9640-c285d6553c63", - "display": "DRUGPICKUP", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "DRUGPICKUP" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", @@ -4767,19 +4535,11 @@ "encounterTypes": [ { "uuid": "5ef97eed-18f5-40f6-9fbf-a11b1f06484a", - "display": "LABORDERENCOUNTER", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "LABORDERENCOUNTER" }, { "uuid": "5544894d-8add-4521-a0ea-c124c5886c8b", - "display": "POCLAB", - "allowedIf": "screenedForCovidToday", - "errors": { - "covidError": "To access clinical forms kindly fill Covid 19 Assessment Form" - } + "display": "POCLAB" }, { "uuid": "466d6707-8429-4e61-b5a0-d63444f5ad35", From 1ca79710cce8e997301ed49f59f32c3284d24a8b Mon Sep 17 00:00:00 2001 From: sharleenawinja <105132006+sharleenawinja@users.noreply.github.com> Date: Fri, 6 Oct 2023 12:34:32 +0300 Subject: [PATCH 7/7] POC-548: Display the new Triage and Adherence forms under the clinical Visit (#1333) Co-authored-by: Drizzentic --- programs/patient-program-config.json | 52 ++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index 903b1679b..888de8993 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -73,6 +73,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "8d5b27bc-c2cc-11de-8d13-0010c6dffd0f", "display": "ADULTINITIAL" @@ -191,6 +195,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", "display": "TRANSFERENCOUNTER" @@ -264,6 +272,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", "display": "TRANSFERENCOUNTER" @@ -371,6 +383,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", "display": "TRANSFERENCOUNTER" @@ -431,6 +447,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", "display": "TRANSFERENCOUNTER" @@ -543,6 +563,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", "display": "TRANSFERENCOUNTER" @@ -1458,6 +1482,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", "display": "TRANSFERENCOUNTER" @@ -1519,6 +1547,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "8e942fd1-135d-42bd-9701-04560f180ec5", "display": "MOH257BLUECARD" @@ -1588,6 +1620,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "8d5b2dde-c2cc-11de-8d13-0010c6dffd0f", "display": "PEDSINITIAL" @@ -1657,6 +1693,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "8e942fd1-135d-42bd-9701-04560f180ec5", "display": "MOH257BLUECARD" @@ -2627,6 +2667,10 @@ { "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", "display": "MENTALHEALTHSCREENING" + }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" } ] }, @@ -2932,6 +2976,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "df55584c-1350-11df-a1f1-0026b9348838", "display": "DEATHREPORT" @@ -4373,6 +4421,10 @@ "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", "display": "HIVTRIAGE" }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ADHERENCE" + }, { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", "display": "ADULTRETURN",