Location lookups¶
Resolve location and contact records using fixed location codes and contact-type precedence.
| Field | Value |
|---|---|
| Operation ID | OP-SD-19 |
| Trigger | Location resolution requests. |
| Inputs | Policy/claim id, state |
| Outputs | Location data |
| Primary components | LocationQueryProvider |
| Entry point | Data/SAIF.Data/Queries/Policies/LocationQueryProvider.cs |
Steps¶
- Apply location codes BUS/POL/CLM and contact-type precedence (CLM, then CON) (SD-BR-062, SQL-167, SQL-168, SQL-169, SQL-170, SQL-171, SQL-172, SQL-173, SQL-174, SQL-175). Data:
LOCATION,CONTACT. - Oregon business locations use
State == "OR"(SD-BR-062).
Process flow¶
The following diagram visualizes this operation's control flow.
flowchart TD
Start([Location resolution requests.]) --> S1["`LocationQueryProvider`"]
S1 --> S2{"Rules satisfied?"}
S2 -->|Yes| EndOk([Result returned])
S2 -->|No| EndErr([Exception / empty result])
Failure and edge-case behavior¶
- No CLM contact: falls back to CON per the precedence order.
Related documentation¶
Sources¶
Data/SAIF.Data/Queries/Policies/LocationQueryProvider.csData/SAIF.Data/Queries/Locations/LocationQueryProvider.cs:19Data/SAIF.Data/Queries/Locations/LocationQueryProvider.cs:25Data/SAIF.Data/Queries/Locations/LocationQueryProvider.cs:33