alter Table "Receipt"
add column "MasterBillId" integer null,
add CONSTRAINT "Fk_Receipt_MasterBillId" FOREIGN KEY ("MasterBillId") 
	REFERENCES public."MasterBill" ("MasterBillId");

ALTER TABLE "AppointmentTransaction"
ADD COLUMN "PatientId" integer null,
ADD CONSTRAINT "FK_AppointmentTransaction_PatientId" FOREIGN KEY ("PatientId")
        REFERENCES public."Patient" ("PatientId");