Skip Headers
Oracle® Healthcare Data Warehouse Foundation Secure Installation and Configuration Guide
Release 6.1

E27595-06
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

6 Troubleshooting

This section discusses seed data troubleshooting.

6.1 Seed Data Procedure Parameter

Overwrite Flag

The overwrite flag, which is a parameter that is specified when running the seed data procedure can have two possible values Y and N:

For more information on error logging, see Section 6.2.

6.2 Error Logging and Debugging

The errors that occur while populating seed data using seed data load procedures are logged inside the table HDM_X_SEED_DATA_ERR_LOG for HDWF and HDI_X_SEED_DATA_ERR_LOG for HDWF interface table.

The following are the key columns in the error log table (HDM_X_SEED_DATA_ERR_LOG or HDI_X_SEED_DATA_ERR_LOG):

Seed Data Error Types

The following section describes the different error types that can be logged and the approach to understand and resolve them:

Note:

In the following section, Non-EHA user refers to individuals using the application.

Error Type

EHA_WARNING: Code name exists

Error Description

Code name: <CODE NAME> exists. New Oracle seed data record inserted with same code name.

Resolution for HDM

Identification

Search Code Repository for the record having the code name specified in the Error Description.

select *from HDM_CD_REPOSITORY WHERE CD_NM=<CODE NAME SPECIFIED IN THE ERROR STATEMENT>;

For example,

SQL> select *from HDM_CD_REPOSITORY WHERE CD_NM ='Patient Withdrew';

Resolution

After identifying the code name, you can select one of the following options:

Resolution for HDI

Identification

Search Code Repository for the record having the code name as specified in the error description.

select *from HDI_CD_REPOSITORY WHERE CD_NM=<CODE NAME SPECIFIED IN THE ERROR STATEMENT>;

For example,

SQL> select *from HDI_CD_REPOSITORY WHERE CD_NM ='Patient Withdrew';

Resolution

After identifying the code name, you can select one of the following options:

Error Type

EHA_ERROR: Insert failed: Creation of version failed

Error Description

Non-EHA user has versioned a record. Unable to create a new version of the record.

Resolution for HDM

Identification

Navigate to the table identified in HDM_X_SEED_DATA_ERR_LOG.ERR_TBL_NM and use HDM_X_SEED_DATA_ERR_LOG.ERR_INT_ID to identify the error record.

Select *from <HDM_X_SEED_DATA_ERR_LOG.ERR_TBL_NM> WHERE INTEGRATION_ID=<HDM_X_SEED_DATA_ERR_LOG.ERR_INT_ID> AND CURRENT_FLG='Y';

For example,

SQL> select *from HDM_CD_REPOSITORY where INTEGRATION_ID ='SPCMN_TYP_CD_IVFEHA_CUSTOM_CD_SYS1.0' and CURRENT_FLG='Y';

Resolution:

After identifying the code name, you can choose one of the following options:

Resolution for HDI

Identification

Navigate to the table identified in HDI_X_SEED_DATA_ERR_LOG.ERR_TBL_NM and use HDI_X_SEED_DATA_ERR_LOG.ERR_INT_ID to identify the error record.

Select *from <HDI_X_SEED_DATA_ERR_LOG.ERR_TBL_NM> t1 WHERE INT_ID=<HDI_X_SEED_DATA_ERR_LOG.ERR_INT_ID> AND SRC_CHANGED_ON_DT=(select max(SRC_CHANGED_ON_DT) from <HDI_X_SEED_DATA_ERR_LOG.ERR_TBL_NM> t2 where t1.int_id =t2.int_id);

For example,

SQL> select *from HDI_CD_REPOSITORY cr1 where INT_ID ='SPCMN_TYP_CD_IVFEHA_CUSTOM_CD_SYS1.0' and SRC_CHANGED_ON_DT =(select max(SRC_CHANGED_ON_DT) from HDI_CD_REPOSITORY cr2 where cr1.int_id =cr2.int_id);

Resolution

After identifying the code name, you can choose one of the following options:

Error Type

EHA_ERROR: Update failed

Error Description

Non-EHA user has changed the record. Unable to update the record.

Resolution for HDM

Identification

Navigate to the table identified in HDM_X_SEED_DATA_ERR_LOG.ERR_TBL_NM and use HDM_X_SEED_DATA_ERR_LOG.ERR_INT_ID to identify the error record.

Select *from <HDM_X_SEED_DATA_ERR_LOG.ERR_TBL_NM> WHERE INTEGRATION_ID=<HDM_X_SEED_DATA_ERR_LOG.ERR_INT_ID> AND CURRENT_FLG='Y';

For example,

SQL> select *from HDM_CD_REPOSITORY where INTEGRATION_ID ='SPCMN_TYP_CD_IVFEHA_CUSTOM_CD_SYS1.0' and CURRENT_FLG='Y';

Resolution

After identifying the code name, you can choose one of the following options:

Resolution for HDI

This error does not occur in HDI as no updates are supported in HDI.

Error Type

EHA_ERROR: Insert failed: Duplicate integration ID

Error Description

Non-EHA user has created a record with the same integration ID. Unable to create a new record.

Resolution for HDM

Identification

Navigate to the table identified in HDM_X_SEED_DATA_ERR_LOG.ERR_TBL_NM and use HDM_X_SEED_DATA_ERR_LOG.ERR_INT_ID to identify the error record.

Select *from <HDM_X_SEED_DATA_ERR_LOG.ERR_TBL_NM> WHERE INTEGRATION_ID=<HDM_X_SEED_DATA_ERR_LOG.ERR_INT_ID> AND CURRENT_FLG='Y' ;

For example,

SQL> select *from HDM_CD_REPOSITORY where INTEGRATION_ID ='SPCMN_TYP_CD_IVFEHA_CUSTOM_CD_SYS1.0' and CURRENT_FLG='Y ';

Resolution

To insert Oracle seed data, modify the integration ID of the conflicting record that you have inserted and run the seed data procedure again.

Resolution for HDI

Identification

Navigate to the table identified in HDI_X_SEED_DATA_ERR_LOG.ERR_TBL_NM and use HDI_X_SEED_DATA_ERR_LOG.ERR_INT_ID to identify the error record.

Select *from <HDI_X_SEED_DATA_ERR_LOG.ERR_TBL_NM> t1 WHERE INT_ID=<HDI_X_SEED_DATA_ERR_LOG.ERR_INT_ID> AND SRC_CHANGED_ON_DT=(select max(SRC_CHANGED_ON_DT) from <HDI_X_SEED_DATA_ERR_LOG.ERR_TBL_NM> t2 where t1.int_id =t2.int_id) ;

For example,

SQL> select *from HDI_CD_REPOSITORY cr1 where INT_ID ='SPCMN_TYP_CD_IVFEHA_CUSTOM_CD_SYS1.0' and SRC_CHANGED_ON_DT =(select max(SRC_CHANGED_ON_DT) from HDI_CD_REPOSITORY cr2 where cr1.int_id =cr2.int_id) ;

Resolution

To insert Oracle seed data, modify the integration ID of the conflicting record that you have inserted and run the seed data procedure again.

Error Type

PL/SQL_ERROR

Resolution for HDM

Other PL SQL errors that are encountered when inserting seed data.

Resolution for HDI

Other PL SQL errors that are encountered when inserting seed data.