Every hospital account, remembered
A medical-device company's field engineers, clinical specialists and support staff each hold part of what happened at every hospital. Here is how its own app can hold all of it instead, with dates, sources and reasons.
This is an example of how the Memory API fits this kind of company, not a case study of a named customer. The numbers we quote as measured are ours; the time saved is arithmetic you can redo with your own figures.
The situation
Picture a company selling an imaging or infusion system to 150 hospitals. Each account has its own story: which units are in place and on which software version, who on the ward was trained and when, the service visits, the complaint about an alarm last spring, the workaround the clinical specialist agreed with the charge nurse, and the upgrade the biomedical team asked to schedule after their audit.
That story changes all the time. A unit is replaced, so its serial number changes. A software update fixes the alarm, so the workaround no longer applies. A new head of biomedical engineering arrives, so the contact changes. Then a support call comes in and the engineer on duty has never visited that site.
The CRM holds the account, the service system holds the tickets, and the rest lives in visit notes and email. Searching all of them finds documents. It does not say what is true at that hospital today, or what changed since the last visit.
What they build
The company keeps its own field and support app. localmem is the memory layer behind it, reached through an API from the app's backend. Each hospital is one localmem customer, held apart from every other and encrypted under data keys of its own.
- Write what the team learns. Visit reports, service notes, training records and account emails go to
documents.send, each with the date it became true. - localmem reads it into facts. "Ward 4B runs software 3.2", "Alarm workaround agreed with the charge nurse", "Upgrade requested for March". Each fact keeps its source and the date it started to hold.
- A newer fact replaces an older one, and the older one is kept. When the update lands, the workaround is marked replaced, with the date and the service note that closed it.
- The app asks before anyone answers. Before a visit or on a support call, the app searches that hospital's memory and shows the current picture, or hands it to the assistant's prompt.
In code
import { Memory } from "@localmem/memory";
const lm = new Memory();
// One localmem customer per hospital, by the company's own account id.
const { tenant } = await lm.customers.create("acct-0417");
// After a service visit.
await lm.documents.send(tenant, {
text: "Visit to ward 4B. Updated both units to software 3.3, which fixes the "
+ "occlusion alarm. The manual reset workaround is no longer needed.",
as_of: "2026-05-12T14:00:00Z",
});
// On the next support call: what holds now.
const now = await lm.search(tenant, { query: "Open issues and software on ward 4B" });
// And what the site looked like before the update, for the complaint file.
const then = await lm.search(tenant, {
query: "Which software did ward 4B run, and what workaround was in place?",
at_time: "2026-05-01T00:00:00Z",
});
What the memory holds
Not a pile of notes: each hospital's facts, as they stand and as they stood. A fact like this comes back from a search:
Three properties matter for a device company:
- As of any date. Ask with
at_timeand hear what was true then. "Which units and software were in place at this site when the complaint came in?" has an answer, not a guess. - Reasons travel with changes. The document that changed a fact stays linked to it, so the trail is there for a quality review or an engineer new to the account.
- One hospital never leaks into another. Each hospital's memory is encrypted under data keys bound to it alone. Deleting a hospital removes its data with its keys, with a dated record of it.
Where it helps
| Moment | Without a memory layer | With localmem |
|---|---|---|
| A support call | Open the CRM, the ticket history and last visit's notes | The app shows the site's units, software, open issues and contacts, with sources |
| Before a site visit | Ask the last engineer what happened | What changed since the last visit, in order, and what was promised |
| A complaint or quality review | Rebuild the site's state on the day by hand | Ask what held on that date, with the documents behind it |
| A new specialist takes the account | Weeks of shadowing | The account's history, with what changed and why |
The same pattern elsewhere in healthcare
- Therapeutics companies can give medical science liaisons an app that remembers each clinic or trial site: questions asked, materials sent, commitments made, and what changed after each meeting.
- Health-tech products can give their assistant a memory of each customer organisation, so it answers from that organisation's own history rather than starting over.
What it could save
Say a support team takes 40 calls a day and spends 5 minutes on each finding out where the hospital stands. That is over 3 hours a day. If the memory gives back even half of that, the team gains more than a working day every week, and callers wait less.
The cost side is small and fixed: 150 hospitals, with a few visit and service notes each every month, fit inside one flat plan. Hospitals themselves are free; nothing is charged per account or per seat.
These are assumptions for the arithmetic, not measurements. Put in your own call volume and minutes.
What we have measured
Those three are what matter for a device company: the answer about the past is right, one hospital's history never shows up in another's, and the facts your team wrote come back when they are needed. Answers return in well under a second, so the app can ask on every call.
Measured by us between 30 October and 10 November 2026, not an independent benchmark.
Good to know
- Your app, your model. localmem holds and finds the memory; your assistant writes the answers with the model you choose.
Give your app a memory of every account
Testing is free, always. Live, one flat plan, monthly or yearly, with 3 months free on a year.