Skip to content
Partner Developer Portal

Definition

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.

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
SELECT
name,
organisation,
is_enabled
FROM internal.table_inclusion
WHERE is_deleted = FALSE
AND is_enabled = TRUE
ORDER BY organisation, name;
SELECT
name,
organisation,
is_deleted,
added_datetime,
is_enabled
FROM internal.table_inclusion
WHERE name = 'encounter'
ORDER BY organisation;