From 91731a3a4bf434b6afd21ee6e4ffe0bbf52c7435 Mon Sep 17 00:00:00 2001 From: Alfred Mutai <124869802+Alfred-Mutai@users.noreply.github.com> Date: Mon, 14 Aug 2023 16:23:39 +0300 Subject: [PATCH 01/62] POC-482: Vl_1_date wrongly formatted on patient info (#1314) * POC-482: Vl_1_date wrongly formatted on patient info * POC-482: Vl_1_date wrongly formatted on patient info --- dao/patient/etl-patient-dao.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dao/patient/etl-patient-dao.js b/dao/patient/etl-patient-dao.js index 41e79f032..8cf72626c 100755 --- a/dao/patient/etl-patient-dao.js +++ b/dao/patient/etl-patient-dao.js @@ -26,12 +26,16 @@ module.exports = (function () { var queryParts = { columns: request.query.fields || - 't1.*, t3.cm_result,t3.cm_result_date, t3.cm_test, t3.cm_treatment_end_date, t3.cm_treatment_phase, t3.cm_treatment_start_date', - + 'fli.vl_1_date as latest_vl_date,fli.vl_1 as latest_vl,t1.*, t3.cm_result,t3.cm_result_date, t3.cm_test, t3.cm_treatment_end_date, t3.cm_treatment_phase, t3.cm_treatment_start_date', table: 'etl.flat_hiv_summary_v15b', where: whereClause, leftOuterJoins: [ - ['etl.flat_hiv_summary_ext', 't3', 't1.encounter_id = t3.encounter_id'] + ['etl.flat_hiv_summary_ext', 't3', 't1.encounter_id = t3.encounter_id'], + [ + '(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN ( SELECT person_id, MAX(test_datetime) AS max_vl_1_date, max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id ) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)', + 'fli', + 'fli.person_id = t1.person_id' + ] ], order: order || [ { From 3f1c4f73d88f586a2d1b9bcbaa772cf503f36390 Mon Sep 17 00:00:00 2001 From: Saningo Lekalantula Date: Mon, 14 Aug 2023 17:01:07 +0300 Subject: [PATCH 02/62] Add HIV mental health form to all the HIV visits (#1315) Co-authored-by: Drizzentic --- programs/patient-program-config.json | 56 ++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index f2f510ba8..3905de089 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -121,6 +121,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -263,6 +267,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -319,6 +327,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -434,6 +446,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -675,6 +691,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -1412,6 +1432,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -1489,6 +1513,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -1550,6 +1578,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -1623,6 +1655,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -1696,6 +1732,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -1886,6 +1926,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -2738,6 +2782,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -3181,6 +3229,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, @@ -4675,6 +4727,10 @@ { "uuid": "8010fabc-2e58-4160-a201-fce9c609d2fa", "display": "COVIDASSESSMENT" + }, + { + "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", + "display": "MENTALHEALTHSCREENING" } ] }, From 981d6d7694cfeb90732f03b65eb5147aedeaeacf Mon Sep 17 00:00:00 2001 From: Drizzentic Date: Tue, 15 Aug 2023 14:35:32 +0300 Subject: [PATCH 03/62] POC-485 (#1316) --- programs/patient-program-config.json | 17 +++++++++++------ programs/scope-builder.service.js | 11 +++++++++++ 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index 3905de089..07b4a5140 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -816,7 +816,7 @@ { "uuid": "6bdec0cd-d3fb-41da-9ef3-20076f349dc1", "name": "Pre Appointment Follow Up Visit", - "allowedIf": "programLocation === intendedVisitLocationUuid", + "allowedIf": "programLocation === intendedVisitLocationUuid && MlLocations", "encounterTypes": [ { "uuid": "d5e2d3b3-2061-4721-86f1-5852cde6475a", @@ -2010,7 +2010,7 @@ { "uuid": "6bdec0cd-d3fb-41da-9ef3-20076f349dc1", "name": "Pre Appointment Follow Up Visit", - "allowedIf": "programLocation === intendedVisitLocationUuid", + "allowedIf": "programLocation === intendedVisitLocationUuid && MlLocations", "encounterTypes": [ { "uuid": "d5e2d3b3-2061-4721-86f1-5852cde6475a", @@ -2400,7 +2400,7 @@ { "uuid": "6bdec0cd-d3fb-41da-9ef3-20076f349dc1", "name": "Pre Appointment Follow Up Visit", - "allowedIf": "programLocation === intendedVisitLocationUuid", + "allowedIf": "programLocation === intendedVisitLocationUuid && MlLocations", "encounterTypes": [ { "uuid": "d5e2d3b3-2061-4721-86f1-5852cde6475a", @@ -2628,6 +2628,7 @@ { "uuid": "6bdec0cd-d3fb-41da-9ef3-20076f349dc1", "name": "Pre Appointment Follow Up Visit", + "allowedIf": "MlLocations", "encounterTypes": [ { "uuid": "d5e2d3b3-2061-4721-86f1-5852cde6475a", @@ -2844,6 +2845,7 @@ { "uuid": "6bdec0cd-d3fb-41da-9ef3-20076f349dc1", "name": "Pre Appointment Follow Up Visit", + "allowedIf": "MlLocations", "encounterTypes": [ { "uuid": "d5e2d3b3-2061-4721-86f1-5852cde6475a", @@ -3239,7 +3241,7 @@ { "uuid": "6bdec0cd-d3fb-41da-9ef3-20076f349dc1", "name": "Pre Appointment Follow Up Visit", - "allowedIf": "programLocation === intendedVisitLocationUuid", + "allowedIf": "programLocation === intendedVisitLocationUuid && MlLocations", "encounterTypes": [ { "uuid": "d5e2d3b3-2061-4721-86f1-5852cde6475a", @@ -4271,7 +4273,7 @@ { "uuid": "6bdec0cd-d3fb-41da-9ef3-20076f349dc1", "name": "Pre Appointment Follow Up Visit", - "allowedIf": "programLocation === intendedVisitLocationUuid", + "allowedIf": "programLocation === intendedVisitLocationUuid && MlLocations", "encounterTypes": [ { "uuid": "d5e2d3b3-2061-4721-86f1-5852cde6475a", @@ -4410,6 +4412,7 @@ { "uuid": "6bdec0cd-d3fb-41da-9ef3-20076f349dc1", "name": "Pre Appointment Follow Up Visit", + "allowedIf": "MlLocations", "encounterTypes": [ { "uuid": "d5e2d3b3-2061-4721-86f1-5852cde6475a", @@ -4790,6 +4793,7 @@ { "uuid": "6bdec0cd-d3fb-41da-9ef3-20076f349dc1", "name": "Pre Appointment Follow Up Visit", + "allowedIf": "MlLocations", "encounterTypes": [ { "uuid": "d5e2d3b3-2061-4721-86f1-5852cde6475a", @@ -5042,6 +5046,7 @@ { "uuid": "6bdec0cd-d3fb-41da-9ef3-20076f349dc1", "name": "Pre Appointment Follow Up Visit", + "allowedIf": "MlLocations", "encounterTypes": [ { "uuid": "d5e2d3b3-2061-4721-86f1-5852cde6475a", @@ -5145,7 +5150,7 @@ { "uuid": "6bdec0cd-d3fb-41da-9ef3-20076f349dc1", "name": "Pre Appointment Follow Up Visit", - "allowedIf": "programLocation === intendedVisitLocationUuid", + "allowedIf": "programLocation === intendedVisitLocationUuid && MlLocations", "encounterTypes": [ { "uuid": "d5e2d3b3-2061-4721-86f1-5852cde6475a", diff --git a/programs/scope-builder.service.js b/programs/scope-builder.service.js index a4b7607a6..ada866630 100755 --- a/programs/scope-builder.service.js +++ b/programs/scope-builder.service.js @@ -61,6 +61,17 @@ function buildScope(dataDictionary) { if (dataDictionary.intendedVisitLocationUuid) { scope.intendedVisitLocationUuid = dataDictionary.intendedVisitLocationUuid; + // Restrict to Pilot locations + scope.MlLocations = [ + '08feb8ae-1352-11df-a1f1-0026b9348838', + '08feb9a8-1352-11df-a1f1-0026b9348838', + '08fec60a-1352-11df-a1f1-0026b9348838', + '090090d4-1352-11df-a1f1-0026b9348838', + 'db2bdd7c-5fe6-4ea3-adc1-d2d8dfb3d658', + '17c97881-90e5-43c8-b8a3-cc0322f89a89', + 'e9f515c2-7c48-4099-ac76-41db9977f96f', + 'f7aabb83-7915-4c24-88b2-bcde8b3a9977' + ].includes(dataDictionary.intendedVisitLocationUuid); } if (dataDictionary.patientEncounters) { From eb89b3102e2ae31e8f61d97efd31fc010705c31e Mon Sep 17 00:00:00 2001 From: Drizzentic Date: Tue, 15 Aug 2023 17:15:58 +0300 Subject: [PATCH 04/62] Include MCH locations (#1317) --- programs/scope-builder.service.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/programs/scope-builder.service.js b/programs/scope-builder.service.js index ada866630..0844adc03 100755 --- a/programs/scope-builder.service.js +++ b/programs/scope-builder.service.js @@ -17,7 +17,17 @@ function buildScope(dataDictionary) { retroSpective: false, screenedForCovidToday: false }; - + // Restrict to Pilot locations + scope.MlLocations = [ + '08feb8ae-1352-11df-a1f1-0026b9348838', + '08feb9a8-1352-11df-a1f1-0026b9348838', + '08fec60a-1352-11df-a1f1-0026b9348838', + '090090d4-1352-11df-a1f1-0026b9348838', + 'db2bdd7c-5fe6-4ea3-adc1-d2d8dfb3d658', + '17c97881-90e5-43c8-b8a3-cc0322f89a89', + 'e9f515c2-7c48-4099-ac76-41db9977f96f', + 'f7aabb83-7915-4c24-88b2-bcde8b3a9977' + ].includes(dataDictionary.intendedVisitLocationUuid); if (dataDictionary.patient) { buildPatientScopeMembers(scope, dataDictionary.patient); } From e481812f0a4a7037d7adcb5e8c1043765f6aaa0e Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Mon, 4 Sep 2023 13:56:34 +0300 Subject: [PATCH 05/62] POC-511: added VL reminder check --- service/patient-reminder.service.js | 31 +++++++++++++++++------------ 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/service/patient-reminder.service.js b/service/patient-reminder.service.js index 5672c358b..f52fd9f7b 100755 --- a/service/patient-reminder.service.js +++ b/service/patient-reminder.service.js @@ -84,19 +84,24 @@ function viralLoadReminders(data) { }); } // adults else if (isAdult && data.needs_vl_coded === 3) { - reminders.push({ - message: - requires + - '.Patients older than 25 years and newly on ART require ' + - 'a viral load test after 12 months. ' + - labMessage, - title: 'Viral Load Reminder', - type: 'danger', - display: { - banner: true, - toast: true - } - }); + if ( + (data.viral_load > 200 && data.months_since_last_vl_date > 3) || + (data.viral_load < 200 && data.months_since_last_vl_date > 6) + ) { + reminders.push({ + message: + requires + + '.Patients older than 25 years and newly on ART require ' + + 'a viral load test after 12 months. ' + + labMessage, + title: 'Viral Load Reminder', + type: 'danger', + display: { + banner: true, + toast: true + } + }); + } } else if ( isAdult && (data.needs_vl_coded === 8) & (data.months_since_last_vl_date >= 12) From 96fb7bdc401689cc43b2b4ba651b86acbf79e8cc Mon Sep 17 00:00:00 2001 From: Drizzentic Date: Wed, 6 Sep 2023 12:15:28 +0300 Subject: [PATCH 06/62] POC-516 Dqa report (#1320) --- reports/DQA/dqa-chart-abstraction-report-dao.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index 7469d4b5a..b783dc969 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -110,9 +110,7 @@ export class DQAChartAbstractionDAO { LEFT JOIN amrs.patient_identifier np ON (t1.person_id = np.patient_id and np.identifier_type in (45) AND np.voided = 0) left join amrs.patient_program p on (p.patient_id = h.person_id and p.program_id in (4,9) and p.date_completed is null and p.voided = 0) - WHERE h.status = "active" - AND e.height IS NOT NULL - AND e.weight IS NOT NULL + WHERE h.status = "active" and visit_this_month=1 AND h.endDate >= '` + startDate + `' From 807886e840a5511ae73f92d79236df8df05f68a9 Mon Sep 17 00:00:00 2001 From: Saningo Lekalantula Date: Thu, 7 Sep 2023 15:17:44 +0300 Subject: [PATCH 07/62] POC-473 (#1322) * Add conditional DC visits * Fix typo --------- Co-authored-by: kantush Co-authored-by: Drizzentic --- programs/scope-builder.service.js | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/programs/scope-builder.service.js b/programs/scope-builder.service.js index 0844adc03..938c977a6 100755 --- a/programs/scope-builder.service.js +++ b/programs/scope-builder.service.js @@ -17,6 +17,8 @@ function buildScope(dataDictionary) { retroSpective: false, screenedForCovidToday: false }; + let isStandardDcVisit = false; + // Restrict to Pilot locations scope.MlLocations = [ '08feb8ae-1352-11df-a1f1-0026b9348838', @@ -32,6 +34,13 @@ function buildScope(dataDictionary) { buildPatientScopeMembers(scope, dataDictionary.patient); } + if (dataDictionary.patient) { + const result = conditionalDCVisits(dataDictionary); + if (result) { + isStandardDcVisit = true; + } + } + if (dataDictionary.enrollment) { buildProgramScopeMembers(scope, dataDictionary.enrollment); } @@ -61,10 +70,16 @@ function buildScope(dataDictionary) { } if (dataDictionary.dcQualifedVisits) { - if (dataDictionary.dcQualifedVisits.qualifies_for_standard_visit === 1) { + if ( + dataDictionary.dcQualifedVisits.qualifies_for_standard_visit === 1 || + isStandardDcVisit + ) { scope.qualifiesForStandardVisit = true; } - if (dataDictionary.dcQualifedVisits.qualifies_for_medication_refill === 1) { + if ( + dataDictionary.dcQualifedVisits.qualifies_for_medication_refill === 1 && + !isStandardDcVisit + ) { scope.qualifiesMedicationRefillVisit = true; } } @@ -148,6 +163,16 @@ function buildScope(dataDictionary) { return scope; } +function conditionalDCVisits(patient) { + // get the latest encounter by sorting the encounters by date + const patientEncounters = patient.patientEncounters; + const latestEncounter = getLatestEncounter(patientEncounters); + const expectedEncounterToBeDrugPickup = + '987009c6-6f24-43f7-9640-c285d6553c63'; + // return true if the latest encounter is a drug pickup + return latestEncounter.encounterType.uuid === expectedEncounterToBeDrugPickup; +} + function buildPatientScopeMembers(scope, patient) { scope.age = patient.person.age; scope.gender = patient.person.gender; From 94e411684bac3bb0afa92b2970b9511479946527 Mon Sep 17 00:00:00 2001 From: Henry Korir <5462699+henrykorir@users.noreply.github.com> Date: Thu, 7 Sep 2023 15:43:38 +0300 Subject: [PATCH 08/62] POC-397: HEI summaries configurations (#1319) * POC-397: HEI summaries configurations * POC-397: HEI summaries configurations * POC-397: HEI summaries configurations --------- Co-authored-by: Drizzentic --- dao/patient/etl-patient-dao.js | 83 ++++++++++++++++++++++++---------- 1 file changed, 60 insertions(+), 23 deletions(-) diff --git a/dao/patient/etl-patient-dao.js b/dao/patient/etl-patient-dao.js index 8cf72626c..328e4b6a3 100755 --- a/dao/patient/etl-patient-dao.js +++ b/dao/patient/etl-patient-dao.js @@ -23,29 +23,66 @@ module.exports = (function () { 't1.uuid = ? and t1.encounter_type in (1,2,3,4,17,21,110,117,99999)', uuid ]; - var queryParts = { - columns: - request.query.fields || - 'fli.vl_1_date as latest_vl_date,fli.vl_1 as latest_vl,t1.*, t3.cm_result,t3.cm_result_date, t3.cm_test, t3.cm_treatment_end_date, t3.cm_treatment_phase, t3.cm_treatment_start_date', - table: 'etl.flat_hiv_summary_v15b', - where: whereClause, - leftOuterJoins: [ - ['etl.flat_hiv_summary_ext', 't3', 't1.encounter_id = t3.encounter_id'], - [ - '(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN ( SELECT person_id, MAX(test_datetime) AS max_vl_1_date, max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id ) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)', - 'fli', - 'fli.person_id = t1.person_id' - ] - ], - order: order || [ - { - column: 't1.encounter_datetime', - asc: false - } - ], - offset: request.query.startIndex, - limit: request.query.limit - }; + var queryParts = + request.query.isHEIActive === 'false' + ? { + columns: + request.query.fields || + 'fli.vl_1_date as latest_vl_date,fli.vl_1 as latest_vl,t1.*, t3.cm_result,t3.cm_result_date, t3.cm_test, t3.cm_treatment_end_date, t3.cm_treatment_phase, t3.cm_treatment_start_date', + table: 'etl.flat_hiv_summary_v15b', + where: whereClause, + leftOuterJoins: [ + [ + 'etl.flat_hiv_summary_ext', + 't3', + 't1.encounter_id = t3.encounter_id' + ], + [ + '(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN ( SELECT person_id, MAX(test_datetime) AS max_vl_1_date, max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id ) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)', + 'fli', + 'fli.person_id = t1.person_id' + ] + ], + order: order || [ + { + column: 't1.encounter_datetime', + asc: false + } + ], + offset: request.query.startIndex, + limit: request.query.limit + } + : { + columns: + request.query.fields || + 't1.*, t3.height, t3.weight, t4.obs, t4.pcp_prophylaxis', + table: 'etl.flat_hei_summary', + where: whereClause, + leftOuterJoins: [ + [ + '(SELECT person_id, weight, height FROM etl.flat_vitals WHERE uuid = "' + + uuid + + '" order by encounter_datetime desc limit 1)', + 't3', + 't1.person_id = t3.person_id' + ], + [ + '(SELECT person_id, obs, case when obs regexp "!!1263=" then cast(replace(replace((substring_index(substring(obs, locate("!!1263=", obs)), " ## ", 1)), "!!1263=", ""), "!!", "") as unsigned) end as pcp_prophylaxis FROM etl.flat_obs WHERE person_id = (SELECT person_id FROM etl.flat_hei_summary WHERE uuid = "' + + uuid + + '" limit 1) order by encounter_datetime desc limit 1)', + 't4', + 't4.person_id = t1.person_id' + ] + ], + order: order || [ + { + column: 't1.encounter_datetime', + asc: false + } + ], + offset: request.query.startIndex, + limit: request.query.limit + }; var qParts = { columns: '*', From a906a4aa8da49f63fce52f0f1fdb772ecd713be5 Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Thu, 7 Sep 2023 15:53:18 +0300 Subject: [PATCH 09/62] follow-up not attempted (#1321) Co-authored-by: Drizzentic --- .../ml-predictions/ml-weekly-predictions-base.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json index 49d787416..f2fa4b3a7 100644 --- a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json +++ b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json @@ -188,6 +188,11 @@ "conditionExpression": "(if((pre.is_successful_phone_follow_up = 'NO' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'NO')), 1, 0)) = ?", "parameterName": "failedOutcome" }, + { + "filterType": "tableColumns", + "conditionExpression": "(if((pre.is_successful_phone_follow_up IS NULL AND pre.attempted_home_visit IS NULL AND pre.was_client_found IS NULL), 0, 1)) = ?", + "parameterName": "unknownOutcome" + }, { "filterType": "tableColumns", "conditionExpression": "ml.predicted_risk is not null" From e3fc757c370dd3c9543a2c7befa351df5adca16e Mon Sep 17 00:00:00 2001 From: Alfred-Mutai Date: Thu, 7 Sep 2023 16:29:24 +0300 Subject: [PATCH 10/62] POC-517 --- .../json-reports/tx-reports/tx-new/tx-new-report-base.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/reporting-framework/json-reports/tx-reports/tx-new/tx-new-report-base.json b/app/reporting-framework/json-reports/tx-reports/tx-new/tx-new-report-base.json index 9e6fdc91f..04d2777e3 100644 --- a/app/reporting-framework/json-reports/tx-reports/tx-new/tx-new-report-base.json +++ b/app/reporting-framework/json-reports/tx-reports/tx-new/tx-new-report-base.json @@ -463,7 +463,7 @@ "alias": "total", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((hm.enrolled_this_month = 1),1,0)" + "expression": "if((hm.started_art_this_month = 1),1,0)" } } ], @@ -482,7 +482,7 @@ }, { "filterType": "tableColumns", - "conditionExpression": "hm.enrolled_this_month = 1" + "conditionExpression": "hm.started_art_this_month = 1" } ] }, From d77b4b6bce752eb4413f8e83cb95766aae166cd3 Mon Sep 17 00:00:00 2001 From: Saningo Lekalantula Date: Mon, 11 Sep 2023 12:42:52 +0300 Subject: [PATCH 11/62] Error loading retention visit (#1326) Co-authored-by: kantush --- programs/scope-builder.service.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/programs/scope-builder.service.js b/programs/scope-builder.service.js index 938c977a6..bf5bfaa3f 100755 --- a/programs/scope-builder.service.js +++ b/programs/scope-builder.service.js @@ -34,13 +34,6 @@ function buildScope(dataDictionary) { buildPatientScopeMembers(scope, dataDictionary.patient); } - if (dataDictionary.patient) { - const result = conditionalDCVisits(dataDictionary); - if (result) { - isStandardDcVisit = true; - } - } - if (dataDictionary.enrollment) { buildProgramScopeMembers(scope, dataDictionary.enrollment); } @@ -70,6 +63,10 @@ function buildScope(dataDictionary) { } if (dataDictionary.dcQualifedVisits) { + const result = conditionalDCVisits(dataDictionary); + if (result) { + isStandardDcVisit = true; + } if ( dataDictionary.dcQualifedVisits.qualifies_for_standard_visit === 1 || isStandardDcVisit @@ -169,8 +166,11 @@ function conditionalDCVisits(patient) { const latestEncounter = getLatestEncounter(patientEncounters); const expectedEncounterToBeDrugPickup = '987009c6-6f24-43f7-9640-c285d6553c63'; - // return true if the latest encounter is a drug pickup - return latestEncounter.encounterType.uuid === expectedEncounterToBeDrugPickup; + if (latestEncounter) { + return ( + latestEncounter.encounterType.uuid === expectedEncounterToBeDrugPickup + ); + } } function buildPatientScopeMembers(scope, patient) { From 621c57500f431837ba1aedb24111057f6ac109b8 Mon Sep 17 00:00:00 2001 From: Alfred Mutai <124869802+Alfred-Mutai@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:14:58 +0300 Subject: [PATCH 12/62] Corrected current vl mismatch of VL on summary (#1330) * Corrected current vl mismatch of VL on summary * Updated latest vl fetch query across etl --- 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 81e681672..135f8b5b5 100755 --- a/app/reporting-framework/hiv/moh-731.report.js +++ b/app/reporting-framework/hiv/moh-731.report.js @@ -15,7 +15,7 @@ export class Moh731Report extends MultiDatasetPatientlistReport { } params.hivMonthlyDatasetSource = 'etl.hiv_monthly_report_dataset_frozen'; // defaults to frozen params.hivVlDataSource = - '(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)'; + '(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date)'; console.log('creating new moh 731 report service'); super(reportName, params); } diff --git a/app/reporting-framework/json-reports/clinical-reminder-report.json b/app/reporting-framework/json-reports/clinical-reminder-report.json index af6355db0..9a6dd239b 100644 --- a/app/reporting-framework/json-reports/clinical-reminder-report.json +++ b/app/reporting-framework/json-reports/clinical-reminder-report.json @@ -16,7 +16,7 @@ "alias": "t1" }, { - "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)", + "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date)", "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 f1c439de7..d7356dcc8 100755 --- a/app/reporting-framework/json-reports/patient-list-template.json +++ b/app/reporting-framework/json-reports/patient-list-template.json @@ -9,7 +9,7 @@ "alias": "t1" }, { - "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)", + "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date)", "alias": "fli", "join": { "type": "LEFT", diff --git a/app/reporting-framework/json-reports/patient-list-with-contacts-template.json b/app/reporting-framework/json-reports/patient-list-with-contacts-template.json index 2d1536f60..7bfd4e81b 100755 --- a/app/reporting-framework/json-reports/patient-list-with-contacts-template.json +++ b/app/reporting-framework/json-reports/patient-list-with-contacts-template.json @@ -9,7 +9,7 @@ "alias": "t1" }, { - "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)", + "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date)", "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 aa3716467..50993a1e9 100644 --- a/app/reporting-framework/json-reports/surge-report-base.json +++ b/app/reporting-framework/json-reports/surge-report-base.json @@ -10,7 +10,7 @@ "alias": "srb" }, { - "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)", + "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date)", "alias": "fli", "join": { "type": "LEFT", diff --git a/app/reporting-framework/json-reports/tb-preventive-dataset-base.json b/app/reporting-framework/json-reports/tb-preventive-dataset-base.json index 8192b329a..e960e0a15 100644 --- a/app/reporting-framework/json-reports/tb-preventive-dataset-base.json +++ b/app/reporting-framework/json-reports/tb-preventive-dataset-base.json @@ -10,7 +10,7 @@ "alias": "hmsd" }, { - "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)", + "table": "(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN (SELECT person_id, MAX(test_datetime) AS max_vl_1_date,max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date)", "alias": "fli", "join": { "type": "LEFT", diff --git a/dao/patient/etl-patient-dao.js b/dao/patient/etl-patient-dao.js index 328e4b6a3..63c677804 100755 --- a/dao/patient/etl-patient-dao.js +++ b/dao/patient/etl-patient-dao.js @@ -38,7 +38,7 @@ module.exports = (function () { 't1.encounter_id = t3.encounter_id' ], [ - '(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN ( SELECT person_id, MAX(test_datetime) AS max_vl_1_date, max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id ) max_dates ON fli.person_id = max_dates.person_id AND fli.encounter_id = max_dates.encounter_id)', + '(SELECT fli.person_id, fli.hiv_viral_load as vl_1, fli.test_datetime as vl_1_date FROM etl.flat_labs_and_imaging fli INNER JOIN ( SELECT person_id, MAX(test_datetime) AS max_vl_1_date, max(encounter_id) as encounter_id FROM etl.flat_labs_and_imaging fli where fli.hiv_viral_load is not null GROUP BY person_id ) max_dates ON fli.person_id = max_dates.person_id AND fli.test_datetime = max_dates.max_vl_1_date)', 'fli', 'fli.person_id = t1.person_id' ] From d618d911d8ec66c3bb527cc29a9df049efb21dc3 Mon Sep 17 00:00:00 2001 From: Drizzentic Date: Fri, 29 Sep 2023 10:12:01 +0300 Subject: [PATCH 13/62] 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 14/62] 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 15/62] 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 16/62] [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 17/62] 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 18/62] 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 19/62] 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", From e48e08793ea3a834141d2df27314dae577f9627b Mon Sep 17 00:00:00 2001 From: Saningo Lekalantula Date: Thu, 12 Oct 2023 16:19:17 +0300 Subject: [PATCH 20/62] Add adherence encounter form to PMTCT(Viremia) program (#1337) Co-authored-by: kantush --- .../hei-infant-rri-testing-aggregate.json | 0 .../hei-infant-rri-testing-base.json | 0 .../pmtct-rri-cal-hiv-aggregate.json | 0 .../pmtct-rri-calhiv-dataset-base.json | 0 .../{RRI => rri}/pmtct-rri-dataset-base.json | 0 .../{RRI => rri}/pmtct-rri-framework.json | 0 .../{RRI => rri}/pmtct-rri-pbfw-aggregate.json | 0 .../pmtct-rri-pbfw-dataset-base.json | 0 .../{RRI => rri}/pmtct-rri-wra-aggregate.json | 0 .../{RRI => rri}/pmtct-rri-wra-dataset-base.json | 0 .../json-reports/{RRI => rri}/pmtct-rri.json | 0 .../pmtct_rri_patient_list_template.json | 0 programs/patient-program-config.json | 16 ++++++++++++++++ 13 files changed, 16 insertions(+) rename app/reporting-framework/json-reports/{RRI => rri}/hei-infant-rri-testing-aggregate.json (100%) rename app/reporting-framework/json-reports/{RRI => rri}/hei-infant-rri-testing-base.json (100%) rename app/reporting-framework/json-reports/{RRI => rri}/pmtct-rri-cal-hiv-aggregate.json (100%) rename app/reporting-framework/json-reports/{RRI => rri}/pmtct-rri-calhiv-dataset-base.json (100%) rename app/reporting-framework/json-reports/{RRI => rri}/pmtct-rri-dataset-base.json (100%) rename app/reporting-framework/json-reports/{RRI => rri}/pmtct-rri-framework.json (100%) rename app/reporting-framework/json-reports/{RRI => rri}/pmtct-rri-pbfw-aggregate.json (100%) rename app/reporting-framework/json-reports/{RRI => rri}/pmtct-rri-pbfw-dataset-base.json (100%) rename app/reporting-framework/json-reports/{RRI => rri}/pmtct-rri-wra-aggregate.json (100%) rename app/reporting-framework/json-reports/{RRI => rri}/pmtct-rri-wra-dataset-base.json (100%) rename app/reporting-framework/json-reports/{RRI => rri}/pmtct-rri.json (100%) rename app/reporting-framework/json-reports/{RRI => rri}/pmtct_rri_patient_list_template.json (100%) 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 similarity index 100% rename from app/reporting-framework/json-reports/RRI/hei-infant-rri-testing-aggregate.json rename to app/reporting-framework/json-reports/rri/hei-infant-rri-testing-aggregate.json 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 similarity index 100% rename from app/reporting-framework/json-reports/RRI/hei-infant-rri-testing-base.json rename to app/reporting-framework/json-reports/rri/hei-infant-rri-testing-base.json 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 similarity index 100% rename from app/reporting-framework/json-reports/RRI/pmtct-rri-cal-hiv-aggregate.json rename to app/reporting-framework/json-reports/rri/pmtct-rri-cal-hiv-aggregate.json 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 similarity index 100% rename from app/reporting-framework/json-reports/RRI/pmtct-rri-calhiv-dataset-base.json rename to app/reporting-framework/json-reports/rri/pmtct-rri-calhiv-dataset-base.json 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 similarity index 100% rename from app/reporting-framework/json-reports/RRI/pmtct-rri-dataset-base.json rename to app/reporting-framework/json-reports/rri/pmtct-rri-dataset-base.json diff --git a/app/reporting-framework/json-reports/RRI/pmtct-rri-framework.json b/app/reporting-framework/json-reports/rri/pmtct-rri-framework.json similarity index 100% rename from app/reporting-framework/json-reports/RRI/pmtct-rri-framework.json rename to app/reporting-framework/json-reports/rri/pmtct-rri-framework.json 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 similarity index 100% rename from app/reporting-framework/json-reports/RRI/pmtct-rri-pbfw-aggregate.json rename to app/reporting-framework/json-reports/rri/pmtct-rri-pbfw-aggregate.json 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 similarity index 100% rename from app/reporting-framework/json-reports/RRI/pmtct-rri-pbfw-dataset-base.json rename to app/reporting-framework/json-reports/rri/pmtct-rri-pbfw-dataset-base.json 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 similarity index 100% rename from app/reporting-framework/json-reports/RRI/pmtct-rri-wra-aggregate.json rename to app/reporting-framework/json-reports/rri/pmtct-rri-wra-aggregate.json 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 similarity index 100% rename from app/reporting-framework/json-reports/RRI/pmtct-rri-wra-dataset-base.json rename to app/reporting-framework/json-reports/rri/pmtct-rri-wra-dataset-base.json diff --git a/app/reporting-framework/json-reports/RRI/pmtct-rri.json b/app/reporting-framework/json-reports/rri/pmtct-rri.json similarity index 100% rename from app/reporting-framework/json-reports/RRI/pmtct-rri.json rename to app/reporting-framework/json-reports/rri/pmtct-rri.json 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 similarity index 100% rename from app/reporting-framework/json-reports/RRI/pmtct_rri_patient_list_template.json rename to app/reporting-framework/json-reports/rri/pmtct_rri_patient_list_template.json diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index 888de8993..49deeab16 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -1392,6 +1392,10 @@ { "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", "display": "MENTALHEALTHSCREENING" + }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ENHANCEDADHERENCE" } ] }, @@ -1465,6 +1469,10 @@ { "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", "display": "MENTALHEALTHSCREENING" + }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ENHANCEDADHERENCE" } ] }, @@ -1530,6 +1538,10 @@ { "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", "display": "MENTALHEALTHSCREENING" + }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ENHANCEDADHERENCE" } ] }, @@ -1603,6 +1615,10 @@ { "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", "display": "MENTALHEALTHSCREENING" + }, + { + "uuid": "2226e81f-38fc-4672-a615-1d37e1c8e637", + "display": "ENHANCEDADHERENCE" } ] }, From a3e0c1625e6987e01855640cd9d4c850f28d05d0 Mon Sep 17 00:00:00 2001 From: kantush Date: Thu, 26 Oct 2023 13:16:31 +0300 Subject: [PATCH 21/62] Add OTZ program --- departments/department-programs-config.json | 4 ++ programs/patient-program-config.json | 42 +++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/departments/department-programs-config.json b/departments/department-programs-config.json index 295306e43..69e171fa4 100755 --- a/departments/department-programs-config.json +++ b/departments/department-programs-config.json @@ -69,6 +69,10 @@ { "uuid": "03552f68-8233-4793-8353-3db1847bb617", "name": "NUTRITION PROGRAM" + }, + { + "uuid": "203571d6-a4f2-4953-9e8b-e1105e2340f5", + "name": "OTZ PROGRAM" } ] }, diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index 49deeab16..a3000d3cb 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -2078,6 +2078,48 @@ } ] }, + "203571d6-a4f2-4953-9e8b-e1105e2340f5": { + "name": "OTZ PROGRAM", + "enrollmentOptions": { + "requiredProgramQuestions": [], + "allowMultipleEnrollment": false, + "stateChangeEncounterTypes": { + "enrollment": [], + "transfer": [ + { + "uuid": "cbe2d31d-2201-44ce-b52e-fbd5dc7cff33", + "name": "AMPATH POC Transfer Out Form v0.01", + "required": true + } + ], + "discharge": [ + { + "uuid": "c2380050-5e55-4d93-9f4f-cc4cd9d59dc0", + "name": "AMPATH POC OTZ Exit Form V1.0", + "required": true + } + ] + } + }, + "dataDependencies": [ + "patient", + "enrollment", + "hivLastTenClinicalEncounters" + ], + "incompatibleWith": [], + "visitTypes": [ + { + "uuid": "6eeb09be-040f-4018-ab03-c42bb1aadf58", + "name": "OTZ Visit ", + "encounterTypes": [ + { + "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", + "display": "OTZENROLLMENTFORM" + } + ] + } + ] + }, "781d8768-1359-11df-a1f1-0026b9348837": { "name": "DERMATOLOGY PROGRAM", "enrollmentOptions": { From e680ab08f7499e6ab939c9a7cb2bb4c327ae0fca Mon Sep 17 00:00:00 2001 From: sainingo Date: Mon, 6 Nov 2023 16:46:18 +0300 Subject: [PATCH 22/62] Add otz val --- programs/patient-program-config.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index a3000d3cb..7183c0e02 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -2109,12 +2109,13 @@ "incompatibleWith": [], "visitTypes": [ { - "uuid": "6eeb09be-040f-4018-ab03-c42bb1aadf58", + "uuid": "d3d5fd4a-508c-4610-97b7-5197a0bdb88d", "name": "OTZ Visit ", + "groupVisit": true, "encounterTypes": [ { - "uuid": "a44ad5e2-b3ec-42e7-8cfa-8ba3dbcf5ed7", - "display": "OTZENROLLMENTFORM" + "uuid": "76680613-2974-4d89-9b85-6b0a4bf56267", + "display": "OTZACTIVITY" } ] } From 90ed1b3bc3e048849fd43cae3a9ea2b1f284b3f3 Mon Sep 17 00:00:00 2001 From: Saningo Lekalantula Date: Wed, 15 Nov 2023 12:44:13 +0300 Subject: [PATCH 23/62] Prep line Lists to populate data on the columns (#1338) Co-authored-by: kantush --- .../patient-list-with-contacts-template.json | 114 ++++++++++++++++++ .../new/new-for-prep-base.json | 31 ++++- 2 files changed, 142 insertions(+), 3 deletions(-) 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 f7ac08f90..0dc61d894 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 @@ -103,6 +103,14 @@ "type": "LEFT", "joinCondition": "delivery_report.person_id = t1.person_id and DATE_FORMAT(delivery_report.date_created, '%Y-%m-%d')='{startDate}'" } + }, + { + "table": "etl.flat_prep_summary_v1_1", + "alias": "fps", + "join": { + "type": "LEFT", + "joinCondition": "t1.person_id = fps.person_id AND fps.next_encounter_datetime IS NULL AND fps.encounter_type NOT IN (99999)" + } } ], "columns": [ @@ -142,6 +150,112 @@ "expression": "extract(year from (from_days(datediff(now(),t1.birthdate))))" } }, + { + "type": "simple_column", + "alias": "prev_rtc_date", + "column": "date_format(fps.prev_rtc_date, '%Y-%m-%d')" + }, + { + "type": "simple_column", + "alias": "cur_prep_meds_names", + "column": "fps.cur_prep_meds_names" + }, + { + "type": "simple_column", + "alias": "rapid_test_date", + "column": "date_format(fps.hiv_rapid_test_date, '%Y-%m-%d')" + }, + { + "type": "derived_column", + "alias": "hiv_rapid_test", + "expressionType": "case_statement", + "expressionOptions": { + "caseOptions": [ + { + "condition": "fps.hiv_rapid_test_result = 703", + "value": "Positive" + }, + { + "condition": "fps.hiv_rapid_test_result = 664", + "value": "Negative" + }, + { + "condition": "fps.hiv_rapid_test_result = 1138", + "value": "Indeterminate" + }, + { + "condition": "fps.hiv_rapid_test_result = 1304", + "value": "Poor sample quality" + }, + { + "condition": "fps.hiv_rapid_test_result = 1067", + "value": "Unknown" + } + ] + } + }, + { + "type": "derived_column", + "alias": "population_type_category", + "expressionType": "case_statement", + "expressionOptions": { + "caseOptions": [ + { + "condition": "fps.sub_population_type = 1", + "value": "MSM" + }, + { + "condition": "fps.sub_population_type = 2", + "value": "MSW" + }, + { + "condition": "fps.sub_population_type = 3", + "value": "FSW" + }, + { + "condition": "fps.sub_population_type = 4", + "value": "IDU" + }, + { + "condition": "fps.sub_population_type = 5", + "value": "TRANS WOMAN" + }, + { + "condition": "fps.sub_population_type = 6", + "value": "TRANS MAN" + }, + { + "condition": "fps.sub_population_type = 7", + "value": "FISHER FOLK" + }, + { + "condition": "fps.sub_population_type = 8", + "value": "CSW" + }, + { + "condition": "fps.sub_population_type = 9", + "value": "DISPLACED PERSONS" + }, + { + "condition": "fps.sub_population_type = 10", + "value": "Military and other" + }, + { + "condition": "fps.sub_population_type = 12", + "value": "TRUCK/LORRY DRIVER" + }, + { + "condition": "fps.sub_population_type = 13", + "value": "NIDU" + } + ] + } + }, + { + "type": "simple_column", + "alias": "enrollment_date", + "column": "date_format(fps.enrollment_date, '%Y-%m-%d')" + }, { "type": "derived_column", "alias": "person_name", diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json index b0880c767..aa31e79ce 100644 --- a/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json @@ -43,7 +43,7 @@ { "type": "simple_column", "alias": "ccc_number", - "column": "fi.ccc" + "column": "IFNULL(fi.ccc, 'No CCC')" }, { "type": "simple_column", @@ -60,6 +60,11 @@ "alias": "age", "column": "pd.age" }, + { + "type": "simple_column", + "alias": "latest_rtc_date", + "column": "date_format(pd.rtc_date, '%Y-%m-%d')" + }, { "type": "simple_column", "alias": "location_id", @@ -76,9 +81,29 @@ "column": "l.uuid" }, { - "type": "simple_column", + "type": "derived_column", "alias": "population_type", - "column": "pd.population_type" + "expressionType": "case_statement", + "expressionOptions": { + "caseOptions": [ + { + "condition": "pd.population_type = 1", + "value": "discordant" + }, + { + "condition": "pd.population_type = 2", + "value": "priority" + }, + { + "condition": "pd.population_type = 3 or pd.population_type is null", + "value": "general" + }, + { + "condition": "pd.population_type = 4", + "value": "key" + } + ] + } }, { "type": "derived_column", From 135ff2f5e58e73dfab41fac188784c932f6f0bba Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Wed, 15 Nov 2023 14:19:13 +0300 Subject: [PATCH 24/62] POC-584a (#1343) * display patient intervention status based on latest pre-follow-up form * pre.encounter --------- Co-authored-by: Drizzentic --- .../ml-weekly-predictions-base.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json index f2fa4b3a7..847dff7fa 100644 --- a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json +++ b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json @@ -46,7 +46,16 @@ "alias": "pre", "join": { "type": "LEFT", - "joinCondition": "pre.person_id = ml.person_id" + "joinCondition": "pre.person_id = ml.person_id and(DATEDIFF(ml.start_date, pre.encounter_datetime) <= 7)" + } + }, + + { + "table": "( select max(is_successful_phone_follow_up) as latest_phone_follow_up, person_id, follow_up_type from etl.pre_appointment_summary group by person_id )", + "alias": "s", + "join": { + "type": "LEFT", + "joinCondition": "pre.person_id = s.person_id" } } ], @@ -180,12 +189,12 @@ }, { "filterType": "tableColumns", - "conditionExpression": "(if((pre.is_successful_phone_follow_up = 'YES' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'YES')), 1, 0)) = ?", + "conditionExpression": "(if((latest_phone_follow_up = 'YES' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'YES')), 1, 0)) = ?", "parameterName": "successfulOutcome" }, { "filterType": "tableColumns", - "conditionExpression": "(if((pre.is_successful_phone_follow_up = 'NO' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'NO')), 1, 0)) = ?", + "conditionExpression": "(if((latest_phone_follow_up = 'NO' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'NO')), 1, 0)) = ?", "parameterName": "failedOutcome" }, { From f39d96ebdc47358714a518420cabac8d0b72ca7b Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:46:35 +0300 Subject: [PATCH 25/62] Poc 549 (#1341) * POC-549: change TPT reminder * changed IPT to TPT --------- Co-authored-by: Drizzentic --- service/patient-reminder.service.js | 42 ++++++++--------------------- 1 file changed, 11 insertions(+), 31 deletions(-) diff --git a/service/patient-reminder.service.js b/service/patient-reminder.service.js index f52fd9f7b..582953566 100755 --- a/service/patient-reminder.service.js +++ b/service/patient-reminder.service.js @@ -424,6 +424,12 @@ function TPTReminders(data) { data.inh_treatment_days_remaining < 150 ) { showReminder = true; + } else if ( + data.is_on_inh_treatment && + data.inh_treatment_days_remaining <= 30 && + data.inh_treatment_days_remaining > 0 + ) { + showReminder = true; } // INH Treatment Reminder - last month try { @@ -432,7 +438,7 @@ function TPTReminders(data) { message: 'Patient started ' + months + - ' months' + + ' months ' + treatment + ' treatment on (' + Moment(data.ipt_start_date).format('DD-MM-YYYY') + @@ -442,7 +448,7 @@ function TPTReminders(data) { '). ' + data.inh_treatment_days_remaining + ' days remaining.', - title: 'INH Treatment Reminder', + title: 'TPT Treatment Reminder', type: 'danger', display: { banner: true, @@ -453,32 +459,6 @@ function TPTReminders(data) { } catch (e) { console.log(e); } - // INH Treatment Reminder - last month - if ( - data.is_on_inh_treatment && - data.inh_treatment_days_remaining <= 30 && - data.inh_treatment_days_remaining > 0 - ) { - reminders.push({ - message: - 'Patient started ' + - months + - ' month ' + - treatment + - 'treatment since (' + - Moment(data.ipt_start_date).format('DD-MM-YYYY') + - '). Expected to end on (' + - Moment(data.ipt_completion_date).format('DD-MM-YYYY') + - ') ', - title: 'INH Treatment Reminder', - type: 'danger', - display: { - banner: true, - toast: true - } - }); - } - // TPT Reminders if ( calculateAge(data.birth_date) >= 1 && @@ -761,11 +741,11 @@ function getIptCompletionReminder(data) { message: 'Patient started ' + months + - ' month IPT on ' + + ' month TPT on ' + Moment(data.ipt_start_date).format('DD-MM-YYYY') + ' and was supposed to be completed on ' + Moment(data.ipt_start_date).add(months, 'months').format('DD-MM-YYYY'), - title: 'IPT Completion Reminder', + title: 'TPT Completion Reminder', type: 'danger', display: { banner: true, @@ -773,7 +753,7 @@ function getIptCompletionReminder(data) { } }); } else { - console.info.call('No IPT Completion Reminder For Selected Patient'); + console.info.call('No TPT Completion Reminder For Selected Patient'); } return reminders; From b87f768900e6a18fa566ec3859c2f9eca1818bba Mon Sep 17 00:00:00 2001 From: derrick rono Date: Thu, 16 Nov 2023 10:50:54 +0300 Subject: [PATCH 26/62] Revert viremia changes and add new ml locations --- programs/patient-program-config.json | 6 +++--- programs/scope-builder.service.js | 16 ++++++++++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index 49deeab16..4527cb34a 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -4444,7 +4444,7 @@ { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", "display": "ADULTRETURN", - "allowedIf": "!isViremicHighVL && age > 24", + "allowedIf": "age > 24", "errors": { "viremiaError": "To access clinical forms kindly fill Enhanced Adherence Encounter Form" } @@ -4452,7 +4452,7 @@ { "uuid": "4e7553b4-373d-452f-bc89-3f4ad9a01ce7", "display": "YOUTHRETURN", - "allowedIf": "!isViremicHighVL && age >= 10 && age <= 24", + "allowedIf": "age >= 10 && age <= 24", "errors": { "viremiaError": "To access clinical forms kindly fill Enhanced Adherence Encounter Form" } @@ -4460,7 +4460,7 @@ { "uuid": "8d5b3108-c2cc-11de-8d13-0010c6dffd0f", "display": "PEDSRETURN", - "allowedIf": "!isViremicHighVL && age <= 14", + "allowedIf": "age <= 14", "errors": { "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 c9e8f4dfb..60e7c3101 100755 --- a/programs/scope-builder.service.js +++ b/programs/scope-builder.service.js @@ -29,7 +29,13 @@ function buildScope(dataDictionary) { 'db2bdd7c-5fe6-4ea3-adc1-d2d8dfb3d658', '17c97881-90e5-43c8-b8a3-cc0322f89a89', 'e9f515c2-7c48-4099-ac76-41db9977f96f', - 'f7aabb83-7915-4c24-88b2-bcde8b3a9977' + 'f7aabb83-7915-4c24-88b2-bcde8b3a9977', + '08feae7c-1352-11df-a1f1-0026b9348838', + '1ce5034b-f05d-46b6-910f-fc959e091641', + '29124daf-6422-4896-b70e-daad3b252c9d', + '08fec42a-1352-11df-a1f1-0026b9348838', + 'a36c86bb-7ca3-4319-8674-28c66ba14deb', + '345514ae-8f37-42fc-9bbe-993828c2910d' ].includes(dataDictionary.intendedVisitLocationUuid); if (dataDictionary.patient) { buildPatientScopeMembers(scope, dataDictionary.patient); @@ -93,7 +99,13 @@ function buildScope(dataDictionary) { 'db2bdd7c-5fe6-4ea3-adc1-d2d8dfb3d658', '17c97881-90e5-43c8-b8a3-cc0322f89a89', 'e9f515c2-7c48-4099-ac76-41db9977f96f', - 'f7aabb83-7915-4c24-88b2-bcde8b3a9977' + 'f7aabb83-7915-4c24-88b2-bcde8b3a9977', + '08feae7c-1352-11df-a1f1-0026b9348838', + '1ce5034b-f05d-46b6-910f-fc959e091641', + '29124daf-6422-4896-b70e-daad3b252c9d', + '08fec42a-1352-11df-a1f1-0026b9348838', + 'a36c86bb-7ca3-4319-8674-28c66ba14deb', + '345514ae-8f37-42fc-9bbe-993828c2910d' ].includes(dataDictionary.intendedVisitLocationUuid); } From 00029c22e7730fef490660e5c152cff4505fe8bc Mon Sep 17 00:00:00 2001 From: Henry Korir <5462699+henrykorir@users.noreply.github.com> Date: Thu, 16 Nov 2023 15:28:45 +0300 Subject: [PATCH 27/62] POC-583: Stop display of the Reminder To Start TPT when the Client is on TB Treatment (#1347) --- .../clinical-reminder-report.json | 30 +++++++++++++++++++ service/patient-reminder.service.js | 3 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/app/reporting-framework/json-reports/clinical-reminder-report.json b/app/reporting-framework/json-reports/clinical-reminder-report.json index af46abd99..4af7a002a 100644 --- a/app/reporting-framework/json-reports/clinical-reminder-report.json +++ b/app/reporting-framework/json-reports/clinical-reminder-report.json @@ -229,6 +229,36 @@ "alias": "latest_CD4_Date", "column": "ls.cd4_1_date" }, + { + "type": "simple_column", + "alias": "ipt_start_date", + "column": "ls.ipt_start_date" + }, + { + "type": "simple_column", + "alias": "ipt_stop_date", + "column": "ls.ipt_stop_date" + }, + { + "type": "simple_column", + "alias": "on_ipt", + "column": "ls.on_ipt" + }, + { + "type": "simple_column", + "alias": "ipt_completion_date", + "column": "ls.ipt_completion_date" + }, + { + "type": "simple_column", + "alias": "tb_tx_start_date", + "column": "ls.tb_tx_start_date" + }, + { + "type": "simple_column", + "alias": "tb_tx_end_date", + "column": "ls.tb_tx_end_date" + }, { "type": "simple_column", "alias": "on_tb_tx", diff --git a/service/patient-reminder.service.js b/service/patient-reminder.service.js index 582953566..37cac3049 100755 --- a/service/patient-reminder.service.js +++ b/service/patient-reminder.service.js @@ -463,7 +463,8 @@ function TPTReminders(data) { if ( calculateAge(data.birth_date) >= 1 && !data.ipt_start_date && - !data.on_tb_tx + !data.on_tb_tx && + !(data.tb_tx_start_date && !data.tb_tx_end_date) ) { reminders.push({ message: From 611dab78977b8b77bf938564762ca87df8d3ef7d Mon Sep 17 00:00:00 2001 From: sainingo Date: Mon, 20 Nov 2023 01:52:36 +0300 Subject: [PATCH 28/62] wip --- app/otz/cohort-module.service.js | 157 +++++++++++++++++++++++++++ etl-routes.js | 26 +++++ programs/patient-program-config.json | 2 + 3 files changed, 185 insertions(+) create mode 100644 app/otz/cohort-module.service.js diff --git a/app/otz/cohort-module.service.js b/app/otz/cohort-module.service.js new file mode 100644 index 000000000..2262ade3b --- /dev/null +++ b/app/otz/cohort-module.service.js @@ -0,0 +1,157 @@ +var db = require('../../etl-db'); +var obs_service = require('../../service/openmrs-rest/obs.service'); + +export class CohortModuleService { + getCohortOtzModules = (cohortUuid) => { + return new Promise((resolve, reject) => { + let queryParts = {}; + const sql = `SELECT + b.patient_id, + b.uuid, + MAX(b.mod1) AS mod1, + MAX(b.mod2) AS mod2, + MAX(b.mod3) AS mod3, + MAX(b.mod4) AS mod4, + MAX(b.mod5) AS mod5, + MAX(b.mod6) AS mod6, + MAX(b.mod7) AS mod7, + MAX(b.mod8) AS mod8 +FROM + (SELECT + c.cohort_id, + c.name AS cohort_name, + cm.patient_id, + en.encounter_id, + en.encounter_datetime, + ob.value_coded, + ob.value_text, + ob.concept_id, + p.uuid, + CASE + WHEN + ob.concept_id = 11032 + AND ob.value_coded = 1065 + THEN + TRUE + WHEN + ob.concept_id = 11032 + AND ob.value_coded = 1066 + THEN + FALSE + ELSE FALSE + END AS 'mod1', + CASE + WHEN + ob.concept_id = 11033 + AND ob.value_coded = 1065 + THEN + TRUE + WHEN + ob.concept_id = 11033 + AND ob.value_coded = 1066 + THEN + FALSE + ELSE FALSE + END AS 'mod2', + CASE + WHEN + ob.concept_id = 11034 + AND ob.value_coded = 1065 + THEN + TRUE + WHEN + ob.concept_id = 11034 + AND ob.value_coded = 1066 + THEN + FALSE + ELSE FALSE + END AS 'mod3', + CASE + WHEN + ob.concept_id = 11035 + AND ob.value_coded = 1065 + THEN + TRUE + WHEN + ob.concept_id = 11035 + AND ob.value_coded = 1066 + THEN + FALSE + ELSE FALSE + END AS 'mod4', + CASE + WHEN + ob.concept_id = 9302 + AND ob.value_coded = 1065 + THEN + TRUE + WHEN + ob.concept_id = 9302 + AND ob.value_coded = 1066 + THEN + FALSE + ELSE FALSE + END AS 'mod5', + CASE + WHEN + ob.concept_id = 11037 + AND ob.value_coded = 1065 + THEN + TRUE + WHEN + ob.concept_id = 11037 + AND ob.value_coded = 1066 + THEN + FALSE + ELSE FALSE + END AS 'mod6', + CASE + WHEN + ob.concept_id = 11038 + AND ob.value_coded = 1065 + THEN + TRUE + WHEN + ob.concept_id = 11038 + AND ob.value_coded = 1066 + THEN + FALSE + ELSE FALSE + END AS 'mod7', + CASE + WHEN + ob.concept_id = 11039 + AND ob.value_coded = 1065 + THEN + TRUE + WHEN + ob.concept_id = 11039 + AND ob.value_coded = 1066 + THEN + FALSE + ELSE FALSE + END AS 'mod8' + FROM + amrs.cohort c + INNER JOIN amrs.cohort_member cm ON c.cohort_id = cm.cohort_id + INNER JOIN amrs.encounter en ON (en.patient_id = cm.patient_id + AND en.encounter_type = 284) + INNER JOIN amrs.obs ob ON ob.encounter_id = en.encounter_id + INNER JOIN amrs.person p ON p.person_id = cm.patient_id + WHERE + c.uuid = '${cohortUuid}' + AND en.voided = 0 + AND ob.concept_id IN (11032 , 11033, 11034, 11035, 11036, 11037, 11038, 11039)) b +GROUP BY b.patient_id;`; + + queryParts = { + sql: sql + }; + + return db.queryServer(queryParts, function (result) { + result.sql = sql; + resolve(result); + }); + }); + }; +} diff --git a/etl-routes.js b/etl-routes.js index feffa7dab..e63aab8ea 100755 --- a/etl-routes.js +++ b/etl-routes.js @@ -81,6 +81,7 @@ import { getPatientCovidVaccinationStatus } from './service/covid-19/covid-19-va import { Covid19MonthlyReport } from './service/covid-19/covid-19-monthly-report'; import { MlWeeklyPredictionsService } from './service/ml-weekly-predictions.service'; import { getPatientPredictedScore } from './service/predictions/ml-prediction-service'; +import { CohortModuleService } from './app/otz/cohort-module.service'; module.exports = (function () { var routes = [ @@ -6291,6 +6292,31 @@ module.exports = (function () { notes: 'Returns the patients predictions data.', tags: ['api'] } + }, + { + method: 'GET', + path: '/etl/cohort-modules/{cohortUuid}', + config: { + auth: 'simple', + plugins: {}, + handler: function (request, reply) { + const { cohortUuid } = request.params; + console.log('req', cohortUuid); + const cohortService = new CohortModuleService(); + cohortService + .getCohortOtzModules(cohortUuid) + .then(function (cohortUsers) { + reply(cohortUsers); + }) + .catch(function (error) { + reply(new Boom(500, 'Internal server error.', '', '', error)); + }); + }, + description: 'Get cohort modules for otz cohort group', + notes: + 'Api endpoint that returns cohort users based on the cohort uuid', + tags: ['api'] + } } ]; diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index 7183c0e02..f056ed9d3 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -2112,6 +2112,8 @@ "uuid": "d3d5fd4a-508c-4610-97b7-5197a0bdb88d", "name": "OTZ Visit ", "groupVisit": true, + "allowedIf": "age >= 9 && age <= 19", + "message": "Patient has to be between the age of 9 and 19", "encounterTypes": [ { "uuid": "76680613-2974-4d89-9b85-6b0a4bf56267", From e82f61ef10e79c3958b64bbdd48cf7397f2e627c Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Tue, 21 Nov 2023 13:26:48 +0300 Subject: [PATCH 29/62] Added turbo new sites --- service/eid/eid-facility-mappings.json | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/service/eid/eid-facility-mappings.json b/service/eid/eid-facility-mappings.json index 5c46b9a0b..719daf228 100755 --- a/service/eid/eid-facility-mappings.json +++ b/service/eid/eid-facility-mappings.json @@ -2834,6 +2834,33 @@ "cityVillage": "", "eidDisplay": "" }, + "0cc1e6c8-69a5-4b78-932d-6170fcfb98fe": { + "mrsId": 496, + "mrsDisplay": "Bravo Module-Turbo", + "description": "Bravo Module-Turbo", + "mflCode": "15753", + "county": "Uasin Gishu County", + "cityVillage": "", + "eidDisplay": "" + }, + "a844aa95-e9a6-416b-942b-ac07c1ef84fe": { + "mrsId": 497, + "mrsDisplay": "Maisha Module-Turbo", + "description": "Maisha Module-Turbo", + "mflCode": "15753", + "county": "Uasin Gishu County", + "cityVillage": "", + "eidDisplay": "" + }, + "c22318da-d854-43fa-bd1e-8cb7d1d16ebf": { + "mrsId": 498, + "mrsDisplay": "Victor's Module-Turbo", + "description": "Victor's Module-Turbo", + "mflCode": "15753", + "county": "Uasin Gishu County", + "cityVillage": "", + "eidDisplay": "" + }, "469bb74e-18a4-4d74-872e-55fcebe12dc7": { "mrsId": 328, "mrsDisplay": "Soy MCH", From e035541ec915e7198c99782ae80c3e296c552cb5 Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Wed, 29 Nov 2023 09:53:42 +0300 Subject: [PATCH 30/62] failed follow-up attempt checks latest pre-appointment encounter (#1353) --- .../json-reports/ml-predictions/ml-weekly-predictions-base.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json index 847dff7fa..657e44139 100644 --- a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json +++ b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json @@ -165,7 +165,7 @@ "alias": "was_follow_up_successful", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pre.is_successful_phone_follow_up = 'YES' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'YES')), 1, 0)" + "expression": "if((latest_phone_follow_up = 'YES' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'YES')), 1, 0)" } }, { From 73089a6c8b86ba9f805d56e61bd51c93ae1825d2 Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Wed, 29 Nov 2023 10:12:11 +0300 Subject: [PATCH 31/62] POC-570: remove reminder after patient has made clinical visit (#1350) * remove reminder after patient has made clinical visit * POC-570: worked on query to select clinical encounters only --------- Co-authored-by: Drizzentic --- .../json-reports/clinical-reminder-report.json | 2 +- service/patient-reminder.service.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/reporting-framework/json-reports/clinical-reminder-report.json b/app/reporting-framework/json-reports/clinical-reminder-report.json index 4af7a002a..c5e0f3be0 100644 --- a/app/reporting-framework/json-reports/clinical-reminder-report.json +++ b/app/reporting-framework/json-reports/clinical-reminder-report.json @@ -222,7 +222,7 @@ { "type": "simple_column", "alias": "last_encounter_date", - "column": "ls.encounter_datetime" + "column": "t1.encounter_datetime" }, { "type": "simple_column", diff --git a/service/patient-reminder.service.js b/service/patient-reminder.service.js index 37cac3049..74498f2b2 100755 --- a/service/patient-reminder.service.js +++ b/service/patient-reminder.service.js @@ -945,7 +945,10 @@ function getFPExpiryDate(data) { function generateAppointmentNoShowUpRiskReminder(data) { let reminders = []; const predicted_score = (data.predicted_prob_disengage * 100).toFixed(2); - if (data.predicted_risk) { + if ( + data.predicted_risk && + data.last_encounter_date < data.prediction_generated_date + ) { if (data.predicted_risk === 'Medium Risk') { reminders.push({ message: From d5628163dc57ae5c8d3440c8549966200d396b6c Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Wed, 29 Nov 2023 10:35:26 +0300 Subject: [PATCH 32/62] POC-492: added query to track failed phone attempts (#1340) * POC-492: added query to track failed phone attempts * added query to indicate number of failed phone attempts within prediction cycle * POC-492:added query to indicate number of failed phone attempts within prediction cycle --------- Co-authored-by: Drizzentic --- .../ml-predictions/ml-weekly-predictions-base.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json index 657e44139..39d5293e8 100644 --- a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json +++ b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json @@ -49,7 +49,6 @@ "joinCondition": "pre.person_id = ml.person_id and(DATEDIFF(ml.start_date, pre.encounter_datetime) <= 7)" } }, - { "table": "( select max(is_successful_phone_follow_up) as latest_phone_follow_up, person_id, follow_up_type from etl.pre_appointment_summary group by person_id )", "alias": "s", @@ -57,6 +56,14 @@ "type": "LEFT", "joinCondition": "pre.person_id = s.person_id" } + }, + { + "table": "(SELECT et.person_id, SUM(CASE WHEN et.is_successful_phone_follow_up = 'YES' THEN 0 WHEN et.is_successful_phone_follow_up = 'NO' THEN 1 ELSE 0 END) AS counter FROM etl.pre_appointment_summary et left join predictions.ml_weekly_predictions mwl on et.person_id = mwl.person_id WHERE et.encounter_datetime BETWEEN mwl.prediction_generated_date AND DATE_ADD(mwl.prediction_generated_date, INTERVAL 14 DAY) GROUP BY et.person_id)", + "alias": "etc", + "join": { + "type": "LEFT", + "joinCondition": "ml.person_id = etc.person_id" + } } ], "columns": [ @@ -168,6 +175,11 @@ "expression": "if((latest_phone_follow_up = 'YES' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'YES')), 1, 0)" } }, + { + "type": "simple_column", + "alias": "number_of_failed_phone_attempts", + "column": "etc.counter" + }, { "type": "simple_column", "alias": "comments", From 7f7578e2b2d917534ac925a5f9e3971f5fe5b9b6 Mon Sep 17 00:00:00 2001 From: Saningo Lekalantula Date: Wed, 29 Nov 2023 13:04:17 +0300 Subject: [PATCH 33/62] POC-560 (#1335) * Validate ART Preparion Form * Add validation in art prepartion form for Adult, Youth and Ped clients --------- Co-authored-by: kantush Co-authored-by: Drizzentic --- programs/patient-program-config.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index 4527cb34a..0a04af3f0 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -125,6 +125,10 @@ { "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", "display": "MENTALHEALTHSCREENING" + }, + { + "uuid": "61ad56ae-a2c3-4ddb-a351-8c8ae253378c", + "display": "ADULTARTPREPARATION" } ] }, @@ -319,6 +323,10 @@ { "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", "display": "MENTALHEALTHSCREENING" + }, + { + "uuid": "bda00ff3-c811-4223-a602-3eb31c96d1f2", + "display": "PEDARTPREPARATION" } ] }, @@ -498,6 +506,10 @@ { "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", "display": "MENTALHEALTHSCREENING" + }, + { + "uuid": "a400ea27-7052-4745-b51f-d9370aaef4dc", + "display": "YOUTHARTPREPARATION" } ] }, From 0a6e1cb170fe107ef0c288a412e9f37b7fb46536 Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Thu, 30 Nov 2023 09:03:13 +0300 Subject: [PATCH 34/62] added reminders for patients who wish to reschedule appointments (#1349) Co-authored-by: Drizzentic --- .../clinical-reminder-report.json | 18 +++++++++++ service/patient-reminder.service.js | 31 +++++++++++++++++-- 2 files changed, 46 insertions(+), 3 deletions(-) diff --git a/app/reporting-framework/json-reports/clinical-reminder-report.json b/app/reporting-framework/json-reports/clinical-reminder-report.json index c5e0f3be0..5b738f5f1 100644 --- a/app/reporting-framework/json-reports/clinical-reminder-report.json +++ b/app/reporting-framework/json-reports/clinical-reminder-report.json @@ -79,6 +79,14 @@ "joinCondition": "mwl.person_id = t1.person_id" } }, + { + "table": "etl.pre_appointment_summary", + "alias": "pre_s", + "join": { + "type": "left", + "joinCondition": "mwl.person_id = pre_s.person_id " + } + }, { "table": "amrs.relationship", "alias": "t6", @@ -335,6 +343,16 @@ "alias": "prediction_generated_date", "column": "mwl.prediction_generated_date" }, + { + "type": "simple_column", + "alias": "reschedule_appointment", + "column": "pre_s.reschedule_appointment" + }, + { + "type": "simple_column", + "alias": "rescheduled_date", + "column": "pre_s.rescheduled_date" + }, { "type": "simple_column", "alias": "test_date", diff --git a/service/patient-reminder.service.js b/service/patient-reminder.service.js index 74498f2b2..06932baeb 100755 --- a/service/patient-reminder.service.js +++ b/service/patient-reminder.service.js @@ -985,8 +985,27 @@ function generateAppointmentNoShowUpRiskReminder(data) { return reminders; } +function generateAppointmentRescheduledReminder(data) { + let reminders = []; + if (data.reschedule_appointment && data.reschedule_appointment === 'YES') { + if (data.last_encounter_date < data.prediction_generated_date) { + reminders.push({ + message: + 'Promised to come date is ' + + Moment(data.rescheduled_date).format('DD-MM-YYYY'), + title: 'Appointment reschedule request', + type: 'ml', + display: { + banner: true, + toast: true + } + }); + } + } + return reminders; +} + async function generateReminders(etlResults, eidResults) { - // console.log('REMINDERS generateReminders'); let reminders = []; let patientReminder; if (etlResults && etlResults.length > 0) { @@ -1028,6 +1047,9 @@ async function generateReminders(etlResults, eidResults) { let appointmentNoShowUpRiskReminder = generateAppointmentNoShowUpRiskReminder( data ); + let appointmentRescheduledRiskReminder = generateAppointmentRescheduledReminder( + data + ); let currentReminder = []; if (pending_vl_lab_result.length > 0) { @@ -1056,8 +1078,11 @@ async function generateReminders(etlResults, eidResults) { reminders = reminders.concat(currentReminder); - // Add appointment no show up risk reminder - reminders = reminders.concat(appointmentNoShowUpRiskReminder); + // Add appointment no show up risk reminder and + reminders = reminders.concat( + appointmentNoShowUpRiskReminder, + appointmentRescheduledRiskReminder + ); patientReminder.reminders = reminders; return patientReminder; From f298ca146457d4c60be7ea1eaf000266de180914 Mon Sep 17 00:00:00 2001 From: derrick rono Date: Thu, 16 Nov 2023 10:50:54 +0300 Subject: [PATCH 35/62] Revert viremia changes and add new ml locations --- programs/patient-program-config.json | 6 +++--- programs/scope-builder.service.js | 16 ++++++++++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index f056ed9d3..928159979 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -4489,7 +4489,7 @@ { "uuid": "8d5b2be0-c2cc-11de-8d13-0010c6dffd0f", "display": "ADULTRETURN", - "allowedIf": "!isViremicHighVL && age > 24", + "allowedIf": "age > 24", "errors": { "viremiaError": "To access clinical forms kindly fill Enhanced Adherence Encounter Form" } @@ -4497,7 +4497,7 @@ { "uuid": "4e7553b4-373d-452f-bc89-3f4ad9a01ce7", "display": "YOUTHRETURN", - "allowedIf": "!isViremicHighVL && age >= 10 && age <= 24", + "allowedIf": "age >= 10 && age <= 24", "errors": { "viremiaError": "To access clinical forms kindly fill Enhanced Adherence Encounter Form" } @@ -4505,7 +4505,7 @@ { "uuid": "8d5b3108-c2cc-11de-8d13-0010c6dffd0f", "display": "PEDSRETURN", - "allowedIf": "!isViremicHighVL && age <= 14", + "allowedIf": "age <= 14", "errors": { "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 c9e8f4dfb..60e7c3101 100755 --- a/programs/scope-builder.service.js +++ b/programs/scope-builder.service.js @@ -29,7 +29,13 @@ function buildScope(dataDictionary) { 'db2bdd7c-5fe6-4ea3-adc1-d2d8dfb3d658', '17c97881-90e5-43c8-b8a3-cc0322f89a89', 'e9f515c2-7c48-4099-ac76-41db9977f96f', - 'f7aabb83-7915-4c24-88b2-bcde8b3a9977' + 'f7aabb83-7915-4c24-88b2-bcde8b3a9977', + '08feae7c-1352-11df-a1f1-0026b9348838', + '1ce5034b-f05d-46b6-910f-fc959e091641', + '29124daf-6422-4896-b70e-daad3b252c9d', + '08fec42a-1352-11df-a1f1-0026b9348838', + 'a36c86bb-7ca3-4319-8674-28c66ba14deb', + '345514ae-8f37-42fc-9bbe-993828c2910d' ].includes(dataDictionary.intendedVisitLocationUuid); if (dataDictionary.patient) { buildPatientScopeMembers(scope, dataDictionary.patient); @@ -93,7 +99,13 @@ function buildScope(dataDictionary) { 'db2bdd7c-5fe6-4ea3-adc1-d2d8dfb3d658', '17c97881-90e5-43c8-b8a3-cc0322f89a89', 'e9f515c2-7c48-4099-ac76-41db9977f96f', - 'f7aabb83-7915-4c24-88b2-bcde8b3a9977' + 'f7aabb83-7915-4c24-88b2-bcde8b3a9977', + '08feae7c-1352-11df-a1f1-0026b9348838', + '1ce5034b-f05d-46b6-910f-fc959e091641', + '29124daf-6422-4896-b70e-daad3b252c9d', + '08fec42a-1352-11df-a1f1-0026b9348838', + 'a36c86bb-7ca3-4319-8674-28c66ba14deb', + '345514ae-8f37-42fc-9bbe-993828c2910d' ].includes(dataDictionary.intendedVisitLocationUuid); } From b159d9e7ee2701543f7375bcc40f009aade5e141 Mon Sep 17 00:00:00 2001 From: Saningo Lekalantula Date: Wed, 15 Nov 2023 12:44:13 +0300 Subject: [PATCH 36/62] Prep line Lists to populate data on the columns (#1338) Co-authored-by: kantush --- .../patient-list-with-contacts-template.json | 114 ++++++++++++++++++ .../new/new-for-prep-base.json | 31 ++++- 2 files changed, 142 insertions(+), 3 deletions(-) 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 f7ac08f90..0dc61d894 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 @@ -103,6 +103,14 @@ "type": "LEFT", "joinCondition": "delivery_report.person_id = t1.person_id and DATE_FORMAT(delivery_report.date_created, '%Y-%m-%d')='{startDate}'" } + }, + { + "table": "etl.flat_prep_summary_v1_1", + "alias": "fps", + "join": { + "type": "LEFT", + "joinCondition": "t1.person_id = fps.person_id AND fps.next_encounter_datetime IS NULL AND fps.encounter_type NOT IN (99999)" + } } ], "columns": [ @@ -142,6 +150,112 @@ "expression": "extract(year from (from_days(datediff(now(),t1.birthdate))))" } }, + { + "type": "simple_column", + "alias": "prev_rtc_date", + "column": "date_format(fps.prev_rtc_date, '%Y-%m-%d')" + }, + { + "type": "simple_column", + "alias": "cur_prep_meds_names", + "column": "fps.cur_prep_meds_names" + }, + { + "type": "simple_column", + "alias": "rapid_test_date", + "column": "date_format(fps.hiv_rapid_test_date, '%Y-%m-%d')" + }, + { + "type": "derived_column", + "alias": "hiv_rapid_test", + "expressionType": "case_statement", + "expressionOptions": { + "caseOptions": [ + { + "condition": "fps.hiv_rapid_test_result = 703", + "value": "Positive" + }, + { + "condition": "fps.hiv_rapid_test_result = 664", + "value": "Negative" + }, + { + "condition": "fps.hiv_rapid_test_result = 1138", + "value": "Indeterminate" + }, + { + "condition": "fps.hiv_rapid_test_result = 1304", + "value": "Poor sample quality" + }, + { + "condition": "fps.hiv_rapid_test_result = 1067", + "value": "Unknown" + } + ] + } + }, + { + "type": "derived_column", + "alias": "population_type_category", + "expressionType": "case_statement", + "expressionOptions": { + "caseOptions": [ + { + "condition": "fps.sub_population_type = 1", + "value": "MSM" + }, + { + "condition": "fps.sub_population_type = 2", + "value": "MSW" + }, + { + "condition": "fps.sub_population_type = 3", + "value": "FSW" + }, + { + "condition": "fps.sub_population_type = 4", + "value": "IDU" + }, + { + "condition": "fps.sub_population_type = 5", + "value": "TRANS WOMAN" + }, + { + "condition": "fps.sub_population_type = 6", + "value": "TRANS MAN" + }, + { + "condition": "fps.sub_population_type = 7", + "value": "FISHER FOLK" + }, + { + "condition": "fps.sub_population_type = 8", + "value": "CSW" + }, + { + "condition": "fps.sub_population_type = 9", + "value": "DISPLACED PERSONS" + }, + { + "condition": "fps.sub_population_type = 10", + "value": "Military and other" + }, + { + "condition": "fps.sub_population_type = 12", + "value": "TRUCK/LORRY DRIVER" + }, + { + "condition": "fps.sub_population_type = 13", + "value": "NIDU" + } + ] + } + }, + { + "type": "simple_column", + "alias": "enrollment_date", + "column": "date_format(fps.enrollment_date, '%Y-%m-%d')" + }, { "type": "derived_column", "alias": "person_name", diff --git a/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json b/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json index b0880c767..aa31e79ce 100644 --- a/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json +++ b/app/reporting-framework/json-reports/prep-monthly/disaggregations/new/new-for-prep-base.json @@ -43,7 +43,7 @@ { "type": "simple_column", "alias": "ccc_number", - "column": "fi.ccc" + "column": "IFNULL(fi.ccc, 'No CCC')" }, { "type": "simple_column", @@ -60,6 +60,11 @@ "alias": "age", "column": "pd.age" }, + { + "type": "simple_column", + "alias": "latest_rtc_date", + "column": "date_format(pd.rtc_date, '%Y-%m-%d')" + }, { "type": "simple_column", "alias": "location_id", @@ -76,9 +81,29 @@ "column": "l.uuid" }, { - "type": "simple_column", + "type": "derived_column", "alias": "population_type", - "column": "pd.population_type" + "expressionType": "case_statement", + "expressionOptions": { + "caseOptions": [ + { + "condition": "pd.population_type = 1", + "value": "discordant" + }, + { + "condition": "pd.population_type = 2", + "value": "priority" + }, + { + "condition": "pd.population_type = 3 or pd.population_type is null", + "value": "general" + }, + { + "condition": "pd.population_type = 4", + "value": "key" + } + ] + } }, { "type": "derived_column", From d082b0d94e3a059815f807928d2fac94a9e54097 Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Wed, 15 Nov 2023 14:19:13 +0300 Subject: [PATCH 37/62] POC-584a (#1343) * display patient intervention status based on latest pre-follow-up form * pre.encounter --------- Co-authored-by: Drizzentic --- .../ml-weekly-predictions-base.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json index f2fa4b3a7..847dff7fa 100644 --- a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json +++ b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json @@ -46,7 +46,16 @@ "alias": "pre", "join": { "type": "LEFT", - "joinCondition": "pre.person_id = ml.person_id" + "joinCondition": "pre.person_id = ml.person_id and(DATEDIFF(ml.start_date, pre.encounter_datetime) <= 7)" + } + }, + + { + "table": "( select max(is_successful_phone_follow_up) as latest_phone_follow_up, person_id, follow_up_type from etl.pre_appointment_summary group by person_id )", + "alias": "s", + "join": { + "type": "LEFT", + "joinCondition": "pre.person_id = s.person_id" } } ], @@ -180,12 +189,12 @@ }, { "filterType": "tableColumns", - "conditionExpression": "(if((pre.is_successful_phone_follow_up = 'YES' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'YES')), 1, 0)) = ?", + "conditionExpression": "(if((latest_phone_follow_up = 'YES' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'YES')), 1, 0)) = ?", "parameterName": "successfulOutcome" }, { "filterType": "tableColumns", - "conditionExpression": "(if((pre.is_successful_phone_follow_up = 'NO' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'NO')), 1, 0)) = ?", + "conditionExpression": "(if((latest_phone_follow_up = 'NO' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'NO')), 1, 0)) = ?", "parameterName": "failedOutcome" }, { From 771c6197c3a6e0849a5d04d6e2772348bb868cc0 Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:46:35 +0300 Subject: [PATCH 38/62] Poc 549 (#1341) * POC-549: change TPT reminder * changed IPT to TPT --------- Co-authored-by: Drizzentic --- service/patient-reminder.service.js | 42 ++++++++--------------------- 1 file changed, 11 insertions(+), 31 deletions(-) diff --git a/service/patient-reminder.service.js b/service/patient-reminder.service.js index f52fd9f7b..582953566 100755 --- a/service/patient-reminder.service.js +++ b/service/patient-reminder.service.js @@ -424,6 +424,12 @@ function TPTReminders(data) { data.inh_treatment_days_remaining < 150 ) { showReminder = true; + } else if ( + data.is_on_inh_treatment && + data.inh_treatment_days_remaining <= 30 && + data.inh_treatment_days_remaining > 0 + ) { + showReminder = true; } // INH Treatment Reminder - last month try { @@ -432,7 +438,7 @@ function TPTReminders(data) { message: 'Patient started ' + months + - ' months' + + ' months ' + treatment + ' treatment on (' + Moment(data.ipt_start_date).format('DD-MM-YYYY') + @@ -442,7 +448,7 @@ function TPTReminders(data) { '). ' + data.inh_treatment_days_remaining + ' days remaining.', - title: 'INH Treatment Reminder', + title: 'TPT Treatment Reminder', type: 'danger', display: { banner: true, @@ -453,32 +459,6 @@ function TPTReminders(data) { } catch (e) { console.log(e); } - // INH Treatment Reminder - last month - if ( - data.is_on_inh_treatment && - data.inh_treatment_days_remaining <= 30 && - data.inh_treatment_days_remaining > 0 - ) { - reminders.push({ - message: - 'Patient started ' + - months + - ' month ' + - treatment + - 'treatment since (' + - Moment(data.ipt_start_date).format('DD-MM-YYYY') + - '). Expected to end on (' + - Moment(data.ipt_completion_date).format('DD-MM-YYYY') + - ') ', - title: 'INH Treatment Reminder', - type: 'danger', - display: { - banner: true, - toast: true - } - }); - } - // TPT Reminders if ( calculateAge(data.birth_date) >= 1 && @@ -761,11 +741,11 @@ function getIptCompletionReminder(data) { message: 'Patient started ' + months + - ' month IPT on ' + + ' month TPT on ' + Moment(data.ipt_start_date).format('DD-MM-YYYY') + ' and was supposed to be completed on ' + Moment(data.ipt_start_date).add(months, 'months').format('DD-MM-YYYY'), - title: 'IPT Completion Reminder', + title: 'TPT Completion Reminder', type: 'danger', display: { banner: true, @@ -773,7 +753,7 @@ function getIptCompletionReminder(data) { } }); } else { - console.info.call('No IPT Completion Reminder For Selected Patient'); + console.info.call('No TPT Completion Reminder For Selected Patient'); } return reminders; From 5c2a03d6852ad16f36b5ccd11b2d2f7cc57b79ab Mon Sep 17 00:00:00 2001 From: Henry Korir <5462699+henrykorir@users.noreply.github.com> Date: Thu, 16 Nov 2023 15:28:45 +0300 Subject: [PATCH 39/62] POC-583: Stop display of the Reminder To Start TPT when the Client is on TB Treatment (#1347) --- .../clinical-reminder-report.json | 30 +++++++++++++++++++ service/patient-reminder.service.js | 3 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/app/reporting-framework/json-reports/clinical-reminder-report.json b/app/reporting-framework/json-reports/clinical-reminder-report.json index af46abd99..4af7a002a 100644 --- a/app/reporting-framework/json-reports/clinical-reminder-report.json +++ b/app/reporting-framework/json-reports/clinical-reminder-report.json @@ -229,6 +229,36 @@ "alias": "latest_CD4_Date", "column": "ls.cd4_1_date" }, + { + "type": "simple_column", + "alias": "ipt_start_date", + "column": "ls.ipt_start_date" + }, + { + "type": "simple_column", + "alias": "ipt_stop_date", + "column": "ls.ipt_stop_date" + }, + { + "type": "simple_column", + "alias": "on_ipt", + "column": "ls.on_ipt" + }, + { + "type": "simple_column", + "alias": "ipt_completion_date", + "column": "ls.ipt_completion_date" + }, + { + "type": "simple_column", + "alias": "tb_tx_start_date", + "column": "ls.tb_tx_start_date" + }, + { + "type": "simple_column", + "alias": "tb_tx_end_date", + "column": "ls.tb_tx_end_date" + }, { "type": "simple_column", "alias": "on_tb_tx", diff --git a/service/patient-reminder.service.js b/service/patient-reminder.service.js index 582953566..37cac3049 100755 --- a/service/patient-reminder.service.js +++ b/service/patient-reminder.service.js @@ -463,7 +463,8 @@ function TPTReminders(data) { if ( calculateAge(data.birth_date) >= 1 && !data.ipt_start_date && - !data.on_tb_tx + !data.on_tb_tx && + !(data.tb_tx_start_date && !data.tb_tx_end_date) ) { reminders.push({ message: From 9c63b45f7a94ace070a9988025628976776e12b1 Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Tue, 21 Nov 2023 13:26:48 +0300 Subject: [PATCH 40/62] Added turbo new sites --- service/eid/eid-facility-mappings.json | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/service/eid/eid-facility-mappings.json b/service/eid/eid-facility-mappings.json index 5c46b9a0b..719daf228 100755 --- a/service/eid/eid-facility-mappings.json +++ b/service/eid/eid-facility-mappings.json @@ -2834,6 +2834,33 @@ "cityVillage": "", "eidDisplay": "" }, + "0cc1e6c8-69a5-4b78-932d-6170fcfb98fe": { + "mrsId": 496, + "mrsDisplay": "Bravo Module-Turbo", + "description": "Bravo Module-Turbo", + "mflCode": "15753", + "county": "Uasin Gishu County", + "cityVillage": "", + "eidDisplay": "" + }, + "a844aa95-e9a6-416b-942b-ac07c1ef84fe": { + "mrsId": 497, + "mrsDisplay": "Maisha Module-Turbo", + "description": "Maisha Module-Turbo", + "mflCode": "15753", + "county": "Uasin Gishu County", + "cityVillage": "", + "eidDisplay": "" + }, + "c22318da-d854-43fa-bd1e-8cb7d1d16ebf": { + "mrsId": 498, + "mrsDisplay": "Victor's Module-Turbo", + "description": "Victor's Module-Turbo", + "mflCode": "15753", + "county": "Uasin Gishu County", + "cityVillage": "", + "eidDisplay": "" + }, "469bb74e-18a4-4d74-872e-55fcebe12dc7": { "mrsId": 328, "mrsDisplay": "Soy MCH", From d1f01542dc89914f28cdf02e5df3a92516d700c2 Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Wed, 29 Nov 2023 09:53:42 +0300 Subject: [PATCH 41/62] failed follow-up attempt checks latest pre-appointment encounter (#1353) --- .../json-reports/ml-predictions/ml-weekly-predictions-base.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json index 847dff7fa..657e44139 100644 --- a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json +++ b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json @@ -165,7 +165,7 @@ "alias": "was_follow_up_successful", "expressionType": "simple_expression", "expressionOptions": { - "expression": "if((pre.is_successful_phone_follow_up = 'YES' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'YES')), 1, 0)" + "expression": "if((latest_phone_follow_up = 'YES' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'YES')), 1, 0)" } }, { From 97776d1f0d7f999415b1c9e9387a092de4a763fe Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Wed, 29 Nov 2023 10:12:11 +0300 Subject: [PATCH 42/62] POC-570: remove reminder after patient has made clinical visit (#1350) * remove reminder after patient has made clinical visit * POC-570: worked on query to select clinical encounters only --------- Co-authored-by: Drizzentic --- .../json-reports/clinical-reminder-report.json | 2 +- service/patient-reminder.service.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/reporting-framework/json-reports/clinical-reminder-report.json b/app/reporting-framework/json-reports/clinical-reminder-report.json index 4af7a002a..c5e0f3be0 100644 --- a/app/reporting-framework/json-reports/clinical-reminder-report.json +++ b/app/reporting-framework/json-reports/clinical-reminder-report.json @@ -222,7 +222,7 @@ { "type": "simple_column", "alias": "last_encounter_date", - "column": "ls.encounter_datetime" + "column": "t1.encounter_datetime" }, { "type": "simple_column", diff --git a/service/patient-reminder.service.js b/service/patient-reminder.service.js index 37cac3049..74498f2b2 100755 --- a/service/patient-reminder.service.js +++ b/service/patient-reminder.service.js @@ -945,7 +945,10 @@ function getFPExpiryDate(data) { function generateAppointmentNoShowUpRiskReminder(data) { let reminders = []; const predicted_score = (data.predicted_prob_disengage * 100).toFixed(2); - if (data.predicted_risk) { + if ( + data.predicted_risk && + data.last_encounter_date < data.prediction_generated_date + ) { if (data.predicted_risk === 'Medium Risk') { reminders.push({ message: From 1afc416263a3c4f7ce2748fadd37f2c50e525eaa Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Wed, 29 Nov 2023 10:35:26 +0300 Subject: [PATCH 43/62] POC-492: added query to track failed phone attempts (#1340) * POC-492: added query to track failed phone attempts * added query to indicate number of failed phone attempts within prediction cycle * POC-492:added query to indicate number of failed phone attempts within prediction cycle --------- Co-authored-by: Drizzentic --- .../ml-predictions/ml-weekly-predictions-base.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json index 657e44139..39d5293e8 100644 --- a/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json +++ b/app/reporting-framework/json-reports/ml-predictions/ml-weekly-predictions-base.json @@ -49,7 +49,6 @@ "joinCondition": "pre.person_id = ml.person_id and(DATEDIFF(ml.start_date, pre.encounter_datetime) <= 7)" } }, - { "table": "( select max(is_successful_phone_follow_up) as latest_phone_follow_up, person_id, follow_up_type from etl.pre_appointment_summary group by person_id )", "alias": "s", @@ -57,6 +56,14 @@ "type": "LEFT", "joinCondition": "pre.person_id = s.person_id" } + }, + { + "table": "(SELECT et.person_id, SUM(CASE WHEN et.is_successful_phone_follow_up = 'YES' THEN 0 WHEN et.is_successful_phone_follow_up = 'NO' THEN 1 ELSE 0 END) AS counter FROM etl.pre_appointment_summary et left join predictions.ml_weekly_predictions mwl on et.person_id = mwl.person_id WHERE et.encounter_datetime BETWEEN mwl.prediction_generated_date AND DATE_ADD(mwl.prediction_generated_date, INTERVAL 14 DAY) GROUP BY et.person_id)", + "alias": "etc", + "join": { + "type": "LEFT", + "joinCondition": "ml.person_id = etc.person_id" + } } ], "columns": [ @@ -168,6 +175,11 @@ "expression": "if((latest_phone_follow_up = 'YES' OR (pre.attempted_home_visit = 'YES' AND pre.was_client_found = 'YES')), 1, 0)" } }, + { + "type": "simple_column", + "alias": "number_of_failed_phone_attempts", + "column": "etc.counter" + }, { "type": "simple_column", "alias": "comments", From d0dc9ccb371e465418cf0a43eade49d89d8b483d Mon Sep 17 00:00:00 2001 From: Saningo Lekalantula Date: Wed, 29 Nov 2023 13:04:17 +0300 Subject: [PATCH 44/62] POC-560 (#1335) * Validate ART Preparion Form * Add validation in art prepartion form for Adult, Youth and Ped clients --------- Co-authored-by: kantush Co-authored-by: Drizzentic --- programs/patient-program-config.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index 928159979..1b7747b1d 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -125,6 +125,10 @@ { "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", "display": "MENTALHEALTHSCREENING" + }, + { + "uuid": "61ad56ae-a2c3-4ddb-a351-8c8ae253378c", + "display": "ADULTARTPREPARATION" } ] }, @@ -319,6 +323,10 @@ { "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", "display": "MENTALHEALTHSCREENING" + }, + { + "uuid": "bda00ff3-c811-4223-a602-3eb31c96d1f2", + "display": "PEDARTPREPARATION" } ] }, @@ -498,6 +506,10 @@ { "uuid": "37770eca-8a2f-48d6-b3c8-54af0fa989c2", "display": "MENTALHEALTHSCREENING" + }, + { + "uuid": "a400ea27-7052-4745-b51f-d9370aaef4dc", + "display": "YOUTHARTPREPARATION" } ] }, From 320cc1ad8a02b69955626072a4c4081e3fd78134 Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Thu, 30 Nov 2023 09:03:13 +0300 Subject: [PATCH 45/62] added reminders for patients who wish to reschedule appointments (#1349) Co-authored-by: Drizzentic --- .../clinical-reminder-report.json | 18 +++++++++++ service/patient-reminder.service.js | 31 +++++++++++++++++-- 2 files changed, 46 insertions(+), 3 deletions(-) diff --git a/app/reporting-framework/json-reports/clinical-reminder-report.json b/app/reporting-framework/json-reports/clinical-reminder-report.json index c5e0f3be0..5b738f5f1 100644 --- a/app/reporting-framework/json-reports/clinical-reminder-report.json +++ b/app/reporting-framework/json-reports/clinical-reminder-report.json @@ -79,6 +79,14 @@ "joinCondition": "mwl.person_id = t1.person_id" } }, + { + "table": "etl.pre_appointment_summary", + "alias": "pre_s", + "join": { + "type": "left", + "joinCondition": "mwl.person_id = pre_s.person_id " + } + }, { "table": "amrs.relationship", "alias": "t6", @@ -335,6 +343,16 @@ "alias": "prediction_generated_date", "column": "mwl.prediction_generated_date" }, + { + "type": "simple_column", + "alias": "reschedule_appointment", + "column": "pre_s.reschedule_appointment" + }, + { + "type": "simple_column", + "alias": "rescheduled_date", + "column": "pre_s.rescheduled_date" + }, { "type": "simple_column", "alias": "test_date", diff --git a/service/patient-reminder.service.js b/service/patient-reminder.service.js index 74498f2b2..06932baeb 100755 --- a/service/patient-reminder.service.js +++ b/service/patient-reminder.service.js @@ -985,8 +985,27 @@ function generateAppointmentNoShowUpRiskReminder(data) { return reminders; } +function generateAppointmentRescheduledReminder(data) { + let reminders = []; + if (data.reschedule_appointment && data.reschedule_appointment === 'YES') { + if (data.last_encounter_date < data.prediction_generated_date) { + reminders.push({ + message: + 'Promised to come date is ' + + Moment(data.rescheduled_date).format('DD-MM-YYYY'), + title: 'Appointment reschedule request', + type: 'ml', + display: { + banner: true, + toast: true + } + }); + } + } + return reminders; +} + async function generateReminders(etlResults, eidResults) { - // console.log('REMINDERS generateReminders'); let reminders = []; let patientReminder; if (etlResults && etlResults.length > 0) { @@ -1028,6 +1047,9 @@ async function generateReminders(etlResults, eidResults) { let appointmentNoShowUpRiskReminder = generateAppointmentNoShowUpRiskReminder( data ); + let appointmentRescheduledRiskReminder = generateAppointmentRescheduledReminder( + data + ); let currentReminder = []; if (pending_vl_lab_result.length > 0) { @@ -1056,8 +1078,11 @@ async function generateReminders(etlResults, eidResults) { reminders = reminders.concat(currentReminder); - // Add appointment no show up risk reminder - reminders = reminders.concat(appointmentNoShowUpRiskReminder); + // Add appointment no show up risk reminder and + reminders = reminders.concat( + appointmentNoShowUpRiskReminder, + appointmentRescheduledRiskReminder + ); patientReminder.reminders = reminders; return patientReminder; From 9e0eb60ddf4aad303f94ad7d865cc45b1908e42c Mon Sep 17 00:00:00 2001 From: sainingo Date: Thu, 7 Dec 2023 11:16:22 +0300 Subject: [PATCH 46/62] wip --- dao/patient/etl-patient-dao.js | 102 ++++++++++++++++++++++++++- etl-routes.js | 35 +++++++++ programs/patient-program-config.json | 4 +- 3 files changed, 138 insertions(+), 3 deletions(-) diff --git a/dao/patient/etl-patient-dao.js b/dao/patient/etl-patient-dao.js index ea647f6a0..808a55c54 100755 --- a/dao/patient/etl-patient-dao.js +++ b/dao/patient/etl-patient-dao.js @@ -718,6 +718,104 @@ module.exports = (function () { }); } + function getPatientsLatestHivSummmary(request, callback) { + return new Promise(function (resolve, reject) { + const uuid = request.query.uuid ? request.query.uuid.split(',') : []; + + const whereClause = [ + 't1.uuid in ? and t1.next_encounter_datetime_hiv is null', + uuid + ]; + const queryParts = { + columns: + request.query.fields || + ' t1.vl_1 as latest_vl, t1.vl_1_date as latest_vl_date, t2.rtc_date, t1.cur_arv_adherence as adherence, t1.encounter_datetime as latest_appointment, t1.uuid', + table: 'etl.flat_hiv_summary_v15b', + where: whereClause, + leftOuterJoins: [ + [ + 'etl.flat_hiv_summary_v15b', + 't2', + 't1.person_id = t2.person_id and t2.next_clinical_datetime_hiv is null and t2.is_clinical_encounter = 1' + ] + ] + }; + + db.queryDb(queryParts) + .then(function (data) { + resolve(data.result); + }) + .catch((error) => { + reject(error); + }); + }); + } + + function getPatientsSuppressionRate1(request, callback) { + return new Promise(function (resolve, reject) { + const uuid = request.query.uuid ? request.query.uuid.split(',') : []; + + const whereClause = [ + 't1.uuid in ? and t1.next_encounter_datetime_hiv is null', + uuid + ]; + const queryParts = { + columns: + request.query.fields || + 't1.vl_1 as latest_vl, (COUNT(CASE WHEN vl_1 < 200 THEN 1 END) / COUNT(*)) * 100 AS suppression_rate', + table: 'etl.flat_hiv_summary_v15b', + where: whereClause + }; + + db.queryDb(queryParts) + .then(function (data) { + console.log('data', data); + resolve(data.result); + }) + .catch((error) => { + reject(error); + }); + }); + } + + function getPatientsSuppressionRate(request, callback) { + return new Promise(function (resolve, reject) { + const uuid = request.query.uuid ? request.query.uuid.split(',') : []; + + const whereClause = ['c.uuid in ?', uuid]; + const queryParts = { + columns: + request.query.fields || + 'c.uuid, CASE WHEN COUNT(DISTINCT cm.patient_id) = 0 THEN 0 ELSE SUM(CASE WHEN fl.hiv_viral_load < 2000 THEN 1 ELSE 0 END) / COUNT(DISTINCT cm.patient_id) * 100 END AS suppression_rate_percentage', + table: 'amrs.cohort c', + where: whereClause, + group: ['c.cohort_id'], + joins: [ + ['amrs.cohort_member', 'cm', 'c.cohort_id = cm.cohort_id'], + [ + '(SELECT person_id, MAX(test_datetime) AS latest_test_datetime FROM etl.flat_labs_and_imaging WHERE hiv_viral_load IS NOT NULL GROUP BY person_id) AS latest_tests', + 'latest_tests ON cm.patient_id = latest_tests.person_id' + ], + [ + 'etl.flat_labs_and_imaging', + 'fl', + 'latest_tests.person_id = fl.person_id', + 'and', + 'latest_tests.latest_test_datetime = fl.test_datetime' + ] + ] + }; + + db.queryDb(queryParts) + .then(function (data) { + console.log('data', data); + resolve(data.result); + }) + .catch((error) => { + reject(error); + }); + }); + } return { getPatientHivSummary: getPatientHivSummary, getPatientOncologySummary: getPatientOncologySummary, @@ -728,6 +826,8 @@ module.exports = (function () { getHivPatientClinicalSummary: getHivPatientClinicalSummary, getPatientCountGroupedByLocation: getPatientCountGroupedByLocation, getPatientDetailsGroupedByLocation: getPatientDetailsGroupedByLocation, - getHivNegativesPatientSummary: getHivNegativesPatientSummary + getHivNegativesPatientSummary: getHivNegativesPatientSummary, + getPatientsLatestHivSummmary: getPatientsLatestHivSummmary, + getPatientsSuppressionRate: getPatientsSuppressionRate }; })(); diff --git a/etl-routes.js b/etl-routes.js index e63aab8ea..fed36a007 100755 --- a/etl-routes.js +++ b/etl-routes.js @@ -6317,6 +6317,41 @@ module.exports = (function () { 'Api endpoint that returns cohort users based on the cohort uuid', tags: ['api'] } + }, + { + method: 'GET', + path: '/etl/hiv-latest-summaries', + config: { + auth: 'simple', + plugins: {}, + handler: function (request, reply) { + dao.getPatientsLatestHivSummmary(request).then((summary) => { + reply(summary); + }); + }, + description: 'Get cohort modules for otz cohort group', + notes: + 'Api endpoint that returns cohort users based on the cohort uuid', + tags: ['api'] + } + }, + { + method: 'GET', + path: '/etl/viral-load-suppression-rate', + config: { + auth: 'simple', + plugins: {}, + handler: function (request, reply) { + dao.getPatientsSuppressionRate(request).then((summary) => { + console.log('summary', summary); + reply(summary); + }); + }, + description: 'Get cohort modules for otz cohort group', + notes: + 'Api endpoint that returns cohort users based on the cohort uuid', + tags: ['api'] + } } ]; diff --git a/programs/patient-program-config.json b/programs/patient-program-config.json index 1b7747b1d..dd34d9eba 100755 --- a/programs/patient-program-config.json +++ b/programs/patient-program-config.json @@ -2124,8 +2124,8 @@ "uuid": "d3d5fd4a-508c-4610-97b7-5197a0bdb88d", "name": "OTZ Visit ", "groupVisit": true, - "allowedIf": "age >= 9 && age <= 19", - "message": "Patient has to be between the age of 9 and 19", + "allowedIf": "age > 9 && age <= 24", + "message": "Patient has to be between the age of 10 and 24", "encounterTypes": [ { "uuid": "76680613-2974-4d89-9b85-6b0a4bf56267", From c6188aad48c860a935e6073fe1acb1428c706f5f Mon Sep 17 00:00:00 2001 From: sainingo Date: Wed, 13 Dec 2023 10:10:11 +0300 Subject: [PATCH 47/62] Add viral load suppression rate endpoint --- app/otz/cohort-module.service.js | 167 ++++++------------------------- dao/patient/etl-patient-dao.js | 68 +------------ etl-routes.js | 49 +++------ 3 files changed, 46 insertions(+), 238 deletions(-) diff --git a/app/otz/cohort-module.service.js b/app/otz/cohort-module.service.js index 2262ade3b..5e7c14f14 100644 --- a/app/otz/cohort-module.service.js +++ b/app/otz/cohort-module.service.js @@ -1,148 +1,43 @@ var db = require('../../etl-db'); -var obs_service = require('../../service/openmrs-rest/obs.service'); export class CohortModuleService { - getCohortOtzModules = (cohortUuid) => { + getCohortSummary = (cohortUuids) => { + const uuids = cohortUuids + .split(',') + .map((s) => { + return `"${s}"`; + }) + .join(','); return new Promise((resolve, reject) => { let queryParts = {}; const sql = `SELECT - b.patient_id, - b.uuid, - MAX(b.mod1) AS mod1, - MAX(b.mod2) AS mod2, - MAX(b.mod3) AS mod3, - MAX(b.mod4) AS mod4, - MAX(b.mod5) AS mod5, - MAX(b.mod6) AS mod6, - MAX(b.mod7) AS mod7, - MAX(b.mod8) AS mod8 -FROM - (SELECT - c.cohort_id, - c.name AS cohort_name, - cm.patient_id, - en.encounter_id, - en.encounter_datetime, - ob.value_coded, - ob.value_text, - ob.concept_id, - p.uuid, - CASE - WHEN - ob.concept_id = 11032 - AND ob.value_coded = 1065 - THEN - TRUE - WHEN - ob.concept_id = 11032 - AND ob.value_coded = 1066 - THEN - FALSE - ELSE FALSE - END AS 'mod1', - CASE - WHEN - ob.concept_id = 11033 - AND ob.value_coded = 1065 - THEN - TRUE - WHEN - ob.concept_id = 11033 - AND ob.value_coded = 1066 - THEN - FALSE - ELSE FALSE - END AS 'mod2', - CASE - WHEN - ob.concept_id = 11034 - AND ob.value_coded = 1065 - THEN - TRUE - WHEN - ob.concept_id = 11034 - AND ob.value_coded = 1066 - THEN - FALSE - ELSE FALSE - END AS 'mod3', - CASE - WHEN - ob.concept_id = 11035 - AND ob.value_coded = 1065 - THEN - TRUE - WHEN - ob.concept_id = 11035 - AND ob.value_coded = 1066 - THEN - FALSE - ELSE FALSE - END AS 'mod4', - CASE - WHEN - ob.concept_id = 9302 - AND ob.value_coded = 1065 - THEN - TRUE - WHEN - ob.concept_id = 9302 - AND ob.value_coded = 1066 - THEN - FALSE - ELSE FALSE - END AS 'mod5', - CASE - WHEN - ob.concept_id = 11037 - AND ob.value_coded = 1065 - THEN - TRUE - WHEN - ob.concept_id = 11037 - AND ob.value_coded = 1066 - THEN - FALSE - ELSE FALSE - END AS 'mod6', - CASE - WHEN - ob.concept_id = 11038 - AND ob.value_coded = 1065 - THEN - TRUE - WHEN - ob.concept_id = 11038 - AND ob.value_coded = 1066 - THEN - FALSE - ELSE FALSE - END AS 'mod7', - CASE - WHEN - ob.concept_id = 11039 - AND ob.value_coded = 1065 - THEN - TRUE - WHEN - ob.concept_id = 11039 - AND ob.value_coded = 1066 - THEN - FALSE - ELSE FALSE - END AS 'mod8' + c.uuid, + COUNT(DISTINCT cm.patient_id) AS total_patients, + IFNULL(SUM(CASE + WHEN fl.hiv_viral_load < 200 THEN 1 + ELSE 0 + END) / NULLIF(COUNT(DISTINCT cm.patient_id), 0) * 100, + 0) AS suppression_rate_percentage FROM amrs.cohort c - INNER JOIN amrs.cohort_member cm ON c.cohort_id = cm.cohort_id - INNER JOIN amrs.encounter en ON (en.patient_id = cm.patient_id - AND en.encounter_type = 284) - INNER JOIN amrs.obs ob ON ob.encounter_id = en.encounter_id - INNER JOIN amrs.person p ON p.person_id = cm.patient_id + INNER JOIN + amrs.cohort_member cm ON c.cohort_id = cm.cohort_id + LEFT JOIN + (SELECT + person_id, MAX(test_datetime) AS latest_test_datetime + FROM + etl.flat_labs_and_imaging + WHERE + hiv_viral_load IS NOT NULL + GROUP BY person_id) AS latest_tests ON cm.patient_id = latest_tests.person_id + LEFT JOIN + etl.flat_labs_and_imaging fl ON latest_tests.person_id = fl.person_id + AND latest_tests.latest_test_datetime = fl.test_datetime WHERE - c.uuid = '${cohortUuid}' - AND en.voided = 0 - AND ob.concept_id IN (11032 , 11033, 11034, 11035, 11036, 11037, 11038, 11039)) b -GROUP BY b.patient_id;`; + c.uuid in (${uuids}) + GROUP BY c.cohort_id; + + `; queryParts = { sql: sql diff --git a/dao/patient/etl-patient-dao.js b/dao/patient/etl-patient-dao.js index 808a55c54..39a632892 100755 --- a/dao/patient/etl-patient-dao.js +++ b/dao/patient/etl-patient-dao.js @@ -751,71 +751,6 @@ module.exports = (function () { }); } - function getPatientsSuppressionRate1(request, callback) { - return new Promise(function (resolve, reject) { - const uuid = request.query.uuid ? request.query.uuid.split(',') : []; - - const whereClause = [ - 't1.uuid in ? and t1.next_encounter_datetime_hiv is null', - uuid - ]; - const queryParts = { - columns: - request.query.fields || - 't1.vl_1 as latest_vl, (COUNT(CASE WHEN vl_1 < 200 THEN 1 END) / COUNT(*)) * 100 AS suppression_rate', - table: 'etl.flat_hiv_summary_v15b', - where: whereClause - }; - - db.queryDb(queryParts) - .then(function (data) { - console.log('data', data); - resolve(data.result); - }) - .catch((error) => { - reject(error); - }); - }); - } - - function getPatientsSuppressionRate(request, callback) { - return new Promise(function (resolve, reject) { - const uuid = request.query.uuid ? request.query.uuid.split(',') : []; - - const whereClause = ['c.uuid in ?', uuid]; - const queryParts = { - columns: - request.query.fields || - 'c.uuid, CASE WHEN COUNT(DISTINCT cm.patient_id) = 0 THEN 0 ELSE SUM(CASE WHEN fl.hiv_viral_load < 2000 THEN 1 ELSE 0 END) / COUNT(DISTINCT cm.patient_id) * 100 END AS suppression_rate_percentage', - table: 'amrs.cohort c', - where: whereClause, - group: ['c.cohort_id'], - joins: [ - ['amrs.cohort_member', 'cm', 'c.cohort_id = cm.cohort_id'], - [ - '(SELECT person_id, MAX(test_datetime) AS latest_test_datetime FROM etl.flat_labs_and_imaging WHERE hiv_viral_load IS NOT NULL GROUP BY person_id) AS latest_tests', - 'latest_tests ON cm.patient_id = latest_tests.person_id' - ], - [ - 'etl.flat_labs_and_imaging', - 'fl', - 'latest_tests.person_id = fl.person_id', - 'and', - 'latest_tests.latest_test_datetime = fl.test_datetime' - ] - ] - }; - - db.queryDb(queryParts) - .then(function (data) { - console.log('data', data); - resolve(data.result); - }) - .catch((error) => { - reject(error); - }); - }); - } return { getPatientHivSummary: getPatientHivSummary, getPatientOncologySummary: getPatientOncologySummary, @@ -827,7 +762,6 @@ module.exports = (function () { getPatientCountGroupedByLocation: getPatientCountGroupedByLocation, getPatientDetailsGroupedByLocation: getPatientDetailsGroupedByLocation, getHivNegativesPatientSummary: getHivNegativesPatientSummary, - getPatientsLatestHivSummmary: getPatientsLatestHivSummmary, - getPatientsSuppressionRate: getPatientsSuppressionRate + getPatientsLatestHivSummmary: getPatientsLatestHivSummmary }; })(); diff --git a/etl-routes.js b/etl-routes.js index fed36a007..5afebd42c 100755 --- a/etl-routes.js +++ b/etl-routes.js @@ -6293,31 +6293,6 @@ module.exports = (function () { tags: ['api'] } }, - { - method: 'GET', - path: '/etl/cohort-modules/{cohortUuid}', - config: { - auth: 'simple', - plugins: {}, - handler: function (request, reply) { - const { cohortUuid } = request.params; - console.log('req', cohortUuid); - const cohortService = new CohortModuleService(); - cohortService - .getCohortOtzModules(cohortUuid) - .then(function (cohortUsers) { - reply(cohortUsers); - }) - .catch(function (error) { - reply(new Boom(500, 'Internal server error.', '', '', error)); - }); - }, - description: 'Get cohort modules for otz cohort group', - notes: - 'Api endpoint that returns cohort users based on the cohort uuid', - tags: ['api'] - } - }, { method: 'GET', path: '/etl/hiv-latest-summaries', @@ -6329,9 +6304,8 @@ module.exports = (function () { reply(summary); }); }, - description: 'Get cohort modules for otz cohort group', - notes: - 'Api endpoint that returns cohort users based on the cohort uuid', + description: 'Get cohort hiv summaries', + notes: 'Api endpoint that returns cohort hiv summaries', tags: ['api'] } }, @@ -6342,14 +6316,19 @@ module.exports = (function () { auth: 'simple', plugins: {}, handler: function (request, reply) { - dao.getPatientsSuppressionRate(request).then((summary) => { - console.log('summary', summary); - reply(summary); - }); + const { uuid } = request.query; + const cohortService = new CohortModuleService(); + cohortService + .getCohortSummary(uuid) + .then(function (cohortUsers) { + reply(cohortUsers); + }) + .catch(function (error) { + reply(new Boom(500, 'Internal server error.', '', '', error)); + }); }, - description: 'Get cohort modules for otz cohort group', - notes: - 'Api endpoint that returns cohort users based on the cohort uuid', + description: 'Get cohort viral load suppression rate', + notes: 'Api endpoint that returns cohort viral load suppression rate', tags: ['api'] } } From a4a0aaa9b0a5d29fb4e0102dd71e9a6d35714ce8 Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:32:41 +0300 Subject: [PATCH 48/62] added week fix --- service/surge-reports/surge-report.service.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/service/surge-reports/surge-report.service.js b/service/surge-reports/surge-report.service.js index dbfd172d4..d56608519 100644 --- a/service/surge-reports/surge-report.service.js +++ b/service/surge-reports/surge-report.service.js @@ -163,7 +163,17 @@ export class SurgeService extends SurgeMultiDatasetPatientlistReport { determineSurgeReportSourceTables(yearWeek) { const self = this; - if (yearWeek >= moment().year() + '' + moment().week() - 1) { + var currentYear = moment().year(); + var currentWeek = moment().week() - 1; + if (currentWeek < 10) { + currentWeek = '0' + currentWeek; + } + + const diffWeek = currentYear + '' + currentWeek; + + console.log('yearWeek: ', yearWeek); + console.log('oldYear: ', diffWeek); + if (yearWeek >= diffWeek) { return (self.params.surgeWeeklyDatasetSource = 'etl.surge_weekly_report_dataset_2022'); } else { From 9b90798f553ee97d663b90d1fad0b7b2e52a4c7b Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:39:11 +0300 Subject: [PATCH 49/62] added week fix --- service/surge-reports/surge-report.service.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/service/surge-reports/surge-report.service.js b/service/surge-reports/surge-report.service.js index d56608519..1aa800ff4 100644 --- a/service/surge-reports/surge-report.service.js +++ b/service/surge-reports/surge-report.service.js @@ -170,9 +170,6 @@ export class SurgeService extends SurgeMultiDatasetPatientlistReport { } const diffWeek = currentYear + '' + currentWeek; - - console.log('yearWeek: ', yearWeek); - console.log('oldYear: ', diffWeek); if (yearWeek >= diffWeek) { return (self.params.surgeWeeklyDatasetSource = 'etl.surge_weekly_report_dataset_2022'); From 9b24e5a4ca5895aaefecd630c49c62174350fc9c Mon Sep 17 00:00:00 2001 From: sainingo Date: Fri, 15 Dec 2023 15:32:17 +0300 Subject: [PATCH 50/62] Update query to use location uuid --- app/otz/cohort-module.service.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/otz/cohort-module.service.js b/app/otz/cohort-module.service.js index 5e7c14f14..72321c58f 100644 --- a/app/otz/cohort-module.service.js +++ b/app/otz/cohort-module.service.js @@ -20,6 +20,8 @@ export class CohortModuleService { 0) AS suppression_rate_percentage FROM amrs.cohort c + LEFT JOIN + amrs.location l ON l.location_id = c.location_id INNER JOIN amrs.cohort_member cm ON c.cohort_id = cm.cohort_id LEFT JOIN @@ -34,7 +36,7 @@ export class CohortModuleService { etl.flat_labs_and_imaging fl ON latest_tests.person_id = fl.person_id AND latest_tests.latest_test_datetime = fl.test_datetime WHERE - c.uuid in (${uuids}) + l.uuid = '${cohortUuids}' GROUP BY c.cohort_id; `; From 1d509365da886c601a96704e6b24d670c3e94f13 Mon Sep 17 00:00:00 2001 From: sainingo Date: Tue, 19 Dec 2023 14:33:20 +0300 Subject: [PATCH 51/62] work on defaulter tracing --- app/reporting-framework/json-reports/defaulter-list-base.json | 2 +- 1 file changed, 1 insertion(+), 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 7273b4c10..2cbdfbc35 100644 --- a/app/reporting-framework/json-reports/defaulter-list-base.json +++ b/app/reporting-framework/json-reports/defaulter-list-base.json @@ -18,7 +18,7 @@ } }, { - "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)", + "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) group by am.patient_id)", "alias": "am", "join": { "type": "INNER", From 3a781a43cdb8257b8eea273af8c59c37bdc719f0 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Tue, 19 Dec 2023 15:37:15 +0300 Subject: [PATCH 52/62] [bug-fix]: fixed missing blood pressure values in the DQA chart --- .../DQA/dqa-chart-abstraction-report-dao.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index b783dc969..c0b5c0364 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -91,12 +91,18 @@ export class DQAChartAbstractionDAO { etl.flat_hiv_summary_v15b e on (h.encounter_id=e.encounter_id) LEFT JOIN etl.flat_hiv_summary_v15b ls on (ls.next_clinical_datetime_hiv is null and ls.person_id=e.person_id) - left JOIN (SELECT fv.person_id, - fv.systolic_bp, - fv.diastolic_bp, - MAX(fv.encounter_datetime) AS max_date - FROM etl.flat_vitals fv where diastolic_bp is not null - GROUP BY fv.person_id,fv.encounter_datetime order by fv.encounter_datetime desc limit 1) fv ON e.person_id = fv.person_id + left JOIN (SELECT + person_id, + systolic_bp, + diastolic_bp, + MAX(encounter_datetime) AS max_date + FROM + etl.flat_vitals + WHERE + systolic_bp IS NOT NULL + AND diastolic_bp IS NOT NULL + GROUP BY person_id , encounter_datetime + ORDER BY encounter_datetime) fv ON e.person_id = fv.person_id INNER JOIN amrs.person t1 ON (h.person_id = t1.person_id) INNER JOIN From 82df81ba901bfeaee04e2f1a0a22b62073085812 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Tue, 19 Dec 2023 16:09:22 +0300 Subject: [PATCH 53/62] [fix]: added check for bp starting from end date going back --- reports/DQA/dqa-chart-abstraction-report-dao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index c0b5c0364..782133f86 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -100,7 +100,7 @@ export class DQAChartAbstractionDAO { etl.flat_vitals WHERE systolic_bp IS NOT NULL - AND diastolic_bp IS NOT NULL + AND diastolic_bp IS NOT NULL AND encounter_datetime <= '`+ endDate +`' GROUP BY person_id , encounter_datetime ORDER BY encounter_datetime) fv ON e.person_id = fv.person_id INNER JOIN From 4f6c173069d2f13a462cd93f045e0a60fbfa431b Mon Sep 17 00:00:00 2001 From: henrykorir Date: Fri, 5 Jan 2024 10:48:17 +0300 Subject: [PATCH 54/62] POC-610: added sql logic to get nascop dqa columns POC-610: fixed the query to retrieve TX_Curr POC-610: added sql logic to get nascop dqa columns POC-610: added sql logic to get nascop dqa columns POC-610: added sql logic to get nascop dqa columns --- .../DQA/dqa-chart-abstraction-report-dao.js | 252 +++++++++++------- 1 file changed, 157 insertions(+), 95 deletions(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index 782133f86..d278c1428 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -28,108 +28,170 @@ export class DQAChartAbstractionDAO { limit === 'all' ? '' : `limit ` + limit + ` offset ` + offset; let sqlQuery = ` - SELECT - h.person_uuid as uuid, - cc.identifier as ccc_number, - np.identifier as upi_number, - ov.identifier as ovcid_id, - EXTRACT(YEAR FROM (FROM_DAYS(DATEDIFF(NOW(), h.birthdate)))) AS age, - IF( date(h.tb_screening_datetime) > date_sub(h.endDate, interval 6 month),"YES","NO") as tb_screened_this_visit, - h.gender as 'sex_gender', - e.height, - e.weight, - DATE_FORMAT(h.birthdate,'%Y-%m-%d') AS birthdate, - h.encounter_id, - DATE_FORMAT(h.encounter_date,'%Y-%m-%d') as last_appointment_date, - h.rtc_date, - h.location_id, - h.cur_arv_meds, - h.tb_screen, - h.tb_screening_datetime, - e.hiv_start_date, - h.arv_start_date, - e.cd4_1, - ls.encounter_datetime AS last_clinical_encounter, - DATE_FORMAT(h.rtc_date,'%Y-%m-%d') as next_appointment, - h.vl_1, - case - when e.weight is not null and e.height is not null then 'YES' - else 'NO' - end as nutrition, - case - when e.visit_type in (37,58) then 'CARG' - when e.visit_type in (43,80,104,118,120,123) then 'Treatment Supporter' - else 'Self' - end as visit_type, - h.cur_arv_meds_names AS drugs_given, - case - when e.height is not null and e.weight is not null then e.weight/((e.height/100) * (e.height/100)) - else null - end as BMI, - IF(p.program_id = 9, 'DC', 'Standard') AS DSD, - TIMESTAMPDIFF(DAY,h.encounter_date,h.rtc_date) AS drugs_duration, - IF(h.ipt_start_date = h.encounter_date, - 1, - 0) AS ipt_started_this_visit, - DATE_FORMAT(h.ipt_start_date,'%Y-%m-%d') AS last_ipt_start_date, - case - when e.on_ipt = 1 then 'CONTINUING' - when e.ipt_completion_date is null and e.ipt_stop_date is not null then 'DISCONTINUED' - when e.ipt_completion_date is not null + SELECT + h.person_uuid as uuid, + cc.identifier as ccc_number, + np.identifier as upi_number, + -- ov.identifier as ovcid_id, + EXTRACT(YEAR FROM (FROM_DAYS(DATEDIFF(NOW(), h.birthdate)))) AS age, + IF( date(h.tb_screening_datetime) > date_sub(h.endDate, interval 6 month), + "YES", + "NO") as tb_screened_this_visit, + h.gender as 'sex_gender', + e.height, + e.weight, + DATE_FORMAT(h.birthdate, '%Y-%m-%d') AS birthdate, + h.encounter_id, + DATE_FORMAT(h.encounter_date, '%Y-%m-%d') as last_appointment_date, + h.rtc_date, + h.location_id, + h.cur_arv_meds, + h.tb_screen, + h.tb_screening_datetime, + e.hiv_start_date, + h.arv_start_date, + e.cd4_1, + -- ls.encounter_datetime AS last_clinical_encounter, + e.encounter_datetime AS last_clinical_encounter, + DATE_FORMAT(h.rtc_date, '%Y-%m-%d') as next_appointment, + h.vl_1, + case + when e.weight is not null + and e.height is not null then 'YES' + else 'NO' + end as nutrition, + case + when e.visit_type in (37, 58) then 'CARG' + when e.visit_type in (43, 80, 104, 118, 120, 123) then 'Treatment Supporter' + else 'Self' + end as visit_type, + h.cur_arv_meds_names AS drugs_given, + case + when e.height is not null + and e.weight is not null then e.weight /((e.height / 100) * (e.height / 100)) + else null + end as BMI, + IF(p.program_id = 9, + 'DC', + 'Standard') AS DSD, + TIMESTAMPDIFF(DAY, + h.encounter_date, + h.rtc_date) AS drugs_duration, + IF(h.ipt_start_date = h.encounter_date, + 1, + 0) AS ipt_started_this_visit, + DATE_FORMAT(h.ipt_start_date, '%Y-%m-%d') AS last_ipt_start_date, + case + when e.on_ipt = 1 then 'CONTINUING' + when e.ipt_completion_date is null + and e.ipt_stop_date is not null then 'DISCONTINUED' + when e.ipt_completion_date is not null then 'COMPLETED' - else 'NA' - end as tpt_status, - h.ipt_stop_date, - h.ipt_completion_date, - IF(h.ipt_stop_date = h.encounter_date - OR h.ipt_completion_date = h.encounter_date, - 1, - 0) AS ipt_ended_this_visit,fv.systolic_bp as sysBP,fv.diastolic_bp as dysBP - FROM - etl.hiv_monthly_report_dataset_frozen h - LEFT JOIN - etl.flat_hiv_summary_v15b e on (h.encounter_id=e.encounter_id) - LEFT JOIN - etl.flat_hiv_summary_v15b ls on (ls.next_clinical_datetime_hiv is null and ls.person_id=e.person_id) - left JOIN (SELECT - person_id, - systolic_bp, - diastolic_bp, - MAX(encounter_datetime) AS max_date - FROM - etl.flat_vitals - WHERE - systolic_bp IS NOT NULL - AND diastolic_bp IS NOT NULL AND encounter_datetime <= '`+ endDate +`' - GROUP BY person_id , encounter_datetime - ORDER BY encounter_datetime) fv ON e.person_id = fv.person_id - INNER JOIN - amrs.person t1 ON (h.person_id = t1.person_id) - INNER JOIN - amrs.person_name person_name ON (t1.person_id = person_name.person_id AND (person_name.voided = 0 || person_name.voided = 0)) - LEFT JOIN - amrs.patient_identifier id ON (t1.person_id = id.patient_id AND id.voided = 0) - LEFT JOIN - amrs.patient_identifier cc ON (t1.person_id = cc.patient_id and cc.identifier_type in (28) AND cc.voided = 0) - LEFT JOIN - amrs.patient_identifier ov ON (t1.person_id = ov.patient_id and ov.identifier_type in (43) AND ov.voided = 0) - LEFT JOIN - amrs.patient_identifier np ON (t1.person_id = np.patient_id and np.identifier_type in (45) AND np.voided = 0) - left join amrs.patient_program p on (p.patient_id = h.person_id and p.program_id in (4,9) and p.date_completed is null and p.voided = 0) - WHERE h.status = "active" and visit_this_month=1 - AND h.endDate >= '` + + else 'NA' + end as tpt_status, + h.ipt_stop_date, + h.ipt_completion_date, + e.cur_who_stage, + e.cd4_1, + fv.muac, + IF(h.ipt_stop_date = h.encounter_date + OR h.ipt_completion_date = h.encounter_date, + 1, + 0) AS ipt_ended_this_visit, + fv.systolic_bp as sysBP, + fv.diastolic_bp as dysBP, + h.status, + IF((o.value_coded IS NULL), 'NO', 'YES') AS is_crag_screened, + case + when (h.vl_1 < 200) then 'suppressed' + when (h.vl_1 >= 200) then 'unsuppressed' + end as vl_suppression, + case + when (e.tb_screening_result = 6971) then 'Pr TB' + when (e.tb_screening_result = 6137) then 'confirmed' + when (e.tb_screening_result = 1107 OR e.tb_screening_result = 10678) then 'No TB' + when (e.tb_screening_result = 10767) then 'TB tx' + when (e.tb_screening_result = 10974) then 'INH' + end as tb_screening_result +FROM + etl.hiv_monthly_report_dataset_v1_2 h +LEFT JOIN + etl.flat_hiv_summary_v15b e on + (h.encounter_id = e.encounter_id) +-- LEFT JOIN +-- etl.flat_hiv_summary_v15b ls on +-- (ls.next_clinical_datetime_hiv is null +-- and ls.person_id = e.person_id) +left JOIN ( + SELECT + *, + MAX(encounter_datetime) AS max_date + FROM + etl.flat_vitals + WHERE + -- systolic_bp IS NOT NULL + -- AND diastolic_bp IS NOT NULL + -- AND + encounter_datetime <= '` + + endDate + + `' + GROUP BY + person_id , + encounter_datetime + ORDER BY + encounter_datetime) fv ON + e.person_id = fv.person_id +INNER JOIN + amrs.person t1 ON + (h.person_id = t1.person_id) +INNER JOIN + amrs.person_name person_name ON + (t1.person_id = person_name.person_id + AND (person_name.voided = 0)) +-- LEFT JOIN +-- amrs.patient_identifier id ON +-- (t1.person_id = id.patient_id +-- AND id.voided = 0) +INNER JOIN + amrs.patient_identifier cc ON + (t1.person_id = cc.patient_id + and cc.identifier_type in (28) + AND cc.voided = 0) +-- LEFT JOIN +-- amrs.patient_identifier ov ON +-- (t1.person_id = ov.patient_id +-- and ov.identifier_type in (43) +-- AND ov.voided = 0) +LEFT JOIN + amrs.patient_identifier np ON + (t1.person_id = np.patient_id + and np.identifier_type in (45) + AND np.voided = 0) +left join amrs.patient_program p on + (p.patient_id = h.person_id + and p.program_id in (4, 9) + and p.date_completed is null + and p.voided = 0) +LEFT JOIN amrs.obs o ON + (o.encounter_id = h.encounter_id + AND o.person_id = h.person_id and o.concept_id = 9812 and o.voided = 0) +WHERE +h.endDate >= '` + startDate + `' - AND h.endDate <= '` + +AND h.endDate <= '` + endDate + `' - AND h.location_id IN (` + + AND h.location_id IN (` + locations + - `) AND ` + + `) + AND ` + where + - ` - GROUP BY h.person_id - ORDER BY RAND() DESC ` + + ` +GROUP BY + h.person_id +ORDER BY + RAND() DESC ` + limitOffSetDefinition; return new Promise((resolve, reject) => { From ad64510b133b7102c247229dcec04fcdea9430d9 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Thu, 11 Jan 2024 10:01:19 +0300 Subject: [PATCH 55/62] POC-610: DQA Report Update --- reports/DQA/dqa-chart-abstraction-report-dao.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index d278c1428..014ff7347 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -108,9 +108,9 @@ export class DQAChartAbstractionDAO { end as vl_suppression, case when (e.tb_screening_result = 6971) then 'Pr TB' - when (e.tb_screening_result = 6137) then 'confirmed' + when (e.tb_screening_result = 6137) then 'Confirmed' when (e.tb_screening_result = 1107 OR e.tb_screening_result = 10678) then 'No TB' - when (e.tb_screening_result = 10767) then 'TB tx' + when (e.tb_screening_result = 10767) then 'TB Rx' when (e.tb_screening_result = 10974) then 'INH' end as tb_screening_result FROM From f5c9e0c669142bb71adb23bda3fac7795b064f6f Mon Sep 17 00:00:00 2001 From: henrykorir Date: Thu, 11 Jan 2024 13:14:13 +0300 Subject: [PATCH 56/62] POC-610: DQA Report Update --- .../DQA/dqa-chart-abstraction-report-dao.js | 37 ++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index 014ff7347..c92233dea 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -30,9 +30,12 @@ export class DQAChartAbstractionDAO { ` SELECT h.person_uuid as uuid, - cc.identifier as ccc_number, - np.identifier as upi_number, + -- cc.identifier as ccc_number, + -- np.identifier as upi_number, -- ov.identifier as ovcid_id, + max(case WHEN id.identifier_type in (28) then id.identifier end) AS ccc_number, + max(case WHEN id.identifier_type in (43) then id.identifier end) AS ovc_number, + max(case WHEN id.identifier_type in (45) then id.identifier end) AS upi_number, EXTRACT(YEAR FROM (FROM_DAYS(DATEDIFF(NOW(), h.birthdate)))) AS age, IF( date(h.tb_screening_datetime) > date_sub(h.endDate, interval 6 month), "YES", @@ -148,25 +151,25 @@ INNER JOIN amrs.person_name person_name ON (t1.person_id = person_name.person_id AND (person_name.voided = 0)) --- LEFT JOIN --- amrs.patient_identifier id ON --- (t1.person_id = id.patient_id --- AND id.voided = 0) -INNER JOIN - amrs.patient_identifier cc ON - (t1.person_id = cc.patient_id - and cc.identifier_type in (28) - AND cc.voided = 0) + INNER JOIN + amrs.patient_identifier id ON + (t1.person_id = id.patient_id + AND id.voided = 0) +-- INNER JOIN +-- amrs.patient_identifier cc ON +-- (t1.person_id = cc.patient_id +-- and cc.identifier_type in (28) +-- AND cc.voided = 0) -- LEFT JOIN -- amrs.patient_identifier ov ON -- (t1.person_id = ov.patient_id -- and ov.identifier_type in (43) -- AND ov.voided = 0) -LEFT JOIN - amrs.patient_identifier np ON - (t1.person_id = np.patient_id - and np.identifier_type in (45) - AND np.voided = 0) +-- LEFT JOIN +-- amrs.patient_identifier np ON +-- (t1.person_id = np.patient_id +-- and np.identifier_type in (45) +-- AND np.voided = 0) left join amrs.patient_program p on (p.patient_id = h.person_id and p.program_id in (4, 9) @@ -175,7 +178,7 @@ left join amrs.patient_program p on LEFT JOIN amrs.obs o ON (o.encounter_id = h.encounter_id AND o.person_id = h.person_id and o.concept_id = 9812 and o.voided = 0) -WHERE +WHERE h.endDate >= '` + startDate + `' From a6b01d692b1c628f364a7df47efc90a3c831a746 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Fri, 12 Jan 2024 16:08:06 +0300 Subject: [PATCH 57/62] POC-610: Optimized the DQA Query POC-610: Optimized DQA Query --- .../DQA/dqa-chart-abstraction-report-dao.js | 273 ++++++++---------- 1 file changed, 123 insertions(+), 150 deletions(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index c92233dea..298dbecf4 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -28,157 +28,131 @@ export class DQAChartAbstractionDAO { limit === 'all' ? '' : `limit ` + limit + ` offset ` + offset; let sqlQuery = ` - SELECT - h.person_uuid as uuid, - -- cc.identifier as ccc_number, - -- np.identifier as upi_number, - -- ov.identifier as ovcid_id, - max(case WHEN id.identifier_type in (28) then id.identifier end) AS ccc_number, - max(case WHEN id.identifier_type in (43) then id.identifier end) AS ovc_number, - max(case WHEN id.identifier_type in (45) then id.identifier end) AS upi_number, - EXTRACT(YEAR FROM (FROM_DAYS(DATEDIFF(NOW(), h.birthdate)))) AS age, - IF( date(h.tb_screening_datetime) > date_sub(h.endDate, interval 6 month), - "YES", - "NO") as tb_screened_this_visit, - h.gender as 'sex_gender', - e.height, - e.weight, - DATE_FORMAT(h.birthdate, '%Y-%m-%d') AS birthdate, - h.encounter_id, - DATE_FORMAT(h.encounter_date, '%Y-%m-%d') as last_appointment_date, - h.rtc_date, - h.location_id, - h.cur_arv_meds, - h.tb_screen, - h.tb_screening_datetime, - e.hiv_start_date, - h.arv_start_date, - e.cd4_1, - -- ls.encounter_datetime AS last_clinical_encounter, - e.encounter_datetime AS last_clinical_encounter, - DATE_FORMAT(h.rtc_date, '%Y-%m-%d') as next_appointment, - h.vl_1, - case - when e.weight is not null - and e.height is not null then 'YES' - else 'NO' - end as nutrition, - case - when e.visit_type in (37, 58) then 'CARG' - when e.visit_type in (43, 80, 104, 118, 120, 123) then 'Treatment Supporter' - else 'Self' - end as visit_type, - h.cur_arv_meds_names AS drugs_given, - case - when e.height is not null - and e.weight is not null then e.weight /((e.height / 100) * (e.height / 100)) - else null - end as BMI, - IF(p.program_id = 9, - 'DC', - 'Standard') AS DSD, - TIMESTAMPDIFF(DAY, - h.encounter_date, - h.rtc_date) AS drugs_duration, - IF(h.ipt_start_date = h.encounter_date, - 1, - 0) AS ipt_started_this_visit, - DATE_FORMAT(h.ipt_start_date, '%Y-%m-%d') AS last_ipt_start_date, - case - when e.on_ipt = 1 then 'CONTINUING' - when e.ipt_completion_date is null - and e.ipt_stop_date is not null then 'DISCONTINUED' - when e.ipt_completion_date is not null - then 'COMPLETED' - else 'NA' - end as tpt_status, - h.ipt_stop_date, - h.ipt_completion_date, - e.cur_who_stage, - e.cd4_1, - fv.muac, - IF(h.ipt_stop_date = h.encounter_date - OR h.ipt_completion_date = h.encounter_date, - 1, - 0) AS ipt_ended_this_visit, - fv.systolic_bp as sysBP, - fv.diastolic_bp as dysBP, - h.status, - IF((o.value_coded IS NULL), 'NO', 'YES') AS is_crag_screened, - case - when (h.vl_1 < 200) then 'suppressed' - when (h.vl_1 >= 200) then 'unsuppressed' - end as vl_suppression, - case - when (e.tb_screening_result = 6971) then 'Pr TB' - when (e.tb_screening_result = 6137) then 'Confirmed' - when (e.tb_screening_result = 1107 OR e.tb_screening_result = 10678) then 'No TB' - when (e.tb_screening_result = 10767) then 'TB Rx' - when (e.tb_screening_result = 10974) then 'INH' - end as tb_screening_result + SELECT + h.person_uuid AS uuid, + fpiv.ccc AS ccc_number, + fpiv.nupi AS upi_number, + fpiv.ovcid AS ovcid_id, + EXTRACT(YEAR FROM (FROM_DAYS(DATEDIFF(NOW(), h.birthdate)))) AS age, + IF(DATE(h.tb_screening_datetime) > DATE_SUB(h.endDate, INTERVAL 6 MONTH), + 'YES', + 'NO') AS tb_screened_this_visit, + h.gender AS 'sex_gender', + e.height, + e.weight, + DATE_FORMAT(h.birthdate, '%Y-%m-%d') AS birthdate, + h.encounter_id, + DATE_FORMAT(h.encounter_date, '%Y-%m-%d') AS last_appointment_date, + h.rtc_date, + h.location_id, + h.cur_arv_meds, + h.tb_screen, + h.tb_screening_datetime, + e.hiv_start_date, + h.arv_start_date, + e.cd4_1, + e.encounter_datetime AS last_clinical_encounter, + DATE_FORMAT(h.rtc_date, '%Y-%m-%d') AS next_appointment, + h.vl_1, + CASE + WHEN + e.weight IS NOT NULL + AND e.height IS NOT NULL + THEN + 'YES' + ELSE 'NO' + END AS nutrition, + CASE + WHEN e.visit_type IN (37 , 58) THEN 'CARG' + WHEN e.visit_type IN (43 , 80, 104, 118, 120, 123) THEN 'Treatment Supporter' + ELSE 'Self' + END AS visit_type, + h.cur_arv_meds_names AS drugs_given, + CASE + WHEN + e.height IS NOT NULL + AND e.weight IS NOT NULL + THEN + e.weight / ((e.height / 100) * (e.height / 100)) + ELSE NULL + END AS BMI, + IF(p.program_id = 9, 'DC', 'Standard') AS DSD, + TIMESTAMPDIFF(DAY, + h.encounter_date, + h.rtc_date) AS drugs_duration, + IF(h.ipt_start_date = h.encounter_date, + 1, + 0) AS ipt_started_this_visit, + DATE_FORMAT(h.ipt_start_date, '%Y-%m-%d') AS last_ipt_start_date, + CASE + WHEN e.on_ipt = 1 THEN 'CONTINUING' + WHEN + e.ipt_completion_date IS NULL + AND e.ipt_stop_date IS NOT NULL + THEN + 'DISCONTINUED' + WHEN e.ipt_completion_date IS NOT NULL THEN 'COMPLETED' + ELSE 'NA' + END AS tpt_status, + h.ipt_stop_date, + h.ipt_completion_date, + e.cur_who_stage, + e.cd4_1, + fv.muac, + IF(h.ipt_stop_date = h.encounter_date + OR h.ipt_completion_date = h.encounter_date, + 1, + 0) AS ipt_ended_this_visit, + fv.systolic_bp AS sysBP, + fv.diastolic_bp AS dysBP, + h.status, + IF((o.value_coded IS NULL), 'NO', 'YES') AS is_crag_screened, + CASE + WHEN (h.vl_1 < 200) THEN 'suppressed' + WHEN (h.vl_1 >= 200) THEN 'unsuppressed' + END AS vl_suppression, + CASE + WHEN (e.tb_screening_result = 6971) THEN 'Pr TB' + WHEN (e.tb_screening_result = 6137) THEN 'Confirmed' + WHEN (e.tb_screening_result IN (1107 , 10678)) THEN 'No TB' + WHEN (e.tb_screening_result = 10767) THEN 'TB Rx' + WHEN (e.tb_screening_result = 10974) THEN 'INH' + END AS tb_screening_result FROM - etl.hiv_monthly_report_dataset_v1_2 h -LEFT JOIN - etl.flat_hiv_summary_v15b e on - (h.encounter_id = e.encounter_id) --- LEFT JOIN --- etl.flat_hiv_summary_v15b ls on --- (ls.next_clinical_datetime_hiv is null --- and ls.person_id = e.person_id) -left JOIN ( - SELECT - *, - MAX(encounter_datetime) AS max_date - FROM - etl.flat_vitals - WHERE - -- systolic_bp IS NOT NULL - -- AND diastolic_bp IS NOT NULL - -- AND - encounter_datetime <= '` + + etl.hiv_monthly_report_dataset_v1_2 h + LEFT JOIN + etl.flat_hiv_summary_v15b e ON (h.encounter_id = e.encounter_id) + LEFT JOIN +-- etl.flat_hiv_summary_v15b ls ON (ls.next_clinical_datetime_hiv IS NULL +-- AND ls.person_id = e.person_id) +-- LEFT JOIN +-- (SELECT +-- *, MAX(encounter_datetime) AS max_date +-- FROM +-- etl.flat_vitals +-- WHERE +-- encounter_datetime <= '` + endDate + `' - GROUP BY - person_id , - encounter_datetime - ORDER BY - encounter_datetime) fv ON - e.person_id = fv.person_id -INNER JOIN - amrs.person t1 ON - (h.person_id = t1.person_id) -INNER JOIN - amrs.person_name person_name ON - (t1.person_id = person_name.person_id - AND (person_name.voided = 0)) - INNER JOIN - amrs.patient_identifier id ON - (t1.person_id = id.patient_id - AND id.voided = 0) --- INNER JOIN --- amrs.patient_identifier cc ON --- (t1.person_id = cc.patient_id --- and cc.identifier_type in (28) --- AND cc.voided = 0) --- LEFT JOIN --- amrs.patient_identifier ov ON --- (t1.person_id = ov.patient_id --- and ov.identifier_type in (43) --- AND ov.voided = 0) --- LEFT JOIN --- amrs.patient_identifier np ON --- (t1.person_id = np.patient_id --- and np.identifier_type in (45) --- AND np.voided = 0) -left join amrs.patient_program p on - (p.patient_id = h.person_id - and p.program_id in (4, 9) - and p.date_completed is null - and p.voided = 0) -LEFT JOIN amrs.obs o ON - (o.encounter_id = h.encounter_id - AND o.person_id = h.person_id and o.concept_id = 9812 and o.voided = 0) -WHERE +-- GROUP BY person_id , encounter_datetime +-- ORDER BY encounter_datetime) + etl.flat_vitals fv ON (e.person_id = fv.person_id) + INNER JOIN + amrs.person t1 ON (h.person_id = t1.person_id) + inner JOIN + etl.flat_patient_identifiers_v1 fpiv ON (t1.person_id = fpiv.patient_id and fpiv.ccc is not null) + LEFT JOIN + amrs.patient_program p ON (p.patient_id = h.person_id + AND p.program_id IN (4 , 9) + AND p.date_completed IS NULL + AND p.voided = 0) + LEFT JOIN + amrs.obs o ON (o.encounter_id = e.encounter_id + AND o.person_id = h.person_id + AND o.concept_id = 9812 + AND o.voided = 0 and e.is_clinical_encounter = 1) +WHERE + e.encounter_datetime >= "2022-01-01" AND (e.weight is not null) AND h.endDate >= '` + startDate + `' @@ -193,8 +167,7 @@ AND h.endDate <= '` + ` GROUP BY h.person_id -ORDER BY - RAND() DESC ` + + ` + limitOffSetDefinition; return new Promise((resolve, reject) => { From d7576551fb9dfd11d121ac38ee0506548c9b87b0 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Sat, 13 Jan 2024 00:36:48 +0300 Subject: [PATCH 58/62] POC-610: Modified DQA Query to suit indicators requested POC-610: Modified query to get DQA as per nascop indicators POC-610: Updated DQA Report to reflect updated indicators --- .../DQA/dqa-chart-abstraction-report-dao.js | 128 +++++++++--------- 1 file changed, 61 insertions(+), 67 deletions(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index 298dbecf4..6561f7e7e 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -14,13 +14,13 @@ export class DQAChartAbstractionDAO { let where = ''; switch (patientType) { case 'PEADS': - where = `EXTRACT(YEAR FROM (FROM_DAYS(DATEDIFF(NOW(), h.birthdate)))) < 15`; + where = `TIMESTAMPDIFF(YEAR, h.birthdate, '` + endDate + `') < 15`; break; case 'PMTCT': where = `p.program_id = 4`; break; default: - where = `EXTRACT(YEAR FROM (FROM_DAYS(DATEDIFF(NOW(), h.birthdate)))) >= 15`; + where = `TIMESTAMPDIFF(YEAR, h.birthdate, '` + endDate + `') >= 15`; } let runner = this.getSqlRunner(); @@ -31,42 +31,48 @@ export class DQAChartAbstractionDAO { SELECT h.person_uuid AS uuid, fpiv.ccc AS ccc_number, - fpiv.nupi AS upi_number, - fpiv.ovcid AS ovcid_id, - EXTRACT(YEAR FROM (FROM_DAYS(DATEDIFF(NOW(), h.birthdate)))) AS age, + IF((fpiv.nupi IS NOT NULL), fpiv.nupi, 'missing') AS NUPI, + TIMESTAMPDIFF(year,h.birthdate,'` + + endDate + + `') AS age, IF(DATE(h.tb_screening_datetime) > DATE_SUB(h.endDate, INTERVAL 6 MONTH), - 'YES', - 'NO') AS tb_screened_this_visit, - h.gender AS 'sex_gender', + 'Yes', + 'No') AS tb_screened_this_visit, + CASE + WHEN (h.gender = 'F') then 'Female' + WHEN (h.gender = 'M') then 'Male' + ELSE 'missing' + END AS 'sex_gender', e.height, e.weight, - DATE_FORMAT(h.birthdate, '%Y-%m-%d') AS birthdate, + DATE_FORMAT(h.birthdate, "%d-%b-%Y") AS birthdate, h.encounter_id, - DATE_FORMAT(h.encounter_date, '%Y-%m-%d') AS last_appointment_date, + DATE_FORMAT(h.encounter_date, "%d-%b-%Y") AS last_appointment_date, h.rtc_date, h.location_id, h.cur_arv_meds, + CASE + WHEN (h.cur_arv_meds_names regexp '[[:<:]]DTG[[:>:]]') THEN 'DTG-based' + WHEN (h.cur_arv_meds_names NOT regexp '[[:<:]]DTG[[:>:]]') THEN 'Non-DTG-based' + ELSE 'NON DTG' + END as cur_arv_med_basis, h.tb_screen, - h.tb_screening_datetime, - e.hiv_start_date, + DATE_FORMAT(h.tb_screening_datetime,"%d-%b-%Y") as tb_screening_datetime, + DATE_FORMAT(e.hiv_start_date,"%d-%b-%Y") as hiv_start_date, h.arv_start_date, + DATE_FORMAT(h.arv_first_regimen_start_date,"%d-%b-%Y") as arv_first_regimen_start_date, e.cd4_1, - e.encounter_datetime AS last_clinical_encounter, - DATE_FORMAT(h.rtc_date, '%Y-%m-%d') AS next_appointment, + IF((e.cd4_1 IS NOT NULL), 'Y', 'N') as has_cd4_1, + DATE_FORMAT(e.encounter_datetime, "%d-%b-%Y") AS last_clinical_encounter, + DATE_FORMAT(h.rtc_date, "%d-%b-%Y") AS next_appointment, h.vl_1, CASE - WHEN - e.weight IS NOT NULL - AND e.height IS NOT NULL - THEN - 'YES' - ELSE 'NO' - END AS nutrition, - CASE - WHEN e.visit_type IN (37 , 58) THEN 'CARG' - WHEN e.visit_type IN (43 , 80, 104, 118, 120, 123) THEN 'Treatment Supporter' - ELSE 'Self' - END AS visit_type, + WHEN (TIMESTAMPDIFF(MONTH,h.arv_start_date,'` + + endDate + + `') < 6 ) THEN 'NA' + WHEN (h.vl_1 is NOT NULL) THEN 'Y' + ELSE 'missing' + END AS viral_load_validity, h.cur_arv_meds_names AS drugs_given, CASE WHEN @@ -76,83 +82,71 @@ export class DQAChartAbstractionDAO { e.weight / ((e.height / 100) * (e.height / 100)) ELSE NULL END AS BMI, - IF(p.program_id = 9, 'DC', 'Standard') AS DSD, TIMESTAMPDIFF(DAY, h.encounter_date, h.rtc_date) AS drugs_duration, IF(h.ipt_start_date = h.encounter_date, 1, 0) AS ipt_started_this_visit, - DATE_FORMAT(h.ipt_start_date, '%Y-%m-%d') AS last_ipt_start_date, + DATE_FORMAT(h.ipt_start_date, "%d-%b-%Y") AS last_ipt_start_date, CASE - WHEN e.on_ipt = 1 THEN 'CONTINUING' + WHEN h.on_ipt_this_month = 1 THEN 'continuing' WHEN - e.ipt_completion_date IS NULL - AND e.ipt_stop_date IS NOT NULL + h.ipt_completion_date IS NULL + AND h.ipt_stop_date IS NOT NULL THEN - 'DISCONTINUED' - WHEN e.ipt_completion_date IS NOT NULL THEN 'COMPLETED' + 'Discontinued' + WHEN h.ipt_completion_date IS NOT NULL THEN 'INH Completed' + WHEN (h.on_ipt_this_month = 0 AND h.on_tb_tx_this_month = 0) THEN 'Missing' + WHEN ((TIMESTAMPDIFF(MONTH,h.ipt_start_date,'` + + endDate + + `') < 3) AND h.on_ipt_this_month = 1) THEN 'Defaulted' ELSE 'NA' END AS tpt_status, - h.ipt_stop_date, - h.ipt_completion_date, - e.cur_who_stage, - e.cd4_1, - fv.muac, + DATE_FORMAT(h.ipt_stop_date,"%d-%b-%Y") as ipt_stop_date, + DATE_FORMAT(h.ipt_completion_date, "%d-%b-%Y") as ipt_completion_date, + fv.muac as muac, IF(h.ipt_stop_date = h.encounter_date OR h.ipt_completion_date = h.encounter_date, 1, 0) AS ipt_ended_this_visit, - fv.systolic_bp AS sysBP, - fv.diastolic_bp AS dysBP, h.status, - IF((o.value_coded IS NULL), 'NO', 'YES') AS is_crag_screened, + IF((o.value_coded IS NULL), 'N', 'Y') AS is_crag_screened, CASE - WHEN (h.vl_1 < 200) THEN 'suppressed' - WHEN (h.vl_1 >= 200) THEN 'unsuppressed' + WHEN (h.vl_1 < 200) THEN 'Y' + WHEN (h.vl_1 >= 200) THEN 'N' + ELSE 'Missing' END AS vl_suppression, CASE - WHEN (e.tb_screening_result = 6971) THEN 'Pr TB' - WHEN (e.tb_screening_result = 6137) THEN 'Confirmed' - WHEN (e.tb_screening_result IN (1107 , 10678)) THEN 'No TB' - WHEN (e.tb_screening_result = 10767) THEN 'TB Rx' - WHEN (e.tb_screening_result = 10974) THEN 'INH' + WHEN (e.tb_screening_result IN (6621,1118)) THEN 'TB Screening not done' + WHEN (e.tb_screening_result = 6971) THEN 'Presumed TB' + WHEN (e.tb_screening_result IN (6137, 6176, 10767)) THEN 'TB confirmed' + WHEN (e.tb_screening_result IN (1107 , 10678)) THEN 'No TB signs' + ELSE 'Missing' END AS tb_screening_result FROM etl.hiv_monthly_report_dataset_v1_2 h LEFT JOIN etl.flat_hiv_summary_v15b e ON (h.encounter_id = e.encounter_id) LEFT JOIN --- etl.flat_hiv_summary_v15b ls ON (ls.next_clinical_datetime_hiv IS NULL --- AND ls.person_id = e.person_id) --- LEFT JOIN --- (SELECT --- *, MAX(encounter_datetime) AS max_date --- FROM --- etl.flat_vitals --- WHERE --- encounter_datetime <= '` + - endDate + - `' --- GROUP BY person_id , encounter_datetime --- ORDER BY encounter_datetime) etl.flat_vitals fv ON (e.person_id = fv.person_id) INNER JOIN amrs.person t1 ON (h.person_id = t1.person_id) inner JOIN - etl.flat_patient_identifiers_v1 fpiv ON (t1.person_id = fpiv.patient_id and fpiv.ccc is not null) + etl.flat_patient_identifiers_v1 fpiv ON (t1.person_id = fpiv.patient_id) LEFT JOIN amrs.patient_program p ON (p.patient_id = h.person_id - AND p.program_id IN (4 , 9) + AND p.program_id IN (4) AND p.date_completed IS NULL AND p.voided = 0) LEFT JOIN amrs.obs o ON (o.encounter_id = e.encounter_id AND o.person_id = h.person_id - AND o.concept_id = 9812 - AND o.voided = 0 and e.is_clinical_encounter = 1) + AND o.concept_id in (9812) + AND o.voided = 0 + ) WHERE - e.encounter_datetime >= "2022-01-01" AND (e.weight is not null) AND + h.status = "active" AND h.endDate >= '` + startDate + `' @@ -169,7 +163,7 @@ GROUP BY h.person_id ` + limitOffSetDefinition; - + console.log(sqlQuery); return new Promise((resolve, reject) => { runner .executeQuery(sqlQuery) From c95a8d446a0e4cf9b8095611adfbfa4e605ce6a3 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Mon, 15 Jan 2024 15:37:56 +0300 Subject: [PATCH 59/62] POC-610: Updated DQA Report to reflect updated indicators --- reports/DQA/dqa-chart-abstraction-report-dao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index 6561f7e7e..884d4eed4 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -163,7 +163,7 @@ GROUP BY h.person_id ` + limitOffSetDefinition; - console.log(sqlQuery); + return new Promise((resolve, reject) => { runner .executeQuery(sqlQuery) From 5f9a4b23ab6186e47646cdd8d378b2a8e9a7ac26 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Mon, 15 Jan 2024 15:51:18 +0300 Subject: [PATCH 60/62] POC-610: Updated DQA Report to reflect updated indicators --- reports/DQA/dqa-chart-abstraction-report-dao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index 884d4eed4..5df84b98c 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -163,7 +163,7 @@ GROUP BY h.person_id ` + limitOffSetDefinition; - + return new Promise((resolve, reject) => { runner .executeQuery(sqlQuery) From 1b28b3f2beadb148e21347a499998f371e5781c9 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Mon, 15 Jan 2024 17:51:29 +0300 Subject: [PATCH 61/62] POC-610: Updated columns to display category --- .../DQA/dqa-chart-abstraction-report-dao.js | 39 +++++++++++++------ 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index 5df84b98c..79d848817 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -35,9 +35,11 @@ export class DQAChartAbstractionDAO { TIMESTAMPDIFF(year,h.birthdate,'` + endDate + `') AS age, - IF(DATE(h.tb_screening_datetime) > DATE_SUB(h.endDate, INTERVAL 6 MONTH), - 'Yes', - 'No') AS tb_screened_this_visit, + CASE + WHEN e.tb_screen = 1 then 'Yes' + WHEN e.tb_screen = 0 then 'No' + ELSE 'Not documented' + END AS 'tb_screened_this_visit', CASE WHEN (h.gender = 'F') then 'Female' WHEN (h.gender = 'M') then 'Male' @@ -58,11 +60,17 @@ export class DQAChartAbstractionDAO { END as cur_arv_med_basis, h.tb_screen, DATE_FORMAT(h.tb_screening_datetime,"%d-%b-%Y") as tb_screening_datetime, - DATE_FORMAT(e.hiv_start_date,"%d-%b-%Y") as hiv_start_date, + CASE + WHEN (e.hiv_start_date <= '1900-01-01') THEN '' + ELSE DATE_FORMAT(e.hiv_start_date,"%d-%b-%Y") + END as hiv_start_date, h.arv_start_date, - DATE_FORMAT(h.arv_first_regimen_start_date,"%d-%b-%Y") as arv_first_regimen_start_date, + CASE + WHEN (h.arv_first_regimen_start_date <= '1900-01-01') THEN '' + ELSE DATE_FORMAT(h.arv_first_regimen_start_date,"%d-%b-%Y") + END as arv_first_regimen_start_date, e.cd4_1, - IF((e.cd4_1 IS NOT NULL), 'Y', 'N') as has_cd4_1, + IF((e.cd4_1 IS NOT NULL), 'Yes', 'No') as has_cd4_1, DATE_FORMAT(e.encounter_datetime, "%d-%b-%Y") AS last_clinical_encounter, DATE_FORMAT(h.rtc_date, "%d-%b-%Y") AS next_appointment, h.vl_1, @@ -70,7 +78,7 @@ export class DQAChartAbstractionDAO { WHEN (TIMESTAMPDIFF(MONTH,h.arv_start_date,'` + endDate + `') < 6 ) THEN 'NA' - WHEN (h.vl_1 is NOT NULL) THEN 'Y' + WHEN (h.vl_1 is NOT NULL) THEN 'Yes' ELSE 'missing' END AS viral_load_validity, h.cur_arv_meds_names AS drugs_given, @@ -111,10 +119,10 @@ export class DQAChartAbstractionDAO { 1, 0) AS ipt_ended_this_visit, h.status, - IF((o.value_coded IS NULL), 'N', 'Y') AS is_crag_screened, + IF((o.value_coded IS NULL), 'No', 'Yes') AS is_crag_screened, CASE - WHEN (h.vl_1 < 200) THEN 'Y' - WHEN (h.vl_1 >= 200) THEN 'N' + WHEN (h.vl_1 < 200) THEN 'Yes' + WHEN (h.vl_1 >= 200) THEN 'No' ELSE 'Missing' END AS vl_suppression, CASE @@ -123,7 +131,16 @@ export class DQAChartAbstractionDAO { WHEN (e.tb_screening_result IN (6137, 6176, 10767)) THEN 'TB confirmed' WHEN (e.tb_screening_result IN (1107 , 10678)) THEN 'No TB signs' ELSE 'Missing' - END AS tb_screening_result + END AS tb_screening_result, + CASE + WHEN (p.program_id = 4) THEN 'PMTCT' + WHEN (TIMESTAMPDIFF(YEAR, h.birthdate, '` + + endDate + + `') < 15) THEN 'PEAD' + WHEN (TIMESTAMPDIFF(YEAR, h.birthdate, '` + + endDate + + `') >= 15) THEN 'ADULT' + END AS category FROM etl.hiv_monthly_report_dataset_v1_2 h LEFT JOIN From 26ddb2e3f4af89cf7c358f126ff008b0e9fc0c68 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Wed, 17 Jan 2024 11:13:35 +0300 Subject: [PATCH 62/62] POC-610: Updated the dates and category --- .../DQA/dqa-chart-abstraction-report-dao.js | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/reports/DQA/dqa-chart-abstraction-report-dao.js b/reports/DQA/dqa-chart-abstraction-report-dao.js index 79d848817..76e9d6074 100644 --- a/reports/DQA/dqa-chart-abstraction-report-dao.js +++ b/reports/DQA/dqa-chart-abstraction-report-dao.js @@ -31,25 +31,25 @@ export class DQAChartAbstractionDAO { SELECT h.person_uuid AS uuid, fpiv.ccc AS ccc_number, - IF((fpiv.nupi IS NOT NULL), fpiv.nupi, 'missing') AS NUPI, + IF((fpiv.nupi IS NOT NULL), fpiv.nupi, 'Missing') AS NUPI, TIMESTAMPDIFF(year,h.birthdate,'` + endDate + `') AS age, CASE WHEN e.tb_screen = 1 then 'Yes' - WHEN e.tb_screen = 0 then 'No' - ELSE 'Not documented' + -- WHEN e.tb_screen = 0 then 'No' + ELSE 'No' END AS 'tb_screened_this_visit', CASE WHEN (h.gender = 'F') then 'Female' WHEN (h.gender = 'M') then 'Male' - ELSE 'missing' + ELSE 'Missing' END AS 'sex_gender', e.height, e.weight, - DATE_FORMAT(h.birthdate, "%d-%b-%Y") AS birthdate, + DATE_FORMAT(h.birthdate, '%d/%m/%Y') AS birthdate, h.encounter_id, - DATE_FORMAT(h.encounter_date, "%d-%b-%Y") AS last_appointment_date, + DATE_FORMAT(h.encounter_date, '%d/%m/%Y') AS last_appointment_date, h.rtc_date, h.location_id, h.cur_arv_meds, @@ -59,27 +59,27 @@ export class DQAChartAbstractionDAO { ELSE 'NON DTG' END as cur_arv_med_basis, h.tb_screen, - DATE_FORMAT(h.tb_screening_datetime,"%d-%b-%Y") as tb_screening_datetime, + DATE_FORMAT(h.tb_screening_datetime,'%d/%m/%Y') as tb_screening_datetime, CASE WHEN (e.hiv_start_date <= '1900-01-01') THEN '' - ELSE DATE_FORMAT(e.hiv_start_date,"%d-%b-%Y") + ELSE DATE_FORMAT(e.hiv_start_date,'%d/%m/%Y') END as hiv_start_date, h.arv_start_date, CASE WHEN (h.arv_first_regimen_start_date <= '1900-01-01') THEN '' - ELSE DATE_FORMAT(h.arv_first_regimen_start_date,"%d-%b-%Y") + ELSE DATE_FORMAT(h.arv_first_regimen_start_date,'%d/%m/%Y') END as arv_first_regimen_start_date, e.cd4_1, IF((e.cd4_1 IS NOT NULL), 'Yes', 'No') as has_cd4_1, - DATE_FORMAT(e.encounter_datetime, "%d-%b-%Y") AS last_clinical_encounter, - DATE_FORMAT(h.rtc_date, "%d-%b-%Y") AS next_appointment, + DATE_FORMAT(e.encounter_datetime, '%d/%m/%Y') AS last_clinical_encounter, + DATE_FORMAT(h.rtc_date, '%d/%m/%Y') AS next_appointment, h.vl_1, CASE WHEN (TIMESTAMPDIFF(MONTH,h.arv_start_date,'` + endDate + `') < 6 ) THEN 'NA' WHEN (h.vl_1 is NOT NULL) THEN 'Yes' - ELSE 'missing' + ELSE 'Missing' END AS viral_load_validity, h.cur_arv_meds_names AS drugs_given, CASE @@ -96,9 +96,9 @@ export class DQAChartAbstractionDAO { IF(h.ipt_start_date = h.encounter_date, 1, 0) AS ipt_started_this_visit, - DATE_FORMAT(h.ipt_start_date, "%d-%b-%Y") AS last_ipt_start_date, + DATE_FORMAT(h.ipt_start_date, '%d/%m/%Y') AS last_ipt_start_date, CASE - WHEN h.on_ipt_this_month = 1 THEN 'continuing' + WHEN h.on_ipt_this_month = 1 THEN 'Continuing' WHEN h.ipt_completion_date IS NULL AND h.ipt_stop_date IS NOT NULL @@ -111,8 +111,8 @@ export class DQAChartAbstractionDAO { `') < 3) AND h.on_ipt_this_month = 1) THEN 'Defaulted' ELSE 'NA' END AS tpt_status, - DATE_FORMAT(h.ipt_stop_date,"%d-%b-%Y") as ipt_stop_date, - DATE_FORMAT(h.ipt_completion_date, "%d-%b-%Y") as ipt_completion_date, + DATE_FORMAT(h.ipt_stop_date,'%d/%m/%Y') as ipt_stop_date, + DATE_FORMAT(h.ipt_completion_date, '%d/%m/%Y') as ipt_completion_date, fv.muac as muac, IF(h.ipt_stop_date = h.encounter_date OR h.ipt_completion_date = h.encounter_date, @@ -136,10 +136,10 @@ export class DQAChartAbstractionDAO { WHEN (p.program_id = 4) THEN 'PMTCT' WHEN (TIMESTAMPDIFF(YEAR, h.birthdate, '` + endDate + - `') < 15) THEN 'PEAD' + `') < 15) THEN 'Paeds (0-14yrs)' WHEN (TIMESTAMPDIFF(YEAR, h.birthdate, '` + endDate + - `') >= 15) THEN 'ADULT' + `') >= 15) THEN 'Adults (>15 yrs)' END AS category FROM etl.hiv_monthly_report_dataset_v1_2 h