Skip to main content

Stochastic Petri net model describing the relationship between reported maternal and congenital syphilis cases in Brazil

A Correction to this article was published on 25 March 2022

This article has been updated



Syphilis is a sexually transmitted disease (STD) caused by Treponema pallidum subspecies pallidum. In 2016, it was declared an epidemic in Brazil due to its high morbidity and mortality rates, mainly in cases of maternal syphilis (MS) and congenital syphilis (CS) with unfavorable outcomes. This paper aimed to mathematically describe the relationship between MS and CS cases reported in Brazil over the interval from 2010 to 2020, considering the likelihood of diagnosis and effective and timely maternal treatment during prenatal care, thus supporting the decision-making and coordination of syphilis response efforts.


The model used in this paper was based on stochastic Petri net (SPN) theory. Three different regressions, including linear, polynomial, and logistic regression, were used to obtain the weights of an SPN model. To validate the model, we ran 100 independent simulations for each probability of an untreated MS case leading to CS case (PUMLC) and performed a statistical t-test to reinforce the results reported herein.


According to our analysis, the model for predicting congenital syphilis cases consistently achieved an average accuracy of 93% or more for all tested probabilities of an untreated MS case leading to CS case.


The SPN approach proved to be suitable for explaining the Notifiable Diseases Information System (SINAN) dataset using the range of 75–95% for the probability of an untreated MS case leading to a CS case (PUMLC). In addition, the model’s predictive power can help plan actions to fight against the disease.

Peer Review reports


Syphilis is a sexually transmitted disease whose etiologic agent, first identified in 1905, is the bacterium Treponema pallidum [1]. According to the World Health Organization (WHO), over 6 million new syphilis cases are reported each year [2]. The disease is mainly transmitted through unprotected sexual intercourse (acquired syphilis), although it can also be transmitted from mother to child during pregnancy (congenital syphilis) [3,4,5,6]. Exposure to syphilis in the intrauterine environment can culminate in severe implications with adverse pregnancy outcomes in more than 50% of cases, such as miscarriage, stillbirth, neonatal death, and early and late complications in live births [7, 8].

Congenital syphilis (CS) cases are strongly associated with inadequate prenatal care (PC). This mainly results from inadequate screening and inadequate or lack of treatment for the disease in pregnant women and their partners. Delayed detection of the condition in pregnant women plays a critical role in disease progression—the earlier a pregnant woman receives treatment in gestation, the greater the likelihood of the fetus not becoming infected. Untreated or inadequately treated pregnant women can transmit T. pallidum to their babies at any stage of pregnancy through the placenta or during childbirth [3,4,5,6]. Although simple and simultaneous treatment is available for the mother and fetus in PC; in 2016 alone, there were 661,000 estimated new cases of CS. CS is currently the second leading cause of preventable stillbirths worldwide [9, 10].

In Brazil, syphilis has been declared an epidemic due to its high morbidity and mortality rates, principally affecting pregnant women and newborns [11]. In a time series analysis, from 2013 to 2018, the number of acquired syphilis cases in Brazil surged by nearly 404.34%. In addition, maternal syphilis (MS) and congenital syphilis (CS) cases increased by 302.23% and 189.24%, respectively, in the same span [12, 13]. Such data suggest a worrisome vulnerability regarding maternal and child health in Brazil [14].

Preliminary epidemiological analyses have indicated that MS is more prevalent in women living under precarious socioeconomic conditions, consequently unveiling greater social and gender inequalities and women’s reproductive vulnerability, making it challenging to control syphilis in this population [15]. In this context, developing strategies to identify vulnerable populations and thus offer diagnostic tests and adequate treatment for pregnant women who test positive during PC and their sexual partners would likely break the cycle of CS transmission.

In an analysis of global data, the ratio of congenital to MS case notifications (RCMCN) was 75% in 2012 and 66% in 2016, while the RCMCN for the respective years in Brazil was 72% and 59%; that is, the reduction in the proportion of CS cases to MS cases worldwide and in Brazil stands out [16, 17]. However, when investigating the relationship between reported cases of MS and CS, it is important to emphasize that the reported cases do not necessarily represent the actual incidence of the disease in the population. Factors such as access to diagnosis and the integrity of the reported data are extremely relevant when representing the epidemiological context of the disease. However, notification-based analyses make it possible to adopt effective preventive interventions [18].

That being said, the present study aimed to mathematically describe the relationship between maternal and congenital syphilis case notifications in Brazil, considering the likelihood of diagnosis and adequate maternal treatment during the prenatal period using stochastic Petri nets (SPNs). This method allows for mathematical representation, in addition to enabling the verification of the properties and correctness of the system described from its analysis mechanisms [15].


The development of the present study consisted of the following five steps: (1) Data characterization, which described the data source and the corresponding period of the dataset; (2) Building an SPN framework, which explained the model construction process; (3) Analytical calculations of the probabilities associated with the transitions, which described the calculation process of the SPN transitions; (4) Regressions, which detailed the regression methods that were used for data analysis; and finally, (5) Simulation evaluation, which described the SPN simulation process. The following subsections detail what was accomplished in each step.

Data characterization

The data used for analysis were obtained from the Notifiable Diseases Information System (SINAN) [11], developed by the Brazilian Ministry of Health (MoH) [11, 19, 20]. Our database covers the span from 2010 to 2020 and comprises two datasets: the first refers to cases of syphilis in pregnant women, and the second refers to CS cases.

Of note, it was not possible to connect individual records in both datasets since all the information that could allow for this was removed in the anonymization process. However, we established a common temporal reference for both datasets to relate these two occurrences. For the CS case dataset, we used an annual aggregation considering a child’s date of birth rather than the date of notification. For MS cases, we used the recorded gestational period to estimate the date of the pregnancy outcome based on a 40-week gestation. Once a common date was established, we could compare the records of both datasets in the time domain. In addition, in the case of the CS dataset, we also used two attributes: the date of maternal diagnosis and the status of the treatment provided to the mother.

Although this information was found in the CS dataset, it referred to the information about the mothers. Regarding the time of diagnosis, the possible values for the field were diagnosis during PC, during childbirth, after childbirth, not included, or not reported. The other field regarded treatment, which assumed different values: adequate treatment, inadequate treatment, no treatment, and not reported. With these two attributes in the CS dataset, it was possible to establish three different groups:

  • CS cases whose mothers were not diagnosed during PC and had no opportunity for treatment;

  • CS cases whose mothers were diagnosed during PC and received adequate treatment;

  • CS cases whose mothers were also diagnosed during PC but did not receive adequate treatment.

Accordingly, Table 1 summarizes the SINAN data used in this paper, considering the cases of MS and the different groups of CS cases. Using the same assumptions, we were able to infer subsets of MS data to establish a cause-and-effect relationship. Then, from the number of MS cases in one year, we allotted two disjoint sets based on the date a pregnant woman was diagnosed, thus creating a new layer in our analysis. Finally, starting from the subset of MS cases where the diagnosis was made during PC, we created another layer based on the treatment received. From that, we established four subsets:

  • The subset of MS cases diagnosed during PC;

  • The complementary subset of MS cases without a diagnosis during PC;

  • The subset of MS cases where the diagnosis was made during PC and the treatment received was adequate;

  • The subset of MS cases where the diagnosis was made during PC and the treatment received was inadequate.

Table 1 Summary of the SINAN data used in this study, considering the reported MS cases and the different groups of reported CS cases

This logical structure used in the mother-to-child transmission flowchart is depicted in Fig. 1, and it was also used in the SPN modeling. The indications inside the parentheses are references to places in the stochastic Petri net framework, discussed in the following subsection.

Fig. 1
figure 1

Flowchart of the relationship between the reported cases of MS and CS considering maternal diagnosis and treatment

Building an SPN framework

The occurrence of CS cases seems to depend on MS and several other factors, making it very difficult to accurately predict. Hence, considering the (1) screening and (2) treatment of pregnant women during PC, it is possible to build a model describing the relationship between reported cases of maternal and congenital syphilis through graphic notation in stochastic Petri nets. These are suitable for presenting a formal description of dynamic behavior in a complex system.

Mathematically, a stochastic Petri net (SPN) [21,22,23] is defined as six-tuple \(SPN = \left\{ {P,T,F,M,\Lambda ,W} \right\}\), where:

  • \(P = \left\{ {p_{1} ,p_{2} ,p_{3} , ..., p_{m} } \right\}\) is a finite set of places;

  • \(T = \left\{ {t_{1} , t_{2} , t_{3,} , ..., t_{n} } \right\}\) is a finite set of transitions;

  • \(F \subseteq \left( {P \times T} \right) \cup \left( {T \times P} \right)\) is a set of arrows;

  • \(M:P \to N\) where \(m_{1} = M\left( {p_{i} } \right)\) is a marking whose ith component represents the number of tokens in the ith place;

  • \(\Lambda :T \to \left[ {0,1} \right]\) where \(\lambda_{i} = \Lambda \left( {t_{i} } \right), i = 1,2,3,...,n\) is a set of firing rates associated with the transitions,and finally,

  • \(W:F \to N\)* is a set of weights associated with the arrows.

Graphically, an SPN place is represented by a circle, a transition by a bar, and an arrow that joins a place to a transition or vice versa. Between a place \(p_{m}\) and \(p_{n}\), there is always an arrow-transition-arrow sequence. No arrow connects two places; neither does an arrow connect two transitions. A place is said to be an input place if it precedes any transition where an arrow originates, and likewise, it is considered an output place when it transitions where an arrow is intended.

Finally, a token represents the occurrence of an action that will be consumed by a transition and will remain in one place for a given range of interactions. A place can hold one or more tokens, and a transition will only be triggered when its input place contains the minimum number of tokens required [24]. The transition firing is atomic, i.e., tokens are removed from input places and put into output places with a single, indivisible operation. One of the advantages of Petri nets is their intuitive graphical representation, which is particularly helpful in the phases of the development of a biological system model and the simulation of the system’s behaviour [25, 26].

There are two complementary subparts in an SPN, namely, the static and the dynamic elements. First, the static sets relate to a net’s design: places, transitions, and arrows. Second, the dynamic elements include the tokens associated with each place, the firing rates associated with each transition, and finally, the weights of each arrow.

From what was discussed regarding Fig. 1, we had everything needed to design the framework of the SPN, as shown in Fig. 2. It is noteworthy that this graphical representation adds three more branches when compared to Fig. 1. This is because the number of tokens was constant, and therefore, the MS cases that did not lead to CS cases should be encompassed.

Fig. 2
figure 2

Graphical notation of the SPN considering the flowchart between MS and CS reported notifications

Once the structure was defined, it was necessary to establish the initial conditions for the SPN model. Thus, we needed to define \(M\), that is, the set of numbers of tokens associated with \(P\), where \(m_{0}\) starts as the number of MS cases in one year, and for the other elements from \(m_{1}\) to \(m_{10}\), the initial value was 0. For set \(W\), all weights were equal to 1. Set of places \(P\) where \(M:P \to N, m_{i} = M\left( {p_{i} } \right)\) are mapped in Table 2.

Table 2 Description of the places mapped on the stochastic Petri net (SPN)

Finally, the set of firing rates associated with the transitions \(\left( \Lambda \right)\) was calculated as shown in the following subsection. Therefore, the model had two inputs, the number of MS cases and the firing rate set \(\Lambda\), and one output, the number of CS cases in the same period. The set of transitions \(\Lambda\) is mapped in Table 3.

Table 3 Descriptions of the transitions mapped on the stochastic Petri net (SPN)

Analytical calculation of the probabilities associated with transitions

In this subsection, we used the static framework of the SPN and the mathematical notations previously specified. Observing the network structure made it possible to recognize that the transitions were organized in pairs, thus representing the binary occurrence of an event. Therefore, the sum of the probabilities of each pair was always equal to 1. In this way, we could describe only one probability for each pair, as they are complementary. Thus, firing rates with odd indices obey the equation:

$$\lambda_{i} = 1 - \lambda_{i - 1} ,\quad {\text{where}}\;i = \{ 1, 3, 5, 7, 9\}$$

Another significant aspect was that the \(\lambda_{4}\) and \(\lambda_{8}\) firing rates represented the likelihood of a mother transmitting the infection to her baby in situations where she had not received adequate treatment during prenatal care (PUMLC), so we have \(\lambda_{4} = \lambda_{8}\). Then, when we parameterized PUMLC, we could write \(\lambda_{0} , \lambda_{2} ,\) and \(\lambda_{6}\) as parametric functions of such a probability. The main focus of this subsection was on the calculations of \(\lambda_{0} , \lambda_{2} ,\) and \(\lambda_{6}\).

In position \(p_{5}\), each token \(m_{5}\) represented the number of CS cases whose mothers went undiagnosed during PC as a consequence of the number of mothers with syphilis who were not diagnosed in a timely manner. Thus, \(m_{5} = m_{2} *\lambda_{4}\). Since we had the number of cases of CS where mothers who were not diagnosed during prenatal care \(m_{5}\) coming from the dataset, and we assumed the value of \(\lambda_{4}\)—that is, the probability of an untreated MS case leading to a CS case (PUMLC)—we analytically inferred \(m_{2}\).

From the cases of syphilis during pregnancy, represented by \(m_{0}\) at position \(p_{0}\), we could infer \(m_{1}\) since \(m_{0} = m_{1} + m_{2}\). Specifically, we divided the number of MS cases according to whether or the diagnosis was made during prenatal care.

Since the values of \(m_{0}\) and \(m_{1}\) were known, we could determine \(\lambda_{0} = m_{1} /m_{0}\). Therefore, \(\lambda_{0}\) represents the probability of a case report of a woman with MS being diagnosed during PC.

Through the same logic, we started from \(m_{9}\); that is, the tokens in position \(p_{9}\) represented the number of CS cases whose mothers were diagnosed with syphilis during PC but had not received adequate treatment. Therefore, we could write that \(m_{9} = m_{4} *\lambda_{8}\), and in this way, \(m_{4} = m_{9} /\lambda_{8}\). As a result, we then calculated \(m_{3} = m_{1} - m_{4}\). Therefore, to calculate \(\lambda_{2}\), the rate of mothers with syphilis who received adequate treatment, we determined \(\lambda_{2} = m_{3} /m_{1}\).

The last rate we determined is \(\lambda_{6}\), which represented the likelihood of an MS case leading to a CS case in situations where the mothers received a diagnosis and treatment during PC. Finally, we determined \(\lambda_{6} = m_{7} /m_{3}\), which is from the dataset and represents the number of CS cases whose mothers received adequate treatment.

Regressions for the simulation

Once the definitions for obtaining the initial conditions had been established, it is relevant to note that these calculations depended on the available data aggregated yearly and the range of probability of an untreated MS case leading to a CS case.

Consequently, we found a set of initial conditions for each year and each PUMLC. Nonetheless, as we sought to calibrate the SPN in order for it to serve as a tool for analyzing and predicting future case scenarios, we tried to find the initial configurations that required the fewest possible input parameters. Thus, in this subsection, we employed regression techniques to understand the behavior of the probabilities (firing rates) over time and therefore predict them in the future. For this, we considered the span from 2010 to 2018 for model training and 2019 and 2020 for testing.

For the probability of an untreated MS case leading to CS case (PUMLC) we tested a range of 60–100%. However, when we assumed values for PUMLC below 75%, we found a break in the cause-effect relationship between \(m_{3}\) and \(m_{7}\). Thus, the data could not be explained by the probability of an untreated MS case leading to a CS case below 75% and above 97% using the proposed model. Consequently, we used the values in the range of \(\left[ {0.75, 0.95} \right]\) with variations of 5 percentage points. Therefore, in all experiments, we considered \(PUMLC = \left\{ {0.75, 0.8, 0.85, 0.9, 0.95} \right\}\).

Figure 3 depicts, as an example, the variation in \(\lambda_{0} , \lambda_{2} ,\) and \(\lambda_{6}\) over the years of the data used to train the model for \(PUMLC = \left\{ {0.75, 0.85, 0.95} \right\}\). Thus, we observed an upward trend for the probability that a mother reported to have syphilis may be diagnosed during PC (\(\lambda_{0}\)) for all investigated PUMLC values. From the group of women reported as diagnosed with syphilis during PC, the probability of receiving adequate treatment (\(\lambda_{2}\)) also revealed an increasing trend. However, the probability of a diagnosed and treated case of MS leading to CS (\(\lambda_{6}\)) showed a decreasing trend.

Fig. 3
figure 3

Parameterized probabilities of λ0, λ2 and λ6 in relation to a PUMLC = 80% over the years of data used to train the model. λ0 is the probability of a case of MS being diagnosed during PC, λ2 is the probability of a pregnant woman diagnosed during PC receiving adequate treatment and λ6 is the probability of a diagnosed and treated case of MS leading to CS

Simulation evaluation

The SPN model developed in this work was expected to determine the number of MS cases and the firing rates in a given interval used as input data. Using output data, it returned the number of CS cases. As seen before, the set of firing rates can be represented in its entirety by only four probabilities, namely, \(\lambda_{0} , \lambda_{2} ,\) and \(\lambda_{6}\) and the PUMLC, where all others are written as functions of these probabilities.

In the previous subsection, we obtained a set of regressions that allowed for the prediction of \(\lambda_{0} , \lambda_{2} ,\) and \(\lambda_{6}\) for the test years with the PUMLC as a parameter. Equally important is that when we parameterized the PUMLC value, there were four different regression techniques for each of the three probabilities calculated here. Thus, we obtained a total of 64 arrangements for each tested \(PUMLC = \left\{ {0.75, 0.8, 0.85, 0.9, 0.95} \right\}\). The analytical calculation, hence deterministic, was used for each of the 64 possible arrangements. The process of reproducing the results achieved in this paper was preserved.

To evaluate the output data, we used the mean absolute percentage error (MAPE) [27] as a performance metric to determine the best configuration of regression techniques to predict the number of CS cases across all years tested. To validate the stochastic characteristic of the SPN model, 100 independent experiments were performed with optimal initial settings. Thus, the T-test [28] was used to verify whether there was a statistically significant difference between the distribution of the SPN results and analytical calculation results.

The T-test assumes that the sample data have a normal distribution, so we used the Shapiro–Wilk test [29] with a significance level of \(0.05\) to verify the normality of the distributions of 100 independent experiments from the SPN simulations (Fig. 4).

Fig. 4
figure 4

Four different regressions for the probabilities of λ0, λ2 and λ6 when applying a PUMLC = 80%

Subsequently, we identified that all samples had p-values greater than \(0.05\), showing normal data. Then, the two-tailed T-test was applied with a significance level \(= 0.05\). The null hypothesis is rejected in this test if the p-value is less than \(0.05\). Such a hypothesis is that the mean of the distribution \(\mu_{0} = x\), where \(x\), in this particular case, denotes the value obtained through analytical calculation. The alternative hypothesis is that \(\mu_{0} \ne x\).


This section presents the results of (1) the evaluation of the regression arrangements, (2) the SPN simulations in different scenarios, and (3) the statistical tests used to compare the analytical and stochastic results developed in this paper.

Table 4 summarizes the best regression arrangements for estimating the probabilities for each PUMLC value observed. It is worth mentioning that the optimization metric chosen to determine the best arrangement was the mean absolute percentage error.

Table 4 Summary of the model evaluation using regression techniques

The accuracy for each year is also presented, as the numbers we found were consistently above 93%. In this context, the lowest MAPE of 1.18%—namely, the most successful result—occurred for a PUMLC of 80%. In this regard, the accuracy values for 2019 and 2020 were 97.69% and 99.95%, respectively, while to estimate the firing rates \(\lambda_{0} , \lambda_{2} ,\) and \(\lambda_{6}\), the best regression was the 3rd-degree polynomial (see Table 4 for more details). In contrast, the highest MAPE of 5.43%, was observed for a PUMLC of 85%, with the best arrangement of regressions among the 64 possible arrangements as follows: linear, logistic, 2nd degree polynomial and 3rd degree polynomial to estimate the values of \(\lambda_{0} , \lambda_{2} ,\) and \(\lambda_{6}\), respectively.

Since the data described in Table 4 were obtained analytically, producing deterministic results, it was essential to compare them with the distributions obtained through the SPN simulations. Thus, Table 4 presents the results of the t-test used for such a purpose.

In general, all p-values presented in Table 5 had a significance level greater than \(0.05\). Thus, we could not reject the null hypothesis and therefore concluded that there was no statistically significant difference between the predicted SPN values and the analytical results from calculating the number of CS cases. Consequently, Table 5 details the results that allowed us to deduce that SPNs are adequate for modeling the relationship between reported maternal and congenital syphilis cases from data available on SINAN.

Table 5 T-test results for the similarity between analytical congenital syphilis (CS) and the stochastic Petri net (SPN) predictions

To illustrate the performance of the SPN graphically, Figs. 5 and 6 show the histograms of the distributions of the predicted CS cases obtained by the simulations. In addition, the 95% confidence intervals, shown in green lines, and the analytical value for CS, in red lines, were plotted. Figure 5a shows the histogram with 100 independent experiments using the parameter \(PUMLC = 0.75\) for 2019. Figure 5d used \(PUMLC = 0.8\) but targeted 2020. As one can see, the analytical values were within the confidence interval for all scenarios achieved. These results corroborated the findings of the statistical tests shown in Table 5 and therefore validated the analysis presented in Table 4.

Fig. 5
figure 5

Distributions of predicted CS cases by the SPN when applying a PUMLC = {0.75, 0.80, 0.85}

Fig. 6
figure 6

Distributions of predicted CS cases by the SPN when applying a PUMLC = {0.90, 0.95}


In this study, it was possible to simulate the CS cases from the number of cases of MS with a percentage accuracy of at least 98.81%. Accordingly, this model achieved a favorable result when predicting real-world data using the diagnosis rates and adequate maternal treatment during PC as the parameters. The result of the test set of our model, using the Poly 3 regression functions, indicated an accuracy of 97.69% in 2019 and 99.95% in 2020 (see Table 4). CS is a global health burden that has drawn the attention of the World Health Organization (WHO). This United Nations agency presented a guide that included integrated processes and criteria for validation of the elimination of mother-to-child transmission (EMTCT) of HIV and syphilis [30].

Furthermore, several countries have adopted measures to eliminate MTCT, including Brazil [10]. The countries that succeeded in the EMTCT developed strategies to ensure universal and equitable antenatal care services, including HIV and syphilis screening tests and free-of-charge medical care for pregnant women [31, 32]. Brazil has followed similar strategies. Nevertheless, coordinating response efforts is an obstacle for the MoH since the country has continental dimensions, a large population, and enormous regional inequalities.

This has hampered efforts to reach the EMTCT. To succeed in the EMTCT, Brazilian policy-makers and stakeholders must develop strategies according to the characteristics of each region [33, 34].

In 2018, the Brazilian Federal Government launched a national strategy entitled the”Syphilis No!” Project (SNP) through the MoH. The SNP has been developing a bold campaign to raise the population’s awareness concerning syphilis testing and treatment. In addition, the project also aims to address the stigmas around STIs, especially syphilis [35, 36]. As part of the SNP, the MoH has delivered training processes to health care workers, from public health managers to frontline health practitioners. Furthermore, the project collaborates with national and international universities to strengthen research on syphilis and bolster technologies and information systems, such as the SINAN, which can help fight against this century-old ailment.

While it is clear that many processes exhibit deterministic behavior, it may be simpler to describe these phenomena using macroscopic probabilistic assumptions. This is usually done because the details are not entirely known, and even when they are, their inclusion can lead to unnecessarily complex models [37, 38]. In addition, a probabilistic approach can be advantageous since it provides sufficient precision by producing more general results and may aid in the study of sensitivity to parameter variations [39].

Taken together, this model may be helpful in improving strategic planning for effective response efforts in vulnerable populations and may contribute to the eradication of CS. According to the WHO agenda, the strategy to eradicate CS requires improving surveillance systems and identifying new indicators to detect and adequately treat infected pregnant women early in gestation [2, 40].

In this vein, the development and implementation of new tools to predict the occurrence of acquired and congenital syphilis and other STIs plays a vital role in epidemiological surveillance and may contribute to effective problem-oriented decision-making. Therefore, this paper proposed and explained a mathematical model based on SPNs to predict the relationship between reported maternal and congenital syphilis cases, considering maternal serological status and adequate treatment during PC based on accurate data obtained from governmental health professionals.


This study introduced a stochastic Petri net to predict the notifications of CS cases based on the notifications of syphilis in pregnant women and the probability of maternal diagnosis and adequate treatment during PC. Therefore, this model can be used by public health managers to elaborate on and execute effective measures to control the transmission of acquired and congenital syphilis. Finally, our study may potentially support goals and actions related to three distinct aspects: the number of syphilis cases during pregnancy, the provision of screening tests, and the adequate treatment of all infected patients, mainly pregnant women, contributing to a reduction in CS cases.

Availability of data and materials

All data used in this manuscript are publicly available data from the Information Technology Department of the Brazilian National Health System (DATASUS) database at the following link:

Change history



Congenital syphilis


Elimination of mother-to-child transmission


Mean absolute percentage error


Ministry of Health


Maternal syphilis


Prenatal care


Probability of an untreated maternal syphilis case leading to congenital syphilis case


Ratio of congenital to MS case notifications


Notifiable Diseases Information System


Stochastic Petri net


Sexually transmitted disease


World Health Organization


  1. Shukla M, Sun Y, McCormick J, Hopkins A, Pereira L, Gaynor A, Kersh E, Fakile Y. Development of a syphilis serum bank to support research, development, and evaluation of syphilis diagnostic tests in the United States. Diagn Microbiol Infect Dis. 2020;96(1):114913.

    Article  PubMed  Google Scholar 

  2. World Health Organization, et al. WHO guideline on syphilis screening and treatment for pregnant women. Geneva: World Health Organization; 2017.

    Google Scholar 

  3. Laxminarayan R, Van Boeckel T, Frost I, Kariuki S, Khan EA, Limmathurotsakul D, Larsson DJ, Levy-Hara G, Mendelson M, Outterson K, et al. The lancet infectious diseases commission on antimicrobial resistance: 6 years later. Lancet Infect Dis. 2020;20(4):51–60.

    Article  Google Scholar 

  4. Marques dos Santos M, Lopes AKB, Roncalli AG, Lima KCd. Trends of syphilis in Brazil: a growth portrait of the treponemic epidemic. PLoS ONE. 2020;15(4):0231029.

    Article  Google Scholar 

  5. Zoni AC, González MA, Sjögren HW. Syphilis in the most at-risk populations in Latin America and the Caribbean: a systematic review. Int J Infect Dis. 2013;17(2):e84–92.

    Article  PubMed  Google Scholar 

  6. Kojima N, Klausner JD. An update on the global epidemiology of syphilis. Curr Epidemiol Rep. 2018;5(1):24–38.

    Article  PubMed  PubMed Central  Google Scholar 

  7. Keuning MW, Kamp GA, Schonenberg-Meinema D, Dorigo-Zetsma JW, van Zuiden JM, Pajkrt D. Congenital syphilis, the great imitator—case report and review. Lancet Infect Dis. 2020;20(7):173–9.

    Article  Google Scholar 

  8. Garcia JFB, Aun MV, Motta AA, Castells M, Kalil J, Giavina-Bianchi P. Algorithm to guide re-exposure to penicillin in allergic pregnant women with syphilis: efficacy and safety. World Allergy Organ J. 2021;14(6):100549.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  9. Rodríguez-Granger J, López BE, Cobo F, Morente GB, Martinez AS, Sánchez JT, Aliaga-Martinez L, de Molina AP, Navarro-Marí JM. Update on the diagnosis of sexually transmitted infections. Actas Dermo-Sifiliográficas (Engl Ed). 2020;111:711–24.

    Google Scholar 

  10. World Health Organization, et al. Report on global sexually transmitted infection surveillance 2018; 2018.

  11. Mattei PL, Beachkofsky TM, Gilson RT, Wisco OJ. Syphilis: a reemerging infection. Am Fam Phys. 2012;86(5):433–40.

    Google Scholar 

  12. Rêgo AS, Costa LC, Rodrigues LdS, Garcia RAdS, Silva FdMAM, D’eça, A, Rodrigues LdS. Congenital syphilis in brazil: distribution of cases notified from 2009 to 2016. Rev Soc Bras Med Trop. 2020;53.

  13. de Andrade IGM, de Medeiros Valentim RA, de Oliveira CAP. The influence of the no syphilis project on congenital syphilis admissions between 2018 and 2019. DST J Bras Doenças Sex Transm. 2020;1–6.

  14. Bezerra MLdMB, Fernandes FECV, de Oliveira Nunes JP, de Araujo SLSM, et al. Congenital syphilis as a measure of maternal and child healthcare. Brazil Emerg Infect Dis. 2019;25(8):1469.

    Article  PubMed  Google Scholar 

  15. Gharbi N, Dutheillet C, Ioualalen M. Colored stochastic petri nets for modelling and analysis of multiclass retrial systems. Math Comput Model. 2009;49(7–8):1436–48.

    Article  Google Scholar 

  16. Wijesooriya NS, Rochat RW, Kamb ML, Turlapati P, Temmerman M, Broutet N, Newman LM. Global burden of maternal and congenital syphilis in 2008 and 2012: a health systems modelling study. Lancet Glob Health. 2016;4(8):525–33.

    Article  Google Scholar 

  17. Korenromp EL, Rowley J, Alonso M, Mello MB, Wijesooriya NS, Mahiane SG, Ishikawa N, Le L-V, Newman-Owiredu M, Nagelkerke N, et al. Global burden of maternal and congenital syphilis and associated adverse birth outcomes—estimates for 2016 and progress since 2012. PLoS ONE. 2019;14(2):0211720.

    Article  Google Scholar 

  18. Soares MAS, Aquino R. Completeness and characterization of gestational syphilis and congenital syphilis records in Bahia, Brazil, 2007–2017. Epidemiol Serv Saude. 2021;30.

  19. Secretaria de Vigilância em Saúde B. Ministério da Saúde: PORTARIA No 33, DE 14 DE JULHO DE 2005.

  20. Secretaria de Vigilância em Saúde B. Ministério da Saúde: PORTARIA No 204, DE 17 DE FEVEREIRO DE 2016.

  21. Yi Y. An extended stochastic petri nets modeling method for collaborative workflow process. Phys Procedia. 2012;33:1547–52.

    Article  Google Scholar 

  22. Li Y, Yang X, Wu J, Sun H, Guo X, Zhou L. Discrete-event simulations for metro train operation under emergencies: a multi-agent based model with parallel computing. Phys A Stat Mech Appl. 2021;573:125964.

    Article  Google Scholar 

  23. Peleg M, Rubin D, Altman RB. Using petri net tools to study properties and dynamics of biological systems. J Am Med Inform Assoc. 2005;12(2):181–99.

    Article  PubMed  PubMed Central  Google Scholar 

  24. Leite CR, Martin DL, Sizilio GR, Dos Santos KE, de Araújo BG, Valentim RAdM, Neto AD, de Melo JD, Guerreiro AM. Modeling of medical care with stochastic petri nets. In: Annual international conference of the IEEE engineering in medicine and biology. IEEE; 2010. p. 1336–1339.

  25. Formanowicz D, Radom M, Zawierucha P, Formanowicz P. Petri net-based approach to modeling and analysis of selected aspects of the molecular regulation of angiogenesis. PLoS ONE. 2017;12(3):0173020.

    Article  Google Scholar 

  26. Ionescu D, Ulmeanu AP, Constantinescu A, Rotaru I. Reliability modelling of medium voltage distribution systems of nuclear power plants using generalized stochastic petri nets. Comput Math Appl. 2006;51(2):285–90.

    Article  Google Scholar 

  27. De Myttenaere A, Golden B, Le Grand B, Rossi F. Mean absolute percentage error for regression models. Neurocomputing. 2016;192:38–48.

    Article  Google Scholar 

  28. Kwak J, Lamprecht C. A review of the guidelines for the evaluation and treatment of congenital syphilis. Pediatr Ann. 2015;44(5):108–14.

    Article  Google Scholar 

  29. Razali NM, Wah YB, et al. Power comparisons of shapiro-wilk, kolmogorov-smirnov, lilliefors and anderson-darling tests. J Stat Model Anal. 2011;2(1):21–33.

    Google Scholar 

  30. World Health Organization, et al. Global guidance on criteria and processes for validation: elimination of mother-to-child transmission of HIV and syphilis. 2017.

  31. Taylor MM, Kara EO, Araujo MAL, Silveira MF, Miranda AE, Coelho ICB, Bazzo ML, Pereira GFM, Giozza SP, Bermudez XPD, et al. Phase II trial evaluating the clinical efficacy of cefixime for treatment of active syphilis in non-pregnant women in Brazil (CeBra). BMC Infect Dis. 2020;20(1):1–15.

    Article  Google Scholar 

  32. Ishikawa N, Newman L, Taylor M, Essajee S, Pendse R, Ghidinelli M. Elimination of mother-to-child transmission of HIV and syphilis in Cuba and Thailand. Bull World Health Organ. 2016;94(11):787.

    Article  PubMed  PubMed Central  Google Scholar 

  33. Albuquerque MVd, Viana ALd, Lima LDd, Ferreira MP, Fusaro ER, Iozzi FL. Desigualdades regionais na saúde: mudanças observadas no brasil de 2000 a 2016. Ciênc Saúde Coletiva. 2017;22:1055–64.

    Article  Google Scholar 

  34. Balira R, Mabey D, Weiss H, Ross DA, Changalucha J, Watson-Jones D. The need for further integration of services to prevent mother-to-child transmission of HIV and syphilis in Mwanza city. Tanzania Int J Gynecol Obstet. 2015;130:51–7.

    Article  Google Scholar 

  35. de Morais Pinto R, de Medeiros Valentim RA, Fernandes da Silva L, et al. Analyzing the reach of public health campaigns based on multidimensional aspects: the case of the syphilis epidemic in Brazil. BMC Public Health. 2021;21:1632.

    Article  PubMed  PubMed Central  Google Scholar 

  36. Pinto R, Silva L, Valentim R, Oliveira C, Lacerda J, Silva R, Paiva J, Kumar V. Assessing the impact of public health campaigns through epidemiological, communication and education indicators. In: IEEE 20th international conference on advanced learning technologies (ICALT). IEEE. 2020. p. 147–149.

  37. Amini MH, Arab M, Faramarz MG, Ghazikhani A, Gheibi M. Presenting a soft sensor for monitoring and controlling well health and pump performance using machine learning, statistical analysis, and Petri net modeling. Environ Sci Pollut Res. 2021.

    Article  Google Scholar 

  38. Corman F, Trivella A, Keyvan-Ekbatani M. Stochastic process in railway traffic flow: models, methods and implications. Transp Res C Emerg Technol. 2021;128:103167.

    Article  Google Scholar 

  39. Rogge-Solti A, Vana L, Mendling J. Time series petri net models-enrichment and prediction. In: CEUR workshop proceedings. 2015.

  40. Ahmad F, Qaisar ZH. Scenario based functional regression testing using Petri net models. In: 12th International conference on machine learning and applications, vol. 2. IEEE; 2013. pp. 572–577.

Download references


We kindly thank the Laboratory of Technological Innovation in Health of the Federal University of Rio Grande do Norte for supporting the research.


The Norte-Grandense Foundation for Research and Culture and the Federal University of Rio Grande do Norte were responsible for financing the development of this work through the Decentralized Section Term (TED), signed by the Federal University of Rio Grande do Norte and the Ministry of Health of Brazil.

Author information




RV: article writing, review, research coordination and research methodology development; GC: article writing and research methodology development; RS: article writing and data processing, research methodology development; GA: article writing, research methodology development; IA: writing and reviewing the article, developing the methodology; AS, TP, AM, LG and AC: manuscript review and modifications; DB: writing and reviewing the article; AR: guidance and review of the article. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Daniele M. S. Barros.

Ethics declarations

Ethics approval and consent to participate

Not applicable. As this is a retrospective study involving the analysis of secondary databases made available online by the Information Technology Department of the Brazilian National Health System (DATASUS), submission to the ethics and research committee involving human beings was not necessary, as there is no possibility of identifying the patients in question.

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

The original version of this article was revised: that reference 35 was mistakenly published as a duplicate of reference 13.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Valentim, R.A.M., Caldeira-Silva, G.J.P., da Silva, R.D. et al. Stochastic Petri net model describing the relationship between reported maternal and congenital syphilis cases in Brazil. BMC Med Inform Decis Mak 22, 40 (2022).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:


  • Stochastic Petri net
  • Congenital syphilis
  • Maternal syphilis