onsite_documents


If there is patient data for this table the file for this export will be found in the extracted zip folder location under the filename of onsite_documents.csv

If there are non-patient data column elements that are not part of the designated record set they will be marked in the Comment's column for that data element

Description

Digital documents that have been assigned to a patient from a document_template that the patient has saved or submitted for review by clinical staff

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT UNSIGNED 10 null
pid BIGINT UNSIGNED 20 null
patient_data.pid Defined in XML R

The internal patient identifier

facility INT UNSIGNED 10 null
facility.id Defined in XML R
provider INT UNSIGNED 10 null
encounter INT UNSIGNED 10 null
form_encounter.encounter Defined in XML R
create_date TIMESTAMP 19 current_timestamp()
doc_type VARCHAR 255 null
patient_signed_status SMALLINT UNSIGNED 5 null
patient_signed_time DATETIME 19 null
authorize_signed_time DATETIME 19 null
accept_signed_status SMALLINT 5 null
authorizing_signator VARCHAR 50 null
review_date DATETIME 19 null
denial_reason VARCHAR 255 null
authorized_signature TEXT 65535 null
patient_signature TEXT 65535 null
full_document MEDIUMBLOB 16777215 null
file_name VARCHAR 255 null
file_path VARCHAR 255 null
template_data LONGTEXT 2147483647 null
user Unknown 0 null
users.id Defined in XML R

User who created the esignature

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id

Relationships