IF EXISTS (SELECT 1 FROM sys.objects WHERE  name = 'FK_T_FILE_T_IHE_CLINICALDOCUMENT_EVENT_ResponseNew')
    ALTER TABLE [AKUZ].[T_IHE_CLINICALDOCUMENT_EVENT] DROP CONSTRAINT [FK_T_FILE_T_IHE_CLINICALDOCUMENT_EVENT_ResponseNew];

IF EXISTS (SELECT 1 FROM sys.objects WHERE  name = 'FK_T_FILE_T_IHE_CLINICALDOCUMENT_EVENT_ClinicalDocumentNew')
    ALTER TABLE [AKUZ].[T_IHE_CLINICALDOCUMENT_EVENT] DROP CONSTRAINT FK_T_FILE_T_IHE_CLINICALDOCUMENT_EVENT_ClinicalDocumentNew;

IF EXISTS (SELECT 1 FROM sys.columns WHERE object_id = OBJECT_ID('AKUZ.T_IHE_CLINICALDOCUMENT_EVENT') AND name = 'ClinicalDocumentNew')
    ALTER TABLE [AKUZ].[T_IHE_CLINICALDOCUMENT_EVENT] DROP COLUMN [ClinicalDocumentNew];

IF EXISTS (SELECT 1 FROM sys.columns WHERE object_id = OBJECT_ID('AKUZ.T_IHE_CLINICALDOCUMENT_EVENT') AND name = 'ResponseNew')
    ALTER TABLE [AKUZ].[T_IHE_CLINICALDOCUMENT_EVENT] DROP COLUMN [ResponseNew];
