// Shared constants for task auto-assignment (used by the questionnaire editor + the Automated Tasks page). export const AUTO_ASSIGN_TRIGGER_URL = 'https://akashichealthrecords.com/fhir/StructureDefinition/task-auto-assign-trigger'; export const AUTO_ASSIGN_PRIORITY_URL = 'https://akashichealthrecords.com/fhir/StructureDefinition/task-auto-assign-priority'; export type AutoAssignTrigger = 'off' | 'all-appointments' | 'new-patient-appointments'; export type TaskPriority = 'routine' | 'urgent'; export const AUTO_ASSIGN_TRIGGER_OPTIONS: { value: AutoAssignTrigger; label: string }[] = [ { value: 'off', label: 'Off' }, { value: 'all-appointments', label: 'All appointments' }, { value: 'new-patient-appointments', label: 'New patient appointments' }, ]; export const TASK_PRIORITY_OPTIONS: { value: TaskPriority; label: string }[] = [ { value: 'routine', label: 'Routine' }, { value: 'urgent', label: 'Urgent' }, ];