Although transurethral endoscopy has been a common surgical technique in urology for years [1], only limited data are available comparing total intra-venous anaesthesia (TIVA) and spinal anaesthesia (SPA) in patients undergoing these operative procedures.
As surgical advancements continue, more procedures are performed in an outpatient or fast-track setting, which benefits from short-acting anaesthesia [2]. This is particularly pertinent in endourology, as the procedures tend to be short, and optimal process organisation in the operating theatre is essential to maintain a high level of patient safety [3–5]. Consequently, variables that are critical to the patient, such as adverse events and patient satisfaction, cannot be overlooked when parameters, such as procedure times and cost-effectiveness, are assessed. In this context, the optimal anaesthetic regime question is highly complex. Moreover, these variables depend heavily on local practices and conditions, making generalisation of the study data challenging.
The objective of this study was to facilitate the decision-making process for clinicians between TIVA and SPA with prilocaine or bupivacaine. The primary aim was to compare intravenous general anaesthesia with remifentanil and propofol with SPA with prilocaine or bupivacaine. We evaluated the impact on procedural outcomes in patients undergoing elective endourological surgery, including potential side effects, patient and surgeon satisfaction, cost analysis and postoperative pain relief.
METHODS
Ethical approval for the study was provided by the Ethics Committee of the Regional Medical Council of Brandenburg (protocol number: S 17 (a)/2013) on 27 August 2013. This trial was registered in the German Clinical Trials Register (DRKS00005172) prior to commencement.
Study design
All patients provided written informed consent. Patients were then randomly assigned according to a computer-generated randomisation table prepared by one of the investigators (KS). Participants were enrolled in the pre-operative clinic. Finally, the anaesthetist on duty in the urology operating room (OR) opened the pre-prepared randomisation envelopes, thus completing the assignment of participants to one of three groups:
Group 1: SPA with bupivacaine. SPA was performed in a sitting position, and the primary puncture site was defined as L3/4. If unsuccessful, the secondary site was left to the anaesthetists’ discretion. Finally, hyperbaric bupivacaine 12.5 mg (Carbostesin, AstraZeneca, 5 mg mL–1) was administered with a volume of 2.5 mL (12.5 mg). Anaesthesia spread was then assessed using a pin-prick method with a dulled needle. The procedure was started when at least the Th8 dermatome was anaes-thetised.
Group 2: SPA with prilocaine. SPA was performed analogously to the bupivacaine group, but 3 mL (60 mg) of hyperbaric prilocaine (Takipril, Sintectica) was administered after successful spinal puncture instead.
Group 3: TIVA. TIVA was induced with remifentanil 0.5–1.0 µg kg–1 min–1 and propofol 5 mg kg–1 h–1 for 3 min, followed by a bolus of 1.5–2.0 mg kg–1 propofol. After successfully placing the laryngeal mask, remifentanil and propofol dosages were reduced to 0.1–0.15 µg kg–1 min–1 and 4–6 mg kg–1 h–1, respectively. TIVA was then titrated to maintain a bispectral index (BIS) of 45–55, and the infusion was stopped at the end of the procedure. As soon as the patient was awake, they were extubated and transferred to the recovery room. Postoperative analgesia was administered at the anaesthetist’s discretion.
Inclusion/exclusion criteria:
Exclusion criteria were as follows:
Outcomes
The primary outcome was the time from the start of anaesthesia to achieving ambulation. The start of anaesthesia was defined as the time point when the patient was already in the operating theatre, all monitoring and equipment were on and functioning, and the anaesthesiologist was ready to begin the appropriate procedure. Ambulation was achieved in the recovery room when the patient met the following criteria:
It should be noted that the patients were not required to be able to stand up on their own. As urological patients frequently require bladder catheters, miction was not employed as a criterion for ambulation.
Secondary outcomes included:
perioperative hypotension was defined as a 20% change from the first blood pressure measurement in the OR (baseline);
side effects such as postoperative nausea and vomiting, shivering, vertigo or syncope, pruritus and back pain;
pain score on the VAS;
patient satisfaction (Figure 1);
surgeon’s satisfaction rated on a scale from 0 (very dissatisfied) to 4 (fully satisfied);
cost analysis, based on our hospital prices.
FIGURE 1
Patients’ satisfaction questionnaire. Rating scales: *was from 1 (very dissatisfied) to 5 (fully satisfied). **1 (yes) to 5 (no). Questions 2 and 4 were control questions, as the best possible answer was 1 and not 5. Prior to analysis, those answers were converted so they would align with the others

Statistical analysis
Prior to the study, a power analysis was perform-ed. Based on the previous results [8, 9], we estimated the mean time to ambulation after TIVA at 95 min with an SD of 19 min and after prilocaine at 91 min with an SD of 40 min. We hypothesised a normal distribution and that a difference of 30 min would be of clinical significance. We assumed an a-error of 0.0125 (Bonferroni correction) with a power of 80%. A sample of 38 patients for each group would satisfy these criteria. The analysis was performed using G*Power Version 3.1.5 (Franz Faul, Universität Kiel, Germany).
The analysis was performed using ANOVA with the post-hoc pairwise Student’s t-test with Holm’s P-correction, the Kruskal-Wallis test with post-hoc Mann-Whitney U test, or the c2 test where appropriate. All analyses were performed using RStudio Version 1.0.44 and R Version 3.2.
Finally, two post-hoc analyses were performed. Firstly, the assumption that more analgesics would be required in the first 24 hours postoperatively after TIVA than SPA was explored, as it does not provide long-lasting pain relief. To evaluate this assumption, data about analgesic consumption in the first 24 hours after the operation were retrospectively collected. Secondly, three common machine-learning (ML) algorithms were applied.
Machine learning approach
ML algorithms can be employed to identify solutions that are adjusted to account for local conditions. In essence, ML enables a computer to perform tasks for which it was not explicitly programmed. These tasks can be broadly classified as either classification tasks or numerical predictions. In the former, an algorithm assigns a class to unseen data. To determine the likelihood of postinduction hypo-tension in a patient, for instance, the algorithm would provide either “hypotension” or “no hypotension.” The latter provides a numerical answer, for example, an expected postinduction blood pressure drop of 25%. However, training ML models can be technically challenging for clinicians. Therefore, we created an easy-to-use R package called farseer, which applies our training solution automatically on locally gathered data. It can be done by a simple function call. The source code and R package are publicly available on GitHub (https://github.com/skitek/farseer). They are licensed under the GNU GPL v. 3.0, which permits their use and modification in future research. Once trained, farseer models can be used to simulate the outcome variables, such as costs, process times and changes in mean arterial pressure (MAP).
Data collection
Selection of input variables
We used all the patient characteristic variables collected in the study as input variables. These included age, weight, height, sex, ASA class, type of operation, study group, body mass index (BMI), and planned duration. They were selected because they are readily available for every patient and commonly used in clinical practice when choosing appropriate anaesthesia. We did not perform further variable selection, because we aimed for as automated and simple a process as possible.
Target selection
The following targets were selected: a) the time spent in the recovery room, as a surrogate for the primary outcome; b) hypotension during the procedure, as a surrogate for the patient outcome; c) material and medication costs associated with the procedure. These targets were selected, because of their clinical significance and strong statistical differences found in our study. The aforementioned steps were performed manually. The following process was automated using farseer.
Prior to the implementation of ML, the continuous variables were normalised using minimum–maximum feature scaling. This process involves transforming the values of a variable to a number within the range of 0 to 1. This step is crucial as it eliminates the confounding factor of different unit scales used in different variables.
For the factor variables, an analogous step to normalisation was taken, namely transformation of binary factors. This refers to factors with levels of 1 (yes) or 0 (no). For a factor with n distinct levels, it is done by creating n-1 binary factors. To illustrate, our group variable had three levels initially (bupivacaine, prilocaine, TIVA), and these were changed to binary factors: bupivacaine group and prilocaine group. Bupivacaine and prilocaine groups were then identified by having 1 in a corresponding binary factor, and TIVA by having 0 in both.
Choice of algorithms
We selected multiple regression as a well- established and widely used algorithm in medical research. Partition Tree [10] and artificial neural networks [11, 12] represent the more modern approach to ML. Further details on these algorithms can be found in the Supplementary Material.
Model training
We used supervised learning for both, classification and numerical prediction. A random 75% of the data sample was used as training data, with the remaining 25% subsequently employed to assess the models.
RESULTS
The data acquisition occurred in a single tertiary hospital (Carl-Thiem Hospital, Cottbus, Germany) from November 2013 to June 2016, and 120 patients were randomised. Three patients were not included in the analysis due to insufficient data – two in the TIVA group and one in the prilocaine group. One patient in the TIVA group accidentally received sevoflurane instead of propofol, but was not excluded from the analysis as per the intention-to-treat principle. The CONSORT flowchart is presented in Figure 2.
Patients’ characteristics are presented in Table 1. We unexpectedly detected a statistically significant difference in age between the prilocaine group and the other groups.
TABLE 1
Summary of patient data
Primary outcome
The time to ambulation was shortest in the TIVA group, 32 min and 58 min shorter than in the prilocaine and bupivacaine groups, respectively (Table 2).
TABLE 2
Process times
1 Sum of induction, procedure and reversal times. 2Sum of induction and reversal times. Statistical significance vs. *both other groups, **TIVA, ***prilocaine, ****bupivacaine. The tests were either pairwise t-test (primary outcome) or pairwise Mann-Whitney U test. The cut-off for significance was P = 0.05 after Holm’s correction
Secondary outcomes
In our secondary analysis to further explore this difference, we found that TIVA took more time to perform in the OR than both SPA groups. Most of the difference could be attributed to prolonged anaesthesia reversal, with no difference in anaesthesia induction time. However, time spent in the recovery room was significantly shorter after general anaesthesia (Table 2, Figure 3).
FIGURE 3
Kaplan-Meier curves for process times. Each curve represents the probability that at a given time a patient had not yet completed the process. Represents: A) time to ambulate, B) reversal time, C) time spent in recovery room. To determine statistical significance, the log-rank test was used

There was no difference in baseline MAP between the groups. After induction, MAP during the procedure followed two distinct courses. In TIVA, there was a steep fall that was maintained throughout the procedure but disappeared during emergence from anaesthesia. In both SPA groups, the initial fall was far less present but detectable in the recovery room. MAP returned to normal in all groups prior to ambulation, but was significantly lower than baseline. Presenting this phenomenon as relative figures, the median blood pressure drop during the procedure was 23% (12–27) in bupivacaine, 18% (12–27) in prilocaine vs. 35% (30–44) in TIVA. In the recovery room, hypotension was common in both SPA groups (30/38 in bupivacaine, P < 0.005 vs. TIVA; not significant (NS) vs. prilocaine, 21/36 in prilocaine, P = 0.02 vs. TIVA and 9/35 in TIVA). However, analysing the blood pressure from baseline to the median value in the recovery room, the difference was less pronounced and not clinically significant (Table 3). Analysed as a contingency table, in the bupivacaine group, there were 11/38 cases with hypotension in the recovery room, P = 0.005 vs. TIVA, NS vs. prilocaine, 8/36 in prilocaine, P = 0.02 vs. TIVA and 0/35 in TIVA. No difference was detected in other vital parameters.
TABLE 3
Mean arterial blood pressure during the perioperative period
[i] Statistical significance vs. *both other groups, **TIVA, ***prilocaine, ****bupivacaine. Values are presented as mean ± SD or median (IQR) as appropriate. Tests were either pairwise t-tests or the pairwise Mann-Whitney U test as appropriate. The cut-off for significance was P = 0.05 after Holm’s correction.
There was no difference in patient and surgeon satisfaction scores or side effects. Two patients in our study suffered severe adverse effects, one being urethra rupture and the other postoperative sepsis of unknown origin. Although the latter patient unfortunately died, anaesthesia could not have caused or influenced this outcome.
Regarding cost analysis, TIVA is the least cost-efficient, costing €36 (58%) more than any of the alternatives (Table 4).
TABLE 4
Estimated costs
Maximum VAS in the recovery room was higher in TIVA (2.5 [1–5] vs. 1[1–1] in both SPA groups, P < 0.001) and remained higher throughout the recovery room stay.
Post-hoc analysis
There was no difference in overall analgesic consumption. As the medications administered were varied and consumption low, we collapsed the data into a binary medication given/no medication. Corresponding to our findings about VAS, medication was more commonly administered to TIVA patients in the recovery room. This difference disappeared, however, once the patient was transferred to the ward (Table 5).
Machine learning approach
Concerning our ML approach, the measures for time in recovery are presented in Figures 4 and 5. Both figures were produced by farseer. The ANN and linear regression models demonstrated satisfactory performance in numerical prediction, whereas the partition tree model failed to provide useful information. In the classification task, where models were tasked with predicting whether the patient’s stay in the recovery room would exceed the average length of stay, all models performed similarly. The partition tree model exhibited superior performance in numerical prediction of costs and hypotension. Further details regarding the costs and hypotension can be found in the supplementary material. Predictions for a random patient from the validation dataset are presented in Table 6.
FIGURE 4
Example of performance analysis for numerical variables trained using the farseer package. Panels show Bland-Altman plots for models. The blue lines represent the mean error, and the red lines represent the limits of agreement. The table shows basic performance measures

FIGURE 5
Example of performance analysis for a categorical variable (time in recovery factor) produced with the farseer package. Prior to analysis a new variable, called Time_in_Recovery_Factor, was created for each patient. Firstly, the mean time spent in recovery across all groups was calculated. Then, if actual time spent for a given patient was longer, Time_in_Recovery_Factor was set to “high” for this case and “low” otherwise. AUC – area under the curve

TABLE 6
Predictions for a random patient not used for training models
[i] Each row contains predicted values under the assumption that this patient would have been in a specified row name. Predictions are given according to linear regression, partition tree and artificial neural networks. For full information according to training and simulation, please refer to Supplementary Material. Change of MAP represents the predicted change from baseline MAP to median MAP during the procedure.MAP – mean arterial pressure, TIVA – total intravenous anaesthesia
DISCUSSION
TIVA provided the shortest time to ambulation but was associated with more intraoperative hypotension and higher costs. Both SPA methods are cost-effective, but hypotension may occur in the recovery room. However, this is less common when prilocaine is used. Under clinical conditions, this drug allows for a similar ambulation time as TIVA. Therefore, we recommend using SPA with prilocaine in this setting, followed by TIVA and bupivacaine.
Previously, Flaishon et al. [13] conducted a study involving patients with prostate cancer undergoing brachytherapy. Their findings indicated that TIVA with propofol and fentanyl as a bolus allows patients to ambulate earlier than SPA with either 2.5 mg or 5 mg of bupivacaine. Erhan et al. [8] obtained comparable outcomes in patients undergoing varicocele repair; they compared TIVA with remifentanil and propofol with SPA with the addition of low-dose bupivacaine and fentanyl. Danielli et al. [14] also found TIVA to be superior in outpatient gynaecological patients. Tyritzis et al. [15] examined postoperative pain after transurethral resection of the prostate (TUR-P) or bladder (TUR-B). However, none of these studies compared the short-acting prilocaine and TIVA.
Regarding our primary objective, TIVA provided the shortest time to ambulation, while SPA was associated with prolonged ambulation time. However, the clinical meaning of this finding is not clear. It is surprising that, despite the high number of non-cardiac surgical procedures performed annually worldwide, there is a paucity of studies on the time spent in the recovery room or other organisational or structural analyses after non-cardiac surgery. In the host institution of this study (Carl-Thiem-Klinikum Cottbus), a patient typically spends at least one hour, with a maximum of approximately two hours. It can be argued that prilocaine allows for virtually identical time to ambulation as TIVA. Conversely, bupivacaine seems to prolong the time to ambulation. Our cost analysis concurs with similar studies performed in different surgical settings [16, 17].
Our secondary analysis revealed other clinically relevant findings. Hypotension events in the recovery room are more common in the case of SPA and most common with bupivacaine. It may be of rele-vance in patients at high risk, as stabilising such patients may prove challenging. Conversely, TIVA appears to cause more profound hypotension by induction. It is also important to note that blood pressure remained within the clinically acceptable range for the majority of patients across all groups. With regard to other adverse events, there was little to no difference between the groups. This is not unexpected, given that severe complications in endourology are rare [18] and are not typically attributable to anaesthesia.
The results demonstrated that high levels of patient and surgeon satisfaction were achieved in all groups. This outcome was contrary to expectations in the TIVA group, given the assumption that patients would be more dissatisfied due to the increased incidence of postoperative pain. This finding is consistent with the study by Tyritzis et al. [15], but contradicts studies in other surgical fields [19, 20]. However, even if the VAS scores were higher, they were still very low, which would explain this phenomenon. Although our evaluation of surgeon satisfaction was simple, lack of differences between groups suggests similar viability. A similar approach was recently successfully applied by Shetabi et al. [21] to detect differences between sedation methods by double-J removal.
TIVA is associated with higher costs. However, if we deduct the cost of BIS monitoring, which is still under discussion to avoid awareness or delirium [22, 23] and not standard in all hospitals, only a non-statistically significant difference can be seen, and the difference drops to 28% (€18). Nevertheless, without neuromonitoring, side effects such as awareness or hypotension tend to be more common [22]. Furthermore, an additional analysis was conducted without including personal costs, which did not alter the overall results (Table 4). Both SPA groups exhibited comparable cost-effectiveness. In a recent study of patients undergoing lumbar spine surgery, the observed difference in the operating room was 19% and 10% overall [24]. However, it is important to note that Morris et al. [24] compared overall costs and not just anaesthesia-related costs, as was done in this study. The authors posit that if both anaesthesia techniques perform similarly, the question of costs becomes cli-nically important to the patient.
The pain relief provided by SPA seems advantageous, as both VAS scores in the recovery room and pain medication consumption are lower than in TIVA (Table 5). This effect concurs with studies in other clinical settings, such as obstetrics and orthopaedics [19, 25]. However, it should be noted that we did not routinely provide pain relief on emergence from anaesthesia, as this was not a common practice in the host institution.
The two SPA groups differed regarding injected volumes, with the bupivacaine group having a lower volume. Lower SPA volume is associated with lower block spread and shorter block time [26, 27]. This once more demonstrates the superiority of prilocaine over bupivacaine, as it allows for a higher block without prolonging ambulation.
However, it is possible that more than one answer to our question may be deemed correct, as none of the three tested solutions met all the predefined criteria.
The problem of choosing an anaesthetic form is complex and cannot be solved with a single study or even a full battery of such experiments, as it will not address all the local problems. The organisation of anaesthesia can vary widely between hospitals. It is paramount, for example, if a hospital uses induction rooms. In such a case, the next patient receives anaesthesia concurrently with the emergence of the patient treated before them. Consequently, the advantage of using short-acting drugs is reinforced, and the time from induction to the end of the surgery tends to be shorter [28]. Conversely, the use of more cost-effective, longer-acting drugs or types of anaesthesia, such as SPA with bupivacaine, may be advantageous in hospitals without them. By facilitating rapid recovery, TIVA appears to be an optimal choice for urgent procedures in institutions lacking 24-hour recovery rooms. An exhaustive list of potential discrepancies is unfeasible to produce if we attempt to address these issues globally, and studies addressing them are regrettably scarce.
We addressed this problem by creating models using common ML algorithms. Similar models have been recently constructed for intraoperative hypotension by Kendale et al. using retrospective data. ML has been demonstrated to be beneficial for both pre-anaesthesia evaluation and intraoperative hypoxaemia [29-31]. ML has also been employed in critical care research, with encouraging outcomes that have surpassed every existing clinical tool [32, 33]. Nevertheless, even the most effective models reflect only data used to train them, limiting their widespread applicability. Consequently, we propose an alternative, innovative approach. Rather than focusing on identifying a single optimal model, future studies should aim to provide guidance on the optimal methodology for local model training. Local training offers several advantages, including the ability to avoid the sharing of sensitive patient data over the Internet. Ideally, it would provide clinicians with an accessible tool for the automated training of models. Should the effectiveness of farseer be demonstrated in this context, it will have significant clinical applications, as it will permit the selection of anaesthesia that is tailored to the specific needs of individual patients. To the best of our knowledge, no such tool has previously been designed for use in our field.
LIMITATIONS
It must be acknowledged that the present study is subject to several limitations. It was not possible to blind the study between SPA and TIVA, due to the inherent differences in the injection volumes administered in the SPA groups. This reflects clinical practice at the host institution, which the study was bound to closely follow. Secondly, it should be noted that the procedure times and costs presented here are specific to the host institution and therefore not generally applicable. In particular, cost analysis is highly susceptible to local conditions. This is because personnel, drug and equipment costs are subject to significant fluctuations and tend to evolve over time.
Thirdly, the patients in our cohort were healthier than the average endourology patients at the host hospital, which undoubtedly influenced the frequency of adverse events, such as hypotension. Furthermore, our study lacked sufficient statistical power to fully assess patient safety.
Fourthly, our study might have lacked sufficient power to assess all of the secondary outcomes. In particular, the measurement of surgeons’ satisfaction was based on one question only. Further studies on assessing it are needed.
Fifthly, the open-label design introduces bias, affecting the objectivity of outcome assessments. Participants and investigators know the treatment being administered, which can influence subjective outcomes such as patient and surgeon satisfaction scores.
Finally, with regard to ML models, our study lacks sufficient statistical power to enable the construction of accurate models, rendering them unsuitable for clinical decision-making.
CONCLUSIONS
In the context of endourological surgery with a planned duration of less than 60 minutes, it can be concluded that the shortest time to ambulation is achieved with TIVA. At the same time, SPA with hyperbaric prilocaine (60 mg) provides the closest approximation to optimal anaesthesia, but hyperbaric bupivacaine provides little benefit. However, the ML models developed in this study are not yet sufficiently accurate for clinical use. Consequently, we have developed a user-friendly R package to facilitate further improvements.