fix: remove auto appointment creation from claim submission

Claims no longer auto-create a schedule appointment when submitted — appointmentId is now optional.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ff
2026-06-17 22:54:17 -04:00
parent 8e011c5a29
commit 7f19e38fc1
4 changed files with 26 additions and 218 deletions

View File

@@ -79,11 +79,16 @@ export type ClaimWithServiceLines = Claim & {
}[];
staff?: Staff | null;
claimFiles?: ClaimFileMeta[] | null;
npiProvider?: {
id: number;
npiNumber: string;
providerName: string;
} | null;
};
export type MissingTeethStatus = "No_missing" | "endentulous" | "Yes_missing";
export interface ClaimFormData {
patientId: number;
appointmentId: number;
appointmentId?: number | null;
userId: number;
staffId: number;
patientName: string;

View File

@@ -93,7 +93,7 @@ export type MissingTeethStatus = "No_missing" | "endentulous" | "Yes_missing";
export interface ClaimFormData {
patientId: number;
appointmentId: number;
appointmentId?: number | null;
userId: number;
staffId: number;
patientName: string;