Fuzzy Detection of Fetal Distress for Antenatal Monitoring in Pregnancy with Fetal Growth Restriction and Normal

Monitoring of fetal cardiac activity is a well-known approach to the assessment of fetal health. The fetal heart rate can be measured using conventional cardiotocography (CTG). However, this method does not provide the beat-to-beat variability of the fetal heart rate because of the averaging nature of the autocorrelation function that is used to estimate the heart rate from a set of heart beats enclosed in the autocorrelation function window. Therefore, CTG presents important limitations for fetal arrhythmia diagnosis. CTG has a high rate of false positives and poor interand intra-observer reliability, such that fetal status and the perinatal outcome cannot be predicted reliably. Non-invasive fetal electrocardiography (NI-FECG) is a promising low-cost and non-invasive continuous fetal monitoring alternative. However, there is little that has been published to date on the clinical usability of NI-FECG. The chapter will include data on the accurate diagnosing of fetal distress based on heart rate variability (HRV). A fuzzy logic inference system was designed based on a set of fetal descriptors selected from the HRV responses, as evident descriptors of fetal well-being, to increase the sensitivity and specificity of detection. This approach is found to be rather prospective for the subsequent clinical implementation.


Introduction
Electronic fetal monitoring is an important part of the prenatal surveillance system that contributes to the best perinatal outcome. Its objective is the correct evaluation of fetal well-being.
However, the lack of precision of several methods that monitor the fetal well-being is well known [1].
Cardiotocography (CTG) methods have been standard, despite the lack of evidence that it reduces the adverse sequelae of neurodevelopment, including neonatal hypoxic-ischemic encephalopathy and cerebral palsy. This method has a high rate of false positives, and poor inter-and intraobserver reliability [2][3][4], such that fetal status and the perinatal outcome cannot be predicted reliably.
CTG is a widely available method for fetal development research, based on cardiac rhythm reactivity to fetal intrauterine motor activity in the prenatal period. Doppler ultrasound is the most obvious technological approach for monitoring fetal well-being. However CTG-based techniques require prolonged ultrasonic monitoring.
CTG demonstrates the response of the sinus node to the continuous interaction of the sympathetic and parasympathetic tones of the autonomic nervous system [5,6]. Autonomic control of fetal cardiac rhythm could be investigated by fetal heart rate variability (HRV). HRV captures the impact of central and peripheral circuits on regulation in hemodynamics [7]. The recording of primary bioelectrical processes in the sinus node can be assumed to be a more valuable technique than the mechanical detection of cardiac cycles used in CTG [1].
The fetal HRV parameters exhibit a wide range, even under normal conditions. The peculiarities of the fetal neurobehavioral response in the active and sleepy periods may complicate the interpretation of the conventional CTG tracing, and increase the level of cesarean interventions [8][9][10].
The objective of this study is the design of a fuzzy inference system based on a set of fetal descriptors, selected from the CTG and HRV responses, as evident markers of fetal well-being, to increase the sensitivity and specificity in evaluation of fetal distress.

Analysis and selection of descriptors
For the development of this study, records of 49 pregnant women were used. These were taken in the Department of Maternal and Fetal Medicine of Kharkiv municipal perinatal center. These records were divided into four groups: Group I composed of healthy pregnant women without loss of fetal well-being, group II of healthy pregnant women with loss of fetal wellbeing, group III of pregnant women of high-risk type III without loss of fetal well-being, and group IV of pregnant women of high-risk type III with loss of fetal well-being. NI-FECG tracing was obtained from the maternal abdominal wall using the Cardiolab Babycard equipment (Scientific and research center "KhAI Medica," Ukraine) [1,11,12]. The sampling rate was 1000 Hz. For all reported cases, the study protocol was approved by the Bioethics Committee of the Kharkiv Medical Academy of Postgraduate Education (registration number 0105 U002865). For training purposes of fuzzy inference system, the 49 records were divided into windows of 2 minutes to obtain 296 datasets of HRV and CTG parameters.
In order to select the best descriptors to design the fetal well-being inference system, an observation was made using ROC curves and Spearman correlation of the different fetal HRV and CTG parameters used in [12] and shown as the best correlated with Apgar Score 1. These parameters are shown in Table 1.
The specificity (Sp) and the sensitivity (Se) of the parameters concerning the fetal well-being were obtained from the ROC analysis. Sp and Se are given by Eqs. (1) and (2), respectively: where VN are the true negatives and FP are the false positives.
where VP are the true positives and FN corresponds to the false negatives. Spearman's correlation (r) between bio-signal parameters and well-being fetus state is given by: where d i is the ranges of values for i-parameter and the clinical diagnosis.  Table 2 shows the results of the sensitivity, specificity, and Spearman's correlation for HRV parameters which are also shown in Figure 3. SDNN, which measures the general variability of the neurovegetative system, showed a high Sp = 1 and a Spearman's correlation of À0.6352, The Spearman's correlation for SI and AMo are, respectively, 0.8585 and 0.7243, which is consistent since SI and AMo are independent of the steady state of the fetus and can be considered evident markers of fetal well-being [12].
In the same way in Table 3 are shown AUC, Se, Sp, and r for CTG parameters, these are shown also in Figure 4. As can be seen, the highest values were obtained for: STV with a Se = 0.9765, Sp = 1, and r-Spearman = À0.8271. LTV with a Se = 0.9882, Sp = 1, and r-Spearman = À0.8579.  Table 2. AUC, sensitivity, specificity, and Spearman's correlation of fetal HRV parameters. Non-Invasive Diagnostic Methods -Image Processing 14 The accelerations (ACC) with Se = 0.9882, Sp = 0.9882, and r-Spearman = À0.8826. LOWVAR with a Se = 0.9765, Sp = 1, and r-Spearman = 0.9218. Although HIGHVAR shows a high Se = 1, its Sp is low of 0.6706. The evaluation of short-term variations (STV) and long-term variations (LTV) allow that can be used as markers of fetal compromise.

Fuzzy inference system design
The inference system of the fetal well-being state was designed with fuzzy logic, Mamdani-type, 4 inputs (SI, AMo, STV, and LTV), 1 output (status of fetal well-being), and 16 fuzzy rules. The block diagram is shown in Figure 5. The fuzzy logic design allows us to take advantage of the linguistic interpretation capacity in complex problems, when there is no simple solution model or a precise mathematical model, such as the detection of loss of fetal well-being. The ranges of selected descriptors are shown in Table 4, and were used as the basis for the design of the fuzzy membership functions.
The input variables for fuzzy inference system are SI and AMo for HRV and STV and LTV for CTG. Figure 6 shows the input membership functions for these variables.

Non-Invasive Diagnostic Methods -Image Processing
The fuzzy output is shown in Figure 7, and this is defined by two trapezoidal membership functions, representing normal (N) or distress (D) fetal status, and by a triangular function in which the diagnosis is indeterminate by fuzzy system. The "Normal" output is in the range from 0 to 0.4; for the output "Distress," the rank is of 0.6 to 1.0; and if the output is between 0.4 and 0.6, it is classified as "indeterminate." The fuzzy knowledge base is shown in    of the fuzzy sets in the four input descriptors belongs to "Normal" set. On the other hand, the output will be "distress" if the membership in at least one variable of HRV and CTG belong to the input set related to fetal distress. Fuzzy inference can be indeterminate if membership of fuzzy sets in three inputs belongs to sets related to normal fetal status. The "Normal" output is in the range of 0-0.4; "Distress" output range is from 0.6 to 1.0, and the output range from 0.4 to 0.6 will be classified as "Indeterminate." The fuzzy rules can be written as: # Rule 1. If SI low and AMo low and LTV fast and STV fast, then there is normal fetal well-being.

IF SI↓ AND AMo↓ AND LTV↑ AND STV↑ THEN NORMAL.
# Rule 2. If SI low and AMo low and LTV fast and STV slow, then there is unclear diagnosis.

IF SI↓ AND AMo↓ AND LTV↑ AND STV↓ THEN UNDETERMINATED.
# Rule 3. If SI low and AMo low and LTV slow and STV fast, then there is unclear diagnosis.

IF SI↓ AND AMo↓ AND LTV↓ AND STV↑ THEN UNDETERMINATED.
# Rule 4. If SI low and AMo low and LTV slow and STV slow, then there is unclear diagnosis.

Results
The results of the fuzzy diagnosis for 188 datasets are shown in Figure 8. Two well-defined clusters can be observed, corresponding to those who were clinically diagnosed as healthy pregnancies (+) and those who presented loss of fetal well-being (o). Can be observed that a fuzzy output from a high-risk pregnancy record with fetal distress was incorrectly evaluated by fuzzy system, fuzzy output of 0.183 classifies it as normal pregnancy. Table 6 shows 6 of the 49 records, the values for their descriptors, the fuzzy output, and the clinical diagnosis. The records N16, N6, FGR6, FGR29, N27 are well evaluated by the fuzzy inference system, but the record FGR20, which corresponds to a fetal growth restricted pregnancy with fetal distress, is classified by fuzzy system as normal pregnancy. The ROC curve and confusion matrix for the 188 cases evaluated are shown in Figure 9.
Of the 188 records, 84 with fetal distress were correctly evaluated (true positives) and only one was diagnosed as normal (false negative). On the other hand, the 103 normal cases were   Table 6. SI, AMo, LTV, and STV values for fuzzy input descriptors, fuzzy assessment, and clinic diagnosis.
Non-Invasive Diagnostic Methods -Image Processing diagnosed correctly (true negatives) by the fuzzy system. The global sensitivity was 0.9882 and global specificity was 1.
Finally, fuzzy inference system was evaluated with 21 new records of 30 minutes, classified as distress: D1-D3, and normal pregnancy: N1-N18. Each record was sampled at 2-minute interval. Figure 10 shows the fuzzy evaluation of three records of patients with emergency   pregnancy. D1 and D2 were classified with fetal distress correctly, but D3 is shown with a normal fetal well-being state. Figure 11 shows the fuzzy inference of 18 patients with normal pregnancy. Records N2-N4, N6-N16, and N18 show a normal fetal well-being during the 30-minute recording. The record N1 shows an indeterminate state, except for periods of 3-5 and 8-10 minutes, where the assessment of fetal well-being is normal. The record N5 was classified by the fuzzy system as indeterminate. N17 shows fetal distress from minutes 3 to 9, between minutes 15 and 21 the fetal state changes to normal, returning to distress after minute 27.

Conclusions
A combination of fetal HRV and CTG descriptors was proposed for discrimination between fetuses with loss of fetal well-being and normal fetuses, both in pregnancies with intrauterine growth restriction and healthy pregnancies.
The feasibility of the selected descriptors, SI, AMo, STV, and LTV was evaluated by sensitivity, specificity, and Spearman's correlation analysis, so that these parameters can be considered as evident markers of fetal well-being status in the case of FGR.
Since SI and AMo are relevant to the sympathetic part of the autonomic regulation, the opinion on the involvement of the sympathetic mechanisms in fetal distress is supported [1]. The predictive value of the parasympathetic regulation variables was lower. The growing activity of this division of the autonomic function is a marker of fetal neurological maturation [5]. The relation found between maternal and fetal HRV parameters was a sign of fetal and maternal Non-Invasive Diagnostic Methods -Image Processing coupling in healthy pregnancy. Maternal respiratory sinus arrhythmia was speculated as a reason of this regularity. It was disturbed in preeclampsia [11]. Fetal growth is known to be impacted by maternal organism [6,13]. The investigation of the possible relations between maternal and fetal HRV and its fractal components will create a novel concept of the management of women with growth-restricted fetuses.
Formerly, the most sensitive and specific for fetal distress T/QRS ratio obtained from fetal noninvasive ECG tracing was found [1,12]. Since peaks and intervals are detectable on fetalaveraged PQRST complex, the subsequent investigation of their clinical significance is of great prospect. But the study population of the abovementioned research was suffered from preeclampsia. Thus, preeclampsia could change fetal cardiac conductivity. But will T/QRS ratio be of use in diagnosing fetal distress among all pregnant women is still a question?
The main criterion of fetal well-being is a reactivity to its motile activity by accelerating the heart rate during nonstress test [2,3]. The obtained results could make it possible to think that SI and AMo will become an alternative to the Dawes-Redman criteria. The assessment of shortterm variations (STV) and long-term variations (LTV) was found to be of use in diagnosing fetal compromise. These variables used in CTG monitors are known as the most evident markers of fetal distress [4,9]. But the duration of the recording should be not less than 1 hour or, at least, 30 minutes. This time interval is known to be associated with better sleep/awake fetal status ratio [2,4]. Therefore, the application of the proposed fetal HRV variables will help to use fetal noninvasive ECG tracing of the only 10 minutes long. It will be more convenient in clinical practice. Another advantage is the possibility to support or neglect fetal distress in case of negative (areactive) or false-negative nonstress test.
The hypothesis of the intrauterine programming of the diseases determines that any abnormalities during fetal life will have a subsequent clinical manifestation afterward. The cardiac signals proceeding is a convenient approach to the assessment of fetal autonomic maturation [6,13]. Fetal HRV variables are disturbed in growth-restricted fetuses. Therefore, the investigation of fetal neurobehavioral response in case of intrauterine growth restriction is a possible way for the fetal well-being screening. But fetal growth restriction is not always associated with fetal distress and still stimulating obstetrical aggression in its projections on the term and the mode of delivery. That is why the outcome of our research in future is an advanced protocol of management of pregnant women with fetal growth restriction.
The findings of this work are based on fetal noninvasive ECG investigation. This method is still a challenge for the clinician [9]. The main problem is a low signal-to-noise ratio [1]. But fetal noninvasive ECG could be used for fetal Holter monitoring. The possibility for the creation of the system for fetal wireless distant monitoring will contribute to the better diagnosing of fetal compromise and cardiac arrhythmias.
HRV and CTG proposed descriptors can be used in an assessment system, for discrimination or prediction between fetuses with loss of fetal well-being and normal fetuses, both in pregnancies with intrauterine growth restriction and pregnancies of healthy fetuses.
Finally, a system based on fuzzy logic was designed with these descriptors in order to obtain an evaluation of the fetal well-being status. Only one false negative was obtained in the diagnosis using 188 data, which represents an accuracy of 98.8% in fetal distress prediction, and 100% in healthy pregnancy.