-- Create "KFR" table CREATE TABLE "public"."KFR" ( "Id" bigserial NOT NULL, "CreatedAt" timestamptz NULL, "UpdatedAt" timestamptz NULL, "DeletedAt" timestamptz NULL, "Encounter_Id" bigint NULL, "CreatedBy_Employee_Id" bigint NULL, "Type" character varying(15) NULL, "Subjective" text NULL, "Objective" text NULL, "Assessment" text NULL, "TreatmentGoals" text NULL, "Education" text NULL, "Action" text NULL, "Frequency" bigint NULL, "IntervalUnit_Code" character varying(10) NULL, "FollowUpType" character varying(10) NULL, "FollowUpNote" text NULL, "Status_Code" character varying(10) NOT NULL, PRIMARY KEY ("Id"), CONSTRAINT "fk_KFR_CreatedBy_Employee" FOREIGN KEY ("CreatedBy_Employee_Id") REFERENCES "public"."Employee" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION, CONSTRAINT "fk_KFR_Encounter" FOREIGN KEY ("Encounter_Id") REFERENCES "public"."Encounter" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION );