 CREATE TABLE "ASEDBUSR"."ECLAIMMEDKLASS" 
   (	"PKEY" NUMBER(12,0) NOT NULL ENABLE, 
	"BOID" VARCHAR2(40 CHAR) NOT NULL ENABLE, 
	"METABO" NUMBER(12,0) NOT NULL ENABLE, 
	"LASTUPDATE" TIMESTAMP (9) NOT NULL ENABLE, 
	"PROCESSID" VARCHAR2(40 CHAR) NOT NULL ENABLE, 
	"ROWCOMMENT" VARCHAR2(15 CHAR), 
	"CREATED" TIMESTAMP (9) NOT NULL ENABLE, 
	"CREATEDUSER" VARCHAR2(40 CHAR) NOT NULL ENABLE, 
	"REPLACED" TIMESTAMP (9) NOT NULL ENABLE, 
	"REPLACEDUSER" VARCHAR2(40 CHAR), 
	"ITSECLAIMINVOICE" VARCHAR2(40 CHAR), 
	"ITSECLAIMKONSTELL" VARCHAR2(40 CHAR), 
	"POSITION" NUMBER(12,0) NOT NULL ENABLE, 
	"DIAGNOSEART" VARCHAR2(40 CHAR), 
	"DIAGBEHSYSTEM" VARCHAR2(40 CHAR) NOT NULL ENABLE, 
	"CODE" VARCHAR2(30 CHAR), 
	"FREITEXT" VARCHAR2(350 CHAR), 
	"VERSION" VARCHAR2(40 CHAR), 
	"SEITE" VARCHAR2(40 CHAR), 
	"BEHANDLUNGSDATUM" DATE, 
	"BEHANDLUNGSZEIT" DATE, 
	"BEHANDAEUSSERLICH" VARCHAR2(40 CHAR), 
	"BEMERKUNG" VARCHAR2(350 CHAR), 
	"DIAGTUMORAKT" VARCHAR2(40 CHAR), 
	"DIAGCCL" NUMBER(12,0), 
	"DIAGCCLGEW" NUMBER(12,0), 
	"DIAGCCLGEWKUMUL" NUMBER(12,0), 
	"DIAGVERW" VARCHAR2(40 CHAR), 
	"DIAGGUELT" VARCHAR2(40 CHAR), 
	"HAUPTDIAGSTATUS" VARCHAR2(40 CHAR), 
	"PROZEDURVERW" VARCHAR2(40 CHAR), 
	"PROZEDURGUELT" VARCHAR2(40 CHAR), 
	"PROZEDURSTATUS" VARCHAR2(40 CHAR), 
	"ALTDRG" VARCHAR2(35 CHAR), 
	"ALTMDC" VARCHAR2(35 CHAR), 
	"ALTCW" NUMBER(10,3), 
	"ALTPCCL" NUMBER(12,0), 
	"ALTCWEFF" NUMBER(14,4), 
	"ALTDRGBERECHVAR" VARCHAR2(40 CHAR), 
	"ALTKOSTEN" NUMBER(14,4), 
	"ARCHIVETAG" VARCHAR2(40 CHAR), 
	"ZUSATZENTGELT" VARCHAR2(500 CHAR), 
	"ZUSATZENTGELTPREIS" NUMBER(14,4), 
	"MDBID" VARCHAR2(255 CHAR), 
	"ATCCODE" VARCHAR2(30 CHAR) DEFAULT null, 
	"ANNEX" VARCHAR2(40 CHAR) DEFAULT null, 
	"APPLICATION" VARCHAR2(40 CHAR) DEFAULT null, 
	"DOSE" NUMBER(14,4) DEFAULT null, 
	"UNIT" VARCHAR2(40 CHAR) DEFAULT null, 
	 SUPPLEMENTAL LOG DATA (ALL) COLUMNS
   ) PCTFREE 10 PCTUSED 40 INITRANS 40 MAXTRANS 255  LOGGING 
  STORAGE(
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "ASEDBUSR_DAT" 
  PARTITION BY LIST ("REPLACED") 
 (PARTITION "P_CURR"  VALUES (TIMESTAMP' 3000-01-01 00:00:00') SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 40 MAXTRANS 255 
 NOCOMPRESS LOGGING 
  STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "ASEDBUSR_DAT" , 
 PARTITION "P_ARCH"  VALUES (DEFAULT) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 40 MAXTRANS 255 
 NOCOMPRESS LOGGING 
  STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "ASEDBUSR_DAT" )  ENABLE ROW MOVEMENT ;
  CREATE UNIQUE INDEX "ASEDBUSR"."PK1019050" ON "ASEDBUSR"."ECLAIMMEDKLASS" ("PKEY") 
  PCTFREE 10 INITRANS 80 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "ASEDBUSR_DAT" ;
ALTER TABLE "ASEDBUSR"."ECLAIMMEDKLASS" ADD CONSTRAINT "PK1019050" PRIMARY KEY ("PKEY")
  USING INDEX "ASEDBUSR"."PK1019050"  ENABLE;