Kristian Salmeron
← Selected work

Claims-auditing rule builder / Highmark Health

Complex logic.
Clear decisions.

Give analysts a way to build, inspect, and preview complex rules without asking a developer to write every query.

My contributionFrontend architecture & integration

Core challengeNested logic, validation, preview & scale

Reported business outcomeRoughly $35M saved in FY2026

The real project

A difficult interaction, made usable.

I architected an interactive claims-auditing rule builder that let analysts express complex conditions across many data fields, nest them into logical groups, and preview rules against data. The application ran across millions of claims and was associated with roughly $35M in FY2026 savings.

Finding an efficient direction for evaluating rules at scale took substantial investigation. The frontend had to help users understand what they were asking the system to do, while the team worked through the cost of executing it.

The employer’s interface, data, rules, and internal implementation are confidential. The order-review demo below is a new, independent example of general approaches to these UI problems. Its design and execution model do not represent the internal application.

Interactive synthetic example

Order review builder

Fictional data · Browser only

Review orders of at least $500 from the West region or a partner channel. Edit the rule, nest groups, and preview the result. This is an independent demonstration of general UI patterns.

Review criteria
Group segment
Drop an item into this group
Drag handles or move controls

Demo limits: 4 nesting levels and 24 items. Drag a handle into a group, or use ↑, ↓, and Move to… with keyboard or touch.

Preview against fictional orders

Run a preview to see matches
Eight fictional order records. Matching results appear only after a valid preview.
OrderTotalRegionChannelResult
DEMO-01$1,250WestOnlineNot evaluated
DEMO-02$180EastStoreNot evaluated
DEMO-03$920CentralPartnerNot evaluated
DEMO-04$640WestStoreNot evaluated
DEMO-05$2,400EastOnlineNot evaluated
DEMO-06$75WestPartnerNot evaluated
DEMO-07$510CentralStoreNot evaluated
DEMO-08$780EastPartnerNot evaluated

This eight-row preview illustrates semantics, not production throughput. No records or rule definitions are sent to a server.

01 / Nested logic

Make the grouping visible.

An AND inside an OR changes a rule’s meaning. This demonstration represents conditions and groups as a tree, with explicit ALL/ANY controls and a readable expression beside the editor.

Drag handles move conditions or entire groups into another group. Equivalent move controls work with keyboard and touch. Moving a group into itself or a descendant is rejected, and nesting limits keep this example manageable.

Reordering within a group preserves its meaning; moving between groups can change it. A preview is marked out of date after an edit so yesterday’s result cannot appear to validate today’s rule.

02 / Validation

Catch ambiguity at the point of entry.

Field types constrain the available comparisons and values. Empty groups and invalid amounts display actionable inline errors, and preview stays unavailable until the rule is valid.

A production service would validate the same contract again, authorize the fields a user can access, and reject unsupported operations. A valid browser form alone is not a trusted execution plan.

03 / Preview

Connect the expression to examples.

The preview evaluates eight fictional orders and shows matches and non-matches next to their values. Change the total, switch a group from ALL to ANY, or move a condition to see how the result changes.

For a production preview, I would use a bounded sample, record the rule revision, expose sample scope, and cancel obsolete requests. A sample count should never look like a full-dataset result.

04 / Performance

Separate editing from expensive execution.

This browser example compiles a validated rule once per preview and short-circuits AND/OR groups. With eight rows, it demonstrates semantics; it does not demonstrate performance across millions of records.

A generic approach to larger workloads is to keep editing local, run bounded previews on demand, and send full evaluations to an asynchronous service with cancellation, progress, and a rule-version identifier.

Before choosing an execution strategy, measure representative rule shapes, nesting, selectivity, data volume, and query plans. Compare p50/p95 latency, resource use, and cancellation behavior. Indexing, pre-filtering, batching, and caching are candidates to test—not claims about this employer’s implementation.

Next projectMedical document viewer