Urgent.News

What's breaking now, across hundreds of outlets.

Tech

2026 Healthcare Retrieval Design: Tenant Isolation for Appointment Assistants

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,…

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.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

What are your goals for the week? #206

It's Thanksgiving week in the US. Many people will have a three day workweek followed by a long weekend. If you're working international you won't see us.

  • Focus on Black Friday Sales article for Tuesday publication
  • Personal goals include job search, networking, and side project work
  • Goal-setting thread on Virtual Coffee Slack scheduled for Thursday

systemd quietly removed my container's swap limit

TL;DR Caddy, the reverse proxy in front of my service, had a 1 GiB memory cap and no swap allowance. I checked it in the kernel after the deploy: memory.swap.max was 0.

  • Swap limit for container was removed silently
  • Unattended libc upgrade changed swap limit to large value
  • Fix involved setting proper non-zero swap limit

More from Monday 23 November →