Table Detail Report

ENCNTR_SLICE_REFERENCE



Column Section Relationship Section Top of Page


Table-level Detail

Description: Encounter Slice Reference
Definition: Relationship of the ENCOUNTER SLICE type and the SCHEDULE FLEX RULE that defines it.
Table Type: REFERENCE





Column Detail - ENCNTR_SLICE_REFERENCE


Column Name Type Null? Definition
ACP_IND DOUBLE N Indicates which slice owns the augmented care periods.
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.
CODING_IND DOUBLE N An indicator for which slice owns the Profile coding.
COMMISSIONING_IND DOUBLE N Indicates which slice owns the EEM Commission.
DATE_RANGE_LOCK_IND DOUBLE N Indicator to determine if the user can modify a slice row before the slice_start_field or after the slice_end_field value. If this is true then we will not let them update the values past that range, if it is false we will just warn them.
ENCNTR_SLICE_REF_ID DOUBLE N Uniquely identifies the relation of the encounterslice type and the schedule flex rule that defines it.
ENCNTR_SLICE_TYPE_CD DOUBLE N Identifies the type of encounter slice.
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.
END_ENCNTR_COLUMN_NAME VARCHAR(30) N Contains the name of the column on the encounter table that contains the end date and time corresponding to the date range in which a slice can be modified.
FROM_ED_IND DOUBLE N Indicates whether this encounter was transferred from the emergency department.
SCH_FLEX_ID DOUBLE N This column relates the encounter slice rule to a specific entry on the sch_flex_string.
START_ENCNTR_COLUMN_NAME VARCHAR(30) N Contains the name of the column on the encounter table that contains the start date and time corresponding to the date range in which a slice can be modified.
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_SLICE_REFERENCE


Child Column in ENCNTR_SLICE_REFERENCE(FK) Parent Table Name Parent Column Name
Parents: SCH_FLEX_ID SCH_FLEX_STRING SCH_FLEX_ID


ENCNTR_SOCIAL_HEALTHCARE



Column Section Relationship Section Top of Page


Table-level Detail

Description: Encounter Social Healthcare
Definition: Records the eligibility status of a person for an entity offering social healthcare at the time of visit.
Table Type: ACTIVITY





Column Detail - ENCNTR_SOCIAL_HEALTHCARE


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.
ADMIN_DISTRICT_CD DOUBLE N The administrative district defines the division within the administrative sub-region where the patient is located for the purpose of defining the responsible entity for financial obligations (CS27164).
ADMIN_REGION_CD DOUBLE N The administrative region defines where the patient is located for the purpose of defining the responsible entity for financial obligations (CS27161).
ADMIN_SUBREGION_CD DOUBLE N The administrative sub-region defines the division within the administrative region where the patient is located for the purpose of defining the responsible entity for financial obligations (CS27163).
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.
CHARGING_CATEGORY_CD DOUBLE N The charging category determines who is responsible for payment of a patient¿s treatment expenses within the social healthcare system. For example, a patient may not be covered as a foreign visitor (self-pay) or may be fully covered due to residency or contract with the patient¿s country of origin (CS 27155).
DEREGISTRATION_DT_ISO VARCHAR(10) Y The deregistration date defines the date the patient was deregistered as a taxable member of the revenue service, revenue agency, or taxation authority.
DEREGISTRATION_REASON_CD DOUBLE N The deregistration reason defines why the patient's social healthcare coverage has ended. For example, the patient may be deceased or may have emigrated out of the country (CS 27165).
ELIGIBILITY_EXPIRE_DT_TM DATETIME Y The date and time the eligibility status will expire.
ELIGIBILITY_STATUS_CD DOUBLE N The eligibility status of the person within the social healthcare system at the time of visit.
ENCNTR_ID DOUBLE N Uniquely identifies the encounter for which the eligibility status applies.
ENCNTR_SOCIAL_HEALTHCARE_ID DOUBLE N Unique generated number that identifies a single row on the ENCNTR_SOCIAL_HEALTHCARE table.
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.
PATIENT_CATEGORY_CD DOUBLE N The patient category defines the status of the patient as it pertains to determining charge codes for treatment of the patient within the social healthcare system. For example, a patient may be an asylum seeker, a tourist, anonymous (e.g. for HIV testing), or an undocumented immigrant (CS 27159).
PAYMENT_CATEGORY_CD DOUBLE N The payment category further defines the status of the patient as it pertains to determining the responsible entity for financial obligations generated from a visit (CS 27160).
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.
VERIFY_DT_TM DATETIME Y The date and time the eligibility status was last verified.
VERIFY_PRSNL_ID DOUBLE N Uniquely identifies the personnel that last verified the eligibility status.
VERIFY_SOURCE_CD DOUBLE N Defines the source by which the eligibility status was last verified.
VERIFY_STATUS_CD DOUBLE N Defines the verification status of the person's eligibility qualifications within the social healthcare system.



Relationship Detail - ENCNTR_SOCIAL_HEALTHCARE


Child Column in ENCNTR_SOCIAL_HEALTHCARE(FK) Parent Table Name Parent Column Name
Parents: ENCNTR_ID ENCOUNTER ENCNTR_ID
VERIFY_PRSNL_ID PRSNL PERSON_ID




Parent Column in ENCNTR_SOCIAL_HEALTHCARE (PK) Child Table Name Child Column Name
Children: ENCNTR_SOCIAL_HEALTHCARE_ID ENCNTR_SOCIAL_HEALTH_HIST ENCNTR_SOCIAL_HEALTHCARE_ID


ENCNTR_SOCIAL_HEALTH_HIST



Column Section Relationship Section Top of Page


Table-level Detail

Description: Encounter Social Health History
Definition: Records the eligibility status of a person for an entity offering social healthcare at the time of visit.
Table Type: ACTIVITY





Column Detail - ENCNTR_SOCIAL_HEALTH_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.
ADMIN_DISTRICT_CD DOUBLE N The administrative district defines the division within the administrative sub-region where the patient is located for the purpose of defining the responsible entity for financial obligations (CS27164).
ADMIN_REGION_CD DOUBLE N The administrative region defines where the patient is located for the purpose of defining the responsible entity for financial obligations (CS27161).
ADMIN_SUBREGION_CD DOUBLE N The administrative sub-region defines the division within the administrative region where the patient is located for the purpose of defining the responsible entity for financial obligations (CS27163).
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.
CHANGE_BIT DOUBLE N Identifies which columns have had a change.
CHARGING_CATEGORY_CD DOUBLE N The charging category determines who is responsible for payment of a patient¿s treatment expenses within the social healthcare system. For example, a patient may not be covered as a foreign visitor (self-pay) or may be fully covered due to residency or contract with the patient's country of origin (CS 27155).
DEREGISTRATION_DT_ISO VARCHAR(10) Y The deregistration date defines the date the patient was deregistered as a taxable member of the revenue service, revenue agency, or taxation authority.
DEREGISTRATION_REASON_CD DOUBLE N The deregistration reason defines why the patient's social healthcare coverage has ended. For example, the patient may be deceased or may have emigrated out of the country (CS 27165).
ELIGIBILITY_EXPIRE_DT_TM DATETIME Y The date and time the eligibility status will expire.
ELIGIBILITY_STATUS_CD DOUBLE N The eligibility status of the person within the social healthcare system at the time of visit.
ENCNTR_SOCIAL_HEALTHCARE_ID DOUBLE N Unique generated number that identifies a single row on the ENCNTR_SOCIAL_HEALTHCARE table.
ENCNTR_SOCIAL_HEALTH_HIST_ID DOUBLE N Uniquely Identifies a row on the ENCNTR_SOCIAL_HEALTH_HIST table.
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.
PATIENT_CATEGORY_CD DOUBLE N The patient category defines the status of the patient as it pertains to determining charge codes for treatment of the patient within the social healthcare system. For example, a patient may be an asylum seeker, a tourist, anonymous (e.g. for HIV testing), or an undocumented immigrant (CS 27159).
PAYMENT_CATEGORY_CD DOUBLE N The payment category further defines the status of the patient as it pertains to determining the responsible entity for financial obligations generated from a visit (CS 27160).
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.
TRANSACTION_DT_TM DATETIME N ** 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.
VERIFY_DT_TM DATETIME Y The date and time the verification took place.
VERIFY_PRSNL_ID DOUBLE N id of the prsnl who last updated the row.
VERIFY_SOURCE_CD DOUBLE N The source by which the row was verified.
VERIFY_STATUS_CD DOUBLE N The status of the verification. Examples are Yes and No.



Relationship Detail - ENCNTR_SOCIAL_HEALTH_HIST


Child Column in ENCNTR_SOCIAL_HEALTH_HIST(FK) Parent Table Name Parent Column Name
Parents: ENCNTR_SOCIAL_HEALTHCARE_ID ENCNTR_SOCIAL_HEALTHCARE ENCNTR_SOCIAL_HEALTHCARE_ID
PM_HIST_TRACKING_ID PM_HIST_TRACKING PM_HIST_TRACKING_ID
VERIFY_PRSNL_ID PRSNL PERSON_ID


ENCNTR_SPAN_CODE



Column Section Relationship Section Top of Page


Table-level Detail

Description: ENCNTR SPAN CODE
Definition: Encounter span code (UB92).
Table Type: ACTIVITY





Column Detail - ENCNTR_SPAN_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.
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 NOT USED AT THIS TIME. Placeholder for sequential order of the condition codes.
SPAN_CD DOUBLE N A UB92 span code (Universal Billing).
SPAN_CODE_ID DOUBLE N This is the value of the unique primary identifier of the encounter span code table. It is an internal system assigned number.
SPAN_FROM_DT_TM DATETIME Y Date and time the UB92 code span begins.
SPAN_TO_DT_TM DATETIME Y Date and time to which the UB92 code spans.
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_SPAN_CODE


Child Column in ENCNTR_SPAN_CODE(FK) Parent Table Name Parent Column Name
Parents: ENCNTR_ID ENCOUNTER ENCNTR_ID


ENCNTR_TYPE_PARAMS



Column Section Top of Page


Table-level Detail

Description: Encounter Type Parameters
Definition: Reference table using name value pair logic at the encntr_type_cd and organization_id level. This table is similar to the 150 table in HNA 306.
Table Type: REFERENCE





Column Detail - ENCNTR_TYPE_PARAMS


Column Name Type Null? Definition
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.
COLLATION_SEQ DOUBLE Y Defines the order in which the name value pair attributes will show in the encntr_type_maint tool.
ENCNTR_TYPE_CD DOUBLE Y Defines the type of encounter (Inpatient, Outpatient, etc.) -- used in this table to separate parameters using name value pair logic.
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.
ORGANIZATION_ID DOUBLE Y Foreign key to the ORGANIZATION table defines along with encntr_type_cd the separate rows for the name value pair logic
PARAM_NAME VARCHAR(32) Y The name of the name value pair field.
VALUE_CD DOUBLE Y The value related to the PARAM_NAME attribute. Shows here only if it is a codified value. Code set will vary.
VALUE_DT_TM DATETIME Y The value related to the PARAM_NAME attribute. Filled out only if it is of date/time type.
VALUE_IND DOUBLE Y The value relating to the PARAM_NAME attribute. Is filled out only if it is of type indicator.
VALUE_NBR DOUBLE Y The value related to the PARAM_NAME attribute. This is valued only if it is of type number and not a flag or indicator.
VALUE_STRING VARCHAR(200) Y The value related to the PARAM_NAME attribute. This is valued only if it is of type string.