Software Safety Classification and Legacy Software

Hello,

I would like to discuss my problem with one of our devices.
It is a simple class 1 medical device with a small control board with embedded software (released ~2010).
The device has a built-in actuator and can move up and down. Control is possible with a hand controller.

I am trying to bring the software documentation in line with IEC62304 section 4.4 'Legacy Software'. The device has a Top Down risk analysis prepared in accordance with ISO 14971.

Thus, in order to meet the minimum requirements of the standard I define the safety classification of the software. According to the standard:
- The probability of a software error is taken as 1.
- Only RISK CONTROL measures that have not been implemented in the SOFTWARE SYSTEM are taken into account.

I have identified all the software risks referenced in the Top Down (for example, the spontaneous movement of an actuator that is controlled by the firmware). Of course, the probability of this happening is quite low.

In the Safety Classification I have to assume that the probability of this event occurring is 100% (probability x, occurrence 5?? ).
This means that, based on the decision tree from IEC62304, my software should be classified as C (!) if there is no hardware solution to this problem.

Am I interpreting the standard and the link between IEC 62304 and ISO 14971 correctly?
Even if so, could post-production data evaluation be one of the mitigations that I can reduce the software class from C to B or from B to A?
 

yodon

Leader
Super Moderator
I got a little lost there... but safety class is first and foremost based on the level of risk. If you have a device that can cause no harm whatsoever, there's no way you can walk the tree and conclude Class C (that must result in death or serious injury). To put a finer point on it, even if it can contribute to a hazardous situation, if the risks are still acceptable, it's still class A. Presumably you have your Risk Management process set up where you define acceptable risk levels.

I think where you were going in the post is the opportunity to down-classify software based on controls external to the software (i.e., in your hardware) - which is legitimate.

I would consider probability these days a combination of P1 - the probability that the risk occurs & P2 - the probability that if the risk is realized, the harm occurs. P1 must be your highest number. P2 can vary based on your device. Then the risk is however you factor out P1*P2 and the severity. 24971 gives a much better description.

Post-production data cannot be a mitigation, it's just data. It could, possibly, allow you to justify lowering your probability numbers (P2 since we're still talking about software). You might INCREASE your severity with new data but hopefully those risks are sufficiently mitigated to reduce the likelihood.
 

Tidge

Trusted Information Resource
I'll make one additional contribution: There is another options under 62304, although I have only seen these rarely chosen:
  • A responsible party can (metaphorically) throw up their hands and say "we didn't want to spend too much time thinking about the classification, so we chose to treat the SSSC as Class C"
This advice is parallel to the FDA's (older) "Level of Concern" approach: You can always choose to generate a more complete set of documentation. This doesn't relieve anyone from doing a 14971 risk analysis, but frankly: if a team is going to spend months arguing about the SSSC, I would just as soon go ahead and generate all the documents necessary for Class C, as it will make the development and maintenance smoother. If the regulatory affairs group changes its mind, you don't have to submit all the extra paperwork.

There is, IMO a near-zero risk that any external reviewer would point to a developer's internal documentation (even as part of a submission) and hold it against them. The absolutely worst thing I can imagine in "over-classifying" is that it could slow down the review of a submission, but I can almost guarantee that a submission with a "lower" SSSC with any daylight between classification and paperwork in the submission is much more likely to cause a delay.
 
Hello thank you for your replies. I will try to explain where is my confusion.
I will describe you an example:

Top Down says that there is some risk, that is connected with the software. This risk have a score: Severity: 4/5, Occurence: 2/5, what means in my case that is still accpetable according to Risk management Plan. There is also some Risk control measure defined in Top down that is lowering the Occurence to: 1. This control measure is not software/hardware.

Then I am starting to prepare Software Safety Classification. I am considering this risk and trying to classify software (A/B/C)

I see now 2 ways:

1. My Top Down says that this risk has the severity is 4/5 and occurence is 1/5. This according to my Risk Management Plan means that software shall be classified as A.
This decision is made based on this note from the standard:
"the SOFTWARE SYSTEM can contribute to a HAZARDOUS SITUATION which does not result in unacceptable RISK after consideration of RISK CONTROL measures external to the SOFTWARE SYSTEM."

2. My Top Down says that this risk has the severity is 4/5 and occurence is 1/5.
I see the note that "Probability of software failure shall be assumed to be 1". So I take my risk again, forgeting about the occurence rating from Top down beacuse I assume that probability is 1 so the occurence is 5.
This according to my Risk Management Plan means that software shall be classified as C, beacuse I have a risk with scoring Severity: 4/5, Occurence: 5/5 (unacceptable).

Where is the mistake?
 

Tidge

Trusted Information Resource
Top Down says that there is some risk, that is connected with the software. This risk have a score: Severity: 4/5, Occurence: 2/5, what means in my case that is still accpetable according to Risk management Plan. There is also some Risk control measure defined in Top down that is lowering the Occurence to: 1. This control measure is not software/hardware.

What is the risk control if it is not in software nor hardware?

Where is the mistake?

I hesitate to accept the use of the word "mistake". There are fundamentally two factors to consider when deciding on the correct software system safety classification:

(1) The software system has been allocated (via the design) functions to reduce risk.

There are many, many ways this happens. Typically, "code is written" to "do a thing". The elements of the code that "do the thing" are the elements of the software architecture which will bear the burden of the higher SSSC. A simple example is: The software is monitoring line voltage and switches to battery/notifies the user that the unit has become unplugged.

(2) The software system can contribute to a hazardous situation in some way, even if it otherwise would not be "designed" to do this.

A possible analogy is how medical electrical devices need electricity to function, but we recognize that the electricity can "escape" and harm users/patients. We don't plan to chock patients (or allow a path to discharge patients), but we recognize that this is a possibility. A classic example in the realm of software comes from the AED that had software to go into a test cycle which prevent the AEDs from being used to save a patient in cardiac distress. The "test function" barely qualified as a risk control on its own (although I can imagine a thought path that leads to a "self test" being considered a risk control) but when it has the possibility to interfere with the intended use of the medical device, it is going to get a higher SSSC.

Special comment: Occasionally software systems can contribute to risk even if there is no code written specifically for a function. For example, resource contention, race conditions, asynchronous accesses, etc. can occur as a result of a software system as "side effects" of using software.

NEVER FORGET: The SSSC is fundamentally a tool that describes the minimal amount of documentation necessary to provide objective evidence that the manufacturer understands the software at an appropriate level that is commensurate with the risk of the medical device. I catch no small amount of side-eye when I describe our "Class A" software as being "software that we don't really need that much evidence to convince ourselves is doing what we need it to do (because it isn't going to hurt anyone)." As soon as a programmer (of class A software) gets insulted by this characterization, I ask them to show me the software architecture!
 
Thread starter Similar threads Forum Replies Date
K IEC 62304 Amd 1 2015 - Figure 3 – Assigning Software Safety Classification IEC 62304 - Medical Device Software Life Cycle Processes 11
M Level of Concern (FDA) vs. Software Safety Classification(IEC) US Food and Drug Administration (FDA) 3
T Safety Classification in Medical Device Standalone Software IEC 62304 - Medical Device Software Life Cycle Processes 26
J Determination of software safety class (62304) prior to software risk analysis ISO 14971 - Medical Device Risk Management 3
H Class II a vs "software safety class A" IEC 62304 - Medical Device Software Life Cycle Processes 4
drwallice Safety data sheets software REACH and RoHS Conversations 6
V Software as control or protection will lead to different Software Safety Class? IEC 60601 - Medical Electrical Equipment Safety Standards Series 18
C Documenting Software Safety Classifications IEC 62304 - Medical Device Software Life Cycle Processes 4
E EN/UL/CSA 61010 -1 (ed3) Safety and use of Software to Prevent Electrical Hazard CE Marking (Conformité Européene) / CB Scheme 3
D Info for Health and Safety in Software Development companies Occupational Health & Safety Management Standards 6
Randy OHS (Occupational Health & Safety) Software Occupational Health & Safety Management Standards 8
R Data Analysis Software classified as MDSW IVD? EU Medical Device Regulations 3
V PQ parameters for computer system validation of configurable software of laboratory equipment Qualification and Validation (including 21 CFR Part 11) 0
I Commercializing a non medical device software Medical Information Technology, Medical Software and Health Informatics 10
I Non-medical device software Preventive Action and Continuous Improvement 1
W Training software medical device Medical Device Related Standards 0
R IVDR software requirements CE Marking (Conformité Européene) / CB Scheme 2
T Class B IEC 62304 - 5.4 Software Detailed Design IEC 62304 - Medical Device Software Life Cycle Processes 4
T New guidance "Content of Premarket Submissions for Device Software Functions" IEC 62304 - Medical Device Software Life Cycle Processes 5
T OTS (Off-the -Shelf) Software involved in error control and messaging US Food and Drug Administration (FDA) 1
dgrainger Informational MHRA Guidance: Crafting an intended purpose in the context of Software as a Medical Device (SaMD) UK Medical Device Regulations 0
G Compatibility Report for third-party software Medical Information Technology, Medical Software and Health Informatics 2
L Directive 2012/19/EU for medical software EU Medical Device Regulations 2
S Need guidance for Software validation Qualification and Validation (including 21 CFR Part 11) 5
C Can SaMD consist almost entirely of Software of Unknown Provenance (SOUP)? IEC 62304 - Medical Device Software Life Cycle Processes 4
Sam.F ISO9001/AS9100 Software Quality Assurance and Compliance Software Tools and Solutions 1
Ron Rompen Document archiving software & hardware Document Control Systems, Procedures, Forms and Templates 0
Vader22 INTELEX software for their IATF 16949 QMS IATF 16949 - Automotive Quality Systems Standard 0
D Quality Gates for software development Software Quality Assurance 2
M Update to software after CE-certificate has expired. EU Medical Device Regulations 1
K Monitors supplied with software EU EU Medical Device Regulations 4
K Best automation presentation software Manufacturing and Related Processes 0
Paul Simpson Quality management system software development - looking for candidate organizations Quality Assurance and Compliance Software Tools and Solutions 2
N Software update after placed on the market Medical Device and FDA Regulations and Standards News 2
MaHoDie Is it possible to assign medical software to security class A (according to IEC 62304)? EU Medical Device Regulations 8
T Aircraft GAPP Software Testing Compliance Question AS9100, IAQG, NADCAP and Aerospace related Standards and Requirements 1
Q Training Matrix Software Training - Internal, External, Online and Distance Learning 2
I SaMD Software bug and issue tracking. Manufacturing and Related Processes 3
MaHoDie Where to show the Software version IEC 62304 - Medical Device Software Life Cycle Processes 2
W Looking for IATF 16949 (and ISO 17025) QMS software Suggestions Quality Tools, Improvement and Analysis 8
9 ECi M1 Software Consultants in Ohio Manufacturing and Related Processes 0
T SaMD or Software system? EU Medical Device Regulations 2
I Registration of MD software IEC 62304 - Medical Device Software Life Cycle Processes 0
Q Quality Plan for eQMS software ISO 13485:2016 - Medical Device Quality Management Systems 2
Ed Panek Validation of Signature Software (Off the shelf) US Medical Device Regulations 6
C FMEA Software Report View FMEA and Control Plans 1
jeancloude17 Advice for ISO 9001 for software Design and Development of Products and Processes 2
T Determination of Software/system end-of-life IEC 62304 - Medical Device Software Life Cycle Processes 5
D Software Bill of Materials (SBOM) preparation Other Medical Device Related Standards 6
D Software Registration GUDID 21 CFR Part 820 - US FDA Quality System Regulations (QSR) 0

Similar threads

Top Bottom