Management of atrial fibrillation
Atrial fibrillation (AF) is the most common tachyarrhythmia that requires treatment and presents an almost ubiquitous clinical problem for general practitioners and cardiologists. (1) Electrophysiologically, AF occurs due to the circular movement of electrical impulse at several sites in the atria, but, unlike the classic reentry phenomenon, the impulses move irregularly and unequally and depolarize the atria, subsequently circulating on the myofibrils of the atria, so the electrical activity of the atria is completely disorganized and not accompanied by contraction of the atrium. Intracardial electrophysiological examination clearly indicates the existence of altered tissue in the atria, i.e. of a pathoanatomic substrate, which initiates and partially maintains AF. (1) The classification is made according to ventricular response on an electrocardiogram. (2) If the ventricular response frequency is 60-100 per minute, AF or absolute arrhythmia is diagnosed; a frequency is below 60 per minute is diagnosed as absolute bradyarrhythmia; ventricular frequency over 100 per minute is diagnosed as absolute tachyarrhythmia; and AF with complete heart block is diagnosed in case of QRS complexes with a slow rate and regular interval. (2, 3) There are several types of AF based on the presentation, duration, and spontaneous termination of an AF episode: paroxysmal, persistent, long-standing persistent, and permanent AF. (3)
Incidence of AF is 0.4% in adults up to 60 years of age, in 2.0-5.0% in people who are older than 60 years, and 12.0% in patients over 75 years. It is more likely to occur in men. (3, 4) About 4% of cardiac patients and about 40% of those with congestive heart failure have AF. (4)
Lack of atrial contraction and an altered and dilated left ventricle result in thrombus formation. Treatment of AF is primarily based on elimination of symptoms or achievement of sinus rhythm in persistent AF or regulation of the ventricular frequency in permanent AF, as well as the prevention of thromboembolic diseases. (2, 3) In permanent therapy, in addition to antiarrhythmic drugs, anticoagulant drugs are the basis of therapy due to the prevention of thromboembolic incidents. (3, 4)
The most commonly used oral anticoagulants are coumarin derivatives, of which warfarin is the most commonly used. (5) They (warfarin, ethylbiscumacetate, acenocoumarol, phenprocoumon) differ in reliability, pharmacological characteristics (degree and extent of absorption) and duration of effect. (5, 6) They bind to albumin, metabolize with hydroxylation in the liver, and are excreted in the urine. (6) Oral anticoagulant drugs only act in vivo and have no effect on clotting if are added to blood in vitro. (5, 6) Thanks to their structural similarity with vitamin K, oral anticoagulants competitively inhibit the enzymatic reduction of vitamin K to its active hydroquinone form. (7) The warfarin effect is monitored by measuring prothrombin time (PT), the values of which are expressed as the International Normalized Ratio (INR). Various diseases, and also the use of many drugs, can potentiate the effect of warfarin, thus increasing the risk of hemorrhages. (7)
Liver disease can influence the synthesis of coagulation factors. Furthermore, there are conditions where elevated levels of metabolic processes (and therefore degradation of coagulation factors), such as high temperature or thyrotoxicosis, can also increase the effect of anticoagulant drugs. Many drugs can potentially intensify the effects of warfarin. (6-8) This includes agents that inhibit drug metabolism in the liver, for example: cimetidine, imipramine, cotrimoxazole, chloramphenicol, ciprofloxacin, metronidazole, amiodarone, and various drugs from the azole group of antimycotics. (8) Nonsteroidal anti-inflammatory drugs (NSAIDs) and some antibiotics (moxalactam and carbenicillin) also alter the platelet function. (7, 8) Aspirin increases the risk of bleeding if given to patients who are on warfarin therapy, although this combination can be safely used if carefully monitored. (7) Drugs that displace the warfarin from the binding site in plasma albumin, such as some of the NSAIDs or chloral hydrate, lead to a transitory increase in plasma-free warfarin concentrations. (7, 8) Drugs that inhibit vitamin K reduction, such as cephalosporins, may affect the effects of warfarin. (8)
All patients with AF and a CHA2DS2VASc score (used to assess the risk of thromboembolic incident) of 1 or over must receive oral anticoagulant therapy if there are no contraindications. (2, 9) However, the use of anticoagulants requires a multidisciplinary approach and assessment of the bleeding risk as a consequence of anticoagulant therapy. The risk assessment itself requires quality anamnestic data and detailed diagnostic treatment of the patient. Five new oral anticoagulants (NOAC) are currently used in clinical practice (for prevention of stroke in patients with AF or for the prevention of deep vein thrombosis). These include the direct thrombin inhibitor, dabigatran, and factor Xa inhibitors rivaroxaban, betriaxaban, apixaban, and edoxaban. The benefits of NOAC include predictable pharmacokinetics. (9)
There is no need for therapeutic monitoring and dose adjustments, as in the case of warfarin derivatives. Clinical trials on the effects of NOAC proved them to be as effective as warfarin in the prevention of stroke or systemic embolism. (3, 9) Consequently, the latest guidelines of the European Society of Cardiology on AF recommended the use of NOAC in new patients. Potential deficiencies of NOAC include the risk of bleeding that can be increased in patients over 75 years of age, increased gastrointestinal hemorrhage with high doses of dabigatran, increased dabigatran dyspepsia, lack of routine laboratory tests to reliably measure the anticoagulant effect, and lack of antidotes used in everyday clinical practice. (3, 9) No direct comparisons of NOACs in randomized controlled trials were conducted, and the choice of NOAC depends on the patient’s co-morbidity but also on their clinical status. (9)
Although the use of NOAC is recommended, the use of vitamin K antagonists or warfarin derivatives is not disallowed. The therapeutic modality of patients with AF requires an assessment of the risk of bleeding. Bleeding is potentially the most dangerous side-effect of anticoagulant drugs (especially in the intestine or brain). (3) Depending on the urgency of the situation, the treatment of the resulting hemorrhage ranges from the interruption of the use of warfarin (in case of minor bleeding) to administration of vitamin K, fresh plasma, or coagulation factor concentrates (for life-threatening bleedings). (8)
Several bleeding risk scores have been developed for estimating bleeding risk in patients with AF. These include: HAS-BLED (hypertension, abnormal renal/liver function, stroke, bleeding history or predisposition, labile INR, elderly (>65 years), drugs/alcohol concomitantly), ORBIT (older age, reduced hemoglobin/ hematocrit/anemia, bleeding history, insufficient kidney function, treatment with anti-platelets), ABC (age, biomarkers, clinical history), ATRIA (anemia, severe renal disease, age ≥75 years, previous hemorrhage, and diagnosed hypertension), and HEMORR(2)HAGES (Hepatic or Renal Disease, Ethanol Abuse, Malignancy, Older Age, Reduced Platelet Count or Function, Re-Bleeding, Hypertension, Anemia, Genetic Factors, Excessive Fall Risk, and Stroke). (3, 10-12) The use of oral anticoagulants is still the standard in stroke prevention in AF but should be balanced against associated bleeding risk. (10, 12)
The clinical decision support system
Information technologies can have a big impact on medical practice in terms of developing decision support systems, which include all types of systems whose primary function is to take the information that can be used in the decision-making process. These are interactive, computer-based systems based on data and models that help solve problems and make decisions. Decision-making support systems in medicine are tools that contain established clinical knowledge and patient-oriented information to improve patient care. Their purpose is to assist in interaction between the patient and the physician from the moment of initial consultation, throughout the diagnostic process, and in the follow-up period. Time constraints caused by constant evolution of the standard of care contribute to the number of medical mistakes and delays in clinical decisions. (13, 14)
The use of decision support systems is widespread in all aspects of professional activity, and such systems that support decision-making for medical and healthcare purpose are called clinical decision support systems (CDSSs). (13) Due to the availability of hardware and availability of software in form of Mobile Clinical Decision Support Systems, their use in modern medicine is becoming more and more frequent. These systems are used on mobile devices and can be obtained via the official app store for the particular platform. Modern mobile devices can perform complex calculations and are available at all times.
CDSSs vary by type and complexity. The systems can be passive (the user explicitly sends the support request), semi-active (observation systems that are automatically executed but present information only at user request), and active (automatically activated, present information without waiting on request, and sometimes make a decision without interaction with a healthcare professional). (14) These systems are implemented to support healthcare professionals within a broad spectrum of specialization and tailored to different levels of expert knowledge.
The simplest example of the CDSS checks the input data entered by the healthcare professional and checks for values within the reference range. The end result is a certain form of notice or reminder. CDSSs of medium complexity include prognostic calculators and automated guidelines in clinical practice. Prognostic calculators are used for automatic forecasting, usually based on clinical scoring systems. Complex CDSSs use artificial intelligence, data mining, or statistical methods for classifying or predicting a disease or condition of a patient. (14)
These methods automatically identify the key features that are important for clinical classification or anticipation of problems and use mathematical tools to determine the way these characteristics should be combined with the goal of creating output that represents classification or prediction.
CDSS are classified into six categories: medication dosing support, order facilitators, point-of-care alerts/reminders, relevant information display, expert systems, and workflow support systems. (15) CDSSs for atrial fibrillation diagnosis and treatment can be helpful in establishing the diagnosis (software for electrocardiogram interpretation, or 24 or 48 hour ECG Holter monitoring interpretation), mapping the location, in selecting the therapeutic modality, and in the monitoring of the patient’s therapy. A benefit of these software systems is the availability of a variety of risk assessment tools, which are of great importance in the therapeutic activities of physicians.
The aim of article was to describe the development of software that will enable clinicians to perform a quick assessment of bleeding risk in patients with AF in order to optimize anticoagulation therapy in patients with AF (especially in patients who use vitamin K antagonists in therapy).
Development of the software
The software was developed in the form of a web application. Responsive design of the interface was key to optimal user interaction, providing seamless control of every step of the process regardless of the type of device used, whether a laptop or a smartphone. The backend of the application was developed in Python. More specifically, a web framework named Flask was utilized. It is considered to be a good choice for rapid prototyping and development and deployment of small- to medium-sized applications. To deliver optimal user experience across different devices, the front-end was built using the Bootstrap open source library, currently in version 4. The application was deployed on the Heroku platform and can be accessed via the following link: https://bleeding-risc-calculator.herokuapp.com/.
The process is separated into three steps. The first step prompts the user to select the type of score they want calculated (Figure 1).
The following step includes entering anamnestic data, laboratory findings, symptoms, and comorbidities (Figure 2).
The final screen displays the calculated score, which assists to user in determining the course of the treatment (Figure 3).
Discussion
CDSSs are common in medical practice, and in essence represent a computer-aided diagnosis systems, which assist physicians in establishing the diagnosis for a patient or directly participate in the process of treatment or in the follow-up period. (14) Their purpose is actually to help physicians, not to replace them. Studies have shown that CDSSs have the potential to improve guideline adherence. (10, 16-20) Sheibani et al. suggested that CDSSs can improve adherence to the anticoagulation guideines for the treatment of AF. (21) The use of CDSS tools improves the quality of decision-making for specific issues. (22) Assessment of optimal therapy in the treatment of AF, including risk of bleeding as the most frequent side-effect of therapy, especially in patients who are receiving vitamin K antagonists, requires a multidisciplinary approach to the patient. In patients with INR in therapeutic ranges, incidence of hemorrhagic complications is less than 5%. Taking into account all parameters that may affect the pharmacokinetics and pharmacodynamics, the stability of the drug is of paramount importance, which is sometimes underestimated in treatment choice. HAS-BLED score has been shown to exceed the HEMORR(2)HAGES and less practical ATRIA scores in predicting clinically significant bleeding in everyday practice. (11) The five-element ORBIT bleeding risk score has a better ability to predict major bleeding in AF patients when compared with HAS-BLED and ATRIA risk scores. (23, 24) The ABC-stroke score was found to be better than the other risk scores and may provide improved decision support in AF. (25) The fact that all five of the above-mentioned scores have publications that support their use makes it clear that choosing between them will be an individual decision by the physician, with special caution being required in specific populations. Selecting a score for assessing the risk of bleeding in clinical conditions is often an individual decision and depends on the practice of the physicians themselves. Smart computer systems are used throughout the process of assisting AF patients and are involved in diagnosis of AF, treatment of AF, and monitoring/follow-up. (24) Our software solution should assist the physician in monitoring/follow-up and should initially be a great help to the physician in the choosing the therapeutic modality itself, which would prevent AF complications. Understanding the pathophysiology, improving risk stratification, and personalizing treatment has outstanding significance in the treatment of AF. (26)
The use of software that is easily accessible and often made by non-medical professionals requires clear information regarding references and data on the basis of which the software was made (this is clearly noted in this software). The clinical validation of such software must be something that is in the interest of the software engineer, which makes their product important, but also in the interest of the physician, who will consequently be confident in using this kind of software. The disadvantage of the software, besides the generational resistance towards its use, is that the choice of using a particular score depends on clinical experience of the physicians. It must also be considered that the choice of the score itself is not a solution and only facilitates the obtainment of a solution, in addition to of course being, in a subjective sense, a loss of authority through the use of information technology in clinical work.
Although the benefits and potential of CDSSs are quite large, their use is still seen as dubious, especially among older generations. The fact is that CDSS must be based on correct, clinically proven information. CDSSs can only be as effective as the strength of the underlying evidence base, meaning that up-to-date information from the best reference databases must be used. (15)
Conclusion
This software represents a CDSS, which enables faster and easier assessment of bleeding risk in patients with AF, leading to a better therapeutic modality. Easy access to this type of CDSS is of great help to physicians in everyday practice and allows them a higher quality decision-making regarding the therapeutic modality of the patient. The responsive design and delivery in the form of a web application makes the software easily accessible on a wide range of devices.