From 9d9cca2a3133c255ba32950fb7eea25c73dfda32 Mon Sep 17 00:00:00 2001 From: avicenan Date: Wed, 11 Mar 2026 16:35:42 +0700 Subject: [PATCH] fix(emr): rename outpatient self-reference field --- src/entity/emr/emr_registration_outpatient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/emr/emr_registration_outpatient.ts b/src/entity/emr/emr_registration_outpatient.ts index 7fad956..2ebdece 100644 --- a/src/entity/emr/emr_registration_outpatient.ts +++ b/src/entity/emr/emr_registration_outpatient.ts @@ -63,7 +63,7 @@ export class EmrRegistrationOutpatient { @ManyToOne(() => EmrRegistrationOutpatient, { onDelete: "SET NULL", nullable: true }) @JoinColumn() - appointment: EmrRegistrationOutpatient | null; + ref_registration_outpatient: EmrRegistrationOutpatient | null; @Column() @CreateDateColumn()