Definition
Information
Section titled “Information”This table holds information about the list of tables against all organisations. There is a is_enabled flag against each of them. Please make sure to update that to 1 before running the ETL. Please note that, in addition to your sharing organisations, there is an additional row for ‘EMIS’ organisation.
This table should be used to view information about tables that are available for extraction at an organisation level.
Scenarios
Section titled “Scenarios”| Scenario Encountered | Info in the logging tables | Root Cause | Customer Action Required |
|---|---|---|---|
| ETL succeeded but data not available in a few tables | The ‘is_enabled’ flag in ‘table_inclusion’ table is set to 0 | Table is not enabled for ETL to extract | Update the ‘table_inclusion’ table & re-run the ETL |
| ETL succeeded and I can see data in the table I need but one organisation’s data is missing from that table | The ‘is_enabled’ flag in ‘table_inclusion’ table is set to 0 for that particular organisation | Table / Organisation combination is not enabled for ETL to extract | Update the ‘table_inclusion’ table & re-run the ETL |
Examples
Section titled “Examples”Enabled tables by organisation
Section titled “Enabled tables by organisation”SELECT name, organisation, is_enabledFROM internal.table_inclusionWHERE is_deleted = FALSE AND is_enabled = TRUEORDER BY organisation, name;Inclusion records for a table
Section titled “Inclusion records for a table”SELECT name, organisation, is_deleted, added_datetime, is_enabledFROM internal.table_inclusionWHERE name = 'encounter'ORDER BY organisation;