update: pharmacy order list relation to prescription
This commit is contained in:
@ -12,7 +12,7 @@ import {
|
|||||||
|
|
||||||
import { EmrRegistrationOutpatient } from "./emr_registration_outpatient";
|
import { EmrRegistrationOutpatient } from "./emr_registration_outpatient";
|
||||||
import { EmrCompoundingMedicine } from "./emr_compounding_medicine";
|
import { EmrCompoundingMedicine } from "./emr_compounding_medicine";
|
||||||
import { EmrPrescriptionOrder } from "./emr_prescription_orders";
|
import { EmrPrescription } from "./emr_prescription";
|
||||||
import { User } from "../users";
|
import { User } from "../users";
|
||||||
import { PatientGuarantor } from "../patient_guarantor";
|
import { PatientGuarantor } from "../patient_guarantor";
|
||||||
import { Room } from "../room";
|
import { Room } from "../room";
|
||||||
@ -48,9 +48,9 @@ export class EmrPharmacyOrderList {
|
|||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
emrcompoundingmedicine: EmrCompoundingMedicine;
|
emrcompoundingmedicine: EmrCompoundingMedicine;
|
||||||
|
|
||||||
@ManyToOne(() => EmrPrescriptionOrder, { onDelete: "CASCADE" })
|
@ManyToOne(() => EmrPrescription, { onDelete: "CASCADE" })
|
||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
emrprescriptionorder: EmrPrescriptionOrder;
|
emrprescription: EmrPrescription;
|
||||||
|
|
||||||
@ManyToOne(() => User, { onDelete: "CASCADE" })
|
@ManyToOne(() => User, { onDelete: "CASCADE" })
|
||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
|
|||||||
Reference in New Issue
Block a user