> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/health/v2.1/deploy/configuration/microplan-service-configuration/microplan-web-service-configuration/setup-microplan/assumptions-and-formulae-data.md).

# Assumptions & Formulae Data

## Overview

The **Assumptions and Formulae** step helps the system automatically load campaign-specific logic based on the choices you make earlier. These configurations define how resources are calculated and distributed during the campaign.

The data shown in this step is **pre-configured and auto-loaded** from MDMS, based on your selections.

## Steps

### Step 1: Select the Campaign Type

* Choose a **Campaign Type** (for example, *Bednet Campaign*).
* Campaign types are loaded from [**MDMS**](https://unified-dev.digit.org/workbench-ui/employee/workbench/mdms-search-v2?moduleName=HCM-PROJECT-TYPES\&masterName=projectTypes).
* This selection acts as the primary driver for which assumptions and formulae are applicable.

<figure><img src="https://content.gitbook.com/content/I0KFbSBTySIQ7TCOKnJF/blobs/tCl1lNEz5dxWwIu7pwUe/image.png" alt=""><figcaption></figcaption></figure>

### Step 2: Select the Resource Distribution Strategy

Choose how resources will be distributed during the campaign:

* **House to House**
* **Fixed Post**
* **Mixed**

Your selection here determines what additional details the system asks for and how assumptions and formulae are pre-configured.

<figure><img src="https://content.gitbook.com/content/I0KFbSBTySIQ7TCOKnJF/blobs/omCyHjkhWdlFP0UC5QmB/image.png" alt=""><figcaption></figcaption></figure>

### Step 3: Define Registration and Distribution Flow

If the Resource Distribution Strategy is **Mixed**

* You must configure **both**:
  * Registration process
  * Distribution process
* For each process, choose one of the following:
  * Mixed
  * House to House
  * Fixed Post
* Rules:
  * Both registration and distribution can be **mixed**.
  * **House-to-House** and **Fixed Post** cannot be selected together for registration and distribution.

{% hint style="info" %}
If the Resource Distribution Strategy is **House-to-House** or **Fixed Post**

* Specify whether:
  * Registration and distribution happen **together**, or
  * Registration and distribution happen **separately**.
* This choice controls how the campaign workflow is structured.
  {% endhint %}

<figure><img src="https://content.gitbook.com/content/I0KFbSBTySIQ7TCOKnJF/blobs/7Ap2WOet8ZweN6JbjShA/image.png" alt=""><figcaption></figcaption></figure>

### Step 4: System Loads Assumptions Automatically

* Based on:
  * Campaign type
  * Resource distribution strategy
  * Registration and distribution flow
* The system auto-loads the relevant assumptions from [**`HypothesisAssumptions`**](https://unified-dev.digit.org/workbench-ui/employee/workbench/mdms-search-v2?moduleName=hcm-microplanning\&masterName=HypothesisAssumptions) **(MDMS)**.
* These assumptions define campaign hypotheses such as coverage, effort, and operational constraints.

<figure><img src="https://content.gitbook.com/content/I0KFbSBTySIQ7TCOKnJF/blobs/hEEuRdg2ATGHLPwMuMit/image.png" alt=""><figcaption></figcaption></figure>

### Step 5: System Loads Formulae Automatically

* Using the same selections, the system loads calculation rules from [**`AutoFilledRuleConfigurations`**](https://unified-dev.digit.org/workbench-ui/employee/workbench/mdms-view?moduleName=hcm-microplanning\&masterName=AutoFilledRuleConfigurations\&uniqueIdentifier=LLIN-mz.MIXED.SEPARATELY.MIXED.MIXED) **(MDMS)**.
* These formulae control how:
  * Resource quantities
  * Workforce requirements
  * Operational timelines are calculated in the microplan.

<figure><img src="https://content.gitbook.com/content/I0KFbSBTySIQ7TCOKnJF/blobs/kwdVNz6AM37xkDuacOn6/image.png" alt=""><figcaption></figcaption></figure>

### Example Flow

1. Campaign Type: **Bednet Campaign**
2. Resource Distribution Strategy: **Mixed**
3. Registration Process: **House to House**
4. Distribution Process: **Fixed Post**

Based on these selections:

* **Assumptions** are loaded from [`HypothesisAssumptions`](https://unified-dev.digit.org/workbench-ui/employee/workbench/mdms-view?moduleName=hcm-microplanning\&masterName=HypothesisAssumptions\&uniqueIdentifier=LLIN-mz.MIXED.SEPARATELY.MIXED.MIXED)
* **Formulae** are loaded from [`AutoFilledRuleConfigurations`](https://unified-dev.digit.org/workbench-ui/employee/workbench/mdms-view?moduleName=hcm-microplanning\&masterName=AutoFilledRuleConfigurations\&uniqueIdentifier=LLIN-mz.MIXED.SEPARATELY.MIXED.MIXED)

No manual configuration is required—the system selects the correct data automatically.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.digit.org/health/v2.1/deploy/configuration/microplan-service-configuration/microplan-web-service-configuration/setup-microplan/assumptions-and-formulae-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
