ESL
The medical stop-loss desk on the mesh. ESL imports the book from EslOffice — the external SQL Server
system the business runs on — into the standard reinsurance model, prices every quote option on our own
stop-loss model, ranks the submissions by what they are worth to us, and writes the model back to EslOffice
when asked. This package is code only: the book lives in one partition per company, the ESL team's
documents in EslTeam.
New here? Start with the ESL guide — three short lessons on one synthetic case (Maple Retail Co., renewal UW27-0028), each step worked with its figures.
1. The data model
| EslOffice | Model |
|---|---|
| carriers | Reinsurance/Cedent |
| treaties + specific layer quota share | Reinsurance/Treaty + Reinsurance/ModelledReinsuranceSection |
| stop-loss policies | Reinsurance/Acceptance |
| premium bordereaux, reimbursements | Reinsurance/Cashflow (per treaty and quarter) |
| specific and aggregate claims | Claims/Claim, the Claims/Register claims book |
| producers | Reinsurance/Broker |
| underwriting cases and quote options | Underwriting/Submission + option Reinsurance/Acceptance |
| each quote option, priced | its LossModelling/StopLossModel at …/Option<n>/Pricing — model-side only, never exported |
One top-level partition per company. Each cedent (carrier) and each broker (producer) gets its own
partition, named from the company — Lone Star Mutual Insurance Company → LoneStarMutual. A cedent's holds
its Profile, Treaties/, Policies/, Cashflows/, Claims/ with its ClaimsBook, and Submissions/; a
broker's its Profile. A new partition gets the access of EslTeam. The EslOffice keys of every node are kept
in {partition}/EslKeys, so a re-import updates in place and an export touches only rows whose columns differ.
No member number and no diagnosis is ever written into a text (protected health information).
→ Lesson 1 — the data model, by one case · the mapping drawn · UML in the Data Model Explorer
2. Pricing
Every quote option is priced on LossModelling's claim-duration engine: the census's morbidity by condition group, months on claim until recovery, death (the NCHS 2024 mortality table × the group's excess) or the 12/N cut-off, and what the option reimburses within its paid window — 400 seeded scenarios, one policy year. The favourite option's expected loss ratio is the submission's priced loss ratio, and the desk score that orders the submissions is struck on it.
→ Lesson 2 — pricing a quote option, step by step · Pricing — reference · Claim duration
The MRM rating method. The stop-loss rating workbook (MRM 2.04F) — manual rate from the external rating
service's answer, specific and aggregate experience, credibility, loads, tier rates, premium and the aggregate
attachment — runs on the mesh as Esl/Rating/MrmQuote, its tables as data, reproduced as is and checked against the
workbook's training example. → Rating · Methodology ·
Training example · Open questions
3. Claims and cash flows
Premium bordereaux, specific reimbursements and aggregate settlements are summed into one cash-flow node per treaty, kind and quarter (100 %); each claim keeps its developments. The book overview sums them live by cedent and treaty — premium, paid losses, open reserve, loss ratio — and stores nothing.
→ Lesson 3 — claims and cash flows · Book overview
4. How to use it
| Folder | What |
|---|---|
Underwriting |
the submission browser over the cedents' partitions: the platform's search bar, a tab per pipeline stage (Pipeline · Waiting on client · Offers out · Under assessment · Bound · Declined & lost · Renewals · New business · All), sorted by default by the score — our pricing's desk score, best business first; a row opens the submission with its Overview, Structure, Tower, Compliance, Economics, ClaimsCompare and Offer views |
Quote options |
every deductible option offered, a tab per cedent, and every option priced on its stop-loss model with its Result, Cash flows and Population |
Book overview |
the book by cedent and by treaty, the pipeline and the brokers — a view, nothing stored under Esl |
Underwriting/Inbox |
the intake demo: one broker e-mail with its placing slip (PDF), census and claims experience (XLSX); Parse hands it to the intake agent (Underwriting/Agent/EslIntake), which writes the submission, its quote options and their pricing in the cedent's partition and records each value beside the file and page or cell it came from; five deterministic checks render on the page |
EslOffice |
the sync with EslOffice: import its SQL Server rows into the reinsurance model and export the model back — straight from the instance into the database (dry run first), or as an idempotent SQL script |
The instance reads and writes the database itself (SqlClient, the portal's identity; a run with
via: Database), checked against the database's own columns — a value a column cannot hold is rejected with
its reason, every changed row is listed before → after, new records get new keys in the key maps. The
connector (EslOffice/connector, esl-sync) stays as the file route. A connection names where its
connection string lives (Key Vault secret, configuration key) — never the value. The browser is covered end
to end by e2e/ (Playwright, read-only, against the interface instance).
5. Reference
Mapping (every field both ways, the lossy spots, keys, PHI) ·
ESL Office → reinsurance model · the source model ·
Pricing · Claim duration ·
MRM rating methodology · Desk ranking. Schema: EslOffice's real DDL in EslOffice/schema/; the synthetic
stand-in in EslOffice/sql/. Nothing here is PartnerRe data until the import runs against the real EslOffice.