Open Microplans: System Admin
Last updated
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
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).
End Point
Role
/plan-service/config/_search
MICROPLAN_ADMIN
/project-factory/v1/project-type/search
MICROPLAN_ADMIN
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.