feat(opd): add appointment id
This commit is contained in:
@ -79,6 +79,10 @@ export class EmrRegistrationOutpatient {
|
||||
@JoinColumn()
|
||||
ref_consultation: EmrInternalConsultation | null;
|
||||
|
||||
@ManyToOne(() => EmrRegistration, { onDelete: "SET NULL", nullable: true })
|
||||
@JoinColumn({ name: "ref_appointment_id" })
|
||||
ref_appointment: EmrRegistration;
|
||||
|
||||
@Column({ nullable: true })
|
||||
queued_at?: Date;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user