Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Below are the configurations needed for successfully running the supervisor flow
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
This section provides a detailed and comprehensive view of the micro planning system's internal mechanics. The LLD focuses on providing API specifications, sequence diagrams and database schema. This section serves as a blueprint for developers and engineers to implement the system accurately.
The Microplanning system is designed to allow users to generate, validate, and approve micro plans across various geographic boundaries. The system's architecture includes services for handling population data, plan estimates, employee assignments and facility linkages. The system is scalable, secure, and optimised for local and national-level campaigns.
The Facility Catchment Mapper is responsible for mapping health facilities to their respective geographic catchment areas (e.g., villages, districts) using data provided via an API. This mapping ensures that each facility is associated with a specific community, enabling efficient distribution of resources during health campaigns.
Assign health facilities to geographic catchment areas (e.g., villages, localities).
Ensure each village or locality is mapped to an appropriate facility.
Review and update facility assignments when necessary based on campaign requirements.
Below are the detailed steps for the facility catchment mapping process.
Step 1: Log in to the Platform
Actor: Facility Catchment Mapper
Objective: Access the facility catchment management dashboard.
Process: The Facility Catchment Mapper logs into the microplanning platform using their credentials and navigates to the facility catchment module.
Outcome: The system displays a list of available campaigns and their linked facilities retrieved from the API.
Step 2: View Facility Data via Plan Facility
Actor: Facility Catchment Mapper
Objective: Access the list of facilities linked to the microplan, pulled from the Plan Facility.
Process:
The system retrieves the list of facilities linked to the current campaign and displays them in the catchment mapping dashboard.
The data from the Plan Facility includes key attributes such as:
Facility Name
Facility Type (e.g., clinic, hospital)
Capacity (e.g., beds, vaccine storage)
Facility Status (active/inactive)
Facility Location (latitude and longitude)
Outcome: The Facility Catchment Mapper can view all the facilities available for mapping in real time.
Step 3: Assign Facilities to Catchment Areas
Actor: Facility Catchment Mapper
Objective: Map each facility to a corresponding catchment area (e.g., village, district).
Process:
Catchment Area Mapping:
Each facility is mapped to a specific administrative boundary (village, district, etc.).
Facility location (latitude and longitude) is used to cross-reference and ensure the correct geographic catchment area is assigned.
Mapping Considerations:
Ensure each catchment area is assigned to the most appropriate or nearest facility based on geographic proximity.
Avoid conflicts where multiple facilities are mapped to the same geographic area, unless required by the campaign.
Outcome: Each facility is successfully assigned to its respective catchment area, ensuring proper resource allocation during campaign execution.
Step 4: Validate Catchment Area Assignments
Actor: Facility Catchment Mapper
Objective: Ensure the accuracy and validity of facility assignments to catchment areas.
Process:
The system highlights any potential mapping errors or overlaps, such as:
Unmapped villages or localities.
Facilities assigned to incorrect or multiple areas.
The Facility Catchment Mapper reviews and resolves these issues before finalizing the assignments.
Validation checks include:
Ensure each village or locality is mapped to exactly one facility.
Verify that all mandatory fields (facility name, type, status, location) are populated.
Outcome: The mapping is validated, and all errors are corrected before approval.
Step 5: Approve and Save Facility Catchment Mapping
Actor: Facility Catchment Mapper
Objective: Finalize and approve the facility catchment mapping.
Process:
Once all assignments are validated, the mapper approves the mappings.
The system saves the approved mappings, and the data is made available for use in microplan resource estimation and campaign execution.
Outcome: Facility catchment mapping is finalized and stored in the system, ensuring proper facility allocation for the upcoming health campaign.
Geographical Accuracy:
Facilities must be assigned to the correct administrative boundaries based on their geographic coordinates.
Avoiding Overlap:
Each catchment area (village, locality, etc.) should be mapped to only one facility unless otherwise required by the campaign's objectives.
Handling Missing Facilities:
If a catchment area does not have a mapped facility, it must be flagged for review and resolution before the campaign begins.
Census management service handles population data and its validation/approval.
Census Management API Specification
Plan Management - Handles micro plan setup, micro plan employee assignments, micro plan facility linkage, micro plan estimations and its validation/approval.
Census Management - Handles population data and its validation/approval.
Resource Generator - Utility service which reads population and facility excel files uploaded by the user to generate population records and plan facility linkages in the system.
Project Factory - Utility service which exposes APIs to generate population data upload template and facility data upload template.
Plan management service handles micro plan setup, micro plan employee assignments, micro plan facility linkage, micro plan estimations and its validation/approval.
Plan Management API Specification
The HCM Microplan Web platform is designed to be easy to use, giving administrators and supervisors simple access to the tools they need for setting up microplans, managing data. The navigation is divided into two main sections: Set Up Microplan and Supervisor Flow.
This section is intended for system administrators and users responsible for the initial setup of the microplan, configuration, and data management. The available options under this section include:
Microplan Details: Configuration of the fundamental details of the microplan, including objectives, timelines, and other key parameters.
Boundary Selection: Define and select the geographical boundaries (countries, provinces, districts, etc.) relevant for the microplan.
Data Management: Manage the population data and other datasets needed for the microplan, including data entry, updates, and validation.
Microplan Assumptions: Specify the assumptions that will guide the microplan, including factors like updated registry data, user roles, and collection methodology.
Formula Configuration: Set up formulas and calculations used for resource distribution, target population estimates, or other metrics within the microplan.
User Tagging: The User Tagging Screen enables the Microplan admin to assign various roles to registered users, linking them to specific tasks and responsibilities within the microplan.
Summary Screen: The Summary Screen is a critical page in the microplan setup process, where system administrators and program managers can review, validate, and edit the data configured for the microplan. It provides.
This section allows administrators to manage users, assign roles, and control access levels for those interacting with the system. This ensures the security and integrity of the platform, with specific permissions for different types of users (e.g., system administrators, data collectors, reviewers).
This section is tailored to supervisors who oversee the implementation and validation of the microplan. Key functionalities under this flow include:
My Microplan: A personalized dashboard where supervisors can view and manage the microplan assigned to them.
Select Activity: Choose specific activities related to the microplan that need to be validated or reviewed.
Validate and Approve Population Data: Validate the collected population data and approve it for further processing and execution of the health campaign.
Assign Facility to Villages: Assign health facilities to specific villages or regions, ensuring resources and health services are properly allocated.
Here are the articles in the section:
Once the system administrator completes the microplanning setup, including defining campaign boundaries, configuring facilities, and assigning roles, the Supervisor Flow begins.
The Supervisor Flow for managing microplans enables supervisors to track, edit, validate, and finalise microplans associated with public health campaigns. Each microplan provides specific details about campaigns, statuses, and associated actions, ensuring effective campaign execution.
The table below outlines roles, their corresponding role codes, and descriptions of responsibilities for supervisors:
Role Name
Role Code
Description
Population Data Approver
POPULATION_DATA_APPROVER
Responsible for validating the population data, ensuring its accuracy, including the ability to edit data, approve, or send data back for correction.
Root Population Data Approver
ROOT_POPULATION_DATA_APPROVER
Responsible for validating the population data, ensuring its accuracy, including the ability to edit data, approve, or send data back for correction. Has additional permissions, including the ability to finalized population data.
Facility Catchment Mapper
FACILTIY_CATCHMENT_MAPPER
Responsible for assigning facility to villages.
Root Facility Catchment Mapper
ROOT_FACILITY_CATCHMENT_MAPPER
Responsible for assigning facility to villages. Has additional permissions, including the ability to finalized facility catchment.
Plan Estimation Approver
PLAN_ESTIMATION_APPROVER
Responsible for validating the plan data, ensuring its accuracy, including the ability to approve, or send data back for correction.
Root Plan Estimation Approver
ROOT_PLAN_ESTIMATION_APPROVER
Responsible for validating the plan data, ensuring its accuracy, including the ability to approve, or send data back for correction. Has additional permissions, including the ability to finalized estimation for microplan.
The Microplan Estimation Approver plays a critical role in ensuring the accuracy and approval of resource estimation for health campaigns. This user is responsible for reviewing the resource estimations generated by the system, validating assumptions, and approving or rejecting the final microplan estimations. The goal is to ensure that the estimated resources (e.g., vaccines, bednets, medical personnel) align with the actual needs of the campaign, based on the validated population and facility data.
Review and validate resource estimation formulas.
Approve or reject microplan resource estimations.
Adjust estimation parameters and assumptions if necessary.
Ensure that the approved resource estimation aligns with the campaign's needs.
This section details the steps in the microplan estimation approval process.
Step 1: Log in to the Platform
Actor: Microplan Estimation Approver
Objective: Access the microplan estimation dashboard.
Process: The microplan Estimation Approver logs into the platform using their credentials, granting access to the estimation review and approval module.
Outcome: The system displays a list of microplans that require review, with detailed estimations ready for approval.
Step 2: Review Resource Estimation
Actor: Microplan Estimation Approver
Objective: Review the resource estimations generated by the system for the current campaign.
Process:
The system presents the resource estimation calculations based on the uploaded population and facility data.
The estimations are divided into key resources such as:
Vaccines: Estimated based on population size and target population.
Bednets: Calculated for campaigns like malaria prevention.
Personnel: Estimated based on the required workforce for each facility and catchment area.
Outcome: The microplan estimation approver has a comprehensive overview of the resources estimated for the campaign, with breakdowns by resource type.
Step 3: Review and Validate Assumptions
Actor: Microplan Estimation Approver
Objective: Ensure that the assumptions used for resource estimations are accurate and reasonable.
Process:
The system displays key assumptions that drive the resource estimation formulas, such as:
Target Population: Number of people eligible for the intervention (e.g., children aged 3-11 months for SMC campaigns).
Resource Allocation: Number of resources (e.g., bednets, vaccines) per person or household.
Distribution Strategy: House-to-house, fixed post, or a combination of both.
The approver cross-checks these assumptions with known data and campaign requirements.
If any assumptions seem inaccurate or unreasonable, the Microplan Estimation Approver can modify assumptions for list of specific boundaries
Outcome: The assumptions used for resource estimation are validated, and any necessary corrections are made.
Step 4: Approve or Reject the Microplan Estimation
Actor: Microplan Estimation Approver
Objective: Make the final decision to approve or reject the resource estimation for the campaign.
Process:
After reviewing the resource estimation, the Microplan Estimation Approver selects Approve or Reject.
Approve: Confirms that the estimation is valid and the required resources are accurately calculated. Once approved, the estimation becomes final and is locked for campaign execution.
Reject: If the estimation is inaccurate, the approver provides feedback and requests a re-evaluation of the data or assumptions.
The system prompts the approver to provide reasons for rejection, which are communicated to the appropriate team for corrections.
Outcome: Once approved, the resource estimation is finalized, and the required resources are allocated for the campaign. If rejected, the estimation returns to the appropriate team for review and modification.
The Data Approver is responsible for validating population data collected by data collectors. The role primarily ensures that population data used for microplan resource estimation is accurate and consistent with predefined rules. Data approvers play a crucial role in identifying discrepancies and ensuring the validity of population numbers before final approval.
Validate population data collected from the field.
Identify discrepancies in population estimates.
Approve or flag data for further review and corrections.
Note : In the current version we are not including data collectors. Population data uploaded in the system admin flow will be sent for approval
The following describes the step-by-step workflow for the Data Approver:
Step 1: Log in to the Platform
Actor: Data Approver
Objective: Access the data review dashboard.
Process: The Data Approver logs into the microplanning platform with their credentials.
Outcome: The system displays all pending data that needs to be validated.
Step 2: Review Submitted Population Data
Actor: Data Approver
Objective: View population data collected by Data Collectors.
Process:
The Data Approver navigates to the population data review section.
The system presents the population data per administrative level (village, district, etc.).
Data is compared against previously uploaded data or other authoritative sources for discrepancies.
Outcome: The Data Approver views all population-related information for selected regions, including:
Total Population
Target Population (e.g., children aged 3-11 months and 12-59 months for SMC campaigns)
Latitude and Longitude (if available)
Step 3: Identify Discrepancies
Actor: Data Approver
Objective: Identify and highlight any discrepancies in the population data.
Process:
The Data Approver can manually review records to ensure the accuracy of the data.
Outcome: The system flags any discrepancies for further review, such as:
Significant deviations from earlier data (e.g., a village's population is reported as 5,000 when the previous figure was 2,000).
Step 4: Modify and Correct Data (If necessary)
Actor: Data Approver
Objective: Make necessary corrections to flagged data before approval.
Process:
If the Data Approver identifies errors or discrepancies, they may either:
Request corrections from the Data Collector.
Manually correct the data in the system, if they have the necessary authority and information.
Corrections may involve:
Adjusting total population numbers.
Updating target population estimates.
Correcting missing or incorrect geographic data (e.g., coordinates).
Outcome: The flagged data is corrected and updated in the system, ready for re-validation.
Step 5: Approve Population Data
Actor: Data Approver
Objective: Final approval of population data for use in resource estimation.
Process:
Once all discrepancies are resolved, the Data Approver selects the data records for final approval.
The system allows bulk approval or individual record validation based on user preferences.
Outcome: Approved population data is locked and made available for further processes, such as microplan resource estimation.
Step 6: Monitor Data Changes
Actor: Data Approver
Objective: Continuously monitor any changes to population data during the campaign.
Process:
The system provides alerts if any new data is submitted or if there are significant changes to previously approved data.
Data Approvers can review and re-approve any updates or revisions during the campaign.
Outcome: All data changes are tracked, ensuring continuous data integrity throughout the microplanning process.
Create/Update Microplan
The System Administrator is responsible for setting up the entire microplanning platform, which includes defining campaign boundaries, configuring facilities, and assigning roles. This user operates at the national or country level and ensures all configurations align with campaign objectives.
Capture Campaign Details:
Actor: System Administrator/Program Manager
Objective: Configure campaign information.
Process:
Select Disease: Choose the disease for the campaign (e.g., malaria).
Campaign Type: Select from options like Bednets or SMC (Seasonal Malaria Chemoprevention).
Resource Distribution Strategy: Choose between Fixed post, House-to-House, or a combination of both.
Next/Back: Proceed to the next screen or return to the previous step.
Validation:
All fields are mandatory before proceeding.
Naming the Microplan:
Actor: System Administrator/Program Manager
Objective: Assign a unique name to the microplan.
Process:
Auto-Suggested Name: The system provides a default name based on the format: Country-Disease-CampaignType-MonthLast2DigitsOfYear
.
User Input: Option to modify the name while following a strict naming convention.
Validation:
The name must be unique and follow specific guidelines (e.g., minimum 3 characters, no special characters except _() ).
Select Campaign Boundaries:
Actor: System Administrator/Program Manager
Objective: Choose the geographic administrative boundaries (country, province, district, village, etc.).
Process:
Multi-Select Dropdowns: Select from a multi-select list of administrative divisions.
Validation: All fields are mandatory.
Upload Population Data:
Actor: System Administrator/Program Manager
Objective: Upload population data required for resource estimation.
Process:
Download Template: Download a pre-configured Excel template.
Input Data: Enter total and target population, village coordinates, etc.
Upload: After filling in the template, upload it back to the system.
Validation:
Ensure data integrity (e.g., total population must be greater than zero, population data must be whole numbers).
Upload Facility Data:
Actor: System Administrator/Program Manager
Objective: Set up facilities to be used during the campaign.
Process:
Download Facility Template: Fill out the downloaded template with facility details (e.g., facility type, capacity, geographic coordinates).
Upload and Validate: Once filled, upload the template.
Validation:
Mandatory fields such as facility name, type, and capacity must be filled in.
Manage Microplan Assumptions:
Actor: System Administrator/Program Manager
Objective: Configure assumptions for calculating required resources.
Process:
Set parameters like population density and distribution strategy.
Validation:
Input values must be numerical.
Access Control and Role Configuration:
Actor: System Administrator
Objective: Define and assign roles and permissions (e.g., Data Collectors, Microplan Approvers).
Process:
Configure roles and assign them to specific users.
Define user boundaries and access hierarchies.
This page displays a tailored list of microplans that the logged-in supervisor is tagged to. Supervisors can manage these microplans within their jurisdiction, ensuring campaign activities are effectively tracked and validated.
Key Features:
Microplans Access: Supervisors will see a list of microplans they are tagged to. This ensures that supervisors can only view and manage the microplans relevant to their role and responsibilities.
filterUniqueByPlanConfig Parameter: The filterUniqueByPlanConfig
parameter is used here to return all the microplans associated with the logged-in supervisor. This guarantees that only relevant data is displayed.
Jurisdiction-Based Access: Supervisors have jurisdiction based on the hierarchy they belong to. For example, a district-level supervisor can access microplans for their district, while a province-level supervisor can access microplans specific to their province.
Administrative Boundary
Hierarchy
Highest Boundary
Country
Lower Levels
Province, District, Admin Post, Locality ( Lower Level Boundaries)
Header Section
Title: My Microplans represents the section for managing microplans.
Tabs:
All: Displays all microplans.
Completed Setup: Lists microplans with finalized setup.
Validation in Progress: Microplans undergoing validation.
Microplan Finalised: Displays finalized microplans.
Search Functionality
Search Bar: Allows filtering microplans by name.
Clear Button: Resets the name search to display all microplans.
The table lists the microplans in a tabular format. Each row represents a microplan, and the columns provide detailed information:
Column Name
Description
Name of Microplan
The unique identifier or descriptive name of the microplan.
Status
Indicates the current stage of the microplan (e.g., "Completed Setup," "Validation in Progress").
Campaign Disease
Specifies the target disease for the campaign (e.g., Malaria).
Campaign Type
Describes the nature of the campaign (e.g., "Bednet Campaign," "SMC Campaign").
Distribution Strategy
Outlines the delivery strategy (e.g., "Fixed Post & House-to-House," "Fixed Post").
Action
Provides actionable options, such as starting validation, editing, or downloading estimations.
Status
Action
Description
Completed Setup
Start Validation
Initiates the validation process for the selected microplan.
Validation in Progress
Edit
Opens the microplan for modifications.
Microplan Finalised
Download Estimations
Allows downloading estimated data related to the finalized microplan.
Step 1: Access My Microplans
Objective: View and manage microplans.
Process: Navigate to the My Microplans section.
Outcome: A list of all microplans is displayed, with tabs for status-based filtering.
Step 2: Search for a Microplan
Objective: Locate a specific microplan.
Process: Use the search bar to input the microplan name. Click Clear to reset the search.
Outcome: Filtered results display matching microplans.
Step 3: Perform Actions
Based on the status, perform the following actions:
Completed Setup: Click Start Validation to begin validating the microplan.
Validation in Progress: Click Edit to modify the microplan details.
Microplan Finalised: Click Download Estimations to save related data.
Endpoint
Description
Role
/plan-service/employee/_search
Searches for employee assignments related to microplans.
The filterUniqueByPlanConfig
parameter is used here to return all the microplans associated with the logged-in supervisor. This guarantees that only relevant data is displayed.
MICROPLAN_ADMIN, ROOT_POPULATION_DATA_APPROVER, POPULATION_DATA_APPROVER, ROOT_PLAN_ESTIMATION_APPROVER, PLAN_ESTIMATION_APPROVER, ROOT_FACILITY_CATCHMENT_MAPPER, FACILITY_CATCHMENT_MAPPER, MICROPLAN_VIEWER
/plan-service/config/_search
Fetches plan configurations based on the provided IDs.
SUPERUSER, MICROPLAN_ADMIN, MICROPLAN_CAMPAIGN_INTEGRATOR, ROOT_POPULATION_DATA_APPROVER, POPULATION_DATA_APPROVER, ROOT_PLAN_ESTIMATION_APPROVER, PLAN_ESTIMATION_APPROVER, ROOT_FACILITY_CATCHMENT_MAPPER, FACILITY_CATCHMENT_MAPPER, MICROPLAN_VIEWER
/project-factory/v1/project-type/search
Retrieves campaign details for specific project types based on their IDs.
MICROPLAN_ADMIN, ROOT_POPULATION_DATA_APPROVER, POPULATION_DATA_APPROVER, ROOT_PLAN_ESTIMATION_APPROVER, PLAN_ESTIMATION_APPROVER, ROOT_FACILITY_CATCHMENT_MAPPER, FACILITY_CATCHMENT_MAPPER, MICROPLAN_VIEWER
Below are the configurations needed for successfully setting up the microplan module:
citymodule needed to run campaign module in an environment:Link: https://github.com/egovernments/egov-mdms-data/blob/UNIFIED-QA/data/mz/tenant/citymodule.json
Refer to the below ID's link in QA:
roles need to be added in rolesLink:
The following roles have been added in the MDMS:
The following actions are added to the MDMS, the actions are mapped to roles using rolesactions.js
The following are the actions Idsmapped to the roles
Link for reference:
Each of the action id is a path for a specific action
The actions are defined in
The "hcm-microplanning" module in the application leverages various master data configurations to drive the microplanning and resource distribution functionalities. These configurations are crucial for ensuring that the system adheres to the right structure and rules for microplan creation, distribution strategy, and other related operations.
The following master details are part of the hcm-microplanning module
Each of the master will access their respective master data in the mdms.
Microplan Naming Convention - Defines the naming structure for microplans, ensuring consistency in naming across the system.
Microplan Naming Regex - Provides a regular expression used for validating microplan naming conventions.
Resource Distribution Strategy - Describes the strategy for resource allocation, ensuring resources are distributed effectively and according to predefined rules.
Roles for Microplan - Contains data related to the roles and permissions associated with the microplan process, ensuring appropriate access control.
Hypothesis Assumptions - Defines the assumptions used in the creation of hypotheses for microplanning, guiding the analysis process.
Rule Configure Output - Contains configurations related to the output of rules, guiding how the rules should be structured and the expected results.
Rule Configure Inputs - Contains configurations for the inputs required by rules, ensuring that the correct data is fed into the rule engine.
Auto-Filled Rule Configurations - Specifies the auto-filled configurations used by the system for rules, automating parts of the rule configuration process.
Rule Configure Operators - Defines the operators used in rule configurations, specifying the operations available for rule evaluation.
Registration and Distribution Happening Together or Separately - Specifies whether registration and distribution activities occur together or separately, affecting process flow.
Hierarchy Config - Contains the configuration data for the hierarchy structure, defining different levels of hierarchy and their relationships.
Village Road Condition - Captures the road conditions in different villages, which may affect resource distribution and microplanning strategies.
Village Terrain - Describes the terrain of various villages, helping in the planning of distribution strategies based on geographical factors.
Security Questions - Specifies the set of security questions used for user authentication and verification.
Facility Type - Defines the types of facilities available within the microplanning system, ensuring proper categorization.
Facility Status - Specifies the status of various facilities (e.g., operational, under construction), which helps in planning and distribution.
Vehicle Details - Contains information on available vehicles, used for the transportation of resources within the planning scope.
Context Path for User - Defines the user-specific context, ensuring the correct path is followed within the system based on the user's role and access.
DSS KPI Configs - Defines the configurations for the Key Performance Indicators (KPIs) used by the Decision Support System (DSS), guiding decision-making processes.
HierarchySchema: Defines the order of the boundaries
These master details are accessed and managed via the BASE_MASTER_DATA schema code to maintain data consistency, accuracy, and facilitate smooth operations within the hcm-microplanning module.
Global configuration needs to be added to environments.Link: https://github.com/egovernments/DIGIT-DevOps/blob/unified-env/deploy-as-code/helm/environments/unified-health-uat.yaml
MDMS Data is fetched from: https://github.com/egovernments/egov-mdms-data/tree/UNIFIED-DEV/data/mz/health/hcm-microplanning
Refer here to learn more about the setup environment.
Module
Use
rainmaker-common
For all common screen localisation messages like login, homepage, sidebar.
rainmaker-microplanning
For localisation messages related to microplanning and configurations.
rainmaker-boundary-${BOUNDARY_HIERARCHY_TYPE}
For boundary type localisations, using the BOUNDARY_HIERARCHY_TYPE from the MDMS.
rainmaker-Microplanning
Localisation messages for microplanning screens and related workflows.
rainmaker-workbench
Localisation messages for tools and utilities in the operational workbench.
rainmaker-mdms
Localisation messages for master data retrieved via MDMS.
rainmaker-schema
Localisation messages for schema definitions and configurations.
rainmaker-hcm-admin-schemas
Localisation messages for HCM administrative schemas and configurations.
The microplan creation process is organised into multiple steps using a stepper for better navigation. The first step in this process is Microplan Details, divided into two sections: Campaign Details and Microplan Details. This document provides an overview of these sections.
The Campaign Details section collects critical information about the campaign to set up the microplan.
Title: Enter the campaign details Guides users to input required campaign information.
Description: Please enter the required details to proceed with the microplan setup. Explains the purpose of this section.
Localisation: Both the title and description are fully translatable into multiple languages.
1. Disease Identified for the Campaign
Description: Select the disease targeted for the campaign.
Field Type: Dropdown
Default Value: Malaria
Mandatory: Yes
Usage: Use the dropdown or type to filter options.
Localization: The label is translatable.
2. Type of Campaign
Description: Specify the type of campaign.
Field Type: Dropdown
Default Value: None (user must select a value)
Mandatory: Yes
Usage: Select the type from the dropdown.
Localization: The label and options are localizable.
3. Resource Distribution Strategy
Description: Choose a strategy for distributing resources.
Field Type: Dropdown
Default Value: None (user must select a value)
Mandatory: Yes
Usage: Select a strategy aligned with campaign goals.
Localization: Fully supports translations for the label and dropdown options.
Dropdown Menu:
Accepts text input for filtering options.
Includes a dropdown arrow icon for selection.
Fields marked with an asterisk (*) are mandatory.
Users must complete all required fields to proceed.
Validation rules and error messages are localizable.
The Microplan Details section focuses on naming the microplan for reference and identification in subsequent steps.
1. Campaign Details Summary
Displays a summary of the campaign information entered:
Campaign Disease: Malaria
Campaign Type: SMC Campaign
Resource Distribution Strategy: House-to-House
2. Name of the Microplan
Description: Provide a unique name for the microplan.
Field Type: Text Input
Mandatory: Yes
The name must be between 3 and 64 characters in length.
Numeric values alone are not allowed.
Allowed special characters: -
, _
, (
, )
, &
.
Naming Regex MDMS: https://unified-qa.digit.org/workbench-ui/employee/workbench/mdms-search-v2?moduleName=hcm-microplanning&masterName=MicroplanNamingRegex
Provides the regex pattern used to validate microplan names.
Naming Convention Info MDMS: https://unified-qa.digit.org/workbench-ui/employee/workbench/mdms-search-v2?moduleName=hcm-microplanning&masterName=MicroplanNamingConvention
It contains detailed information about naming conventions and guidelines.
Suggested Name: The system automatically suggests a microplan name based on campaign details. You can use this suggested name or provide a unique name that matches the naming rules.
Example: "Malaria-Bednet Campaign-Fixed Post & House-to-House-29 Nov 24"
Localization: Instructions and validation messages are fully translatable.
/project-factory/v1/project-type/create
POST
{ "hierarchyType": "ADMIN", "tenantId": "mz", "action": "draft", "campaignName": "test90", "resources": [], "projectType": "MR-DN", "additionalDetails": { "beneficiaryType": "INDIVIDUAL", "key": 2 }, "RequestInfo": {} }
/project-factory/v1/project-type/search
POST
{ "tenantId": "mz", "ids": [ "2a2491a7-c52d-4305-8b5b-9aa10ae44168" ], "pagination": {}, "RequestInfo": {} }
/plan-service/config/_create
POST
{ "PlanConfiguration": { "tenantId": "mz", "name": "Malaria-Bednet Campaign-Fixed Post & HDec 24", "campaignId": "52fea5b5-e7d2-424a-89ee-d167443314a9", "status": "DRAFT", "files": [], "assumptions": [], "operations": [], "resourceMapping": [], "additionalDetails": { "key": "2" } }, "RequestInfo": {} }
/plan-service/config/search
POST
{ "tenantId": "mz", "pagination": {}, "RequestInfo": {} }
The Data Management step includes two substeps: Population Upload and Facility Upload, enabling users to upload essential data for the microplan.
Description: This substep allows users to upload population data for the campaign.
Download Template: Download the template for population data.
Boundary Dependency: The boundaries appearing in the population template are dependent on the boundaries selected in the previous Boundary Selection screen. Tabs in the template will correspond to the districts selected in that screen.
File Upload: Drag and drop or browse to upload the filled Excel file.
Guidelines:
Mandatory Fields: The Total Population and Target Population columns are mandatory and must be provided as whole numbers.
Latitude & Longitude: These fields must be in Degree Decimal or Degree Minute Seconds format.
Description: This substep allows users to upload facility or point-of-service information.
Download Template: Download the template for facility data.
Boundary Codes: The facility template will include boundary codes for the villages selected in the previous Boundary Selection screen in a single Boundary Code sheet.
File Upload: Drag and drop or browse to upload the filled Excel file.
Guidelines:
All fields are mandatory except for Latitude and Longitude.
Latitude & Longitude must be in Degree Decimal or Degree Minute Seconds format.
Validation Process: After the file is uploaded, the system will validate the data. If any errors are found, the system will populate an Error column in the sheet, showing the errors next to the corresponding rows.
Error Preview: Clicking the View Error button will show a preview of the uploaded Excel file, highlighting the errors in the Error column next to the corresponding row.
Re-upload Process: Once the errors are corrected, users can download the validated file, make the necessary changes, and re-upload the file.
Proceeding with Valid Data: Processing will only proceed if a valid sheet with no errors is uploaded. If the sheet is valid, the system will continue to the next step.
Warning: If the user navigates back to the Boundary Selection screen, the current uploaded templates for Population and Facility will be discarded. A warning message will appear on the UI to inform the user before they proceed.
Both the generation and validation of facility and boundary data are based on a schema provided by MDMS.
Generation: From this schema, fields are converted into columns in the respective upload templates.
Validation: Validation is performed based on the schema, ensuring that the data adheres to the defined structure.
Additionally, custom validations are applied to ensure data integrity.
Localization: All labels, instructions, and error messages are translatable into multiple languages.
File Upload: The interface supports drag-and-drop or browse-to-upload file options.
Validation: Validation ensures all required fields are completed and data is properly formatted. Processing will proceed only if a valid sheet with no errors is uploaded.
Here is the updated table with the adjustments:
/project-factory/v1/project-type/search
POST
{ "tenantId": "mz", "ids": [ "2a2491a7" ], "pagination": {}, "RequestInfo": {} }
/plan-service/config/_search
POST
{ "PlanConfigurationSearchCriteria": { "tenantId": "mz", "id": "660fb389-5e60-4c43-b6ce-b1c109b23f54" } ,"RequestInfo": {} }
/project-factory/v1/data/_create
POST
{ "ResourceDetails": { "type": "boundaryWithTarget", "hierarchyType": "MICROPLAN", "tenantId": "mz", "fileStoreId": "29e31558-24ce-4efb-8102-cfa92961efdd", "action": "validate", "campaignId": "8c413d61-c411-4c33-b6eb-76ea005a84c9", "additionalDetails": { "source": "microplan" } }, "RequestInfo": {} }
/project-factory/v1/data/_search
POST
{ "SearchCriteria": { "id": ["08bb247d-364a-4b44-b0a9-d8efeee5a6a4"], "tenantId": "mz", "type": "boundaryWithTarget" }, "RequestInfo": {} }
/project-factory/v1/project-type/update
POST
{ "CampaignDetails":{"id":"8c413d61-c411-4c33-b6eb-76ea005a84c9","tenantId":"mz","status":"drafted","action":"draft","campaignNumber":"CMP-2024-12-03-006616","isActive":true,"parentId":null,"campaignName":"Malaria-Bednet Campaign-Fixed Popp0099","projectType":"LLIN-mz","hierarchyType":"MICROPLAN","boundaryCode":"MICROPLAN_MO","projectId":null,"startDate":1735810905674,"endDate":0,"additionalDetails":{"source":"microplan","disease":"MALARIA","resourceDistributionStrategy":"MIXED"},"resources":[],"boundaries":[],"deliveryRules":[],"auditDetails":{"createdBy":"f4f36858-0e9e-4150-a37f-444b90995e7c","lastModifiedBy":"f4f36858-0e9e-4150-a37f-444b90995e7c","createdTime":1733218905816,"lastModifiedTime":1733218919304}},"RequestInfo":{}}
/plan-service/config/_update
POST
`{"PlanConfiguration":{"id":"660fb389-5e60-4c43-b6ce-b1c109b23f54","tenantId":"mz","name":"Malaria-Bednet Campaign-Fixed Popp0099","campaignId":"8c413d61-c411-4c33-b6eb-76ea005a84c9","status":"DRAFT","files":[],"assumptions":[],"operations":[],"resourceMapping":[],"auditDetails":{"createdBy":"f4f36858-0e9e-4150-a37f-444b90995e7c","lastModifiedBy":"f4f36858-0e9e-4150-a37f-444b90995e7c","createdTime":1733218906001,"lastModifiedTime":1733218924572},"additionalDetails":{"key":"2"},"workflow":null},"RequestInfo": {} }
The User Tagging Screen allows the Microplan admin to tag available users to the microplan currently being set up, assigning them specific tasks and responsibilities.
The different roles involved in the various parts of the microplan are:
National Microplan Estimation Approver
National Facility Catchment Assigner
National Population Data Approver
Microplan Estimation Approver
Facility Catchment Assigner
Population Data Approver
Each role has its own user list (uploaded through User Management Bulk Upload), and the available jurisdictions is based on the boundaries selected in the Boundary Selection screen.
Each role will have its own screen. Here, we use the National Microplan Estimation Approver role as an example for assigning and unassigning users.
This screen is for assigning National microplan estimation approver to the current microplan.
Once the system administrator clicks on the ‘Assign National Microplan Estimation Approvers’ button, he/she will be prompted a pop-up to assign the users with ‘National Microplan Estimation Approver’ role to the ongoing microplan.
Here, the system admin will be able to assign/unassign a user to the ongoing microplan.
Search
The search request is made via /health-hrms/employees/_search
, using roles as query parameters (e.g., roles: ROOT_PLAN_ESTIMATION_APPROVER
). This returns all registered users with the specified role.
When the page loads, a request to /plan-service/employee/_search
retrieves all users currently assigned to the current microplan.
Assign
Upon clicking the assign button, the userServiceUuid
from the search response (/health-hrms/employees/_search) is used as the payload, along with the jurisdiction and role. For the National Microplan Estimation Approver role, the jurisdiction is pre-selected as the national level by default.
For other roles, the jurisdiction is automatically pre-selected based on the boundaries set in the Boundary Selection screen. This information is then sent to /plan-service/employee/_create to assign the user to the current microplan.
Unassign
Clicking the unassign button sets the active
attribute of PlanEmployeeAssignment
to false
via /plan-service/employee/_create
, updating the microplan accordingly.
API Flow:
/plan-service/employee/_search
MICROPLAN_ADMIN
/health-hrms/employees/_search
MICROPLAN_ADMIN
/plan-service/employee/_create
MICROPLAN_ADMIN
The process for assigning users to each role is the same: open the roles screen and assign registered users within the appropriate jurisdiction.
Assigning users to national roles is mandatory
The Formula Configuration Screen allows users to configure resource estimation formulas based on assumptions and campaign strategies. Users can also choose whether the formula should be displayed on the Estimation Dashboard (Population Inbox Screen). Additionally, new formulas can be added as needed.
MDMS Integration for Autofilled Configurations
The formulas on the Formula Configuration Screen are dynamically autofilled based on data from the MDMS.
These configurations are tailored using specific keys that define the campaign type, distribution strategies, and processes.
Add Formula
To create a new formula, click Add Formula.
Define the Formula Name, Inputs, and select the appropriate Operator.
After creating the formula, users can choose whether to display it on the Estimation Dashboard.
Delete Formula
To remove a formula, click Delete next to the relevant formula.
If the formula is used in the campaign, the system will prompt the user to either reuse the deleted formula or define a new one.
Show on Estimation Dashboard
If the user wants the formula to appear on the Estimation Dashboard, check the Show on Estimation Dashboard box.
Unchecking the box will keep the formula available for calculations but will exclude it from the dashboard view.
Total Number of Bednets per Boundary
Formula:
Total Number of Bednets = Target Population / Number of Persons per Bednet
Dependency: Relies on assumptions like Target Population and Number of Persons per Bednet.
Action: The user can choose to show this formula on the Estimation Dashboard by selecting the Show on Estimation Dashboard checkbox.
Total Number of Bales per Boundary
Formula:
Total Number of Bales = Total Number of Bednets / Number of Bednets per Bale
Dependency: Relies on Total Number of Bednets and Number of Bednets per Bale assumptions.
Action: The user can delete this formula or add it to the Estimation Dashboard as needed.
The Microplan Assumptions step is designed to streamline the process of defining critical campaign-related hypotheses based on the selected Resource Distribution Strategy and Campaign Type. This step consists of two substeps:
Step 1: Registration and Distribution Process Selection
This screen adapts based on the Resource Distribution Strategy chosen during the Campaign Details step.
1. Mixed Strategy:
For campaigns following the Mixed Strategy, the system prompts users to provide details for both the registration and distribution processes. However, the same method cannot be selected for both.
Prompts:
How is the campaign registration process happening?
Users are required to select from predefined options such as House-to-House, Fixed, etc.
How is the campaign distribution process happening?
Users must select a different option from the registration process, tailored to the distribution method (e.g., House-to-House, Fixed, etc.).
This distinction ensures that the two processes are appropriately differentiated and configured.
2. Fixed or House-to-House Strategy:
For these strategies, users are prompted to specify the relationship between registration and distribution processes:
Question:
Is the registration and distribution process happening together or separately?
Options:
Together
Separately
The response determines how the system pre-configures subsequent assumptions.
Step 2: Assumptions Form
Once the registration and distribution process is selected, users proceed to the Assumptions Form, which dynamically adapts based on campaign-specific parameters.
The form fetches data from the MDMS and includes categories and assumptions customized according to:
The Campaign Type (e.g., Bednets, SMC)
The Resource Distribution Strategy (e.g., House-to-House, Fixed)
Example of some dynamic categories of Assumptions:
General Assumptions:
High-level parameters that apply to the overall campaign.
Registration Assumptions:
Assumptions specific to how and where registration activities occur.
Distribution Assumptions:
Parameters defining the methodology and logistics for distributing resources.
Commodities Assumptions:
Details about distributed items, such as the number of bednets per household.
Features of the Assumptions Form:
Input Values:
Users must input specific values for each assumption.
Validation Rules:
Assumption values must:
Be numerical and are mandatory. and fall within the range of 0 to 1000.
Contain at most two decimal places (e.g., 12.34 is valid, but 12.345 is not).
Adhere to a specific format, ensuring they match the pattern of a valid decimal or whole number (e.g., 123.45
or 678
).
Tooltips:
Each category includes input parameters with tooltips that provide detailed information when users hover over the respective field.
Manage Assumptions:
Users can add new assumptions or delete existing ones based on campaign needs.
Initiate Adding an Assumption:
Users can click the "Add New Assumption" button from the assumptions management interface.
Assumption Details Input:
A popup/modal is displayed with the following fields:
Choose Assumption: A dropdown or selection box to choose an existing assumption or create a new one.
Assumption Name: An input field where users specify the name of the new assumption.
Confirmation Options:
Cancel: Discards the changes and closes the popup/modal.
Add: Saves the new assumption after passing validation checks.
Deleting Assumption
Users can click the "Delete" button from the assumptions management interface.
Confirmation Options:
No: Discards the changes and closes the popup/modal.
Yes: Deletes the assumption.
Recovering deleted assumption:
Users can click the "Add New Assumption" button from the assumptions management interface and select the deleted assumption from the Choose Assumption dropdown.
Customization and Management:
Each assumption category and its parameters are dynamically tailored based on:
The selected Campaign Type
The chosen Resource Distribution Strategy
The Summary Screen is a critical page in the microplan setup process, where system administrators and program managers can review, validate, and edit the data configured for the microplan. It provides
User Roles
Actors: System Administrator / Program Manager
Administrative Boundaries: National / Country level
The summary screen consists of the following modules:
Microplan Details Displays the core information about the microplan, such as the campaign name, disease, and resource distribution strategy. The user can review the details and make necessary edits.
Campaign Boundary Shows the geographical administrative boundaries, including the country, province, district, administrative post, locality, and village levels. Users can review and edit the boundary data for each geographical level.
Data Management Displays data templates for population and facilities. Users can download the templates or edit the uploaded files.
Microplan Assumptions Shows the assumptions used in the microplan setup. Users can review and adjust these assumptions as necessary.
Formula Configuration Displays the configured formulas used in the microplan. Users can modify the formulas if required.
Data Validation Ensures that the data entered meets all the required criteria and can be validated before proceeding with the microplan.
User Access Management Displays the users and their roles in the microplan setup. Users can manage who has access to the microplan.
Based on the tab, the respective section of setup microplan is shown.
Its implemented by using ViewComposer and passing in the pages as cards in a array called Cards.
The data displayed on the pages is retrieved from the sessionData
, which is created whenever the user inputs data during the microplan setup process. As the user progresses through the setup, each section of the form they complete is captured and stored as formData
.
Edit Data
Description: Each section of the summary screen can be edited by clicking the Edit button. This will redirect the user to the corresponding section in the microplan setup for further configuration.
Implementation: The system sets the key value for the selected section and redirects the user to the relevant page based on that key.
Download Files
Description: The user can download files (e.g., population and facility data templates) by clicking the Download button where applicable.
Implementation: This functionality is described in the Data Management page, where users can access and download the uploaded templates and files.
Once satisfied with the configuration, the user clicks Complete Setup to finalize the microplan.
When the Complete Setup button is clicked, the /plan-service/config/_update is triggered, with 'workflow:initiate' sent as the payload.
/plan-service/config/_update
MICROPLAN_ADMIN
The Boundary Selection step is the second step in the microplan creation process. It allows users to define the geographic areas (boundaries) where the campaign will be conducted. Users must select boundaries at different hierarchical levels to ensure accurate targeting.
Title: Select the boundaries where you want to run the campaign Provides clear instructions for selecting the geographic regions for the campaign.
Description: Boundaries are the administrative areas defined that you want to run a campaign in. Start selecting boundaries from the first level so that the boundaries present in the next level are available for selection. Explains the importance of hierarchical boundary selection.
Localization: Both the title and description can be translated into multiple languages.
The following fields represent the hierarchical administrative levels for boundary selection. These levels are dynamic and depend on the hierarchy definition configured in the system. An example hierarchy could look like this:
Country
Description: Select the top-level boundary (e.g., Country) where the campaign will be conducted.
Field Type: Dropdown
Mandatory: Yes
Usage: Selection of this level enables the next level in the hierarchy.
Province
Description: Select the second-level boundary (e.g., Province) within the chosen country.
Field Type: Dropdown
Mandatory: Yes
Usage: Available only after selecting the country.
District
Description: Select the third-level boundary (e.g., District) within the chosen province.
Field Type: Dropdown
Mandatory: Yes
Usage: Available only after selecting the province.
Administrative Post
Description: Select the next boundary level (e.g., Administrative Post) within the chosen district.
Field Type: Dropdown
Mandatory: Yes
Usage: Available only after selecting the district.
Locality
Description: Select the locality boundary within the chosen administrative post.
Field Type: Dropdown
Mandatory: Yes
Usage: Available only after selecting the administrative post.
Village
Description: Select the final-level boundary (e.g., Village) within the chosen locality.
Field Type: Dropdown
Mandatory: Yes
Usage: Available only after selecting the locality.
Note: The hierarchy structure (e.g., Country > Province > District > Administrative Post > Locality > Village) is just an example. Actual levels and labels will vary based on the specific administrative hierarchy configured in the system.
The number of levels and their labels (e.g., Country, Province, District) are not fixed and depend on the system's hierarchy definition.
Users must proceed sequentially, selecting each level to unlock the next.
Localization: All hierarchy level labels are fully translatable, allowing them to be displayed in different languages as required.
Dropdown Menu:
Hierarchical: The options in each dropdown depend on the selection made in the previous level.
Filtering: Text input is supported to filter options.
Validation: Ensures selections are made sequentially and that no level is skipped.
Localization: Error messages and validation prompts are fully translatable.
All fields marked with an asterisk (*) are mandatory.
Users cannot proceed without completing the selection at each level.
If boundaries are not selected down to the last level, or if any selected boundary does not have its child boundary selected, a proper error message is displayed.
Boundary Selection Overview Card
The Boundary Selection Overview Card displays details of the number of selected levels at each dynamically configured boundary level (e.g., Country, Province, District, etc.). It provides a quick summary of the selections made at each level, offering users an efficient way to track the progress of the boundary selection process.
It looks like the second update was missed. Here's the table with both updates correctly included:
/boundary-service/boundary-relationships/_search
POST
{ "tenantId": "mz", "hierarchyType": "MICROPLAN", "includeChildren": true, "RequestInfo": {} }
/boundary-service/boundary-hierarchy-definition/_search
POST
{ "BoundaryTypeHierarchySearchCriteria": { "tenantId": "mz", "limit": 1, "offset": 0, "hierarchyType": "MICROPLAN" }, "RequestInfo": {} }
/project-factory/v1/project-type/search
POST
{ "CampaignDetails" : { "tenantId": "mz", "ids": [ "730fb389-5e60-4c43-b6ce-b1c109b23f54" ]}, "RequestInfo": {} }
/plan-service/config/_search
POST
{ "PlanConfigurationSearchCriteria": { "tenantId": "mz", "id": "660fb389-5e60-4c43-b6ce-b1c109b23f54" } ,"RequestInfo": {} }
/project-factory/v1/project-type/update
POST
{ "CampaignDetails":{"id":"8c413d61-c411-4c33-b6eb-76ea005a84c9","tenantId":"mz","status":"drafted","action":"draft","campaignNumber":"CMP-2024-12-03-006616","isActive":true,"parentId":null,"campaignName":"Malaria-Bednet Campaign-Fixed Popp0099","projectType":"LLIN-mz","hierarchyType":"MICROPLAN","boundaryCode":"MICROPLAN_MO","projectId":null,"startDate":1735810905674,"endDate":0,"additionalDetails":{"source":"microplan","disease":"MALARIA","resourceDistributionStrategy":"MIXED"},"resources":[],"boundaries":[],"deliveryRules":[],"auditDetails":{"createdBy":"f4f36858-0e9e-4150-a37f-444b90995e7c","lastModifiedBy":"f4f36858-0e9e-4150-a37f-444b90995e7c","createdTime":1733218905816,"lastModifiedTime":1733218919304}},"RequestInfo":{}}
/plan-service/config/_update
POST
`{"PlanConfiguration":{"id":"660fb389-5e60-4c43-b6ce-b1c109b23f54","tenantId":"mz","name":"Malaria-Bednet Campaign-Fixed Popp0099","campaignId":"8c413d61-c411-4c33-b6eb-76ea005a84c9","status":"DRAFT","files":[],"assumptions":[],"operations":[],"resourceMapping":[],"auditDetails":{"createdBy":"f4f36858-0e9e-4150-a37f-444b90995e7c","lastModifiedBy":"f4f36858-0e9e-4150-a37f-444b90995e7c","createdTime":1733218906001,"lastModifiedTime":1733218924572},"additionalDetails":{"key":"2"},"workflow":null},"RequestInfo": {} }
The Download User Data screen allows administrators to view and download various user templates and employee details, including user credentials created through bulk creation.
Download Functionality:
Each listed file has a dedicated Download button to save the respective data locally.
Files are downloaded in .xlsx
format.
Implementation of the files displayed :
The /project-factory/v1/data/_search will return all the files uploaded related to microplan.
API Details:
End Point
Method
Payload
/project-factory/v1/data/_search
POST
{"RequestInfo": {},
SearchCriteria: {tenantId: "mz", type: "user"}}
The API will return a ResourceDetails
array containing all the filestore IDs related to the microplan. Each entry will include the fileStoreId
, processedFilestoreId
, and status
Status
The files are downloadable only if the status of the files are "completed",
if the status of the file is "invalid" in resouceDetails.status then the file is not downloadable.
Download Button:
Upon clicking the download button, the following Digit function is invoked using the file's .processedFilestoreId
to enable the download functionality.
Once Downloaded:
The UserName and password are generated for each user in the downloaded sheet.
File Structure
The downloaded .xlsx
files may include the following data fields:
Name: The full name of the user.
Contact Number: The user's phone number.
Email: The user's email address.
Roles: The designated role(s) for each user (e.g., Population Data Approver).
Navigation:
Use the Back button to exit the download screen.
The User Management screen enables the Microplan admin to manage user roles like 'Population Data Approver.' Only roles related to the microplan are displayed here.
The screen is accessed when user logins in as MICROPLAN_ADMIN, goes to Setup Microplan Card and clicks on the User Management link.
This page allows the Microplan Admin to view all registered people for different microplan-related roles, uploaded using bulk upload. When clicking on the corresponding employee in the microplan, the details of the employee are shown.
Administrators can search for users by Name or Contact Number.
Search supports partial string matching.
API Details
The /health-hrms/employees/_search API returns all roles related to the microplan. By default, it shows all roles, but when filtered, it only shows users with the selected roles.
End Point
Roles
/health-hrms/employees/_search
MICROPLAN_ADMIN
Use the role checkboxes on the left-hand panel to filter users based on their assigned roles.
By default all roles are shown in the table.
The roles are fetched from the mdms, module.master is hcm-microplanning.rolesformicroplan .
Link for hcm-microplanning.rolesformicroplan
When one or more checkboxes are selected for role-based filtering, the roles
query string parameter is set to match the selected checkboxes for the /health-hrms/employees/_search
API.
End Point
Roles
/health-hrms/employees/_search
MICROPLAN_ADMIN
Navigation Links
The user can go to the Bulk User Data and Download User Data by clicking on the links.
The Bulk Upload Users is used to create multiple users of various roles to the Microplan.
The Download Users Data allows administrators to view and download various user templates and employee details, including user credentials created through bulk creation.
Employee Details
By clicking on the row of the table the employee details can be viewed.
Navigating to employee details
window.location.href=microplan-ui/employee/hrms/details/${tenantId}/${row}
The data for the different roles are fetched from the MDMS using api call:
API Details
End Point
Roles
/mdms-v2/v2/_search
MICROPLAN_ADMIN
The Bulk Upload Users functionality allows the System Administrator to create multiple users with various roles in the Microplan by uploading an Excel template containing user details.
Template generation
Editing template
Browsing and Uploading
Validating File
Submitting file
To fill up the details in excel sheet a template is downloadable. The template is created by using the api call to /project-factory/v1/data/_generate
The user fills up the template and making sure to fill it in a valid manner.
Fill in user details (Name, contact number, and email) in each sheet according to the role.
Do not assign the same user to both the Microplan Estimation Approver and National Microplan Estimation Approver roles.
Do not assign the same user to both the Facility Boundary Assigner and National Facility Boundary Assigner roles.
Do not assign the same user to both the Population Data Approver and National Population Data Approver roles.
When the user clicks on Browse in My Files, they can select a file of type .xlsx
, .xls
and only the downloaded template can be uploaded. Once the file is selected, the validation of the Excel file begins. This validation is performed using the following hook:
The file is then set in the state and validated through the below hook.
This hook returns fileUrl
, which contains the URL attribute. For example, the URL might look like:
This is a pre-signed URL generated by Amazon S3 (Simple Storage Service), which provides temporary access to a specific file stored in an S3 bucket.
When the fileUrl
is set, the file can be downloaded by clicking a button that uses the following hook:
When the files are selected, the following api calls are being made.
Actions is set to validate when the file is first selected its sent for payload for /project-factory/v1/data/_create
End Point
Method
/project-factory/v1/data/_create
MICROPLAN_ADMIN
/project-factory/v1/data/_search
MICROPLAN_ADMIN
This hook does the validation of the xlsx file uploaded.
The error description is shown in error details.
The action is set to create for the payload for /project-factory/v1/data/_create
The page goes
End Point
Roles
/project-factory/v1/data/_create
MICROPLAN_ADMIN
When the delete button is clicked, the uploaded file is deleted.
1.Overview
When the user clicks on a facility, this popup window opens displaying essential details about the selected facility, as well as options for managing unassigned and assigned villages for this facility.
Facility Details Card
Upon selecting a facility, a Facility Details popup will display the following:
Facility Name: Name of the selected facility.
Facility Type: Type of facility, such as "Warehouse" or "Health Post."
Facility Status: Indicates whether the facility is temporary or permanent.
Capacity: Displays the capacity of the facility (e.g., the number of bales for bednet distribution or blisters for SMC campaigns).
Serving Population: The serving population currently being served by the facility.
Fixed Post: Indicates if the facility is a fixed post, which is typically a permanent, stationary facility.
Residing Village: The village where the facility is located or based.
Filter Options:
Select Administrative Hierarchy: Dropdown menu for selecting an administrative level (e.g., Country, Province, District).
Select Administrative Area: Dropdown menu for selecting a specific area within the hierarchy (e.g., Locality, Village).
Search: Search for villages by name or code.
Clear: Clears all selected filters and resets the search options.
3.Unassigned Villages and Assigned Villages
3.1.Unassigned Villages
This section allows the user to manage villages that have not yet been assigned to any facility. Users can select villages from this list and assign them to a facility.
3.2.Assigned Villages
This section displays the villages that have already been assigned to a facility. Users can manage these assignments, including unassigning a village if necessary.
Actions:
Assign: To assign a facility to a village, select the village from the unassigned list and click the "Assign" button.
Unassign: If a village is already assigned to a facility, users can unassign it by selecting the village and clicking the "UnAssign" button.
4.Notes:
Unassign: Clicking on unassign button will show a alert message that you want to unassign this village from the current selected facility.
Close: Clicking "Close" will exit the page without making any changes.
5.EndPoints:
The Microplan Estimation Approver screen is designed for supervisors to validate and approve microplan estimations within their assigned administrative boundaries. This screen allows approvers to validate, correct, and approve data, ensuring the integrity of the data used for resource planning.
Header Section
Microplan Name: Displays the name of the current microplan being reviewed.
Logged-in User: Indicates the user role and account.
All values are dynamically updated based on the real-time plan data.
These values are sourced directly from microplan-specific KPIs, which reflect any actions taken by data approvers.
As plan estimation data is reviewed, corrected, or approved, the values will change accordingly.
Filters and Search
Administrative Hierarchy and Area Selection: Dropdown menus for selecting specific administrative areas (e.g., district and village).
Search and Filter Options:
Workflow Status Filters:
Pending for validation
Validated
Assigned to Filters:
Assigned to me
Assigned to all
Buttons: Apply Filter, Clear
Plan Estimation Data Table
The table on the Microplan Estimation Validation Page displays key data for each village involved in the campaign, including the village name, status logs, assignee details, and facility name. It also includes important information such as road conditions, terrain, and security factors, which help assess the village’s readiness for plan activities. Additionally, the table presents validated population data, the number of households(based on selected campaign), and other critical metrics related to the plan data, ensuring that approvers have a comprehensive view of the plan estimation details before approval.
Action Buttons
View Logs: Displays historical changes and logs related to a specific plan estimation's data.
4.1. Role-Based Permissions and Actions
Plan Estimation Approver
The Estimation Data Approver is responsible for validating plan data. Their responsibilities include:
Validating Data:
Cross-check the uploaded data with the confirmed population to ensure accuracy.
Identifying Discrepancies:
If discrepancies are found, the PEA can flag the data for revision.
Approval Workflow:
The PDA at the appropriate level will see the application as pending for approval. In such cases, the PDA can validate and approve the data.
When No Data Is Assigned:
If no data is assigned to the PEA or all data assigned to him is validated, a "Back" button is shown, allowing them to return to the previous screen.
Root Plan Estimation Approver (RPEA)
The Root plan Estimation Approver has all the functionalities of a Plan Estimation Approver and additional capabilities, such as finalizing the microplan. Their responsibilities include:
Approving or Sending Data for Correction:
Once the plan data is validated, the RPEA can either approve it or send it back for correction if further issues are identified.
Approval Workflow:
If someone from the below hierarchy modifies and sends the data for approval, the RPEA can approve it. For example, if a province-level user sends the data back to a district-level user, who updates and sends it back for approval, the province-level RPEA will receive the application for approval.
Finalizing Actions:
If all the villages within the selected microplan have been validated and no further changes are required, the RPDA will see a "Finalize Actions" button at the footer of the page.
After finalizing the plan data a success screen will be shown, indicating that microplan is finalized.
The "Finalize Actions" button will lock the data and prevent further modifications once clicked, marking the end of the validation process for the selected microplan or district.
Once the plan estimation data reaches the national-level data approver and the validation is finalized, the system will disable all action buttons. The status will be set to "ESTIMATION_APPROVED" and no further changes can be made. At this point, you can download microplan estimation.
Estimation supervisors will only see the boundaries in their inbox that fall under their jurisdiction.
1.Overview
The Facility Catchment Assigner role is responsible for mapping campaign facilities/points of service (POS) to their respective catchment villages. This mapping ensures that estimation of resources for campaign can be done accurately based on the facilities/POS and the villages assigned to them.
Assign Facilities to Villages:
Map facilities/POS to the villages within their assigned administrative boundaries.
Monitor Facility and Village Mappings:
Ensure that all villages and facilities are appropriately mapped for the campaign.
Microplan Name:
Displays the name of the current microplan being worked on.
Logged-in User:
Displays the role and account of the logged-in user (Facility Catchment Assigner).
The dashboard provides a summary of the facilities and villages that are part of the user's administrative boundaries.
Cards
Villages with Mapped Facilities/POS:
Displays the count of villages assigned to mapped facilities/POS within the administrative boundary.
Facilities with Mapped Villages:
Displays the count of facilities that have assigned villages in the administrative boundary.
The following master details are part of the Facility Catchement Mapping:
Facility Type: The type of facility (e.g., Warehouse, Health Post).
Facility Status: Status of the facility (e.g., Permanent, Temporary).
Residing Village: The villages where the facilities are located.
Facility Search:
Allows the user to search for specific facilities based on partial string matches.
Filters:
Facility Type: Filters by the type of facility (e.g., Warehouse, Health Post).
Facility Status: Filters by the facility's status (e.g., Permanent, Temporary).
Is Fixed Post?: Filters by whether the facility is a fixed post or not.
Residing Village: Filters by the villages where the facilities are located.
The following details are available for each facility in the dashboard:
When the user clicks on a facility or assign button in facility row, a popup window opens displaying essential details about the selected facility, as well as options for managing unassigned and assigned villages for this facility.
Once all villages are assigned to their respective facilities and the mappings are complete, the national level facility catchment assigner can finalize the assignment.
Finalization Process
Finalize Mapping:
A “Finalize facility to village assignment” button will be available to finalize the facility-to-village mapping.
After finalizing the facility catchment mapping a success screen will be shown, indicating that facility assignment is done.
Once finalized, no further changes can be made, and the microplan estimation for the campaign will be triggered.
Finalized Mapping View:
After finalization, the mapping cannot be modified, and the dashboard will display the finalized assignments for reference.
6.End Points
The Population Data Validation and Approval screen is designed for population data approvers to ensure the accuracy and consistency of population data submitted for villages. This screen allows approvers to validate, correct, and approve data, ensuring the integrity of the data used for resource planning.
Header Section
Microplan Name: Displays the name of the current microplan being reviewed.
Logged-in User: Indicates the user role and account.
All values are dynamically updated based on the real-time census data.
These values are sourced directly from microplan-specific KPIs, which reflect any actions taken by data approvers.
As census data is reviewed, corrected, or approved, the values will change accordingly.
Filters and Search
Administrative Hierarchy and Area Selection: Dropdown menus for selecting specific administrative areas (e.g., district and village).
Search and Filter Options:
Workflow Status Filters:
Pending for validation
Pending for approval
Validated
Assigned to Filters:
Assigned to me
Assigned to all
Buttons: Apply Filter, Clear
Population Data Table
Action Buttons
View Logs: Displays historical changes and logs related to a specific village's data
4.1. Role-Based Permissions and Actions
Population Data Approver (PDA)
The Population Data Approver is responsible for validating population and editing data. Their responsibilities include:
Validating Data:
Cross-check the uploaded data with the confirmed population to ensure accuracy.
Editing Data:
Modify the village population data if discrepancies are found, with a reason logged for each change and the data is sent back for approval.
When No Data Is Assigned:
If no data is assigned to the PDA, a "Back" button is shown, allowing them to return to the previous screen.
Root Population Data Approver (RPDA)
The Root Population Data Approver has all the functionalities of a PDA and additional capabilities, to finalize population data. Their responsibilities include:
Editing Data:
Modify the village population data if discrepancies are found, with a reason logged for each change.
Approving or Sending Data for Correction:
Once the population data is validated, the RPDA can either approve it or send it back for correction if further issues are identified.
Approval Workflow:
If someone from the below hierarchy modifies and sends the data for approval, the RPDA can approve it. For example, if a province-level user sends the data back for approval, the RPDA will receive the application for approval and validation.
Finalizing Actions:
If all the villages within the selected microplan have been validated and no further changes are required, the RPDA will see a "Finalize Actions" button at the footer of the page.
The "Finalize Actions" button will lock the data and prevent further modifications once clicked, marking the end of the validation process for the selected microplan population data.
After finalizing the population data a success screen will be shown, indicating that population data is finalized.
Additional Notes
Once the population data reaches the national-level data approver and the validation is finalized, the system will disable all action buttons. The status will be set to "CENSUS_APPROVED" and no further changes can be made. At this point, users can only view the details of the data but will not be able to perform any additional actions, such as editing or approving the data.
Population supervisors will only see the boundaries in their inbox that fall under their jurisdiction.
The document provides an interactive interface for supervisors to manage and track microplans. It displays role-based activity cards that guide users through tasks such as validating population data, assigning facilities, and approving microplan estimations. The available activities are dynamically presented based on the user’s role (Root or Normal) and the current workflow status of the microplan, ensuring that supervisors only see the actions relevant to their responsibilities at each stage of the microplan.
Microplan Name Display:
A prominently displayed label at the top of the interface that shows the name of the selected microplan.
Activity Options:
Displays a list of activities as clickable items. Selecting an activity navigates the user to the corresponding detailed workflow.
1. Validate & Approve Population Data
Purpose: Ensures the population data associated with the microplan is accurate and approved for further processing.
Steps:
Review uploaded population data for completeness and correctness.
Approve or flag data for revision as needed.
Roles Involved:
ROOT_POPULATION_DATA_APPROVER: Can review, approve, or send back population data, as well as finalised population data.
POPULATION_DATA_APPROVER: Can review, approve, or send back population data.
Role-Based Access:
This card is visible based on the user role and the wfStatus
that aligns with the data validation stage.
2. Assign Facilities to Villages
Purpose: Assign healthcare or distribution facilities to specific villages or areas within the campaign's scope.
Steps:
Map villages to designated facilities.
Confirm assignments to ensure logistical accuracy.
Roles Involved:
ROOT_FACILITY_CATCHMENT_MAPPER: Assign and unassign facilities to villages, and finalise facility assignments.
FACILITY_CATCHMENT_MAPPER: Assign and unassign facility to villages.
Role-Based Access:
This card appears only when the wfStatus
indicates that facility assignment is the next step.
3. Validate & Approve Microplan Estimations
Purpose: Review and finalise the estimated resources, population coverage, and other metrics calculated for the microplan.
Steps:
Check estimations for accuracy and alignment with campaign objectives.
Approve or request adjustments as necessary.
Roles Involved:
ROOT_PLAN_ESTIMATION_APPROVER: Can approve or request adjustments for microplan estimations, also finalized microplan estimation.
PLAN_ESTIMATION_APPROVER: Can approve or request adjustments for microplan estimations.
Role-Based Access:
The card is displayed based on wfStatus
of the plan configuration, indicating readiness for estimation validation.
Select an Activity: Choose one of the available activities depending on the current stage of the microplan.
Proceed to the Next Screen: Click the activity to access its detailed workflow interface.
Role-based Permissions: Certain activities might be restricted based on user roles and permissions.
Sequential Workflow: Activities must be completed in sequence for effective campaign execution:
Validate Population Data
Assign Facilities
Approve Microplan Estimations
Progress Tracking: Ensure tasks are not repeated and assignments remain aligned with campaign objectives.
The system administrator can see the list of microplans on this page and perform certain actions on each microplan, if required.
The screen is accessed when the user logins in as MICROPLAN_ADMIN, goes to the Microplan Setup card, and clicks on the open microplans link.
The Open Microplans screen allows the microplan admin to see all the plans that they create. Microplans are categorised by their status, such as Drafted Setup, Completed Setup, Validation in Progress, and Finalised Microplan. A mMicroplan admin can search for microplans by name and perform actions based on the microplan’s current status.
The list of statuses displayed on the Open Microplans screen includes:
All: Default view showing all microplans created by the user.
Drafted Setup: Microplans that have still not been completed in setup microplans.
Completed Setup: Shows microplans for which setup is completed.
Validation in Progress: Displays microplans that are being validated by Population approvers, facility data approvers, and estimation approvers.
Finalized Microplan: This shows the microplans that have been fully validated and finalized.
In the Open Microplans screen, users can:
Search Microplan: Search for microplans using the microplan name. Fuzzy search is also available.
Filter Microplans by Status: Use tabs to filter microplans based on their status.
Perform Status-Specific Actions: Depending on the microplan's status, users can view, edit, or download finalised microplan estimations.
Frontend File Path:
How Search API works
Each of the tabs is associated with a tabId and each tabId is linked with a status, and after extracting the string query params in the URL, the payload for PlanConfigurationSearchCriteria.status is filled based on tabId.
Sample Payload:
1) /plan-service/config/_search:
This endpoint takes userUUID
as the planConfigSearchCriteria
and returns all the different plan objects related to the microplans created by the logged-in system admin.
2)/project-factory/v1/project-type/search
Will take the campaignId from the plan Object and the tenantId, and will give back the campaign Object(campaign name, campaign disease, campaign type, etc).
Based on the status of microplan different actions are available.
Each of the different tabs represents the different stages of the microplan.
The Edit (Drafted Microplans)
When the microplan status is ["DRAFT"], edit is available. Clicking on it redirects to the last edited page of the setup microplan.
View Summary (Setup Completed):
When the microplan status is ["EXECUTION_TO_BE_DONE"] or ["CENSUS_DATA_APPROVAL_IN_PROGRESS", "CENSUS_DATA_APPROVED", "RESOURCE_ESTIMATION_IN_PROGRESS"], view summary is available. Clicking on it redirects to the summary page of the setup microplan.
Download Microplan(Microplan Finalized):
When the status of the microplan is ["RESOURCE_ESTIMATIONS_APPROVED"], then clicking on the download will download the microplan sheet using the hook
The field, and campaign name are extracted from the plan object and the name of the generated file is the customName.
1.Overview
When a user clicks on a village name in the Population Data Table, they are directed to the Village Details Page, which provides detailed information about the selected village.
2.Header Information
Microplan Name: Displays the name of the microplan associated with the village.
Displays the Hierarchy of the village.
3.Security & Accessibility
Village Security: Provides an input field for entering security details about the village.
Master Details :
Security Questions
Is your village prone to civil unrest like violent protests, riots, etc.? Captures the frequency of civil unrest occurrences using the following options:
All the time (At least once a month): Frequent civil unrest.
Often (At least once a year): Civil unrest occurs occasionally but is a notable concern.
Rarely (Once in 2–3 years): Rare civil unrest.
Never: No recorded instances of civil unrest.
How often do the security forces patrol the village? Measures the frequency of security patrols to ensure safety, with the following options:
Every day: Daily security patrols.
Often (At least once a week): Regular but less frequent patrols.
Rarely (Once in a month): Infrequent security patrols.
Never: No security patrols.
Village Accessibility: Allows entering accessibility details for the village.
Master Details :
Village Road Condition: Captures the type of road infrastructure present in the village. The options include:
Concrete: Indicates the presence of a well-paved concrete road.
Gravel: Represents roads made of gravel.
Dirt: Denotes unpaved roads made of dirt or soil.
No Road: Indicates the absence of any road infrastructure.
Village Terrain: Specifies the geographical terrain of the village. The available options are:
Mountain: Villages located in mountainous areas.
Forest: Villages surrounded by dense forest areas.
Plain: Villages situated in flat, open landscapes.
Desert: Villages located in arid, desert regions.
The data displayed here can be reviewed, modified, and validated by the appropriate users, depending on their role.
Data Table:
Note : The data inside table will change based on selected campaign.
Note : the data inside table will change based on selected campaign.
Actions:
Edit Population Data: If needed, the confirmed population data can be modified.
Cancel: Discards any changes made to the population data.
Submit and Validate:
If the Root Population Data Approver (RPDA) is logged in, they can directly validate the data.
If the Population Data Approver (PDA) is logged in, the data will move to the "Pending for Approval" status and will need further validation by higher-level approvers.
5.Comment Logs
View Comment Logs: This feature displays the history of changes and comments made about the village's population data, enabling transparency and tracking.
MDMS Data is fetched from:
MDMS Data is fetched from:
MDMS Data is fetched from:
Field Name
Description
Village Name
The name of the village (e.g., Tendeken-01, Dutorken).
Administrative Hierarchy
The administrative hierarchy to which the village belongs (e.g., Country, Province, District).
Administrative Area
The specific area within the hierarchy (e.g., Locality, Village).
Accessibility Level
Indicates the ease of accessing the village (e.g., View Details).
Security Level
The security conditions of the village (e.g., View Details).
Confirmed Target Population
The population size confirmed for the village.
Assignment Status
Indicates whether the village is currently assigned or unassigned to a facility.
Assigned Facility
Name of the facility to which the village is assigned (if applicable).
Actions
Options for assigning or unassigning a village.
Purpose
Endpoint
Method
Payload
Search census data
/census-service/_search
POST
{"CensusSearchCriteria":{"tenantId":"mz","source":"0dfe322d-727c-489f-a5a8-e8b7a0a43cc4","facilityAssigned":false,"jurisdiction":["MICROPLAN_MO"],"limit":10,"offset":0}
Update facility plan mapping data
/plan-service/plan/facility/_update
POST
{"PlanFacility":{"id":"11aa5150-0c6c-42ed-adb5-775fc02bfbbb","tenantId":"mz","planConfigurationId":"0dfe322d-727c-489f-a5a8-e8b7a0a43cc4","planConfigurationName":"bednetmixed-togregish2hdis name-1733377290309-8722","boundaryAncestralPath":"MICROPLAN_MO"}
Purpose
Endpoint
Method
Payload
Fetch plan configuration details
/plan-service/config/_search
POST
{"PlanConfigurationSearchCriteria":{"tenantId":"mz","id":"0dfe322d-727c-489f-a5a8-e8b7a0a43cc4"}}
Fetch project types for a campaign
/project-factory/v1/project-type/search
POST
{"CampaignDetails":{"tenantId":"mz","ids":["fede1b71-464d-48be-a2ab-c27147df42c4"]}}
Search for assigned employees
/plan-service/employee/_search
POST
{"PlanEmployeeAssignmentSearchCriteria":{"tenantId":"mz","active":true,"planConfigurationId":"0dfe322d-727c-489f-a5a8-e8b7a0a43cc4","role":["PLAN_ESTIMATION_APPROVER","ROOT_PLAN_ESTIMATION_APPROVER"],"employeeId":["d3b6f2fb-97b7-4103-aa47-e03f0ba47b18"],"limit":5,"offset":0}}
Fetch workflow process details
/egov-workflow-v2/egov-wf/process/_search
POST
SearchParams{
tenantId=mz,
history=true,
businessIds=275135ab-2c22-48aa-8325-88f42c4d29ce
}
Search for plans by configuration
/plan-service/plan/_search
POST
{"PlanSearchCriteria":{"tenantId":"mz","planConfigurationId":"0dfe322d-727c-489f-a5a8-e8b7a0a43cc4"}}
Facility Detail
Description
Facility Name
Displays the name of the facility.
Facility Type
Displays the type of facility (e.g., Warehouse, Health Post).
Facility Status
Displays whether the facility is permanent or temporary.
Capacity
Shows the facility's capacity (e.g., Bales for bednets or Blisters for SMC campaigns).
Assigned Villages
Shows the number of villages assigned to the facility.
Serving Population
Displays the total population being served by the facility.
Fixed Post
Indicates if the facility is a fixed post.
Residing Village
Shows the name of the village where the facility resides.
Purpose
Endpoint
Method
Payload
Search for facilities
/plan-service/plan/facility/_search
POST
{ "PlanFacilitySearchCriteria": { "limit": 10, "offset": 0, "tenantId": "mz", "planConfigurationId": "297699ef-0041-4421-a4ae-acdd89c78e80", "jurisdiction": ["MICROPLAN_MO"], "facilityName": "", "residingBoundaries": [] } }
Search for project types
/project-factory/v1/project-type/search
POST
{ "CampaignDetails": { "tenantId": "mz", "ids": ["395adc89-6030-4347-ae5c-32a059f5aae5"] } }
Fetch chart data
/dashboard-analytics/dashboard/getChartV2?_=1733293436271
POST
{ "aggregationRequestDto": { "visualizationType": "METRIC", "visualizationCode": "totalFacilitiesWithMappedVillages", "filters": { "COUNTRY": ["MICROPLAN_MO"], "planConfigurationId": ["297699ef-0041-4421-a4ae-acdd89c78e80"], "tenantId": ["mz"] }, "moduleLevel": "MICROPLAN-FACILITY" }, "headers": { "tenantId": "mz" } }
Search census data
/census-service/_search
POST
{ "CensusSearchCriteria": { "tenantId": "mz", "facilityAssigned": false, "source": "297699ef-0041-4421-a4ae-acdd89c78e80", "jurisdiction": ["MICROPLAN_MO"] } }
Search for employees assigned to a plan
/plan-service/employee/_search?_=1733293435767
POST
{ "PlanEmployeeAssignmentSearchCriteria": { "tenantId": "mz", "active": true, "planConfigurationId": "297699ef-0041-4421-a4ae-acdd89c78e80", "employeeId": ["55392d76-9d87-4d4f-9ae9-2f44ff6968f2"], "limit": 5, "offset": 0 } }
Column
Description
Village Name
Name of the village under review.
Uploaded Target Population
Target population submitted for the village.
Confirmed Target Population
Approved target population for the village.
Uploaded Total Population
Total population submitted for the village.
Confirmed Total Population
Approved total population for the village.
Action Buttons
Includes View Logs for historical data and other validation actions.
Get chart data for a specific visualization
dashboard-analytics/dashboard/getChartV2
POST
{ "aggregationRequestDto": { "visualizationType": "METRIC", "visualizationCode": "censusUploadedTargetPopulation", "filters": { "COUNTRY": ["MICROPLAN_MO"], "status": ["PENDING_FOR_VALIDATION"], "planConfigurationId": ["246cfc95-b4b0-43e8-b375-dd44333cc881"], "tenantId": ["mz"] }, "moduleLevel": "CENSUS" }, "headers": { "tenantId": "mz" } }
Search census data
census-service/_search
POST
{ "CensusSearchCriteria": { "tenantId": "mz", "source": "246cfc95-b4b0-43e8-b375-dd44333cc881", "status": "PENDING_FOR_VALIDATION", "assignee": "a7431b92-5db5-46b1-9b5b-33272ba8dbfc", "jurisdiction": ["MICROPLAN_MO"], "limit": 50, "offset": 0 } }
Search business services
egov-workflow-v2/egov-wf/businessservice/_search
POST
SearchParams{
tenantId=mz,
businessServices=CENSUS
}
Search plan employees
plan-service/employee/_search
POST
{ "PlanEmployeeAssignmentSearchCriteria": { "tenantId": "mz", "active": true, "planConfigurationId": "246cfc95-b4b0-43e8-b375-dd44333cc881", "role": ["POPULATION_DATA_APPROVER", "ROOT_POPULATION_DATA_APPROVER"], "employeeId": ["a7431b92-5db5-46b1-9b5b-33272ba8dbfc"], "limit": 5, "offset": 0 } }
Search project type by campaign ID
project-factory/v1/project-type/search
POST
{ "CampaignDetails": { "tenantId": "mz", "ids": ["5b5a49ca-584c-4226-bbd6-98cddd95ef78"] } }
Search plan configuration details
plan-service/config/_search
POST
{ "PlanConfigurationSearchCriteria": { "tenantId": "mz", "id": "246cfc95-b4b0-43e8-b375-dd44333cc881" } }
/egov-workflow-v2/egov-wf/process/_search
Search process history for this plan
ROOT_POPULATION_DATA_APPROVER, POPULATION_DATA_APPROVER, ROOT_PLAN_ESTIMATION_APPROVER, PLAN_ESTIMATION_APPROVER, ROOT_FACILITY_CATCHMENT_MAPPER, FACILITY_CATCHMENT_MAPPER, MICROPLAN_VIEWER
/egov-workflow-v2/egov-wf/businessservice/_search
Search workflow business services by tenant ID and plan
ROOT_POPULATION_DATA_APPROVER, POPULATION_DATA_APPROVER, ROOT_PLAN_ESTIMATION_APPROVER, PLAN_ESTIMATION_APPROVER, ROOT_FACILITY_CATCHMENT_MAPPER, FACILITY_CATCHMENT_MAPPER, MICROPLAN_VIEWER
/plan-service/config/_search
Retrieve plan configuration details by configuration ID
SUPERUSER, MICROPLAN_ADMIN, MICROPLAN_CAMPAIGN_INTEGRATOR, ROOT_POPULATION_DATA_APPROVER, POPULATION_DATA_APPROVER, ROOT_PLAN_ESTIMATION_APPROVER, PLAN_ESTIMATION_APPROVER, ROOT_FACILITY_CATCHMENT_MAPPER, FACILITY_CATCHMENT_MAPPER, MICROPLAN_VIEWER
End Point
Role
/plan-service/config/_search
MICROPLAN_ADMIN
/project-factory/v1/project-type/search
MICROPLAN_ADMIN
Village Name
Uploaded Total Population
Uploaded Target Population
Confirmed Total Population
Confirmed Target Population
Gblebo Town
(Total population submitted)
(Target population submitted)
(Total population validated)
(Target population validated)
Endpoint
Purpose
Role
/census-service/_update
To Update the census data
POPULATION_DATA_APPROVER ROOT_POPULATION_DATA_APPROVER ROOT_FACILITY_CATCHMENT_MAPPER FACILITY_CATCHMENT_MAPPER
/egov-workflow-v2/egov-wf/process/_search
Search process history for this plan
ROOT_POPULATION_DATA_APPROVER, POPULATION_DATA_APPROVER, ROOT_PLAN_ESTIMATION_APPROVER, PLAN_ESTIMATION_APPROVER, ROOT_FACILITY_CATCHMENT_MAPPER, FACILITY_CATCHMENT_MAPPER, MICROPLAN_VIEWER
Role
Description
Role Code
Plan Estimation Approver
Responsible for validating the estimation data, ensuring its accuracy, including the ability to edit data, approve, or send data back for correction.
PLAN_ESTIMATION_APPROVER
Root Plan Estimation Approver
Responsible for validating the estimation data, ensuring its accuracy, including the ability to edit data, approve, or send data back for correction.Has additional permissions, including the ability to finalize microplan estimation data.
ROOT_PLAN_ESTIMATION_APPROVER
Role
Description
Role Code
Facility Catchment Mapper
Responsible for assingning facility to villages
FACILITY_CATCHMENT_MAPPER
Root Facility Catchment Mapper
Has additional permissions, including the ability to finalize catchment mapping
ROOT_FACILITY_CATCHMENT_MAPPER
Role
Description
Role Code
Population Data Approver
Responsible for validating the population data, ensuring its accuracy, including the ability to edit data, approve, or send data back for correction.
POPULATION_DATA_APPROVER
Root Population Data Approver
Responsible for validating the population data, ensuring its accuracy, including the ability to edit data, approve, or send data back for correction.Has additional permissions, including the ability to finalize population data.
ROOT_POPULATION_DATA_APPROVER