This commit is contained in:
TuanVT
2026-05-31 09:38:10 +07:00
parent 56e2733d8f
commit 62ca6dd0f9
32 changed files with 1785 additions and 381 deletions
+16 -4
View File
@@ -2,17 +2,29 @@ export enum QUERY_KEY {
table_list_patient,
table_list_consultation,
table_list_patientrescription,
table_list_specialty,
table_list_report,
list_specialty_lookup,
chi_tiet_benh_nhan,
chi_tiet_don_thuoc,
chi_tiet_phien_kham,
user_me,
}
// Draft = 1,
// InProgress = 2,
// Completed = 3,
// Cancelled = 4,
export enum TYPE_STATUS {
Draft = 1,
InProgress = 2,
Completed = 3,
Cancelled = 4,
Draft = 1, // Phiên tạm (mới tiếp nhận, chưa khám)
InProgress = 2, // Đang khám tổng quát
ToSpecialty = 3, // Đã chỉ định & Đang chờ khám chuyên khoa 💡 (MỚI)
PendingPrescription = 4, // Đã khám xong hết, Chờ quầy dược phát thuốc/kính 💡 (MỚI)
Completed = 5, // Đã hoàn thành hoàn toàn (Đã khám + Đã nhận thuốc)
Cancelled = 6, // Phiên khám bị hủy
}
export enum TYPE_GENDER {
+15 -1
View File
@@ -1,4 +1,10 @@
import { CircleGauge, HeartPulse, Pill, Users } from "lucide-react";
import {
ChartNoAxesCombined,
CircleGauge,
HeartPulse,
Pill,
Users,
} from "lucide-react";
export enum PATH {
HOME = "/",
@@ -8,6 +14,8 @@ export enum PATH {
PRESCRIPTION = "/prescription",
CREATE_PRESCRIPTION = "/prescription/create",
STATISTICAL = "/statistical",
LOGIN = "/auth/login",
REGISTER = "/auth/register",
FORGOT_PASSWORD = "/auth/forgot-password",
@@ -51,6 +59,12 @@ export const Menus: {
path: PATH.PRESCRIPTION,
pathActive: PATH.PRESCRIPTION,
},
{
title: "Thống kê chuyên khoa",
icon: ChartNoAxesCombined,
path: PATH.STATISTICAL,
pathActive: PATH.STATISTICAL,
},
],
},
];