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.

Thanks for the post and great

Thanks for the post and great tips..even I also think that hard work is the most important aspect of getting success..

rebelmouse com

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
mercedes benz wheels

Thanks for sharing the post..

Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family.
www.ge.tt/

"This is just the information

"This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog. "
Ai wei wei

Love to read it,Waiting For

Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks.
www.theofficialwebsite.co/

it's really nice and meanful.

it's really nice and meanful. it's really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information.
Tourism in China

I've been surfing on-line

I've been surfing on-line more than 3 hours lately, yet I by no means found any fascinating article like yours. Itˇ¦s beautiful value enough for me. In my opinion, if all website owners and bloggers made just right content as you probably did, the web will be much more useful than ever before.magazyny Łódź

preview of the program Today

preview of the program Today I wanted to bring your attention to a dating and attraction course for men called the Girlfriend Activation System (GFAS). It’s garnered a lot of... Please visit my website: http://relationshipfix.org/what-are-the-steps-of-the-girlfriend-activati... ...

I really enjoyed reading this

I really enjoyed reading this post, big fan. Keep up the good work andplease tell me when can you publish more articles or where can I read more on the subject?

metallic epoxy flooring nh

the medical device as a

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.
Warren

Dating-Journal The Dating

Dating-Journal The Dating Journal is your guide to all types of relationships. Learn what works and what doesn’t. Find your soul mate sooner than you think! For more information, please click here my website: http://dating-journal.com/ ...

man and van london London man

man and van london London man and van removal service. Man with a van Richmond, Twickenham and Chiswick. London house and flat removals. Please visit http://mazeremovals.co.uk/ ...

All the contents you

All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks
author

Thank you for some other

Thank you for some other informative website. The place else may just I get that kind of information written in such a perfect method? I have a venture that I am simply now running on, and I’ve been at the glance out for such info.
latest mobiles

Great survey, I'm sure you're

I would like to thank you for

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well..
best dumbbells guide

i am for the first time here.

i am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me.
rapid cycling bipolar

This type of message always

This type of message always inspiring and I prefer to read quality content, so happy to find good place to many here in the post, the writing is just great, thanks for the post.
Edward Bass Producer

Hi I found your site by

Hi I found your site by mistake when i was searching yahoo for this acne issue, I must say your site is really helpful I also love the design, its amazing!. I don’t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site.
nissan gtr wheels

I recently found many useful

I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles. Thanks for sharing.

author's site

Your blog provided us with

Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging..
www.best-pet-links.com/buy-nexgard-for-dogs-chewables/

An interesting dialogue is

An interesting dialogue is price comment. I feel that it is best to write more on this matter, it may not be a taboo topic however usually individuals are not enough to talk on such topics. To the next. Cheers.
Victorino Noval Producer

obat tradisional kanker payudara

Obat Herbal Kanker Payudara obat tradisional kanker payudara Tahukah anda yang dimaksud dari Sakit Kanker Payudara? Penyakit Kanker Payudara merupakan penyakit yang terdapat pada jaringan payudara wanita, atau keganasan yang diawali dari sel pada payudara wanita. Amazon Berries Untuk Jerawat Pemulihan Stroke menggunakan amazon Plus Obat Tradisional obat penyakit stroke
Stroke yaitu penyakit pembuluh darah yang terjadi dalam otak.

I am definitely enjoying your

I am definitely enjoying your website. You definitely have some great insight and great stories.
schoenen werk

I know your expertise on

I know your expertise on this. I must say we should have an online discussion on this. Writing only comments will close the discussion straight away! And will restrict the benefits from this information.
www.greenconcept.be

High Pr Blog Comment

High Pr Blog Comment Backlinks
The boat is situated in a small and friendly canal in the well-known Jordaan district, THE place to live and stroll around in Amsterdam. Just across the corner starts the bustling Jordaan..

This is really a nice and

This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it
Copy Fight org

devidmiller5060

You have raised an important issue..Thanks for sharing..I would like to read more current affairs from this blog..keep posting..
best memory foam mattress

Great survey, I'm sure you're

Great survey, I'm sure you're getting a great response.
clear facebook activity log android phone

If you're in a not good

If you're in a not good position and have got no cash to move out from that point, you would have to receive the..
Seo Service

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..
gfas system review

Well, the information you

Well, the information you have posted in this post has many new things to understand. latest software

Well, it is an amazing and

Well, it is an amazing and interesting information which have never been shared before. software crack

I can set up my new idea from

I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,..
Victorino Noval Philanthropist

Pretty good post. I just

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
best mattress for hip pain

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..
http://www.freeonlinedatingheadquarters.com/how-to-get-a-girl-everyone-wants

https://www.flickr.com/people/buyfacebooklike/

Hi there, I found your blog via Google while searching for such kinda informative post and your post looks very interesting for me.
Buy Facebook Likes Cheap

emdt

Wonderful tips guys! They are extremely actionable and practical. http://discounthoarder.com/ Pleases stop by and check out my blog

Fotograf Reinhard Simon und

Fotograf Reinhard Simon und Waltraud Pioch begrüßen Sie herzlich in ihrem Fotostudio “das portrait” in Frankfurt. Fotoatelier für anspruchsvolle Fotografie. Die erste Adresse in Frankfurt für Bewerbungsfotos, Businessfotos und Portraitfotos. Frankfurt

very interesting post.this is

very interesting post.this is my first time visit here.i found so mmany interesting stuff in your blog especially its discussion..thanks for the post!
https://www.rebelmouse.com/bobbyriomagneticmessaging

unlimited iron boom beach

get unlimited woods and unlimited iron boom beach by using the online resource generator

wallens

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work
Technology news

dfdfdf

Hi there would you mind letting me know which
hosting company you’re working with? I’ve loaded your blog in
3 different web browsers
and I must say this blog loads a lot quicker then most.
Can you recommend a good hosting provider at a reasonable price?

Kudos, I appreciate it!
Simcity buildit hack

Der Schwerpunkt unseres

Der Schwerpunkt unseres Angebots liegt in der Konzeption, Gestaltung und Entwicklung von Websites sowie im Online Marketing. SEO-Optimierung, Social Media Marketing (SMM) oder Responsive Webdesign sind dabei keine Fremdwörter für uns, sondern Teil unserer täglichen Arbeit.Joomla

Apps for iPhones, iPads

There are numerous free medical apps for iPhones, iPads, and android smartphones which fall into many categories of medical applications. best android apps

Packers and Movers India

Thanks for post this helpful post - Please visit for More information about -
Packers and Movers Pune
Packers and Movers Hyderabad
Packers and Movers Mumbai

Packers and Movers India

In situation you will need they’ll likely could also offer you car or truck company & journey support, puppy shifting alternatives, position shifting support and warehousing & storage area place position place support.
Packers and Movers Mumbai
Packers and Movers Chennai
Packers and Movers Delhi
Packers and Movers Bangalore

There were also tributes to

There were also tributes to those who had lost their cancer battle.Around the room shoulders trembled, eyes welled up. Riding alone in a cold rain is not suffering, I think. It could be far, far worse.. dong ho deo tay dep

https://www.youtube.com/watch?v=juX4jmjdu4s

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
Buy Facebook Likes

I m saving your blog in my

I m saving your blog in my personal folder to visit again You made legal points within this article that I sense need further examination. I agree with most all of this info. amazing work. dong ho deo tay