if exists(select * from sys.indexes i where i.object_id = object_id('EHR.T_EHR_RUS', 'U') and name = 'IX_T_EHR_RUS_IdEHR')
	drop index IX_T_EHR_RUS_IdEHR ON EHR.T_EHR_RUS
go
CREATE INDEX IX_T_EHR_RUS_IdEHR ON EHR.T_EHR_RUS(IdEHR, type_)  WITH (FILLFACTOR=100);