Table Detail Report
ORDER_SCHEDULE_EXCEPTION
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Order Schedule Exception |
| Definition: | This table will contain exceptions to the order schedule. For example, when a user moves or skips an administration, it will be recorded on this table) |
| Table Type: | ACTIVITY |
Column Detail - ORDER_SCHEDULE_EXCEPTION
| Column Name | Type | Null? | Definition |
|---|---|---|---|
| INACTIVE_ORDER_ACTION_SEQUENCE | DOUBLE | N | The action sequence on the order_action table when this exception was inactivated. |
| NEW_INSTANCE_DT_TM | DATETIME | Y | The new scheduled administration date/time created by the schedule exception . This field will be blank if an administration has been skipped. |
| NEW_INSTANCE_TZ | DOUBLE | Y | Time zone of the new scheduled administration date/time created by the schedule exception. |
| ORDER_ACTION_SEQUENCE | DOUBLE | N | Action_sequence on the order_action table that the schedule exception is affecting. |
| ORDER_ID | DOUBLE | N | The order to which the schedule exception is associated. |
| ORDER_SCHEDULE_EXCEPTION_ID | DOUBLE | N | The primary key for this order schedule exception table. |
| ORIG_INSTANCE_DT_TM | DATETIME | Y | The original scheduled administration date/time of the instance to which the exception is associated. |
| ORIG_INSTANCE_TZ | DOUBLE | Y | Time zone of the original scheduled administration date/time of the instance to which the exception is associated. |
| SCHEDULE_EXCEPTION_TYPE_CD | DOUBLE | N | The type of schedule exception. |
| 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_SCHEDULE_EXCEPTION
| Child Column in ORDER_SCHEDULE_EXCEPTION(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | ORDER_ID | ORDERS | ORDER_ID |
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 |