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:
7
packages/db/types/claim-types.d.ts
vendored
7
packages/db/types/claim-types.d.ts
vendored
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user