Table Detail Report

ORDER_STAGING_ERX_INFO



Column Section Relationship Section Top of Page


Table-level Detail

Description: Order Staging eRx Information
Definition: Information for electronically prescribed staged orders.
Table Type: ACTIVITY





Column Detail - ORDER_STAGING_ERX_INFO


Column Name Type Null? Definition
EXTERNAL_CHAIN VARCHAR(500) Y An ExternalChain is an external id used to identify all; orders in one order chain. An order chain is a set; of orders that are linked together in chronological order. An; order chain is used when an order is renewed or replaced.; The purpose is to be able provide a grouping of related orders.
ORDER_STAGING_ERX_INFO_ID DOUBLE N Unique generated number that identifies a single row on the ORDER_STAGING_ERX_INFO table.
ORDER_STAGING_ID DOUBLE Y The associated order_staging_id from the Order_Staging table.
UPDT_APPLCTX DOUBLE Y 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 Y 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 Y 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 Y 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 - ORDER_STAGING_ERX_INFO


Child Column in ORDER_STAGING_ERX_INFO(FK) Parent Table Name Parent Column Name
Parents: ORDER_STAGING_ID ORDER_STAGING ORDER_STAGING_ID


ORDER_STAGING_EXT_IDENT



Column Section Relationship Section Top of Page


Table-level Detail

Description: Order Staging External Identifier
Definition: External identifiers of staged orders
Table Type: ACTIVITY





Column Detail - ORDER_STAGING_EXT_IDENT


Column Name Type Null? Definition
EXTERNAL_IDENT VARCHAR(255) Y identifier of the External resource.
EXTERNAL_RESOURCE_VERSION_TXT VARCHAR(4000) Y The latest known version of the external resource
EXTERNAL_URL VARCHAR(4000) Y The URL for the external resource that populated the row.
ORDER_STAGING_EXT_IDENT_ID DOUBLE N Unique generated number that identifies a single row on the ORDER_STAGING_EXT_IDENT table.
ORDER_STAGING_ID DOUBLE Y The associated order_staging_id from the Order_Staging table.
SYSTEM_URI VARCHAR(4000) Y The number or identifier of the external resource that populated the row.
UPDT_APPLCTX DOUBLE Y 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 Y 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 Y 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 Y 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 - ORDER_STAGING_EXT_IDENT


Child Column in ORDER_STAGING_EXT_IDENT(FK) Parent Table Name Parent Column Name
Parents: ORDER_STAGING_ID ORDER_STAGING ORDER_STAGING_ID


ORDER_SUPPLY_LOCATION



Column Section Relationship Section Top of Page


Table-level Detail

Description: ORDER_SUPPLY_LOCATION
Definition: Order Supply location table stores the location information entered during the pharmacy discharge process.
Table Type: ACTIVITY





Column Detail - ORDER_SUPPLY_LOCATION


Column Name Type Null? Definition
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.
ORDER_SUPPLY_LOCATION_ID DOUBLE N Unique generated number that identifies a single row on the ORDER_SUPPLY_LOCATION table.
ORDER_SUPPLY_REVIEW_ID DOUBLE N Id that identifies a row in ORDER_SUPPLY_REVIEW table
PHARMACY_SUPPLY_LOCATION_CD DOUBLE N The location from where order will be supplied.
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 - ORDER_SUPPLY_LOCATION


Child Column in ORDER_SUPPLY_LOCATION(FK) Parent Table Name Parent Column Name
Parents: ORDER_SUPPLY_REVIEW_ID ORDER_SUPPLY_REVIEW ORDER_SUPPLY_REVIEW_ID


ORDER_SUPPLY_REVIEW



Column Section Relationship Section Top of Page


Table-level Detail

Description: ORDER_SUPPLY_REVIEW
Definition: Order Supply Review table stores information entered during pharmacy discharge process.
Table Type: ACTIVITY





Column Detail - ORDER_SUPPLY_REVIEW


Column Name Type Null? Definition
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.
ENCNTR_ID DOUBLE N The ID of the encounter this supply/verify information is related to. If the order is continued onto a second encounter this value could differ from the encounter ID on the Orders table.
LOCATION_EXISTS_IND DOUBLE N An indicator to confirm that location_cd exists in the child table.
LONG_TEXT_ID DOUBLE N The long text id for the long text table
NURSE_REVIEW_IND DOUBLE N An indicator to confirm that nurse review is performed. This column is Obsolete.
ORDER_ID DOUBLE N The id of the order.
ORDER_SUPPLY_REVIEW_ID DOUBLE N Unique generated number that identifies a single row on the ORDER_SUPPLY_REVIEW table.
PHARMACY_REVIEW_IND DOUBLE N An indicator to confirm that pharmacy review is performed.
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 - ORDER_SUPPLY_REVIEW


Child Column in ORDER_SUPPLY_REVIEW(FK) Parent Table Name Parent Column Name
Parents: ENCNTR_ID ENCOUNTER ENCNTR_ID
ORDER_ID ORDERS ORDER_ID




Parent Column in ORDER_SUPPLY_REVIEW (PK) Child Table Name Child Column Name
Children: ORDER_SUPPLY_REVIEW_ID ORDER_SUPPLY_LOCATION ORDER_SUPPLY_REVIEW_ID


ORDER_THERAP_SBSTTN



Column Section Relationship Section Top of Page


Table-level Detail

Description: Order Therapeutic Substitution
Definition: This table stores the therapeutic substitution information for an order at the ingredient level. When a therapeutic substitution rule is accepted, overridden or an alternate regimen applied to an order, a row will be added to this table.
Table Type: ACTIVITY





Column Detail - ORDER_THERAP_SBSTTN


Column Name Type Null? Definition
ACTION_SEQUENCE DOUBLE N A sequence number used to identify the order of the actions.
COMP_SEQUENCE DOUBLE N A system assigned number, identifying the order of the ingredient on which the substitution is applied.
ITEM_ID DOUBLE N The ID that uniquely identifies the pharmacy product for which the therapeutic substitution rule is applied. This field will reference the item_id field on the medication_definition table. This field must be valued if a therapeutic substitution rule at the product level was accepted.
ORDER_ID DOUBLE N The ID of the order associated to this substitution.
ORDER_THERAP_SBSTTN_ID DOUBLE N This is the value of the unique primary identifier of the order_therap_sbsttn table. It is a number internally assigned by the system.
OVERRIDE_REASON_CD DOUBLE N Codified value indicating the reason the therapeutic substitution was overridden. When a therapeutic substitution is accepted or an alternate regimen is applied, this field will be 0. If the therapeutic substitution is overridden, this field must contain the reason code value.
SUBSTITUTION_ACCEPT_FLAG DOUBLE N The flag to indicate whether the therapeutic substitution was accepted or overridden. The possible values are 1 = Accept, 2 = Override and 3 = Alternate Regimen.
THERAP_SBSTTN_ID DOUBLE N The ID of the therapeutic substitution rule applied to the order. This field will be 0 if the substitution rule is overridden. If the substitution rule is accepted or an alternate regimen is applied, this field should contain a unique identifier from the rx_therap_sbsttn 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 - ORDER_THERAP_SBSTTN


Child Column in ORDER_THERAP_SBSTTN(FK) Parent Table Name Parent Column Name
Parents: ITEM_ID MEDICATION_DEFINITION ITEM_ID
ORDER_ID ORDERS ORDER_ID