TFD Transcript Reuse

ADR 0069 · Implemented in the monolith · Deployment and recipient approval required

TFD Transcript Reuse ADR 0069 · Implemented in the monolith · Deployment and recipient approval required Owner transcripts · Sales / Clinical protected source · Architecture component · Implemented Owner transcripts Sales / Clinical protected source Implemented De-identification · Local transform · PHI until release · Architecture component · Implemented De-identification Local transform · PHI until release Implemented Release decision · Safe Harbor / expert evidence · Architecture component · Implemented Release decision Safe Harbor / expert evidence Implemented Derived index · Approved text · pgvector · Architecture component · Implemented Derived index Approved text · pgvector Implemented Review required · No index or external disclosure · Architecture component · Implemented Review required No index or external disclosure Implemented Authorized retrieval · Actor · purpose · current grants · Architecture component · Implemented Authorized retrieval Actor · purpose · current grants Implemented Domain assessments · Sales · Clinical · Delivery · Architecture component · Implemented Domain assessments Sales · Clinical · Delivery Implemented Legend Database Security Backend

Protected source boundary

  • • Identified originals and reversible mappings remain with their owner; no shared clinical source copy.
  • • Sales owns original sales transcript revisions. Clinical owns private-care transcripts; Delivery owns scheduling and VIT service-quality assessments.
  • • Transcription of raw media requires a separately approved PHI processing path.
  • • New Sales transcript revisions persist a unique source position after segment compaction. Staff reads, external pages, analysis/embedding input and shared snapshots use that order without fabricating timestamps. Legacy null positions keep a deterministic chronological fallback; no source order is inferred or backfilled.

Release gate

  • • Masking produces a candidate, never an automatic HIPAA certification.
  • • Review the entire recipient payload, metadata and identifying narrative. Ambiguity fails closed.
  • • A release pins source revision, transformed hash, method, policy, purpose and recipient.

Reuse and revocation

  • • Only reviewed released text reaches the shared index or de-identified provider route. Legacy identified Sales egress retains a separate expiring approval gate by default and in every non-development deployment.
  • • The user-authorized November 4 temporary compatibility exception skips only the legacy Sales analysis/embedding approval check when CONSULTATION_IDENTIFIED_PROCESSING_APPROVALS_ENFORCED is exactly false and DEPLOYMENT_ENVIRONMENT is exactly development. Unset/other values and deployment identities enforce the original registry. Restore true or remove the flag and reload processes to reactivate checks. No fake approvals, shared releases or production bypass are permitted; repository preparation does not activate or deploy this exception.
  • • Internal source links stay restricted. Free-text queries stay local; semantic similarity uses approved stored vectors.
  • • Source corrections and revocations atomically invalidate assessments, remove derivatives and cancel jobs. Lease/generation checks prevent stale worker publication.
  • • Implemented in the repository; production activation and representative review are still required. Existing Sales embeddings are excluded and not certified.

Consultation import provenance

  • • Sales owns immutable organization/key-scoped ConsultationImportBatch records. Transcript revisions pin the batch, server import time and created-consultation versus attached-transcript action; historical versions remain filterable.
  • • Staff list/detail projections expose import history, searchable paginated batches and a separate outcomeConfirmationPending marker. Explicitly selecting an outcome, including Open, confirms it without retranscription or queue work.
  • • Legacy import metadata stays absent and existing outcomes stay unchanged. Cognito/active StaffUser and read/manage/reprocess grants retain their existing responsibilities; no provider or runtime service is added.