Dovetail

Webinar Recap: A SaMD testing plan that holds up at review

36 min read

Spencer Todd

Back to blog

A passing test pipeline proves your code runs, not that your medical software is safe or clinically effective. In this webinar, Dovetail CEO Spencer Todd talks with Steven Byrne, Principal SaMD Expert at notified body Scarlet, about what reviewers actually look for in a Software as a Medical Device (SaMD) testing plan.

Watch the webinar

Watch the webinar on YouTube

Prefer to read or search for a specific answer? Read the full transcript below.

Quick takeaways for your SaMD testing plan

1. Separate verification from validation.

Unit, integration, and CI pipeline tests show you built your software to spec under IEC 62304, even in simulated environments. Validation tests the deployed product in a production-like environment across four areas Scarlet checks in a SaMD submission. Those are functional testing against product requirements, clinical evidence, independent security testing like penetration tests, and usability engineering. Strong clinical evidence will not make up for missing usability or cybersecurity testing.

2. Let your clinical claims set the evidence bar.

Clinical evaluation covers technical performance, valid clinical association (often backed by literature for established pathways like PPG-based oxygen saturation), and clinical performance for your intended purpose and user base. Start from your intended purpose and clinical claims, check what data you already have, and then decide whether retrospective data, post-market data from another market, an independent dataset, or a prospective study fits. Clinical evaluation is the most painful piece to get wrong late, so use early structured dialogue with your notified body to clarify expectations before you waste time and money.

3. Make traceability easy for reviewers to inspect.

First-time medtech teams often have the tests but miss the links between them. Separate narrative documents like your risk management and software development plans from discrete tabular records such as hazards, software requirements, design items, and test cases, and give every item a unique ID. A reviewer should be able to pick a product requirement and trace it straight through software requirements, architecture, and unit, integration, and functional tests.

4. Prove AI risk controls work in real clinical workflows.

Machine learning and large language models introduce misclassification, hallucinations, and non-deterministic outputs, so treat the model itself as a hazard. Set clear sensitivity and specificity benchmarks, validate inputs and outputs, and run usability testing to prove a clinician will spot an error and override it instead of accepting the output through automation bias. Be transparent about dataset biases or demographic gaps, justify why your device is safe to release now, and pair that with post-market clinical follow-up to close the gap over time.

5. Plan FDA and EU market order before locking your testing program.

Software verification activities look similar across the US and Europe, even when FDA basic and enhanced documentation sets ask you to expose less paperwork than EU MDR. Clinical validation requirements can diverge sharply, so your regulatory strategy should decide which market comes first, such as entering the US via a predicate device to build data for Europe or starting in Europe or the UK. Follow industry-standard practices across software, clinical, and cybersecurity, then adapt the data to each jurisdiction's submission format.

6. Keep traceability alive after version 1.0, especially with third-party models.

Passing initial review and slipping back into informal releases creates audit findings a year later, because even non-significant bug fixes require change categorization in your QMS along with updated design control records and traceability matrices between versions. For significant changes, Scarlet looks for the scope of the change and a clear rationale for your regression testing. If your product relies on third-party models like Gemini, Claude, or ChatGPT, those models deprecate in weeks or months, so build fast retesting and revalidation into your release process. Predetermined change control plans (PCCPs) can help, though Scarlet's EU PCCP work is still a pilot and overlaps with, rather than replaces, wider post-market clinical follow-up.

Before you submit, walk a product requirement through your own records from software requirements and architecture to risk controls and test evidence. If a requirement hangs without an obvious test proving it is effective, you just found a gap before your reviewer did.

Want a senior regulatory team to review your testing plan or map your FDA, EU, UK, or Health Canada pathway? Book a discovery call and we will tell you honestly whether we can help, and what the shortest path to clearance looks like.

Full webinar transcript

Below is the full transcript of the original recording. Timestamps may differ from the edited replay.

Spencer Todd (00:01)
Okay. thanks everybody for joining today. my name is Spencer. I am the CEO of Dovetail. we are your partner for market access for the US, Health Canada, EU, and the UK. Really excited to to to run this webinar today on your med tech's medtech algorithms perfect testing plan.

We've been working with Scarlet for a good while now, so it's gonna be great to have Steven here to to chat on their behalf and give everybody some insight into creating the perfect testing plan ahead of your notified body submission.

Steven Byrne is the principal software's medical device expert at Scarlet. He creates and delivers a lot of technical content. You've probably seen some of his blog posts, things like that, and then advises on software and AI medical devices.

At Scarlett, they help manufacturers navigate the technical regulatory complexity of building safe and effective medical software. Before Scarlet, Steven was developing medical device software, SAMD, SIMD, as a medical device products. Has a bachelor's in computer science from University of College Dublin, Master's in Software Engineering from NUI Maynooth, and a PhD in electrical engineering from Queen's University Belfast. So excited to welcome Stephen here today.

Steven Byrne (01:34)
Hi Spencer, good to be here. Thanks for having me.

Spencer Todd (01:37)
Thanks for joining Steven. So I thought that we could just start and just chat a little bit about Scarlet itself and you can give some background as well. Hopefully I touched on everything in my brief intro, but maybe you can just give a quick background on who Scarlet is, what kind of devices you review, maybe what makes you a little bit different as a notify body, compared to other ones as well.

Steven Byrne (02:02)
Yeah, so we're a notified body, we specialize in software and AI devices. So at the moment it's software as a medical device. AI is a medical device, but we do have goals to quite soon hopefully be able to add hardware, active hardware or IVD software based based devices as well to that. And what makes us different really is, if I give the origin story from Scarlet, we're born out of frustration really with the regulatory process. Our two co-founders, they were at Babylon Health, they were creating software as a medical device. And although they were able to iterate quite quickly on the functionality of the product, they were able to re-verify and validate it and able to deploy it quite quickly. It was really that regulatory hoop for change requests that was their first point where they saw how broken that is for software.

So they really set about then creating a notified body that was special, specializing in software. And really what we try and do is is match our assessment process and our skill set to software AI devices where we can, and hopefully help manufacturers iterate quickly and get to market and continue to push frequent updates so that they can constantly meet the needs of their their customers.

Spencer Todd (03:09)
Awesome. I think a lot of us can relate to that to those difficulties in the past. And now everything, pretty much everything is is either software based or has software in it, right? So that's really important

Steven Byrne (03:17)
Yeah, that's right,

Spencer Todd (03:19)
So when you're thinking about how essentially doing the conformity assessment process and engaging with clients or companies that are looking to use you all, when is typically the right stage to engage? 'Cause I know that we've had some engagements and we've done quite a few structured dialogues and things like that and I think it's been really helpful. But I'm curious from your side when you think the best time it is for people to come to you and and start those engagements.

Steven Byrne (03:43)
Yeah, I think it's earlier than most people think. Yes, we're not going to be certifying your device until you've got all your documentation in place and your QMS in place. But there's a lot of upfront planning activities that are really important to get right. and actually having a notified body's viewpoint on that or a sounding board really is quite is quite beneficial. Two in particular, like the device classification, especially under EU MDR, is like, have you got are you a class two A, you class two B? A lot of people try and avoid those two when their device needs to be. So having a sounding board there is quite important. And then also your clinical evaluation strategy, that's one that it's very important to get it right up front and having a structured dialogue with someone like ourselves on that topic. Make sure that you're on the right path before you waste a lot of time and money on doing something that mightn't actually, show that your your intended purpose has been met.

Spencer Todd (04:39)
Yeah. Yeah, I think that's very underrated for folks. We also say the same thing, if you can engage, engage early because it's kind of like an expectation meets reality thing. And it's always good to if you can get a chance to to communicate with with who's gonna be reviewing or your your submission package or you know who's on the team supporting, it's always good to get like perspectives on that, right? Because there tends to be a lot of gray area for a lot of this stuff, right? So it's always good to know ahead of time if you can figure that out. So I guess like a couple more questions just on Scarlet, 'cause I think it's a good kind of intro to this conversation on testing plans, right? Which so so when when people submit, what typically makes a smooth CE marking process, both from kind of the client side and I guess like what you expect to see, maybe what they'll expect from your team to make sure things kind of go smoothly once they kind of hit the submit button for the for the submission.

Steven Byrne (05:31)
Yeah, good question. I think there's two things I'd say there. One is from the manufacturer side, it's making sure they understand the importance of the regulatory and quality functions early on in that journey and they're not just trying to tack it on when the device has been built. because obviously, you know, if the earlier on you can you can consider these these items, the sooner you'll surface issues that you need to solve and you can then do it, you know, do those regulatory challenges in parallel to your development. and the other one then is is making sure that we've got clear expectations on both sides. And that's probably the thing that we see with the industry is really lacking is that, you know, as a notified body, we're not able to look at your documentation until you submit. We're not allowed be involved from a consultancy perspective in the run up to that as well. So without proper communication, and if we only see your documentation for the first time, it could be you spent months creating things that actually we're not looking for and you're short in areas where we we're really gonna have a deep look at. So yeah, what we try and do is in that pre-submission phase is although we can't consult, is make sure that you're armed with, you know, how we interpret the regulations a lot. And also, you know, we make sure we have as much kind of dialogues within the confines of our our regulations that we can do. So that when that submission occurs, you know, a lot of the unknowns have been ironed out beforehand.

Spencer Todd (06:54)
Structured dialogue is very important.

Steven Byrne (06:56)
Yes.

Spencer Todd (06:57)
I think you all do a nice job too of putting some formality around it 'cause it can be a somewhat informal process. So, there's some some fairly structured submission documentation that your your teams always put out for folks so that you're trying to capture as much of that data ahead of time to kind of just make sure that you didn't miss anything, which I think is really helpful.

All right, last thing. I know this was announced earlier this year, but we have some some US folks on the call, but just kind of curious how you all support people looking for US FDA clearance as well.

Steven Byrne (07:29)
Yeah, we're very happy to be able to say that we're now accredited by the FDA to do the third party review for 510(k) submissions. So that's really opened up a pathway for, existing customers who are certified in Europe and want to expand into the US when also they'll have bring in new customers and also do product codes as well that we can support in in the US.

We're getting that off the ground. We're doing our first ones now and it'll be it'll be quite interesting to see how much that gets adopted over the the coming months as well.

Spencer Todd (08:01)
Sweet. anything I missed about Scarlet Stephen?

Steven Byrne (08:06)
No, I think that's a good high level overview.

Spencer Todd (08:09)
Amazing. Okay, let's jump into the questions. I think it'd be nice to start high level, and I was going to start with verification.

People usually think of verification and validation as the two big components of a testing plan for their products: verification is "did I build my product right?" and validation is "did I build the right product?" That's the canonical way of thinking about it.

Steven Byrne (08:36)
Good stuff.

Spencer Todd (08:37)
It's going to be hard to dive into specifics without getting into specific product types, but maybe we can start in a more general sense: how does Scarlet view verification testing, and how do you prefer your manufacturers to approach it, whether that's unit testing, integration testing, or some standard things you always expect to see? Maybe without pulling up all the 62304 requirements while we're here. Just starting there: how you prefer manufacturers to approach it and what you usually like to see for verification.

Steven Byrne (09:12)
You could go down a rabbit hole quite easily with this, but at a high level, look at the three building blocks.

From the bottom up, there's unit testing, which is verifying that the small, granular components of your architecture have been implemented. In that area we look at a combination of things: do you have code review processes in place to make sure there's a second-level review? Are you using static analysis tools to flush out hidden issues in the code? And then the main body is unit testing through white-box frameworks. That's making sure that if I give valid and invalid inputs to the unit, I get the right thing out, and that I can go through all the different logical flows within that unit and prove it has been implemented to the specification in the architectural design.

A level up from that, as you start to build those units together and integrate them into modules and subsystems, is another level of white-box testing that shows that when you put them together, they function together as expected.

And finally, at the top level, is system black-box testing against the software requirements. That's what IEC 62304 calls requirements verification. With that one, here's where we draw the line on verification: if you're operating in a CI pipeline on simulated environments, that's perfectly fine for verification, as long as when you move to validation you have more comprehensive testing in a production-like environment. Depending on the manufacturer, some stop their verification at CI pipeline testing; others bring black-box testing in at the verification level. It doesn't really matter where you draw that line, as long as both are there across verification and validation.

Spencer Todd (11:09)
You talked a bit about white box versus black box. Can you explain that a little more for folks who might not be familiar with it?

Steven Byrne (11:15)
White-box testing is testing that runs on the code itself. The code isn't deployed; it's doing logical checks on the functions within the code. That's why we call it white box: you can see inside the box. Black box is where you've built the software, it's deployed somewhere, and you're running end-to-end testing on it from the outside. You can't see the internals of what's going on; you've already tested those with white-box testing. Now you're more concerned with the functional flows and how the software works in operation.

Spencer Todd (11:50)
Input versus output. That's cool. And in this process, where have you seen manufacturers get this wrong most often, either missing something or going about it the wrong way? Is there something that comes up frequently that it would help to warn people about?

Steven Byrne (12:11)
Two things come up quite commonly, and it's mostly with first-time medical device manufacturers, where you might have development teams who've built really good software in other domains but don't know how to create the documentation or processes required for medical device development.

The first one is conflating verification and validation. Coming from a non-medical background, people are used to: if I run my tests in my pipeline and they pass, I can push to production. They're not too worried about validation: does this thing actually do what it's meant to do, and does it meet the user need? So they're missing a level of testing at validation.

The other one we see is traceability. IEC 62304, the software standard for medical devices, is quite particular about how it wants the architecture documented. It asks you to call out the items or modules in your architecture, and the units, and then map them to the tests that verify them. If you haven't constructed that documentation in a way where you can clearly say "this is a unit, and it's verified by this suite of tests," we won't see it as compliant. That's usually more a documentation issue than a software development issue. Once we're able to tell teams that expectation, through our knowledge base content or structured dialogues, they're able to retrofit the documentation to what they've actually done. It's really just a mapping exercise. But it's a common finding during assessment.

Spencer Todd (13:55)
And as a checkbox thing, that's probably the first thing you'll notice: "By the way, there's a software unit over here that you never tested." That's something you can clear up pretty easily in the early stages, right?

Steven Byrne (14:04)
Yeah.

Spencer Todd (14:08)
If you don't mind, I want to talk about validation a bit, because this word gets thrown around so much and can mean so many things: software validation, computer system validation on the regulatory side, and clinical validation. Could you explain how you look at validation for, say, a software algorithm (not getting into clinical validation), and how you see the difference between verification and validation on a more granular level, so people can distinguish them?

Steven Byrne (14:43)
Probably the best way to look at it is through the submission we want for an AI as a medical device or software as a medical device product. There are four strands of testing we look for when it comes to validation.

You've touched on clinical validation, and that comes from your clinical evidence: are your claims and your intended purpose met, and do you have clinical evidence that backs that up?

Where the software and engineering teams come in is more: is it safe, functionally performant and secure? So you need a level of black-box testing of your product that makes sure all the user requirements or product-level requirements you've defined are met when you deploy it into a production-like environment.

There's also security testing: making sure you have a level of independent security testing, such as a penetration test, which shows that when the thing is built and deployed, it's secure and you can't easily hack into it.

The other one people commonly miss is usability engineering. That's particularly important for AI as a medical device. If you have risk controls based around having a human in the loop, you need to make sure the device is actually safe to use and that users don't misuse it: that they do spot the disclaimers or warnings, that they follow the workflows correctly, and that if there's a mistake in the algorithm's output, they have the ability to override it and won't just fly through and accept what the computer says, with the risk of automation bias.

So those are the four strands: clinical validation, functional testing, security and usability. The idea with all of that is that you're proving all your product requirements have been met and your device is safe, clinically effective and secure as a medical device.

Spencer Todd (16:43)
So it's really starting with the requirements and working out the best way to prove those requirements ended up in the product you built. Is that right?

Steven Byrne (16:54)
Yes, that's it. Traceability again is such an important thing. What we look for in the assessment is: are all the product requirements you've defined met at the end? And are any risk controls you've put in place implemented and proven to be effective? Those are the two paths we look for in your overall validation. You can pull evidence from both verification and validation for that traceability matrix. But if you've got a requirement hanging at the start without an obvious test proving it's effective, that's a potential gap in your submission.

Spencer Todd (17:34)
This is fairly clear for simple software products, but LLMs, machine learning and other models are becoming more and more commonplace in medical device products, and they add a layer of complexity. How do you see this being different for companies that come in with their own in-house model, or that use other models in their products? Does the testing plan start to differ?

Steven Byrne (18:05)
The high-level thing is still the same: you want a way to prove it's safe, effective and secure. Where it differs, I think, is in the certainty element. With machine learning, and increasingly with LLMs, there's a level of non-determinism in your workflows: depending on the input you give it, you could get a different output. And you have to be concerned about misclassifications, hallucinations, those kinds of risks. So validation isn't as straightforward. What you want is to set benchmarks for your algorithm to perform to, such as sensitivity and specificity levels, and show over a broad range of tests that it meets them. Then, in the scenarios where it fails and gives the wrong output, do you have risk controls in place that are implemented and proven effective, so the clinician in the loop can actually spot these errors and override them? That's the main difference.

There's also more emphasis on the post-market side, especially if you're using a third-party LLM. One of the big things with SOUP management in the old-school way was that you decided when to update your software; you were in control of the release cycle. If you're relying on Gemini, Claude or ChatGPT, they're deprecating models within weeks and months now. So you need to be able to move with their deprecation cycle, retest and revalidate on the later models, and push those to production before the old ones get deprecated.

Spencer Todd (19:51)
Have you seen anyone approach this in a really smart way, as far as managing frontier models in their algorithm? Is it through a PCCP, or is there a better mechanism you've seen work well?

Steven Byrne (20:07)
PCCP is probably one of the main ways we're seeing people approach it. In the EU, we're running a pilot with PCCPs at the moment, but it's not fully fledged there, so it's an interesting space to see where the regulations go. But in general, whether through a PCCP or not, make sure you have a robust change management process on both the regulatory and the engineering side. On the regulatory side, that means having a way to identify when you need to change, and then deciding whether that's within the scope of your PCCP, or whether it's a non-significant change or a significant change you need to tell us about. On the engineering side, it's the ability to quickly retest, revalidate and redeploy your software. That's what makes sure you can move quickly in both streams.

Spencer Todd (21:03)
We've seen that quite a bit with the FDA, because they've adopted PCCPs pretty heavily and recommend them a lot. And it's not just frontier models: if you're using other hardware, for example, and need to validate hardware for future releases, you can put that in there too, and they're pretty open to it. So that's cool.

What I'm hearing is that the overall high-level V&V process looks the same, but you may have to extend what you're looking at and think about different use cases. I'd imagine a lot of that ends up in your risk assessment and risk controls: thinking about ways you might have drift or failures, which need adequate risk controls, which turn into requirements that you'll validate anyway. With LLMs you have to think about a lot more of these use cases for risk management than you would with a standard software platform, where they might be more obvious. Is that right?

Steven Byrne (22:05)
That's exactly it. The main point I'd make is that when you're doing your risk analysis for any medical device, you need to look at the potential sources of harm, your hazards, and the use of LLMs, or of machine learning itself, is a hazard. It comes with inherent risks that you need to document and, for your intended use, propagate through from the hazard, to what could go wrong, to what harm that could cause a patient. Then make sure you control for those risks. Some of that can be engineering-based controls: ways of constraining or checking the input, validating the input, validating the output, and escalating things that look wrong or are wrong. On top of that, you have a level of human-in-the-loop control, and you need to make sure it's not just there but actually effective. That's where usability testing comes in quite handy.

Spencer Todd (23:08)
Absolutely. By the way, I forgot to mention at the start: there's a Q&A chat. If you want to put your questions in there, we'll try to answer them, or we'll ask Steven at the end of our planned Q&A. Everybody who registered also gave us a few questions, so we might get to some of those as well. I see somebody's already asked a question, which is great.

I like that you laid out the flavors of validation you typically see: clinical, usability, software functionality and so on. When people think about what actually goes into clinical validation (you just touched on this), is it really about achieving your intended use? Are there certain kinds of requirements that always get pushed out to clinical validation?

And the thing people always ask is: do I have to do a prospective study, or can I do a retrospective study? The answer is always "it depends." People are probably tired of regulatory people saying that, but a lot of the time it does. Could you give your thoughts on what manufacturers should consider when things need to move into an actual planned study?

Steven Byrne (24:24)
Within the clinical evaluation, there are three things we're looking for.

First is technical performance: given the inputs, does it give the correct output? That's usually covered by verification and validation; a clinical study isn't necessarily needed there.

Next is valid clinical association: for your clinical condition and intended use, is it known that the methodology you're using actually addresses that condition? That's usually done through a literature search, unless you're doing something completely novel. For example, if I'm using a PPG signal to compute O2 saturation levels to treat some sort of respiratory disease, that's a known pathway, and I can use my literature search for it. If I'm doing something far more novel, then yes, I need to prove that through a prospective study.

The main thing, though, is the third item: clinical performance. What we recommend there is to start with: what am I claiming for my intended purpose? What are the clinical claims? What's the state of the art, and what benchmark performance do I need to hit? Build out traceability against your claims, then work out what data you need and what data you already have that backs up each claim.

You don't necessarily need a prospective study to get that data. If your device is marketed in another jurisdiction and you're collecting post-market data, you can leverage that. If you have a really strong independent data set that's multi-site and covers your intended user base, and you can feed it into your algorithm and show it performs well, that's another way to show clinical performance without actually doing a study. It's when you get to the point of saying "I have no data at the moment; I need to go and generate it" that you look at a prospective study. And if you've already done previous studies, you can pull that retrospective data in as well. So: it depends.

Spencer Todd (26:35)
There you go, it always depends. We get that question a lot too. What I've always appreciated in our conversations is that you start with the intended use and the claims and ask whether a given approach makes sense for validating them. From what I've found, sometimes you can't really use retrospective data: if it's a digital therapeutic, for example, you'll actually need to see the effect of the intervention on a subject in order to record the clinical performance. Whereas if it's doing image analysis or something like that, there's very likely an avenue for retrospective data to prove the clinical claim. But it all comes back to the claim, which is why it all depends.

That helps. We always see technical performance, valid clinical association and clinical performance in the MDCG guidance, but I thought that was a really nice way of explaining each part, because you always want all three in your clinical evaluation, or at least in your documentation explaining how it works. Super helpful.

When it comes to validation, is there anything that's always flagged as the thing people get wrong most, whether it's missing data or missing approaches?

Steven Byrne (28:05)
I'm just trying to think of the ones we see most. It's probably comprehensiveness across the four areas we look for, and where a manufacturer falls down depends on where they're strong. We'll see some that are very solid on the clinical evaluation, with no problems there, but on the software side they've conflated verification and validation of functional testing, they don't have strong usability evidence, and they haven't done any independent cybersecurity testing, so they fall down there. With other customers, the biggest problem is the clinical evaluation.

Because of the way we operate and try to front-load things, I think the clinical evaluation is probably the most painful one to get wrong late. So we make it the first structured dialogue we have: what's your strategy here? If it looks like you're on the wrong path, we won't tell you the answer, but we'll put as much information and guidance in front of you as we can so you solve it early. So when we see submissions now, it's more in usability testing or software testing where we see the issues. Thankfully, those can be repaired or augmented in a way that doesn't derail your entire certification.

Spencer Todd (29:32)
That makes sense. You're doing validation across the board, so you could see issues in any area.

I did want to touch on a question that came up in the chat from Laura Simons. She's asking: do you ever look at the actual software itself, or is it mostly a documentation-level review when reviewers go through the conformity assessment?

Steven Byrne (29:52)
It's documentation. And I always think that's an imperfect basis. As a software engineer, what I write in documentation could be different from what I write in code, which is why we look for strong evidence of traceability from requirements to outputs. What we're doing more frequently, though, is asking the customer for a demo before we start an audit or assessment, to show what their software does. It helps solidify in our minds exactly how the software works, so that when we're reading the documentation we don't end up raising questions about things that are obvious to the customer but not to us, because we haven't seen the software operate. It brings us onto a more level playing field in terms of understanding the product.

Spencer Todd (30:44)
As a follow-up to that, Kavandeep was asking what methods you've seen work well for displaying traceability. What we see a lot is massive Excel tables with everything in them, which has been done for a while, and people are used to it. Have you found a best way to do it, or is it more that as long as the data is easily accessible for reviewers, it's easier? I know you have some tools on the back end to help with review as well. So, anything you've seen that's really helped people, either in presenting it to you or in managing it themselves.

Steven Byrne (31:25)
When it comes to the submission formats we have, we break the technical documentation into narrative-style documents, like your risk management plan, software development plan and risk management report. We're happy to take those as PDFs, Markdown, Word docs, whatever your native format is.

Then there are the parts of the technical documentation that are granular, discrete records requiring lots of traceability: your hazards, hazardous situations, harms, software requirements, design items and test cases. We want those in a tabular format, with unique identifiers and a way of tracing between them. We don't say you must use an exact Excel template, but we do want them in a form where we can filter, search and cross-reference IDs. Especially if you back that up with traceability matrices that show the identifiers lined up against each other, and that there are no gaps from, say, your software requirements to your verification tests, that builds confidence that you've managed all that documentation correctly and that there are no gaps. From there, it's very easy for us to take a few samples: take a product requirement and walk it all the way through your traceability. Where was it decomposed into a software requirement? Where was it implemented in the architecture? How was it tested at unit, integration and functional test level?

Spencer Todd (33:04)
So not just a high-level traceability matrix: in each of your testing plans, whether it's unit testing or validation at the end, include IDs for tests and requirements. All of that contributes to ease of review for you, which makes total sense.

We just had another question come in from Jay. Scarlet does a lot of outreach and workshops with consultants. If you have a list of those consultants, or topics you can share before people engage with you, it would be good for the consultants to know ahead of time. Maybe we can follow up with Jay with a list of good primers before engaging.

That's another thing I think you all do well: there are a lot of resources. I know you have some mock documentation you give to folks, which shows how you'd expect to see, for example, a software design specification. Are you planning on doing more of that? Have you found anything that works really well for helping manufacturers put together their documentation, whether templates or something else?

Steven Byrne (34:34)
There are a few angles to that. The mock docs are something we've added for our customers; any customer of ours will find them in the knowledge base. They show an example of what good looks like. We're not saying you must follow that template, but it gives people an idea of the kind of information they need.

The other thing that makes it useful is that we've specifically chosen a fictional AI as a medical device. Innovation outpaces regulation, and there are no standards, technical reports or specifications out there that tell us how to do risk management with LLMs. Look at the one that's just been published on applying risk management to machine learning devices: we've been making machine learning devices for, what, 15 years now? So we're providing an example that isn't specific to your domain, but is specific to software and AI, and it helps demystify how someone applies the modern medical device standards to that category of device.

There are other things we do in that vein. We're working with some of the tool vendors as well, giving them access to our expectations around submission formats, so they can export documentation from their systems in formats we like. So we're trying to find mechanisms to facilitate a better understanding across all the different players in the medtech space: not just customers, but also training consultants, helping vendors with their output formats, and so on.

Spencer Todd (36:25)
That makes sense. From a manufacturer's standpoint, always start with whatever works for you to maintain traceability and make sure you've met all your requirements. It's good to format things in a way that you're familiar with and that's easy to review, but it's better to make sure everything's complete, with a nice bow tied on it, than in the perfect format, which I appreciate too. It gives a flavor of how you'd expect to see the technical documentation: take it or leave it, just make sure it captures the spirit of what the documentation should contain.

Jay was clarifying whether there are consultants they could work with before coming to you. We're going to put up a link where you can contact Steven and Scarlet after the webinar, so feel free to contact him with more questions. Sorry, Steven, I'm just throwing you out there.

Steven Byrne (37:26)
Yeah.

Spencer Todd (37:28)
Steven's been kind enough to be with us today, and he said he can follow up where he can to help you with that as well. Sorry, Jay, for getting that question wrong at first.

We have a few more questions, so I'm going to jump in, because it's always nice for the people on the call to get their questions answered. One that comes up a lot, from Steph: how deep should testing go? Stratifying over age groups, device types, minimum, maximum? I know it depends on the intended purpose, but it also depends on the depth of testing. This touches on clinical a bit, but it plays out in other areas too. Your risk assessment could have 5,000 risks or 20, as long as it covers the breadth of what's reasonably foreseeable for the product. So how do you think about depth of testing on your side, Steven, and how should people think about developing their plans for it?

Steven Byrne (38:33)
As long as it's rationalized and defensible, that's the main thing. It's the same with software architecture and software testing: the standard doesn't say you must have four levels of depth in an architecture; it's up to the manufacturer to decide. If we get a software architecture with two modules in it for a big, complex device and no further breakdown, we'll question it. But if we get two or three levels and it makes sense, it's fine.

On algorithm testing and clinical data, again, as long as it's defensible. The big thing with clinical data is to understand that no data set is perfect, and to be able to call out the limitations of your data set and what risks they might introduce in the device. One thing we see from customers who do this well is that they'll say: "We know we have a potential gap in this age range, so we're going to augment it with some synthetic data, which allows us to go to market, and we'll also have a robust post-market clinical follow-up that will try to close that gap over time." We really like it when people come with that kind of information, where it's clear they haven't just applied their data set but have really understood where it's strong, what biases are in it and what gaps there might be, and they can justify why the device is still safe to go to market now while having plans to improve it afterwards. So honesty and transparency is probably the best approach.

Spencer Todd (40:09)
Absolutely. It comes back to the scientific, technical and statistical rationale: as long as it can be rationalized and makes sense, that's usually sufficient. That's also another plug for structured dialogues. Bring it up in a structured dialogue: "This is what we plan to test, and here's why." That gives the Scarlet team a chance to come back and say "this doesn't make sense" or "explain this a bit more," so they understand what you're really getting at. It's always a limited amount of time, so come with the critical questions first, so you de-risk the long pole in the tent, which is often the clinical testing. That's a really good insight.

Laura was asking about the mock technical documentation. Is that on the website? Or I guess we can follow up with you on that.

Steven Byrne (41:02)
That's behind the paywall, unfortunately, so it's for customers only. But we put out a lot of content: training materials, breakfast sessions where we talk about specific topics, and blog posts we publish publicly. So you'll get a certain amount of our material just from following us on LinkedIn or coming to our events. But there's an extra set that's kept for customers.

Spencer Todd (41:35)
There are a couple more questions I want to make sure I get to. One is how you view testing plans and how they differ between a package going to the US FDA and one going to the EU. I know that's a loaded question because there are a lot of variables, but on the whole, do you see them differing, or are they fairly similar?

Steven Byrne (41:54)
It's a difficult question, because once you get into the weeds of the software, the clinical or the cybersecurity, there are nuances and differences. But the fundamental advice is: make sure you're following industry-standard best practices in those areas, and make sure you understand the submission formats and expectations for each jurisdiction. That's probably one of my primary jobs at Scarlet: making sure our customer knowledge base has all of that information in it, so you know where you stand.

The other piece I'd say is to make sure you have a good regulatory strategy in place. Especially for something like clinical, your fastest route might be to go to the FDA first, where you can easily show substantial equivalence to a predicate device, build up your data set there, and then go to Europe. For other devices, it might actually be quicker to go to Europe or the UK first. So understand the pros and cons of each jurisdiction and what the submission formats are, and then make sure your teams are applying industry-standard best practices and collating good-quality data that they can plug into whatever submission format they need.

Spencer Todd (43:16)
Makes sense. So really, start with the regulatory strategy and make sure the product you're bringing to each market looks roughly the same, because the product code and predicate situation in the US may shift the requirements; it might be easier or harder depending on what's required for that product code. Or if the FDA has guidance where they expect, say, 300 subjects for X and there's no such guidance in the EU, you'll obviously want to lean one way or the other, and that might affect your plans. But the whole idea of V&V lives in a very similar space for both markets.

My question is this: I always feel that verification often looks very similar, and validation might be where you see the biggest differences, because of how regulators expect you to prove your intended use or intended purpose, and that can come from what they expect to see from other products on the market, from a predicate standpoint. Do you agree? Does verification tend to look fairly similar between the two, and then validation is where you start to see differences?

Steven Byrne (44:19)
I think so, especially for the software piece. The FDA recognizes IEC 62304 but doesn't require you to comply with it, and depending on whether you're at the Basic or Enhanced documentation level, you might only need to provide a summary of your unit and integration testing. But they still expect you to do it. So how you set up and perform your verification activities is quite similar for both; it's the amount of documentation you expose to the regulator that differs. Whereas when you get into clinical validation especially, they can differ quite substantially, depending on what route you're taking with the FDA, what the situation is, and how much data you have available.

Spencer Todd (45:01)
On the documentation point, hopefully the new version of IEC 62304 brings us a bit closer to parity with what the US expects with Basic and Enhanced documentation. That would be a benefit.

Steven Byrne (45:11)
Yeah.

Spencer Todd (45:12)
The last question I want to make sure I ask you is about post-market and change control. Say you've built a really great verification and validation plan for your conformity assessment, your product is on the market, and two months later you want to make a change. How do you think about verification and validation post-market? I think a lot of people don't think about it, or don't want to, and they're not sure what the process actually looks like. I know there's a difference between a significant change and something more like a bug fix, but maybe you could start there and give a flavor of what that looks like post-market for Scarlet.

Steven Byrne (45:51)
Although there's a difference between a significant change and a non-significant one like a bug fix, you still need documentation for both. One of the big things people don't recognize is this: they do a lot of work on the initial submission to make sure the traceability matrices are complete and so on, and once they've got certification, they drop back into their standard software development cycle. When we come along to an audit, even if you've only done two or three non-significant releases and haven't had to raise anything with a notified body in those 12 months, we'll still ask: have you kept your design control documentation up to date? Is your traceability matrix still there?

So make sure you have a robust process for identifying when you're going to make changes, whether proactively or reactively to issues in the field; a good way of categorizing whether a change is significant or non-significant; that you're recording that in your QMS; and that you're keeping your technical documentation up to date, so we can clearly see "here's the snapshot for version 1.1, here's the snapshot for version 1.2." Then when an audit comes along after a year and someone says "show me how you went from version 1 to version 2," you can back that up with evidence in your documentation.

Spencer Todd (47:16)
And do you find that the testing itself scales with the change being implemented?

Steven Byrne (47:23)
Yes. We try to move quite quickly here; we don't want to be a burden when you're making a significant change. What we look for, especially for significant changes, is a form to be filled in. One of its questions is: what's the scope of the change, what's the regression testing, and what's the rationale for that regression testing? That's a good starting point for our confidence. If you say you've changed your algorithm in a certain way and you've done the ML retesting (rebuilding, re-evaluating and redeploying), and you have evidence in those areas, we'll be confident we can quickly look at it, ask you for that specific set of documentation rather than everything you've changed, and let you move quickly to pushing it out to market.

Spencer Todd (48:19)
A lot of that is defined by the manufacturer, in how they've written into their SOPs and work instructions how they manage their design control documentation. Significant versus non-significant change is a regulatory requirement and it's spelled out, but that's also the benefit of good quality management system practices: you can actually carry them through post-market.

We have a few more questions. Bulat had a question about the CER and clinical validation: how deeply do you recommend describing the training data, for example data sources, demographics and geographic origin? Where would you normally draw the line between sufficient and unnecessary technical detail? I'm sure it depends again, but just at a high level.

Steven Byrne (49:12)
I think all the things on that list (data sources, demographics, geographic origin, maybe not class distribution) are the kinds of things we look for. We look for inclusion and exclusion criteria, and for whether you understand the potential biases or shortcomings of the data set and how you're going to account for or manage that risk. But honestly, I think where he's put it is about the right spot.

Spencer Todd (49:46)
From my experience too (and correct me here), it also depends on the therapeutic area. Where demographics or, say, skin tone are really important for clinical performance, for example in an image-based diagnostic, you want that laid out pretty extensively in your training data, whereas it might not matter for something like blood pressure readings. So it needs to match the patient populations and where you could see significant risk. Ideally it protects you too, so that down the road, if you need to break it down by comorbidity or subgroup population, you can pull that out and see what happens. Good question. Thanks, Bulat.

Kavandeep had a question: how do you define a significant change in the context of a CI/CD pipeline?

Steven Byrne (50:38)
That's interesting, because the CI/CD pipeline is essentially a tool within the QMS; that's how we'd look at it. If you're changing how your CI/CD pipeline works, that's more of a software tool validation activity you'd need to do in your QMS. If the question is about identifying, when you make a software change, whether it's minor or significant within the pipeline, then that's probably not the best place to do it. That's more of a pen-and-paper exercise, with competent people sitting around the table deciding: what are we changing in the software, and will that be significant based on our risk assessment? And then implementing the changes in your CI pipeline.

Spencer Todd (51:36)
I know we're getting close to time, so we'll take a few more minutes. We have one last question in the Q&A right now from Bulat. This one's a bit more technical on the clinical side. He's asking how you see the relationship between PMCF (post-market clinical follow-up) under the MDR and the FDA's PCCP. In practice, when thinking about post-market real-world performance monitoring designed to feed into a PCCP and potential product changes: is identifying performance drift or subgroup performance going to trigger retraining or a predefined modification? What are the key points to consider when aligning your post-market surveillance and PCCP processes? Do you typically see them aligned, or does the PCCP live in its own channel ("here are the predefined changes we plan to make") while post-market surveillance is more on the safety and improvement side, based on post-market feedback? How have you seen that play out?

Steven Byrne (52:47)
Yeah, I suppose if I think about it if I was trying to give a Venn diagram, the PCCP kind of topic nearly fits inside the wider PMCF. So like PCCP is very much around what is the algorithm performance there and looking at the performance drift, that sort of again and how you're going to over time, you know, make changes to that. So like the PCCP, there's three kind of things we're looking for. One is the scope of changes you're gonna do that always has to be inside the same intended purpose. There's the the way you're going to do it and retrain it to process for that, and then there's the monitoring. So the monitoring aspect of it is very much sort of like a subsection of how you're doing post-market clinical follow-up monitoring activities.

I think the post market will be wider because there's other aspects that you might want to be looking for, like usability related issues, incident reports coming from the field, that sort of stuff will will come in. So there's an overlap I would say, but they're not a one to one mapping. That makes sense.

Spencer Todd (53:49)
And that makes sense, yeah. And then you would want to bake in regardless your acceptance criteria then anyway, right? So you'd know when when something gets triggered in order to do to do a modification. that makes sense.

Steven Byrne (54:02)
Yeah, and that's sort of like something that will be in the plan, we would expect to see as well, what are the triggers? when are you going to market or how are you going to manage the changes? What are the triggers both proactively and re-actively to the things in the field?

Spencer Todd (54:17)
Yeah, that's perfect. Amazing. I think that's all we had for the Q and A and we're right about at time. was there anything else, Steven, that we didn't chat about today that you thought might be great to bring up?

Steven Byrne (54:30)
No, good discussion. I hope people found it valuable.

Spencer Todd (54:33)
Yeah, this was awesome. I really appreciate you getting into some some pretty minute detail with us on on how to do stuff here. So, this was super helpful. Thanks everybody for providing the questions too. I think that's always great for folks to see to get like, you know, real world examples of what you all are going through. Feel free to reach out to Scarlet.

And if you all are ever interested in doing quality and regulatory submissions to the FDA, to the to EU for MDR, IVDR, UKCA, Health Canada, Dovetail can help you there too. So you can reach out to me as well at spencer@withdovetail.com and, thanks everybody for for attending. This was great. Appreciate y'all.

Thanks, Stephen. Bye, everybody.

Put Dovetail to work

Explore how Dovetail can support your regulatory work.