The datasources table manages a row for each data source that has provided data which has been ingested into the HIEBus data model. A data source id is present on most patient data tables to provide the provenance of that data row.
Table Schema
Name |
Type
|
Description |
id |
VARCHAR |
Surrogate key. Primary key for the datasources table.
|
code |
VARCHAR |
A unique code that identifies the data source.
|
name |
VARCHAR |
The name of the data source.
|
inserteddate |
TIMESTAMP |
Timestamp (UTC) indicating the date the row was first inserted into HIEBus.
|
insertedbyapplication_id |
SMALLINT |
The application that first inserted the row into HIEBus. Foreign key reference to applications.id.
|
insertedbyuser_id |
VARCHAR |
The user associated with the process that first inserted the row into HIEBus. Foreign key reference to users.id.
|
modifieddate |
TIMESTAMP |
Timestamp (UTC) indicating the date the row was last modified.
|
modifiedbyapplication_id |
SMALLINT |
The application that last modified the row. Foreign key reference to applications.id.
|
modifiedbyuser_id |
VARCHAR |
The user associated with the process that last modified the row. Foreign key reference to users.id.
|
tenant_id |
SMALLINT |
Surrogate key. Foreign key reference to tenants.id
|
Back to Tables