[dbo].[ClaimTypeClaimDenialCodeMap]
CREATE TABLE [dbo].[ClaimTypeClaimDenialCodeMap]
(
[ClaimTypeClaimDenialCodeMapID] [int] NOT NULL IDENTITY(1, 1),
[ClaimTypeFID] [int] NOT NULL,
[ClaimDenialCodeFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimTypeClaimDenialCodeMap] ADD CONSTRAINT [PK_ClaimTypeClaimDenialCodeMap] PRIMARY KEY NONCLUSTERED ([ClaimTypeClaimDenialCodeMapID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimTypeClaimDenialCodeMap] ADD CONSTRAINT [FK_ClaimTypeClaimDenialCodeMap_ClaimDenialCode] FOREIGN KEY ([ClaimDenialCodeFID]) REFERENCES [dbo].[ClaimDenialCode] ([ClaimDenialCodeID])
GO
ALTER TABLE [dbo].[ClaimTypeClaimDenialCodeMap] ADD CONSTRAINT [FK_ClaimTypeClaimDenialCodeMap_ClaimType] FOREIGN KEY ([ClaimTypeFID]) REFERENCES [dbo].[ClaimType] ([ClaimTypeID])
GO
GRANT SELECT ON [dbo].[ClaimTypeClaimDenialCodeMap] TO [MssExec]
GRANT INSERT ON [dbo].[ClaimTypeClaimDenialCodeMap] TO [MssExec]
GRANT DELETE ON [dbo].[ClaimTypeClaimDenialCodeMap] TO [MssExec]
GRANT UPDATE ON [dbo].[ClaimTypeClaimDenialCodeMap] TO [MssExec]
GO