{"id":11572,"date":"2022-09-01T15:23:13","date_gmt":"2022-09-01T12:23:13","guid":{"rendered":"https:\/\/atostek.com\/?p=11572"},"modified":"2022-09-01T15:24:55","modified_gmt":"2022-09-01T12:24:55","slug":"regops-agile-development-of-medical-software","status":"publish","type":"post","link":"https:\/\/atostek.com\/en\/regops-agile-development-of-medical-software\/","title":{"rendered":"RegOps \u2013 agile development of medical software"},"content":{"rendered":"
The development of a medical device or software is regulated in Europe by the Medical Device Regulation (EU 2017\/745). Then again, MDR does not really involve much extra work to software development \u2013 compared to what it should be anyway. So how can you make the most of the regulation without it becoming a burden?<\/strong><\/p>\n The easies way to medical device software to comply with the MDR requirements is to apply the ISO 13485, IEC 62304, ISO 14971 and IEC 62366-1 standards, in addition to which, depending on the product and its purpose, some other standards may also be required.<\/p>\n When standards are applied into operating models, the process may easily look like the traditional waterfall model<\/strong>. The waterfall model first defines the intended use and requirements of the medical device. This is followed by design and documentation of the software architecture and interfaces. Once all the plans have been completed and reviewed, the software enters the implementation stage. This is the stage in which the actual code will be written.<\/p>\n Once the software has been implemented, automated tests for verification will also be written. Subsequently, a clean test report and software enters the validation stage by the clinicians. Usability tests complying with the IEC 62366-1 standard must be conducted, including risks to patient safety according to the ISO 14971 standard.<\/p>\n When the traditional waterfall model is applied, design, review, implementation, verification and validation stages are performed on the entire software in large steps. In the extreme case, software documentation is written only afterwards in order to comply with the regulations. In addition to this, members of the medical software team work at different times or are compelled to work for long periods outside their own areas of competence. This makes the team less efficient and at worst causes frustration among the staff \u2013 at least from the viewpoint of software designers who would like to write code.<\/p>\n Agile development solves problems in the waterfall model and speeds up the turnaround time of individual changes in particular. One of the commonly used agile development frames of reference is SCRUM<\/strong>, in which development proceeds in sprint cycles. One sprint takes a few weeks and for the duration of the sprint, the team selects the tasks and objectives from the list of jobs.<\/p>\n At the end of the sprint, a new software iteration is created, effectively a new version ready for production. From the viewpoint of the system developer, a sprint allows them to focus on development \u2013 although a project-specific process obviously requires that planning, documentation and testing must be carried out. Implementation presented in the sprint demo should deliver towards the goals, which gives a good rhythm to the software developer’s work.<\/p>\n When traditional software development consists of not only software development and testing but also production maintenance, we talk about DevOps<\/strong> (a blend of development and operations). In practice this means that the development team is also tasked with system maintenance. DevOps can be managed in the SCRUM framework, as long as a reservation is made for any unexpected maintenance alongside the development work.<\/p>\n In the case of medical software, when compliance with the regulations is added, we arrive at the definition of RegOps<\/strong>. RegOps calls for requirement specification, plans, assessment of risks to patient safety, and a review of all of these. And the software must also be coded, tested and reviewed. Could all of this be done agilely in the SCRUM framework?<\/p>\n Agile development of medical software can be built in the SCRUM reference around reviews (see Figure 1).<\/p>\n A sprint is started by selecting a suitable number of tasks from the list and by refining them. In Atostek projects, the tasks on the list are generally software development tasks in compliance with the customer\u2019s requirements, raised into the sprint together with the customer\u2019s product owner. The tasks are new features or changes to existing ones and they may also involve clearing up bug reports and thereby contributing to code corrections.<\/p>\n In certain cases, we complete high-level tasks at Atostek, broken down into smaller sprint tasks to enable completion in a sprint. Tasks in a sprint are specified accurately enough to ensure that the description clearly indicates the definition of done.<\/p>\n During a sprint, the entire team reviews and approves the medical software\u2019s updated requirements, architectural designs, unit design, interface descriptions, risk tables and any other necessary plans. In this design review, each team member will present their own plans and with official review minutes this complies to a design review as ISO 13485 specifies.<\/p>\n After this, the features that have been designed are implemented, tested and published internally. The sprint demo acts as an implementation review.<\/p>\n Depending on the changes made during the sprint, and particularly on any related risks, the software must still be validated and potentially subjected for approval by the notified body before being released to production. In case of minor changes, a notification is generally sufficient for the notified body. After this the new version can be transferred through validation review to production.<\/p>\nTraditional waterfall model<\/h2>\n
Waterfall or SCRUM?<\/h2>\n
RegOps<\/h2>\n
Reaching the goal through scrums<\/h2>\n
Starting a sprint<\/h3>\n
From review to implementation<\/h3>\n