Table Detail Report

DRR_PLAN



Column Section Top of Page


Table-level Detail

Description: DRR_PLAN
Definition: Reference table to store high level planned actions for DRR process.
Table Type: REFERENCE





Column Detail - DRR_PLAN


Column Name Type Null? Definition
DRR_PLAN_ID DOUBLE N PRIMARY KEY.
DRR_PLAN_URN VARCHAR(200) N globally unique identifier to allow for easy updating for tasks e.g. urn:cerner:drr:restrict:ext:srvdir:
PROCESS_NAME VARCHAR(50) N e.g. RESTRICT DELETE_RESTRICT UNRESTRICT DELETE. use code_set
TASK VARCHAR(50) N Type of call : core proc, external script, external service, etc
TASK_DETAIL VARCHAR(2000) N Detail information about the task: script name, transaction id, etc.
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.


DRR_PROCESS_PLAN



Column Section Relationship Section Top of Page


Table-level Detail

Description: DRR_PROCESS_PLAN
Definition: Activity table to store DRR planned action of selected persons.
Table Type: ACTIVITY





Column Detail - DRR_PROCESS_PLAN


Column Name Type Null? Definition
DRR_PROCESS_PLAN_ID DOUBLE N primary key use sequence DRR_SEQ.
DRR_PROCESS_QUEUE_ID DOUBLE N FK to drr_process_queue.
PERSON_ID DOUBLE N person_id to run the process for.
PRIMARY_PERSON_ID DOUBLE Y non-combined-way person_id in case the person_id was added for a combine tree.
RELATED_ID_REASON VARCHAR(100) Y reason related id is included for this action (e.g. combine, free text person. Etc)
RETRY_COUNT DOUBLE Y number of retries
STATUS VARCHAR(50) Y like QUEUED/IN PROCESS/ERROR/DELETE use code_set
STATUS_DETAILS VARCHAR(2000) Y details of latest error; error messages might be in log tables
STATUS_DT_TM DATETIME Y date when the status change occurred
TASK VARCHAR(50) N Type of call to make core proc, external script, external service, etc
TASK_DETAIL VARCHAR(2000) N Detail information about the task: script name, transaction id, etc
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 - DRR_PROCESS_PLAN


Child Column in DRR_PROCESS_PLAN(FK) Parent Table Name Parent Column Name
Parents: DRR_PROCESS_QUEUE_ID DRR_PROCESS_QUEUE DRR_PROCESS_QUEUE_ID


DRR_PROCESS_PLAN_HIST



Column Section Top of Page


Table-level Detail

Description: DRR_PROCESS_PLAN_HIST
Definition: Activity table to store history DRR planned action of selected persons.
Table Type: ACTIVITY





Column Detail - DRR_PROCESS_PLAN_HIST


Column Name Type Null? Definition
CATEGORY DOUBLE N order in which the process should run; multiple steps run in group in parallel
DRR_PROCESS_PLAN_HIST_ID DOUBLE N primary key use sequence DRR_SEQ.
DRR_PROCESS_PLAN_ID DOUBLE N FK to drr_process_plan.
DRR_PROCESS_QUEUE_ID DOUBLE N FK to drr_process_queue.
PERSON_ID DOUBLE N person_id to run the process for.
PRIMARY_PERSON_ID DOUBLE Y root person_id in case the person_id was added for a combine tree.
RELATED_ID_REASON VARCHAR(100) Y reason related id is included for this action (e.g. combine, free text person. Etc)
RETRY_COUNT DOUBLE Y number of retries
STATUS VARCHAR(50) Y like QUEUED/IN PROCESS/ERROR/DELETE use code_set
STATUS_DETAILS VARCHAR(4000) Y details of latest error; error messages might be in log tables
STATUS_DT_TM DATETIME Y date when the status change occurred
TASK VARCHAR(50) N Type of call to make core proc, external script, external service, etc
TASK_DETAIL VARCHAR(2000) N Detail information about the task: script name, transaction id, etc.
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.


DRR_PROCESS_QUEUE



Column Section Relationship Section Top of Page


Table-level Detail

Description: DRR_PROCESS_QUEUE
Definition: Queue table to store selected persons to be processed by DRR. Activity table.
Table Type: ACTIVITY





Column Detail - DRR_PROCESS_QUEUE


Column Name Type Null? Definition
CREATE_DT_TM DATETIME Y original time the row was inserted
DRR_PROCESS_QUEUE_ID DOUBLE N primary key use sequence DRR_SEQ.
DRR_SERVICE_IDENT DOUBLE N used by the drr queue service to -reserve- items to work on
NEXT_RETRY_TS DATETIME(6) Y Next time retry will be attempted
PERSON_ID DOUBLE N person to restrict/delete/etc.
PROCESS_NAME VARCHAR(50) N e.g. RESTRICT DELETE_RESTRICT UNRESTRICT DELETE. use code_set
REASON VARCHAR(50) Y comment made by data controller
REASON_PRSNL_ID DOUBLE Y person/data controller which put person on the queue.
STATUS VARCHAR(50) Y like QUEUED/IN PROCESS/ERROR/DELETE use code_set
STATUS_DETAILS VARCHAR(4000) Y details of latest error; error messages might be in log tables
STATUS_DT_TM DATETIME Y date when the status change occurred
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 - DRR_PROCESS_QUEUE




Parent Column in DRR_PROCESS_QUEUE (PK) Child Table Name Child Column Name
Children: DRR_PROCESS_QUEUE_ID DRR_PROCESS_PLAN DRR_PROCESS_QUEUE_ID


DRR_PROCESS_QUEUE_HIST



Column Section Top of Page


Table-level Detail

Description: DRR_PROCESS_QUEUE_HIST
Definition: History table to store all transactions for selected persons on the DRR_PROCESS_QUEUE table. Activity table.
Table Type: ACTIVITY





Column Detail - DRR_PROCESS_QUEUE_HIST


Column Name Type Null? Definition
CREATE_DT_TM DATETIME Y original time the row was inserted
DRR_PROCESS_QUEUE_HIST_ID DOUBLE N primary key use sequence DRR_SEQ.
DRR_PROCESS_QUEUE_ID DOUBLE N FK to drr_process_queue.
DRR_SERVICE_IDENT DOUBLE N used by the drr queue service to -reserve- items to work on
PERSON_ID DOUBLE N person to restrict/delete/etc.
PROCESS_NAME VARCHAR(50) N e.g. RESTRICT DELETE_RESTRICT UNRESTRICT DELETE. use code_set
REASON VARCHAR(50) Y comment made by data controller
REASON_PRSNL_ID DOUBLE Y person/data controller which put person on the queue.
STATUS VARCHAR(50) Y like QUEUED/IN PROCESS/ERROR/DELETE use code_set
STATUS_DETAILS VARCHAR(4000) Y details of latest error; error messages might be in log tables
STATUS_DT_TM DATETIME Y date when the status change occurred
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.