feat/action-report: done
This commit is contained in:
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
|
||||
);
|
||||
Reference in New Issue
Block a user