feat(cortex): add intake suggestions to chat UI
Add intake-related suggestions to both chat interfaces: 1. Cortex Command Center (lib/cortex/suggestions.ts): - New "Intake" category with status, risico, diagnose examples - Triggers intake_status, risico_query, diagnose_query, intake_navigeer 2. Docs Chat Widget (components/docs-chat/chat-suggestions.tsx): - Updated CLIENT_SUGGESTION_CATEGORIES with intake options - Categories: Intake Status, Risicotaxatie, Diagnoses, Navigatie Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -52,6 +52,36 @@ const DOC_SUGGESTION_CATEGORIES: SuggestionCategory[] = [
|
||||
* Client suggestions - shown when in a patient dossier
|
||||
*/
|
||||
const CLIENT_SUGGESTION_CATEGORIES: SuggestionCategory[] = [
|
||||
{
|
||||
id: 'intake-status',
|
||||
label: 'Intake Status',
|
||||
icon: '📋',
|
||||
questions: [
|
||||
'Wat moet ik nog doen?',
|
||||
'Is de intake compleet?',
|
||||
'Welke secties zijn nog niet ingevuld?',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'risico',
|
||||
label: 'Risicotaxatie',
|
||||
icon: '⚠️',
|
||||
questions: [
|
||||
'Wat zijn de risico\'s?',
|
||||
'Toon risicotaxatie',
|
||||
'Ga naar risico',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'diagnose',
|
||||
label: 'Diagnoses',
|
||||
icon: '🩺',
|
||||
questions: [
|
||||
'Welke diagnoses?',
|
||||
'Wat is de diagnose?',
|
||||
'Ga naar diagnose',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'rapportages',
|
||||
label: 'Rapportages',
|
||||
@@ -59,27 +89,17 @@ const CLIENT_SUGGESTION_CATEGORIES: SuggestionCategory[] = [
|
||||
questions: [
|
||||
'Geef een samenvatting van de rapportages',
|
||||
'Wat is er de laatste tijd genoteerd?',
|
||||
'Zijn er behandeladviezen?',
|
||||
'Maak een notitie',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'intake',
|
||||
label: 'Intake & Behandeling',
|
||||
icon: '🏥',
|
||||
id: 'navigatie',
|
||||
label: 'Navigatie',
|
||||
icon: '🧭',
|
||||
questions: [
|
||||
'Wat is het behandeladvies?',
|
||||
'Op welke afdeling loopt de intake?',
|
||||
'Is de intake afgerond?',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'screening',
|
||||
label: 'Screening',
|
||||
icon: '📋',
|
||||
questions: [
|
||||
'Wat was de hulpvraag?',
|
||||
'Wat is de screeningbeslissing?',
|
||||
'Is de cliënt geschikt bevonden?',
|
||||
'Ga naar anamnese',
|
||||
'Ga naar kindcheck',
|
||||
'Ga naar behandeladvies',
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
@@ -24,7 +24,7 @@ export interface SuggestionExample {
|
||||
|
||||
/**
|
||||
* Suggestion categories with examples
|
||||
* Based on the 7 implemented intents:
|
||||
* Based on the 11 implemented intents:
|
||||
* - dagnotitie
|
||||
* - zoeken
|
||||
* - overdracht
|
||||
@@ -32,8 +32,24 @@ export interface SuggestionExample {
|
||||
* - create_appointment
|
||||
* - cancel_appointment
|
||||
* - reschedule_appointment
|
||||
* - intake_status (MVP)
|
||||
* - risico_query (MVP)
|
||||
* - diagnose_query (MVP)
|
||||
* - intake_navigeer (MVP)
|
||||
*/
|
||||
export const SUGGESTION_CATEGORIES: SuggestionCategory[] = [
|
||||
{
|
||||
id: 'intake',
|
||||
label: 'Intake',
|
||||
icon: '📋',
|
||||
description: 'Intake status, risico\'s en diagnoses bekijken',
|
||||
examples: [
|
||||
{ text: 'Wat moet ik nog doen?', intent: 'intake_status' },
|
||||
{ text: 'Wat zijn de risico\'s?', intent: 'risico_query' },
|
||||
{ text: 'Welke diagnoses?', intent: 'diagnose_query' },
|
||||
{ text: 'Ga naar risicotaxatie', intent: 'intake_navigeer' },
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'notities',
|
||||
label: 'Notities',
|
||||
@@ -73,7 +89,7 @@ export const SUGGESTION_CATEGORIES: SuggestionCategory[] = [
|
||||
{
|
||||
id: 'overdracht',
|
||||
label: 'Overdracht',
|
||||
icon: '📋',
|
||||
icon: '🔄',
|
||||
description: 'Dienstoverdrachten en samenvattingen',
|
||||
examples: [
|
||||
{ text: 'Overdracht', intent: 'overdracht' },
|
||||
|
||||
Reference in New Issue
Block a user