ALTER TABLE AKUZ.T_CDA_SVEDEN_RODAH_CHILDBIRTH ADD "ehrrus42q2uomg02" integer NULL;
UPDATE AKUZ.T_CDA_SVEDEN_RODAH_CHILDBIRTH SET "ehrrus42q2uomg02" = "IdEhrColumn";
ALTER TABLE AKUZ.T_CDA_SVEDEN_RODAH_CHILDBIRTH ALTER COLUMN "ehrrus42q2uomg02" SET NOT NULL;
ALTER TABLE AKUZ.T_CDA_SVEDEN_RODAH_CHILDBIRTH ADD CONSTRAINT FK_T_EHR_RUS_42Q2UOMG02_T_CDA_SVEDEN_RODAH_CHILDBIRTH__D8299CC7
FOREIGN KEY("ehrrus42q2uomg02") REFERENCES EHR.T_EHR_RUS_42Q2UOMG02 (EhrRusID);

ALTER TABLE AKUZ.T_CDA_SVEDEN_RODAH_CHILDBIRTH DROP COLUMN "IdEhrColumn";

ALTER TABLE AKUZ.T_CDA_SECTION_DOCINFO_SPORT ADD "ehrrusvidisporta" integer NULL;
ALTER TABLE AKUZ.T_CDA_SECTION_DOCINFO_SPORT ADD CONSTRAINT FK_T_EHR_RUS_VIDI_SPORTA_T_CDA_SECTION_DOCINFO_SPORT_E_D16F039E
FOREIGN KEY("ehrrusvidisporta") REFERENCES EHR.T_EHR_RUS_Vidi_sporta (EhrRusID);

ALTER TABLE AKUZ.T_CDA_SECTION_DOCINFO_HEIGHTWORK ADD "ehrrusgroupiriskrazvitiiaprofzabol" integer NULL;
ALTER TABLE AKUZ.T_CDA_SECTION_DOCINFO_HEIGHTWORK ADD CONSTRAINT FK_T_EHR_RUS_GROUPI_RISK_RAZVITIIA_PROF_ZABOL_T_CDA_SE_75374328
FOREIGN KEY("ehrrusgroupiriskrazvitiiaprofzabol") REFERENCES EHR.T_EHR_RUS_Groupi_risk_razvitiia_prof_zabol (EhrRusID);