---
title: Load code maps
summary: Load code maps.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy
reference_type: package
operation_id: OP-010
trigger: A caller asks for a code-map instance, optionally forcing refresh.
---

# Load code maps

Load code maps.

| Field | Value |
| --- | --- |
| **Operation ID** | OP-010 |
| **Trigger** | A caller asks for a code-map instance, optionally forcing refresh. |
| **Inputs** | `IDataPortalInfo`, optional refresh flag |
| **Outputs** | Code-map instance |
| **Primary components** | `clsBenefitJurisdictionCodeMap` |
| **Entry point** | `Business\SAIF.Business.Policy\CodeMaps\clsBenefitJurisdictionCodeMap.vb` |

## Steps

1. Check the shared cache and create a new map only when the cache is empty or refresh is requested.
2. Load [SQL-001](../sql/SQL-001-saif-business-policy.md) from [BENEFIT_JURISDICTION_CODE](../database-tables.md#benefit_jurisdiction_code) or [SQL-003](../sql/SQL-003-saif-business-policy.md) from [MANUAL_CLASS_TYPE_CODE](../database-tables.md#manual_class_type_code).
3. Populate the map only for the explicitly supported codes and ignore all others.
4. Apply related business rules: [BR-POL-013](../business-rules.md#br-pol-013-code-maps-are-cached-until-refresh-is-requested), [BR-POL-014](../business-rules.md#br-pol-014-only-recognized-database-codes-are-admitted-into-a-map)

## Process flow

The following diagram visualizes the main control flow for this operation.

```mermaid

flowchart TD

  Start([Trigger]) --> Work[Execute operation steps]

  Work --> Done([Return result])

```

## Failure and edge-case behavior

- Business rules are cross-referenced from the catalog page and the SQL or procedure logic cited in these steps.
- Database and procedure failures surface according to the underlying implementation path.

## Related documentation

- [Operations and processes](../operations-processes.md)
- [Business rules](../business-rules.md)
- [SQL catalog](../sql/index.md)
- [Database tables](../database-tables.md)

## Sources

- `Business\SAIF.Business.Policy\CodeMaps\clsBenefitJurisdictionCodeMap.vb`
