create sequence "IvfEncounter_IvfEncounterId_seq";


CREATE TABLE IF NOT EXISTS public."IvfEncounter"
(
    "IvfEncounterId" bigint NOT NULL DEFAULT nextval('"IvfEncounter_IvfEncounterId_seq"'::regclass),
    "AppointmentId" integer,
    "IvfEncounterDate" timestamp(6) without time zone NOT NULL,
    "Active" boolean NOT NULL DEFAULT true,
    "CreatedBy" integer NOT NULL,
    "CreatedDate" timestamp(6) without time zone NOT NULL,
    "ModifiedBy" integer,
    "ModifiedDate" timestamp(6) without time zone,
    "AdmissionId" integer,
    CONSTRAINT "IvfEncounter_pkey" PRIMARY KEY ("IvfEncounterId"),
    CONSTRAINT "UQ_IvfEncounter" UNIQUE ("IvfEncounterId")
);
alter table "IvfEncounter" add "GynHistory" text;