devicedatacontexts

The devicedatacontexts table provides metadata about device data points that are captured from devices such as mobile phones or fitness trackers and managed in the devicedatapoints table.

Table Schema

Name Type Description
id VARCHAR

Surrogate key. Primary key for the devicedatacontexts table.

identifier VARCHAR

A unique external identifier provided by the device data source that applies to all device data points that refer to this context.

startdate VARCHAR

The start date provided by a device data source that applies to all device data points that refer to this context.

observationdate VARCHAR

The date of observation provided by a device data source that applies to all device data points that refer to this context.

patient_id VARCHAR

Surrogate key. Foreign key reference to patients.id

typeterm_id INTEGER

Surrogate key. Foreign key reference to terms.id

devicedatasource_id VARCHAR

Surrogate key. Foreign key reference to devicedatasources.id

properties VARCHAR

An xml formatted field with additional properties of the device data context managed as key-value pairs.

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