Skip to main content

Scheduling Service — AI Integration

Status: populated Owner: TBD Last updated: 2026-04-17 Companion: Service Template

1. Current AI Usage

Scheduling has no current AI integration. All booking, conflict detection, and waitlist management is deterministic rule-based logic.

2. Planned / Future AI Integration (Tier B — advisory only)

Potential UsePrompt TemplateInvocation PathHITLNotes
Appointment slot recommendationscheduling.slot-recommend.v1Kong /v1/ai/* → ai-gateway-serviceYes — staff accepts/rejects suggestionFuture roadmap (FR-SCHED-ENH-001); not in current scope
No-show risk prediction hintscheduling.noshow-risk.v1Kong /v1/ai/* → ai-gateway-serviceYes — hint only; no auto-cancelFuture roadmap; requires historical data

3. Hard Constraints

ConstraintRule
No auto-booking by AIAI may suggest slots; staff must confirm booking action
No direct LLM SDK callsAll AI calls route through ai-gateway-service via Kong /v1/ai/*
tenantId from JWT onlyAI calls include tenantId from JWT; never from body
No PHI in prompt payloadsSlot availability and appointment type only; no patient demographics in prompt