# Enterprise Case Spine 0.78.4

Enterprise Case Spine is the first step toward making Baltique OS operate around a single patient case rather than many unrelated module records.

## Tables

- `enterprise_case_spine`
- `enterprise_case_events`
- `enterprise_case_links`

## Purpose

A Case Spine record can point to:

- `patients.id`
- `operative_cases.id`
- booking or appointment records
- future consultation, communication, document, payment, OR and aftercare entities

The goal is not to duplicate clinical data. The goal is to expose one operational context for workflow, GO/HOLD/NO-GO, OR planning, documents, communication and post-op care.

## Synchronization

`balt0784_sync_case_spine()` is safe and idempotent. It creates/updates spine records from existing records but does not delete source data.

On a database with no real patients, the tables remain ready and empty. This is expected.
