Robotic Surgery · 13 / 26

Databricks Data and AI (artificial intelligence) Platform

How Databricks holds the surgery platform's de-identified data, features, protocol index, model training and validation, tracing and evaluation.

What Databricks does here

Databricks lakehouse for the robotic surgery platform De-identified imaging, outcomes, pathology comparisons and device telemetry land in Unity Catalog as bronze, silver and gold tables, with a protocol index, features and masks. Models are trained and validated with MLflow and registered, and a gated process deploys approved versions to equipment in the operating room. Model Serving handles offline and non-real-time use only. De-identified clinical data imaging · outcomes · pathology Device telemetry no patient identity Software traces from the gateway Unity Catalog · surgery_prod bronze · silver · gold knowledge · features · masks Training and validation MLflow · subgroup tests Model registry gated promotion Evaluation tracing · scorecards validate
One governed platform holds the de-identified data, the models, their validation and the evaluation loop. Real-time inference runs on local equipment, not here.

Databricks is the data and AI platform for development and monitoring. It keeps de-identified copies and device telemetry in governed tables, trains and validates the margin advisor and other models with subgroup checks, registers approved versions for a gated release to equipment in the operating room, and provides tracing and evaluation. Identifiable data stays in the clinical record, and the real-time path never calls out to the cloud.

Governance in Unity Catalog

One catalog per environment, with schemas by purpose. Access is granted to groups, never to individuals, and sensitive data is protected in the table, so every notebook, dashboard and evaluation job inherits the control.

SchemaContentsWho can read
bronzeDe-identified imaging pointers, pathology extracts, device telemetry and traces as receivedData engineers
silverCleaned procedures, plans, reconciliations, safety events, pathology comparisons and model outputs, with residual identifiers maskedEngineers and analysts, with masks
goldEvaluation sets, subgroup performance reports, KPIs (Key Performance Indicators) and device health viewsQuality, clinical and evaluation teams
knowledgeProtocol and instructions-for-use index and its source tableThe documentation service principal
securityScan results and security events from the gatewaySecurity operations

Protecting sensitive data in the table

Row filters and column masks make the rule part of the table. Analysts see a masked key; a data steward sees it for an approved review.

Unity Catalog · masks and row filters
-- Pseudonymised case keys and any residual identifiers are masked except for approved roles
CREATE FUNCTION surgery_prod.silver.mask_sensitive(value STRING)
  RETURN CASE WHEN is_account_group_member('clinical_data_stewards') THEN value ELSE '***' END;

ALTER TABLE surgery_prod.silver.procedures
  ALTER COLUMN case_key SET MASK surgery_prod.silver.mask_sensitive;
ALTER TABLE surgery_prod.silver.pathology_comparisons
  ALTER COLUMN case_key SET MASK surgery_prod.silver.mask_sensitive;

-- Sites see only their own cases
CREATE FUNCTION surgery_prod.silver.site_filter(site STRING)
  RETURN is_account_group_member('surgery_global') OR is_account_group_member(CONCAT('surgery_', site));
ALTER TABLE surgery_prod.silver.procedures
  SET ROW FILTER surgery_prod.silver.site_filter ON (site);

The protocol index

Hospital protocols and the device's instructions for use are chunked by clause, tagged with site, version and effective dates, and stored in a gold table. A Vector Search index (the product is now branded Databricks AI Search) syncs from that table, so a protocol change updates the index without a rebuild. The copilot filters by site and effective date at query time, so it cannot cite a protocol from another site or a superseded version.

knowledge/search.py · filters are enforced at query time
from databricks.vector_search.client import VectorSearchClient

index = VectorSearchClient().get_index(
    endpoint_name="surgery-knowledge",
    index_name="surgery_prod.knowledge.protocols_index",
)

def search_protocols(question: str, site: str, on_date: str) -> list[dict]:
    hits = index.similarity_search(
        query_text=question,
        columns=["clause_id", "title", "text", "version", "source_url"],
        filters={"site": [site, "all"], "effective_from <=": on_date, "effective_to >=": on_date},
        num_results=5,
    )
    return hits["result"]["data_array"]
A protocol changes and the index follows Clinical governance publishes an amended protocol with a version and effective date. A job parses and chunks it, writes the clauses with site and dates to the source table, and the index syncs from that table. At question time the copilot searches with a site and date filter. Clinical governance Lakeflow job Source table Vector Search OR copilot publish amended protocol document change event parse, chunk by clause write clauses with site and dates sync from change feed embed and index search + site and date filter cited clauses
A protocol changes and the index follows

No rebuild is needed. Effective dates make sure a protocol applies only when it should.

Training, validation and release of models

Training with MLflow

Experiments, datasets and code are tracked, so every model version is traceable to its data.

Subgroup validation

Performance is reported with confidence intervals by permitted subgroup, including skin tone, age and sex, before a version can be promoted.

Gated promotion

A model moves through the registry only with passing evaluation, fault injection results and sign-off under change control.

Edge deployment

Approved versions are packaged and deployed to equipment in the operating room through a controlled release, never directly from the cloud during a case.

Jobs that keep it current

JobScheduleWhat it does
Ingest de-identified casesDailyLands approved de-identified imaging pointers and outcomes in bronze and upserts silver
Ingest device telemetryContinuousLands telemetry without patient identity
Refresh protocol indexOn protocol change, daily checkRe-chunks changed protocols, writes the source table and syncs the index
Compare advice with pathologyOn each pathology resultWrites the difference between advised and pathology margins, by subgroup
Retrain and validate modelsOn demand, gatedTrains candidates, evaluates with subgroup tests and registers them; promotion needs the gate
Nightly evaluationNightly and on every releaseRuns the evaluation set, writes scores and alerts on regressions
Subgroup performance reportQuarterlyReports margin and detection performance by permitted subgroup for the quality review
Nightly evaluation job A nightly job runs the evaluation set through the documentation assistant and the advisor in simulation, records traces in MLflow, scores the results and writes them to a gold table. A regression raises an alert. Lakeflow job Agent app AI gateway MLflow Gold table Alert run dataset v6 model calls replies traces per case score with scorers and judges scores write scores by version compare with last release regression found
Nightly evaluation job

What the data answers

Build this for your business

This example is speculative and not an approved device, but the same pattern, deterministic safety for every hard duty, a governed gateway, runtime security, advisory-only AI and measured quality, fits any safety-critical service. We can scope a pilot on your own systems.

Book a discovery call