DECEASEDCONSTITUENT
Indicates that a constituent is deceased.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| DECEASEDDATE |
UDT_FUZZYDATE |
|
Default = '00000000' |
Stores the date of death. |
| DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
| DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
| TS |
timestamp |
|
|
Timestamp. |
| TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
| DECEASEDCONFIRMATIONCODE |
tinyint |
|
Default = 0 |
Contains the deceased finder confirmation code. |
| ISREVIEWED |
bit |
|
Default = 0 |
Indicates whether or not deceasing options have been reviewed. |
| DECEASEDYEARS |
int (Computed) |
yes |
dbo.UFN_AGEFROMFUZZYDATE(DECEASEDCONSTITUENT.DECEASEDDATE,getdate()) |
For deceased individuals, returns the number of years since death. |
| DECEASEDCONFIRMATION |
nvarchar(17) (Computed) |
yes |
CASE [DECEASEDCONFIRMATIONCODE] WHEN 0 THEN N'Unconfirmed' WHEN 1 THEN N'Death Certificate' WHEN 2 THEN N'Relative Verified' WHEN 3 THEN N'Obituary Date' END |
|
Foreign Keys
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_DECEASEDCONSTITUENT_DATEADDED |
DATEADDED |
|
|
yes |
| IX_DECEASEDCONSTITUENT_DATECHANGED |
DATECHANGED |
|
|
|
| PK_DECEASEDCONSTITUENT |
ID |
yes |
yes |
|
Triggers