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