orderstudyreasons

The orderstudyreasons table provides one-to-many terms that justify the related order.

Table Schema

Name Type Description
id INTEGER

Surrogate key. Primary key for the orderstudyreasons table.

text VARCHAR

An uncoded, human-readable text field to describe the reasons for a the related order.

reasonterm_id INTEGER

Surrogate key. Foreign key reference to terms.id

order_id VARCHAR

Surrogate key. Foreign key reference to orders.id

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.

reasonalternateterms VARCHAR

An xml representation of additional terms that were sent by the source system to describe the order study reason.

tenant_id SMALLINT

Surrogate key. Foreign key reference to tenants.id


Back to Tables