Columns
| Column | Description | API Field Name |
|---|---|---|
patient_care_plan_id | Primary key and patient care plan unique identifier. | id |
created | The timestamp when the patient care plan record was created. | |
modified | The timestamp when the patient care plan record was last modified. | |
is_deleted | Indicates whether the patient care plan record is deleted. | |
clinic_patient_id | Foreign key to the patient & client_enriched table. The clinic-specific patient identifier associated with this patient care plan. | clinic_patient_id |
clinic_id | Foreign key to the clinic & clinic_enriched table. The identifier of the billing clinic associated with this patient care plan. | clinic_id |
clinic_client_id | Foreign key to the client & client_enriched table. The identifier of the billing client associated with this patient care plan. | clinic_client_id |
care_plan_id | Foreign key to the care_plan & care_plan_enriched table. The identifier of the care plan the patient is enrolled in. | care_plan_id |
start_date | The date the patient care plan enrollment began. | start_date |
end_date | The date the patient care plan enrollment ends. | end_date |
deactivated_at | The timestamp when the patient care plan was deactivated, if applicable. | deactivated_at |
status | The current status of the patient care plan (e.g., ACTIVE, PENDING_CANCELLATION, CANCELLED, EXPIRED, IMPORTED, CLIENT_CREATED, CLINIC_CREATED). | status |
core_plan_id | Foreign key to the patient_care_plan & patient_care_plan_enriched table. If this is an add-on plan, the identifier of the core plan it is attached to. | core_plan_id |
next_plan_id | Foreign key to the care_plan & care_plan_enriched table. The identifier of the next care plan this patient will be transitioned to after this plan ends. | next_plan_id |
should_renew | Indicates whether the patient care plan should automatically renew when the current plan period ends. | should_renew |
plan_cost | The total cost of the care plan in dollars. Snowflake displays dollars, API returns cents. | plan_cost |
enrollment_fee | The one-time enrollment fee for this patient care plan in dollars. Snowflake displays dollars, API returns cents. | enrollment_fee |
care_plan_name | The name of the care plan the patient is enrolled in. | care_plan_name |
care_plan_kind | The kind of the care plan (e.g., CORE, ADD_ON, SERVICE_PACKAGE). | care_plan_kind |
deactivated_by_user_id | Foreign key to the user table. The identifier of the user who deactivated this patient care plan, if applicable. | |
deactivated_by_user_name | The full name of the user who deactivated this patient care plan, if applicable. | deactivated_by |
next_payment_date | The next scheduled payment date for this patient care plan. | next_payment_date |
remaining_balance | The remaining balance owed on this care plan in dollars, computed as plan_cost + enrollment_fee minus the total amount invoiced to date. Snowflake displays dollars, API returns cents. | remaining_balance |
is_billed_monthly | Indicates whether the plan is billed monthly (true) or as a one-time upfront payment (false). | is_billed_monthly |
monthly_cost | The monthly cost of the care plan in dollars. Null if the plan is not billed monthly. Snowflake displays dollars, API returns cents. | monthly_cost |
invoice_history | Array of invoices & invoice items associated with this patient care plan. Monetary amounts (e.g. amount) within the array are stored in dollars in Snowflake; the API returns them in cents. | invoice_history |
is_current | Indicates whether the patient care plan is currently active. | |
last_updated | The timestamp when the record was last updated across all joined tables. This is the most recent timestamp from all related tables. | |
vetcove_corporate_id | The identifier of the corporate group associated with the patient care plan. |
Relationships
SQL Definition
View SQL
View SQL