Feature Article

Developing Medical Device Software to IEC 62304


Posted in Medical Software by Brian Buntz on June 1, 2010

Medical software design standard IEC 62304 has just come into force. This article describes how it will impact the software development process for medical device manufacturers.


Standards for medical device design
Until recently, safety regulations for medical device software, at least formally, were not exceptionally rigorous across the board. In addition, software was not formally classified as a medical product by the Medical Devices Directive. This has now changed. A new regime is in force governing all medical device software development for all classes of device.
 
Previous software safety standards were best suited to medical devices with low levels of risk, as opposed to products where software failure could be extremely serious and result in death. As more electronic products have become dependent on embedded software, the focus has shifted to the reliability of software systems within the devices and the associated risks at all levels of usage. As a result, the new EN/IEC 62304 standard has emerged as a global benchmark for management of the software development lifecycle (Figure 1).
 
Risk analysis for hardware and software design
Medical product designers have used risk management techniques to help reduce the risks associated with device hardware. BS/EN/ISO 14971 has traditionally been adopted as the base standard for risk management for medical devices. The 2007 version of this standard is considerably extended from its previous version, and the techniques described are now intended to be applied to both software and hardware systems.
 
The approach that should be taken is to consider the risks posed by the medical device as a whole, before the software/hardware split has been decided. Hardware risk analysis can then run alongside software risk analysis to define the required safety systems for the device.
 
A harmonised standard
Figure 1: How IEC 62304 fits into the compliance process and its relationship with other standards.
IEC 62304 is a harmonised standard for software design in medical products adopted by the European Union and the United States. Because the standard is “harmonised,” medical device manufacturers adopting it will satisfy the essential requirements contained in Medical Devices Directive 93/42/EEC (MDD) with amendment M5 (2007/47/EC) as related to software development. This is the least onerous route to ensuring compliance with the MDD. US FDA will also accept ANSI/AAMI/IEC 62304:2006 as evidence that medical device software has been designed to an acceptable standard. This standard is identical to the EN/ISO variant in all essential details.
 
Designing to IEC 62304 ensures that quality software is produced by means of a defined and controlled process of software development. This process must contain a set of requirements based on the safety class of the software that is being developed.
 
Software safety classification
Initially the IEC 62304 standard expects the manufacturer to assign a safety class to the software system as a whole. This class-ification is based on the potential to create a hazard that could result in an injury to the user, the patient or other people.
 
The software is classified into three simple classes, as follows:
  • Class A: No injury or damage to health is possible
  • Class B: Nonserious injury is possible
  • Class C: Death or serious injury is possible
Defining “serious injury,” “nonserious injury,” “injury” and “damage to health” is important to apply this classification effectively. It may at first appear to be obvious what constitutes an injury; however, this can be a far more complex question when the context of the device is taken into account. Unfortunately the standard only defines “serious injury,” and this is as follows:
 
Serious Injury
Injury or illness that directly or indirectly
a) is life threatening,
b) results in permanent impairment of a body function or permanent damage to a body structure, or
c) necessitates medical or surgical intervention to prevent permanent impairment of a body function or permanent damage to a body structure.
 
Note: Permanent impairment means an irreversible impairment or damage to a body structure or function excluding trivial impairment or damage.
 
Figure 2: A safety-critical software system can be split into items, each one running on different processors and each with a different safety classification. 
 
It is relatively simple to apply a negative to the above to derive a nonserious injury definition. However, the definition of injury for use with the Class A software safety classification may be debatable. This is complex because of the lack of definition of injury or damage to health. For example, there may be a grey area involving the normal side effects of treatment of a condition as opposed to the device itself causing injury.
 
Procedures for carrying out this initial analysis and defining the class to be applied have been developed. In some cases, the notified body being used can affect this decision. Some will recommend that Class B is the minimum standard to be applied for any medical product, as the Class A safety classification does not insist on a sufficiently rigorous software development process.
 
There are major differences in the development process in terms of cost and time between a Class A and Class B code. It is therefore essential that medical device developers get this right at the outset. The safety classification also has a great impact on the documentation and process that is required.
 
Software items and units
Once the initial safety classification has been carried out for the system, it is possible to break the system down into software items and software units. These are defined as follows:
  • Software Item: “Any identifiable part of a computer program” [ISO/IEC 90003:2004, definition 3.14, modified]
  • Software Unit: “Software item that is not subdivided into other items” [ISO/IEC 90003:2004, definition 3.28, modified]
In practice, the software items can be any subsection of a system or its constituent parts. An architectural diagram is required to show the software items and software units. It is possible to then downgrade the safety classification of parts of the software system provided that these can be segregated. The note on section 5.3.5 of the standard gives an example of this segregation:
 
“An example of segregation is to have software items execute on different processors. The effectiveness of the segregation can be ensured by having no shared resources between the processors.”
 
In practice, this means that a safety-critical software system can be split into items, each one running on different processors and each with a different safety classification (Figure 2). Again, it is important to get this split correct at the outset to ensure that the system is safe and high quality, but also produced within the appropriate cost and time guidelines. Systems are available to analyse medical product software architecture and to define these items. Such processes can greatly reduce timescales and costs for the development of medical devices.
 
Table I: Summary of safety classification effects on the code development documentation and process.
Software Documentation Class A Class B Class C
Software development plan Must contain contents to sections 5.1 IEC 62304:2006. The plan's content list increases as the class increases, but a plan is required for all classes.
Software requirements specification Software requirements specification conforming to 5.2 IEC 62304:2006. The content list for the software requirements specification increases as the class increases, but a document is required for all classes.
Software architecture Not required. Software architecture to 5.3 IEC 62304:2006. Refined to software unit level for Class C.
Software detailed design Not required.   Document detailed design for software
units. (5.4).
Software unit implementation All units are implemented, documented and source controlled (5.5.1).  
Software unit verification Not required. Define process, tests and acceptance
criteria (5.5.2, 5.5.3).
Carry out verification (5.5.5)
Define additional tests and acceptance
criteria (5.5.2, 5.5.3, 5.5.4).
Carry out verification (5.5.5).
Software integration and integration
testing
Not required. Integration testing to 5.6 IEC 62304:2006.
Software system testing Not required. System testing to 5.7 IEC 62304:2006.
Software release Document the version of the software
product that is being released (5.8.4).
List of remaining software anomalies, annotated with an explanation of the
impact on safety or effectiveness, including operator usage and human factors.
 
Impact of safety classification
The safety classification has a tremendous impact on the code development process. It is therefore in the interests of medical device manufacturers to get this right the first time to avoid expensive, time-consuming rework late in a project.
A brief summary of the effects of safety classification on the documentation and process is shown in table I. In practice any company developing medical device software will carry out verification, integration and system testing on all software classes. However, the difference is that formal detailed documentation does not need to be generated for Class A code. Cross-referencing and verification of requirements also does not need to be formally proven. This can save a great deal of time and money in software development.
 
SOUP
Software of unknown provenance, or SOUP, is any code (tools or source code) that does not have formal documentation or was developed by a third party and has no evidence as to the controls on the development process. This code by definition is deemed to be capable of producing faults. It is important to carry out a software risk analysis on any SOUP code being proposed for the software under development and produce a rationale as to why this code should be used.
 
The use of SOUP is affected by the code safety classification. If the code is deemed to be Class A, then SOUP code can be used without further justification. As the class increases, the risks increase and the rationale becomes harder to justify. In practice this means that only simple function, well known and diversely applied SOUP code can be used for Class C applications.
 
A technology solutions provider specialising in electronics design and production services has developed processes to identify and justify the use of SOUP in medical device software. Its own experience with this has proved that such processes can drastically reduce development time-scales and costs. This is a route that medical device developers should incorporate into their design procedures.
 
Conclusion
IEC 62304 is a well considered, logical standard for developing safety critical and high reliability software for medical devices. Now that this standard has been adopted it would be very difficult for a medical device software developer to justify any equivalent approach that meets the requirements of the MDD, without effectively complying with this standard. This is good news for the safety of patients, but also for the manufacturers themselves, as the standard establishes a more level playing field. There is no longer any opportunity for uncontrolled rudimentary software development processes, and this raises quality across the board.
 
In addition, as IEC 62304 is a harmonised standard that has been adopted internationally, it tends to equalise quality expectations between Europe and the United States.
 
For medical device manufacturers, it is important that they select software designers who have well-established risk management systems, as they will already have the foundations in place to meet IEC 62304. Additionally, my professional experience has proved how valuable processes can be to analyse medical product software architecture and usage. Such processes can greatly reduce timescales and costs for the development of medical devices. 
 
Ken Hall
is Technical Director at Triteq Ltd,
3 The Courtyard, Stype, Hungerford,
Berkshire RG17 0RE, UK
tel. +44 1488 684 554
e-mail: ken.hall@triteq.com
www.triteq.com
 
 

 

Related stories

Simplifying IEC 62304 Compliance for Developers
 

Decoding MISRA C:2012 for Medtech Applications



Find more content on:
Your rating: None Average: 4.5 (2 votes)


Login to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

mayweather vs berto The

mayweather vs berto The Bolger Brothers tragedy fund board of directors approached the band to do the single

systematic manner so that

systematic manner so that reader could get maximum information and learn many things. diabetes destroyer review

I will instantly grab your

I will instantly grab your rss feed to stay informed of any updates. Fat Diminisher System Review

bollywood songs up for the

bollywood songs up for the great info you have here on this blog. I will be coming back aimed at your website for additional soon

water damage cleanup for property managers

Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.water damage cleanup for property managers

. I will definitely dig it

. I will definitely dig it and personally recommend to my friends. I am confident they will be benefited from this site. Fat Diminisher System Review

Sistemi & Consulenze Servizi

Sistemi & Consulenze Servizi per la Qualità Aziendale Progettazione, Implementazione e Mantenimento sistemi di Gestione, certificazioni,iso 9001, iso 14001,iso 22000,brc ifs,ohsas 18001,iso 22005,en1090,iso 27001,Halal,Kosher, consulenza e formazione nelle aree salute e sicurezza sul lavoro, igiene e sicurezza alimentare ,prevenzione incendi, gestione ambiente, privacy.Operiamo su tutto il territorio nazionale il nostro CORE è nelle regione Toscana Umbria e Lazio. certificazioni offerte

This has now changed. A new

This has now changed. A new regime is in force governing all medical device software development for all classes of device.voyance gratuite telephone

Hi there! Nice stuff, do keep

Hi there! Nice stuff, do keep me posted when you post again something like this!
good morning america knockerball

f, do keep me posted when you

f, do keep me posted when you post again something like this!.. verified accounts following you

just be sufficient, for the

just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates. diabetes destroyer

offered the same content as

offered the same content as you, the internet would be a far better place.. NFL Super Bowl 2016 Live

I think this is a really good

I think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing.

www.sgdatingweb.com/

Thanks for the valuable

Thanks for the valuable information and insights you have so provided here... Fat Diminisher System Review

You have done a great job. I

You have done a great job. I will definitely dig it and personally recommend to my friends. I am confident they will be benefited from this site. Electric Foot Callus Removers

I think that everything has

I think that everything has been described in systematic manner so that reader could get maximum information and learn many things. mp3 download

it and personally recommend

it and personally recommend to my friends. I am confident they will be benefited from this site. packers and movers pune

Easily, the article is

Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates. top 10 product

Thanks for the blog loaded

Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for.
Yacht Charter Dubai

Most of the time I don’t make

Most of the time I don’t make comments on websites, but I'd like to say that this article really forced me to do so. Really nice post! Electric unicycle

Superbly written article, if

Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place..
The Penguin method

if only all bloggers offered

if only all bloggers offered the same content as you, the internet would be a far better place... .delhi to jaipur cab

This is highly informatics,

This is highly informatics, crisp and clear. I think that everything has been described in systematic manner so that reader could get maximum information and learn many things.
Make Women Want You

This post is helpful with an

This post is helpful with an analysis I am doing for a specific group of people. Do you have any other articles to suggest on this topic? Thanks
dezinsectie bucuresti

Thank you for another great

Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information.
buy 1000 twitter followers for $3

This post is helpful with an

This post is helpful with an analysis I am doing for a specific group of people. Do you have any other articles to suggest on this topic? Thanks
dezinsectie bucuresti

Read more: http://www.budgettravel.com/blog/whats-the-best-social-network-for-trave...

Thanks for your post. I’ve

Thanks for your post. I’ve been thinking about writing a very comparable post over the last couple of weeks, I’ll probably keep it short and sweet and link to this instead if thats cool. Thanks.
http://pdflirt.com/michael-fiore-text-your-ex-back-pdf-improvements/

Awesome blog. I enjoyed

Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!
Magic of making up

Excellent information on your

Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists.

follower instagram blog .

Most of the time I don’t make

Most of the time I don’t make comments on websites, but I'd like to say that this article really forced me to do so. Really nice post!
translation services cost

I will definitely bookmark

I will definitely bookmark your website. I am happy to found such useful and interesting post which is written in well head soccer
manner.I really increased my knowledge after read you....

I came onto your blog while

I came onto your blog while focusing just slightly submits. Nice strategy for next, I will be bookmarking at once seize your complete rises gossip lanka news

Very good written article. It

Very good written article. It will be supportive to anyone who utilizes it, including me. Keep doing what you are doing – can’t wait to read more posts.small business seo

Thanks for the valuable

Thanks for the valuable information and insights you have so provided here...
12v battery

Most of the time I don’t make

Most of the time I don’t make comments on websites, but I'd like to say that this article really forced me to do so. Really nice post! ​Bodyweight Burn System

These are some great tools

These are some great tools that i definitely use for SEO work. This is a great list to use in the future.. hindi movie mp3 songs

Wonderful article. I liked

Wonderful article. I liked reading this and I was really impressed by this. I just wish that you can keep this marvelous consistent work going on!search engine marketing

I am happy to find this post

I am happy to find this post Very useful for me, as it contains lot of information. I Always prefer to read The Quality and glad I found this thing in you post. Thanks
head soccer

I really loved reading your

I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good.Thanks alot! live chat

Friend, this web site might

Friend, this web site might be fabolous, i just like it.
list academy review

american shield home warranty review

I just got to this astonishing site in the relatively recent past.
totalprotect home warranty,
home buyer warranty,
american shield home warranty review

I really loved reading your

I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good.Thanks alot!
ev sinema ses sistemleri

I like your post. It is good

I like your post. It is good to see you verbalize from the heart and clarity on this important subject can be easily observed. global gap

Thanks for sharing nice

Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative,
i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job.
https://vimeo.com/132773973

Thank you so much for sharing

Thank you so much for sharing this great blog.Very inspiring and helpful too.Hope you continue to share more of your ideas.I will definitely love to read.
Fujitsu Design Nordic 12

bukti akan khasiat produk ini

bukti akan khasiat produk ini sudah di rasakan banyak kalangan baik anak hingga ibu hamil sekali pun sehingga tak di ragukan lagi akan khasiat dari produk ini yang sangat ampuh dalam mengatasi penyakit seperti Obat asma untuk anak | Cara menyembuhkan penyakit jantung | http://obatsakittipesmujarab.blogspot.com/

The Bolger Brothers tragedy

The Bolger Brothers tragedy fund board of directors approached the band to do the single embed chat

Most of the time I don’t make

Most of the time I don’t make comments on websites, but I'd like to say that this article really forced me to do so. Really nice post!
worm farm

The Bolger Brothers tragedy

The Bolger Brothers tragedy fund board of directors approached the band to do the single free live chat software

Hello! I just want to give a

Hello! I just want to give a huge thumbs up for the great info you have here on this blog. I will be coming back aimed at your website for additional soon. Nitro Nation