Merge branch 'main' of https://git.shiblysolution.id/SAUDE-TL/entity
This commit is contained in:
@ -16,6 +16,7 @@ import { User } from "../users";
|
|||||||
import { Department } from "../department";
|
import { Department } from "../department";
|
||||||
import { EmrLaboratoryOrderItem } from "./emr_laboratory_order_items";
|
import { EmrLaboratoryOrderItem } from "./emr_laboratory_order_items";
|
||||||
import { LaboratoryOrderStatus } from "../../enum/laboratoryOrderStatus";
|
import { LaboratoryOrderStatus } from "../../enum/laboratoryOrderStatus";
|
||||||
|
import { EmrRegistration } from "./emr_registration";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Laboratory orders entity.
|
* Laboratory orders entity.
|
||||||
@ -35,6 +36,10 @@ export class EmrLaboratoryOrder {
|
|||||||
@Column({ type: "text", nullable: true })
|
@Column({ type: "text", nullable: true })
|
||||||
notes: string;
|
notes: string;
|
||||||
|
|
||||||
|
@ManyToOne(() => EmrRegistration, { onDelete: "NO ACTION", nullable: true })
|
||||||
|
@JoinColumn()
|
||||||
|
registration: EmrRegistration;
|
||||||
|
|
||||||
@ManyToOne(() => EmrPatient, { onDelete: "NO ACTION" })
|
@ManyToOne(() => EmrPatient, { onDelete: "NO ACTION" })
|
||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
patient: EmrPatient;
|
patient: EmrPatient;
|
||||||
|
|||||||
Reference in New Issue
Block a user