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
|
* Client suggestions - shown when in a patient dossier
|
||||||
*/
|
*/
|
||||||
const CLIENT_SUGGESTION_CATEGORIES: SuggestionCategory[] = [
|
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',
|
id: 'rapportages',
|
||||||
label: 'Rapportages',
|
label: 'Rapportages',
|
||||||
@@ -59,27 +89,17 @@ const CLIENT_SUGGESTION_CATEGORIES: SuggestionCategory[] = [
|
|||||||
questions: [
|
questions: [
|
||||||
'Geef een samenvatting van de rapportages',
|
'Geef een samenvatting van de rapportages',
|
||||||
'Wat is er de laatste tijd genoteerd?',
|
'Wat is er de laatste tijd genoteerd?',
|
||||||
'Zijn er behandeladviezen?',
|
'Maak een notitie',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'intake',
|
id: 'navigatie',
|
||||||
label: 'Intake & Behandeling',
|
label: 'Navigatie',
|
||||||
icon: '🏥',
|
icon: '🧭',
|
||||||
questions: [
|
questions: [
|
||||||
'Wat is het behandeladvies?',
|
'Ga naar anamnese',
|
||||||
'Op welke afdeling loopt de intake?',
|
'Ga naar kindcheck',
|
||||||
'Is de intake afgerond?',
|
'Ga naar behandeladvies',
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'screening',
|
|
||||||
label: 'Screening',
|
|
||||||
icon: '📋',
|
|
||||||
questions: [
|
|
||||||
'Wat was de hulpvraag?',
|
|
||||||
'Wat is de screeningbeslissing?',
|
|
||||||
'Is de cliënt geschikt bevonden?',
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export interface SuggestionExample {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Suggestion categories with examples
|
* Suggestion categories with examples
|
||||||
* Based on the 7 implemented intents:
|
* Based on the 11 implemented intents:
|
||||||
* - dagnotitie
|
* - dagnotitie
|
||||||
* - zoeken
|
* - zoeken
|
||||||
* - overdracht
|
* - overdracht
|
||||||
@@ -32,8 +32,24 @@ export interface SuggestionExample {
|
|||||||
* - create_appointment
|
* - create_appointment
|
||||||
* - cancel_appointment
|
* - cancel_appointment
|
||||||
* - reschedule_appointment
|
* - reschedule_appointment
|
||||||
|
* - intake_status (MVP)
|
||||||
|
* - risico_query (MVP)
|
||||||
|
* - diagnose_query (MVP)
|
||||||
|
* - intake_navigeer (MVP)
|
||||||
*/
|
*/
|
||||||
export const SUGGESTION_CATEGORIES: SuggestionCategory[] = [
|
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',
|
id: 'notities',
|
||||||
label: 'Notities',
|
label: 'Notities',
|
||||||
@@ -73,7 +89,7 @@ export const SUGGESTION_CATEGORIES: SuggestionCategory[] = [
|
|||||||
{
|
{
|
||||||
id: 'overdracht',
|
id: 'overdracht',
|
||||||
label: 'Overdracht',
|
label: 'Overdracht',
|
||||||
icon: '📋',
|
icon: '🔄',
|
||||||
description: 'Dienstoverdrachten en samenvattingen',
|
description: 'Dienstoverdrachten en samenvattingen',
|
||||||
examples: [
|
examples: [
|
||||||
{ text: 'Overdracht', intent: 'overdracht' },
|
{ text: 'Overdracht', intent: 'overdracht' },
|
||||||
|
|||||||
Reference in New Issue
Block a user