With the globalization of clinical trials, a growing emphasis has been placed on the standardization of the workflow in order to ensure the reproducibility and reliability of the overall trial. Despite the importance of workflow evaluation, to our knowledge no previous studies have attempted to adapt existing modeling languages to standardize the representation of clinical trials. Unified Modeling Language (UML) is a computational language that can be used to model operational workflow, and a UML profile can be developed to standardize UML models within a given domain. This paper's objective is to develop a UML profile to extend the UML Activity Diagram schema into the clinical trials domain, defining a standard representation for clinical trial workflow diagrams in UML.
Two Brazilian clinical trial sites in rheumatology and oncology were examined to model their workflow and collect time-motion data. UML modeling was conducted in Eclipse, and a UML profile was developed to incorporate information used in discrete event simulation software.
Ethnographic observation revealed bottlenecks in workflow: these included tasks requiring full commitment of CRCs, transferring notes from paper to computers, deviations from standard operating procedures, and conflicts between different IT systems. Time-motion analysis revealed that nurses' activities took up the most time in the workflow and contained a high frequency of shorter duration activities. Administrative assistants performed more activities near the beginning and end of the workflow. Overall, clinical trial tasks had a greater frequency than clinic routines or other general activities.
This paper describes a method for modeling clinical trial workflow in UML and standardizing these workflow diagrams through a UML profile. In the increasingly global environment of clinical trials, the standardization of workflow modeling is a necessary precursor to conducting a comparative analysis of international clinical trials workflows.
Citation: Carvalho ECAd, Jayanti MK, Batilana AP, Kozan AMO, Rodrigues MJ, Shah J, et al. (2010) Standardizing Clinical Trials Workflow Representation in UML for International Site Comparison. PLoS ONE 5(11): e13893. https://doi.org/10.1371/journal.pone.0013893
Editor: German Malaga, Universidad Peruana Cayetano Heredia, Peru
Received: February 24, 2010; Accepted: May 13, 2010; Published: November 9, 2010
Copyright: © 2010 Carvalho et al. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Funding: The authors have no support or funding to report.
Competing interests: The authors have declared that no competing interests exist.
Clinical trials, though historically dominated by the United States and a small subset of countries in North America and Western Europe, are increasingly becoming a global activity with potential implications on health care delivery around the world. Between 1990 and 1999, the number of countries conducting drug research tracked by the Food and Drug Administration  rose from 28 to 79 , and by one recent estimate, 24 of the fastest 25 growing countries in clinical trials are in emerging, non-traditional areas . A study of industry sponsored phase 3 clinical trials in 2007 revealed that a majority of the sites were outside the United States .
Although the globalization of clinical trials brings many potential benefits , a major challenge is faced regarding the standardization of clinical trials conducted in different parts of the world; the workflows of clinical trials, as well as the standards of care in different countries may vary so much as to invalidate individual trial results . Ultimately, the relative performance of clinical trials in emerging countries will depend on the internal workflow of these research sites and the establishment of good clinical trials practice guidelines. For example, a 2001 FDA report notes that clinical trial “sponsors have raised concerns regarding the capacity of the institutional review boards in some of the emerging sites to adequately review research according to Good Clinical Practice Guidelines, under the International Conference on Harmonization or FDA standards” . Such variation in clinical practice guidelines among emerging sites has ethical implications, as well as implications on the trial workflow and validity of results. Despite this, little research has been conducted to analyze and/or compare the workflow of clinical trials, let alone those operating across international boundaries . This may, at least partly, be due to the lack of standard computational representation for these workflows, which would facilitate an operational comparison of how clinical trials are being conducted around the world. Additionally, a standard representation would help create more homegeneous clinical trials, which would in turn facilitate the implementation of better meta analyses.
Workflow modeling is an established technique of business process re-engineering, and various studies have assessed its potential in re-engineering organizational processes across various quality measures or goals , , . For example, workflow modeling in business process re-engineering may be used to identify inefficiencies or opportunities for cost reduction inherent in the sequence of tasks . Yet, the use of workflow modeling in the clinical trials domain is less well established . Few studies have demonstrated the possible use of workflow modeling and analysis towards re-engineering clinical trials , , , and research in this area continues to suffer from the lack of standard representation model. The variety in representation models may extend from the use of different modeling languages to the use of different representations or vocabularies within a single modeling language , . For example, different studies may use different modeling languages or symbols to represent the workflow, as well as different semantic phrases to represent the same activity (i.e. “phlebotomy” vs. “drawing blood”). Hence, the need for standardization applies to both the use of a single modeling language, as well as a standard representation to extend the modeling schema into the clinical trials domain.
Clinical trial modeling in Unified Modeling Language (UML)  provides a potential solution to some of these problems and can serve as a standard format for workflow modeling. (Figure 1 provides an example of a workflow model in UML) UML allows the detailed description of organizational processes in a so-called Activity Diagram (AD), which can be annotated with data to support process analysis , . (Figure 2 depicts a real world example of an activity diagram representing a clinical process.) Various studies have established the use of the UML activity diagram in modeling of business processes , and some have even demonstrated its use in the healthcare domain , , . In order to define a standard representation for UML models within a domain like clinical trial, one can formulate a UML profile , which enables independent developers to generate standardized UML models at different sites , . The UML profile can be loaded into a UML developing environment in order to apply a standard set of data tags (attributes) to a workflow model; for example, a UML profile defining a standard for colonoscopy workflow might include a standard set of data attributes including the type of endoscope being used, the names of physicians or nurses, the type of sedation being used, and the duration of the procedure. To this end, a UML profile for clinical trial workflow might specify attributes which facilitate the gathering of data for a time-motion study  to allow comparisons of efficiency in line with the NIH roadmap goal of re-engineering clinical research .
Workflow begins at an Activity Initial Node and ends at an Activity Final Node; ovals represent actions in the workflow; diamond represents a decision node, where the subsequent direction in the workflow is dependent on a decision.
This activity diagram represents the following activity: the patient is submitted to an activity named “Test Procedure” that generates a result. One of results redirects the flow of activity to an activity called “Refer back to GP” and the activity is finished (filled circle with a border). Another result redirects the flow to a “Treatment Preparation” activity. A black bar with two flow leaving it means that the “Procedure X” and “Procedure Y” are executing in parallel. A black bar with one flow leaving it redirects the flow to the last activity called “Arrange next Appointment” and the filled circle with a border finishs the activity. Source: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.6.4217&rep=rep1&type=pdf.
Given the rapid global expansion of clinical trials, the creation of standard nomenclature for clinical trial workflow representation can facilitate the analysis and comparison of workflows across international sites. A standardized workflow representation might also enable analyses of efficiency and cost, thereby allowing researchers to shorten the length of a research study and expedite the incorporation of sound research results into the healthcare system. Similarly, the development of standard workflow diagrams can aid in the process of establishing good clinical trial practice guidelines across international sites participating in a given study.
The objective of this study was to design a UML profile to extend the UML AD schema into the clinical trial domain, thereby defining a standard representation for clinical trial workflow diagrams modeled in UML at different sites. In designing this profile, we paid particular attention to attributes which may lend a description of time, distribution, efficiency, and, ultimately, cost.
The study was approved by the local Institutional Review Board at State University of Maringa, Brazil (Comitê Permanente de Ética em Pesquisa Envolvendo Seres Humanos – COPEP - da Universidade Estadual de Maringá - UEM). Verbal informed consent was obtained as per guidance provided by the IRB, since this is an observational study where no personal information was recorded, thus anonymizing the study data. We evaluated the workflow of clinical trials conducted at two private clinics, one each in the cities of Maringa and Rio de Janeiro, Brazil. To protect subject confidentiality as well as intellectual property of the companies conducting the clinical trials, no clinical trial data was accessed by workflow modelers. Subjects were anonymous to the research team.
The clinical trial sites were evaluated for a total of 53-clinic hours, involving clinical trials related to rheumatology and oncology. At both sites, a small research team was present with a single clinical research coordinator (CRC) managing 5 to 6 clinical trials. During clinic visits, we conducted a series of ethnographic observations, also performing interviews with the CRC, principal investigator, and other staff direct or indirectly involved with clinical trial activities. All notes and interviews were focused on workflow issues, their variations across different circumstances, and subject's perceptions about their effectiveness and points of failure. Observations were recorded in field notes, which were later transcribed and analyzed to create a list of workflow tasks.
Ethnographic study: interviews and time motions studies
Observers [EC, AB] compiled an overall list of activities from summarization of the original ethnographic study and findings from previous studies, and then subsequently documented study activities by choosing descriptors from this list , . These activities were hierarchically classified into major and minor activities based on consensus among the two researchers collecting the data (EC, AB), thus facilitating data collection.
Observers [EC, AB] recorded data in a laptop using a MySQL database run locally from a Web browser interface specially designed for this study. Beginning and end times were recorded for each task. For each activity, observers recorded an observation session ID, observer ID, CRC ID, and time stamp measured to the nearest second. When a CRC was engaged in multiple activities at the same time, such as “Asking the patient how he is feeling” and “Recording in the chart,” the observer ranked one profile as a primary activity and the other as a secondary activity. If a CRC switched from one activity to another in rapid succession, these activities were recorded in sequence. Long transitional periods between separate activities were logged as a separate activity under the descriptor “other,” while short transitional periods associated, for example, with the time elapsed between “taking the pulse” and “recording in the chart”, were logged as part of the second activity's total duration .
As described in the introduction, Unified Modeling Language (UML) is a computational language that can be used to represent workflows of operational processes . Accordingly, UML can be used to model the workflow of businesses, procedures, or any healthcare activity. In this study, we have used UML to model the operational workflow of clinical trials.
All workflows in this study were modeled in UML 2.0 ADs via the UML2 plugin  for Eclipse. In our manuscript the term “UML” is often used in lieu of “UML2” to refer to diagrams created via this UML2 plugin. Events in the workflow are represented as oval-shaped structures called “Opaque Actions”, related to one another by transition arrows or “Control Flows”. “Decision Nodes” are diamond-shaped elements that represent forks in the workflow where the outgoing path depends on the outcome of a decision (i.e. has the patient been consulted by a doctor?). The overall workflow begins at an “Activity Initial Node” and ends at an “Activity Final Node.” All workflows confirm to UML 2.0 standards as implemented in Eclipse.
In order to annotate the workflow, a UML profile (S 2) was designed to incorporate all information from the ethnographic and time-motion studies into the AD based on a use-case (fig 3) using criteria defined in Table 1. The use-case describes a scenario showing the functionality of the system from the view of the user . Meanwhile, the UML profile includes “stereotypes” or grouped sets of attributes, which apply time, distribution, and cost information to the workflow. The attributes were devised to annotate the activity diagram (File S3) with the quantities of information included in simulation software packages such as AnyLogic  or Arena Simulation Software .
The profile can be applied to any AD created in Eclipse, thereby standardizing the types of attributes applied to elements of the workflow. For example, a hypothetical “time” stereotype in a profile, containing duration and delay information, might be applied to events in the workflow in order to annotate the diagram with this data. Attributes in our profile which can be applied to Opaque Actions include measures of duration, delay, fail rate, rework rate, communication rate, and the units of measurement used; attributes which can be applied to Decision Nodes include measures of distribution, including the beta, continuous, discrete, Erlang, exponential, gamma, Johnson, lognormal, normal, Poisson, triangular, uniform, and Weibull distributions (see Table 2 for details), in accordance with the statistical distribution information included in Arena Simulation Software .
Ethnographic notes on tasks
The ethnographic observations generated a list of tasks that are listed and classified hierarchically by the following categories: environment, clinical trial, clinical routines (File S1). Recurring patterns observed across tasks that impaired workflow included (a) CRCs in charge of tasks that required full commitment from them (e.g., computerized tomography) resulted in long idle times where the research coordinator could not accomplish other activities (b) the transmission of notes from paper to electronic data capture systems frequently resulted in activities that required extreme attention and therefore were more prone to errors that could go undetected (c) lack of use of standard operating procedures frequently led to rework in workflow, since the first attempt to execute an activity was accompanied by error or a missing step such as when a CRC forgot a portion of the paper-based medical record while coming to a subject evaluation and (d) lack of integration across different information technology systems, such as the electronic data capture system and the adverse event reporting system being from different software packages.
Time and motion
Time & motion data for different hierarchical activities are summarized through a mosaic chart where the width of the bar is scaled to the proportion of the time required to complete the task, comparing categories for physicians, nurses, and administrative assistants (figure 4).
In Figure 4, white color indicates that the actors were busy performing the task while red color indicates idle time or gaps between tasks. The box width represents the proportion of tasks performed by each of the actors amongst all the tasks. Box height represents the time required to complete the task, and timestamps along the vertical axis represent elapsed time in the workflow. Physicians perform tasks consistently with shorter idle times, but towards the end of the workflow they have relatively longer idle time as compared with others. Physicians also have relatively a smaller number of tasks compared to others, but they tend to require a longer time for completion. At the beginning of the workflow nurses have a smaller frequency of tasks and more idle time but during the course of the workflow this frequency increases, resulting in very short idle times compared to others. Nurses have a higher frequency of tasks as compared to others, with time to completion being shorter and consistent throughout the workflow. Finally, administrative assistants have fewer gaps between their tasks at the start and the end of workflow, with but has relatively longer idle time in the middle of the workflow. Their task frequency is somewhere in the middle between nurses and physicians, with the time required for task completion also being in middle range. Figure 5, represents a mosaic chart comparing tasks related to clinic routines, activities specific to the clinical trial, and general tasks.
Tasks specific to the clinical trial present a few short gaps between them at the start of the workflow, but throughout the workflow period these tasks are performed in a clustered pattern. These tasks have a greater frequency compared to tasks labeled as routine or general, also having a shorter duration as compared to others. Clinical routine tasks are initially performed at consistent intervals, but idle times become greater towards the middle and end of the workflow. Finally, tasks labeled as related to the environment had a low frequency, but took long times for completion.
We furnish the link for a UML profile designed in Eclipse to incorporate additional characteristics required for workflow modeling in clinical research. (File S2) It includes measures of time and distribution, in accordance with the types of information used in discrete event simulation models. The profile makes use of “stereotypes,” which are grouped sets of attributes; the attributes, here, are technically “child” attributes, meaning that they hierarchically belong to the “parent” stereotype. In the profile we've created, the “Time-related attributes” stereotype includes child property attributes of delay, fail rate, rework rate, communication rate, duration, and units, which is defined under an enumeration literal to take on a value of “seconds” or “minutes.” The “Time-related attributes” stereotype can be applied to Opaque Actions representing events in an AD. Figure 6 displays the annotation of the Opaque Action, “Check the patient,” with the “Time-related attributes” stereotype.
Additional stereotypes were created for each of the distribution types (beta, continuous, discrete, etc.) previously described, with each distribution stereotype containing the appropriate child attributes corresponding to the mathematical distribution (i.e. the beta distribution stereotype contains child property attributes for distribution parameters β and α). Each distribution stereotype can be applied to decision nodes in an AD in order to annotate these nodes with data according to a specific distribution. Although we did not make use of any “generalizations” in our UML profile, the “generalization” feature allows for the specification of hierarchical relationships between stereotypes, such that a more specific stereotype inherits all attributes of a more general stereotype. A child generalization created for a given sub-stereotype can refer to a super-stereotype, from which the sub-stereotype will inherit all attributes .
To our knowledge, this is the first study evaluating the use of UML activity diagrams to standardize the representation of workflow in the clinical trial domain, thus extending previous applications of UML in healthcare operations , , . Our main findings included ethnographic observations of patterns of activities which caused workflow problems, and time-motion analysis information regarding the relative duration of activities performed by different actors in the workflow. Specifically, workflow problems occurred with tasks requiring the full commitment of clinical trial team, such that they could not multi-task, the transfer of information from paper to electronic systems, occasional deviations from standard operating protocols, and idle time resulting from a lack of integration between different IT systems. Our time-motion analysis also revealed the following potential areas for intervention in the workflow to improve efficiency: first, physician downtime appears to be greatest near the beginning of the workflow and, accordingly, efficiency can be increased by other actors performing all necessary tasks prior to the physician entering the workflow, such that the physician can perform tasks in an uninterrupted flow. Second, the administrative assistants appear to experience the greatest downtime during the middle of the workflow; accordingly, this would be an appropriate time to take care of all environment or clinic routine tasks unrelated to the clinical trial, in order to ensure the smooth running of clinical trial activities. Third, the nurses appear to be busy throughout the workflow, and so it appears that making sure that their participation in the workflow runs efficiently at all times may have the greatest overall impact on the efficiency of the clinical trial workflow. Overall, clinical trial tasks were the most prevalent tasks on the overall workflow than either clinic routines or other general activities.
Though several studies , ,  have examined workflow modeling of clinical trials, they suffer from the lack of a standard representation model. To the best of our knowledge, this is the first study to use UML for modeling the operational workflow of clinical trials. Furthermore, we have incorporated a time-motion study into our workflow analysis via a UML profile. The UML profile also serves to create a standard representation for clinical trials workflow ADs, thereby facilitating comparison.
In the UML profile, stereotypes provide a convenient means for creating a standard set of attributes for UML models. However, the UML profile would be a more effective tool if given the ability to restrict the semantics of UML diagrams. For example, if we could have used our UML profile to limit the potential descriptors of Opaque Actions in UML ADs to only those terms from a standardized list of clinical trial activities, we could have effectively promoted the use of a single, standardized vocabulary in the creation of UML ADs modeling clinical trial workflow. With the current profile, however, workflow models created at different sites might conceivably use different descriptors for analogous or equivalent activities, thus hindering comparative analysis of these models.
Limitations of our study which could be subjects for future research are as follows: first, we only evaluated a limited number of sites in rheumatology and oncology - future studies should examine more types of research groups with different workflows. Second, though we have used a use case towards the goal of directly importing workflow models into discrete event simulation software, to our knowledge there is currently no import function of this type available in any software. Future research should develop interfaces with existing packages so that importing UML activity diagrams into simulation software can be formally tested. Third, though we dealt with standardizing the data annotation for UML workflow models of clinical trials, we did not address the standardization of terminologies or vocabularies used in these workflow models. To reiterate, the UML profile would greatly benefit from the ability to restrict the semantics of UML diagrams.
Further, we also did not generate an international comparison of clinical trials workflows using our profile as this was beyond the scope of our study, and thus we have not explicitly demonstrated the reengineering of a clinical research group based on information gathered from our UML workflow analysis. Future works should utilize the UML profile towards comparing workflows of clinical research groups in different countries and demonstrate the use of this analysis towards actually reengineering the workflow of a clinical research group. This reengineering process might then be evaluated for its effectiveness in improving clinical trials workflow across various quality measures or goals.
We should also note that while this paper makes progress towards developing a standardized computational representation for clinical trial workflow, much work remains to be done in order to establish a true standard representation. Our work is limited to the particular clinical trials we have studied, and many more should be examined before a true standard can be developed. Future research might expand this project through examining more types of clinical trials and developing a standard terminology for the processes associated with these clinical trials.
In conclusion, this paper describes a method for modeling clinical trials workflows in UML Activity Diagrams and standardizing these workflow diagrams through a UML profile. The model we've created demonstrates the process of building a standard clinical trial model in UML and annotating it with time-motion data. In the increasingly global environment of clinical trials, the standardization of workflow modeling is a necessary precursor to conducting a comparative analysis of international clinical trials workflows. Future research might use this standardized workflow representation to generate workflow diagrams of clinical trials in emerging countries and compare these to workflow diagrams of clinical trials in the US.
Tasks during ethnographic observation and respective actors.
(0.11 MB DOC)
XMI code for UML Profile for Clinical Research available.
(0.03 MB DOC)
Team “Research on Research,” Duke University Health System, for templates on writing introduction and discussion sections of the manuscript. 
Conceived and designed the experiments: ECAdC MKJ APB AK JS ML PP RP. Performed the experiments: ECAdC MKJ APB AK MR RP. Analyzed the data: ECAdC MKJ SP RP. Wrote the paper: ECAdC MKJ APB AK MR JS ML SP PP RP.
- 1. US Food and Drug Administration Home Page. Available: http://www.fda.gov/. Accessed 04 January 2010.
- 2. Rehnquist J (2001) The globalization of clinical trials: a growing challenge in protecting human subjects: executive summary. Journal International De Bioéthique = International Journal of Bioethics 14: 165–169.
- 3. Thiers FA, Sinskey AJ, Berndt ER (2008) Trends in the globalization of clinical trials. Nat Rev Drug Discov 7: 13–14.
- 4. Glickman SW, McHutchison JG, Peterson ED, Cairns CB, Harrington RA (2009) Ethical and Scientific Implications of the Globalization of Clinical Trials Research. N Engl J Med 360: 2792–2793.
- 5. Payne PRO, Eneida AM, Justin BS (2007) Modeling Participant-Related Clinical Research Events Using Conceptual Knowledge Acquisition Techniques. AMIA Annu Symp Proc 593–597.
- 6. Neill PO, Sohal AS (1999) Business Process Reengineering A Review of Recent Literature. Technovation 19: 571–581.
- 7. Hunt KL, Madigan EF, Hansen GA, Phelps RA (1997) Simulation Success Stories: Business Process Reengineering. Proceedings of the Winter Simulation Conference 7: 1275–1279.
- 8. Reijers HA, Mansar SL (2005) Best practices in business process redesign: an overview and qualitative evaluation of successful redesign heuristics. Omega 33: 283–306.
- 9. Khan SA, Payne PRO, Kukafka R, Bigger JT, Johnson SB (2006) Modeling clinical trials workflow in community practice settings. Proc AMIA.
- 10. Khan SA, Kukafka R, Payne PR, Bigger JT, Johnson SB (2007) A Day in the Life of a Clinical Research Coordinator: Observations from Community Practice Settings. Stud Health Technol Inform 129: 247–251.
- 11. Fowler M (2004) UML distilled. Addison-Wesley.
- 12. Russell N, van der Aalst WMP, ter Hofstede AHM, Wohed P (2006) On the suitability of UML 2.0 activity diagrams for Business Process Modelling. Conceptual Modelling 2006 Proceedings of APCCM2006, Australia, Tasmania, Hobart.
- 13. Dumas M, ter Hofstede AHM (2001) UML Activity Diagrams as a Workflow Specification Language. In Proceedings of UML 2001 Conference.
- 14. Johnson KB, Fitzhenry F (2006) Case Report: Activity Diagrams for Integrating Electronic Prescribing Tools into Clinical Workflow. J Am Med Inform Assoc 13: 391–395.
- 15. Liaw S, Deveny E, Morrison I, Lewis B (2006) Clinical, information and business process modeling to promote development of safe and flexible software. Health Informatics Journal 12: 199–211.
- 16. Knape T, Hederman L, Wade VP, Gargan M, Harris C (2003) A UML Approach to Process Modelling of Clinical Practice Guidelines for Enactment. Studies in health technology and informatics 95: 635–640.
- 17. Fontoura M, Pree W, Rumpe B (2002) The UML profile for framework architectures. Addison-Wesley 352.
- 18. Eclipse website (2010) Available: http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Introduction_to_UML2_Profiles/article.html.
- 19. Lopez DM, Blobel BGME (2008) Enhanced semantic interoperability by healthcare standards profiling. Studies in Health Technology and Informatics 136: 735–740.
- 20. Meyers FE, Stewart JR (2002) Motion and Time Study for Lean Manufacturing. 3rd Edition, Prentice Hall 370.
- 21. Zerhouni E (2003) The NIH roadmap. Science 302: 63–72.
- 22. Lo HG, Newmark LP, Yoon C, Volk LA (2007) Electronic Health Records in Specialty Care: A Time-Motion Study. J Am Med Inform Assoc 14: 609–615.
- 23. Eclipse website (2010) Available: http://www.eclipse.org/modeling/mdt/?project=uml2.
- 24. Eclipse website (2010) Available: http://www.eclipse.org/.
- 25. XJ Technologies website (2010) Available: http://www.xjtek.com.
- 26. Arena Portal: Home website (2010) Available: http://www.arenasimulation.com.
- 27. Arena User's Guide (2007) Rockwell Automation Technologies. pp. 119–128.
- 28. Shah J, Shah A, Pietrobon R (2009) Scientific writing of novice researchers: what difficulties and encouragements do they encounter? Academic Medicine: Journal of the Association of American Medical Colleges 84: 511–516.