User Interface Design
Overview
This page explains how to configure the UI for setting up Microplans using MDMS-driven configurations in the hcm-microplanning module.
Steps
Step 1: Understand UI Actions and Action IDs
Each Action ID represents a unique navigation path or user action in the Microplanning UI (for example, create microplan, configure resources, or review distribution).
Action IDs are mapped to UI flows and screens.
These actions are defined and resolved through configuration, not hardcoded logic.
Ensure all required actions for microplanning are correctly mapped before proceeding with master configurations.
City module file path - required to run the campaign module.
{
"module": "Microplan",
"code": "Microplan",
"active": true,
"order": 1,
"tenants": [
{
"code": "mz"
}
]
}Step 2: Configure Microplanning Masters in MDMS
The HCM-microplanning module relies on multiple MDMS masters to drive UI behaviour, validation, and workflows. Each master is accessed from MDMS and controls a specific part of the microplanning experience.
Core Microplanning Masters
Configure the following masters under the HCM-Microplanning module:
Microplan Naming Convention Defines the standard naming structure for microplans.
Microplan Naming Regex Validates microplan names entered in the UI.
Resource Distribution Strategy Controls how resources are allocated during microplanning.
Roles for Microplan Defines roles, permissions, and access levels for microplanning workflows.
Hypothesis Assumptions Provides predefined assumptions used during hypothesis creation.
Rule Configuration Masters
These masters drive rule-based logic and calculations shown in the UI:
Rule Configure Inputs Defines input parameters required by the rule engine.
Rule Configure Output Specifies expected outputs from rule execution.
Auto-Filled Rule Configurations Enables system-driven auto-fill of rule values.
Rule Configure Operators Lists operators available for rule evaluation.
Workflow and Hierarchy Masters
Registration and Distribution Mode Defines whether registration and distribution occur together or separately.
Hierarchy Config Defines hierarchical levels and their relationships.
Hierarchy Schema Specifies the order and structure of boundary hierarchies.
Geography and Infrastructure Masters
Village Road Condition Captures road accessibility data for villages.
Village Terrain Describes terrain characteristics influencing distribution planning.
Vehicle Details Lists available vehicles for resource transportation.
Facility and Security Masters
Facility Type Defines facility categories used in microplanning.
Facility Status Indicates operational status of facilities.
Security Questions Configures security questions used in authentication flows.
Context and Analytics Masters
Context Path for User Determines user-specific navigation and access paths.
DSS KPI Configs Defines KPIs used by the Decision Support System (DSS).
Master Schema
All the above masters are managed using the:
Schema Code:
BASE_MASTER_DATA
This ensures consistency, validation, and reuse across the microplanning UI.
Step 3: Verify MDMS Data Source
Ensure the required MDMS data is available and up to date:
MDMS Repository:
egov-mdms-data → data/mz/health/hcm-microplanning
All configured masters must exist here to render correctly in the UI.
Step 4: Configure Environment-Level Settings
Add global configuration entries for microplanning in the deployment environment file:
Environment Config Location:
DIGIT-DevOps → deploy-as-code/helm/environments/unified-health-uat.yaml
These settings ensure that the microplanning module is enabled and correctly resolved at runtime.
Step 5: Configure Localisation for Microplanning UI
Microplanning UI text is fully localisation-driven. Ensure translations are added to the correct modules:
rainmaker-common
Common screens (login, homepage, sidebar)
rainmaker-microplanning
Microplanning workflows and configurations
rainmaker-boundary-${BOUNDARY_HIERARCHY_TYPE}
Boundary-level labels
rainmaker-Microplanning
Microplanning screen content
rainmaker-workbench
Operational tools and utilities
rainmaker-mdms
MDMS-driven master labels
rainmaker-schema
Schema definitions
rainmaker-hcm-admin-schemas
HCM admin and schema configuration text
Ensure localisation keys are available before testing the UI.
Step 6: Validate UI Behaviour
After configuration:
Verify microplan creation screens
Validate naming rules and regex enforcement
Check rule-based auto-filled fields
Confirm hierarchy-driven dropdowns and filters
Ensure localisation renders correctly across all screens
Once all steps are completed:
The Microplanning UI is fully configuration-driven
No code changes are required for UI behaviour updates
Changes in MDMS are reflected immediately in the UI
Reference File Links & Sample Payload
Sample payload for adding roles in MDMS
Role-action mapping
Actions ID MDMS data
HCM Microplanning master details
Hierarchy schema sample payload
Was this helpful?