Electronic Health Information (EHI) Export — Format Documentation

Published by Inspire Consulting, LLC for the BUAMS AI™ Health IT Module, version 1.0, under 45 CFR 170.315(b)(10). It describes the structure and syntax of the files the product produces when it exports electronic health information. It does not contain any patient data. This page is publicly accessible and requires no login or other precondition to view.

Export format version: 1.0. Machine-readable data dictionary: https://buams.ai/certification/ehi-export-format/data-dictionary.json

1. Performing an export

ExportHow it is startedWho can run it
Single patient — 170.315(b)(10)(i)Open the patient's chart and select EHI Export in the chart menu. The ZIP package is produced immediately and downloaded to the user's device. No developer involvement is needed, and it can be run at any time.Users granted the Export Patient Data permission (practice owners and administrators hold it by default). A practice controls which users or roles hold it in Access & Control.
Patient population — 170.315(b)(10)(ii)Open EHI Export from the main menu and select Start population export. The package for every patient of the practice is built in the background and listed for download, with its size and SHA-256 hash, when ready.Users holding both Export Patient Data and View All Patients, or practice owners/administrators.

Every export is recorded in the audit trail of each patient it includes (action exported, resource EhiExport).

2. Package structure

An export is a single ZIP archive. All text files are UTF-8.

manifest.json                  package metadata; path, size and SHA-256 of every file
data-dictionary.json           structure of every table and column (see section 6)
README.txt                     a short guide to the package
tables/<table>.json            one table's rows as a JSON array of objects
tables/<table>.csv             the same rows as CSV
fhir/patient-bundle.json       HL7 FHIR R4 Bundle of the chart (US Core 6.1.0 profiles)
ccda/ccd.xml                   HL7 C-CDA R2.1 Continuity of Care Document
attachments/<table>/<row id>/<column>-<file name>   stored files referenced by rows

In a patient population export the per-patient content above is placed in a folder for each patient, patients/<medical record number>-<patient id>/, and the package root also contains patients-index.json and patients-index.csv listing every patient with their folder. A table that holds no rows for a patient is omitted from that patient's folder.

3. File syntax

JSON (tables/*.json)

A JSON array (RFC 8259). Each element is one row, an object whose keys are the column names listed for that table in the data dictionary. Values are JSON strings, numbers or null. Columns that hold structured data (for example form answers) contain that data as a JSON-encoded string.

CSV (tables/*.csv)

RFC 4180: comma-separated, double-quote text qualifier, embedded quotes doubled, first row holds the column names. An empty cell means no value was recorded. Structured values are written as JSON text.

Data types

Column type (data dictionary)How values are written
int, bigint, tinyint(1)Integer. tinyint(1) is a flag: 1 = yes, 0 = no.
decimal, double, floatDecimal number with . as the decimal separator.
dateYYYY-MM-DD
datetime, timestampYYYY-MM-DD HH:MM:SS in the time zone stated in manifest.json (America/New_York).
varchar, text, longtext, enumText. Signature images captured in the product are stored as data:image/...;base64, URIs.
jsonJSON text.

Code systems

Coded values are stored in the column named for their code system, for example icd10_code (ICD-10-CM), snomed_code (SNOMED CT), loinc_code (LOINC), drug_rxnorm_id (RxNorm), cpt_code (CPT/HCPCS), cvx_code (CVX) and ucum_unit (UCUM).

4. How tables relate

The patient is the single row of patients; its id is the patient identifier. Every other table refers to the patient through its patient_id column, or to a parent row through the foreign key named in the table's Linked to patient by entry (for example patient_treatment_plan_goals.treatment_plan_id = patient_treatment_plans.id). Columns ending in _id are identifiers of related rows.

The set of tables is derived from the product's database schema at export time, so data stored by any module of the product is included. Amendments to a record (170.315(d)(4)) are in patient_amendments, linked to the affected row by record_type and record_id.

5. Standards-based documents

fhir/patient-bundle.json is an HL7 FHIR R4 (4.0.1) Bundle of the chart using US Core 6.1.0 profiles — the same content returned by the certified API described at https://buams.ai/certification/api-documentation. ccda/ccd.xml is an HL7 C-CDA Release 2.1 Continuity of Care Document. Both are renderings of data that is also present in the tables; the tables are the complete record.

6. Integrity, exclusions and withheld values

manifest.json lists every file with its byte size and SHA-256 hash, so a recipient can confirm that nothing was altered or lost in transfer.

Not exported, because they are not electronic health information: authentication credentials and one-time codes (any column whose name contains password, secret, remember_token, otp_code, api_key, access_token, refresh_token or guest_token), and these technical tables: oauth_access_tokens, oauth_auth_codes, oauth_refresh_tokens, oauth_smart_launches, oauth_client_assertion_jtis, drfirst_request_logs, drfirst_download_states, patient_audit_logs, auth_audit_logs, emergency_access_grants, ehi_export_jobs, bulk_export_jobs, ehr_payroll_line_items, password_resets, sessions . The product's security audit log is available to authorized users through the audit report rather than the EHI export.

7. Keeping this format up to date — 170.315(b)(10)(iii)

The data dictionary on this page and in every package is generated from the product's live database schema, so a new table or column is documented in the same release that adds it. Changes to the package structure or file syntax increment the export format version shown above and are recorded below. This page is reviewed with each product release and at least quarterly.

Format versionDateChange
1.0October 2026Initial format: per-table JSON and CSV, FHIR R4 bundle, C-CDA, attachments, manifest with SHA-256, data dictionary.

8. Data dictionary

106 tables. Select a table to see its columns. Struck-through columns are withheld (credentials).

patients — The patient: identity, demographics (name, date of birth, sex, race, ethnicity, preferred language, pronouns), contact details, address, smoking status, pregnancy status, intake/discharge dates and status.

Linked to patient by: patients.id · Files: tables/patients.json, tables/patients.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
name varchar(255) yes Name.
prefix varchar(20) yes Prefix.
first_name varchar(255) yes First name.
middle_name varchar(255) yes Middle name.
last_name varchar(255) yes Last name.
suffix varchar(20) yes Suffix.
preferred_name varchar(255) yes Preferred name.
email varchar(255) yes Email.
password varchar(255) yes Password. Withheld: Authentication credential; not electronic health information.
otp_code varchar(6) yes Otp code. Withheld: Authentication credential; not electronic health information.
otp_expires_at timestamp yes Date/time: otp expires.
otp_method enum('email','sms') no Otp method.
two_factor_enabled tinyint(1) no Two factor enabled.
last_otp_sent_at timestamp yes Date/time: last otp sent.
email_verified_at timestamp yes Date/time: email verified.
remember_token varchar(100) yes Remember token. Withheld: Authentication credential; not electronic health information.
phone varchar(255) yes Phone.
home_phone varchar(30) yes Home phone.
mobile_phone varchar(30) yes Mobile phone.
work_phone varchar(30) yes Work phone.
other_phone varchar(30) yes Other phone.
dob date yes Dob.
deceased_at timestamp yes Date/time: deceased.
address varchar(255) yes Address.
address2 varchar(255) yes Address2.
gender varchar(255) yes Gender.
pregnant tinyint(1) yes Pregnant.
pregnancy_intent varchar(30) yes Pregnancy intent.
breastfeeding tinyint(1) yes Breastfeeding.
smoking_status varchar(50) yes Smoking status.
smoking_status_modified_at timestamp yes Date/time: smoking status modified.
pronouns varchar(255) yes Pronouns.
weight decimal(6,2) yes Weight.
weight_unit varchar(10) yes Weight unit.
height decimal(6,2) yes Height.
height_unit varchar(10) yes Height unit.
emergency_contact varchar(255) yes Emergency contact.
internal_record_id varchar(255) yes Identifier of the related internal record record.
drfirst_rcopia_id varchar(255) yes Identifier of the related drfirst rcopia record.
drfirst_sync_status varchar(20) yes Drfirst sync status.
drfirst_synced_at timestamp yes Date/time: drfirst synced.
drfirst_last_error text yes Drfirst last error.
anonymous tinyint(1) no Anonymous.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
status tinyint no Status.
patient_secret varchar(255) yes Patient secret. Withheld: Authentication credential; not electronic health information.
secret_key_generated_at timestamp yes Date/time: secret key generated. Withheld: Authentication credential; not electronic health information.
race varchar(255) yes Race.
ethnicity varchar(255) yes Ethnicity.
preferred_language varchar(255) yes Preferred language.
patient_consent_to_notify tinyint(1) yes Patient consent to notify.
marital_status varchar(255) yes Marital status.
housing_status varchar(255) yes Housing status.
employment_status varchar(255) yes Employment status.
risk_level varchar(255) yes Risk level.
referral_source varchar(255) yes Referral source.
referral_date date yes Date: referral.
admission_date date yes Date: admission.
discharge_date date yes Date: discharge.
client_status enum('active','inactive') no Client status.
client_status_legacy varchar(30) yes Client status legacy.
city varchar(255) yes City.
state varchar(255) yes State.
zip_code varchar(255) yes Zip code.
ssn_last4 text yes Ssn last4.
photo_path varchar(255) yes Photo path. The referenced file is included under attachments/.
notes text yes Notes.
default_signature longtext yes Default signature.
default_signature_updated_at timestamp yes Date/time: default signature updated.
life_goal text yes Life goal.
race_codes json yes Race codes.
race_declined tinyint(1) no Race declined.
ethnicity_codes json yes Ethnicity codes.
ethnicity_declined tinyint(1) no Ethnicity declined.
preferred_language_code varchar(35) yes Preferred language code.
preferred_language_declined tinyint(1) no Preferred language declined.
sex_code varchar(20) yes Sex code.
sexual_orientation_code varchar(30) yes Sexual orientation code.
sexual_orientation_other varchar(255) yes Sexual orientation other.
gender_identity_code varchar(30) yes Gender identity code.
gender_identity_other varchar(255) yes Gender identity other.
sex_parameter_clinical_use varchar(30) yes Sex parameter clinical use.
pronouns_code varchar(20) yes Pronouns code.
cause_of_death varchar(255) yes Cause of death.
adverse_events — Adverse events and side effects.

Linked to patient by: adverse_events.patient_id = patients.id · Files: tables/adverse_events.json, tables/adverse_events.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
suspected_medication varchar(255) yes Suspected medication.
event varchar(255) no Event.
event_type varchar(30) no Event type.
onset_date date yes Date: onset.
severity varchar(20) yes Severity.
serious tinyint(1) no Serious.
intervention text yes Intervention.
medication_changed tinyint(1) no Medication changed.
prescriber_notified tinyint(1) no Prescriber notified.
emergency_care tinyint(1) no Emergency care.
outcome text yes Outcome.
resolution varchar(30) yes Resolution.
reporter varchar(255) yes Reporter.
externally_reported tinyint(1) no Externally reported.
external_report_id varchar(255) yes Identifier of the related external report record.
status varchar(20) no Status.
source varchar(30) no Source.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
assigned_users — Staff assignments for the patient.

Linked to patient by: assigned_users.patient_id = patients.id · Files: tables/assigned_users.json, tables/assigned_users.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
user_id bigint no Identifier of the related user record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
clinic_id bigint yes Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_name varchar(255) yes Patient name.
assessment_id bigint unsigned no Identifier of the related assessment record.
previous_assessment_id bigint unsigned yes Identifier of the related previous assessment record.
answers longtext yes Answers.
score int yes Total score if assessment has scoring
selected_format_id bigint unsigned yes Selected assessment format for clinical notes
note_profession varchar(40) yes Note profession.
note_format varchar(40) yes Note format.
cpt_code_id bigint unsigned yes Identifier of the related cpt code record.
cpt_code varchar(50) yes Cpt code.
diagnosis text yes Diagnosis.
ai_diagnostic_impression longtext yes Ai diagnostic impression.
clinical_notes longtext yes AI-generated clinical notes
note_edited_at timestamp yes Date/time: note edited.
note_edited_by bigint unsigned yes Note edited by.
ai_summary longtext yes Ai summary.
treatment_recommendations json yes Treatment recommendations.
domain_scores json yes Domain scores.
scoring_interpretation longtext yes Scoring interpretation.
completed_at timestamp yes When the assessment was completed
status varchar(20) no Status.
tracker_active tinyint(1) no Tracker active.
finalized_at timestamp yes Date/time: finalized.
assessment_date date yes Date when the assessment was taken
location varchar(255) yes Location.
location_details varchar(255) yes Location details.
assessment_submitted_type enum('manual','voice') no Type of submission: manual (form) or voice (audio)
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
guest_token varchar(64) yes Guest token. Withheld: Authentication credential; not electronic health information.
guest_token_expires_at timestamp yes Date/time: guest token expires. Withheld: Authentication credential; not electronic health information.
client_signature longtext yes Client signature.
client_signed_at timestamp yes Date/time: client signed.
client_name varchar(255) yes Client name.
provider_signature longtext yes Provider signature.
provider_signed_at datetime yes Date/time: provider signed.
supervisor_signature longtext yes Supervisor signature.
supervisor_signed_at timestamp yes Date/time: supervisor signed.
supervisor_signed_by bigint yes Supervisor signed by.
billing_readiness_reviews — Billing documentation reviews of services.

Linked to patient by: billing_readiness_reviews.patient_id = patients.id · Files: tables/billing_readiness_reviews.json, tables/billing_readiness_reviews.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
organization_id bigint unsigned no Identifier of the related organization record.
encounter_id bigint unsigned no Identifier of the related encounter record.
note_version_id bigint unsigned no Identifier of the related note version record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
provider_id bigint unsigned yes Identifier of the related provider record.
payer_id bigint unsigned yes Identifier of the related payer record.
service_code varchar(255) yes Service code.
ruleset_version varchar(255) no Ruleset version.
ai_model_version varchar(255) yes Ai model version.
ai_prompt_version varchar(255) yes Ai prompt version.
schema_version varchar(255) no Schema version.
documentation_score tinyint unsigned no Documentation score.
billing_readiness_status varchar(255) no Billing readiness status.
billing_hold tinyint(1) no Billing hold.
must_fix_count int unsigned no Must fix count.
review_count int unsigned no Review count.
suggestion_count int unsigned no Suggestion count.
passed_count int unsigned no Passed count.
deterministic_started_at timestamp yes Date/time: deterministic started.
deterministic_completed_at timestamp yes Date/time: deterministic completed.
ai_started_at timestamp yes Date/time: ai started.
ai_completed_at timestamp yes Date/time: ai completed.
review_execution_status varchar(255) no Review execution status.
resolved_ruleset_json json yes Resolved ruleset json.
execution_message text yes Execution message.
completed_at timestamp yes Date/time: completed.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
ccda_imports — C-CDA documents received from outside providers, with their original content.

Linked to patient by: ccda_imports.patient_id = patients.id · Files: tables/ccda_imports.json, tables/ccda_imports.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
filename varchar(255) no Filename.
raw_xml longtext no Raw xml.
parsed_json longtext yes Parsed json.
status varchar(20) no Status.
validation_errors text yes Validation errors.
imported_by bigint unsigned yes Imported by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
claims — Billing claims submitted for services to the patient.

Linked to patient by: claims.patient_id = patients.id · Files: tables/claims.json, tables/claims.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
insurance_id bigint unsigned yes Identifier of the related insurance record.
claim_number varchar(30) no Claim number.
payer_name varchar(150) no Payer name.
payer_id varchar(32) yes Identifier of the related payer record.
status enum('draft','submitted','pending','paid','denied','partially_paid','voided') no Status.
service_date_from date no Service date from.
service_date_to date no Service date to.
submission_date date yes Date: submission.
paid_date date yes Date: paid.
total_billed decimal(10,2) no Total billed.
total_paid decimal(10,2) no Total paid.
total_adjustment decimal(10,2) no Total adjustment.
patient_responsibility decimal(10,2) no Patient responsibility.
total_refunded decimal(10,2) no Total refunded.
balance decimal(10,2) no Balance.
is_secondary tinyint(1) no Flag (1 = yes, 0 = no): is secondary.
primary_claim_id bigint unsigned yes Identifier of the related primary claim record.
notes text yes Notes.
diagnosis_codes json yes Diagnosis codes.
place_of_service char(2) yes Place of service.
prior_auth_number varchar(64) yes Prior auth number.
rendering_staff_id bigint unsigned yes Identifier of the related rendering staff record.
frequency_code char(1) no Frequency code.
payer_icn varchar(50) yes Payer icn.
clearinghouse varchar(20) yes Clearinghouse.
clearinghouse_status varchar(30) no Clearinghouse status.
clearinghouse_message text yes Clearinghouse message.
clearinghouse_status_at timestamp yes Date/time: clearinghouse status.
claimmd_id varchar(32) yes Identifier of the related claimmd record.
last_submission_id bigint unsigned yes Identifier of the related last submission record.
created_by bigint unsigned yes Created by.
automation_run_id bigint unsigned yes Identifier of the related automation run record.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
clinic_documents — Records of clinic documents linked to the patient.

Linked to patient by: clinic_documents.patient_id = patients.id · Files: tables/clinic_documents.json, tables/clinic_documents.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
document_type varchar(80) no Document type.
title varchar(255) no Title.
data json no Data.
created_by bigint unsigned yes Created by.
submitted_at datetime yes Date/time: submitted.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
clinical_alerts — Clinical alerts raised for the patient.

Linked to patient by: clinical_alerts.patient_id = patients.id · Files: tables/clinical_alerts.json, tables/clinical_alerts.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
alert_type varchar(60) no Alert type.
severity varchar(20) no Severity.
source_type varchar(80) yes Source type.
source_id bigint unsigned yes Identifier of the related source record.
title varchar(255) no Title.
message text yes Message.
assigned_to_type varchar(20) yes Assigned to type.
assigned_to_id varchar(255) yes Identifier of the related assigned to record.
status varchar(20) no Status.
due_at timestamp yes Date/time: due.
reminder_at timestamp yes Date/time: reminder.
escalation_at timestamp yes Date/time: escalation.
escalated_at timestamp yes Date/time: escalated.
acknowledged_by bigint unsigned yes Acknowledged by.
acknowledged_at timestamp yes Date/time: acknowledged.
action_taken text yes Action taken.
patient_contacted tinyint(1) no Patient contacted.
provider_contacted tinyint(1) no Provider contacted.
follow_up text yes Follow up.
resolved_by bigint unsigned yes Resolved by.
resolved_at timestamp yes Date/time: resolved.
closure_reason varchar(255) yes Closure reason.
override_reason text yes Override reason.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
clinical_summaries — Clinical summaries generated for the patient.

Linked to patient by: clinical_summaries.patient_id = patients.id · Files: tables/clinical_summaries.json, tables/clinical_summaries.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
patient_program_id bigint unsigned yes Identifier of the related patient program record.
generated_by bigint yes Generated by.
summary_type varchar(191) no Summary type.
entry_method varchar(20) no Entry method.
cpt_code_id bigint unsigned yes Identifier of the related cpt code record.
period_start date no Period start.
period_end date no Period end.
period_type varchar(20) yes Period type.
status enum('pending','processing','completed','failed') no Status.
review_status varchar(20) no Review status.
revision int unsigned no Revision.
source_record_ids json yes Source record ids.
ai_summary_content longtext yes Ai summary content.
raw_summary_text longtext yes Raw summary text.
error_message longtext yes Error message.
completed_at timestamp yes Date/time: completed.
reviewed_by bigint unsigned yes Reviewed by.
reviewed_at timestamp yes Date/time: reviewed.
reviewer_name varchar(255) yes Reviewer name.
attestation_notes text yes Attestation notes.
signature_data longtext yes Signature data.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
selected_record_ids json yes Selected record ids.
submitted_at timestamp yes Date/time: submitted.
submitted_by bigint unsigned yes Submitted by.
returned_at timestamp yes Date/time: returned.
returned_by bigint unsigned yes Returned by.
return_reason text yes Return reason.
approved_at timestamp yes Date/time: approved.
approved_by bigint unsigned yes Approved by.
finalized_at timestamp yes Date/time: finalized.
finalized_by bigint unsigned yes Finalized by.
consent_form_submissions — Signed consent forms. Signature images under attachments/consent_form_submissions/.

Linked to patient by: consent_form_submissions.patient_id = patients.id · Files: tables/consent_form_submissions.json, tables/consent_form_submissions.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
consent_form_id bigint unsigned no Identifier of the related consent form record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
grouped_signature_id bigint unsigned yes Identifier of the related grouped signature record.
user_id bigint unsigned yes Identifier of the related user record.
user_type varchar(255) yes User type.
client_name varchar(255) no Client name.
client_date_of_birth date yes Client date of birth.
client_email varchar(255) yes Client email.
client_phone varchar(50) yes Client phone.
client_address text yes Client address.
guardian_name varchar(255) yes Guardian name.
guardian_relationship varchar(100) yes Guardian relationship.
client_signature_path varchar(255) yes Client signature path. The referenced file is included under attachments/.
guardian_signature_path varchar(255) yes Guardian signature path. The referenced file is included under attachments/.
provider_signature_path varchar(255) yes Provider signature path. The referenced file is included under attachments/.
provider_signed_at timestamp yes Date/time: provider signed.
provider_name varchar(255) yes Provider name.
signed_at timestamp yes Date/time: signed.
expires_at date yes Date/time: expires.
revoked_at timestamp yes Date/time: revoked.
revoked_by bigint unsigned yes Revoked by.
revocation_reason text yes Revocation reason.
ip_address varchar(45) yes Ip address.
user_agent text yes User agent.
additional_data json yes Additional data.
form_field_values json yes Form field values.
rendered_form_content mediumtext yes Rendered form content.
status varchar(255) no Status.
guest_token varchar(255) yes Guest token. Withheld: Authentication credential; not electronic health information.
guest_token_expires_at timestamp yes Date/time: guest token expires. Withheld: Authentication credential; not electronic health information.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
drfirst_notifications — Records of drfirst notifications linked to the patient.

Linked to patient by: drfirst_notifications.patient_id = patients.id · Files: tables/drfirst_notifications.json, tables/drfirst_notifications.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
drfirst_rcopia_id varchar(40) no Identifier of the related drfirst rcopia record.
type varchar(20) yes Type.
status varchar(30) yes Status.
response_code varchar(10) yes Response code.
response_note varchar(100) yes Response note.
prescriber_order_number varchar(40) yes Prescriber order number.
rx_reference_number varchar(40) yes Rx reference number.
follow_up_number varchar(5) yes Follow up number.
original_request_date timestamp yes Date: original request.
current_request_date timestamp yes Date: current request.
provider_rcopia_id varchar(40) yes Identifier of the related provider rcopia record.
provider_username varchar(50) yes Provider username.
provider_npi varchar(35) yes Provider npi.
provider_name varchar(120) yes Provider name.
forwarded_to_name varchar(120) yes Forwarded to name.
pharmacy_name varchar(120) yes Pharmacy name.
pharmacy_ncpdp_id varchar(20) yes Identifier of the related pharmacy ncpdp record.
pharmacy_phone varchar(30) yes Pharmacy phone.
pharmacy_fax varchar(30) yes Pharmacy fax.
pharmacy_address text yes Pharmacy address.
drug_description varchar(260) yes Drug description.
drug_ndc_id varchar(40) yes Identifier of the related drug ndc record.
drug_rxnorm_id varchar(20) yes Identifier of the related drug rxnorm record.
drug_schedule varchar(20) yes Drug schedule.
sig_text text yes Sig text.
quantity varchar(40) yes Quantity.
quantity_unit varchar(30) yes Quantity unit.
refills varchar(10) yes Refills.
substitution_permitted tinyint(1) yes Substitution permitted.
written_date timestamp yes Date: written.
last_fill_date timestamp yes Date: last fill.
sender varchar(120) yes Sender.
title varchar(120) yes Title.
body_text text yes Body text.
action_taken varchar(30) yes Action taken.
final_action_date timestamp yes Date: final action.
payload longtext yes Payload.
downloaded_at timestamp yes Date/time: downloaded.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
drfirst_prescriptions — Prescriptions written through the integrated e-prescribing service.

Linked to patient by: drfirst_prescriptions.patient_id = patients.id · Files: tables/drfirst_prescriptions.json, tables/drfirst_prescriptions.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
drfirst_rcopia_id varchar(40) no Identifier of the related drfirst rcopia record.
external_id varchar(40) yes Identifier of the related external record.
prescriber_order_number varchar(40) yes Prescriber order number.
rx_reference_number varchar(40) yes Rx reference number.
from_notification_id varchar(40) yes Identifier of the related from notification record.
voided tinyint(1) no Voided.
denied tinyint(1) no Denied.
needs_review tinyint(1) no Needs review.
is_discharge_prescription tinyint(1) no Flag (1 = yes, 0 = no): is discharge prescription.
cancel_reason varchar(255) yes Cancel reason.
provider_rcopia_id varchar(40) yes Identifier of the related provider rcopia record.
provider_username varchar(50) yes Provider username.
provider_npi varchar(35) yes Provider npi.
provider_dea varchar(20) yes Provider dea.
provider_name varchar(120) yes Provider name.
verifier_name varchar(120) yes Verifier name.
preparer_name varchar(120) yes Preparer name.
supervisor_name varchar(120) yes Supervisor name.
prescriber_agent_name varchar(120) yes Prescriber agent name.
pharmacy_name varchar(120) yes Pharmacy name.
pharmacy_ncpdp_id varchar(20) yes Identifier of the related pharmacy ncpdp record.
pharmacy_phone varchar(30) yes Pharmacy phone.
pharmacy_fax varchar(30) yes Pharmacy fax.
pharmacy_address text yes Pharmacy address.
drug_description varchar(260) yes Drug description.
brand_name varchar(130) yes Brand name.
generic_name varchar(130) yes Generic name.
drug_ndc_id varchar(40) yes Identifier of the related drug ndc record.
drug_rxnorm_id varchar(20) yes Identifier of the related drug rxnorm record.
drug_schedule varchar(20) yes Drug schedule.
drug_form varchar(40) yes Drug form.
drug_strength varchar(110) yes Drug strength.
dosage_text text yes Dosage text.
patient_notes text yes Patient notes.
other_notes text yes Other notes.
quantity varchar(40) yes Quantity.
quantity_unit varchar(30) yes Quantity unit.
refills varchar(10) yes Refills.
duration_days int unsigned yes Duration days.
substitution_permitted tinyint(1) yes Substitution permitted.
created_date timestamp yes Date: created.
signed_date timestamp yes Date: signed.
completed_date timestamp yes Date: completed.
stop_date timestamp yes Date: stop.
last_modified_by varchar(50) yes Last modified by.
last_modified_date timestamp yes Date: last modified.
completion_action varchar(40) yes Completion action.
send_method varchar(40) yes Send method.
event_status varchar(20) yes Event status.
event_error text yes Event error.
archive_date timestamp yes Date: archive.
send_date timestamp yes Date: send.
needs_signing_username varchar(50) yes Needs signing username.
needs_signing_npi varchar(20) yes Needs signing npi.
last_event_code varchar(10) yes Last event code.
last_event_at timestamp yes Date/time: last event.
events_terminal tinyint(1) no Events terminal.
events_polled_at timestamp yes Date/time: events polled.
cancel_requested_at timestamp yes Date/time: cancel requested.
cancel_requested_by varchar(50) yes Cancel requested by.
cancel_status varchar(20) yes Cancel status.
cancel_send_method varchar(20) yes Cancel send method.
cancel_backup_fax_date timestamp yes Date: cancel backup fax.
cancel_response_status varchar(20) yes Cancel response status.
cancel_response_at timestamp yes Date/time: cancel response.
cancel_response_notes varchar(255) yes Cancel response notes.
cancel_response_reasons text yes Cancel response reasons.
cancel_fills_cancelled int unsigned yes Cancel fills cancelled.
cancel_acknowledged tinyint(1) yes Cancel acknowledged.
rxchange_notification_id varchar(40) yes Identifier of the related rxchange notification record.
rxchange_status varchar(30) yes Rxchange status.
rxchange_last_action_date timestamp yes Date: rxchange last action.
rxchange_changed_rx_id varchar(40) yes Identifier of the related rxchange changed rx record.
rxchange_original_rx_id varchar(40) yes Identifier of the related rxchange original rx record.
pdmp_status text yes Pdmp status.
undeliverable_date timestamp yes Date: undeliverable.
acknowledged_by varchar(50) yes Acknowledged by.
acknowledged_date timestamp yes Date: acknowledged.
payload longtext yes Payload.
downloaded_at timestamp yes Date/time: downloaded.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
drfirst_rx_changes — Pharmacy change / renewal requests on prescriptions.

Linked to patient by: drfirst_rx_changes.patient_id = patients.id · Files: tables/drfirst_rx_changes.json, tables/drfirst_rx_changes.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
drfirst_rcopia_id varchar(40) no Identifier of the related drfirst rcopia record.
status varchar(30) yes Status.
request_type varchar(4) yes Request type.
request_sub_types text yes Request sub types.
change_reason text yes Change reason.
rx_reference_number varchar(40) yes Rx reference number.
response_code varchar(4) yes Response code.
response_note varchar(100) yes Response note.
prior_auth_confirmation varchar(60) yes Prior auth confirmation.
original_request_date timestamp yes Date: original request.
last_action_date timestamp yes Date: last action.
original_rx_rcopia_id varchar(40) yes Identifier of the related original rx rcopia record.
original_rx_order_number varchar(40) yes Original rx order number.
changed_rx_rcopia_id varchar(40) yes Identifier of the related changed rx rcopia record.
changed_rx_order_number varchar(40) yes Changed rx order number.
provider_rcopia_id varchar(40) yes Identifier of the related provider rcopia record.
provider_username varchar(50) yes Provider username.
provider_npi varchar(35) yes Provider npi.
provider_name varchar(120) yes Provider name.
forwarded_to_name varchar(120) yes Forwarded to name.
supervisor_name varchar(120) yes Supervisor name.
pharmacy_name varchar(120) yes Pharmacy name.
pharmacy_ncpdp_id varchar(20) yes Identifier of the related pharmacy ncpdp record.
pharmacy_phone varchar(30) yes Pharmacy phone.
pharmacy_fax varchar(30) yes Pharmacy fax.
pharmacy_address text yes Pharmacy address.
ordered_drug_description varchar(260) yes Ordered drug description.
ordered_brand_name varchar(130) yes Ordered brand name.
ordered_generic_name varchar(130) yes Ordered generic name.
ordered_drug_ndc_id varchar(40) yes Identifier of the related ordered drug ndc record.
ordered_drug_rxnorm_id varchar(20) yes Identifier of the related ordered drug rxnorm record.
ordered_drug_schedule varchar(20) yes Ordered drug schedule.
ordered_drug_form varchar(40) yes Ordered drug form.
ordered_drug_strength varchar(110) yes Ordered drug strength.
ordered_sig_text text yes Ordered sig text.
ordered_quantity varchar(40) yes Ordered quantity.
ordered_quantity_unit varchar(30) yes Ordered quantity unit.
ordered_refills varchar(10) yes Ordered refills.
ordered_substitution_permitted tinyint(1) yes Ordered substitution permitted.
ordered_written_date timestamp yes Date: ordered written.
requested_count smallint unsigned no Requested count.
requested_drug_description varchar(260) yes Requested drug description.
requested_drug_ndc_id varchar(40) yes Identifier of the related requested drug ndc record.
requested_drug_rxnorm_id varchar(20) yes Identifier of the related requested drug rxnorm record.
requested_drug_schedule varchar(20) yes Requested drug schedule.
requested_sig_text text yes Requested sig text.
requested_quantity varchar(40) yes Requested quantity.
requested_quantity_unit varchar(30) yes Requested quantity unit.
requested_refills varchar(10) yes Requested refills.
diagnoses text yes Diagnoses.
payload longtext yes Payload.
downloaded_at timestamp yes Date/time: downloaded.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
eligibility_checks — Insurance eligibility checks (270/271) and responses.

Linked to patient by: eligibility_checks.patient_id = patients.id · Files: tables/eligibility_checks.json, tables/eligibility_checks.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
insurance_id bigint unsigned yes Identifier of the related insurance record.
payer_name varchar(150) no Payer name.
plan_name varchar(190) yes Plan name.
checked_at timestamp no Date/time: checked.
service_date date yes Date: service.
service_type_code varchar(3) yes Service type code.
status enum('active','inactive','unknown') no Status.
copay decimal(8,2) yes Copay.
coinsurance_percent decimal(5,2) yes Coinsurance percent.
deductible_remaining decimal(8,2) yes Deductible remaining.
benefits json yes Benefits.
rejection_code varchar(10) yes Rejection code.
rejection_reason varchar(190) yes Rejection reason.
edi_submission_id bigint unsigned yes Identifier of the related edi submission record.
auth_required tinyint(1) no Auth required.
coverage_start date yes Coverage start.
coverage_end date yes Coverage end.
check_method enum('manual','api') no Check method.
gateway varchar(40) yes Gateway.
notes text yes Notes.
checked_by bigint unsigned yes Checked by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
erx_messages — Records of erx messages linked to the patient.

Linked to patient by: erx_messages.patient_id = patients.id · Files: tables/erx_messages.json, tables/erx_messages.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned yes Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
prescription_id bigint unsigned yes Identifier of the related prescription record.
responds_to_id bigint unsigned yes Identifier of the related responds to record.
direction varchar(10) no Direction.
message_type varchar(40) no Message type.
message_id varchar(35) yes Identifier of the related message record.
relates_to_message_id varchar(35) yes Identifier of the related relates to message record.
prescriber_order_number varchar(35) yes Prescriber order number.
rx_reference_number varchar(35) yes Rx reference number.
status varchar(30) no Status.
status_code varchar(10) yes Status code.
status_detail text yes Status detail.
xml_encrypted longtext no Xml encrypted.
reply_xml_encrypted longtext yes Reply xml encrypted.
http_status smallint unsigned yes Http status.
needs_action tinyint(1) no Needs action.
actioned_at timestamp yes Date/time: actioned.
actioned_by bigint unsigned yes Actioned by.
action_summary varchar(255) yes Action summary.
summary json yes Summary.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
erx_prescriptions — Records of erx prescriptions linked to the patient.

Linked to patient by: erx_prescriptions.patient_id = patients.id · Files: tables/erx_prescriptions.json, tables/erx_prescriptions.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
prescriber_staff_id bigint unsigned yes Identifier of the related prescriber staff record.
pharmacy_id bigint unsigned yes Identifier of the related pharmacy record.
parent_id bigint unsigned yes Identifier of the related parent record.
prescriber_order_number varchar(35) no Prescriber order number.
rx_reference_number varchar(35) yes Rx reference number.
origin varchar(30) no Origin.
status varchar(30) no Status.
drug_description varchar(105) no Drug description.
medication json no Medication.
patient_snapshot json no Patient snapshot.
prescriber_snapshot json no Prescriber snapshot.
pharmacy_snapshot json no Pharmacy snapshot.
fill_status varchar(30) yes Fill status.
fill_note varchar(255) yes Fill note.
fill_updated_at timestamp yes Date/time: fill updated.
sent_at timestamp yes Date/time: sent.
cancelled_at timestamp yes Date/time: cancelled.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
expiration_tracker_history — Records of expiration tracker history linked to the patient.

Linked to patient by: expiration_tracker_history.patient_id = patients.id · Files: tables/expiration_tracker_history.json, tables/expiration_tracker_history.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
item_id bigint unsigned no Identifier of the related item record.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
event varchar(20) no Event.
from_at datetime yes Date/time: from.
to_at datetime yes Date/time: to.
warning_days smallint unsigned yes Warning days.
note varchar(255) yes Note.
created_at timestamp yes Date/time the row was created.
expiration_tracker_items — Records of expiration tracker items linked to the patient.

Linked to patient by: expiration_tracker_items.patient_id = patients.id · Files: tables/expiration_tracker_items.json, tables/expiration_tracker_items.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
category varchar(30) no Category.
item_type varchar(60) no Item type.
source varchar(40) no Source.
source_id bigint unsigned no Identifier of the related source record.
series_key varchar(191) yes Series key.
title varchar(255) no Title.
detail varchar(255) yes Detail.
payer_name varchar(255) yes Payer name.
program_type varchar(60) yes Program type.
staff_id int unsigned yes Identifier of the related staff record.
effective_at date yes Date/time: effective.
expires_at datetime no Date/time: expires.
basis varchar(10) no Basis.
rule_days smallint unsigned yes Rule days.
lifecycle varchar(12) no Lifecycle.
renewal_at datetime yes Date/time: renewal.
renewed_by_id bigint unsigned yes Identifier of the related renewed by record.
first_expired_at datetime yes Date/time: first expired.
last_warning_days smallint unsigned yes Last warning days.
expired_notified_at datetime yes Date/time: expired notified.
last_reminded_at timestamp yes Date/time: last reminded.
escalated_at timestamp yes Date/time: escalated.
url varchar(500) yes Url.
synced_at datetime yes Date/time: synced.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
external_medical_providers — Outside providers involved in the patient's care.

Linked to patient by: external_medical_providers.patient_id = patients.id · Files: tables/external_medical_providers.json, tables/external_medical_providers.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
provider_name varchar(255) no Provider name.
credentials varchar(255) yes Credentials.
npi varchar(10) yes Npi.
organization varchar(255) yes Organization.
specialty varchar(255) yes Specialty.
relationship varchar(30) no Relationship.
phone varchar(255) yes Phone.
fax varchar(255) yes Fax.
email varchar(255) yes Email.
direct_address varchar(255) yes Direct address.
preferred_communication varchar(30) yes Preferred communication.
start_date date yes Date: start.
end_date date yes Date: end.
roi_status varchar(20) no Roi status.
roi_expires_at date yes Date/time: roi expires.
last_communication_date date yes Date: last communication.
status varchar(20) no Status.
source varchar(30) no Source.
created_by bigint unsigned yes Created by.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
flowsheet_readings — Flowsheet observations.

Linked to patient by: flowsheet_readings.patient_id = patients.id · Files: tables/flowsheet_readings.json, tables/flowsheet_readings.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
flowsheet_definition_id bigint unsigned no Identifier of the related flowsheet definition record.
parameter_key varchar(60) no Parameter key.
recorded_at timestamp yes Date/time: recorded.
value varchar(255) yes Value.
unit varchar(30) yes Unit.
reading_source varchar(20) no Reading source.
source_device_id bigint unsigned yes Identifier of the related source device record.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
functional_statuses — Functional and cognitive status assessments.

Linked to patient by: functional_statuses.patient_id = patients.id · Files: tables/functional_statuses.json, tables/functional_statuses.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
assessed_date date yes Date: assessed.
ambulation varchar(255) yes Ambulation.
assistive_devices varchar(255) yes Assistive devices.
wheelchair tinyint(1) no Wheelchair.
fall_risk varchar(20) yes Fall risk.
recent_falls smallint unsigned yes Recent falls.
adl_status varchar(255) yes Adl status.
iadl_status varchar(255) yes Iadl status.
transfer_ability varchar(255) yes Transfer ability.
home_health tinyint(1) no Home health.
personal_care tinyint(1) no Personal care.
pt_ot tinyint(1) no Pt ot.
durable_medical_equipment text yes Durable medical equipment.
limitations text yes Limitations.
accessibility_needs text yes Accessibility needs.
status varchar(20) no Status.
source varchar(30) no Source.
created_by bigint unsigned yes Created by.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
group_attendance — Attendance at group sessions.

Linked to patient by: group_attendance.patient_id = patients.id · Files: tables/group_attendance.json, tables/group_attendance.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
session_id bigint unsigned no Identifier of the related session record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
status enum('present','absent','excused','late') no Status.
arrival_time time yes Arrival time.
departure_time time yes Departure time.
individual_response text yes Individual response.
participation_level enum('active','passive','disruptive','not_applicable') no Participation level.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
grouped_consent_signatures — Signatures on grouped consent packets.

Linked to patient by: grouped_consent_signatures.patient_id = patients.id · Files: tables/grouped_consent_signatures.json, tables/grouped_consent_signatures.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
user_id bigint unsigned yes Identifier of the related user record.
provider_signature_path varchar(255) yes Provider signature path. The referenced file is included under attachments/.
provider_name varchar(255) yes Provider name.
provider_signed_at timestamp yes Date/time: provider signed.
client_signature_path varchar(255) yes Client signature path. The referenced file is included under attachments/.
client_name varchar(255) yes Client name.
client_signed_at timestamp yes Date/time: client signed.
guest_token varchar(64) yes Guest token. Withheld: Authentication credential; not electronic health information.
guest_token_expires_at timestamp yes Date/time: guest token expires. Withheld: Authentication credential; not electronic health information.
selected_form_ids json no Selected form ids.
status varchar(255) no Status.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
hospital_events — Hospital admissions, emergency visits and transitions of care.

Linked to patient by: hospital_events.patient_id = patients.id · Files: tables/hospital_events.json, tables/hospital_events.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
event_type varchar(30) no Event type.
facility varchar(255) yes Facility.
treating_provider varchar(255) yes Treating provider.
admitted_at timestamp yes Date/time: admitted.
discharged_at timestamp yes Date/time: discharged.
reason text yes Reason.
diagnoses text yes Diagnoses.
procedures text yes Procedures.
medication_changes text yes Medication changes.
discharge_instructions text yes Discharge instructions.
records_requested tinyint(1) no Records requested.
records_requested_at timestamp yes Date/time: records requested.
records_received tinyint(1) no Records received.
records_received_at timestamp yes Date/time: records received.
transition_document_id bigint unsigned yes Identifier of the related transition document record.
care_team_notified tinyint(1) no Care team notified.
medications_reconciled tinyint(1) no Medications reconciled.
follow_up_scheduled tinyint(1) no Follow up scheduled.
patient_contacted tinyint(1) no Patient contacted.
care_plan_updated tinyint(1) no Care plan updated.
follow_up_appointment_id bigint unsigned yes Identifier of the related follow up appointment record.
follow_up_due date yes Follow up due.
follow_up_notes text yes Follow up notes.
transition_status varchar(20) no Transition status.
closed_at timestamp yes Date/time: closed.
closed_by bigint unsigned yes Closed by.
source varchar(30) no Source.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
imaging_studies — Imaging studies and reports.

Linked to patient by: imaging_studies.patient_id = patients.id · Files: tables/imaging_studies.json, tables/imaging_studies.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
encounter_id bigint unsigned yes Identifier of the related encounter record.
study_type varchar(60) no Study type.
loinc_code varchar(20) yes Loinc code.
body_site varchar(255) yes Body site.
order_date date yes Date: order.
study_date date yes Date: study.
indication text yes Indication.
performing_facility varchar(255) yes Performing facility.
interpreter varchar(255) yes Interpreter.
findings text yes Findings.
impression text yes Impression.
critical_flag tinyint(1) no Critical flag.
report_document varchar(255) yes Report document. The referenced file is included under attachments/.
image_link varchar(255) yes Image link.
follow_up_recommendation text yes Follow up recommendation.
reviewed_by bigint unsigned yes Reviewed by.
reviewed_at timestamp yes Date/time: reviewed.
patient_notified tinyint(1) no Patient notified.
acknowledged_at timestamp yes Date/time: acknowledged.
acknowledged_by bigint unsigned yes Acknowledged by.
status varchar(20) no Status.
source varchar(30) no Source.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
immunizations — Immunizations administered or reported, with CVX/MVX codes, lot, dose and route.

Linked to patient by: immunizations.patient_id = patients.id · Files: tables/immunizations.json, tables/immunizations.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
vaccine_name varchar(255) no Vaccine name.
cvx_code varchar(10) yes Cvx code.
mvx_code varchar(10) yes Mvx code.
manufacturer varchar(255) yes Manufacturer.
lot_number varchar(60) yes Lot number.
expiration_date date yes Date: expiration.
dose_number varchar(20) yes Dose number.
series varchar(60) yes Series.
administration_date date yes Date: administration.
route varchar(40) yes Route.
site varchar(60) yes Site.
administered_by varchar(255) yes Administered by.
location varchar(255) yes Location.
consent_status varchar(20) yes Consent status.
refused tinyint(1) no Refused.
refusal_reason varchar(255) yes Refusal reason.
contraindication varchar(255) yes Contraindication.
reaction text yes Reaction.
next_dose_due date yes Next dose due.
registry_status varchar(30) yes Registry status.
status varchar(20) no Status.
verification_status varchar(20) no Verification status.
source varchar(30) no Source.
recorded_by bigint unsigned yes Recorded by.
created_by bigint unsigned yes Created by.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
lab_orders — Laboratory orders.

Linked to patient by: lab_orders.patient_id = patients.id · Files: tables/lab_orders.json, tables/lab_orders.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
encounter_id bigint unsigned yes Identifier of the related encounter record.
test_name varchar(255) no Test name.
loinc_code varchar(20) yes Loinc code.
internal_code varchar(40) yes Internal code.
order_identifier varchar(60) yes Order identifier.
related_diagnosis_id bigint unsigned yes Identifier of the related related diagnosis record.
ordering_provider_id bigint unsigned yes Identifier of the related ordering provider record.
clinical_indication text yes Clinical indication.
priority varchar(20) no Priority.
fasting_instructions varchar(255) yes Fasting instructions.
specimen_type varchar(255) yes Specimen type.
collection_instructions text yes Collection instructions.
performing_lab varchar(255) yes Performing lab.
expected_collection_date date yes Date: expected collection.
expiration_date date yes Date: expiration.
standing_order tinyint(1) no Standing order.
requisition_number varchar(60) yes Requisition number.
transmission_status varchar(20) yes Transmission status.
status varchar(25) no Status.
cancellation_reason varchar(255) yes Cancellation reason.
follow_up_task_id bigint unsigned yes Identifier of the related follow up task record.
completion_status varchar(20) yes Completion status.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
lab_reports — Laboratory reports received.

Linked to patient by: lab_reports.patient_id = patients.id · Files: tables/lab_reports.json, tables/lab_reports.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
lab_order_id bigint unsigned yes Identifier of the related lab order record.
report_name varchar(255) no Report name.
loinc_code varchar(20) yes Loinc code.
accession_number varchar(60) yes Accession number.
performing_lab varchar(255) yes Performing lab.
specimen_type varchar(255) yes Specimen type.
collected_at timestamp yes Date/time: collected.
resulted_at timestamp yes Date/time: resulted.
received_at timestamp yes Date/time: received.
status varchar(20) no Status.
source varchar(20) no Source.
source_document_id bigint unsigned yes Identifier of the related source document record.
overall_abnormal tinyint(1) no Overall abnormal.
overall_critical tinyint(1) no Overall critical.
reviewed_by bigint unsigned yes Reviewed by.
reviewed_at timestamp yes Date/time: reviewed.
patient_notified tinyint(1) no Patient notified.
patient_notified_at timestamp yes Date/time: patient notified.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
lab_results — Laboratory result values with LOINC codes, units (UCUM), reference ranges and interpretation flags.

Linked to patient by: lab_results.patient_id = patients.id · Files: tables/lab_results.json, tables/lab_results.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
lab_report_id bigint unsigned no Identifier of the related lab report record.
test_name varchar(255) no Test name.
loinc_code varchar(20) yes Loinc code.
value varchar(255) yes Value.
value_numeric decimal(14,4) yes Value numeric.
value_code varchar(80) yes Value code.
value_code_system varchar(255) yes Value code system.
value_code_display varchar(255) yes Value code display.
unit varchar(30) yes Unit.
ucum_unit varchar(30) yes Ucum unit.
reference_low decimal(14,4) yes Reference low.
reference_high decimal(14,4) yes Reference high.
reference_text varchar(255) yes Reference text.
interpretation varchar(15) yes Interpretation.
abnormal_flag tinyint(1) no Abnormal flag.
critical_flag tinyint(1) no Critical flag.
method varchar(255) yes Method.
comments text yes Comments.
collected_at timestamp yes Date/time: collected.
resulted_at timestamp yes Date/time: resulted.
corrected_at timestamp yes Date/time: corrected.
status varchar(20) no Status.
follow_up_action varchar(255) yes Follow up action.
task_owner_id bigint unsigned yes Identifier of the related task owner record.
due_date date yes Date: due.
closure_status varchar(20) yes Closure status.
acknowledged_by bigint unsigned yes Acknowledged by.
acknowledged_at timestamp yes Date/time: acknowledged.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
medical_devices — Implantable and other medical devices (UDI where recorded).

Linked to patient by: medical_devices.patient_id = patients.id · Files: tables/medical_devices.json, tables/medical_devices.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
device_type varchar(40) no Device type.
device_name varchar(255) yes Device name.
manufacturer varchar(255) yes Manufacturer.
model varchar(255) yes Model.
serial_number varchar(255) yes Serial number.
udi varchar(255) yes Udi.
manufacture_date datetime yes Date: manufacture.
expiration_date datetime yes Date: expiration.
lot_number varchar(255) yes Lot number.
distinct_identifier varchar(255) yes Distinct identifier.
implant_date date yes Date: implant.
use_start_date date yes Date: use start.
use_end_date date yes Date: use end.
responsible_provider varchar(255) yes Responsible provider.
last_maintenance_date date yes Date: last maintenance.
next_maintenance_date date yes Date: next maintenance.
feeds_vitals tinyint(1) no Feeds vitals.
status varchar(20) no Status.
source varchar(30) no Source.
created_by bigint unsigned yes Created by.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
medical_history_items — Past medical, surgical, family and social history items.

Linked to patient by: medical_history_items.patient_id = patients.id · Files: tables/medical_history_items.json, tables/medical_history_items.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
category varchar(40) no Category.
title varchar(255) no Title.
snomed_code varchar(20) yes Snomed code.
icd10_code varchar(12) yes Icd10 code.
event_date date yes Date: event.
status varchar(20) no Status.
treatment text yes Treatment.
provider_facility varchar(255) yes Provider facility.
supporting_document varchar(255) yes Supporting document. The referenced file is included under attachments/.
verification_status varchar(20) no Verification status.
source varchar(30) no Source.
recorded_by bigint unsigned yes Recorded by.
created_by bigint unsigned yes Created by.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
medication_monitoring_schedules — Medication monitoring schedules (e.g. lab monitoring for psychotropics).

Linked to patient by: medication_monitoring_schedules.patient_id = patients.id · Files: tables/medication_monitoring_schedules.json, tables/medication_monitoring_schedules.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
medication_group varchar(30) no Medication group.
medication_name varchar(255) yes Medication name.
parameter varchar(255) no Parameter.
loinc_code varchar(20) yes Loinc code.
interval_days smallint unsigned yes Interval days.
last_done_date date yes Date: last done.
last_result varchar(255) yes Last result.
next_due_date date yes Date: next due.
status varchar(20) no Status.
notes text yes Notes.
source varchar(30) no Source.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_allergies — Allergies and intolerances with allergen (RxNorm/SNOMED where coded), reaction, severity and status.

Linked to patient by: patient_allergies.patient_id = patients.id · Files: tables/patient_allergies.json, tables/patient_allergies.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
allergen longtext yes Allergen.
allergen_code_system varchar(20) yes Allergen code system.
allergen_code varchar(50) yes Allergen code.
allergen_display longtext yes Allergen display.
allergen_term_type varchar(20) yes Allergen term type.
type varchar(255) yes Type.
allergy_intolerance_type varchar(20) no Allergy intolerance type.
is_no_known_allergy tinyint(1) no Flag (1 = yes, 0 = no): is no known allergy.
status varchar(20) no Status.
source varchar(30) yes Source.
onset_date date yes Date: onset.
reaction varchar(255) yes Reaction.
reaction_snomed_ct_concept_id varchar(50) yes Identifier of the related reaction snomed ct concept record.
reaction_list json yes Reaction list.
drfirst_rcopia_id varchar(255) yes Identifier of the related drfirst rcopia record.
drfirst_sync_status varchar(20) yes Drfirst sync status.
drfirst_synced_at timestamp yes Date/time: drfirst synced.
drfirst_last_error text yes Drfirst last error.
severity varchar(255) yes Severity.
severity_snomed_ct_concept_id varchar(50) yes Identifier of the related severity snomed ct concept record.
ingredient_rxnorm_id varchar(50) yes Identifier of the related ingredient rxnorm record.
ingredient_name varchar(255) yes Ingredient name.
ingredient_rxnorm_ids json yes Ingredient rxnorm ids.
ingredient_names json yes Ingredient names.
terminology_version varchar(80) yes Terminology version.
terminology_effective_date date yes Date: terminology effective.
allergen_drug_rcopia_id varchar(255) yes Identifier of the related allergen drug rcopia record.
ndc_id varchar(50) yes Identifier of the related ndc record.
first_databank_med_id varchar(50) yes Identifier of the related first databank med record.
drug_rxnorm_id varchar(50) yes Identifier of the related drug rxnorm record.
allergen_group_id varchar(50) yes Identifier of the related allergen group record.
fdb_specific_group_id varchar(50) yes Identifier of the related fdb specific group record.
reconciliation_status varchar(20) no Reconciliation status.
last_reconciled_at timestamp yes Date/time: last reconciled.
reconciled_by int unsigned yes Reconciled by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_amendments — Patient requests to amend a record, the decision (accepted amendment, or denial with its basis), statements of disagreement and rebuttals. record_type/record_id identify the affected record.

Linked to patient by: patient_amendments.patient_id = patients.id · Files: tables/patient_amendments.json, tables/patient_amendments.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id int unsigned yes Identifier of the practice (tenant) that holds the record.
record_type varchar(60) no Record type.
record_id bigint unsigned yes Identifier of the related record record.
record_label varchar(255) yes Record label.
requested_by_name varchar(255) yes Requested by name.
requester_relationship varchar(40) no Requester relationship.
request_method varchar(30) no Request method.
request_received_at datetime no Date/time: request received.
requested_change text no Requested change.
request_reason text yes Request reason.
status varchar(20) no Status.
amendment_text text yes Amendment text.
denial_basis varchar(40) yes Denial basis.
denial_reason text yes Denial reason.
decided_by bigint unsigned yes Decided by.
decided_by_name varchar(255) yes Decided by name.
decided_at datetime yes Date/time: decided.
patient_notified_at datetime yes Date/time: patient notified.
disagreement_statement text yes Disagreement statement.
disagreement_received_at datetime yes Date/time: disagreement received.
rebuttal_statement text yes Rebuttal statement.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_appointments — Appointments and encounters.

Linked to patient by: patient_appointments.patient_id = patients.id · Files: tables/patient_appointments.json, tables/patient_appointments.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
staff_id int unsigned yes Identifier of the related staff record.
authorization_id bigint unsigned yes Identifier of the related authorization record.
service_code_id bigint unsigned yes Identifier of the related service code record.
appointment_type enum('individual','group','field_visit','telehealth') no Appointment type.
is_external_medical tinyint(1) no Flag (1 = yes, 0 = no): is external medical.
external_provider varchar(255) yes External provider.
appointment_date date no Date: appointment.
start_time time no Start time.
end_time time yes End time.
status enum('scheduled','completed','no_show','cancelled','rescheduled') no Status.
location varchar(255) yes Location.
transportation_need varchar(40) yes Transportation need.
accompaniment varchar(255) yes Accompaniment.
visit_outcome text yes Visit outcome.
documents_received tinyint(1) no Documents received.
follow_up text yes Follow up.
missed_reason varchar(255) yes Missed reason.
reminder_sent_at timestamp yes Date/time: reminder sent.
notes text yes Notes.
is_recurring tinyint(1) no Flag (1 = yes, 0 = no): is recurring.
recurrence_rule varchar(100) yes Recurrence rule.
parent_appointment_id bigint unsigned yes Identifier of the related parent appointment record.
created_by bigint unsigned yes Created by.
cancelled_at timestamp yes Date/time: cancelled.
no_show_at timestamp yes Date/time: no show.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_authorizations — Payer service authorizations and unit balances.

Linked to patient by: patient_authorizations.patient_id = patients.id · Files: tables/patient_authorizations.json, tables/patient_authorizations.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
insurance_id bigint unsigned yes Identifier of the related insurance record.
payer_name varchar(150) no Payer name.
auth_number varchar(50) yes Auth number.
program_type varchar(50) yes Program type.
program_types json yes Program types.
service_type varchar(100) yes Service type.
units_authorized int unsigned no Units authorized.
units_used int unsigned no Units used.
start_date date no Date: start.
end_date date no Date: end.
status enum('pending','active','expired','denied') no Status.
denial_reason text yes Denial reason.
notes text yes Notes.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_care_coordination_entries — Care coordination activities.

Linked to patient by: patient_care_coordination_entries.patient_id = patients.id · Files: tables/patient_care_coordination_entries.json, tables/patient_care_coordination_entries.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id int unsigned yes Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
entry_date date no Date: entry.
type varchar(30) no Type.
category varchar(50) no Category.
referred_to varchar(255) yes Referred to.
referred_by varchar(255) yes Referred by.
contact_method varchar(30) yes Contact method.
is_billable tinyint(1) no Flag (1 = yes, 0 = no): is billable.
status varchar(20) no Status.
description text yes Description.
outcome text yes Outcome.
follow_up_date date yes Date: follow up.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_clinical_documents — Clinical documents (letters, summaries) held in the chart.

Linked to patient by: patient_clinical_documents.patient_id = patients.id · Files: tables/patient_clinical_documents.json, tables/patient_clinical_documents.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
treatment_plan_id bigint unsigned yes Identifier of the related treatment plan record.
encounter_id bigint unsigned yes Identifier of the related encounter record.
type enum('monthly_summary','discharge_summary') no Type.
title varchar(255) no Title.
period_start date yes Period start.
period_end date yes Period end.
content_html longtext no Content html.
generated_by bigint unsigned yes Generated by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_clinical_team_members — Members of the patient's care team within the practice.

Linked to patient by: patient_clinical_team_members.patient_id = patients.id · Files: tables/patient_clinical_team_members.json, tables/patient_clinical_team_members.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
staff_id bigint unsigned no Identifier of the related staff record.
team_role varchar(255) yes Team role.
is_primary tinyint(1) no Flag (1 = yes, 0 = no): is primary.
assigned_date date yes Date: assigned.
end_date date yes Date: end.
status enum('active','inactive') no Status.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_contact_notes — Collateral and contact notes: who was contacted, when, how and why.

Linked to patient by: patient_contact_notes.patient_id = patients.id · Files: tables/patient_contact_notes.json, tables/patient_contact_notes.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id int unsigned yes Identifier of the practice (tenant) that holds the record.
treatment_plan_id bigint unsigned yes Identifier of the related treatment plan record.
treatment_plan_type varchar(255) yes Treatment plan type.
note_date date no Date: note.
contacted_at datetime yes Date/time: contacted.
contacted_party_name varchar(255) yes Contacted party name.
contacted_party_relationship varchar(255) yes Contacted party relationship.
methods json yes Methods.
method_other varchar(255) yes Method other.
reason varchar(255) yes Reason.
payer_name varchar(255) yes Payer name.
payer_member_id text yes Identifier of the related payer member record.
contact_note longtext no Contact note.
created_by bigint unsigned yes Created by.
signed_by bigint unsigned yes Signed by.
signature_name varchar(255) yes Signature name.
signature_credential varchar(255) yes Signature credential.
signed_at timestamp yes Date/time: signed.
provider_signature longtext yes Provider signature.
provider_signed_at datetime yes Date/time: provider signed.
client_signature longtext yes Client signature.
client_signed_at datetime yes Date/time: client signed.
client_name varchar(255) yes Client name.
supervisor_signature longtext yes Supervisor signature.
supervisor_signed_at datetime yes Date/time: supervisor signed.
supervisor_signed_by bigint unsigned yes Supervisor signed by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_diagnoses — Problem list / diagnoses with ICD-10-CM and SNOMED CT codes, onset and diagnosis dates, clinical and verification status.

Linked to patient by: patient_diagnoses.patient_id = patients.id · Files: tables/patient_diagnoses.json, tables/patient_diagnoses.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
icd10_code varchar(255) no Icd10 code.
snomed_code varchar(30) yes Snomed code.
description varchar(255) no Description.
type varchar(255) yes Type.
clinical_status varchar(20) yes Clinical status.
onset_date date yes Date: onset.
diagnosis_date date yes Date: diagnosis.
diagnosed_by varchar(255) yes Diagnosed by.
active tinyint(1) no Active.
reconciliation_status varchar(20) no Reconciliation status.
last_reconciled_at timestamp yes Date/time: last reconciled.
reconciled_by int unsigned yes Reconciled by.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
verification_status varchar(20) yes Verification status.
severity varchar(20) yes Severity.
category varchar(30) no Category.
last_reviewed_at timestamp yes Date/time: last reviewed.
source varchar(40) yes Source.
icd9_code varchar(20) yes Icd9 code.
icd9_description varchar(255) yes Icd9 description.
snomed_description varchar(255) yes Snomed description.
encounter_id bigint unsigned yes Identifier of the related encounter record.
diagnosed_by_staff_id int unsigned yes Identifier of the related diagnosed by staff record.
drfirst_rcopia_id varchar(100) yes Identifier of the related drfirst rcopia record.
drfirst_sync_status varchar(20) no Drfirst sync status.
drfirst_synced_at timestamp yes Date/time: drfirst synced.
drfirst_last_error text yes Drfirst last error.
patient_discharge_notes — Discharge notes: reason, diagnosis at discharge, services provided, aftercare and referrals.

Linked to patient by: patient_discharge_notes.patient_id = patients.id · Files: tables/patient_discharge_notes.json, tables/patient_discharge_notes.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id int unsigned yes Identifier of the practice (tenant) that holds the record.
treatment_plan_id bigint unsigned yes Identifier of the related treatment plan record.
treatment_plan_type varchar(255) yes Treatment plan type.
note_date date no Date: note.
admission_date date yes Date: admission.
discharge_date date yes Date: discharge.
discharge_type varchar(255) yes Discharge type.
discharge_reason text yes Discharge reason.
presenting_problem text yes Presenting problem.
diagnosis_at_discharge text yes Diagnosis at discharge.
services_provided text yes Services provided.
progress_summary text yes Progress summary.
goal_status varchar(255) yes Goal status.
medications_at_discharge text yes Medications at discharge.
aftercare_plan text yes Aftercare plan.
referrals text yes Referrals.
follow_up_date date yes Date: follow up.
risk_at_discharge text yes Risk at discharge.
client_participated tinyint(1) no Client participated.
discharge_note longtext no Discharge note.
created_by bigint unsigned yes Created by.
signed_by bigint unsigned yes Signed by.
signature_name varchar(255) yes Signature name.
signature_credential varchar(255) yes Signature credential.
signed_at timestamp yes Date/time: signed.
provider_signature longtext yes Provider signature.
provider_signed_at datetime yes Date/time: provider signed.
client_signature longtext yes Client signature.
client_signed_at datetime yes Date/time: client signed.
client_name varchar(255) yes Client name.
supervisor_signature longtext yes Supervisor signature.
supervisor_signed_at datetime yes Date/time: supervisor signed.
supervisor_signed_by bigint unsigned yes Supervisor signed by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_discharge_plans — Discharge and transition plans.

Linked to patient by: patient_discharge_plans.patient_id = patients.id · Files: tables/patient_discharge_plans.json, tables/patient_discharge_plans.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id int unsigned yes Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
treatment_plan_id bigint unsigned yes Identifier of the related treatment plan record.
status varchar(20) no Status.
planned_discharge_date date yes Date: planned discharge.
actual_discharge_date date yes Date: actual discharge.
reason_for_discharge varchar(255) yes Reason for discharge.
final_risk_level varchar(20) yes Final risk level.
final_outcome_summary text yes Final outcome summary.
final_treatment_plan_status varchar(30) yes Final treatment plan status.
aftercare_referrals text yes Aftercare referrals.
medication_status text yes Medication status.
crisis_plan_at_discharge text yes Crisis plan at discharge.
patient_notified_at date yes Date/time: patient notified.
provider_notified_at date yes Date/time: provider notified.
records_sent_at date yes Date/time: records sent.
records_sent_to varchar(255) yes Records sent to.
follow_up_recommendations text yes Follow up recommendations.
readmission_risk varchar(20) yes Readmission risk.
post_discharge_follow_up_date date yes Date: post discharge follow up.
post_discharge_follow_up_completed tinyint(1) no Post discharge follow up completed.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_documents — Documents uploaded to the chart. The files themselves are under attachments/patient_documents/.

Linked to patient by: patient_documents.patient_id = patients.id · Files: tables/patient_documents.json, tables/patient_documents.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id int unsigned yes Identifier of the practice (tenant) that holds the record.
patient_insurance_id bigint unsigned yes Identifier of the related patient insurance record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
category varchar(50) no Category.
title varchar(255) no Title.
original_filename varchar(255) no Original filename.
file_path varchar(255) no File path. The referenced file is included under attachments/.
mime_type varchar(100) yes Mime type.
file_size bigint unsigned yes File size.
description text yes Description.
uploaded_by bigint unsigned yes Uploaded by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_emergency_contacts — Emergency contacts and authorized persons.

Linked to patient by: patient_emergency_contacts.patient_id = patients.id · Files: tables/patient_emergency_contacts.json, tables/patient_emergency_contacts.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
name varchar(255) no Name.
relationship varchar(255) no Relationship.
phone varchar(255) no Phone.
phone_alt varchar(255) yes Phone alt.
email varchar(255) yes Email.
address varchar(255) yes Address.
is_primary tinyint(1) no Flag (1 = yes, 0 = no): is primary.
authorized_for_info tinyint(1) no Authorized for info.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_group_members — Group memberships.

Linked to patient by: patient_group_members.patient_id = patients.id · Files: tables/patient_group_members.json, tables/patient_group_members.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
group_id bigint unsigned no Identifier of the related group record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
enrollment_date date no Date: enrollment.
discharge_date date yes Date: discharge.
status enum('active','discharged','on_hold') no Status.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_incidents — Incident and event reports involving the patient.

Linked to patient by: patient_incidents.patient_id = patients.id · Files: tables/patient_incidents.json, tables/patient_incidents.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id int unsigned yes Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
occurred_at datetime no Date/time: occurred.
incident_type varchar(50) no Incident type.
severity varchar(20) no Severity.
status varchar(20) no Status.
location varchar(255) yes Location.
description text no Description.
immediate_actions text yes Immediate actions.
witnesses varchar(255) yes Witnesses.
reported_by varchar(255) yes Reported by.
mandated_reporting_required tinyint(1) no Mandated reporting required.
mandated_reporting_filed_at date yes Date/time: mandated reporting filed.
mandated_reporting_agency varchar(255) yes Mandated reporting agency.
root_cause_analysis text yes Root cause analysis.
corrective_action text yes Corrective action.
follow_up_documentation text yes Follow up documentation.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_insurance — Health insurance coverage: payer, member and group numbers, subscriber, effective dates.

Linked to patient by: patient_insurance.patient_id = patients.id · Files: tables/patient_insurance.json, tables/patient_insurance.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
insurance_type varchar(255) yes Insurance type.
payer_name varchar(255) no Payer name.
payer_id varchar(255) yes Identifier of the related payer record.
member_id text yes Identifier of the related member record.
group_number text yes Group number.
subscriber_name varchar(255) yes Subscriber name.
subscriber_relationship varchar(255) yes Subscriber relationship.
subscriber_dob date yes Subscriber dob.
subscriber_gender char(1) yes Subscriber gender.
effective_date date yes Date: effective.
termination_date date yes Date: termination.
copay varchar(255) yes Copay.
deductible varchar(255) yes Deductible.
requires_authorization tinyint(1) no Requires authorization.
active tinyint(1) no Active.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_medications — Medication list and prescriptions: drug (RxNorm/NDC where coded), dose, route, frequency, dates, prescriber, pharmacy and adherence.

Linked to patient by: patient_medications.patient_id = patients.id · Files: tables/patient_medications.json, tables/patient_medications.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
encounter_id bigint unsigned yes Identifier of the related encounter record.
fhir_intent varchar(20) no Fhir intent.
medication_name varchar(255) no Medication name.
dosage varchar(255) yes Dosage.
frequency varchar(255) yes Frequency.
route varchar(255) yes Route.
prescribing_provider varchar(255) yes Prescribing provider.
provider_staff_id int unsigned yes Identifier of the related provider staff record.
preparer_staff_id int unsigned yes Identifier of the related preparer staff record.
is_inpatient_medication tinyint(1) no Flag (1 = yes, 0 = no): is inpatient medication.
history_source varchar(100) yes History source.
source varchar(30) yes Source.
has_scheduled_drug tinyint(1) no Flag (1 = yes, 0 = no): has scheduled drug.
pharmacy varchar(255) yes Pharmacy.
pharmacy_rcopia_id varchar(100) yes Identifier of the related pharmacy rcopia record.
pharmacy_ncpdp_id varchar(50) yes Identifier of the related pharmacy ncpdp record.
drug_rcopia_id varchar(100) yes Identifier of the related drug rcopia record.
ndc_id varchar(50) yes Identifier of the related ndc record.
first_databank_med_id varchar(50) yes Identifier of the related first databank med record.
drug_rxnorm_id varchar(50) yes Identifier of the related drug rxnorm record.
ingredient_rxnorm_ids json yes Ingredient rxnorm ids.
ingredient_names json yes Ingredient names.
terminology_version varchar(80) yes Terminology version.
brand_name varchar(255) yes Brand name.
generic_name varchar(255) yes Generic name.
form varchar(100) yes Form.
strength varchar(100) yes Strength.
schedule varchar(50) yes Schedule.
supply varchar(100) yes Supply.
compound tinyint(1) yes Compound.
dosage_instructions json yes Dosage instructions.
patient_notes text yes Patient notes.
duration varchar(50) yes Duration.
quantity decimal(12,4) yes Quantity.
quantity_unit varchar(50) yes Quantity unit.
refills smallint unsigned yes Refills.
substitution_permitted tinyint(1) yes Substitution permitted.
other_notes text yes Other notes.
comments text yes Comments.
start_date date yes Date: start.
end_date date yes Date: end.
fill_date date yes Date: fill.
stop_reason varchar(255) yes Stop reason.
active tinyint(1) no Active.
reason text yes Reason.
side_effects text yes Side effects.
adherent tinyint(1) no Adherent.
reconciliation_status varchar(20) no Reconciliation status.
last_reconciled_at timestamp yes Date/time: last reconciled.
reconciled_by int unsigned yes Reconciled by.
notes text yes Notes.
drfirst_rcopia_id varchar(100) yes Identifier of the related drfirst rcopia record.
drfirst_sync_status varchar(20) no Drfirst sync status.
drfirst_synced_at timestamp yes Date/time: drfirst synced.
drfirst_last_error text yes Drfirst last error.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_messages — Secure messages between the patient and the practice.

Linked to patient by: patient_messages.patient_id = patients.id · Files: tables/patient_messages.json, tables/patient_messages.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
sender_type enum('patient','staff') no Sender type.
sender_name varchar(255) no Sender name.
subject varchar(255) yes Subject.
body text no Body.
is_read tinyint(1) no Flag (1 = yes, 0 = no): is read.
read_at timestamp yes Date/time: read.
parent_id bigint unsigned yes Identifier of the related parent record.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_physical_records — Physical health records captured during visits (measurements and observations).

Linked to patient by: patient_physical_records.patient_id = patients.id · Files: tables/patient_physical_records.json, tables/patient_physical_records.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
recorded_date date no Date: recorded.
height varchar(50) yes Height.
weight varchar(50) yes Weight.
blood_pressure varchar(50) yes Blood pressure.
heart_rate varchar(50) yes Heart rate.
temperature varchar(50) yes Temperature.
notes text yes Notes.
primary_care_provider varchar(255) yes Primary care provider.
pregnancy_status varchar(50) yes Pregnancy status.
chronic_conditions text yes Chronic conditions.
dental_needs text yes Dental needs.
vision_hearing_needs text yes Vision hearing needs.
medical_referrals text yes Medical referrals.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_portal_documents — Documents shared through the patient portal. Files under attachments/patient_portal_documents/.

Linked to patient by: patient_portal_documents.patient_id = patients.id · Files: tables/patient_portal_documents.json, tables/patient_portal_documents.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
document_type enum('insurance_card_front','insurance_card_back','photo_id_front','photo_id_back','other') no Document type.
file_name varchar(255) no File name.
file_path varchar(255) no File path. The referenced file is included under attachments/.
file_size int yes File size.
uploaded_by_patient tinyint(1) no Uploaded by patient.
reviewed tinyint(1) no Reviewed.
reviewed_at timestamp yes Date/time: reviewed.
notes varchar(255) yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_programs — Program enrollments / episodes of care.

Linked to patient by: patient_programs.patient_id = patients.id · Files: tables/patient_programs.json, tables/patient_programs.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
program_type varchar(255) yes Program type.
program_code varchar(60) yes Program code.
jurisdiction varchar(10) yes Jurisdiction.
payer_key varchar(60) yes Payer key.
episode_number int unsigned no Episode number.
referral_source varchar(255) yes Referral source.
referral_date date yes Date: referral.
urgency varchar(20) yes Urgency.
presenting_need text yes Presenting need.
recommended_level varchar(40) yes Recommended level.
authorized_level varchar(40) yes Authorized level.
patient_selected_level varchar(40) yes Patient selected level.
actual_level varchar(40) yes Actual level.
level_variance_reason text yes Level variance reason.
admission_date date yes Date: admission.
discharge_date date yes Date: discharge.
discharge_reason varchar(60) yes Discharge reason.
discharge_outcome varchar(60) yes Discharge outcome.
discharge_summary text yes Discharge summary.
transferred_from_id bigint unsigned yes Identifier of the related transferred from record.
transferred_to_id bigint unsigned yes Identifier of the related transferred to record.
review_due_date date yes Date: review due.
last_review_date date yes Date: last review.
review_interval_days smallint unsigned yes Review interval days.
intensity_target decimal(6,2) yes Intensity target.
intensity_period varchar(10) yes Intensity period.
status_history json yes Status history.
pathway_overrides json yes Pathway overrides.
assigned_assessments json yes Assigned assessments.
episode_data json yes Episode data.
program_name varchar(255) yes Program name.
enrollment_date date yes Date: enrollment.
end_date date yes Date: end.
assigned_staff_id bigint unsigned yes Identifier of the related assigned staff record.
status varchar(255) yes Status.
authorization_number varchar(255) yes Authorization number.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_progress_note_versions — Prior versions of progress notes, kept when a note is edited after signing.

Linked to patient by: patient_progress_note_versions.patient_id = patients.id · Files: tables/patient_progress_note_versions.json, tables/patient_progress_note_versions.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
progress_note_id bigint unsigned no Identifier of the related progress note record.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
version_number int unsigned no Version number.
content_hash char(64) no Content hash.
snapshot_json json no Snapshot json.
submitted_by bigint unsigned yes Submitted by.
submitted_at timestamp no Date/time: submitted.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_progress_notes — Clinical progress notes for services delivered: service date/location, observations, interventions, response, progress, signatures.

Linked to patient by: patient_progress_notes.patient_id = patients.id · Files: tables/patient_progress_notes.json, tables/patient_progress_notes.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
treatment_plan_id bigint unsigned yes Identifier of the related treatment plan record.
goal_id bigint unsigned yes Identifier of the related goal record.
objective_id bigint unsigned yes Identifier of the related objective record.
intervention_id bigint unsigned yes Identifier of the related intervention record.
progress_note_id bigint unsigned yes Identifier of the related progress note record.
profession varchar(255) yes Profession.
format_id bigint unsigned yes Identifier of the related format record.
answers json yes Answers.
note_type varchar(255) no Note type.
service_date date no Date: service.
service_location varchar(255) yes Service location.
what_happened longtext yes What happened.
client_statement longtext yes Client statement.
staff_observation longtext yes Staff observation.
intervention_provided longtext yes Intervention provided.
client_response longtext yes Client response.
progress_made longtext yes Progress made.
next_step longtext yes Next step.
service_code_id bigint unsigned yes Identifier of the related service code record.
session_started_at timestamp yes Date/time: session started.
session_ended_at timestamp yes Date/time: session ended.
duration_minutes int unsigned yes Duration minutes.
billing_units int unsigned yes Billing units.
location_lat decimal(10,7) yes Location lat.
location_lng decimal(10,7) yes Location lng.
location_address varchar(255) yes Location address.
ai_generated_note longtext yes Ai generated note.
progress_status enum('not_started','in_progress','no_progress','minimal','moderate','significant','achieved','regression') no Progress status.
quality_score tinyint unsigned yes Quality score.
review_status enum('pending','approved','returned','not_approved','flagged','non_billable','billed') no Review status.
reviewed_by bigint unsigned yes Reviewed by.
reviewed_at timestamp yes Date/time: reviewed.
supervisor_comment longtext yes Supervisor comment.
billed_by bigint unsigned yes Billed by.
billed_at timestamp yes Date/time: billed.
attestation_confirmed tinyint(1) no Attestation confirmed.
attested_at timestamp yes Date/time: attested.
submitted_at timestamp yes Date/time: submitted.
current_note_version_id bigint unsigned yes Identifier of the related current note version record.
current_billing_readiness_review_id bigint unsigned yes Identifier of the related current billing readiness review record.
billing_readiness_status varchar(255) yes Billing readiness status.
billing_hold tinyint(1) no Billing hold.
created_by bigint unsigned yes Created by.
rendering_staff_id bigint unsigned yes Identifier of the related rendering staff record.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
guest_token varchar(64) yes Guest token. Withheld: Authentication credential; not electronic health information.
guest_token_expires_at timestamp yes Date/time: guest token expires. Withheld: Authentication credential; not electronic health information.
client_signature longtext yes Client signature.
client_signed_at timestamp yes Date/time: client signed.
client_name varchar(255) yes Client name.
provider_signature longtext yes Provider signature.
provider_signed_at datetime yes Date/time: provider signed.
supervisor_signature text yes Supervisor signature.
supervisor_signed_at timestamp yes Date/time: supervisor signed.
supervisor_signed_by bigint unsigned yes Supervisor signed by.
patient_referrals — Referrals to and from other providers.

Linked to patient by: patient_referrals.patient_id = patients.id · Files: tables/patient_referrals.json, tables/patient_referrals.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
client_name varchar(150) no Client name.
client_phone varchar(20) yes Client phone.
client_email varchar(150) yes Client email.
referral_source varchar(150) yes Referral source.
referral_source_type enum('provider','self','family','community','court','school','insurance','other') no Referral source type.
referral_date date no Date: referral.
program_type varchar(50) yes Program type.
stage enum('received','insurance_pending','insurance_verified','intake_scheduled','intake_completed','assessment','treatment_plan','admitted','active','declined','no_show','lost') no Stage.
assigned_to bigint unsigned yes Assigned to.
authorized_by varchar(255) yes Authorized by.
sent_at timestamp yes Date/time: sent.
consent_included tinyint(1) no Consent included.
records_sent tinyint(1) no Records sent.
receipt_acknowledged_at timestamp yes Date/time: receipt acknowledged.
appointment_scheduled tinyint(1) no Appointment scheduled.
appointment_completed_at timestamp yes Date/time: appointment completed.
consult_report_received tinyint(1) no Consult report received.
consult_report_reviewed_at timestamp yes Date/time: consult report reviewed.
recommendations_incorporated tinyint(1) no Recommendations incorporated.
closure_reason varchar(255) yes Closure reason.
insurance_status enum('unknown','verified','inactive','pending') no Insurance status.
contact_attempts tinyint unsigned no Contact attempts.
last_contact_at timestamp yes Date/time: last contact.
documents_received json yes Documents received.
documents_missing json yes Documents missing.
outcome enum('admitted','declined_by_client','declined_by_clinic','transferred','no_show','lost_to_followup') yes Outcome.
outcome_date date yes Date: outcome.
notes text yes Notes.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_risk_assessments — Risk and safety assessments and safety plans.

Linked to patient by: patient_risk_assessments.patient_id = patients.id · Files: tables/patient_risk_assessments.json, tables/patient_risk_assessments.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id int unsigned yes Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
assessment_date date no Date: assessment.
overall_risk_level varchar(20) no Overall risk level.
suicide_risk varchar(20) yes Suicide risk.
self_harm_risk varchar(20) yes Self harm risk.
homicide_violence_risk varchar(20) yes Homicide violence risk.
psychosis_risk varchar(20) yes Psychosis risk.
substance_overdose_risk varchar(20) yes Substance overdose risk.
abuse_neglect_concerns longtext yes Abuse neglect concerns.
warning_signs longtext yes Warning signs.
triggers longtext yes Triggers.
coping_strategies longtext yes Coping strategies.
protective_factors longtext yes Protective factors.
safety_plan_steps longtext yes Safety plan steps.
preferred_hospital varchar(255) yes Preferred hospital.
preferred_crisis_center varchar(255) yes Preferred crisis center.
additional_crisis_contacts longtext yes Additional crisis contacts.
assessed_by bigint unsigned yes Assessed by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_screener_schedules — Scheduled screenings/assessments for the patient.

Linked to patient by: patient_screener_schedules.patient_id = patients.id · Files: tables/patient_screener_schedules.json, tables/patient_screener_schedules.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
assessment_id bigint unsigned no Identifier of the related assessment record.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
assigned_by bigint unsigned yes Assigned by.
frequency_days int unsigned no Frequency days.
last_administered_at date yes Date/time: last administered.
next_due_at date yes Date/time: next due.
is_active tinyint(1) no Flag (1 = yes, 0 = no): is active.
notes longtext yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_symptoms — Symptoms reported or observed.

Linked to patient by: patient_symptoms.patient_id = patients.id · Files: tables/patient_symptoms.json, tables/patient_symptoms.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
symptom varchar(255) no Symptom.
onset_date date yes Date: onset.
severity varchar(20) yes Severity.
duration varchar(255) yes Duration.
frequency varchar(255) yes Frequency.
aggravating_factors text yes Aggravating factors.
relieving_factors text yes Relieving factors.
associated_symptoms text yes Associated symptoms.
reported_by varchar(20) no Reported by.
escalated tinyint(1) no Escalated.
provider_notified tinyint(1) no Provider notified.
provider_notified_at timestamp yes Date/time: provider notified.
outcome text yes Outcome.
status varchar(20) no Status.
source varchar(30) no Source.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_treatment_plans — Treatment / care plans: problems, strengths, barriers, goals summary, review dates and signatures.

Linked to patient by: patient_treatment_plans.patient_id = patients.id · Files: tables/patient_treatment_plans.json, tables/patient_treatment_plans.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
program_type varchar(255) yes Program type.
merged_program_types json yes Merged program types.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
plan_type varchar(255) yes Plan type.
status enum('draft','active','under_review','completed','discontinued') no Status.
snap longtext yes Snap.
follow_up_outcomes longtext yes Follow up outcomes.
referral longtext yes Referral.
is_inactive tinyint(1) no Flag (1 = yes, 0 = no): is inactive.
diagnosis_summary longtext yes Diagnosis summary.
general_goals text yes General goals.
client_goal text yes Client goal.
problems longtext yes Problems.
impairments longtext yes Impairments.
strengths longtext yes Strengths.
strengths_description longtext yes Strengths description.
symptom_free_period_description longtext yes Symptom free period description.
needs longtext yes Needs.
abilities longtext yes Abilities.
preferences longtext yes Preferences.
barriers longtext yes Barriers.
barriers_description longtext yes Barriers description.
risk_factors longtext yes Risk factors.
start_date date yes Date: start.
target_date date yes Date: target.
end_date date yes Date: end.
duration_days int unsigned yes Duration days.
review_frequency_days int no Review frequency days.
next_review_date date yes Date: next review.
discharge_criteria longtext yes Discharge criteria.
discharge_note longtext yes Discharge note.
contact_note longtext yes Contact note.
source_assessment_id bigint unsigned yes Identifier of the related source assessment record.
renewed_from_plan_id bigint unsigned yes Identifier of the related renewed from plan record.
ai_drafted_at timestamp yes Date/time: ai drafted.
treatment_note_id bigint unsigned yes Identifier of the related treatment note record.
manage_treatment_id bigint unsigned yes Identifier of the related manage treatment record.
profession varchar(255) yes Profession.
format varchar(255) yes Format.
answers json yes Answers.
ai_generated_plan longtext yes Ai generated plan.
ai_clinical_note longtext yes Ai clinical note.
ai_note_generated_at timestamp yes Date/time: ai note generated.
progress_note_suggestions json yes Progress note suggestions.
created_by bigint unsigned yes Created by.
clinician_signature longtext yes Clinician signature.
clinician_signed_at timestamp yes Date/time: clinician signed.
clinician_signed_by bigint unsigned yes Clinician signed by.
client_signature longtext yes Client signature.
client_signed_at timestamp yes Date/time: client signed.
client_name varchar(255) yes Client name.
supervisor_signature longtext yes Supervisor signature.
supervisor_signed_at timestamp yes Date/time: supervisor signed.
supervisor_signed_by bigint unsigned yes Supervisor signed by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
guest_token varchar(64) yes Guest token. Withheld: Authentication credential; not electronic health information.
guest_token_expires_at timestamp yes Date/time: guest token expires. Withheld: Authentication credential; not electronic health information.
patient_users — Staff members linked to the patient.

Linked to patient by: patient_users.patient_id = patients.id · Files: tables/patient_users.json, tables/patient_users.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
user_id bigint unsigned no Identifier of the related user record.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_vitals — Vital signs: blood pressure, pulse, respiratory rate, temperature, SpO2, height, weight, BMI, pain and related measurements.

Linked to patient by: patient_vitals.patient_id = patients.id · Files: tables/patient_vitals.json, tables/patient_vitals.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
encounter_id bigint unsigned yes Identifier of the related encounter record.
systolic_bp smallint unsigned yes Systolic bp.
diastolic_bp smallint unsigned yes Diastolic bp.
pulse smallint unsigned yes Pulse.
respiratory_rate smallint unsigned yes Respiratory rate.
temperature decimal(5,2) yes Temperature.
temperature_unit varchar(4) no Temperature unit.
oxygen_saturation decimal(5,2) yes Oxygen saturation.
height decimal(6,2) yes Height.
height_unit varchar(4) no Height unit.
weight decimal(6,2) yes Weight.
weight_unit varchar(4) no Weight unit.
bmi decimal(5,2) yes Bmi.
pain_score tinyint unsigned yes Pain score.
blood_glucose decimal(6,2) yes Blood glucose.
waist_circumference decimal(6,2) yes Waist circumference.
orthostatic_systolic smallint unsigned yes Orthostatic systolic.
orthostatic_diastolic smallint unsigned yes Orthostatic diastolic.
head_circumference decimal(6,2) yes Head circumference.
oxygen_flow_rate decimal(5,2) yes Oxygen flow rate.
supplemental_oxygen tinyint(1) no Supplemental oxygen.
measured_at timestamp no Date/time: measured.
recorded_by_type varchar(20) yes Recorded by type.
recorded_by_id bigint unsigned yes Identifier of the related recorded by record.
location varchar(255) yes Location.
patient_position varchar(20) yes Patient position.
method varchar(40) yes Method.
device_name varchar(255) yes Device name.
status varchar(20) no Status.
source varchar(30) no Source.
corrected_from json yes Corrected from.
correction_reason text yes Correction reason.
corrected_by bigint unsigned yes Corrected by.
corrected_at timestamp yes Date/time: corrected.
reviewed_by bigint unsigned yes Reviewed by.
reviewed_at timestamp yes Date/time: reviewed.
notes text yes Notes.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
weight_for_height_percentile decimal(5,2) yes Weight for height percentile.
bmi_for_age_percentile decimal(5,2) yes Bmi for age percentile.
head_circumference_percentile decimal(5,2) yes Head circumference percentile.
physical_care_plans — Physical health care plans.

Linked to patient by: physical_care_plans.patient_id = patients.id · Files: tables/physical_care_plans.json, tables/physical_care_plans.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
need_problem text no Need problem.
goal text yes Goal.
intervention text yes Intervention.
responsibility varchar(30) no Responsibility.
responsible_discipline varchar(255) yes Responsible discipline.
referral varchar(255) yes Referral.
target_date date yes Date: target.
barriers text yes Barriers.
patient_preferences text yes Patient preferences.
progress text yes Progress.
outcome text yes Outcome.
review_date date yes Date: review.
status varchar(20) no Status.
source varchar(30) no Source.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
preventive_care_items — Preventive care and screening items.

Linked to patient by: preventive_care_items.patient_id = patients.id · Files: tables/preventive_care_items.json, tables/preventive_care_items.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
measure_key varchar(60) no Measure key.
measure_label varchar(255) no Measure label.
loinc_code varchar(20) yes Loinc code.
last_completed_date date yes Date: last completed.
next_due_date date yes Date: next due.
interval_months smallint unsigned yes Interval months.
status varchar(24) no Status.
completed_where varchar(20) yes Completed where.
notes text yes Notes.
source varchar(30) no Source.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
procedures — Procedures with CPT/HCPCS/SNOMED codes, dates, provider and outcome.

Linked to patient by: procedures.patient_id = patients.id · Files: tables/procedures.json, tables/procedures.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
procedure_name varchar(255) no Procedure name.
cpt_code varchar(10) yes Cpt code.
hcpcs_code varchar(10) yes Hcpcs code.
snomed_code varchar(20) yes Snomed code.
performed_date date yes Date: performed.
indication text yes Indication.
performing_provider varchar(255) yes Performing provider.
facility varchar(255) yes Facility.
outcome varchar(255) yes Outcome.
complications text yes Complications.
related_diagnosis_id bigint unsigned yes Identifier of the related related diagnosis record.
report_document varchar(255) yes Report document. The referenced file is included under attachments/.
follow_up_instructions text yes Follow up instructions.
status varchar(20) no Status.
verification_status varchar(20) no Verification status.
source varchar(30) no Source.
recorded_by bigint unsigned yes Recorded by.
created_by bigint unsigned yes Created by.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
report_summary_obligations — Records of report summary obligations linked to the patient.

Linked to patient by: report_summary_obligations.patient_id = patients.id · Files: tables/report_summary_obligations.json, tables/report_summary_obligations.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
patient_program_id bigint unsigned no Identifier of the related patient program record.
program_type varchar(255) yes Program type.
month date no Month.
eligible_from date no Eligible from.
eligible_to date no Eligible to.
partial_month tinyint(1) no Partial month.
due_at datetime no Date/time: due.
policy_version varchar(40) no Policy version.
owner_staff_id bigint unsigned yes Identifier of the related owner staff record.
summary_id bigint unsigned yes Identifier of the related summary record.
status varchar(20) no Status.
is_late tinyint(1) no Flag (1 = yes, 0 = no): is late.
evidence_notes int unsigned no Evidence notes.
built_at timestamp yes Date/time: built.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_alert_events — Records of rpm alert events linked to the patient.

Linked to patient by: rpm_alert_events.patient_id = patients.id · Files: tables/rpm_alert_events.json, tables/rpm_alert_events.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
alert_id bigint unsigned no Identifier of the related alert record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
event_type varchar(40) no Event type.
from_status varchar(24) yes From status.
to_status varchar(24) yes To status.
actor_staff_id int unsigned yes Identifier of the related actor staff record.
actor_user_id bigint unsigned yes Identifier of the related actor user record.
source_type varchar(40) yes Source type.
source_id bigint unsigned yes Identifier of the related source record.
contact_method varchar(20) yes Contact method.
contact_outcome varchar(30) yes Contact outcome.
note text yes Note.
metadata json yes Metadata.
idempotency_key varchar(100) yes Idempotency key.
created_at timestamp no Date/time the row was created.
rpm_alert_sources — Records of rpm alert sources linked to the patient.

Linked to patient by: rpm_alert_sources.patient_id = patients.id · Files: tables/rpm_alert_sources.json, tables/rpm_alert_sources.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
alert_id bigint unsigned no Identifier of the related alert record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
source_type varchar(40) no Source type.
source_id bigint unsigned yes Identifier of the related source record.
source_key varchar(100) no Source key.
observed_at timestamp yes Date/time: observed.
created_at timestamp no Date/time the row was created.
rpm_alerts — Remote monitoring alerts.

Linked to patient by: rpm_alerts.patient_id = patients.id · Files: tables/rpm_alerts.json, tables/rpm_alerts.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
checkin_id bigint unsigned yes Identifier of the related checkin record.
level enum('critical','high','medium','informational') no Level.
trigger_type varchar(60) no Trigger type.
title varchar(255) no Title.
body text yes Body.
acknowledged_at timestamp yes Date/time: acknowledged.
acknowledged_by int unsigned yes Acknowledged by.
resolved_at timestamp yes Date/time: resolved.
resolution_note text yes Resolution note.
escalated_to_supervisor tinyint(1) no Escalated to supervisor.
escalated_at timestamp yes Date/time: escalated.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
severity_level varchar(2) no Severity level.
suggested_severity_level varchar(2) no Suggested severity level.
status varchar(24) no Status.
owner_staff_id int unsigned yes Identifier of the related owner staff record.
backup_staff_id int unsigned yes Identifier of the related backup staff record.
due_at timestamp yes Date/time: due.
resolved_by int unsigned yes Resolved by.
disposition varchar(60) yes Disposition.
source_count int unsigned no Source count.
escalation_level tinyint unsigned no Escalation level.
version int unsigned no Version.
technical_escalation tinyint(1) no Technical escalation.
severity_override_reason varchar(500) yes Severity override reason.
severity_overridden_by int unsigned yes Severity overridden by.
severity_overridden_at timestamp yes Date/time: severity overridden.
contact_attempt_count smallint unsigned no Contact attempt count.
routed_at timestamp yes Date/time: routed.
rpm_attendance_signals — Records of rpm attendance signals linked to the patient.

Linked to patient by: rpm_attendance_signals.patient_id = patients.id · Files: tables/rpm_attendance_signals.json, tables/rpm_attendance_signals.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
appointment_id bigint unsigned no Identifier of the related appointment record.
appointment_type varchar(80) no Appointment type.
appointment_date date no Date: appointment.
status varchar(30) no Status.
missed_reason varchar(255) yes Missed reason.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_billing_evidence — Records of rpm billing evidence linked to the patient.

Linked to patient by: rpm_billing_evidence.patient_id = patients.id · Files: tables/rpm_billing_evidence.json, tables/rpm_billing_evidence.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
service_month date no Service month.
pathway varchar(10) no Pathway.
status varchar(30) no Status.
device_days tinyint unsigned no Device days.
checkin_days tinyint unsigned no Checkin days.
management_minutes smallint unsigned no Management minutes.
interactive_count smallint unsigned no Interactive count.
codes json yes Codes.
missing json yes Missing.
rule_version varchar(40) yes Rule version.
snapshot json yes Snapshot.
assessed_at timestamp yes Date/time: assessed.
approved_by_user_id bigint unsigned yes Identifier of the related approved by user record.
approved_at timestamp yes Date/time: approved.
claim_reference varchar(100) yes Claim reference.
billed_at timestamp yes Date/time: billed.
reconciled_at timestamp yes Date/time: reconciled.
status_note varchar(500) yes Status note.
version int unsigned no Version.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_billing_setups — Records of rpm billing setups linked to the patient.

Linked to patient by: rpm_billing_setups.patient_id = patients.id · Files: tables/rpm_billing_setups.json, tables/rpm_billing_setups.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
pathway varchar(10) no Pathway.
patient_insurance_id bigint unsigned yes Identifier of the related patient insurance record.
payer_verified_at timestamp yes Date/time: payer verified.
payer_verified_by_user_id bigint unsigned yes Identifier of the related payer verified by user record.
device_reference varchar(150) yes Device reference.
qualifying_device tinyint(1) no Qualifying device.
updated_by_user_id bigint unsigned yes Identifier of the related updated by user record.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_checkin_links — Records of rpm checkin links linked to the patient.

Linked to patient by: rpm_checkin_links.patient_id = patients.id · Files: tables/rpm_checkin_links.json, tables/rpm_checkin_links.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
token_hash char(64) no Token hash.
token_encrypted text yes Token encrypted.
created_by bigint unsigned yes Created by.
expires_at timestamp no Date/time: expires.
emailed_to varchar(255) yes Emailed to.
emailed_at timestamp yes Date/time: emailed.
texted_to_last4 char(4) yes Texted to last4.
texted_at timestamp yes Date/time: texted.
used_at timestamp yes Date/time: used.
checkin_id bigint unsigned yes Identifier of the related checkin record.
revoked_at timestamp yes Date/time: revoked.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_checkins — Remote monitoring check-ins.

Linked to patient by: rpm_checkins.patient_id = patients.id · Files: tables/rpm_checkins.json, tables/rpm_checkins.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
checkin_date date no Date: checkin.
scale_version varchar(10) no Scale version.
template_version varchar(20) no Template version.
submitted_at timestamp yes Date/time: submitted.
timezone varchar(64) yes Timezone.
channel varchar(20) no Channel.
help_request varchar(20) no Help request.
mood_rating tinyint yes Mood rating.
anxiety_level tinyint yes Anxiety level.
sleep_hours decimal(4,1) yes Sleep hours.
sleep_quality enum('poor','fair','good','excellent') yes Sleep quality.
sleep_rating tinyint unsigned yes Sleep rating.
medication_taken enum('yes','no','partial','not_applicable') yes Medication taken.
substance_use tinyint(1) yes Substance use.
attended_appointment tinyint(1) yes Attended appointment.
housing_stable tinyint(1) yes Housing stable.
safety_concern tinyint(1) yes Safety concern.
open_text text yes Open text.
phq2_score tinyint yes Phq2 score.
gad2_score tinyint yes Gad2 score.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
medication_side_effect varchar(500) yes Medication side effect.
medication_side_effect_severity varchar(20) yes Medication side effect severity.
medication_question varchar(500) yes Medication question.
rpm_consent_events — Records of rpm consent events linked to the patient.

Linked to patient by: rpm_consent_events.patient_id = patients.id · Files: tables/rpm_consent_events.json, tables/rpm_consent_events.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
event enum('pending_consent','enrolled','consent_resigned','paused','resumed','discontinued','declined') no Event.
event_date date no Date: event.
consent_version varchar(100) yes Consent version.
signature varchar(255) yes Signature.
note varchar(500) yes Note.
recorded_by_staff_id int unsigned yes Identifier of the related recorded by staff record.
recorded_by_user_id bigint unsigned yes Identifier of the related recorded by user record.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_enrollments — Remote patient monitoring enrollments.

Linked to patient by: rpm_enrollments.patient_id = patients.id · Files: tables/rpm_enrollments.json, tables/rpm_enrollments.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
assigned_staff_id int unsigned yes Identifier of the related assigned staff record.
patient_program_id bigint unsigned yes Identifier of the related patient program record.
responsible_clinician_staff_id int unsigned yes Identifier of the related responsible clinician staff record.
order_reference varchar(100) yes Order reference.
order_date date yes Date: order.
status enum('pending_consent','active','paused','discontinued','declined') no Status.
checkin_frequency enum('daily','every_2_days','weekly') no Checkin frequency.
patient_timezone varchar(64) yes Patient timezone.
consent_date date yes Date: consent.
consent_signature varchar(255) yes Consent signature.
consent_version varchar(100) yes Consent version.
safety_screen_enabled tinyint(1) no Safety screen enabled.
emergency_contact_name varchar(255) yes Emergency contact name.
emergency_contact_phone varchar(50) yes Emergency contact phone.
discontinued_date date yes Date: discontinued.
discontinued_reason varchar(255) yes Discontinued reason.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
open_patient_id bigint unsigned yes Identifier of the related open patient record.
rpm_events — Records of rpm events linked to the patient.

Linked to patient by: rpm_events.patient_id = patients.id · Files: tables/rpm_events.json, tables/rpm_events.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
event_uuid char(36) no Event uuid.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
enrollment_id bigint unsigned yes Identifier of the related enrollment record.
event_type varchar(60) no Event type.
source_type varchar(40) yes Source type.
source_id bigint unsigned yes Identifier of the related source record.
idempotency_key varchar(150) no Idempotency key.
actor_staff_id int unsigned yes Identifier of the related actor staff record.
actor_user_id bigint unsigned yes Identifier of the related actor user record.
ruleset_version varchar(20) no Ruleset version.
payload json yes Payload.
occurred_at timestamp no Date/time: occurred.
created_at timestamp no Date/time the row was created.
rpm_followup_tasks — Records of rpm followup tasks linked to the patient.

Linked to patient by: rpm_followup_tasks.patient_id = patients.id · Files: tables/rpm_followup_tasks.json, tables/rpm_followup_tasks.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
enrollment_id bigint unsigned yes Identifier of the related enrollment record.
alert_id bigint unsigned yes Identifier of the related alert record.
source_event_id bigint unsigned yes Identifier of the related source event record.
task_type varchar(30) no Task type.
role varchar(30) no Role.
title varchar(200) no Title.
owner_staff_id int unsigned yes Identifier of the related owner staff record.
backup_staff_id int unsigned yes Identifier of the related backup staff record.
due_at timestamp yes Date/time: due.
status varchar(30) no Status.
outcome varchar(40) yes Outcome.
outcome_note text yes Outcome note.
attempt_count smallint unsigned no Attempt count.
closed_at timestamp yes Date/time: closed.
closed_by_staff_id int unsigned yes Identifier of the related closed by staff record.
idempotency_key varchar(150) no Idempotency key.
version int unsigned no Version.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_medication_signals — Records of rpm medication signals linked to the patient.

Linked to patient by: rpm_medication_signals.patient_id = patients.id · Files: tables/rpm_medication_signals.json, tables/rpm_medication_signals.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
alert_id bigint unsigned yes Identifier of the related alert record.
source_type varchar(40) no Source type.
source_id bigint unsigned no Identifier of the related source record.
signal_type varchar(40) no Signal type.
source_key varchar(150) no Source key.
severity varchar(20) yes Severity.
medication_name varchar(255) yes Medication name.
detail text yes Detail.
fill_date date yes Date: fill.
supply_days smallint unsigned yes Supply days.
observed_at timestamp no Date/time: observed.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_monitoring_plans — Records of rpm monitoring plans linked to the patient.

Linked to patient by: rpm_monitoring_plans.patient_id = patients.id · Files: tables/rpm_monitoring_plans.json, tables/rpm_monitoring_plans.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
version int unsigned no Version.
status enum('active','superseded') no Status.
checkin_frequency enum('daily','every_2_days','weekly') no Checkin frequency.
enabled_signals json no Enabled signals.
threshold_overrides json yes Threshold overrides.
preferred_channel varchar(20) no Preferred channel.
preferred_language varchar(10) no Preferred language.
owner_staff_id int unsigned yes Identifier of the related owner staff record.
backup_staff_id int unsigned yes Identifier of the related backup staff record.
care_coordinator_staff_id int unsigned yes Identifier of the related care coordinator staff record.
review_due_date date yes Date: review due.
change_reason varchar(255) yes Change reason.
created_by_staff_id int unsigned yes Identifier of the related created by staff record.
created_by_user_id bigint unsigned yes Identifier of the related created by user record.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_openclaw_summaries — Records of rpm openclaw summaries linked to the patient.

Linked to patient by: rpm_openclaw_summaries.patient_id = patients.id · Files: tables/rpm_openclaw_summaries.json, tables/rpm_openclaw_summaries.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
enrollment_id bigint unsigned yes Identifier of the related enrollment record.
summary_type varchar(30) no Summary type.
period_start date no Period start.
period_end date no Period end.
statements json no Statements.
suggested_owner_role varchar(40) yes Suggested owner role.
agent_model varchar(100) yes Agent model.
status varchar(20) no Status.
created_by_user_id bigint unsigned no Identifier of the related created by user record.
reviewed_by_user_id bigint unsigned yes Identifier of the related reviewed by user record.
reviewed_at timestamp yes Date/time: reviewed.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_recovery_profiles — Records of rpm recovery profiles linked to the patient.

Linked to patient by: rpm_recovery_profiles.patient_id = patients.id · Files: tables/rpm_recovery_profiles.json, tables/rpm_recovery_profiles.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
version int unsigned no Version.
status varchar(20) no Status.
baseline_mood decimal(4,2) yes Baseline mood.
baseline_anxiety decimal(4,2) yes Baseline anxiety.
baseline_sleep decimal(4,2) yes Baseline sleep.
baseline_observations smallint unsigned yes Baseline observations.
baseline_from date yes Baseline from.
baseline_to date yes Baseline to.
baseline_rule_version varchar(40) yes Baseline rule version.
warning_signs text yes Warning signs.
preferred_supports text yes Preferred supports.
patient_goals text yes Patient goals.
escalation_preferences text yes Escalation preferences.
change_reason varchar(255) yes Change reason.
approved_by_staff_id int unsigned yes Identifier of the related approved by staff record.
approved_by_user_id bigint unsigned no Identifier of the related approved by user record.
approved_at timestamp no Date/time: approved.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_time_logs — Time spent on remote monitoring.

Linked to patient by: rpm_time_logs.patient_id = patients.id · Files: tables/rpm_time_logs.json, tables/rpm_time_logs.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
staff_id int unsigned no Identifier of the related staff record.
activity_type enum('checkin_review','alert_review','care_coordination','patient_education','other','interactive_communication') no Activity type.
minutes smallint unsigned no Minutes.
logged_date date no Date: logged.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_treatment_plan_flags — Remote monitoring findings flagged for the treatment plan.

Linked to patient by: rpm_treatment_plan_flags.patient_id = patients.id · Files: tables/rpm_treatment_plan_flags.json, tables/rpm_treatment_plan_flags.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
treatment_plan_id bigint unsigned yes Identifier of the related treatment plan record.
flag_type enum('sustained_low_mood','medication_nonadherence','housing_instability','assessment_mismatch','sustained_improvement','plan_review_due') no Flag type.
title varchar(255) no Title.
body longtext yes Body.
status enum('open','reviewed','dismissed') no Status.
reviewed_at timestamp yes Date/time: reviewed.
reviewed_by int unsigned yes Reviewed by.
review_note longtext yes Review note.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
rpm_vital_readings — Device readings from remote patient monitoring.

Linked to patient by: rpm_vital_readings.patient_id = patients.id · Files: tables/rpm_vital_readings.json, tables/rpm_vital_readings.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
enrollment_id bigint unsigned no Identifier of the related enrollment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
checkin_id bigint unsigned yes Identifier of the related checkin record.
vital_type enum('blood_pressure','heart_rate','spo2','weight','blood_glucose','temperature') no Vital type.
value_primary decimal(8,2) no Value primary.
value_secondary decimal(8,2) yes Value secondary.
unit varchar(16) no Unit.
measurement_context varchar(32) yes Measurement context.
source enum('manual','device') no Source.
device_name varchar(100) yes Device name.
recorded_by_type enum('patient','staff') no Recorded by type.
recorded_by_id bigint unsigned yes Identifier of the related recorded by record.
reading_at datetime no Date/time: reading.
severity enum('normal','abnormal','critical') no Severity.
flagged tinyint(1) no Flagged.
notes text yes Notes.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
scheduled_services — Services scheduled for the patient.

Linked to patient by: scheduled_services.patient_id = patients.id · Files: tables/scheduled_services.json, tables/scheduled_services.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
staff_id int unsigned yes Identifier of the related staff record.
service_type enum('consent_form','screener','assessment','treatment_plan','intervention') no Service type.
item_id bigint unsigned yes Identifier of the related item record.
item_key varchar(100) yes Item key.
plan_id bigint unsigned yes Identifier of the related plan record.
source_assessment_id bigint unsigned yes Identifier of the related source assessment record.
item_label varchar(255) no Item label.
doc_type_id varchar(40) yes Identifier of the related doc type record.
profession varchar(120) yes Profession.
format_id varchar(20) yes Identifier of the related format record.
service_code_id bigint unsigned yes Identifier of the related service code record.
scheduled_date date no Date: scheduled.
start_time time no Start time.
end_time time yes End time.
location varchar(60) no Location.
status enum('scheduled','completed','cancelled','no_show') no Status.
notes text yes Notes.
missed_note text yes Missed note.
missed_note_at timestamp yes Date/time: missed note.
missed_note_by bigint unsigned yes Missed note by.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
origin varchar(20) no Origin.
started_at timestamp yes Date/time: started.
started_by bigint unsigned yes Started by.
activity_key varchar(64) yes Activity key.
record_type varchar(40) yes Record type.
record_id bigint unsigned yes Identifier of the related record record.
telehealth_sessions — Telehealth sessions.

Linked to patient by: telehealth_sessions.patient_id = patients.id · Files: tables/telehealth_sessions.json, tables/telehealth_sessions.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
appointment_id bigint unsigned yes Identifier of the related appointment record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
staff_id int unsigned no Identifier of the related staff record.
session_token varchar(64) no Session token.
status enum('waiting','in_progress','completed','cancelled','no_show') no Status.
scheduled_at datetime no Date/time: scheduled.
started_at datetime yes Date/time: started.
ended_at datetime yes Date/time: ended.
duration_minutes smallint yes Duration minutes.
payer varchar(255) yes Payer.
is_eligible tinyint(1) no Flag (1 = yes, 0 = no): is eligible.
eligibility_notes varchar(255) yes Eligibility notes.
emergency_location varchar(255) yes Emergency location.
chat_log json yes Chat log.
note_draft text yes Note draft.
note_linked_id bigint unsigned yes Identifier of the related note linked record.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
treatment_plan_review_flags — Flags raised during treatment plan review.

Linked to patient by: treatment_plan_review_flags.patient_id = patients.id · Files: tables/treatment_plan_review_flags.json, tables/treatment_plan_review_flags.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
treatment_plan_id bigint unsigned no Identifier of the related treatment plan record.
goal_id bigint unsigned yes Identifier of the related goal record.
flag_type enum('stale_goal','goal_achieved','assessment_worsened') no Flag type.
title varchar(255) no Title.
body longtext yes Body.
status enum('open','reviewed','dismissed') no Status.
reviewed_at timestamp yes Date/time: reviewed.
reviewed_by int unsigned yes Reviewed by.
review_note longtext yes Review note.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
visits — Field visits (location-verified service visits).

Linked to patient by: visits.patient_id = patients.id · Files: tables/visits.json, tables/visits.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
user_id bigint unsigned no Identifier of the related user record.
latitude decimal(10,8) yes Latitude.
longitude decimal(11,8) yes Longitude.
start_time timestamp yes Start time.
end_time timestamp yes End time.
qr_code text yes Qr code.
qr_verified tinyint(1) no Qr verified.
signature text yes Signature.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
patient_lat decimal(10,7) yes Patient lat.
patient_long decimal(10,7) yes Patient long.
is_flagged tinyint(1) no Flag (1 = yes, 0 = no): is flagged.
is_patient_secret_passed tinyint(1) no Flag (1 = yes, 0 = no): is patient secret passed. Withheld: Authentication credential; not electronic health information.
secret_attempt int no Secret attempt. Withheld: Authentication credential; not electronic health information.
sms_verification timestamp yes Sms verification.
voice_scribe_sessions — Recorded documentation (scribe) sessions.

Linked to patient by: voice_scribe_sessions.patient_id = patients.id · Files: tables/voice_scribe_sessions.json, tables/voice_scribe_sessions.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_id bigint unsigned no Identifier of the patient (patients.id) the row belongs to.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
treatment_plan_id bigint unsigned yes Identifier of the related treatment plan record.
objective_id bigint unsigned yes Identifier of the related objective record.
intervention_id bigint unsigned yes Identifier of the related intervention record.
assessment_id bigint unsigned yes Identifier of the related assessment record.
context varchar(20) no Context.
capture_mode varchar(20) yes Capture mode.
room_id varchar(255) no Identifier of the related room record.
questions_snapshot json yes Questions snapshot.
consent_signer_name varchar(255) yes Consent signer name.
consent_signature longtext yes Consent signature.
consent_acknowledged_at timestamp yes Date/time: consent acknowledged.
status enum('in_progress','completed','failed','abandoned') no Status.
patient_token varchar(64) yes Patient token.
patient_token_expires_at timestamp yes Date/time: patient token expires.
started_at timestamp yes Date/time: started.
patient_joined_at timestamp yes Date/time: patient joined.
ended_at timestamp yes Date/time: ended.
created_by bigint unsigned yes Created by.
progress_note_id bigint unsigned yes Identifier of the related progress note record.
error_message text yes Error message.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
workflows — Records of workflows linked to the patient.

Linked to patient by: workflows.patient_id = patients.id · Files: tables/workflows.json, tables/workflows.csv

ColumnTypeNullMeaning
id int no Row identifier, unique within the table.
name varchar(255) no Name.
description text yes Description.
status varchar(255) no Status.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
workflow_list_id bigint unsigned no Identifier of the related workflow list record.
patient_id bigint unsigned yes Identifier of the patient (patients.id) the row belongs to.
tenant_id bigint unsigned yes Identifier of the related tenant record.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
authorization_unit_ledger — Units used against a service authorization.

Linked to patient by: authorization_unit_ledger.authorization_id = patient_authorizations.id · Files: tables/authorization_unit_ledger.json, tables/authorization_unit_ledger.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
authorization_id bigint unsigned no Identifier of the related authorization record.
progress_note_id bigint unsigned yes Identifier of the related progress note record.
claim_line_id bigint unsigned yes Identifier of the related claim line record.
entry_type varchar(255) no Entry type.
units int no Units.
reference varchar(255) yes Reference.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
billing_readiness_actions — Actions taken on billing documentation findings.

Linked to patient by: billing_readiness_actions.review_id = billing_readiness_reviews.id · Files: tables/billing_readiness_actions.json, tables/billing_readiness_actions.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
review_id bigint unsigned no Identifier of the related review record.
user_id bigint unsigned yes Identifier of the related user record.
action varchar(255) no Action.
reason text yes Reason.
action_at timestamp no Date/time: action.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
billing_readiness_findings — Findings of a billing documentation review.

Linked to patient by: billing_readiness_findings.review_id = billing_readiness_reviews.id · Files: tables/billing_readiness_findings.json, tables/billing_readiness_findings.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
review_id bigint unsigned no Identifier of the related review record.
check_id varchar(255) no Identifier of the related check record.
rule_id varchar(255) yes Identifier of the related rule record.
rule_version int unsigned yes Rule version.
source_type varchar(255) no Source type.
severity varchar(255) no Severity.
finding_code varchar(255) no Finding code.
domain varchar(255) no Domain.
title varchar(255) no Title.
description text yes Description.
why_it_matters text yes Why it matters.
recommended_action text yes Recommended action.
confidence decimal(5,4) yes Confidence.
evidence_json json yes Evidence json.
high_risk tinyint(1) no High risk.
resolved tinyint(1) no Resolved.
resolved_by_note_version bigint unsigned yes Resolved by note version.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
claim_lines — Service lines of a claim.

Linked to patient by: claim_lines.claim_id = claims.id OR claim_lines.progress_note_id = patient_progress_notes.id · Files: tables/claim_lines.json, tables/claim_lines.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
claim_id bigint unsigned no Identifier of the related claim record.
progress_note_id bigint unsigned yes Identifier of the related progress note record.
source_type varchar(30) yes Source type.
source_id bigint unsigned yes Identifier of the related source record.
service_code_id bigint unsigned yes Identifier of the related service code record.
service_date date no Date: service.
units smallint unsigned no Units.
modifiers json yes Modifiers.
place_of_service char(2) yes Place of service.
diag_pointers varchar(4) yes Diag pointers.
rendering_staff_id bigint unsigned yes Identifier of the related rendering staff record.
billed_amount decimal(8,2) no Billed amount.
allowed_amount decimal(8,2) no Allowed amount.
paid_amount decimal(8,2) no Paid amount.
adjustment_amount decimal(8,2) no Adjustment amount.
patient_responsibility decimal(8,2) no Patient responsibility.
denial_code varchar(10) yes Denial code.
adjustments json yes Adjustments.
remark_codes json yes Remark codes.
status enum('pending','paid','denied','adjusted') no Status.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
claim_refunds — Refunds issued on a claim.

Linked to patient by: claim_refunds.claim_id = claims.id · Files: tables/claim_refunds.json, tables/claim_refunds.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
claim_id bigint unsigned no Identifier of the related claim record.
amount decimal(10,2) no Amount.
refunded_at date no Date/time: refunded.
reason varchar(255) yes Reason.
created_by int unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
note_quality_flags — Documentation quality flags on progress notes.

Linked to patient by: note_quality_flags.progress_note_id = patient_progress_notes.id · Files: tables/note_quality_flags.json, tables/note_quality_flags.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
progress_note_id bigint unsigned no Identifier of the related progress note record.
flag_key varchar(255) no Flag key.
flag_message varchar(255) no Flag message.
severity enum('info','warning','critical') no Severity.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_medication_diagnosis — Records of patient medication diagnosis linked to the patient.

Linked to patient by: patient_medication_diagnosis.patient_diagnosis_id = patient_diagnoses.id OR patient_medication_diagnosis.patient_medication_id = patient_medications.id · Files: tables/patient_medication_diagnosis.json, tables/patient_medication_diagnosis.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
patient_medication_id bigint unsigned no Identifier of the related patient medication record.
patient_diagnosis_id bigint unsigned no Identifier of the related patient diagnosis record.
order smallint unsigned no Order.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_treatment_plan_problems — Problems addressed by a treatment plan.

Linked to patient by: patient_treatment_plan_problems.treatment_plan_id = patient_treatment_plans.id · Files: tables/patient_treatment_plan_problems.json, tables/patient_treatment_plan_problems.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
treatment_plan_id bigint unsigned no Identifier of the related treatment plan record.
problem_text longtext no Problem text.
description longtext yes Description.
diagnosis_type_id int unsigned yes Identifier of the related diagnosis type record.
custom_diagnosis_name longtext yes Custom diagnosis name.
sort_order int no Sort order.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_treatment_plan_reviews — Periodic reviews of a treatment plan.

Linked to patient by: patient_treatment_plan_reviews.treatment_plan_id = patient_treatment_plans.id · Files: tables/patient_treatment_plan_reviews.json, tables/patient_treatment_plan_reviews.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
treatment_plan_id bigint unsigned no Identifier of the related treatment plan record.
review_date date no Date: review.
reviewed_by bigint unsigned yes Reviewed by.
summary longtext yes Summary.
next_review_date date yes Date: next review.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
progress_note_review_logs — Supervisor review history of progress notes.

Linked to patient by: progress_note_review_logs.progress_note_id = patient_progress_notes.id · Files: tables/progress_note_review_logs.json, tables/progress_note_review_logs.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
progress_note_id bigint unsigned no Identifier of the related progress note record.
action enum('submitted','approved','returned','not_approved','flagged','billed','resubmitted') no Action.
actor_id bigint unsigned yes Identifier of the related actor record.
comment longtext yes Comment.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
voice_scribe_transcript_lines — Transcript text of a documentation session.

Linked to patient by: voice_scribe_transcript_lines.voice_scribe_session_id = voice_scribe_sessions.id · Files: tables/voice_scribe_transcript_lines.json, tables/voice_scribe_transcript_lines.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
voice_scribe_session_id bigint unsigned no Identifier of the related voice scribe session record.
channel enum('incoming','outgoing') no Channel.
sequence int unsigned no Sequence.
text text no Text.
started_at_ms int unsigned yes Started at ms.
ended_at_ms int unsigned yes Ended at ms.
confidence double(8,2) yes Confidence.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
tenant_id bigint unsigned yes Identifier of the related tenant record.
claim_denials — Payer denials of a claim.

Linked to patient by: claim_denials.claim_id = claims.id OR claim_denials.claim_line_id = claim_lines.id · Files: tables/claim_denials.json, tables/claim_denials.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
clinic_id bigint unsigned no Identifier of the practice (tenant) that holds the record.
tenant_id bigint unsigned yes Identifier of the related tenant record.
claim_id bigint unsigned no Identifier of the related claim record.
claim_line_id bigint unsigned yes Identifier of the related claim line record.
denial_code varchar(20) yes Denial code.
denial_category enum('eligibility','authorization','credentialing','timely_filing','duplicate','medical_necessity','coding','other') no Denial category.
denied_amount decimal(8,2) no Denied amount.
appeal_status enum('none','filed','upheld','overturned') no Appeal status.
appeal_deadline date yes Appeal deadline.
appeal_link varchar(500) yes Appeal link.
appeal_started_at timestamp yes Date/time: appeal started.
assigned_to_team enum('billing','intake','qa','clinician','admin') no Assigned to team.
assigned_to bigint unsigned yes Assigned to.
denial_notes text yes Denial notes.
resolution_notes text yes Resolution notes.
ai_likely_reason text yes Ai likely reason.
ai_recommended_correction text yes Ai recommended correction.
ai_analyzed_at timestamp yes Date/time: ai analyzed.
rebilled_claim_id bigint unsigned yes Identifier of the related rebilled claim record.
created_by bigint unsigned yes Created by.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
deleted_at timestamp yes Date/time the row was retired (soft-deleted); empty when current.
patient_treatment_plan_goals — Goals belonging to a treatment plan.

Linked to patient by: patient_treatment_plan_goals.problem_id = patient_treatment_plan_problems.id OR patient_treatment_plan_goals.treatment_plan_id = patient_treatment_plans.id · Files: tables/patient_treatment_plan_goals.json, tables/patient_treatment_plan_goals.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
treatment_plan_id bigint unsigned no Identifier of the related treatment plan record.
problem_id bigint unsigned yes Identifier of the related problem record.
domain longtext yes Domain.
start_date date yes Date: start.
goal_text longtext no Goal text.
description longtext yes Description.
target_date date yes Date: target.
end_date date yes Date: end.
review_date date yes Date: review.
responsible_staff_id bigint unsigned yes Identifier of the related responsible staff record.
frequency longtext yes Frequency.
progress_status enum('not_started','in_progress','no_progress','minimal','moderate','significant','achieved','regression') no Progress status.
achievement_status varchar(255) yes Achievement status.
achievement_status_date date yes Date: achievement status.
sort_order int no Sort order.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_treatment_plan_objectives — Records of patient treatment plan objectives linked to the patient.

Linked to patient by: patient_treatment_plan_objectives.goal_id = patient_treatment_plan_goals.id · Files: tables/patient_treatment_plan_objectives.json, tables/patient_treatment_plan_objectives.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
goal_id bigint unsigned no Identifier of the related goal record.
objective_text longtext no Objective text.
description longtext yes Description.
start_date date yes Date: start.
interventions json yes Interventions.
target_date date yes Date: target.
end_date date yes Date: end.
progress_status enum('not_started','in_progress','no_progress','minimal','moderate','significant','achieved','regression') no Progress status.
achievement_status varchar(255) yes Achievement status.
achievement_status_date date yes Date: achievement status.
sort_order int no Sort order.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.
patient_treatment_plan_interventions — Records of patient treatment plan interventions linked to the patient.

Linked to patient by: patient_treatment_plan_interventions.objective_id = patient_treatment_plan_objectives.id · Files: tables/patient_treatment_plan_interventions.json, tables/patient_treatment_plan_interventions.csv

ColumnTypeNullMeaning
id bigint unsigned no Row identifier, unique within the table.
objective_id bigint unsigned no Identifier of the related objective record.
intervention_text longtext yes Intervention text.
description longtext yes Description.
start_date date yes Date: start.
end_date date yes Date: end.
responsible_staff_id bigint unsigned yes Identifier of the related responsible staff record.
ai_analysis longtext yes Ai analysis.
ai_analyzed_at timestamp yes Date/time: ai analyzed.
client_signature longtext yes Client signature.
client_signed_at timestamp yes Date/time: client signed.
client_name varchar(255) yes Client name.
guest_token varchar(64) yes Guest token. Withheld: Authentication credential; not electronic health information.
guest_token_expires_at timestamp yes Date/time: guest token expires. Withheld: Authentication credential; not electronic health information.
sort_order int no Sort order.
created_at timestamp yes Date/time the row was created.
updated_at timestamp yes Date/time the row was last changed.

Contact

Questions about this format: info@inspireconsultingdc.com · 202-569-6372.