From a62575d82dc4828fc5a2595dfbd5b6bb7753f053 Mon Sep 17 00:00:00 2001 From: avicenan Date: Mon, 30 Mar 2026 15:33:33 +0700 Subject: [PATCH] fix prescription --- src/entity/emr/emr_prescription.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/entity/emr/emr_prescription.ts b/src/entity/emr/emr_prescription.ts index 50e2936..d675615 100644 --- a/src/entity/emr/emr_prescription.ts +++ b/src/entity/emr/emr_prescription.ts @@ -48,6 +48,9 @@ export class EmrPrescription { @OneToMany(() => EmrPrescriptionItem, (item) => item.prescription, { cascade: true }) items: EmrPrescriptionItem[]; + @Column({ type: "boolean", default: false }) + is_ordered: boolean; + @Column() @CreateDateColumn() created_at: Date;