This commit is contained in:
wayanrivan
2026-02-19 12:02:57 +07:00
parent 78b115e3cf
commit 79d535fb56

View File

@ -33,6 +33,10 @@ export class EmrInternalConsultation {
@JoinColumn()
referring_doctor: User;
@ManyToOne(() => User, { onDelete: "CASCADE" })
@JoinColumn()
consulted_doctor: User;
@ManyToOne(() => Room, { onDelete: "CASCADE" })
@JoinColumn()
consulted_room: Room;
@ -44,9 +48,15 @@ export class EmrInternalConsultation {
@Column({ type: "text", nullable: true })
requested_consultation: string;
@Column({ type: "text", nullable: true })
consultation_report: string;
@Column({ type: "date", nullable: true })
dates: Date;
@Column({ type: "date", nullable: true })
consultation_date: Date;
@Column({
type: "enum",
enum: InternalConsulStatus,