ALTER TABLE AKUZ.T_ANTHROPOMETRIC_PHYSIOLOGICAL_INDICATOR DROP CONSTRAINT IF EXISTS FK_T_ECHOCARDIOGRAPHY_PROTOCOL_T_ANTHROPOMETRIC_PHYSIO_021B9BA9;

DROP INDEX IF EXISTS UQ_T_ANTHROPOMETRIC_PHYSIOLOGICAL_INDICATOR_EchocardiographyProtocol;

ALTER TABLE AKUZ.T_ANTHROPOMETRIC_PHYSIOLOGICAL_INDICATOR DROP COLUMN IF EXISTS EchocardiographyProtocol_UQ;

ALTER TABLE AKUZ.T_ANTHROPOMETRIC_PHYSIOLOGICAL_INDICATOR DROP COLUMN "echocardiographyprotocol";

ALTER TABLE AKUZ.T_ANTHROPOMETRIC_PHYSIOLOGICAL_INDICATOR ADD "echocardiographyprotocol" uuid NULL;

ALTER TABLE AKUZ.T_ANTHROPOMETRIC_PHYSIOLOGICAL_INDICATOR ADD CONSTRAINT FK_T_DIAGNOSTICS_RESULTS_T_ANTHROPOMETRIC_PHYSIOLOGICA_3F203AA1
FOREIGN KEY("echocardiographyprotocol") REFERENCES AKUZ.T_DIAGNOSTICS_RESULTS (MedicalRecordID);


ALTER TABLE AKUZ.T_BASIC_ECHOCARDIOGRAPHY_PROTOCOL DROP CONSTRAINT IF EXISTS FK_T_ECHOCARDIOGRAPHY_PROTOCOL_T_BASIC_ECHOCARDIOGRAPH_A5C7FE16;

DROP INDEX IF EXISTS UQ_T_BASIC_ECHOCARDIOGRAPHY_PROTOCOL_EchocardiographyProtocol;

ALTER TABLE AKUZ.T_BASIC_ECHOCARDIOGRAPHY_PROTOCOL DROP COLUMN IF EXISTS EchocardiographyProtocol_UQ;

ALTER TABLE AKUZ.T_BASIC_ECHOCARDIOGRAPHY_PROTOCOL DROP COLUMN "echocardiographyprotocol";

ALTER TABLE AKUZ.T_BASIC_ECHOCARDIOGRAPHY_PROTOCOL ADD "echocardiographyprotocol" uuid NULL;

ALTER TABLE AKUZ.T_BASIC_ECHOCARDIOGRAPHY_PROTOCOL ADD CONSTRAINT FK_T_DIAGNOSTICS_RESULTS_T_BASIC_ECHOCARDIOGRAPHY_PROT_19644C31
FOREIGN KEY("echocardiographyprotocol") REFERENCES AKUZ.T_DIAGNOSTICS_RESULTS (MedicalRecordID);










