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()
|
@JoinColumn()
|
||||||
patient: EmrPatient;
|
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 })
|
@ManyToOne(() => Room, { onDelete: "CASCADE", nullable: true })
|
||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
referring_room: Room;
|
referring_room: Room;
|
||||||
|
|||||||
Reference in New Issue
Block a user