feat(internal-consultation): add new column of patient, for easy access info
This commit is contained in:
@ -30,6 +30,15 @@ export class EmrInternalConsultation {
|
||||
@JoinColumn()
|
||||
patient: EmrPatient;
|
||||
|
||||
@Column({ nullable: true, type: "text" })
|
||||
patient_name: string;
|
||||
|
||||
@Column({ nullable: true, type: "text" })
|
||||
patient_birth_date: string;
|
||||
|
||||
@Column({ nullable: true, type: "text" })
|
||||
patient_gender: string;
|
||||
|
||||
@ManyToOne(() => Room, { onDelete: "CASCADE", nullable: true })
|
||||
@JoinColumn()
|
||||
referring_room: Room;
|
||||
|
||||
Reference in New Issue
Block a user