IF NOT EXISTS (SELECT * FROM sysobjects WHERE name = 'MedicationTerminology')
BEGIN
CREATE TABLE [dbo].[MedicationTerminology](
	[Code] [VARCHAR](20) NOT NULL,
	[Alias] [VARCHAR](10) NULL,
	[Term] [NVARCHAR](MAX) NULL,
	[PersianMeaning] [NVARCHAR](MAX) NULL,
	[TerminologyID] [NVARCHAR](150) NULL,
	[Type] [TINYINT] NOT NULL,
 CONSTRAINT [PK_tblMedicationTerminology] PRIMARY KEY CLUSTERED 
(
	[Code] ASC,
	[Type] ASC
)
) ON [PRIMARY] 
End