metms_fe/src/constant/config/enum.ts
2026-06-06 01:02:07 +07:00

51 lines
1.1 KiB
TypeScript

export enum QUERY_KEY {
table_list_patient,
table_list_consultation,
table_list_patientrescription,
table_list_specialty,
table_list_report,
table_list_profile,
list_specialty_lookup,
examination_specialty_list,
chi_tiet_benh_nhan,
chi_tiet_don_thuoc,
chi_tiet_phien_kham,
chi_tiet_thong_tin,
user_me,
}
// Draft = 1,
// InProgress = 2,
// Completed = 3,
// Cancelled = 4,
export enum TYPE_STATUS {
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 {
MALE = "Nam",
FEMALE = "Nữ",
OTHER = "Khác",
}
export enum TYPE_DATE {
// ALL = -1,
TODAY = 1,
YESTERDAY = 2,
THIS_WEEK = 3,
LAST_WEEK = 4,
THIS_MONTH = 5,
LAST_MONTH = 6,
THIS_YEAR = 7,
LAST_7_DAYS = 8,
LUA_CHON = 9,
}