mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage-server
synced 2026-05-18 20:08:19 +00:00
Revert "AI Summary not showing appointments fix."
This reverts commit 55b8680923.
This commit is contained in:
@@ -58,7 +58,7 @@ export class CallLookupController {
|
|||||||
// Fetch patient context if patientId exists
|
// Fetch patient context if patientId exists
|
||||||
let patientData = null;
|
let patientData = null;
|
||||||
let upcomingAppointments: any[] = [];
|
let upcomingAppointments: any[] = [];
|
||||||
if (lead?.patientId) {
|
if (lead.patientId) {
|
||||||
try {
|
try {
|
||||||
patientData = await this.platform.getPatientWithToken(
|
patientData = await this.platform.getPatientWithToken(
|
||||||
lead.patientId,
|
lead.patientId,
|
||||||
|
|||||||
@@ -97,7 +97,6 @@ export class PlatformGraphqlService {
|
|||||||
assignedAgent campaignId adId
|
assignedAgent campaignId adId
|
||||||
contactAttempts spamScore isSpam
|
contactAttempts spamScore isSpam
|
||||||
aiSummary aiSuggestedAction
|
aiSummary aiSuggestedAction
|
||||||
patientId
|
|
||||||
}
|
}
|
||||||
}`,
|
}`,
|
||||||
{ id },
|
{ id },
|
||||||
@@ -163,7 +162,6 @@ export class PlatformGraphqlService {
|
|||||||
assignedAgent campaignId adId
|
assignedAgent campaignId adId
|
||||||
contactAttempts spamScore isSpam
|
contactAttempts spamScore isSpam
|
||||||
aiSummary aiSuggestedAction
|
aiSummary aiSuggestedAction
|
||||||
patientId
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ export type LeadNode = {
|
|||||||
isSpam: boolean | null;
|
isSpam: boolean | null;
|
||||||
aiSummary: string | null;
|
aiSummary: string | null;
|
||||||
aiSuggestedAction: string | null;
|
aiSuggestedAction: string | null;
|
||||||
patientId: string | null;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export type LeadActivityNode = {
|
export type LeadActivityNode = {
|
||||||
@@ -70,5 +69,4 @@ export type UpdateLeadInput = {
|
|||||||
aiSummary?: string;
|
aiSummary?: string;
|
||||||
aiSuggestedAction?: string;
|
aiSuggestedAction?: string;
|
||||||
contactAttempts?: number;
|
contactAttempts?: number;
|
||||||
patientId?: string;
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user