Columns
| Column | Description | API Field Name |
|---|---|---|
medical_record_id | Primary key and medical record unique identifier. | id |
created | The timestamp when the medical record was created. | |
modified | The timestamp when the medical record was last modified. | |
is_deleted | Indicates whether the medical record is deleted. | |
clinic_patient_id | Foreign key to the patient & client_enriched table. The identifier of the patient associated with the medical record. | clinic_patient_id |
clinic_client_id | Foreign key to the client & client_enriched table. The identifier of the client associated with the medical record. | clinic_client_id |
clinic_id | Foreign key to the clinic & clinic_enriched table. The identifier of the clinic associated with the medical record. | clinic_id |
clinic_name | The name of the clinic associated with the medical record. | |
appointment_id | Foreign key to the appointment & appointment_enriched table. The identifier of the appointment associated with the medical record, if applicable. | appointment_id |
invoice_id | Foreign key to the invoice & invoice_enriched table. The identifier of the invoice associated with the medical record, if applicable. | invoice_id |
subjective | Subjective notes recorded in the medical record. | subjective |
objective | Objective observations recorded in the medical record. | objective |
plan | The plan or treatment outlined in the medical record. | plan |
assessment_ids | Array of assessment IDs linked to this medical record. | assessment_ids |
date_posted | The timestamp when the medical record was posted. | date_posted |
finalized_at | The timestamp when the medical record was finalized. | finalized_at |
followup_appointment_ids | Array of appointment IDs for follow-up appointments associated with this medical record. | followup_appointment_ids |
last_updated | The timestamp when the medical record was last updated in the source table. This is the most recent timestamp from all related tables (medical_record, clinic, client, followup_appointment_ids, assessments). Note: the client table is joined for last_updated tracking only; no client columns are selected. | |
vetcove_corporate_id | The unique identifier of the corporate group associated with this record. |
Relationships
- Client via
clinic_patient_id - Clinic via
clinic_id - Appointment via
appointment_id - Invoice via
invoice_id
SQL Definition
View SQL
View SQL