| Key | Name | Data Type | Max Length (Bytes) | Nullability | Identity | Default | Description |
|---|
 ![Foreign Keys FK_Document_XDS_Document: [dbo].[Document].documentid Foreign Keys FK_Document_XDS_Document: [dbo].[Document].documentid](../../../../Images/fk.png) | documentid | [dbo].[uniqueid] | 9 | NOT NULL | | | Document. Link to Document.DocumentID |
 | ceddocumentid | varchar(255) | 255 | NOT NULL | | | Clinical Exchange Document identifier |
 | submissionsetid | varchar(255) | 255 | NOT NULL | | | Submission Set identifier |
| xdsaction | varchar(255) | 255 | NOT NULL | | | "Exported" or "Imported" |
![Foreign Keys fk_Document_XDS_ClinicalDocumentTargetDE: [dbo].[Clinical_Document_Target_DE].ClinicalDocumentTargetDE Foreign Keys fk_Document_XDS_ClinicalDocumentTargetDE: [dbo].[Clinical_Document_Target_DE].ClinicalDocumentTargetDE](../../../../Images/fk.png) | ClinicalDocumentTargetDE | [dbo].[dict_id] | 5 | NULL allowed | | ((0)) | ID of the external system specified in Clinical_Document_Target_DE table. |
| ExtDocumentID | varchar(25) | 25 | NULL allowed | | | Document ID in the external system. |
| ExtEncounterID | varchar(25) | 25 | NULL allowed | | | Encounter ID in the external system. |
 | ID | [dbo].[uniqueid] | 9 | NOT NULL | 1 - 1 | | Key to the Document_XDS table |