{
  "id": 21409323,
  "title": "2026 Healthcare Retrieval Design: Tenant Isolation for Appointment Assistants",
  "url": "https://urgent.news/2026/11/23/2026-healthcare-retrieval-design-tenant-isolation-for-appointment",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-23T14:45:19.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/godfreysterling9226/2026-healthcare-retrieval-design-tenant-isolation-for-appointment-assistants-39ka"
  },
  "original_language": "en",
  "account": "Healthcare appointment assistants should implement server-derived tenant identity for secure search and generation. The pipeline should include authentication, tenant resolution, immutable filtering, retrieval, and generation with citations. The critical metric is preventing cross-tenant exposure, where a test patient from one clinic should not influence responses for another clinic. Tenant isolation should be treated as an authorization property, not a database preference. The retrieval request must carry a server-derived tenantId, which must be checked against the caller's claims. The records need a tenant key, usually scoping clinic policy, provider calendars, cancellation rules, and local contact instructions. Protected health information should be kept out of embeddings when possible. The Retriever interface should include a search function that takes a RetrievalRequest and returns an array of Chunk objects. The answer function should use the retriever to search for results, check for tenant isolation, and generate a response with citations. Every branch of the retrieval process should have the same authorization context. A test fixture with two tenants and identical questions can catch authorization failures. Log decisions, not patient text, and alert on tenant mismatches or sudden increases in zero-result responses. Choose the partition strategy based on contractual, regulatory, and incident-response requirements, then verify it with destructive tests in a non-production dataset.",
  "summary": "Short answer: For a healthcare appointment assistant, use a server-derived tenant identity, enforce it before ranking and re-ranking, and pass only authorized chunks to generation. Put tenant identity in the retrieval request; never ask the language model to “remember” the boundary. The useful design is a small, boring pipeline: authenticate, resolve a tenant, apply an immutable filter, retrieve,…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}