Abstract
Thyroid hormone replacement therapy is used to raise undesirably low concentrations of natural thyroid hormones, commonly by administrating levothyroxine (LT4). Finding the appropriate LT4 dose regime, particularly for patients undergone thyroidectomy, is still demanding more effort, and much research has been conducted. Providing a new fuzzy logic system, a useful control algorithm, we aim to introduce a proper LT4 dosing regimen for every thyroidectomized patient in a computerized environment. Consequently, we contrast the differences between our proposed dose regime and conventional monotherapy methods using THYROSIM, a thyroid simulation application. Considering our nine defined comparative criteria, results reveal that the FLS dose regime is dominant in terms of six indexes, while the discrepancies are not noticeable in the other three indexes. A great superiority of FLS dose regime is its ability to reduce the time to reach desirable thyrotropin (Thyroid Stimulating Hormone, TSH) serum concentration to 6 days post-thyroidectomy, and keep the T4, T3, and TSH values in the normal window afterward. The proposed FLS could be an applicable decision support system for physicians as they can define their intended Individual Target Value of TSH for each patient to optimize LT4 dose adjustment.
Keywords: Thyroid, Levothyroxine, Personalized dose adjustment, Fuzzy logic system, Total thyroidectomy
Graphical abstract
thyroid; levothyroxine; personalized dose adjustment; fuzzy logic system; total thyroidectomy.
1. Introduction
Thyroid hormone replacement therapy (THRT) is a therapeutic strategy for various thyroid diseases such as hypothyroidism, subtotal thyroidectomy, total thyroidectomy, etc. [1]. In general, the goal of hormone replacement therapy is to ensure that the lacking hormone is adequately supplied in a way that results in physiological effects [2,3]. Nowadays, the tendency to replace subtotal thyroidectomy with total or slightly total thyroidectomy to heal benignant thyroid disease has dramatically increased [4,5]. Although total thyroidectomy is now more preferred, it is challenging while almost all of the thyroid gland has been removed and only a small portion, about 1–2%, remains [6].
As more and more centers in favor of total thyroidectomy, finding an optimal way of replacing thyroid function after total thyroidectomy to avoid hypothyroidism becomes imperative [7,8]. In 1950, synthetic levothyroxine (LT4) commercially became available and its oral administration has been shown to be rapidly and constantly effective [9]. The main purpose of administering LT4 after total thyroidectomy is to restore the physiological function of the thyroid, i.e. bringing TSH level within the normal reference range [10,11]. Mak and DiStefano applied an optimal-control-system methodology for calculating appropriate oral medication doses of synthesized thyroid hormones (T3 & T4) to be used in hypothyroidism [12,13]. Although a proper replacement pattern for thyroid hormones is crucially important, it is yet a challenging issue. On the one hand, long-term uncontrolled suppressive LT4 doses could enhance the risks of arrhythmias, fractures, left ventricular malfunction and accelerated bone loss [14,15,16]. On the other hand, weight gain, unpleasant and disruptive symptoms, and poor quality of life could arise as a consequence of under-dosing of LT4 [10,17]. In order to understand the importance of proposing a proper modified therapeutic strategy and optimal LT4 dose after total thyroidectomy, we can mention the reduction of time to achieve normal physiological status, less need for subsequent visits and follow-ups, enhance patient's amelioration, as well as reduction of care costs [18,19,20].
Much clinical research have been conducted on LT4 dose regimes and finally evaluated numerous parameters impacting LT4 demands such as patient's gender, age, weight, body surface area (BSA) and body mass index (BMI). Meanwhile, there is still challenges in prescribing LT4 dose regime with an appropriate procedure for each individual patient [21]. An individualized dosing approach for each patient must be provided if a method claims to present the optimal results [1,22]. Nevertheless, clinical studies are not only associated with concerns about volunteer patients' health but also consume a lot of time and costs; however, some clinical research has been performed on animal samples or human, especially on elderly, a major issue in thyroid field [23,24,25,26,27].
Recently, the interest in artificial intelligence (AI) has extended in different healthcare systems, and it could be considered as an applicable solution to address the aforementioned challenges in THRT [28,29,30]. AI techniques comprise fuzzy logic systems (FLS), artificial neural networks, colony optimization, particle swarm optimization, evolutionary computing, simulated annealing, genetic algorithm, etc. [31,32]. Although AI is regarded to be one of the very promising technological advancements and is regarded to make an impressive improvement on the overall healthcare system, its application in THRT is still not specifically explored. Fuzzy Logic is a technique used widely in Artificial Intelligence applications [33,34,35].
The use of fuzzy logic in medical applications, especially in dose adjustment, has been more noticed in recent years [36,37,38,39]. In this study, we employed FLS in order to propose a new levothyroxine dosing regimen to be used by a thyroidectomized virtual patient. The FLS dose regime is then compared with several conventional LT4 monotherapy methods considering the serum levels of TSH, T3 and T4 for a period of 30 days using a well-established web application for thyroid simulation. Eventually, the pros and cons of conventional LT4 dose regimens are juxtaposed with the proposed FLS dose regime based on our defined indexes including time to reach normal reference range of TSH, T3, and T4, as well as their discrepancies with individual target values.
2. Methods
2.1. Simulation method
THYROSIM 3.0©, a free web application developed by UCLA Biocybernetics Laboratory, was utilized as a model of feedback control of hypothalamus-pituitary-thyroid axis. THYROSIM1 is also able to track responses to exogenous LT4 and LT3 dosages via either oral, IV, or infusion routs. In this web application, euthyroid condition, as a default mode, is defined by 100% secretion of T3 and T4 along with 88% absorption of T3 and T4. Reference hormone ranges are considered as 0.5–5 mU/L, 45–105 μg/L and 0.6–1.8 μg/L for TSH, T4, and T3 respectively. Simulation of pathological conditions is then accomplished by adjusting the percentages of thyroid hormones secretion (0–125%) while the simulation of THRT could be tuned by T4 and T3 gut absorption rates (0–100%). Hypothyroidism can be shown by setting the secretion percentages from 10% to 80% and thyroidectomy is considered as 1% hormone secretion [40,41].
2.2. Virtual patient
In the current study, THYROSIM was employed to simulate thyroid hormones courses of a virtual thyroidectomized patient. The potential practical use of THYROSIM here was to adjust LT4 dose that induces the serum TSH level into the normal window. We set the absorption rate to 88% assuming that the patient is not using any other medication. Also, for a better simulation, we adjusted the post-thyroidectomy remained thyroid function into 1% and applied an altering pattern of everyday oral thyroid supplement and then, monitored his thyroid hormones level. The characteristics of our virtual patient is presumed as described in Table 1.
Table 1.
The characteristics of our thyroidectomized virtual patient.
| Characteristic | Value | Reference |
|---|---|---|
| Gender | Male | [42] |
| Age (years) | 37 | [42] |
| Weight (kg) | 72 | [42] |
| BMI (kg/m2) | 25.4 | [43] |
| Height (m) | 1.7 | [42] |
| BSA (body surface area, m2) | 1.9 | [44] |
| LBM (lean body mass, kg) | 51.7 | [45] |
| Postoperative assumed TSH (after total thyroidectomy) (mU/L) | 51.7 | [40] |
| Assumed ITV-TSH (mU/L) | 1.93 | a |
| Postoperative assumed T3 (μg/L) | 0.57 | [40] |
| Assumed ITV-T3 (μg/L) | 1.35 | a |
| Postoperative assumed T4 (μg/L) | 18.76 | [40] |
| Assumed ITV-T4 (μg/L) | 78.21 | a |
| T4 secretion | 1% | [40] |
| T4 Absorption | 88% | [40] |
| T3 Secretion | 1% | [40] |
| T3 Absorption | 88% | [40] |
Assumed in this work.
Furthermore, THYROSIM allows single or multiple exogenous inputs at user-specified dosages and times. In the current work, these inputs calculated from our self-designed lab-developed fuzzy rule-based control system. This FLS designed in a way to enable tracking of TSH responses via negative feedback while minimizing its deviation from a predefined “set point”. Here, the desirable euthyroid ITV-TSH is supposed 1.93 mU/l which is indeed considered as the controller set point. We used TSH concentration (and its deviation from the assumed individual target value, ITV) only as a controlling element and the input of our Fuzzy Logic System. Ultimately, the FLS output, an appropriate LT4 dose for each day, would increase the concentration of T3 and T4 hormones and reduce the concentration of TSH as well. We want “all three hormones” to reach their normal reference range, and TSH is only a means to attain this.
2.3. Proposed fuzzy-logic system
Fuzzy logic-based controller was designed by MATLAB software ver. 2019 (The Mathworks Inc., USA). The discrepancies of TSH value at day “n” and one-step time back TSH value (at day “n-1”) in regard with the TSH set point (ITV-TSH) were assumed as the controlled variables while LT4 daily dosage was regarded as the manipulated variable. In Fig. 1, a schematic block diagram of our fuzzy control loop is demonstrated.
Fig. 1.
Schematic block diagram of FLS control loop.
Our FLS comprises nine membership functions. The rules use the input membership values as weighting factors to determine their influence on the fuzzy output sets of the final output conclusion [46]. Negative, moderately positive, and highly positive errors are three inputs membership functions that we used for both TSH errors (namely TSH of day n and TSH of day n-1). In addition, low dose, median dose, and high dose were included for LT4 output membership functions. After the definition of fuzzy membership functions, we developed 27 IF-THEN rules in order to mimic the decision procedures of a physician. These 27 rules covers all possibilities of LT4 dose adjustments. After an almost 100 iterations of fuzzy controller, the rules that used less frequently, were excluded from the rule table in order to reduce the time and cost of simulation procedure; and therefore, fuzzy rules were reduced to nine. The developed FLS rule interface in MATLAB software is shown in Fig. 2.
Fig. 2.
Fuzzy logic-based control algorithm user interface in MATLAB software.
Mapping of “recent TSH error” and “one-step time back TSH error’’ to LT4 dose administration was created by 3D Surface Viewer as represented in Fig. 3.
Fig. 3.
Surface display of mapping TSH errors and levothyroxine.
As it can be seen in Fig. 3, a high value of LT4 dose administration for large recent TSH error and one-step time back TSH error is obvious. However, a large flat area in the middle corresponding to the median LT4 dose administration versus median TSH errors is noticeable.
In MATLAB rule viewer, where each column shows a set of membership functions for a particular variable, three membership functions for TSH error (n), as input 1, three membership functions for TSH error (n-1), as input 2, and three membership functions for LT4, as an output variable, are defined. The number of the rows corresponds to the number of rules, here defined as 9 rules which are shown in Fig. 4.
Fig. 4.
Rule viewer of the nine membership functions used in the FLS.
In Fig. 4, the plot in the output column shows how the rules are applied on the output variable. The plot indicated by the arrow in Fig. 4, demonstrates how the output of each rule is combined to make an aggregated output and a defuzzified value while the red line provides the defuzzified value for LT4 dose.
The simulation through the control loop starts with calculating the amount of error with the predicted amount of the TSH by THYROSIM on the first day after thyroidectomy considering the TSH set point value. In the controller, these errors are used as inputs. The fuzzy controller operates the specified 9 rules to predict oral LT4 dosage for day one. At this time, we indicate the oral LT4 dosage on day one in THYROSIM and repeat this loop for the next day. These predictions should continue until TSH errors tend to zero.
2.4. Conventional dosing regimens
The proposed FLS is capable of receiving any reasonable amount of TSH concentration as its set-point and offers an appropriate LT4 dose regime. Therefore, the suggested dose regime for each set-point is different, and it can simply be individualized for each patient with their age and other physiological conditions. In this research, we aim to illustrate the ability of our FLS to predict appropriate LT4 doses for patients after total thyroidectomy and compare our results with the previous investigations. To meet a fair and rational comparison, we used a virtual patient (THYROSIM app) with characteristics reported in Table 1 for all dosing methods and assumed a TSH target value of 1.93 mU/L, which indeed can be changed.
Based on our literature review, we singled out eight monotherapy schemes proposed to calculate the proper LT4 dose after total thyroidectomy. We considered the most recent publications investigating LT4 treatment in adult thyroidectomized patients. The heterogeneity of these schemes implies the contribution of several parameters for accurately LT4 dose calculation. The selected monotherapy LT4 dosing regimens are classified in Table 2.
Table 2.
Conventional LT4 monotherapy dosing regimens for thyroidectomy.
Comparisons between different methods of LT4 dose prediction, indicated in Table 2, with our developed fuzzy logic dose regime were provided by implementing each regime in THYROSIM application. The resulted courses of serum T3 and T4 in addition to TSH were then compared for fuzzy logic dose regime and each conventional regime in pairs.
This article aims to help patients in the first 30 days after total thyroidectomy to quickly and properly reduce the TSH concentration and keep it within the normal window.
2.5. Comparison of LT4 dose regimes
We sought to evaluate and compare our FLS dose regime with recently proposed methods. Therefore, we implemented our virtual patient characteristics (refer to Table 1) into conventional methods, which are fundamentally based on variables e.g., patient age, sex, BMI, weight, and BSA (refer to Table 2). Also, we compared our FLS dose regime with a decision tree method recently presented by Chen S.S. et al. [50]. We applied the Relative Standard Error (RSE) term in order to demonstrate the closeness of the results to the intended values. RSE is defined as the discrepancy between intended and calculated values divided by the calculated value. According to the statistical references, if the RES is less than 25%, the desired and calculated values are significantly close together [51].
3. Results
3.1. Simulation of euthyroidism and total thyroidectomy
The simulation of serum level of thyroid hormones with 100% and 1% secretion for both T3 and T4 using the THYROSIM is demonstrated in Fig. 5. In this figure, the blue lines indicate the conditions of a normal thyroid (100% secretion) and the green lines are for total thyroidectomy (1% secretion) without administering any medication. Obviously, the purpose of prescribing LT4 for thyroidectomized patients is to bring the serum levels of hormones TSH, T4, and T3 close to the 100% secretion in the normal window.
Fig. 5.
Simulation of euthyroidism (100% secretion) and total thyroidectomy (1% secretion) with THYROSIM application.
3.2. FLS LT4 dose regime for total thyroidectomy
According to the algorithm shown in Fig. 1, our developed FLS proposes a LT4 monotherapy dose regime for the assumed total thyroidectomized virtual patient (refer to Table 1) on a daily basis as presented in Table 3. For a period of 30 days, the recommended doses provided by FLS are indicated as “Precise FLS LT4 dose” in Table 3. Nevertheless, available doses are also presented by rounding the precise dose considering 12.5 and 25 μg intervals in respect with the smallest increment between LT4 dosing strengths.
Table 3.
The proposed FLS dose regime for the thyroidectomized patient.
| Day | Precise FLS LT4 dose (μg) | Available LT4 dose (at 12.5 μg intervals) | Available LT4 dose (at 25 μg intervals) | Serum TSH (mU/L) | TSH error (mU/L) (calculated by FLS) |
Serum T3 (μg/L) | T3 error (μg/L) |
|---|---|---|---|---|---|---|---|
| 1 | 377.87 | 375 | 375 | 51.98 | 50.05 | 0.57 | −0.78 |
| 2 | 307.86 | 312.50 | 300 | 22.75 | 20.82 | 0.63 | −0.72 |
| 3 | 241.83 | 237.50 | 250 | 14.28 | 12.35 | 0.68 | −0.67 |
| 4 | 207.31 | 212.50 | 200 | 10.22 | 8.29 | 0.73 | −0.62 |
| 5 | 180.45 | 175 | 175 | 7.74 | 5.81 | 0.76 | −0.59 |
| 6 | 166.31 | 162.50 | 175 | 6.23 | 4.30 | 0.79 | −0.56 |
| 7 | 159.66 | 162.50 | 150 | 5.31 | 3.38 | 0.81 | −0.54 |
| 8 | 156.40 | 162.50 | 150 | 4.59 | 2.66 | 0.83 | −0.52 |
| 9 | 154.22 | 150 | 150 | 4.13 | 2.20 | 0.84 | −0.51 |
| 10 | 153.00 | 150 | 150 | 3.81 | 1.88 | 0.84 | −0.51 |
| 11 | 152.24 | 150 | 150 | 3.45 | 1.52 | 0.85 | −0.50 |
| 12 | 151.43 | 150 | 150 | 3.33 | 1.40 | 0.86 | −0.49 |
| 13 | 151.18 | 150 | 150 | 3.18 | 1.25 | 0.86 | −0.49 |
| 14 | 150.88 | 150 | 150 | 2.95 | 1.02 | 0.87 | −0.48 |
| 15 | 150.43 | 150 | 150 | 2.87 | 0.94 | 0.87 | −0.48 |
| 16 | 150.28 | 150 | 150 | 2.72 | 0.79 | 0.87 | −0.48 |
| 17 | 150.02 | 150 | 150 | 2.69 | 0.76 | 0.88 | −0.47 |
| 18 | 150.01 | 150 | 150 | 2.57 | 0.64 | 0.88 | −0.47 |
| 19 | 149.75 | 150 | 150 | 2.54 | 0.61 | 0.88 | −0.47 |
| 20 | 149.70 | 150 | 150 | 2.48 | 0.55 | 0.88 | −0.47 |
| 21 | 149.60 | 150 | 150 | 2.40 | 0.47 | 0.89 | −0.46 |
| 22 | 149.47 | 150 | 150 | 2.38 | 0.45 | 0.89 | −0.46 |
| 23 | 149.46 | 150 | 150 | 2.36 | 0.43 | 0.89 | −0.46 |
| 24 | 149.40 | 150 | 150 | 2.34 | 0.41 | 0.89 | −0.46 |
| 25 | 149.37 | 150 | 150 | 2.27 | 0.34 | 0.89 | −0.46 |
| 26 | 149.26 | 150 | 150 | 2.25 | 0.32 | 0.89 | −0.46 |
| 27 | 149.23 | 150 | 150 | 2.23 | 0.30 | 0.89 | −0.46 |
| 28 | 149.19 | 150 | 150 | 2.22 | 0.29 | 0.89 | −0.46 |
| 29 | 149.20 | 150 | 150 | 2.23 | 0.30 | 0.89 | −0.46 |
| 30 | 149.19 | 150 | 150 | 2.20 | 0.27 | 0.89 | −0.46 |
It can be revealed from Table 3 that the FLS dose regime changes 6 times in the first 9 days of treatment considering 12.5 μg intervals while it changes 5 times in the first 7 days of treatment. Subsequently, the LT4 dose would be stable for the rest of treatment at 150 μg. The TSH error (mU/L) computed by FLS in respect with the assumed TSH set point (ITV-TSH) and the T3 error is calculated in respect with the euthyroidism.
The illustration of thyroid hormones’ variations of our total thyroidectomized patient administrated LT4 based on our FLS dose regime is depicted in Fig. 6.
Fig. 6.
Thyroid hormones courses for the total thyroidectomized virtual patient threated by FLS LT4 dose regime using THYROSIM application.
To confirm that our FLS method is applicable to recommend appropriate LT4 doses for each patient with different physiological characteristics, we supposed another virtual patient (patient 2) with an assumed ITV-TSH of 3.50 mU/L and used FLS for these two patients. The results are shown in Table 4.
Table 4.
FLS LT4 dose regime for two different virtual patients with their own ITV-TSH.
| days | FLS recommended LT4 dosing for patient 1 (ITV-TSH: 1.93 mU/L) |
FLS recommended LT4 dosing for patient 2 (ITV-TSH: 3.50 mU/L) |
||
|---|---|---|---|---|
| Precise doses (μg) | Available doses (μg) | Precise doses (μg) | Available doses (μg) | |
| 1 | 377.87 | 375 | 365.39 | 375 |
| 2 | 307.86 | 300 | 303.72 | 300 |
| 3 | 241.83 | 250 | 237.98 | 250 |
| 4 | 207.31 | 200 | 198.91 | 200 |
| 5 | 180.45 | 175 | 171.57 | 175 |
| 6 | 166.31 | 175 | 159.77 | 150 |
| 7–30 | From 149.19 to 159.66 | 150 | From 148.95 to 154.94 | 150 |
3.3. Comparison of FLS LT4 monotherapy dose regime with conventional ones
The evaluations of FLS dose regime and conventional ones, using the THYROSIM application, are presented in pairs considering the serum levels of T3, T4, and TSH. The results presented here are based on chronological order of the conventional methods.
Firstly, the method proposed by Olubowale and Chadwick [4], which calculates the predicted LT4 dose based on patient weight, results a LT4 dose of 125 μg/day for our virtual patient. Fig. 7a demonstrates the results of FLS dose regime in comparison with this method.
Fig. 7.
Comparison of Olubowale and Chadwick vs. FLS (7a) and Sukumar vs. FLS (7b) LT4 dose regimes.
As we can see in Fig. 7a, the method of Olubowale and Chadwick fails to reach normal TSH window in the period of 30 days.
Sukumar et al. [7] presented a dose regime based on BSA in 2010. The recommended dose for our virtual patient based on this method would be 138.72 μg/day. In Fig. 7b, we can see the comparison of the FLS and Sukumar LT4 dosing regimens.
In a study conducted by Mistry D. et al. [47], the dose recommended for our virtual patient, based on weight and age, would be 154.53 μg/day. Fig. 8a depicts the simulations of this dose regime along with FLS one.
Fig. 8.
Comparison of Mistry vs. FLS (8a) and Jin vs. FLS (8b) LT4 dose regimes.
Jin et al. [48] proposed a simple equation based on weight of patient, which predicts 105 μg/day of LT4 for our virtual patient. Fig. 8b shows the simulation of this dose regime and FLS using THYROSIM application.
In 2013, a study had been organized by Ojomo K. A. et al. [14] in order to evaluate a dose regime based on weight and BMI. By applying the characteristic of our patient in their equation, the predicted LT4 dose was 120.3 μg/day. In Fig. 9a, we can see the comparison of Ojomo K. A. and fuzzy logic system dose regimes.
Fig. 9.
Comparison of Ojomo vs. FLS (9a) and Di Donna vs. FLS (9b) LT4 dose regimes.
Di Donna V. et al. [18] presented a dose regime based on BMI and age. The predicted LT4 dose based on this method is 126 μg/day, which can find its simulation graph in Fig. 9b in comparison with FLS method.
In 2016, a study by Elfenbein D. M. et al. [10], the dose required for a thyroidectomized patient was calculated based on gender and BMI. Using this equation, the required dose of LT4 for the virtual patient would be 133 μg/day. In Fig. 10a, we can see the difference between this dose regime and the fuzzy logic-based one.
Fig. 10.
Comparison of Elfenbein vs. FLS (10a) and Al-Dhahri vs. FLS (10b) LT4 dose regimes.
In a recent study conducted by Al-Dhahri S.F. et al. [49], a dose regime based on the BSA has been proposed. The suggested LT4 dose of this article for our virtual patient is 98 μg/day. Fig. 10b shows the simulation of this dose regime along with the fuzzy logic system method.
In 2019, Chen S.S. et al. [50] presented a decision tree for prescribing LT4 after thyroidectomy. With the help of THYROSIM, we monitored the patient's TSH hormone level each day after taking the recommended LT4 dose and then prescribed the next day dose based on the decision tree. The LT4 doses for our virtual patient according to the proposed decision tree are demonstrated in Table 5 in a daily basis.
Table 5.
Chen et al. LT4 dose regime recommended for our virtual patient.
| Days | TSH value (mU/L) | Recommended LT4 dose (μg) |
|---|---|---|
| 1 | 35.09 | 196.67 |
| 2 | 24.53 | 243.34 |
| 3 | 17.24 | 285.98 |
| 4 | 11.51 | 328.62 |
| 5 | 7.14 | 352.93 |
| 6 | 4.13 | 346.50 |
| 7 | 2.42 | 340.07 |
| 8 | 1.47 | 333.64 |
| 9 | 0.92 | 327.21 |
| 10 | 0.60 | 320.78 |
| 11 | 0.43 | 314.35 |
| 12 | 0.31 | 307.92 |
| 13 | 0.24 | 292.57 |
| 14 | 0.19 | 277.22 |
| 15 | 0.17 | 258.43 |
| 16 | 0.15 | 239.64 |
| 17 | 0.20 | 224.29 |
| 18 | 0.15 | 205.50 |
| 19 | 0.16 | 186.71 |
| 20 | 0.17 | 167.92 |
| 21 | 0.19 | 152.57 |
| 22 | 0.22 | 137.22 |
| 23 | 0.27 | 130.79 |
| 24 | 0.34 | 124.36 |
| 25 | 0.41 | 117.93 |
| 26 | 0.51 | 111.50 |
| 27 | 0.62 | 105.07 |
| 28 | 0.77 | 93.64 |
| 29 | 0.96 | 92.21 |
| 30 | 1.20 | 85.78 |
4. Discussion
Figs. 7–11 demonstrate the performance of FLS dose regime in comparison to conventional LT4 monotherapy methods for our virtual thyroidectomized patient. To scrutinize the discrepancies between these methods, we highlighted the following issues. As we can see in Fig. 7a, TSH course in the dose regime proposed by Olubowale and Chadwick can reach the normal range much later than fuzzy logic method, and also it fails to stay totally in the normal window. It is obvious from Fig. 7b that TSH serum level would reach to normal window faster by FLS method compared with Sukumar dose regime. It can be revealed from Fig. 8a that the patient would experience a higher TSH value for the first 20 days of therapy under Mistry et al. method in comparison with the FLS dose regime.
Fig. 11.
Chen et al. vs. FLS LT4 dosing regimens for the virtual thyroidectomized patient.
Interestingly the TSH value resulted from Jin et al. method (refer to Fig. 8b) would stay out of the normal range for the whole 30 days of therapy. Based on Fig. 9a, there is no doubt that Ojomo dose regime is not able to bring TSH value to the normal window. In the last days of study period, Di Donna dose regime (shown in Fig. 9b) is able to reach the normal range to some extent, which is not an acceptable performance compared to the FLS dose regime.
As it is obvious in Fig. 10a, although the Elfenbein dose regime is able to catch the normal TSH window up at the end of the study period (around day 30), it takes much longer time than fuzzy logic system to enter the normal TSH window. The Al-Dhahri dose regime (refer to Fig. 10b) not only fails to enter into the normal TSH window, but also cannot bring the TSH value down to the normal range during the 30 days of therapy. Therefore, this dose regime is not appropriate for total thyroidectomized patients compared to other dose regimens. Although Chen dose regime (shown in Fig. 11) is able to rapidly bring the TSH value to the normal range, the same way as the FLS dose regime, but it is obvious that this method, after day 6 of therapy, raises the amount of T4 above its normal window while at the same time brings the TSH concentration lower than the Individual target value which would have some negative effects on the patient's quality of life.
Considering the alteration of TSH of virtual thyroidectomized patient, although TSH values based on the methods of Di Donna et al. and Sukumar et al. demonstrated in Figs. 9b and 7b respectively, could follow the normal range over a longer period of time than the FLS dose regime, they ultimately match the FLS TSH goal. However, methods such as Mistry et al. (Fig. 8a), Jin et al. (Fig. 8b), Ojomo et al. (Fig. 9a), Elfenbein et al. (Fig. 10a), and Al-Dhahri et al. (Fig. 10b) are not successful to bring the TSH value to the normal range although during the study period, T4 and T3 values stay in their normal windows.
As far as we investigated publications, no specific criterion was proposed to compare the performance of two different dose regimens in LT4 monotherapy of total thyroidectomized patients. To decide on the appropriate dose regime, we have defined nine criteria including the time to reach TSH normal window, time to reach T3 normal window, time to reach T4 normal window, discrepancy between TSH at day 30 and ITV-TSH, discrepancy between T3 at day 30 and ITV-T3, discrepancy between T4 at day 30 and ITV-T4, and the number of days that TSH, T4 and T3 are out of normal ranges. Based on the results of THYROSIM simulations demonstrated in Figs. 7 to 15, the comparison of the conventional dosing regimens besides FLS, in respect with the nine aforementioned criteria, is presented in Table 6.
Table 6.
Pros and cons of FLS and conventional LT4 dosing regimens for the total thyroidectomized virtual patient.
| LT4 monotherapy method | Time to reach TSH normal window (days) | Time to reach T3 normal window (days) | Time to reach T4 normal window (days) | TSH out of normal window (days) | T3 out of normal window (days) | T4 out of normal window (days) | Discrepancy between TSH at day 30 and ITV-TSH (1.93) | Discrepancy between T3 at day 30 and ITV-T3 (1.35) | Discrepancy between T4 at day 30 and ITV-T4 (78.21) |
|---|---|---|---|---|---|---|---|---|---|
| FLS | 6 | 2 | 2 | 5 | 1 | 1 | 0.24a | −0.47 | 18.7a |
| Olubowale and Chadwick | 16 | 3 | 4 | 17 | 2 | 3 | 2.83 | −0.53 | 4.24a |
| Sukumar et al. | 14 | 3 | 4 | 13 | 2 | 3 | 1.38 | −0.5 | 11.27a |
| Mistry et al. | 11 | 2 | 3 | 10 | 1 | 2 | 0.21a | −0.47 | 19.2a |
| Jin et al. | 30 | 2 | 5 | 30 | 1 | 4 | 5.8 | −0.57 | −6.23a |
| Ojomo et al. | 17 | 4 | 4 | 16 | 2 | 3 | 3.44 | −0.54 | 1.8a |
| Di Donna et al. | 16 | 4 | 4 | 15 | 3 | 3 | 2.71 | −0.53 | 4.75a |
| Elfenbein et al. | 15 | 3 | 4 | 14 | 2 | 3 | 1.93 | −0.51 | 8.35a |
| Al-Dhahri et al. | 30 | 4 | 5 | 30 | 3 | 4 | 7.11 | −0.59 | −9.95a |
| Chen et al. | 6 | 3 | 3 | 19 | 2 | 24 | −0.7 | −0.42 | 24.82 |
Numbers in Bold indicates the minimum value of each column.
Indicates the RSE less than 25% (in the last three columns).
Criteria defined in Table 6 compare the performances of LT4 dosing regimen, in a way that, lower value of each parameter indicates better performance. As presented in Table 5, FLS shows superiority compared to other methods in six criteria, among which an important index would be the “time to reach TSH normal window”. FLS is behind Mistry et al. in terms of “discrepancy between TSH at day 30 and ITV-TSH”; however, the difference is only 0.03 which could be ignored and both methods have an RSE less than 25%. The same behavior is recognized in criterion “discrepancy between T3 at day 30 and ITV-T3”; however, due to using monotherapy methods, none of the proposed algorithms could result a T3 at day 30 and ITV-T3 discrepancy RSE less than 25%
Considering the proposed items in Table 6, although Chen T3 discrepancy is less than FLS one, which is 0.05, the FLS performance is better in other aspects, turning this difference into an insignificant issue. Regarding the “discrepancy between T4 at day 30 and ITV-T4”, although FLS T4 value is above ITV-T4, it is not exert a great influence on the patient's health. Ojomo et al. dose regime performs very well in this item but we must keep in mind that this method reaches the ITV-TSH much later than FLS and is not comparable with FLS in other aspects as well.
Setting aside FLS method, overall review of Table 6 indicates that methods presented by Mistry et al. and Chen et al. could be considered appropriate for our thyroidectomized virtual patient. At long last, although FLS is superior to other methods in most criteria, it is the physician who makes the final decision for the patient's ITVs, based on the priority of criteria as well as the patient pathophysiological conditions.
5. Conclusion
Our comparative study reveal that the proposed FLS-based LT4 dose regime is quite able to bring and keep the T4, T3, and TSH values in their normal window as well as remarkably reduce the time to reach this normal level for all thyroid hormones in comparison with conventional monotherapy dosing regimens. The FLS method would also be beneficial in terms of declining the number of days in which our total thyroidectomized virtual patient experiences thyroid hormones levels out of the normal windows. Although this appropriate dose regime was optimized for virtual thyroidectomized patient, this method could be utilized for dose adjustment in therapeutic procedure of any arbitrary patient too. Although the results presented by FLS in this study has not yet clinically validated, it introduces FLS as a potential means to predict appropriate LT4 dosing regimens for thyroidectomy and hypothyroidism.
There are some limitations in this study which can be addressed in future works. The underlying diseases and supplements taken in the dietary did not considered for our virtual patient. This approach is patient specific and should be further modified for any particular age and gender. We also have not discussed the pregnancy and breastfeeding conditions which may significantly affect the thyroid hormone replacement therapy. Moreover, in the future works, this method should be applied on real patients and the results could corroborate our proposed LT4 dose regime.
Nowadays, due to the Covid-19 pandemic, there is a great challenge for patients to see a doctor in person. It is no longer time to write conventional prescriptions for patients; and as a matter of fact, patients should learn to cope with their diseases on their own. Indeed, predicting the optimal dose is like a concert in which the patient and Al are the main leaders. Besides, physicians could review the outcome and modify the dose proposed by the employed AI methodology.
Acknowledgments
The authors would like to thank all researchers around the globe concerned with thyroid diseases for their tireless endure to enhance the patients' quality of life.
Footnotes
Available at http://biocyb1.cs.ucla.edu/thyrosim/cgi-bin/Thyrosim.cgi/.
Contributor Information
Mostafa Hemmati, Email: mostafa48842@gmail.com.
Hadi Tabesh, Email: hadi.tabesh@ut.ac.ir.
Ali Peyghambari, Email: a.peyghambari97@gmail.com.
Hamidreza Bazrafshan, Email: bazrafshan.hamid@yahoo.de.
References
- 1.Bernadette D.S.C. Biondi Thyroid hormone therapy for hypothyroidism. Endocrine. 2019:66. doi: 10.1007/s12020-019-02023-7. [DOI] [PubMed] [Google Scholar]
- 2.Shin D.H., Lee M.J., Lee H.S., Oh H.J., Ko K.I., Kim C.H., Doh F.M., Koo H.M., Kim H.R., Han J.H. Thyroid hormone replacement therapy attenuates the decline of renal function in chronic kidney disease patients with subclinical hypothyroidism. Thyroid. 2013;23:654–661. doi: 10.1089/thy.2012.0475. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Eligar V., Taylor P.N., Okosieme O., Leese G., Dayan C.M. Thyroxine replacement: a clinical endocrinologist's viewpoint. Ann. Clin. Biochem. 2016;53:421–433. doi: 10.1177/0004563216642255. [DOI] [PubMed] [Google Scholar]
- 4.Olubowale O., Chadwick D. Optimization of thyroxine replacement therapy after total or near‐total thyroidectomy for benign thyroid disease. Br. J. Surg. 2006;93:57–60. doi: 10.1002/bjs.5157. [DOI] [PubMed] [Google Scholar]
- 5.Wilhelm S.M., McHenry C.R. Total thyroidectomy is superior to subtotal thyroidectomy for management of Graves' disease in the United States. World J. Surg. 2010;34:1261–1264. doi: 10.1007/s00268-009-0337-3. [DOI] [PubMed] [Google Scholar]
- 6.Azadbakht M., Emadi-Jamali S.M., Azadbakht S. Hypocalcemia following total and subtotal thyroidectomy and associated factors. Annal. Med. Surg. 2021 doi: 10.1016/j.amsu.2021.102417. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Sukumar R., Agarwal A., Gupta S., Mishra A., Agarwal G., Verma A., Mishra S. Prediction of LT4 replacement dose to achieve euthyroidism in subjects undergoing total thyroidectomy for benign thyroid disorders. World J. Surg. 2010;34:527–531. doi: 10.1007/s00268-009-0345-3. [DOI] [PubMed] [Google Scholar]
- 8.Valenzuela F., Berrios L., Robledo C.A., Snyder S., Barney J.M., Reinhart H., Arenas M.A.R. Comparison of dosing schemes for thyroid hormone replacement therapy after thyroidectomy. J. Surg. Res. 2021;264:316–320. doi: 10.1016/j.jss.2021.03.016. [DOI] [PubMed] [Google Scholar]
- 9.Wiersinga W.M. Thyroid hormone replacement therapy. Horm. Res. Paediatr. 2001;56:74–81. doi: 10.1159/000048140. [DOI] [PubMed] [Google Scholar]
- 10.Elfenbein D.M., Schaefer S., Shumway C., Chen H., Sippel R.S., Schneider D.F. Prospective intervention of a novel levothyroxine dosing protocol based on body mass index after thyroidectomy. J. Am. Coll. Surg. 2016;222:83–88. doi: 10.1016/j.jamcollsurg.2015.10.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Miccoli P., Materazzi G., Rossi L. Levothyroxine therapy in thyrodectomized patients. Front. Endocrinol. 2021;11:1108. doi: 10.3389/fendo.2020.626268. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Patrick J.J.D.I., Mak H. Optimal control policies for the prescription of thyroid hormones. Math. Biosci. 1978:42. [Google Scholar]
- 13.Tobias J.W.D., Wolff M., Müller Matthias A. Optimal hormone replacement therapy in hypothyroidism - a model predictive control approach. Front. Endocrinol. 2022;13 doi: 10.3389/fendo.2022.884018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Ojomo K.A., Schneider D.F., Reiher A.E., Lai N., Schaefer S., Chen H., Sippel R.S. Using body mass index to predict optimal thyroid dosing after thyroidectomy. J. Am. Coll. Surg. 2013;216:454–460. doi: 10.1016/j.jamcollsurg.2012.12.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Jonklaas J., Bianco A.C., Cappola A.R., Celi F.S., Fliers E., Heuer H., McAninch E.A., Moeller L.C., Nygaard B., Sawka A.M. Evidence-based use of levothyroxine/liothyronine combinations in treating hypothyroidism: a consensus document. Eur. Thyroid J. 2021;10:10–38. doi: 10.1159/000512970. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Hughes K., Eastman C. Thyroid disease: long-term management of hyperthyroidism and hypothyroidism. Aust. J. Gen. Pract. 2021;50:36–42. doi: 10.31128/AJGP-09-20-5653. [DOI] [PubMed] [Google Scholar]
- 17.Samuels M.H., Kolobova I., Niederhausen M., Purnell J.Q., Schuff K.G. Effects of altering levothyroxine dose on energy expenditure and body composition in subjects treated with LT4. J. Clin. Endocrinol. Metabol. 2018;103:4163–4175. doi: 10.1210/jc.2018-01203. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Di Donna V., Santoro M.G., De Waure C., Ricciato M.P., Paragliola R.M., Pontecorvi A., Corsello S.M. A new strategy to estimate levothyroxine requirement after total thyroidectomy for benign thyroid disease. Thyroid. 2014;24:1759–1764. doi: 10.1089/thy.2014.0111. [DOI] [PubMed] [Google Scholar]
- 19.Paragliola R.M., Di Donna V., Locantore P., Papi G., Pontecorvi A., Corsello S.M. Factors predicting time to TSH normalization and persistence of TSH suppression after total thyroidectomy for Graves' disease. Front. Endocrinol. 2019;10:95. doi: 10.3389/fendo.2019.00095. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.X Wu X.Q., Yao Y. Methimazole plus levothyroxine for treating hyperthyroidism in children: a systematic review and meta-analysis. Transl. Pediatr. 2022;11:41–57. doi: 10.21037/tp-21-497. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Hoermann R., Midgley J.E., Larisch R., Dietrich J.W. Individualised requirements for optimum treatment of hypothyroidism: complex needs, limited options. Drugs Context. 2019:8. doi: 10.7573/dic.212597. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Simon M.K.-S.L., Goede L., Smit Jan W.A., Dietrich Johannes W. A novel minimal mathematical model of the hypothalamus–pituitary-thyroid axis validated for individualized clinical applications. Math. Biosci. 2014:249. doi: 10.1016/j.mbs.2014.01.001. [DOI] [PubMed] [Google Scholar]
- 23.Ruggeri R.M., Trimarchi F., Biondi B. Management of endocrine disease: l-Thyroxine replacement therapy in the frail elderly: a challenge in clinical practice. Eur. J. Endocrinol. 2017;17 doi: 10.1530/EJE-17-0321. [DOI] [PubMed] [Google Scholar]
- 24.Scott Wilkes, Pearce Simon, Ryan Vicky, Rapley Tim, Lorna Ingoe S. Razvi, Study of Optimal Replacement of Thyroxine in the ElDerly (SORTED): protocol for a mixed methods feasibility study to assess the clinical utility of lower dose thyroxine in elderly hypothyroid patients: study protocol for a randomized controlled trial. Trials. 2013:14. doi: 10.1186/1745-6215-14-83. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Effraimidis Grigoris, Watt Torquil, Feldt-Rasmussen U. Levothyroxine therapy in elderly patients with hypothyroidism. Front. Endocrinol. 2021;12 doi: 10.3389/fendo.2021.641560. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Biondi B. Persistent dyslipidemia in patients with hypothyroidism: a good marker for personalized replacement therapy? J. Clin. Endocrinol. Metabol. 2019;104:624–627. doi: 10.1210/jc.2018-02302. [DOI] [PubMed] [Google Scholar]
- 27.Batistuzzo Alice, et al. Multisensory stimulation improves cognition and behavior in adult male rats born to LT4-treated thyroidectomized dams. Endocrinology. 2022;163 doi: 10.1210/endocr/bqac105. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Zaborek N.A., Cheng A., Imbus J.R., Long K.L., Pitt S.C., Sippel R.S., Schneider D.F. The optimal dosing scheme for levothyroxine after thyroidectomy: a comprehensive comparison and evaluation. Surgery. 2019;165:92–98. doi: 10.1016/j.surg.2018.04.097. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Revital Nimri T.B., Laffel Lori M., Slover Robert H., Schatz Desmond, Weinzimer Stuart A., Dovc Klemen, Danne Thomas, Phillip Moshe. Insulin dose optimization using an automated artificial intelligence-based decision support system in youths with type 1 diabetes. Nat. Med. 2020;26 doi: 10.1038/s41591-020-1045-7. [DOI] [PubMed] [Google Scholar]
- 30.Xinyu Zhang V.C.L., Jia Rong, Lee James C., Liu Feng. Deep convolutional neural networks in thyroid disease detection: a multi-classification comparison by ultrasonography and computed tomography. Comput. Methods Progr. Biomed. 2022:220. doi: 10.1016/j.cmpb.2022.106823. [DOI] [PubMed] [Google Scholar]
- 31.Lin J., Magnago F., Alemany J.M. Elsevier; 2018. Optimization Methods Applied to Power Systems: Current Practices and Challenges, Classical and Recent Aspects of Power System Optimization; pp. 1–18. [Google Scholar]
- 32.Li L.-R., Du B., Liu H.-Q., Chen C. Artificial intelligence for personalized medicine in thyroid cancer: current status and future perspectives. Front. Oncol. 2021;10:3360. doi: 10.3389/fonc.2020.604051. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Dubois H.P.D., Ughetto L. Fuzzy logic, control engineering and artificial intelligence. Fuzzy Algorithms Control. 1999:17–57. [Google Scholar]
- 34.Mohamed Nageh M.A.E.E., El Tayeb El Sayed, Sayyouh Helmy. SPE North Africa Technical Conference and ExhibitionCairo; Egypt: 2015. Application of Using Fuzzy Logic as an Artificial Intelligence Technique in the Screening Criteria of the EOR Technologies. [Google Scholar]
- 35.Yager R.R., Zadeh L.A. Springer; US: 2012. An Introduction to Fuzzy Logic Applications in Intelligent Systems. [Google Scholar]
- 36.Zi-Xiao Wei F.D., Liu Yan-Xin, Fan Shou-Zen, Jiann-Shing Shieh An optimized type-2 self-organizing fuzzy logic controller applied in anesthesia for propofol dosing to regulate BIS. IEEE Trans. Fuzzy Syst. 2020;28:1062–1072. [Google Scholar]
- 37.Faiyaz Doctor C.-H.S., Liu Yan-Xin, Jiann-Shing Shieh. Iqbal Rahat. Type-2 fuzzy sets applied to multivariable self-organizing fuzzy logic controllers for regulating anesthesia. Appl. Soft Comput. 2016;38 [Google Scholar]
- 38.Helgason C.M. vol. 21. Drugs & Aging; 2012. (The Application of Fuzzy Logic to the Prescription of Antithrombotic Agents in the Elderly). [DOI] [PubMed] [Google Scholar]
- 39.Omer Incebay A.O., Sen Muhammed Arif, Yapici Rafet, Kalyoncu Mete. Fuzzy-based modeling and speed optimization of a centrifugal blood pump using a modified and constrained Bees algorithm. Comput. Methods Progr. Biomed. 2022:221. doi: 10.1016/j.cmpb.2022.106867. [DOI] [PubMed] [Google Scholar]
- 40.Han S.X., Eisenberg M., Larsen P.R., DiStefano J., III THYROSIM app for education and research predicts potential health risks of over-the-counter thyroid supplements. Thyroid. 2016;26:489–498. doi: 10.1089/thy.2015.0373. [DOI] [PubMed] [Google Scholar]
- 41.Ben-Shachar R., Eisenberg M., Huang S.A., DiStefano J.J., III Simulation of post-thyroidectomy treatment alternatives for triiodothyronine or thyroxine replacement in pediatric thyroid cancer patients. Thyroid. 2012;22:595–603. doi: 10.1089/thy.2011.0355. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Garber R.H.C. Jeffrey R., Gharib Hossein, Hennessey James V., Klein Irwin, Mechanick Jeffrey I., Pessah-Pollack Rachel, Singer Peter A., Woeber Kenneth A. Clinical practice guidelines for hypothyroidism in adults: cosponsored by the American association of clinical endocrinologists and the American thyroid association. Thyroid. 2012:22. doi: 10.1089/thy.2012.0205. [DOI] [PubMed] [Google Scholar]
- 43.Hemmelmann C., Brose S., Vens M., Hebebrand J., Ziegler A. Perzentilen des body-mass-index auch für 18-bis 80-Jährige? Daten der nationalen verzehrsstudie II. Dtsch. Med. Wochenschr. 2010;135:848–852. doi: 10.1055/s-0030-1253666. [DOI] [PubMed] [Google Scholar]
- 44.Livingston E.H., Lee S. Body surface area prediction in normal-weight and obese patients. Am. J. Physiol. Endocrinol. Metabol. 2001;281:E586–E591. doi: 10.1152/ajpendo.2001.281.3.E586. [DOI] [PubMed] [Google Scholar]
- 45.Duntas L.H., Jonklaas J. Levothyroxine dose adjustment to optimise therapy throughout a patient's lifetime. Adv. Ther. 2019:1–17. doi: 10.1007/s12325-019-01078-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Ross T.J. Fuzzy Logic with Engineering Applications. John Wiley & Sons; 2009. [Google Scholar]
- 47.Mistry D., Atkin S., Atkinson H., Gunasekaran S., Sylvester D., Rigby A.S., England R.J. Predicting thyroxine requirements following total thyroidectomy. Clin. Endocrinol. 2011;74:384–387. doi: 10.1111/j.1365-2265.2010.03940.x. [DOI] [PubMed] [Google Scholar]
- 48.Jin J., Allemang M.T., McHenry C.R. Levothyroxine replacement dosage determination after thyroidectomy. Am. J. Surg. 2013;205:360–364. doi: 10.1016/j.amjsurg.2012.10.015. [DOI] [PubMed] [Google Scholar]
- 49.Al-Dhahri S.F., Al-Angari S.S., Alharbi J., AlEssa M. Optimal levothyroxine dose in post-total thyroidectomy patients: a prediction model for initial dose titration. Eur. Arch. Oto-Rhino-Laryngol. 2019;276:2559–2564. doi: 10.1007/s00405-019-05523-4. [DOI] [PubMed] [Google Scholar]
- 50.Chen S.S., Zaborek N.A., Doubleday A.R., Schaefer S.C., Long K.L., Pitt S.C., Sippel R.S., Schneider D.F. Optimizing levothyroxine dose adjustment after thyroidectomy with a decision tree. J. Surg. Res. 2019;244:102–106. doi: 10.1016/j.jss.2019.06.025. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Cor-Jacques Kat, Pieter Schalk Els. Validation metric based on relative error. Math. Comput. Model. Dyn. Syst. 2012;18:487–520. [Google Scholar]













