BATCHDECEASEDFINDER
Stores rows for DeceasedRecordFinder batch
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| ADDRESSBLOCK |
nvarchar(150) |
|
Default = '' |
Submitted address. |
| CITY |
nvarchar(50) |
|
Default = '' |
Submitted city. |
| POSTCODE |
nvarchar(12) |
|
Default = '' |
Submitted post code. |
| DECEASEDDATE |
UDT_FUZZYDATE |
|
Default = '00000000' |
The DeceasedRecordFinder date of death. |
| DECEASEDCONFIRMATIONCODE |
tinyint |
|
Default = 0 |
The DeceasedRecordFinder confirmation code. |
| SEQUENCE |
int |
|
Default = 0 |
|
| 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. |
| 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
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| BATCHID |
uniqueidentifier |
|
BATCH.ID
|
Foreign key to the batch table. |
| DECEASEDFINDERID |
uniqueidentifier |
|
DECEASEDFINDER.ID
|
Foreign key to the DeceasedRecordFinder table. |
| CONSTITUENTID |
uniqueidentifier |
yes |
CONSTITUENT.LOCALID
|
Foreign key to the constituent table. |
| STATEID |
uniqueidentifier |
yes |
STATE.LOCALID
|
Submitted state. |
| DECEASEDSOURCECODEID |
uniqueidentifier |
yes |
DECEASEDSOURCECODE.ID
|
The DeceasedRecordFinder confirmation source. |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_BATCHDECEASEDFINDER_CONSTITUENTID |
CONSTITUENTID |
|
|
|
| IX_BATCHDECEASEDFINDER_DATEADDED |
DATEADDED |
|
|
yes |
| IX_BATCHDECEASEDFINDER_DATECHANGED |
DATECHANGED |
|
|
|
| PK_BATCHDECEASEDFINDER |
ID |
yes |
yes |
|
Triggers
Referenced by