-- Tables

-- Alters

ALTER TABLE AKUZ.T_MEDICAL_EPISODE ADD "result" integer NULL;

ALTER TABLE AKUZ.T_MEDICAL_EPISODE ADD "outcome" integer NULL;

ALTER TABLE AKUZ.T_MEDICAL_EPISODE ADD CONSTRAINT FK_T_V009_RESULT_T_MEDICAL_EPISODE_Result
FOREIGN KEY("result") REFERENCES AKUZ.T_V009_RESULT (IDRMP);

ALTER TABLE AKUZ.T_MEDICAL_EPISODE ADD CONSTRAINT FK_T_V012_OUTCOME_T_MEDICAL_EPISODE_Outcome
FOREIGN KEY("outcome") REFERENCES AKUZ.T_V012_OUTCOME (IDIZ);

