feat(regis): add patient category type
This commit is contained in:
@ -71,6 +71,9 @@ export class EmrRegistration {
|
|||||||
@JoinColumn({ name: "referral_hospital_id" })
|
@JoinColumn({ name: "referral_hospital_id" })
|
||||||
referral_hospital: RefferalHospital;
|
referral_hospital: RefferalHospital;
|
||||||
|
|
||||||
|
@Column({ nullable: true, type: "text" })
|
||||||
|
patient_category: string;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
@CreateDateColumn()
|
@CreateDateColumn()
|
||||||
created_at: Date;
|
created_at: Date;
|
||||||
|
|||||||
@ -51,4 +51,5 @@ export * from "../types/pharmacy_order_status";
|
|||||||
export * from "../types/prescription_pharmacy_status";
|
export * from "../types/prescription_pharmacy_status";
|
||||||
export * from "../types/radiology_order_status";
|
export * from "../types/radiology_order_status";
|
||||||
export * from "../types/laboratory_order_status";
|
export * from "../types/laboratory_order_status";
|
||||||
export * from "../enum/consciousness"
|
export * from "../enum/consciousness";
|
||||||
|
export * from "../types/patient_category";
|
||||||
|
|||||||
11
src/types/patient_category.ts
Normal file
11
src/types/patient_category.ts
Normal 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",
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user