Table Detail Report
CDI_TRANS_LOG
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | CDI Transaction log. |
| Definition: | This table holds the transaction rows of an indexed document submittal, failure, delete, and send to service for CDI applications and components. |
| Table Type: | ACTIVITY |
Column Detail - CDI_TRANS_LOG
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| ACTION_DT_TM | DATETIME | N | Date and time the action occurred. |
| ACTION_TYPE_FLAG | DOUBLE | N | Description of the action. Submit = 0, Failed = 1, Send to service = 2, Delete =3, Modify = 4, Single document capture = 5, Receive = 6, Validate Manually = 7, Migrate = 8, Update Metadata = 9, Print = 10, Combine = 11, Split = 12, Copy = 13. |
| ACTIVE_IND | DOUBLE | N | The table row is active or inactive. A row is generally active unless it is in an inactive state such as logically deleted, combined away, pending purge, etc. |
| AX_APPID | DOUBLE | N | The Application Identification from the OTG database for this document. |
| AX_DOCID | DOUBLE | N | The document Identification from the OTG database for this document. |
| BATCH_NAME | VARCHAR(255) | N | Batch name from the document index. |
| BATCH_NAME_KEY | VARCHAR(255) | N | Batch Name converted to upper case for case-insensitive indexed queries. |
| BLOB_HANDLE | VARCHAR(255) | Y | Handle to the image stored in OTG DB. |
| BLOB_REF_ID | DOUBLE | N | Foreign key to the BLOB_REFERENCE table. |
| BLOB_TYPE_FLAG | DOUBLE | N | Indicates if image is a clinical event (0 - event id is valid), non-clinical event (1 - blob ref id is valid), or neither (2 - additional info store on ext table). |
| CDI_FORM_ID | DOUBLE | N | Foreign key to the cdi_form table. Only populated if an action is performed on a patient form. |
| CDI_PENDING_DOCUMENT_ID | DOUBLE | N | The ID of the pending document that the log row is related to. |
| CDI_QUEUE_CD | DOUBLE | N | Queue the document was in prior to the transaction. |
| CDI_TRANS_LOG_ID | DOUBLE | N | Unique identifier generated for each row of data. |
| COPY_CNT | DOUBLE | N | The number of copies printed. |
| CREATE_DT_TM | DATETIME | N | The date and time when the batch was created. |
| DEVICE_NAME | VARCHAR(200) | Y | The name of the device that performed the action, such as the printer name. |
| DOCUMENT_TYPE_ALIAS | VARCHAR(255) | Y | Alias for this document type's event code. |
| DOC_TYPE | VARCHAR(50) | Y | Document type alias or value used to index the document. |
| ENCNTR_ID | DOUBLE | N | This is the value of the unique primary identifier of the encounter table. It is an internal system assigned number. |
| EVENT_CD | DOUBLE | N | Event code for the document. |
| EVENT_ID | DOUBLE | N | Foreign key to the Clinical Event Table |
| EXTERNAL_BATCH_IDENT | DOUBLE | N | The identifier of the external batch. |
| FINANCIAL_NBR | VARCHAR(200) | Y | The enctr_nbr field from the document index. A financial_nbr in Cerner. |
| MAN_QUEUE_CAT_CD | DOUBLE | N | Manual queue category code indicating high level reason doc sent to manual queue. |
| MAN_QUEUE_ERR_CD | DOUBLE | N | Manual queue error code indicating specific error that send doc to manual queue. |
| MRN | VARCHAR(200) | Y | The MRN from the document index. |
| PAGE_CNT | DOUBLE | N | Number of pages in the document |
| PAGE_DELETED_CNT | DOUBLE | N | Number of pages deleted in the document before transaction. |
| PARENT_ENTITY_ALIAS | VARCHAR(200) | N | This field contains the parent alias that was used to index the associated document. |
| PARENT_ENTITY_ID | DOUBLE | N | This field contrains the unique primary identifier for the row from the parent table identified in field parent_entity_name. |
| PARENT_ENTITY_NAME | VARCHAR(32) | N | This field contains the name of the table that this cdi_trans_log row is associated to. |
| PATIENT_NAME | VARCHAR(255) | Y | The patient name index information from the document index. |
| PERF_PRSNL_ID | DOUBLE | N | Personnel Id of the person that performed the document activity. |
| PERSON_ID | DOUBLE | N | This is the value of the unique primary identifier of the person table. It is an internal system assigned number. |
| REASON_CD | DOUBLE | N | Indicates the reason for the transaction. |
| SUBJECT | VARCHAR(255) | Y | Free text subject of the document used in indexing. |
| UPDT_APPLCTX | DOUBLE | N | The application context number from the record info block. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_CNT | DOUBLE | N | Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_DT_TM | DATETIME | N | The date and time the row was last inserted or updated. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_ID | DOUBLE | N | The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_TASK | DOUBLE | N | The registered (assigned) task number for the process that inserted or updated the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
Relationship Detail - CDI_TRANS_LOG
| Child Column in CDI_TRANS_LOG(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | BLOB_REF_ID | BLOB_REFERENCE | BLOB_REF_ID |
| CDI_FORM_ID | CDI_FORM | CDI_FORM_ID | |
| CDI_PENDING_DOCUMENT_ID | CDI_PENDING_DOCUMENT | CDI_PENDING_DOCUMENT_ID | |
| ENCNTR_ID | ENCOUNTER | ENCNTR_ID | |
| PERSON_ID | PERSON | PERSON_ID | |
| PERF_PRSNL_ID | PRSNL | PERSON_ID |
| Parent Column in CDI_TRANS_LOG (PK) | Child Table Name | Child Column Name | |
|---|---|---|---|
| Children: | CDI_TRANS_LOG_ID | CDI_TRANS_MOD_DETAIL | CDI_TRANS_LOG_ID |
CDI_TRANS_MOD_DETAIL
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | cdi rans mod detail |
| Definition: | This table tracks details for CPDI image modifications. |
| Table Type: | ACTIVITY |
Column Detail - CDI_TRANS_MOD_DETAIL
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| ACTION_SEQUENCE | DOUBLE | N | Action sequence column |
| ACTION_TYPE_FLAG | DOUBLE | N | Description of the modification. (1=rotate, 2=delete, 3=add, 4=reorder, 5=cut, 6=copy, 7=annotate, 8=rollback, 9=add version, 10=ocr (optical character recognition), 11=modify text), 12 - resume checkout. |
| CDI_TRANS_LOG_ID | DOUBLE | N | ID of the parent cdi_trans_log row. |
| CDI_TRANS_MOD_DETAIL_ID | DOUBLE | N | Unique ID for each image modification detail. |
| END_PAGE | DOUBLE | N | Last page of the document affected. |
| POSITION | DOUBLE | N | New position of the pages in the document for reorder action. |
| START_PAGE | DOUBLE | N | First page of the document affected. |
| UPDT_APPLCTX | DOUBLE | N | The application context number from the record info block. |
| UPDT_CNT | DOUBLE | N | Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row. |
| UPDT_DT_TM | DATETIME | N | The date and time the row was last inserted or updated. |
| UPDT_ID | DOUBLE | N | The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table. |
| UPDT_TASK | DOUBLE | N | The registered (assigned) task number for the process that inserted or updated the row. |
Relationship Detail - CDI_TRANS_MOD_DETAIL
| Child Column in CDI_TRANS_MOD_DETAIL(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | CDI_TRANS_LOG_ID | CDI_TRANS_LOG | CDI_TRANS_LOG_ID |
CDI_USER_FILTER
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | CDI User Filter |
| Definition: | This table stores user defined filters that can be applied to filter the document list within the Document Library. |
| Table Type: | REFERENCE |
Column Detail - CDI_USER_FILTER
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| BEGIN_DT_TM | DATETIME | N | Specifies the beginning date when filtering documents by date range (date range must be zero). |
| CDI_USER_FILTER_ID | DOUBLE | N | The unique primary key of this table. It is internally generated by Millennium. |
| DATE_RANGE_MONTHS | DOUBLE | N | Specifies the number of months worth of data should be displayed. If this field is set to zero the begin and end date range will be used instead. |
| DOCUMENT_COUNT | DOUBLE | N | Specifies the maximum number of documents to be displayed. |
| END_DT_TM | DATETIME | N | Specifies the end date when filtering documents by date range (date range must be zero). |
| FILTER_NAME | VARCHAR(100) | N | The name of the filter. |
| PERSON_ID | DOUBLE | N | Identifies the user this filter belongs to. |
| UPDT_APPLCTX | DOUBLE | N | The application context number from the record info block. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_CNT | DOUBLE | N | Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_DT_TM | DATETIME | N | The date and time the row was last inserted or updated. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_ID | DOUBLE | N | The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_TASK | DOUBLE | N | The registered (assigned) task number for the process that inserted or updated the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
Relationship Detail - CDI_USER_FILTER
| Child Column in CDI_USER_FILTER(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | PERSON_ID | PRSNL | PERSON_ID |
CDI_WORK_ITEM
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | CDI Work Item |
| Definition: | This table represents a CPDI Work Item within the routing and queuing process. |
| Table Type: | ACTIVITY |
Column Detail - CDI_WORK_ITEM
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| AUTO_DIAL_IND | DOUBLE | N | Indicates whether or not this workitem is an auto dial. |
| BEG_EFFECTIVE_DT_TM | DATETIME | Y | The date and time for which this table row becomes effective. Normally, this will be the date and time the row is added, but could be a past or future date and time. |
| CATEGORY_CD | DOUBLE | N | The generic category of the work item. Category is a generic concept that allows clients to define their own list of descriptors for a work item. Clients might have their own configurable codeset so it is documented as 0, |
| CDI_WORK_ITEM_ID | DOUBLE | N | The unique primary key of this table. It is internally assigned. |
| CLARIFY_REASON_CD | DOUBLE | N | The code value for the reason the work item was put in a clarify status. |
| COMMENT_ID | DOUBLE | N | The link to the row on the long_text table which includes comments associated to the image. |
| CREATE_DT_TM | DATETIME | N | The date and time the work item was added into the system. |
| END_EFFECTIVE_DT_TM | DATETIME | Y | The date/time after which the row is no longer valid as active current data. This may be valued with the date that the row became inactive. |
| ORDERING_PROVIDER_ID | DOUBLE | N | Person ID from the PRSNL table. |
| OWNER_PRSNL_ID | DOUBLE | N | The personnel identifier for the person who has ownership of the work item. If valued, this field means this person has the work item locked. |
| PARENT_ENTITY_ID | DOUBLE | N | This field contains the identifier for the parent table row. |
| PARENT_ENTITY_NAME | VARCHAR(30) | N | This field contains the name of table that this cdi_work_item row is associated to. |
| PREV_CDI_WORK_ITEM_ID | DOUBLE | N | Identifier of the currently effective row based off the begin/end effective date/time values |
| PRIORITY_CD | DOUBLE | N | The priority of the work item. |
| SCH_EVENT_ID | DOUBLE | N | The unique identifier for the requested/scheduled appointment. |
| STATUS_CD | DOUBLE | N | The status of the work item. |
| UPDT_APPLCTX | DOUBLE | N | The application context number from the record info block. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_CNT | DOUBLE | N | Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_DT_TM | DATETIME | N | The date and time the row was last inserted or updated. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_ID | DOUBLE | N | The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_TASK | DOUBLE | N | The registered (assigned) task number for the process that inserted or updated the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
Relationship Detail - CDI_WORK_ITEM
| Child Column in CDI_WORK_ITEM(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | PREV_CDI_WORK_ITEM_ID | CDI_WORK_ITEM | CDI_WORK_ITEM_ID |
| COMMENT_ID | LONG_TEXT | LONG_TEXT_ID | |
| ORDERING_PROVIDER_ID | PRSNL | PERSON_ID | |
| OWNER_PRSNL_ID | PRSNL | PERSON_ID | |
| SCH_EVENT_ID | SCH_EVENT | SCH_EVENT_ID |
| Parent Column in CDI_WORK_ITEM (PK) | Child Table Name | Child Column Name | |
|---|---|---|---|
| Children: | CDI_WORK_ITEM_ID | CDI_WORK_ITEM | PREV_CDI_WORK_ITEM_ID |
| CDI_WORK_ITEM_ACTION | CDI_WORK_ITEM_ID | ||
| CDI_WORK_ITEM_ATTRIBUTE | CDI_WORK_ITEM_ID | ||
| CDI_WORK_QUEUE_ITEM_RELTN | CDI_WORK_ITEM_ID |
CDI_WORK_ITEM_ACTION
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Work Item Action |
| Definition: | This table records actions taken while processing a work item. |
| Table Type: | ACTIVITY |
Column Detail - CDI_WORK_ITEM_ACTION
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| ACTION_DT_TM | DATETIME | N | The date & time of the action represented by this row. |
| ACTION_PRSNL_ID | DOUBLE | N | The personnel ID of the user performing the action represented by this row. |
| ACTION_TYPE_FLAG | DOUBLE | N | Flag indicating what type of action was performed. 0 - Patient Contact, 1 - Fax Out |
| CDI_WORK_ITEM_ACTION_ID | DOUBLE | N | Unique generated number that identifies a single row on the CDI_WORK_ITEM_ACTION table. |
| CDI_WORK_ITEM_ID | DOUBLE | N | Foreign key to the work item table. |
| COMMENT_CD | DOUBLE | N | Specifies any predefined comment selected by the user for this action. |
| FOLLOW_UP_DT_TM | DATETIME | Y | The date & time of the follow up action represented by this row. |
| LONG_TEXT_ID | DOUBLE | N | Foreign key to the long_text table where the user entered comments are stored. |
| OUTPUTCTX_HANDLE_ID | DOUBLE | N | Identifies the output context for outbound fax actions (foreign key to the outputctx table) |
| UPDT_APPLCTX | DOUBLE | N | The application context number from the record info block. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_CNT | DOUBLE | N | Set to 0 on insert. Incremented by 1 on update. Used to recognize update conflict where data in a row updated by one application is at risk of being lost by a second application attempting to update the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_DT_TM | DATETIME | N | The date and time the row was last inserted or updated. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_ID | DOUBLE | N | The person_id of the person from the personnel table (prsnl) that caused the last insert or update of the row in the table. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
| UPDT_TASK | DOUBLE | N | The registered (assigned) task number for the process that inserted or updated the row. The UPDT family of columns are typically used for housekeeping and external system process and should never be depended on for solution specific logic. |
Relationship Detail - CDI_WORK_ITEM_ACTION
| Child Column in CDI_WORK_ITEM_ACTION(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | CDI_WORK_ITEM_ID | CDI_WORK_ITEM | CDI_WORK_ITEM_ID |
| LONG_TEXT_ID | LONG_TEXT | LONG_TEXT_ID | |
| OUTPUTCTX_HANDLE_ID | OUTPUTCTX | HANDLE_ID | |
| ACTION_PRSNL_ID | PRSNL | PERSON_ID |