feat: teach AI classifier to recognize "comp" and tooth surface notation
Add "comp" as alias for composite in CDT lookup. Update classifier prompt with explicit examples for "claim comp #8 ml for lisa today" and dental surface letter definitions (M/D/L/F/B/O/V/I) so the LLM correctly treats #tooth+surfaces as composite fillings, not insurance. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,7 @@ import React, { useState } from "react";
|
||||
import { useAuth } from "@/hooks/use-auth";
|
||||
import ReportConfig from "@/components/reports/report-config";
|
||||
import PatientsWithBalanceReport from "@/components/reports/patients-with-balance-report";
|
||||
import PatientsNoBalanceReport from "@/components/reports/patients-no-balance-report";
|
||||
import SummaryCards from "@/components/reports/summary-cards";
|
||||
import CommissionSection from "@/components/reports/commission-section";
|
||||
|
||||
@@ -66,7 +67,7 @@ export default function ReportPage() {
|
||||
|
||||
{/* SINGLE authoritative SummaryCards instance for the page */}
|
||||
<div className="mb-4">
|
||||
<SummaryCards startDate={startDate} endDate={endDate} npiProviderId={npiProviderId} />
|
||||
<SummaryCards startDate={startDate} endDate={endDate} npiProviderId={npiProviderId} selectedReportType={selectedReportType} />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@@ -74,7 +75,9 @@ export default function ReportPage() {
|
||||
<PatientsWithBalanceReport startDate={startDate} endDate={endDate} npiProviderId={npiProviderId} />
|
||||
)}
|
||||
|
||||
{/* Add other report components here as needed */}
|
||||
{selectedReportType === "patients_no_balance" && (
|
||||
<PatientsNoBalanceReport startDate={startDate} endDate={endDate} npiProviderId={npiProviderId} />
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Commission section */}
|
||||
|
||||
Reference in New Issue
Block a user