DIGIT Docs
v0.3.1
  • DIGIT Knowledge Base
  • Local Governance
v0.3.1
  • Introducing HCM Console
  • Release Notes
    • v0.3.1: Release Notes
      • Service Build Updates
      • Master Data Management Service (MDMS) & Configuration Updates
      • HCM Console Test Cases V0.3.1
    • v0.3: Release Notes
      • v0.3 Technical Release Summary
      • Service Build Updates
      • Master Data Management Service (MDMS) & Configuration Updates
      • HCM Console Test Cases V0.3
      • Gate 2 Release Checklist
        • Release Showcase
    • v0.2: Release Notes
      • v0.2 Technical Release Summary
      • Service Build Updates
      • Master Data Management Service (MDMS) & Configuration Updates
    • v0.1: Release Notes
      • v0.1 Technical Release Summary
      • Service Build Updates
      • Master Data Management Service (MDMS) & Configuration Updates
      • Gate 2 Release Checklist
  • PRODUCT SPECIFICATION
    • User Manual
    • Product Requirement Document (PRD)
    • Functional Specifications
  • TECHNOLOGY
    • Architecture
      • High Level Design
        • Project Factory
      • Low Level Design
        • Project Factory (Campaign Manager)
          • Create Campaign
          • Update Campaign
          • Manage Resources
        • Admin Console
          • Campaign Creation Flow
          • Campaign Updation Flow
          • Checklist Management
      • Services
        • Project Factory
          • Manage Campaign APIs
            • Microplan Integration
            • Update an Ongoing Campaign
          • Manage Data APIs
            • Target Upload
          • Manage Boundary APIs
            • Boundary Generation
            • Boundary Management
            • Boundary Management Through GeoJson
        • HCM Console Web
          • User Interface Design
          • Manage Campaign
            • Setup Campaign (New Campaign)
              • Campaign Details
              • Boundary Details
              • Delivery Details
              • Resource Upload Details
              • Summary Screen
              • Setup Campaign from Microplan
              • Setup and Implementation of Campaign
              • IRS Console Support
              • Data Mapping Screen (v0.3 Patch)
              • Co-Delivery Console Support
            • My Campaign
              • My Campaign Actions
              • Campaign Timeline
              • Update Campaign (Boundary/ Resources)
              • Update Campaign Dates
          • Boundary Data Management
          • Manage Checklist
            • Default Templates
  • SETUP
    • Installation
    • Configuration
      • UI Configurations
      • Steps to Enable a New Campaign Type in Console
      • Advanced Configurations
    • Quality Assurance Testing
      • Automation - Run HCM Console Script
        • User
        • Target
        • Facility
      • Performance Testing
  • GENERAL
    • Product Roadmap
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

Was this helpful?

Export as PDF
  1. TECHNOLOGY
  2. Architecture
  3. Services
  4. HCM Console Web
  5. Manage Campaign
  6. Setup Campaign (New Campaign)

Co-Delivery Console Support

Co-delivery is the default configuration supported by the Console, where delivery rules have no restrictions.

For co-delivery to be displayed as the campaign type, it must be initially added to the MDMS. Project type name - 'DEFAULT' Master name: projectTypes Module name: "HCM-PROJECT-TYPES"

HCM-PROJECT-TYPES
{
            "id": "469a45cd-7a5f-45d9-bacc-f441320a0c48",
            "tenantId": "mz",
            "schemaCode": "HCM-PROJECT-TYPES.projectTypes",
            "uniqueIdentifier": "ea1bb2e7-06d8-4fe4-ba1e-f4a6363a23re",
            "data": {
                "id": "ea1bb2e7-06d8-4fe4-ba1e-f4a6363a23re",
                "code": "DEFAULT",
                "name": "configuration for Co-Delivery Campaign",
                "type": "multiround",
                "group": "MALARIA",
                "cycles": [],
                "resources": [],
                "beneficiaryType": "INDIVIDUAL"
            },
            "isActive": true,
            "auditDetails": {
                "createdBy": "db842ca9-25c5-4419-a72f-459443d38feb",
                "lastModifiedBy": "db842ca9-25c5-4419-a72f-459443d38feb",
                "createdTime": 1734585310867,
                "lastModifiedTime": 1734585310867
            }
        }

Newly added schema - HCM-ADMIN-CONSOLE.allAttributes This schema contains different types of attributes, their respective project types, and the allowed operators for that attribute. valuesSchema: Is the name of schema from where dropdown options will render:

HCM-ADMIN-CONSOLE.allAttributes
[
        {
            "id": "b6ca2d6a-3f40-4823-9436-7f5db9c4e8eb",
            "tenantId": "mz",
            "schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
            "uniqueIdentifier": "gender",
            "data": {
                "key": 6,
                "code": "gender",
                "i18nKey": "CAMPAIGN_ATTRIBUTE_GENDER",
                "projectTypes": [
                    "CO-DEL",
                    "MR-DN"
                ],
                "valuesSchema": "common-masters.GenderType",
                "allowedOperators": [
                    "EQUAL_TO"
                ]
            },
            "isActive": true
        },
        {
            "id": "6d874cc3-23b9-49d1-ab93-f03c2199174f",
            "tenantId": "mz",
            "schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
            "uniqueIdentifier": "weight",
            "data": {
                "key": 5,
                "code": "weight",
                "i18nKey": "CAMPAIGN_ATTRIBUTE_WEIGHT",
                "projectTypes": [
                    "CO-DEL",
                    "MR-DN"
                ]
            },
            "isActive": true
        },
        {
            "id": "600f3003-fdaa-4c14-86dd-c5f79dc69baa",
            "tenantId": "mz",
            "schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
            "uniqueIdentifier": "height",
            "data": {
                "key": 4,
                "code": "height",
                "i18nKey": "CAMPAIGN_ATTRIBUTE_HEIGHT",
                "projectTypes": [
                    "CO-DEL",
                    "MR-DN"
                ]
            },
            "isActive": true
        },
        {
            "id": "bb8ca065-e406-43b0-9a47-5a744a64386d",
            "tenantId": "mz",
            "schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
            "uniqueIdentifier": "age",
            "data": {
                "key": 3,
                "code": "age",
                "i18nKey": "CAMPAIGN_ATTRIBUTE_AGE",
                "projectTypes": [
                    "CO-DEL",
                    "MR-DN"
                ]
            },
            "isActive": true
        },
        {
            "id": "6ca05e70-06c1-4f0b-abf7-e4dfc7173086",
            "tenantId": "mz",
            "schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
            "uniqueIdentifier": "type_of_structure",
            "data": {
                "key": 2,
                "code": "type_of_structure",
                "i18nKey": "TYPE_OF_STRUCTURE",
                "projectTypes": [
                    "CO-DEL",
                    "IRS-mz"
                ],
                "valuesSchema": "HCM.HOUSE_STRUCTURE_TYPES",
                "allowedOperators": [
                    "EQUAL_TO"
                ]
            },
            "isActive": true
        },
        {
            "id": "a07cdcfb-83b0-4543-bfd7-01f4c7bd8bea",
            "tenantId": "mz",
            "schemaCode": "HCM-ADMIN-CONSOLE.allAttributes",
            "uniqueIdentifier": "memberCount",
            "data": {
                "key": 1,
                "code": "memberCount",
                "i18nKey": "CAMPAIGN_BEDNET_INDIVIDUAL_LABEL",
                "projectTypes": [
                    "LLIN-mz",
                    "CO-DEL"
                ]
            },
            "isActive": true
        }
    ]

Schema no longer in use - HCM-ADMIN-CONSOLE.attributeConfig

[MASTER - ADMIN SCHEMA MODULE - (HCM-ADMIN-CONSOLE)] TO BE CONFIGURED FOR PROJECT-TYPE "DEFAULT"

ADMIN SCHEMAS

 "data": {
                "title": "boundary",
                "$schema": "http://json-schema.org/draft-07/schema#",
                "properties": {
                    "numberProperties": [
                        {
                            "name": "HCM_ADMIN_CONSOLE_TARGET_INDIVIDUAL",
                            "type": "number",
                            "isRequired": false,
                            "description": "Target Individual",
                            "orderNumber": 2
                        },
                        {
                            "name": "HCM_ADMIN_CONSOLE_TARGET_HOUSEHOLD",
                            "type": "number",
                            "isRequired": false,
                            "description": "Target Household",
                            "orderNumber": 3
                        },
                        {
                            "name": "HCM_ADMIN_CONSOLE_TARGET_PRODUCT",
                            "type": "number",
                            "isRequired": false,
                            "description": "Target Product",
                            "orderNumber": 4
                        }
                    ],
                    "stringProperties": [
                        {
                            "name": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE",
                            "type": "string",
                            "isRequired": true,
                            "description": "Boundary Code",
                            "orderNumber": 1,
                            "freezeColumn": true
                        }
                    ]
                },
                "campaignType": "DEFAULT"
            }
            

{
                "title": "boundaryWithTarget",
                "$schema": "http://json-schema.org/draft-07/schema#",
                "properties": {
                    "numberProperties": [
                        {
                            "name": "HCM_ADMIN_CONSOLE_TARGET_INDIVIDUAL",
                            "type": "number",
                            "isRequired": false,
                            "description": "Target Individual",
                            "orderNumber": 2
                        },
                        {
                            "name": "HCM_ADMIN_CONSOLE_TARGET_HOUSEHOLD",
                            "type": "number",
                            "isRequired": false,
                            "description": "Target Household",
                            "orderNumber": 3
                        },
                        {
                            "name": "HCM_ADMIN_CONSOLE_TARGET_PRODUCT",
                            "type": "number",
                            "isRequired": false,
                            "description": "Target Product",
                            "orderNumber": 4
                        }
                    ],
                    "stringProperties": [
                        {
                            "name": "HCM_ADMIN_CONSOLE_BOUNDARY_CODE",
                            "type": "string",
                            "isRequired": true,
                            "description": "Boundary Code",
                            "orderNumber": 1,
                            "freezeColumn": true
                        }
                    ]
                },
                "campaignType": "DEFAULT"
            }

Master - targetConfigs to be configured:

targetConfigs

{
                "campaignType": "DEFAULT",
                "beneficiaries": [
                    {
                        "columns": [
                            "HCM_ADMIN_CONSOLE_TARGET_INDIVIDUAL"
                        ],
                        "beneficiaryType": "INDIVIDUAL"
                    },
                    {
                        "columns": [
                            "HCM_ADMIN_CONSOLE_TARGET_HOUSEHOLD"
                        ],
                        "beneficiaryType": "HOUSEHOLD"
                    },
                    {
                        "columns": [
                            "HCM_ADMIN_CONSOLE_TARGET_PRODUCT"
                        ],
                        "beneficiaryType": "PRODUCT"
                    }
                ]
            }
PreviousData Mapping Screen (v0.3 Patch)NextMy Campaign

Was this helpful?