ALTER TABLE "OrderPrescriptionMaster"
ADD COLUMN  "EncounterTypeId" integer
-----------------------------------------------------

UPDATE "OrderPrescriptionMaster"
SET "EncounterTypeId" = 3
WHERE "EncounterTypeId" is null;
----------------------------------------
INSERT INTO public."OrderPrescriptionMaster"(
	"EncounterTypeId")
	VALUES (3) where "EncounterTypeId"=null;
	
	INSERT INTO public."OrderPrescriptionMaster"(
	"OrderPrescriptionMasterId", "Name", "Active", "CreatedBy", "CreatedDate" ,"EncounterTypeId")
	VALUES (11, 'Gynaec Complaints', true, 1029,'2022-07-27 17:26:41.188772',  2);
	INSERT INTO public."OrderPrescriptionMaster"(
	"OrderPrescriptionMasterId", "Name", "Active", "CreatedBy", "CreatedDate" ,"EncounterTypeId")

VALUES
    (
        12, 'Prescription (Medication)', true, 1029,'2022-05-11 17:26:41.188772',  2
    ),
    (
       13, 'Investigation Template', true, 1029,'2022-05-11 17:26:41.188772',  2
    ),
    (
       14, 'Other Investigations', true, 1029,'2022-05-11 17:26:41.188772',  2
    ),
	 (
       15, 'Procedures Templates', true, 1029,'2022-05-11 17:26:41.188772',  2
    ),
	 (
       16, 'Gynaec Notes', true, 1029,'2022-05-11 17:26:41.188772',  2
    ),
	 (
       17, 'Referrals', true, 1029,'2022-05-11 17:26:41.188772',  2
    ),
	 (
       18, 'Important Advice', true, 1029,'2022-05-11 17:26:41.188772',  2
    );