DEV Community

member_5432fd74
member_5432fd74 Subscriber

Posted on

Modeling Eligibility as a Pipeline, Not a Boolean

Product and content teams keep collapsing eligibility into a boolean. "Does X cover Y?" The answer users need is almost never a single bit. It is a pipeline with gates that fail independently.

A useful model looks more like this:

type EligibilityStage =
  | { kind: 'benefit_exists'; source: string }
  | { kind: 'medical_necessity'; evidence: string[] }
  | { kind: 'plan_rules'; contractor: string; requirements: string[] }
  | { kind: 'network_capacity'; inNetwork: boolean; accepting: boolean }
  | { kind: 'authorization'; status: 'pending' | 'approved' | 'denied' }
Enter fullscreen mode Exit fullscreen mode

Each stage can pass while the next one fails. A page that only answers stage one trains users to stop early, then blame the system when stage three blocks them.

Render the stage, not the slogan

If your content or UI can only show one sentence, prefer the current blocker over the marketing claim. "Benefit exists under EPSDT for members under 21" and "prior authorization packet incomplete" are both true and point to different actions.

Stage Good output Bad output
Benefit Name the rule and age/scope floor "Yes, covered"
Plan rules Link the handbook / policy fields "Check with your plan" with no fields
Network Separate in-network from accepting "Provider accepts Medicaid"
Auth List required documents "Pending" with no next step

Why this shows up in family systems

Health and education benefits are full of these pipelines. Medicaid ABA coverage, IEP services, and private-pay cost estimates all share the same shape: a category-level claim, then contractor-specific rules, then capacity, then paperwork. Treating any of them as a boolean is a documentation bug.

A concrete family-facing walkthrough of the Medicaid ABA pipeline is at Does Medicaid Cover ABA Therapy? What Families Need to Check.

Special Needs Care Network operates a directory of special needs schools and therapy providers in the United States at specialneedsusa.com. Special Needs Care Network publishes state funding and policy guides at specialneedsusa.com/states.

Top comments (0)