problems

The problems table manages all diagnoses sent from a clinical data source.

Table Schema

Name Type Description
id VARCHAR

Surrogate key. Primary key for the problems table.

description VARCHAR

A text description sent by the data source.

date VARCHAR

The date that this diagnosis was observed.

stopdate VARCHAR

If applicable, the date that this diagnosis was resolved or no longer applies.

lastrevieweddate VARCHAR

The data that this diagnosis was reported.

verifiedbycaregiver_id VARCHAR

Surrogate key. Foreign key reference to caregivers.id

term_id INTEGER

Surrogate key. Foreign key reference to terms.id. A term that describes the coded diagnosis.

typeterm_id INTEGER

Surrogate key. Foreign key reference to terms.id

statusterm_id INTEGER

Surrogate key. Foreign key reference to terms.id

patient_id VARCHAR

Surrogate key. Foreign key reference to patients.id

encounter_id VARCHAR

Surrogate key. Foreign key reference to encounters.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.

comment VARCHAR

A text description for this diagnosis.

termalternateterms VARCHAR

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

datasource_id VARCHAR

Surrogate key. Foreign key reference to datasources.id. The external data source from which the data in this row originated.

tenant_id SMALLINT

Surrogate key. Foreign key reference to tenants.id

verificationstatusterm_id INTEGER

Surrogate key. Foreign key reference to terms.id


Back to Tables