Table Detail Report
ENCNTR_CLASSIFICTN_HIST
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Encounter Classification History |
| Definition: | Used for tracking history changes to ENCNTR_CLASSIFICATION rows |
| Table Type: | ACTIVITY |
Column Detail - ENCNTR_CLASSIFICTN_HIST
| 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. |
| 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 | N | 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. |
| CHANGE_BIT | DOUBLE | N | Identifies which columns have had a change. |
| CLASSIFICATION1_CD | DOUBLE | N | Indicates a categorization of patients having a set of shared qualities or characteristics. |
| CLASSIFICATION2_CD | DOUBLE | N | Indicates a categorization of patients having a set of shared qualities or characteristics. This code set may be configured via code value grouping to be hierarchically below patient classification 1 if desired by the client. |
| CLASSIFICATION3_CD | DOUBLE | N | Indicates a categorization of patients having a set of shared qualities or characteristics. This code set may be configured via code value grouping to be hierarchically below patient classification 2 if desired by the client |
| CLASSIFICATION4_CD | DOUBLE | N | Indicates a categorization of patients having a set of shared qualities or characteristics. This code set may be configured via code value grouping to be hierarchically below patient classification 3 if desired by the client |
| ENCNTR_CLASSIFICATION_ID | DOUBLE | N | This is the value of the unique primary identifier of the encounter table. It is an internal system assigned number. |
| ENCNTR_CLASSIFICTN_HIST_ID | DOUBLE | N | Unique generated number that identifies a single row on the ENCNTR_CLASSIFICTN_HIST table. |
| PM_HIST_TRACKING_ID | DOUBLE | N | This is the value of the unique primary identifier of the pm_hist_tracking table. It is an internal system assigned number. |
| TRACKING_BIT | DOUBLE | N | Identifies which columns are being tracked for history. |
| 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_CLASSIFICTN_HIST
| Child Column in ENCNTR_CLASSIFICTN_HIST(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | ENCNTR_CLASSIFICATION_ID | ENCNTR_CLASSIFICATION | ENCNTR_CLASSIFICATION_ID |
| PM_HIST_TRACKING_ID | PM_HIST_TRACKING | PM_HIST_TRACKING_ID |
ENCNTR_CODE_VALUE_R
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | ENCNTR CODE VALUE R |
| Definition: | Holds multiple select code values on the encounter level. |
| Table Type: | ACTIVITY |
Column Detail - ENCNTR_CODE_VALUE_R
| 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. |
| 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 | N | 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. |
| BEG_EFFECTIVE_DT_TM | DATETIME | N | The date and time for which this table row becomes effective. Normally, this will be the date and time the row is added, but could be a past or future date and time. |
| CODE_SET | DOUBLE | N | This is a code set that can have multiple code values for one encounter. |
| CODE_VALUE | DOUBLE | N | This is the code value for certain code sets that allow for multiple selects. |
| 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_CODE_VALUE_R_ID | DOUBLE | N | Unique identifier for the encntr_code_value_r table. |
| ENCNTR_ID | DOUBLE | N | This is the value of the unique primary identifier of the encounter table. It is an internal system assigned number. |
| END_EFFECTIVE_DT_TM | DATETIME | N | The date/time after which the row is no longer valid as active current data. This may be valued with the date that the row became inactive. |
| 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_CODE_VALUE_R
| Child Column in ENCNTR_CODE_VALUE_R(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | ENCNTR_ID | ENCOUNTER | ENCNTR_ID |
ENCNTR_CODE_VALUE_R_HIST
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | Encounter Code Value Relationship History |
| Definition: | Holds the multiple select code values on the encounter level. |
| Table Type: | ACTIVITY |
Column Detail - ENCNTR_CODE_VALUE_R_HIST
| 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. |
| 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 | N | 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. |
| BEG_EFFECTIVE_DT_TM | DATETIME | Y | The date and time for which this table row becomes effective. Normally, this will be the date and time the row is added, but could be a past or future date and time. |
| CODE_SET | DOUBLE | N | This is a code set that can have multiple values for one encounter. |
| CODE_VALUE | DOUBLE | N | This is the code value for certain code sets that allow multiple selects. |
| 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_CODE_VALUE_R_HIST_ID | DOUBLE | N | The unique primary key of this table. It is internally generated. |
| ENCNTR_CODE_VALUE_R_ID | DOUBLE | N | This is the value of the unique identifier of the encntr_code_value_r table. |
| ENCNTR_ID | DOUBLE | N | This is the value of the unique primary identifier of the encounter table that the code values are related to. |
| END_EFFECTIVE_DT_TM | DATETIME | Y | The date/time after which the row is no longer valid as active current data. This may be valued with the date that the row became inactive. |
| PM_HIST_TRACKING_ID | DOUBLE | N | This is the value of the unique primary identifier of the pm_hist_tracking table. It is an internal system assigned number. |
| TRANSACTION_DT_TM | DATETIME | Y | ** OBSOLETE **. Use column updt_dt_tm for any filtering/ordering query. If transaction date time is needed, it should be retrieved from pm_hist_tracking table. Note that its date may be in the past, as in before the update date time. |
| 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_CODE_VALUE_R_HIST
| Child Column in ENCNTR_CODE_VALUE_R_HIST(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | ENCNTR_ID | ENCOUNTER | ENCNTR_ID |
| PM_HIST_TRACKING_ID | PM_HIST_TRACKING | PM_HIST_TRACKING_ID |
ENCNTR_CONDITION_CODE
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | ENCNTR CONDITION CODE |
| Definition: | Encounter condition code (UB92). |
| Table Type: | ACTIVITY |
Column Detail - ENCNTR_CONDITION_CODE
| 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. |
| 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. |
| BEG_EFFECTIVE_DT_TM | DATETIME | N | The date and time for which this table row becomes effective. Normally, this will be the date and time the row is added, but could be a past or future date and time. |
| CONDITION_CD | DOUBLE | N | A UB92 condition code (Universal Billing). |
| CONDITION_CODE_ID | DOUBLE | N | This is the value of the unique primary identifier of the encounter condition code table. It is an internal system assigned number. |
| CONTRIBUTOR_SYSTEM_CD | DOUBLE | Y | 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. |
| DATA_STATUS_CD | DOUBLE | N | Data status indicates a level of authenticity of the row data. Typically this will either be AUTHENTICATED or UNAUTHENTICATED. |
| DATA_STATUS_DT_TM | DATETIME | Y | The date and time that the data_status_cd was set. |
| DATA_STATUS_PRSNL_ID | DOUBLE | N | The person who caused the data_status_cd to be set or change. |
| ENCNTR_ID | DOUBLE | N | This is the value of the unique primary identifier of the encounter table. It is an internal system assigned number. |
| END_EFFECTIVE_DT_TM | DATETIME | N | The date/time after which the row is no longer valid as active current data. This may be valued with the date that the row became inactive. |
| SEQUENCE | DOUBLE | Y | **OBSOLETE** NOT USED AT THIS TIME. Placeholder for sequential order of the condition codes. **OBSOLETE** |
| 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_CONDITION_CODE
| Child Column in ENCNTR_CONDITION_CODE(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | ENCNTR_ID | ENCOUNTER | ENCNTR_ID |
| Parent Column in ENCNTR_CONDITION_CODE (PK) | Child Table Name | Child Column Name | |
|---|---|---|---|
| Children: | CONDITION_CODE_ID | ENCNTR_CNDTN_CODE_HIST | CONDITION_CODE_ID |
ENCNTR_CRIMINAL_CHARGES_R
| Column Section | Relationship Section | Top of Page |
Table-level Detail
| Description: | ENCNTR CRIMINAL CHARGES R |
| Definition: | This table will hold outstanding criminal charges for an encounter. |
| Table Type: | ACTIVITY |
Column Detail - ENCNTR_CRIMINAL_CHARGES_R
| 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. |
| 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 | N | 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. |
| COURT_DT_TM | DATETIME | Y | The court date and time. |
| COURT_FILE_NUM | VARCHAR(40) | Y | The court file number. |
| COURT_LOCATION_CD | DOUBLE | N | The location at which the court proceedings took place. |
| CRIMINAL_CHRG_INACTIVE_IND | DOUBLE | Y | Indicates whether the legal status has been inactivated by the user. |
| ENCNTR_ID | DOUBLE | N | This is the value of the unique primary identifier of the encounter table. It is an internal system assigned number. |
| OUTSTANDING_CHARGES_R_ID | DOUBLE | N | The unique identifier for the encntr_criminal_charges_r table. |
| OUTSTANDING_CHARGE_CD | DOUBLE | N | Facility defined code value representing the outstanding charge for an encounter. |
| 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_CRIMINAL_CHARGES_R
| Child Column in ENCNTR_CRIMINAL_CHARGES_R(FK) | Parent Table Name | Parent Column Name | |
|---|---|---|---|
| Parents: | ENCNTR_ID | ENCOUNTER | ENCNTR_ID |
| Parent Column in ENCNTR_CRIMINAL_CHARGES_R (PK) | Child Table Name | Child Column Name | |
|---|---|---|---|
| Children: | OUTSTANDING_CHARGES_R_ID | CRIMINAL_CHARGES_DISP_R | OUTSTANDING_CHARGES_R_ID |