feat(regis): add patient category type

This commit is contained in:
avicenan
2026-05-14 11:58:14 +09:00
parent 4b554ca78d
commit 5f060a3c4f
3 changed files with 16 additions and 1 deletions

View File

@ -71,6 +71,9 @@ export class EmrRegistration {
@JoinColumn({ name: "referral_hospital_id" })
referral_hospital: RefferalHospital;
@Column({ nullable: true, type: "text" })
patient_category: string;
@Column()
@CreateDateColumn()
created_at: Date;

View File

@ -51,4 +51,5 @@ export * from "../types/pharmacy_order_status";
export * from "../types/prescription_pharmacy_status";
export * from "../types/radiology_order_status";
export * from "../types/laboratory_order_status";
export * from "../enum/consciousness"
export * from "../enum/consciousness";
export * from "../types/patient_category";

View File

@ -0,0 +1,11 @@
/**
* Workflow kategori pendaftaran pasien.
* Existing: pasien sudah lama daftar
* New: pasien baru dari pendaftaran pasien
* Foreigner: pasien asing
*/
export enum PatientCategory {
EXISTING = "existing",
NEW = "new",
FOREIGNER = "foreigner",
}