Open Access iconOpen Access

ARTICLE

Deadlock Verification of the Room Allocation Workflow in an EHR System Using UPPAAL

Acep Taryana1,2, Dieky Adzkiya1,*, Muhammad Syifa’ul Mufid1, Imam Mukhlash1

1 Department of Mathematics, Institut Teknologi Sepuluh Nopember, Surabaya, Indonesia
2 Department of Electrical Engineering, Universitas Jenderal Soedirman, Purwokerto, Indonesia

* Corresponding Author: Dieky Adzkiya. Email: email

Computers, Materials & Continua 2026, 89(1), 91 https://doi.org/10.32604/cmc.2026.082012

Abstract

A systematic approach is necessary to address concurrency issues, timing violations, and logical safety breaches in healthcare systems, as traditional empirical testing often fails to uncover non-deterministic flaws that can endanger patient safety. This study proposes a rigorous formal verification methodology based on a triple-constraint framework to prove system reliability prior to the implementation phase. The patient room allocation workflow was modeled as a network of Timed Automata (TA) within the UPPAAL model checker, allowing for the formal evaluation of concurrent processes and shared resources. Our methodology follows three core phases: (1) Formalization, where critical requirements are translated into Timed Computation Tree Logic (TCTL) properties targeting three pillars: temporal bounds, safety invariants (e.g., category matching), and deadlock-freedom guarantees (e.g., A¬deadlock); (2) Iterative Formal Refinement, a systematic algorithm that utilizes UPPAAL to identify and eliminate design flaws by dynamically refining automata components—such as location invariants, transition guards, and synchronization channels—based on counter-example traces; and (3) Artifact Generation, where the verified formal model is systematically translated into reliable software engineering blueprints. The iterative refinement process culminated in a final TA model mathematically proven to be free from deadlocks, timelocks, and unsafe states, which was successfully scaled under high queueing loads via Statistical Model Checking (SMC). This verified mathematical blueprint was then synthesized into Unified Modeling Language (UML) design artifacts, specifically class, sequence, and state machine diagrams. By integrating a triple-constraint formal verification at the design stage, this methodology proactively prevents concurrency failures, bridging mathematical guarantees with practical software engineering. Furthermore, the comparative performance evaluation reveals that while exact state-space verification triggers Out-of-Memory (OOM) failures at merely N6 concurrent processes due to state-space explosion, the proposed TA-SMC framework successfully neutralizes this limitation. By bridging the gap between lightweight simulation and formal rigor, our approach smoothly scales up to N=25 concurrent processes, maintaining a strictly constant peak memory footprint of 14 MB, while simultaneously guaranteeing 99% statistical confidence for critical safety invariants. These quantitative results firmly establish the proposed methodology as a highly robust and practically viable solution for evaluating complex, resource-contended clinical workflows.

Keywords

Formal verification; timed automata; model checking; software design; electronic health record; deadlock prevention; triple-constraint

Cite This Article

APA Style
Taryana, A., Adzkiya, D., Mufid, M.S., Mukhlash, I. (2026). Deadlock Verification of the Room Allocation Workflow in an EHR System Using UPPAAL. Computers, Materials & Continua, 89(1), 91. https://doi.org/10.32604/cmc.2026.082012
Vancouver Style
Taryana A, Adzkiya D, Mufid MS, Mukhlash I. Deadlock Verification of the Room Allocation Workflow in an EHR System Using UPPAAL. Comput Mater Contin. 2026;89(1):91. https://doi.org/10.32604/cmc.2026.082012
IEEE Style
A. Taryana, D. Adzkiya, M. S. Mufid, and I. Mukhlash, “Deadlock Verification of the Room Allocation Workflow in an EHR System Using UPPAAL,” Comput. Mater. Contin., vol. 89, no. 1, pp. 91, 2026. https://doi.org/10.32604/cmc.2026.082012



cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 13

    View

  • 10

    Download

  • 0

    Like

Share Link