-- Tables

/***** Object:  Table [EHR].[T_EHR_RUS_AJC73FCBN6] *****/
CREATE TABLE [EHR].[T_EHR_RUS_AJC73FCBN6]
(
    [EhrRusID] uniqueidentifier NOT NULL,
    [SORT] int NOT NULL,
    [CODE_MKB] varchar(255) NULL
)
ON [PRIMARY]
GO

-- Alters

ALTER TABLE [EHR].[T_EHR_RUS_AJC73FCBN6] ADD CONSTRAINT [PK_T_EHR_RUS_AJC73FCBN6]
PRIMARY KEY CLUSTERED ([EhrRusID]) ON [PRIMARY]
GO

ALTER TABLE [EHR].[T_EHR_RUS_AJC73FCBN6] ADD CONSTRAINT [FK_T_EHR_RUS_TREE_T_EHR_RUS_AJC73FCBN6_EhrRusID]
FOREIGN KEY([EhrRusID]) REFERENCES [EHR].[T_EHR_RUS_TREE] ([EhrRusID])
GO

