-- Create "VclaimReference" table
CREATE TABLE "public"."VclaimReference" (
  "Id" bigserial NOT NULL,
  "CreatedAt" timestamptz NULL,
  "UpdatedAt" timestamptz NULL,
  "DeletedAt" timestamptz NULL,
  "Encounter_Id" bigint NULL,
  "Date" timestamptz NULL,
  "SrcCode" text NULL,
  "SrcName" text NULL,
  "Number" text NULL,
  PRIMARY KEY ("Id"),
  CONSTRAINT "fk_Encounter_VclaimReference" FOREIGN KEY ("Encounter_Id") REFERENCES "public"."Encounter" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION
);
