improvement: tasks feature UX fully overhauled.
This commit is contained in:
@@ -150,6 +150,7 @@ export interface ListLabTasksParams {
|
||||
important?: boolean;
|
||||
sentFrom?: string;
|
||||
sentTo?: string;
|
||||
stepCompleted?: string;
|
||||
sortBy?: TaskSortField;
|
||||
sortDir?: 'asc' | 'desc';
|
||||
page?: number;
|
||||
@@ -172,10 +173,16 @@ export interface LabTaskListItem {
|
||||
lastStatusChangedAt: string | null;
|
||||
lastStatusChangedBy: LabTaskUser | null;
|
||||
createdAt: string;
|
||||
caseSentAt: string | null;
|
||||
clinic: { id: string; name: string };
|
||||
patient: { id: string; firstName: string; lastName: string };
|
||||
}
|
||||
|
||||
export interface TaskFilterOptions {
|
||||
clinics: { id: string; name: string }[];
|
||||
workflowSteps: { code: string; label: string }[];
|
||||
}
|
||||
|
||||
export interface PaginatedLabTasks {
|
||||
items: LabTaskListItem[];
|
||||
pagination: {
|
||||
|
||||
Reference in New Issue
Block a user