Tables [dbo].[ClaimItemRebuttal]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created10:12:53 PM Thursday, December 28, 2006
Last Modified11:13:38 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_ClaimItemRebuttal: ClaimItemRebuttalIDClaimItemRebuttalIDint4
No
1 - 1
Foreign Keys FK_ClaimItemRebuttal_ClaimItem: [dbo].[ClaimItem].ClaimItemFIDClaimItemFIDint4
No
Foreign Keys FK_ClaimItemRebuttal_ClaimItemRebuttalStatus: [dbo].[ClaimItemRebuttalStatus].ClaimItemRebuttalStatusFIDClaimItemRebuttalStatusFIDint4
No
Descriptionvarchar(128)128
No
RebuttalAmountmoney8
No
((0))
SentDatedatetime8
Yes
ResponseDatedatetime8
Yes
LiabilityAmountDeniedmoney8
No
((0))
PayableAmountDeniedmoney8
No
((0))
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_ClaimItemRebuttal: ClaimItemRebuttalIDPK_ClaimItemRebuttalClaimItemRebuttalID
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_ClaimItemRebuttal_ClaimItemClaimItemFID->[dbo].[ClaimItem].[ClaimItemID]
FK_ClaimItemRebuttal_ClaimItemRebuttalStatusClaimItemRebuttalStatusFID->[dbo].[ClaimItemRebuttalStatus].[ClaimItemRebuttalStatusID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ClaimItemRebuttal]
(
[ClaimItemRebuttalID] [int] NOT NULL IDENTITY(1, 1),
[ClaimItemFID] [int] NOT NULL,
[ClaimItemRebuttalStatusFID] [int] NOT NULL,
[Description] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[RebuttalAmount] [money] NOT NULL CONSTRAINT [DF_ClaimItemRebuttal_RebuttalAmount] DEFAULT ((0)),
[SentDate] [datetime] NULL,
[ResponseDate] [datetime] NULL,
[LiabilityAmountDenied] [money] NOT NULL CONSTRAINT [DF_ClaimItemRebuttal_LiabilityAmountDenied] DEFAULT ((0)),
[PayableAmountDenied] [money] NOT NULL CONSTRAINT [DF_ClaimItemRebuttal_PayableAmountDenied] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimItemRebuttal] ADD CONSTRAINT [PK_ClaimItemRebuttal] PRIMARY KEY NONCLUSTERED  ([ClaimItemRebuttalID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimItemRebuttal] ADD CONSTRAINT [FK_ClaimItemRebuttal_ClaimItem] FOREIGN KEY ([ClaimItemFID]) REFERENCES [dbo].[ClaimItem] ([ClaimItemID])
GO
ALTER TABLE [dbo].[ClaimItemRebuttal] ADD CONSTRAINT [FK_ClaimItemRebuttal_ClaimItemRebuttalStatus] FOREIGN KEY ([ClaimItemRebuttalStatusFID]) REFERENCES [dbo].[ClaimItemRebuttalStatus] ([ClaimItemRebuttalStatusID])
GO
GRANT SELECT ON  [dbo].[ClaimItemRebuttal] TO [MssExec]
GRANT INSERT ON  [dbo].[ClaimItemRebuttal] TO [MssExec]
GRANT DELETE ON  [dbo].[ClaimItemRebuttal] TO [MssExec]
GRANT UPDATE ON  [dbo].[ClaimItemRebuttal] TO [MssExec]
GO
Uses