feat: share patients across all users
Removed per-user patient filtering so all staff accounts see the same patient pool. Previously each user only saw patients they created. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,7 @@ export const UserInputSchema = z.object({
|
||||
npiProviders: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown()),
|
||||
insuranceCredentials: z.array(z.unknown()),
|
||||
shoppingVendors: z.array(z.unknown()),
|
||||
updatedPayments: z.array(z.unknown()),
|
||||
backups: z.array(z.unknown()),
|
||||
backupDestinations: z.array(z.unknown()),
|
||||
@@ -23,7 +24,9 @@ export const UserInputSchema = z.object({
|
||||
aiSettings: z.unknown().optional().nullable(),
|
||||
officeHours: z.unknown().optional().nullable(),
|
||||
officeContact: z.unknown().optional().nullable(),
|
||||
procedureTimeslot: z.unknown().optional().nullable()
|
||||
procedureTimeslot: z.unknown().optional().nullable(),
|
||||
insuranceContacts: z.array(z.unknown()),
|
||||
patientConversations: z.array(z.unknown())
|
||||
}).strict();
|
||||
|
||||
export type UserInputType = z.infer<typeof UserInputSchema>;
|
||||
|
||||
Reference in New Issue
Block a user