Table Detail Report

DM_COMBINE_QUEUE



Column Section Relationship Section Top of Page


Table-level Detail

Description: DM COMBINE QUEUE
Definition: Queue for performing combines in batch mode.
Table Type: ACTIVITY





Column Detail - DM_COMBINE_QUEUE


Column Name Type Null? Definition
BATCH_ERR_MSG VARCHAR(100) Y Error message
COMBINED_FLAG DOUBLE Y Shows status of combine. 0-not attempted, 1-successful, 2-attempted but not successful, 4-marked as "do combine"
CREATE_DT_TM DATETIME Y Date and time the row was created.
ENCNTR_ID DOUBLE N This is the value of the unique primary identifier of the encounter table. It is an internal system assigned number.
FROM_ID DOUBLE N Value of the id for the from person/encounter of the combine.
PARENT_TABLE VARCHAR(30) N Parent table of the combine (person or encounter).
QUEUE_ID DOUBLE N Primary key of the table - a sequence generated number.
TO_ID DOUBLE N Value of the id for the to person/encounter of the combine.
UPDT_DT_TM DATETIME N The date and time the row was last inserted or updated.



Relationship Detail - DM_COMBINE_QUEUE


Child Column in DM_COMBINE_QUEUE(FK) Parent Table Name Parent Column Name
Parents: ENCNTR_ID ENCOUNTER ENCNTR_ID


DM_COMBINE_REVIEW



Column Section Top of Page


Table-level Detail

Description: Stores additional information about combines.
Definition: Stores additional information about combines, such as if a combine detail row was added when combine ran in "REVIEW" mode.
Table Type: ACTIVITY





Column Detail - DM_COMBINE_REVIEW


Column Name Type Null? Definition
PARENT_ENTITY_ID DOUBLE N The value of the primary key of the parent entity this row is related to.
PARENT_ENTITY_NAME VARCHAR(30) N Name of the parent table for this row.
REVIEW_FLAG DOUBLE Y Reason the row is in dm_combine_review.


ENCNTR_COMBINE



Column Section Relationship Section Top of Page


Table-level Detail

Description: Encounter Combine
Definition: The encounter combine table contains the audit trail for all encounters that were either automatically or manually combined as a result of determining that two rows in the encounter table represent the same encounter.
Table Type: ACTIVITY





Column Detail - ENCNTR_COMBINE


Column Name Type Null? Definition
ACTIVE_IND DOUBLE Y 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.
ACTIVE_STATUS_CD DOUBLE N Indicates the status of the row itself (not the data in the row) such as active, inactive, combined away, pending purge, etc.
ACTIVE_STATUS_DT_TM DATETIME Y The date and time that the active_status_cd was set.
ACTIVE_STATUS_PRSNL_ID DOUBLE N The person who caused the active_status_cd to be set or change.
APPLICATION_FLAG DOUBLE Y Tells which type of application sends the transaction.
CMB_DT_TM DATETIME Y `Date when combine finished
CMB_UPDT_ID DOUBLE Y Person who performed the combine
COMBINE_ACTION_CD DOUBLE N Action that was taken on the 'from' encounter record during the combine.
CONTRIBUTOR_SYSTEM_CD DOUBLE N Contributor system identifies the source feed of data from which a row was populated. This is mainly used to determine how to update a set of data that may have originated from more than one source feed.
ENCNTR_COMBINE_ID DOUBLE N This is the value of the unique primary identifier of the encounter combine table. It is an internal system assigned number.
FROM_ENCNTR_ID DOUBLE N This is the value of the unique primary identifier from the encounter table of the FROM encounter that was combined. It is an internal system assigned number.
PREV_ACTIVE_IND DOUBLE Y Reference Data Domain Sync (RDDS) use for determining historical occurrences.
PREV_ACTIVE_STATUS_CD DOUBLE N The value of the active_status_cd prior to the row being combined. Indicates the status of the row itself (not the data in the row) such as active, inactive, combined away, pending purge, etc.
PREV_CONFID_LEVEL_CD DOUBLE N The value of the conf_level_cd prior to the row being combined. Confidential level identifies a level of security that may restrict access or release of information.
TO_ENCNTR_ID DOUBLE N This is the value of the unique primary identifier from the encounter table of the TO encounter that was combined. It is an internal system assigned number.
TRANSACTION_TYPE VARCHAR(8) Y The type of transaction that triggers the combine. For ESI transactions, the transaction_type will be the MSH event, e.g., A01, A02, ... For Combine Tool transactions, the transaction_type will be blank.
UCB_DT_TM DATETIME Y Date when uncombine finished
UCB_UPDT_ID DOUBLE Y Person who performed the uncombine
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 - ENCNTR_COMBINE


Child Column in ENCNTR_COMBINE(FK) Parent Table Name Parent Column Name
Parents: FROM_ENCNTR_ID ENCOUNTER ENCNTR_ID
TO_ENCNTR_ID ENCOUNTER ENCNTR_ID




Parent Column in ENCNTR_COMBINE (PK) Child Table Name Child Column Name
Children: ENCNTR_COMBINE_ID ENCNTR_COMBINE_DET ENCNTR_COMBINE_ID


ENCNTR_COMBINE_DET



Column Section Relationship Section Top of Page


Table-level Detail

Description: Encounter Combine Detail
Definition: The encounter combine detail table contains an audit trail for every row in every table where the encounter_id was changed to a new encounter_id as a result of combining two rows in the encounter table.
Table Type: ACTIVITY





Column Detail - ENCNTR_COMBINE_DET


Column Name Type Null? Definition
ACTIVE_IND DOUBLE Y 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.
ACTIVE_STATUS_CD DOUBLE N Indicates the status of the row itself (not the data in the row) such as active, inactive, combined away, pending purge, etc.
ACTIVE_STATUS_DT_TM DATETIME Y The date and time that the active_status_cd was set.
ACTIVE_STATUS_PRSNL_ID DOUBLE N The person who caused the active_status_cd to be set or change.
ATTRIBUTE_NAME VARCHAR(32) Y Name of the attribute on the child table that is related to encounter.encntr_id.
COMBINE_ACTION_CD DOUBLE N The action that was taken on the child row during the combine, e.g. add, update, etc.
COMBINE_DESC_CD DOUBLE N Further describes what happened during a combine.
ENCNTR_COMBINE_DET_ID DOUBLE N This is the value of the unique primary identifier of the encounter combine detail table. It is an internal system assigned number.
ENCNTR_COMBINE_ID DOUBLE N This is the value of the unique primary identifier of the encounter combine table. It is an internal system assigned number.
ENTITY_ID DOUBLE N The value of the primary identifier of the row in the table, identified in the entity_name field, that was combined. For example, if an encntr_alias row was combined, the value here would be the value of the row's encntr_alias_id.
ENTITY_NAME VARCHAR(32) N The upper case name of the table to which this address row is related (e.g., ENCNTR_ALIAS, ENCNTR_ACCIDENT, etc.)
PREV_ACTIVE_IND DOUBLE Y Reference Data Domain Sync (RDDS) use for determining historical occurrences.
PREV_ACTIVE_STATUS_CD DOUBLE N The value of the active_status_cd prior to the row being combined. Indicates the status of the row itself (not the data in the row) such as active, inactive, combined away, pending purge, etc.
PREV_END_EFF_DT_TM DATETIME Y If a row is made 'not effective' during a combine, the value of its end_effective_dt_tm column before combine is stored here.
TO_RECORD_IND DOUBLE Y If set to 1, this record was originally a child of the to parent record.
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 - ENCNTR_COMBINE_DET


Child Column in ENCNTR_COMBINE_DET(FK) Parent Table Name Parent Column Name
Parents: ENCNTR_COMBINE_ID ENCNTR_COMBINE ENCNTR_COMBINE_ID


ENTITY_DETAIL



Column Section Top of Page


Table-level Detail

Description: Entity Detail
Definition: Contains the primary key attributes information of all the child entities rows that were combined.
Table Type: ACTIVITY





Column Detail - ENTITY_DETAIL


Column Name Type Null? Definition
COLUMN_NAME VARCHAR(30) N Contains the primary key attribute name.
DATA_CHAR VARCHAR(100) Y Contains the value of the character data type primary key attribute stored in COLUMN_NAME.
DATA_DATE DATETIME Y Contains the value of the date data type primary key attribute stored in COLUMN_NAME.
DATA_NUMBER DOUBLE Y Contains the value of the number or float data type primary key attribute stored in COLUMN_NAME.
DATA_TYPE VARCHAR(30) N The data type of the primary key attribute stored in COLUMN_NAME.
ENTITY_ID DOUBLE N This is the value of entity_id of COMBINE_DETAIL table. It is an internal system assigned number.