Moonlitic
Product Backlog — User Stories
Internal Only — Not for Investor Distribution

Claims Engine

User stories for the claims engine domain. These stories are sprint-ready and include acceptance criteria in Given/When/Then format.

3
Epics
11
User Stories
49
Story Points
04

Claims Engine

3 Epics · 10 User Stories · 49 SP
Epic: Automated X12 835/837 ingestion, normalization, and validation
F04-001 Ingest X12 837 professional claims
As a claims analyst, I want the system to ingest X12 837P (professional) claim files from the EDI gateway and parse them into structured records so that I can review and adjudicate claims in a human-readable format.
Acceptance Criteria
Given a batch of 100 837P files arrives from the clearinghouse, When the ingestion pipeline runs, Then all 100 are parsed into structured claim records with: patient ID, provider NPI, diagnosis codes (ICD-10), procedure codes (CPT), billed amount, and service dates.
Given a file has invalid segments, When parsing fails, Then the file is quarantined with an error report listing the specific invalid segments and line numbers.
F04-002 Ingest X12 835 remittance advice
As a claims analyst, I want the system to ingest X12 835 remittance files and match them to their corresponding 837 claims so that I can see payment decisions alongside the original claim.
Acceptance Criteria
Given an 835 file arrives, When it is parsed, Then each payment/adjustment is matched to the original 837 claim by claim ID, and the claim record is updated with: paid amount, adjustment reason codes, and patient responsibility.
Given an 835 references a claim not yet in the system, When the match fails, Then it is queued in an "Unmatched Remittance" holding area and re-matched on each subsequent 837 ingestion.
F04-003 Claim validation rules engine
As a claims analyst, I want every incoming claim validated against configurable rules (duplicate detection, date logic, code validity) so that invalid claims are flagged before adjudication.
Acceptance Criteria
Given a claim arrives with a service date in the future, When validation runs, Then the claim is flagged with "Invalid service date — future date detected" and routed to the exception queue.
Given a duplicate claim (same patient, provider, date, codes) already exists, When validation runs, Then it is flagged as "Potential duplicate" with a link to the original claim for manual review.
Epic: Real-time prior authorization workflows
F04-004 Trigger prior auth from claim submission
As a provider, I want prior authorization requests auto-triggered when a claim includes a procedure requiring pre-approval so that I don't have to manually initiate the auth process.
Acceptance Criteria
Given a claim includes CPT 27447 (knee replacement), When the claim is submitted, Then the system checks the payer's prior auth requirements and if required, auto-generates a prior auth request with the clinical documentation attached.
Given a procedure does not require prior auth, When the claim is submitted, Then it bypasses the auth workflow and proceeds directly to adjudication.
F04-005 Prior auth status tracking dashboard
As a provider, I want a dashboard showing all pending, approved, and denied prior auth requests so that I can track the status of each authorization and escalate delays.
Acceptance Criteria
Given I have 12 pending auths, When I open the Prior Auth dashboard, Then I see each with: patient name, procedure, payer, submitted date, days pending, and current status.
Given an auth has been pending for more than 14 days, When I view the dashboard, Then it is highlighted in red with an "Escalate" button that generates a follow-up to the payer.
F04-006 Prior auth denial appeal workflow
As a provider, I want to initiate an appeal when a prior auth is denied, with supporting clinical evidence auto-attached so that I can challenge denials efficiently.
Acceptance Criteria
Given a prior auth for MRI is denied, When I click "Appeal," Then the system generates an appeal letter template with the denial reason, relevant clinical notes, and lab results pre-attached.
Given an appeal is submitted, When the payer responds, Then the auth status updates to "Appeal Approved" or "Appeal Denied — Final" and I am notified.
Epic: HEDIS quality measures computed from claims
F04-007 Compute HEDIS measures from claims data
As a platform operator, I want HEDIS quality measures (e.g., Comprehensive Diabetes Care, Breast Cancer Screening) auto-computed from adjudicated claims so that value-based care reporting runs without manual chart review.
Acceptance Criteria
Given claims data for a population of 10,000, When the HEDIS engine runs, Then it calculates numerator/denominator for each applicable measure and produces a HEDIS scorecard with rates and benchmarks.
Given a measure is below the 50th percentile benchmark, When the scorecard is generated, Then it is flagged "Below Benchmark" with a gap analysis showing which patients are in the denominator but not the numerator.
F04-008 Patient care gap identification
As a clinician, I want to see care gaps for my patients based on HEDIS measures so that I can address missing screenings and preventive care during the next visit.
Acceptance Criteria
Given a diabetic patient hasn't had an HbA1c test in 12 months, When I open their record, Then a care gap alert shows "Overdue: HbA1c screening (Comprehensive Diabetes Care measure)."
F04-009 Claims-derived fraud signal detection
As a claims analyst, I want the system to flag claims with statistical anomalies (billing outliers, impossible service combinations, upcoding patterns) so that potential fraud is surfaced for investigation.
Acceptance Criteria
Given a provider bills 50 knee replacements in one day, When the anomaly engine runs, Then a "Volume Anomaly" flag is raised with the provider's billing pattern compared to peer averages.
Given a claim bills E&M level 5 (99215) for a 2-minute visit, When the upcoding detector runs, Then it flags "Potential Upcoding — high complexity code with minimal time."
F04-010 Claim status real-time lookup
As a provider, I want to look up the real-time status of any submitted claim so that I can answer patient billing questions and track revenue cycle performance.
Acceptance Criteria
Given I search by claim ID or patient name, When results appear, Then I see: submitted date, current status (received/in review/adjudicated/paid/denied), and if adjudicated, the payment amount vs. billed amount.