DIGIT Docs
Microplanning 0.1
  • DIGIT Knowledge Base
  • Local Governance
Microplanning 0.1
  • Introducing Microplanning
    • Release Notes
      • v0.1 Release Notes
        • Release Checklist
        • Technical Release Summary
        • Master Data Management Service (MDMS) and Configuration updates
        • Service Builds
        • UI/UX Audit
  • PRODUCT SPECIFICATION
    • User Manual
    • Product Requirement Document
      • SOPs
        • Guidelines
  • TECHNOLOGY
    • Architecture
      • High Level Design
      • Low Level Design
        • Plan Management
        • Census Management
        • Microplanning UI
          • System Admin Flow
          • Population Data Approval
          • Facility Catchment Mapping
          • Microplan Estimation Approval
      • Services
        • HCM Microplan Web
          • User Interface Design
          • Set Up Microplan
            • Microplan Details
            • Boundary Selection
            • Data Management
            • Microplan Assumptions
            • Formula Configuration
            • User Tagging
            • Summary Screen
          • User Management
            • Bulk User Create
            • Download Users Credentials
          • Supervisor Flows
            • User Interface Design
            • My Microplan
            • Select Activity
            • Validate And Approve Population Data
              • Village Details
            • Assign Facility To Villages
              • Village Assignment And Unassignment to Facility
            • Validate And Approve Microplan Estimation
          • Open Microplans: System Admin
    • Specification
      • Plan Service
      • Resource Generator Service
      • Census Service
  • SETUP
    • Installation
    • Configuration
      • Advanced Configurations
    • QA Test Cases
Powered by GitBook

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.

On this page
  • Path
  • Overview
  • User Actions
  • File Path
  • Business Logic
  • The flow of API calls
  • API Details
  • Status-Specific Actions
  • Logic Explanation

Was this helpful?

Export as PDF
  1. TECHNOLOGY
  2. Architecture
  3. Services
  4. HCM Microplan Web

Open Microplans: System Admin

PreviousValidate And Approve Microplan EstimationNextSpecification

Last updated 5 months ago

Was this helpful?

The system administrator can see the list of microplans on this page and perform certain actions on each microplan, if required.

Path

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.

Overview

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.

User Actions

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.

File Path

Frontend File Path:

Business Logic

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:

PlanConfigurationSearchCriteria: { limit: 10, offset: 0, status: ["DRAFT"], tenantId: "mz", userUuid: "80abd698-3a65-4665-bcdb-d177083f6277", RequestInfo: {} }

The flow of API calls

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).

API Details

End Point

Role

/plan-service/config/_search

MICROPLAN_ADMIN

/project-factory/v1/project-type/search

MICROPLAN_ADMIN


Status-Specific Actions

Based on the status of microplan different actions are available.

Each of the different tabs represents the different stages of the microplan.

Logic Explanation

  1. 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.

  2. 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.

  3. 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

Digit.Utils.campaign.downloadExcelWithCustomName({ fileStoreId: fileId, customName: campaignName });,

The field, and campaign name are extracted from the plan object and the name of the generated file is the customName.

DIGIT-Frontend/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/pages/employee/MyMicroplans.js at console · egovernments/DIGIT-FrontendGitHub
Logo
Open Microplan