Robotic Surgery · 08 / 26

Data Model and Classification

The logical data model of the robotic surgery platform: entities, classification matrix, retention, data flows and deletion.

Purpose and scope

This is the logical data model for the platform: the entities it creates, what each holds, who may see it and how long it is kept. It makes the privacy decisions in ADR-010 concrete. The clinical record, imaging archive and pathology system stay the systems of record; the platform keeps plans, device records, decisions and de-identified copies for development and monitoring.

Core entities

Core entities of the robotic surgery platform A patient has a procedure with imaging studies and a signed plan. Nanobot batches and units are recorded in and reconciled out for each procedure, and device telemetry and safety events attach to it. Specimens, pathology results and the operative note complete the record, and consent and audit records tie to everything. Patient, imaging, pathology and consent records carry sensitive data. Patient identity · history Procedure case · team · times Imaging study dermoscopy · confocal Signed plan margins · geofence · version Nanobot batch device ids · count in Reconciliation count out · verifiers Device telemetry status · health Safety event type · time to hold Specimen orientation · plan link Pathology result margin status Operative note draft · edits · signer Consent scope · date · withdrawal has signed reconciled uses raises sensitive data knowledge operational record
Sensitive entities are shaded. Every entity carries the trace identifier, so any record can be tied to one decision.
EntityKey fieldsOwnerNotes
Patientpatient id, identity, historyClinical recordPlatform holds a pseudonymised key and masked copies
Procedurecase id, team, times, statusTheatre systemLinks every other record of the case
Imaging studystudy pointer, modality, dateImaging archivePointers, not copies; images are restricted
Signed planmargin outline, geofence, model versions, signer, versionPlanning serviceOnly a signed plan is accepted by the safety controller
Nanobot batch and unitsbatch id, unit ids, count inTheatre inventoryDevice identifiers support recalls
Reconciliationcount out, verifiers, imaging check, statusPlatformClosure is blocked until reconciled
Device telemetrystatus, health, wear, eventsDevice systemsNo patient identity
Safety eventtype, time to hold, actions, reviewerQualityReviewed and kept per regulation
Specimen and pathology resultorientation, plan link, margin statusPathology systemThe reference for margin quality
Operative notedraft, edits, signer, filed timeClinical recordFiled only after the surgeon signs
Consentscope, date, withdrawalConsent systemGoverns research and de-identified use
Audit recordevent, actor, tool, args hash, outcome, trace_idPlatformAppend-only

Classification matrix

Four classes drive every control. Restricted data is limited to what a step needs, masked by role and kept only as regulation requires.

DataClassIn promptsIn logs and tracesIn analyticsRetention
Patient identity and demographicsRestrictedNever; pseudonymous key onlyNeverMasked by roleMedical record retention period
Imaging studies and annotationsRestrictedNever raw; features only where neededNeverDe-identified copies onlyMedical record retention period
Pathology reportsRestrictedExtracted margin fields for the stepNeverDe-identifiedMedical record retention period
Operative notes and dictationRestrictedStructured facts for the draftNeverDe-identifiedMedical record retention period
Consent recordsRestrictedNoOutcome onlyMasked idsLife of the record
Plans, geofences and model versionsConfidentialSummary for the stepIds and versionsYes, pseudonymisedDevice record retention period
Device telemetry and batch recordsConfidentialNoYes, no identityYesDevice record retention period, including recalls
Safety eventsConfidentialNoYes, no identityYesDevice record retention period
Protocols and instructions for useInternalYes, as cited clausesYesYesVersioned, kept
Trace and security eventsInternalNoYes, no contentYes13 months

A table, as built

The reconciliation table in the silver layer shows how the accountability rule becomes columns: a pseudonymised case key, device batch, counts in and out, two verifiers and a status that gates closure.

surgery_prod.silver.nanobot_reconciliation
-- Silver layer: nanobot reconciliation per procedure, with device ids and no patient identity
CREATE TABLE surgery_prod.silver.nanobot_reconciliation (
  procedure_id     STRING NOT NULL,            -- pseudonymised case key, not a patient identifier
  batch_id         STRING NOT NULL,            -- device batch, traceable for recalls
  count_in         INT NOT NULL,
  count_out        INT,
  verified_by      ARRAY<STRING>,              -- two named verifiers, hashed
  imaging_check_id STRING,
  status           STRING NOT NULL,            -- open | reconciled | mismatch | escalated
  escalation_by    STRING,
  closed_at        TIMESTAMP,
  created_at       TIMESTAMP NOT NULL
) USING DELTA
TBLPROPERTIES ('delta.enableChangeDataFeed' = 'true');

Where data moves

FromToWhatControl
Clinical record and imagingPlanning serviceImaging and history for the caseClinician authentication, access logged
Intraoperative sensorsEdge computeLive images and positionsStays in the operating room network
PlatformAI (artificial intelligence) gateway and modelsStructured facts for documentation onlyMinimise, scan, no provider retention
PlatformClinical systems gatewayStructured argumentsScopes, signed approvals, audit
CollectorLakehouseTelemetry and de-identified copiesIdentifiers dropped or hashed; masks
LakehouseModels and evaluationDe-identified features and casesRole-based access; consent respected

Deletion, correction and access

  1. Find

    Every record carries the pseudonymous case key, so all copies can be found, including de-identified ones where re-identification is possible.

  2. Delete or anonymise

    Identifiable records follow medical-record law. Research copies are deleted on withdrawn consent where lawful. Device records are kept for the regulated period.

  3. Propagate

    Deletion events reach the lakehouse tables, feature tables and evaluation sets.

  4. Prove

    The audit record shows what was deleted, when and by whom, without the deleted content.

Retention periods are set by law and by device regulation and differ by country. Set them with counsel. The figures here are placeholders.

Handling a withdrawal of research consent A former patient withdraws consent for research use. The privacy officer checks which records must be kept for care and regulation, the platform removes research copies and publishes a deletion event, downstream copies and features are removed, and an audit record shows what was done without the content. Former patient Privacy officer Platform Lakehouse Features and cases Audit log withdraw research consent verify identity, find retention duties deletion event, case key remove research and de-identified copies propagate deletion event mask or remove copies remove from features and evaluation sets done done audit: what, when, by whom complete confirmation; care records kept
Handling a withdrawal of research consent

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