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:
colinislit
2026-02-04 00:14:53 +01:00
parent 601ad8c3f0
commit 91b61d215b
2 changed files with 55 additions and 19 deletions

View File

@@ -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',
],
},
]