Adds 4 new intents for intake workflow: - intake_status: shows completion percentage and section checklist - intake_navigeer: navigation to specific intake tabs - risico_query: displays risk assessments with severity indicators - diagnose_query: shows primary/secondary diagnoses New components: - IntakeStatusBlock, RisicoBlock, DiagnoseBlock - Shared block components (BlockLoading, BlockError, BlockEmpty, BlockSection, BlockItem, BlockFooter) - useBlockData and useIntakeContext hooks New API routes: - GET /api/cortex/intake/status - GET /api/cortex/intake/risico - GET /api/cortex/intake/diagnose Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 lines
558 B
TypeScript
22 lines
558 B
TypeScript
/**
|
|
* Cortex Shared Components
|
|
*
|
|
* Reusable components for Cortex blocks.
|
|
*/
|
|
|
|
// Block States (E0)
|
|
export { BlockLoading, BlockError, BlockEmpty } from './block-states';
|
|
|
|
// Block Layout (E1)
|
|
export { BlockSection } from './block-section';
|
|
export { BlockItem, getRiskBadgeVariant, type BadgeVariant } from './block-item';
|
|
export { BlockFooter } from './block-footer';
|
|
|
|
// Patient Components (existing)
|
|
export {
|
|
PatientListItem,
|
|
PatientListEmpty,
|
|
PatientListLoading,
|
|
} from './patient-list-item';
|
|
export { LinkedEvidence } from './linked-evidence';
|