CREATE TABLE [dbo].[patient_diagnosis_attribute]
(
	pt_diag_attr_key bigint primary key identity(1,1),
	[pt_diag_key] int NOT NULL,
	[measure_attr_key] int not null,
	measure_key int not null,
	measure_value nvarchar(250) not null,
	pt_diag_attr_dt date,
	modified_dt datetime NOT NULL,
	modified_by uniqueidentifier NOT NULL, 
    CONSTRAINT [FK_patient_diagnosis_attribute_ToTable] FOREIGN KEY ([pt_diag_key]) REFERENCES patient_diagnosis([pt_diag_key])
)
