feat/action-report: done

This commit is contained in:
2025-12-01 17:47:59 +07:00
parent ece6a0b7a5
commit 8306e1217e
15 changed files with 930 additions and 2 deletions

No files matched your search

@@ -0,0 +1,19 @@
-- Create "ActionReport" table
CREATE TABLE "public"."ActionReport" (
"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_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,
"Value" text NULL,
PRIMARY KEY ("Id"),
CONSTRAINT "fk_ActionReport_Encounter" FOREIGN KEY ("Encounter_Id") REFERENCES "public"."Encounter" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION
);