IF NOT EXISTS(SELECT 1 FROM SYS.indexes WHERE [name] = 'IX_T_POST_TREAT_MedicalEpisode_EndCareDate_Include')
BEGIN
	CREATE INDEX [IX_T_POST_TREAT_MedicalEpisode_EndCareDate_Include] ON [AKUZ].[T_POST_TREAT] ( [MedicalEpisode], [EndCareDate] ) INCLUDE ([Post])
END;