mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage-server
synced 2026-05-18 20:08:19 +00:00
fix(worklist): include patientId in assigned-leads query
Scenario: unknown caller books appointment (creates Patient), calls again, caller resolver links Lead↔Patient. On the second call the frontend found the lead in the worklist cache but it lacked patientId — so Book Appt pills couldn't find the prior appointment. The resolver had the right patientId; the worklist didn't. Adding patientId to the GraphQL selection so the cached row carries it end-to-end.
This commit is contained in:
@@ -101,6 +101,7 @@ export class WorklistService {
|
||||
assignedAgent campaignId
|
||||
contactAttempts spamScore isSpam
|
||||
aiSummary aiSuggestedAction
|
||||
patientId
|
||||
} } pageInfo { hasNextPage endCursor } } }`,
|
||||
'leads',
|
||||
authHeader,
|
||||
|
||||
Reference in New Issue
Block a user