-- Create "ProcedureReport" table
CREATE TABLE "public"."ProcedureReport" (
  "Id" bigserial NOT NULL,
  "CreatedAt" timestamptz NULL,
  "UpdatedAt" timestamptz NULL,
  "DeletedAt" timestamptz NULL,
  "Encounter_Id" bigint NULL,
  "Date" character varying(20) NOT NULL,
  "Doctor_Code" character varying(10) NULL,
  "Operator_Name" character varying(120) NULL,
  "Assistant_Name" character varying(120) NULL,
  "Instrumentor_Name" character varying(120) NULL,
  "Anesthesia_Doctor_Code" character varying(10) NULL,
  "Anesthesia_Nurse_Name" character varying(120) NULL,
  "Diagnose" character varying(1024) NULL,
  "Nurse_Name" character varying(120) NULL,
  "ProcedureValue" text NULL,
  "ExecutionValue" text NULL,
  "Type" character varying(10) NULL,
  PRIMARY KEY ("Id"),
  CONSTRAINT "fk_ProcedureReport_Encounter" FOREIGN KEY ("Encounter_Id") REFERENCES "public"."Encounter" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION
);

-- PROPER
  -- "Operator_Employe_Id" bigint NULL,
  -- "Assistant_Employe_Id" bigint NULL,
  -- "Instrumentor_Employe_Id" bigint NULL,
  -- "Diagnose" character varying(1024) NULL,
  -- "Procedures" character varying(10240) NULL,
  -- "Nurse_Code" character varying(10) NULL,
  
