Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Review
. 2021 Aug;22(8):273-279.
doi: 10.1002/acm2.13348. Epub 2021 Jul 10.

Code Wisely: Risk assessment and mitigation for custom clinical software

Affiliations
Review

Code Wisely: Risk assessment and mitigation for custom clinical software

Rex A Cardan et al. J Appl Clin Med Phys. 2021 Aug.

Abstract

Purpose: The task of software development has become an increasing part of the medical physicist's role. Many physicists who are untrained in the best practices of software development have begun creating scripts for clinical use. There is an increasing need for guidance for both developers and medical physicists to code wisely in the clinic.

Materials and methods: We created a novel model for assessing risk for custom clinical software analogous to failure modes and effects analysis and propose minimum best practices that should be followed to mitigate the risks. Using this risk model, we integrated a literature review and institutional experience to form a practical guide for risk mitigation.

Results: Using this new risk assessment model, we outlined several risk mitigation techniques including unit testing, code review, source control, end-user testing, and commissioning from the literature while sharing our institutional guidelines for evaluating software for risk and implementing these strategies.

Conclusion: We found very little literature for custom software development guidelines targeted at medical physicists. We have shared our institutional experience and guidelines to help facilitate safe software development for the evolving role of the medical physicist.

Keywords: risk analysis; scripting; software.

PubMed Disclaimer

Conflict of interest statement

The authors have no relevant conflicts of interest to disclose.

Figures

FIGURE 1
FIGURE 1
Decision tree for software classification

References

    1. Kelly D, Wassyng A. 7.6. The most suitable person to establish quality assurance guidelines for the generation and use of non‐commercial clinical software is a medical physicist. Controversies in Medical Physics: a Compendium of Point/Counterpoint Debates Volume 3. 2017:295. - PubMed
    1. CAMPEP . Standards for Accreditation of Residency Educational Programs in Medical Physics. 2019.
    1. Rosen II. Writing software for the clinic. Med Phys. 1998;25(3):301‐309. - PubMed
    1. Kisling K, Johnson JL, Simonds H, et al. A risk assessment of automated treatment planning and recommendations for clinical deployment. Med Phys. 2019;46(6):2567‐2574. - PMC - PubMed
    1. O'Connell D, Thomas DH, Lewis JH, et al. Safety‐oriented design of in‐house software for new techniques: a case study using a model‐based 4 DCT protocol. Med Phys. 2019;46(4):1523‐1532. - PubMed