demographiccontactinfos

The demographiccontactinfos table manages telephone numbers and email addresses associated with patients and caregivers.

Table Schema

Name Type Description
id VARCHAR

Surrogate key. Primary key for the demographiccontactinfos table.

comment VARCHAR

An uncoded, human readable text field that provides additional information about the contact information.

info VARCHAR

If the contact info represents an email address, this column contains the email address.

countrycode VARCHAR

For contact info rows that store a phone number, the country code of the number. Blank or null indicates 1 (USA).

areacode VARCHAR

For contact info rows that store a phone number, the area code component of the number.

localnumber VARCHAR

For contact info rows that store a phone number, the seven digit local number component of the number.

extension VARCHAR

For contact info rows that store a phone number, the extension component of the number.

contactinfotypeterm_id INTEGER

Surrogate key. Foreign key reference to terms.id. A term that describes the type of contact info. For example, Home Phone Number.

contactinfousecodeterm_id INTEGER

Surrogate key. Foreign key reference to terms.id

demographic_id VARCHAR

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

properties VARCHAR

An xml formatted field with additional properties of the contact information managed as key-value pairs.

tenant_id SMALLINT

Surrogate key. Foreign key reference to tenants.id


Back to Tables