You're the central nervous system, and the AI agents are the peripheral nervous system.
— Dr. Mohammed Loubani
Dr. Mohammed Loubani practised emergency medicine at London Health Sciences Centre, moved into investing, and since 2017 has run Avaros, an EMR built in London, Ontario. By the numbers OntarioMD publishes, it is now the fourth-largest EMR in the province. In November it launched in British Columbia, and it has started building AI agents into the chart itself: an in-chart assistant, inbox triage, an integrated scribe and clinical guideline support. We talked about the date picker that started it all, why healthcare resists the kind of digitization that worked for accounting, how a small team ships a feature in one sprint, and why an EMR company is backing interoperability.
Edited for length and clarity. My questions and comments are in bold.
Where it started
Dr. Phua: Dr. Loubani, thank you for joining us. Let's start with your story as a clinician-founder. You were an emergency physician at London Health Sciences Centre, you went into investing, and you've run Avaros since 2017. What got you interested in building an EMR, given how many players were already in the market? What opportunity did you see?
Dr. Loubani: When I was working in medicine at LHSC, I felt acutely how far behind our health technology was. That was the main driver. It always sat in the back of my head: there are some very simple design steps that would make health technology better. I knew it was a highly regulated space and that things moved slowly. But I kept having this nagging feeling that we could do this better and faster.
The story that stuck with me from LHSC, and I hope I'm remembering it correctly, was an online ordering platform we used in the emergency department to order things like X-rays and labs. It had just come in; before that we did it on paper. When you opened the ordering screen, the date defaulted to a fixed date in the past, something like three years back, and you always had to change it to today. In the emergency department, I'm doing everything today.
I went on a mini crusade to get it fixed. Surely it could just open with today's date, so I didn't have to scroll on every order. To me that was a microcosm of what was wrong with healthcare technology. Fair enough, the developer had hard-coded a date when they built the picker. But the feedback loop between seeing a problem and fixing it was so long that it felt impossible. Everyone told me to just change the date and live with it.
Avaros was built on the idea that you could tighten that loop. Even if you can't get everything right, if you can design in a faster, tighter loop, it's worth it. A lot of the conventional wisdom in healthcare technology says that even if you build a great product, you won't be rewarded for it, because the buyer isn't the user and the industry is so fragmented. Avaros was our way of challenging that assumption. User satisfaction does matter in healthcare technology. We launched it as an experiment to test that hypothesis: what if we built more efficient software that made people's lives easier and, dare I say, delighted them? When you use a great tool, even an X-ray ordering tool in the emergency department, and you feel the maker anticipated your needs and is looking out for you, it's delightful.
We initially thought we'd make an add-on. A patient messaging tool was actually the first thing we wanted to build. But integrating with systems of record, whether EHRs or EMRs, was so hard, and at the time we saw no real hope of interoperability improving, so we decided we couldn't do it without building our own system of record. We thought the EMR would be secondary, and the tools we built on it would be the fun part. Then we realized it was the EMR, the system of record, that really needed to change.
Dr. Phua: It sounds like intrinsic motivation, almost a love of craftsmanship in software, was part of it. That's rarely discussed among clinician-founders. We often tell a purely utilitarian story, but there's a beauty in creating a system that's molded to the user and built with empathy for them.
From system of record to copilot
Dr. Phua: I want to talk about the AI features Avaros is launching. You sent us short demos of features that look like a clinician AI copilot. Resident AI is an agent inside the EMR that summarizes the chart and reads through previous encounter notes and forms. Another agent triages the inbox and highlights what matters. There's a scribe built into the chart, and clinical guideline support. How do you see the EMR evolving, away from a pure system of record and toward something like an AI copilot for clinicians?

Dr. Loubani: Let me take it back one level. One of the challenges in building technology for healthcare is that healthcare isn't easily classifiable. Look at how other industries digitized. Accounting digitized beautifully: accounts, the values in those accounts, even the descriptions all break down cleanly. The whole profession is defined by the accounting equation: assets equal liabilities plus equity.
The people who digitized accounting tried the same approach with healthcare, but healthcare is nothing like that. It's more like a freestyle narrative story, and anyone who's practised medicine knows it. Even coding a diagnosis, the most fundamental part of digitizing healthcare, is a fallacy. Try fitting the person in front of you into an ICD-9 code. They don't fit, and yet every system makes you finish the encounter by choosing a three-digit ICD-9 code. And that problem was solved by making the systems more complex: not ICD-9, let's use ICD-10, or SNOMED CT, or whatever.
AI's real promise is that instead of forcing the physician to contort to fit the paradigm of classical computing, it can match the physician. With AI scribes, for example, the physician can have a regular conversation with their patient. Yes, we still need to summarize it, to communicate the key parts to the next physician. That's important: we document to help the next person caring for this patient, not out of some innate need to summarize or code things. AI scribes let that happen in a physician-friendly way, as a standard note with all the key information that lets you get up to speed quickly.
When you think about it that way, as what people are trying to do to care for this patient, AI's probabilistic nature works a lot more like a human mind than classical computing does. Classical computing forced you to break everything into integers, strings and categories it could operate on: is this equal to that, is this greater than that, did this happen after that?
So we see AI as technology that becomes invisible. Say you want to fill out an insurance form. The AI takes all your conversations, all your notes, all that unstructured data, and completes the task, whatever the task is. Medicine is inherently an unstructured data business, and every attempt to force artificial data structures on it has failed and, we think, will keep failing.
As the models get more powerful, we see AI as an extension of the physician. You're the central nervous system, and the AI agents are the peripheral nervous system. You decide what needs to be done, and you're not burdened with the lower-level work of summarizing, collecting data, reading, suggesting billing codes or checking clinical guidelines. Right now we're building it as several agents working in different areas, but we see them unifying into one output, where you're given the best information at the moment you need it. You never worry about missing something, because it's surfaced when you need it, and you never have to code something to make it easier for the system to understand you.

Dr. Phua: That's an elegant summary of the problem. So many people have said EMRs never really saved time. Digitization had massive benefits, since the data is now searchable, stored and accessible to agents, but clinical workflows didn't improve that dramatically. In fact, expectations around charting went up. I like your framing that outside efforts to impose structure on the data have always failed, and that LLMs are different because they can do a kind of fuzzy pattern matching, or fuzzy data extraction. That's what the first wave of digitization lost: the data is super messy. A patient conversation is an inherently messy thing. Everybody jokes in medical school that the patient tells the student a completely different story than the resident, and the resident a different story than the attending. That's just human nature.
Velocity
Dr. Phua: Avaros is notably at the frontier of putting AI agents into the EMR itself. Why can you move faster than the median company in this space? Is it how your organization is structured, or tighter feedback loops in how you build?
Dr. Loubani: I love that question. At Avaros we call it velocity, which is speed in the right direction. Velocity has a vector; it's not just how fast you build. We joke that if you work really fast at building the wrong thing, you just fail even faster. So the point is to make sure we're pointed in the right direction. There's room to course-correct, but we can't make big bets in the wrong direction for long or we'll destroy the company. Then we move really fast in that direction. Doing things slowly doesn't just delay the benefit for customers; it also costs more. So velocity is ideal efficiency in building: you're pointed at the right thing, and you get it out as quickly as you can.
We've cared about that for a long time, and we derived a few insights. One of my favourite books is *The Mythical Man-Month*, by an engineer who ran big projects at IBM. IBM broke development down into man-months: estimate how many lines of code a program needs, assume an engineer writes so many good lines a month, and you have your number. The book's thesis is that this is the worst possible way to look at completing a task. When a project fell behind, the instinct was to add engineers to fill in the man-months, and invariably adding people slowed the project down. Every engineer you add needs to be brought up to speed and coordinated, and you multiply the lines of communication, until you have a hundred engineers working slower than eight. Jeff Bezos took that further at Amazon: if a team is bigger than about eight people, break it into components with clean interfaces between them. I'm pretty sure he'd read the book too.
So, paradoxically, one of the ways we move fast is by keeping the teams on these projects small and always very close to the users. I believe we're the only EMR company with a public forum where users sometimes berate us for what we're not doing right, and can say publicly, here's where you need to go next. We publish our roadmap and engage with them. There's the old line, usually attributed to Henry Ford, that if you'd asked people before the car what they wanted, they'd have said a faster horse. You don't have to build everything customers ask for. But in healthcare there's no way to keep up with what's happening on the ground without hearing from users, so that constant feedback is a big part of how we pick our direction.
Then, when we see a change that could solve a lot of problems, we move. We've known for years that fax filing is a major drain on MOAs. When we saw that AI could categorize a document, give it a descriptive name, and identify the patient and the physician it's for, at better than human accuracy, we could measure it. Humans misfiled about 3 in 1,000 documents into the wrong chart. Admittedly, the AI excludes some documents, because if it can't read something it just leaves it out. But when it decides who the patient is, it's right far more than 997 times out of 1,000. So this was a tool we could ship now that would free people up. An MOA is a versatile team player. If they're not filing faxes, they can answer phones or complete tasks for the physician, and in that ecosystem it's a net win.
Fax filing took one sprint, two weeks, because we knew ahead of time all the pieces we needed, the rates we had to hit, how to test it, how to deploy it and what to watch out for. When the stars align like that, it makes no sense to slow it down with what we consider non-value-added barriers. There's no committee that decides whether fax filing is a feature, and we don't take it to a review board. We take it to users and let it live or die in their hands. It's now one of our most widely used features. I love it as an example, because the value for us and for customers, which tends to align pretty well, was huge.
Why build it in
Dr. Phua: I'm struck by how vertically integrated Avaros is for a Canadian EMR. Many of the features built into your EMR, or coming soon, are standalone products elsewhere. Your team built its own scribe, and you're about to launch an automated billing agent, which seems enormously useful, because billing is incredibly cognitively demanding and many clinics have staff who do nothing else. Has your organizational approach let you reach this unexpectedly high level of vertical integration?
Dr. Loubani: This is a tough one, because we fundamentally believe in free, open data and interoperability. We support the new federal interoperability legislation, Bill S-5, the Connected Care for Canadians Act, and we're involved in the working groups defining what the actual regulations will be. We think free, open data is the best outcome for everyone. We're building much better APIs and adding a FHIR server, because we want people, especially with SMART on FHIR, to have seamless experiences.
A lot of our vertical integration happened because we didn't know how else to get features into users' hands without multiple logins or copying and pasting. With the AI scribe, for example, we wanted to stay out of that space. But users told us that even with really great AI scribes, which may have better note quality or features than ours, the copy-and-paste step was an annoyance. If we could build a scribe that removed copy and paste, they'd be happier. So we moved in the direction they led us, and that shocked me. If you'd asked analytical Mohammed whether I'd rather use a better third-party scribe, which I won't name, and copy and paste the final note, or use the scribe built into my EMR and skip that step, I'd have picked the other guys. Users didn't. So we're listening to the market.
But I want to be clear: our belief in interoperability is absolute. A healthy EMR market is one where I could be using Avaros tomorrow and Avaros's top competitor the day after, without missing a beat in my clinical workflow. Only with that level of portability will there be the pressure needed to keep the ecosystem healthy, and that pressure has been missing for the last 15 years.
Dr. Phua: I couldn't agree more that a healthy dose of evolutionary pressure matters in any software market. Thank you so much for your time and your insights.
Dr. Loubani: Thanks so much, Peter. This was such a pleasure.



