Table Detail Report

MIC_SCRIPT



Column Section Relationship Section Top of Page


Table-level Detail

Description: Microbiology Scripted Workup
Definition: This reference table contains a single record for every Microbiology 'organism scripted work-up' (Script).
Table Type: REFERENCE





Column Detail - MIC_SCRIPT


Column Name Type Null? Definition
EXCLUDE_TECH_IND NUMBER Y This indicator field is used to determine whether Microbiology techs defined on the MIC_SCRIPT_TECH table can run the script or not. A value of 1 indicates that techs on the MIC_SCRIPT_TECH table can NOT run the script.
SCRIPT_ID NUMBER N This field contains the internal identification code that uniquely identifies the 'organism scripted work-up' and its associated parameters. This value is used to join to the MIC_SCRIPT_* tables.
SCRIPT_NAME VC2(40) N This field contains a unique name for a script.
UPDT_APPLCTX NUMBER N The application context number from the record info block.
UPDT_CNT NUMBER 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 DATE N The date and time the row was last inserted or updated.
UPDT_ID NUMBER 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 NUMBER N The registered (assigned) task number for the process that inserted or updated the row.



Relationship Detail - MIC_SCRIPT




Parent Column in MIC_SCRIPT (PK) Child Table Name Child Column Name
Children: SCRIPT_ID MIC_SCRIPT_CRITERIA SCRIPT_ID
MIC_SCRIPT_NODE SCRIPT_ID
MIC_SCRIPT_TECH SCRIPT_ID


MIC_SCRIPT_CRITERIA



Column Section Relationship Section Top of Page


Table-level Detail

Description: Microbiology Script Criteria
Definition: This reference table contains the criteria that an associated script is assigned to.
Table Type: REFERENCE





Column Detail - MIC_SCRIPT_CRITERIA


Column Name Type Null? Definition
BODY_SITE_CD NUMBER N This field contains the internal identification code of the 'body site' to which the MIC_SCRIPT is assigned.
CATALOG_CD NUMBER N This field contains the internal identification code of the orderable procedure to which the MIC_SCRIPT is assigned. This could be used to join to the ORDER_CATALOG table.
ORGANISM_CD NUMBER N This field contains the internal identification code of the 'organism' to which the MIC_SCRIPT is assigned.
ORGANISM_QUANTITY_CD NUMBER N This field contains the internal identification code of the 'organism quantity' to which the MIC_SCRIPT is assigned.
PATIENT_LOCATION_CD NUMBER N This field contains the internal identification code of the patient location to which the MIC_SCRIPT is assigned. This could be used to join to the LOCATION table.
SCRIPT_ID NUMBER N This field contains the foreign key value used to join to the parent MIC_SCRIPT table.
SERVICE_RESOURCE_CD NUMBER N This field contains the internal identification code of the service resource to which the MIC_SCRIPT is assigned. This could be used to join to the SERVICE_RESOURCE table.
SOURCE_CD NUMBER N This field contains the internal identification code of the 'source' to which the MIC_SCRIPT is assigned.
UPDT_APPLCTX NUMBER N The application context number from the record info block.
UPDT_CNT NUMBER 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 DATE N The date and time the row was last inserted or updated.
UPDT_ID NUMBER 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 NUMBER N The registered (assigned) task number for the process that inserted or updated the row.



Relationship Detail - MIC_SCRIPT_CRITERIA


Child Column in MIC_SCRIPT_CRITERIA(FK) Parent Table Name Parent Column Name
Parents: SCRIPT_ID MIC_SCRIPT SCRIPT_ID


MIC_SCRIPT_NODE



Column Section Relationship Section Top of Page


Table-level Detail

Description: Microbiology Script Node
Definition: This reference table contains biochemical tasks and their relationships to other biochemical tasks in order to defined pathways for a script.
Table Type: REFERENCE





Column Detail - MIC_SCRIPT_NODE


Column Name Type Null? Definition
BIOCHEMICAL_TASK_CD NUMBER N This field contains the internal identification code of the biochemical task, both group and detail biochemicals are valid. A biochemical task can only exist once within a pathway of a script.
NODE_ID NUMBER N This field contains the internal identification code that uniquely identifies the 'biochemical step' and its associated parameters. This value is used to join to the MIC_SCRIPT_NODE_* tables.
PARENT_NODE_ID NUMBER N This field contains the reference to the parent MIC_SCRIPT_NODE row. This field defines relationships to biochemical nodes within a script pathway.
SCRIPT_ID NUMBER N This field contains the foreign key value used to join to the parent MIC_SCRIPT table.
UPDT_APPLCTX NUMBER N The application context number from the record info block.
UPDT_CNT NUMBER 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 DATE N The date and time the row was last inserted or updated.
UPDT_ID NUMBER 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 NUMBER N The registered (assigned) task number for the process that inserted or updated the row.



Relationship Detail - MIC_SCRIPT_NODE


Child Column in MIC_SCRIPT_NODE(FK) Parent Table Name Parent Column Name
Parents: SCRIPT_ID MIC_SCRIPT SCRIPT_ID
PARENT_NODE_ID MIC_SCRIPT_NODE NODE_ID




Parent Column in MIC_SCRIPT_NODE (PK) Child Table Name Child Column Name
Children: NODE_ID MIC_SCRIPT_NODE PARENT_NODE_ID
MIC_SCRIPT_NODE_ACTION NODE_ID
MIC_SCRIPT_NODE_RESULT NODE_ID


MIC_SCRIPT_NODE_ACTION



Column Section Relationship Section Top of Page


Table-level Detail

Description: Microbiology Script Node Action
Definition: This reference table contains actions that will be taken when the defined results are entered for the parent biochemical (MIC_SCRIPT_NODE).
Table Type: REFERENCE





Column Detail - MIC_SCRIPT_NODE_ACTION


Column Name Type Null? Definition
ACTION_ID NUMBER N This field contains the internal identification code that uniquely identifies the 'biochemical node action'.
ACTION_TYPE_FLAG NUMBER N This field is used to identify the type of action. Valid actions include: ordering microbiology task, displaying a message box, and adding a free-text comment.
DISPLAY_ORDER NUMBER N This field is used to determine the order in which the actions are taken.
LONG_TEXT_ID NUMBER N This field contains the internal identification code to the LONG_TEXT row, which contains a textual value for a message box and free-text comment action.
NODE_ID NUMBER N This field contains the internal identification code to the parent MIC_SCRIPT_NODE row.
TASK_CD NUMBER N This field contains the internal identification code to a microbiology task. Valid 'action' tasks include: susceptibilities, reports, automated identifications, and organism name changes.
UPDT_APPLCTX NUMBER N The application context number from the record info block.
UPDT_CNT NUMBER 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 DATE N The date and time the row was last inserted or updated.
UPDT_ID NUMBER 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 NUMBER N The registered (assigned) task number for the process that inserted or updated the row.



Relationship Detail - MIC_SCRIPT_NODE_ACTION


Child Column in MIC_SCRIPT_NODE_ACTION(FK) Parent Table Name Parent Column Name
Parents: LONG_TEXT_ID LONG_TEXT LONG_TEXT_ID
NODE_ID MIC_SCRIPT_NODE NODE_ID


MIC_SCRIPT_NODE_RESULT



Column Section Relationship Section Top of Page


Table-level Detail

Description: Microbiology Script Node Result
Definition: This reference table contains the biochemical result values for the parent biochemical (MIC_SCRIPT_NODE) which will cause associated 'actions' to be taken as well as ordering the next biochemical within a pathway.
Table Type: REFERENCE





Column Detail - MIC_SCRIPT_NODE_RESULT


Column Name Type Null? Definition
DETAIL_BIOCHEMICAL_CD NUMBER N This field contains the internal identification code of a detail biochemical task. If the biochemical_task_cd on the parent MIC_SCRIPT_NODE table is a group biochemical then this is a detail of that group, otherwise this is the same value as on the MIC_SCRIPT_NODE table.
NODE_ID NUMBER N This field contains the internal identification code to the parent MIC_SCRIPT_NODE row.
RESULT_CD NUMBER N This field contains the internal identification code for a biochemical result.
UPDT_APPLCTX NUMBER N The application context number from the record info block.
UPDT_CNT NUMBER 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 DATE N The date and time the row was last inserted or updated.
UPDT_ID NUMBER 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 NUMBER N The registered (assigned) task number for the process that inserted or updated the row.



Relationship Detail - MIC_SCRIPT_NODE_RESULT


Child Column in MIC_SCRIPT_NODE_RESULT(FK) Parent Table Name Parent Column Name
Parents: NODE_ID MIC_SCRIPT_NODE NODE_ID