Introduction

In clinical oncology and rheumatology, staging, grading, and diagnostic criteria are routinely applied to define the diagnosis or a subtype of a disorder and consequently to determine the appropriate management of a patient and the treatment of a disease. Similarly, scores that include physiological, biometrical, laboratory and medical history data are applied to assess the probability of survival of patients in intensive care units (broadly or more or less organ-specific) or to quantify end-stage organ damage, e.g., liver disease. However, in the immunodeficiency clinic, such algorithms and guidelines are less frequently available. Most patients with IEI are managed on a descriptive–diagnosis and problem-directed — more or less individual — basis, with the exception of patients with severe combined immunodeficiency (SCID) and certain other distinct inborn errors of immunity (IEI), where a clear genotype–phenotype correlation and the therapeutic consequences of a (mostly genetic) diagnosis (e.g., a targeted therapy, gene therapy, or hematopoietic stem cell transplantation [HSCT]) have been established. This management is especially challenging in immunodeficient patients with accompanying syndromic or complex features, such as immune dysregulation with autoimmunity and inflammation, a predisposition for malignancy, bleeding, or hemophagocytosis, or other increased risks. To categorize IEI phenotypes into most likely (sub-)diagnoses, document the natural clinical course of the disease, evaluate treatment responses, and scientifically improve management recommendations for these individuals, various attempts have been made to quantify and standardize the assessment of a disease phenotype and category by using scores, indexes, scales, and other measures.

In the first part, we provide an overview of various types of clinical scores currently used in IEI. Without claiming to be exhaustive, we briefly describe ten representative tools and compare their scopes, applications, and limitations. The second part presents an updated version of the immune deficiency and dysregulation activity (IDDA) score. Originally developed to perform a retrospective comparison of the clinical courses and disease burden of patients with a deficiency of the lipopolysaccharide and beige-like anchor protein (LRBA)[1] to compare long-term outcomes with or without HSCT, the presented version IDDA2.1 is designed to be a useful measure for prospectively assessing the immune deficiency and dysregulation activity of all patients with IEI and immune dysregulation, including primary immune regulatory disorders (PIRDs) as well as many combined immunodeficiencies and predominantly antibody deficiencies (categories I-IV of the IEI classification of the International Union of Immunological Societies [IUIS] [2, 3]). We demonstrate the power of its parameters by using unsupervised hierarchical clustering across various IEI with immune dysregulation and discuss advantages of the IDDA2.1 score, particular differences as compared to other measures in IEI, and the future potential as a predictive tool for disease (sub-)categorization, allowing for the deduction of specific screening recommendations on the basis of those complications expected for the respective IEI, as well as serving as a guide to support phenotype-targeted diagnostic and treatment decisions in patients without a genetic diagnosis and monitoring their effects. Finally, the kaleidoscope function of the IDDA2.1 score is applied to 18 IEI with immune dysregulation of various IUIS categories, demonstrating its educational value.

Routine Applications and Brief Description of Representative Types of Clinical Scores in IEI

On the basis of a literature review performed in January 2021, we selected ten representative instruments that are used as measures, scores, scales, or indexes (hereafter generally referred to as “scores”) to assess clinical features and the disease activity of IEI quantitatively and qualitatively. Among these frequently used tools, we defined three categories of clinical scores for IEI with different fields of applications and consequently varying sets of parameters (Table 1, Fig. 1). These include the following:

  1. 1)

    Diagnostic scores comprising a set of disease-specific weighted criteria can increase the likelihood of making a specific diagnosis or sub-classifying a diagnosis. Three examples of tools assisting diagnosis-making are the Hyper-IgE syndrome (HIES) score, which was originally designed for autosomal dominant STAT3-LOF syndrome [4, 5], and the ‘diagnostic guidelines’ and the ‘H score’ used for primary and secondary hemophagocytic lymphohistiocytosis (HLH), respectively [6,7,8] (Table 1). These are widely accepted and statistically validated tools that are used to corroborate making a diagnosis of a suspected IEI or defining the likelihood of the presence of the respective syndrome. Of note, these measures are not designed to guide a differential diagnostic work-up in presence of only one or few of their predominant symptoms. Their examples, however, illustrate the challenges associated with defining an entity by applying clinical diagnostic criteria independently of the existence/awareness of a genetic background. Namely, the definition of the HIES of genetic origins other than mutations in STAT3 or differences between the familial or acquired forms of hemophagocytic syndromes required modifications of the original definitions. For instance, in the case of deficiency of DOCK8, the HIES score was adapted to reflect additional and unique features of this other type of HIES [9]. While the HIES score is predominantly based on preexisting or aggravating anatomical features in an individual, their infectious history and laboratory values, and includes a correction for a young age, the hemophagocytosis scores rely mainly on laboratory values, fever, and organomegaly (Table 1, Fig. 1). The diagnostic tool for familial hemophagocytic lymphohistiocytosis was defined by the Histiocyte Society [8], and differs slightly from other sets of diagnostic criteria that have been proposed for secondary HLH [6, 10, 11], as well as from the H score for acquired HLH, which is also applied to correct for potentially causative or modifying factors, such as underlying malignancy, infection, or existing pharmacological immunosuppression [7].

    An instrument used to classify a subcategory of a diagnosis by taking into account the presence of certain features or complications can help to define the subtype of an IEI. The Wiskott-Aldrich syndrome (WAS) score is a typical example of the instruments that are used to categorize a diagnosis into subtypes [12,13,14]. In this X-linked syndrome, typically characterized by the triad of infection, microthrombocytopenia, and eczema, the phenotypic spectrum covers a wide range that usually does not change over time within one patient. This spectrum includes “classic/severe” WAS ± autoimmunity categories, various categories in X-linked thrombocytopenia (intermittent or persistent, ± eczema and immunodeficiency) and in X-linked neutropenia (mildest form) on a scale ranging from 0 to 5. Although classifying patients from mild to severe forms of WAS and used in clinical cohort studies, this score has been shown to be of relatively little predictive relevance with regard to the development of autoimmunity or malignancy [15].

  2. 2)

    Morbidity and disease activity measures can be applied to grade the disease severity and burden, which may change during the clinical course of one patient. These scores are typically re-assessed at every clinical visit or scheduled time points of a patient with a defined IEI. Different results for these scores may reflect a separate subtype of the disorder or, more often, a distinct phase of the disease the patient is going through. One example is the collection of common variable immune deficiency (CVID) or CVID complication scores [16,17,18]; these scores can be used to quantify the severity of organ involvement and the accumulating inflammatory or autoimmune and even treatment-related complications in a patient. Points are added for every feature, and the scores are observed over the patient history. For profound combined immunodeficiency (P-CID), a morbidity measure was introduced that is part of an ongoing prospective study, which includes bacterial, viral, and opportunistic infections, immune-mediated cytopenia or other signs of immune dysregulation, and lung involvement, and corrects for the time of exposure (number of events divided by patient’s age); additional information on the patient-reported quality of life is analyzed separately [19]. A more disease-specific score than those used for CVID or P-CID is the CTLA-4 haploinsufficiency with autoimmune infiltration (CHAI) morbidity measure, which is being used in the ongoing abatacept-CHAI study (B. Grimbacher, personal communication). The CHAI morbidity measure quantifies the organ involvement in detail by translating specific lab values including results of FACS analyses, imaging studies, or physiological functional results into points. The item list includes many non-routine investigations and thus requires a structured patient visit with all tests to be planned beforehand. A related disease with many features similar to CTLA-4 haploinsufficiency is LRBA deficiency, for which we recently developed a simple but comprehensive score that includes both a quantification of the severity of infectious complications and of features of immune dysregulation, and the need for supportive care, performance scale, hospitalization days, IgG substitution therapy, and nutritional interventions to reflect the entire disease burden [1]. This score with its differences from other presented measures, named immune deficiency and dysregulation activity (IDDA) score, is explained in more detail below. Another, even much simpler but effective, disease-specific score is the assessment of organ involvement in IPEX syndrome (immune dysregulation, polyendocrinopathy, enteropathy, X-linked) on a scale from 0 to 5 (1 point per prognosis-relevant organ involvement) [20]. This score was used as part of a highly thorough and comprehensive retrospective analysis of patient- and treatment-related factors in IPEX syndrome and was identified as being significantly linked to the HSCT outcome of these patients [20].

    Assessing the disease severity and burden is also an important factor in the management of patients with autoinflammatory syndromes (AIS) such as hereditary fever syndromes. The autoinflammatory disease activity index (AIDAI) represents a different type of tool based on a patient-maintained disease diary that was developed and statistically validated in a multistep process; this index has been designed to suit many of the known AIS [21, 22], a fact that is corroborated by its application, even if in slightly adapted forms, in current clinical trials [23, 24].

  3. 3)

    Finally, treatment stratification scoring systems may be used to support decisions on therapy. In IEI, a widely relevant example is the score to guide the initiation of immunoglobulin therapy based on laboratory parameters and the clinical history of adult patients with hypogammaglobulinemia (including CVID; Table 1 and Fig. 1) [25]. With a similar aim, a more complex version of a treatment algorithm for patients with primary antibody deficiencies was published as interdisciplinary consensus- and evidence-based guideline by the Association of Scientific Medical Societies in Germany (AWMF) and updated recently [26, 27]. Although the latter instrument includes many similar criteria extracted from the history, clinical status, and laboratory parameters of hypogammaglobulinemic patients like the above-mentioned score, it was not designed as a ‘score’ but as a step-by-step algorithm that includes degrees of evidence for each criterion.

Table 1 Parameter overview of 10 selected clinical scores and measures used in IEI
Fig. 1
figure 1

Schematic comparison of scores and measures routinely used in the IEI clinic. Please refer to Table 1 and the original publications for more details. The selection of scores represents an exemplary choice of the authors

The proportional comparison of items and parameter categories used in each of these ten scores are depicted in Fig. 1 and listed in Table 1 (the original publication of each of the selected representative scores is cited for reference and to provide access to more detailed information). While type 1 scores from the list above rely on yes/no criteria or a semiquantitative “staging” to support making a diagnosis, most of the type 2 and 3 scores are supposed to be applied repeatedly to grade the actual disease activity status of a patient by adding scores for the affected organs, symptoms, complications, or other features. Some of these scores can even quantify the severity of each criterion. The latter quality of a score is needed if it should serve as a monitoring tool to document the clinical course of a patient in longitudinal studies, e.g., in prospective drug trials or for registry purposes. Naturally, the extent and application of a score in IEI reflects the difficulties associated with making either a diagnosis or managing affected patients with a certain disorder. Thus, using the established scores in the routine management of patients with IEI has a practical and beneficial awareness-raising effect, i.e., to prevent mistakes and negligence when applying the recommended monitoring measures, as the respective scores are often based on the experience of large patient series that encompass the full phenotypic spectrum of a rare disease known at that time.

The Immune Deficiency and Dysregulation Activity (IDDA2.1 ‘Kaleidoscope’) Score

The IDDA2.1 score is designed as a simple, physician-reported outcome measure tool and is used to assess the severity of the involvement of 12 organ systems in immune dysregulation (e.g., autoimmunity, autoinflammation, lymphoproliferation, granuloma formation) and two other clinical features (failure to thrive and severe infections) that are scored on a 5-step scale from 0 to 4 (indicating 0 = absent; 1 = mild, transient, not requiring treatment; 2 = moderate, intermittent therapy needed; 3 = severe, continuous therapy needed; 4 = life-threatening, refractory, irreversible; Table 2). In addition, the proportion of hospitalization days (differentially weighted whether at a regular ward or an intensive care unit) and the need for supportive therapies and care are noted (nutrition status and route, IgG substitution therapy, Table 2). Furthermore, “any other organ or immune dysfunction” and “any relevant chronic or recurring infestation or infection” are added to the score; the sum is then divided by the performance scale (Karnovsky or Lansky [28, 29]; see Table 2 for detailed calculation). Occurrence of a malignancy is noted separately but is not quantified within the numeric score. Parameters of the original version of the IDDA score were chosen to reflect the entire clinical spectrum of LRBA deficiency according to previously published case series and reviews. In the newly adapted version 2.1, only two major changes were introduced: the item ‘hemophagocytosis’ was added as additional possible feature of immune dysregulation to extend the utility to practically all PIRDs or IEI with immune dysregulation, and the calculation method (formula) was slightly modified to correct for very low performance scales (Table 2, bottom line). In contrast to the presented other 9 measures in IEI, many of which focus on disease-specific anatomical (HIES), infectious (CVID, and many others) or inflammatory (HLH, CVID, AIDAI) parameters, and, especially, to the other morbidity and disease activity measures, the IDDA2.1 score specifically addresses all most relevant features of immune dysregulation in IEI in a semiquantified, comprehensive, organ-specific manner, and includes indicators of the actual disease and treatment burden, while maintaining relative simplicity. In fact, its composition is designed to allow documentation by retrospective chart review by a medical documentarist after a patient visit, as performed even as part of a registry study, without the need to obtain specific laboratory values or questionnaires, or to schedule specific imaging or physiological tests ahead. Assessing patient-reported symptom scores or quality of life/outcome measures by questionnaires (as in the AIDAI or P-CID studies, respectively) was omitted for the same reason as was the inclusion of results from particular functional, laboratory, or imaging analyses (as, e.g., in the CHAI score) — practicability. Nevertheless, recording the presence, severity, or absence of each parameter and the IDDA score sum over time and different treatment phases of a patient should enable to draw a wide-ranging, highly defined picture of the clinical status and course of a patient with a PIRD or IEI with immune dysregulation. Although relatively simple by design (grading from 0 to 4, see above), limitations of the scoring were encountered, for example, quantifying the severity of infections. A molluscum or mucocutaneous HSV infection of a DOCK8-deficient patient will be assessed differently than in a patient with CVID, and a severe pneumococcal pneumonia of a hypogammaglobulinemic patient will be treated differently from an EBV-linked systemic lymphoproliferative and inflammatory response syndrome in CD27 deficiency, although all of them will be scored as 3° or 4° infection (range 0–4°) depending on treatment response, reversibility, and whether the event was life-threatening. Furthermore, difficulties may arise in the judgement, whether organ lesions are caused by an infection or by infection-triggered immune dysregulation and as such should be counted as organ involvement (e.g., lung or CNS granulomata) — the distinction of which may be easy in certain and difficult or impossible in other occasions. However, the general focus of graded organ involvement caused by immune dysregulation of the IDDA score sum and its longitudinal course are not affected by these differences.

Table 2 The immune deficiency and dysregulation activity (IDDA2.1) score

The IDDA2.1 score may be used for a wide range of applications in clinical documentation. Supplementary Fig. 1 shows examples of the first version of the IDDA score as it was used in a retrospective study of patients with LRBA deficiency that compared the clinical courses before, during, and after different treatments over time or in patients with residual LRBA protein expression as compared to those with absent LRBA protein [1], heatmaps illustrate the severity of each organ involvement before and after a certain therapeutic measure was applied, spaghetti plots may be used for longitudinal comparisons (Supplementary Fig. 1), and Kaplan–Meier curves may be plotted to compare outcomes of cohorts with different IDDA starting scores (not shown) [1].

A new accompanying feature that can be used to document the phenotype of patients or patient cohorts by using the IDDA2.1 score is the kaleidoscope function. It relies on the same data collected for the IDDA2.1 score, but instead of calculating a numerical score, the frequency of the presence of 17 of the 22 features/items within a patient cohort is plotted in a circular arrangement (spider or radar chart, listing the parameters in a fixed order as in Table 2), resulting in a recognizable, relatively pathway-specific pattern. To illustrate this arrangement, we applied the IDDA kaleidoscope score to 18 different IEI, some of which shared the same impaired pathway (e.g., CTLA-4 haploinsufficiency, LRBA, and DEF6 deficiencies, see Fig. 2A; data are derived from published patient series or reviews that are cited in the legend). Others were chosen due to their frequency or their novelty. For educational purposes, we grouped the 18 IEI into predominantly regulatory T cell disorders (Tregopathies), CVID)/CVID-like disorders, and PIRDs with EBV susceptibility (Fig. 3A, B, and C, respectively). Of note, the kaleidoscope patterns of CTLA-4 haploinsufficiency, LRBA, and DEF6 deficiencies look very similar, but differ from those of IPEX syndrome or CVID (Fig. 3A, B). On the other hand, the patterns for CVID, NFKB1, and NFKB2 deficiency resemble each other closely (Fig. 3B), possibly reflecting a large proportion of undetected NFKB1 and NFKB2 deficiencies among CVID cohorts, as do the patterns for the receptor-ligand pair CD27 and CD70 deficiencies (Fig. 3C). Expectedly, the ‘kaleidoscope pattern’ of XLP1 differs from that of XLP2/XIAP deficiency, whereas, independent of the direct pathomechanism, that of STAT3GOF looks very much alike that of LRBA deficiency. Thus, an immediate conclusion of a similarity of the biomechanistic basis and thus treatment recommendation cannot be drawn from this first, retrospectively generated plot. An alternative way to present these data could be a heatmap (Supplementary Fig. 2), which may be preferred for pattern recognition by people used to interpret array data. To verify the grouping of IEI based on clinical experience and to prioritize the clinical features according to their relevance in this set of 18 IEI, we performed an unsupervised hierarchical clustering analysis of the same data which yielded clusters of diseases according to their feature frequency profiles (neighbors in the horizontal order and clustering, Fig. 3) that is strikingly similar but not identical to that of our clinical and “visual” order applied in the spider charts shown in Fig. 2. The heatmap derived from this clustering analysis reveals “pedigrees” of the most relevant and discriminative clinical parameters among the IDDA2.1 list for this set of 18 IEI (vertical order/clustering, Fig. 3). Because we used aggregated cohort data from large series or reviews to generate Fig. 2 and lack most of the raw (single patient) data, we were unable to calculate similarities of the kaleidoscope patterns statistically, e.g., in principal component analyses. Although individual patients will, naturally, be unlikely to resemble complete congruence in these phenotype expression analyses from aggregate data, the IDDA2.1 kaleidoscope function may gain importance if applied regularly and fed into a machine learning algorithm as discussed below. For educational purposes, the present catalogue of spider charts or heatmaps may be extended to any IEI with immune dysregulation.

Fig. 2
figure 2

Immune deficiency and dysregulation phenotype patterns visualized by the IDDA2.1 kaleidoscope score for 18 exemplary IEI. The kaleidoscope function makes use of 17 out of 22 parameters documented in the IDDA score (terms #1–14; #20; #18; and #22, see Table 2), reduced to qualitative information about organ involvement and other features in a patient or a patient cohort, plotted according to the fixed order of parameters in a radar (spider) chart on 17 y-axes arranged in a circle. A Primary immune regulatory disorders, modified from [30] and supplemented with additional IEI, with data derived from reviews, case series, or large cohorts [1, 20, 31,32,33,34,35,36]; B Predominantly antibody deficiencies and combined immunodeficiencies [37,38,39,40,41,42,43]; C Diseases of immune regulation with EBV-susceptibility [44,45,46,47,48,49,50]. Data for part of the CARD11GOF and all of the XIAP plots were derived from unpublished data to appear in Hauck et al., 2021, and a manuscript in preparation by Yang and Burns et al., 2021, respectively. The patient numbers presented in the title of each plot may vary slightly regarding some features that were not available from all patients, but are always presented as a percentage on 17 y-axes. In the regular (22-parametric) IDDA score originally developed for LRBA deficiency [1], each criterion is semi-quantified per patient from 0 to 4◦, please refer to Table 2 for details. The full-length y-axis titles are autoimmune (AI)-cytopenia; hemophagocytosis | HLH (according to clinical AND lab criteria of the Histiocyte Society); gut, enteropathy | IBD (inflammatory bowel disease); lymphoproliferation | splenomegaly | hepatomegaly; lung, parenchymal lung disease | LIP (lymphocytic interstitial pneumonitis)| GLILD (granulomatous lymphocytic interstitial lung disease); skin or eye manifestations | eczema, uveitis, alopecia, vitiligo, other; granulomatous disease in any organ (other than GLILD); endocrinopathy | IDDM (insulin-dependent diabetes mellitus), thyroiditis, other; skeletal, arthritis | other musculoskeletal manifestations; liver, AI-hepatitis | cholangitis | pancreatitis; kidney, glomerulonephritis | nephropathy, tubulopathy; neurologic manifestations; failure to thrive | malresorption, wasting; severe infections | severe or opportunistic infections (excl. asymptomatic chronic infestation; excluding “EBV-susceptibility”); any other organ or immune dysfunction/malady (e.g., cardiomyopathy, kidney failure, autoinflammation, allergy); hypogammaglobulinemia and/or immunoglobulin substitution therapy; malignancy, lymphoma (separately added to IDDA score, not included in the score calculation); *, the footnote (asterisk) in SH2DA1 deficiency (XLP1) should indicate that, although this topic is debatable, the liver and kidney involvement in fulminant infectious mononucleosis was not counted under immune dysregulation (#10–11), likewise the CNS involvement in patients with HLH and XLP1 was not counted as organ-specific immune dysregulation (#12), and aplastic anemia observed in patients with XLP1 was not counted as autoimmune cytopenia (#1) to distinguish their pathogenesis from “primarily” immune-mediated organ manifestations in PIRDs

Fig. 3
figure 3

‘Phenotype expression array’ showing results of unsupervised hierarchical clustering of 18 IEI with immune dysregulation according to the IDDA2.1 parameter list. The same patient cohorts were analyzed as shown and referenced in Fig. 2. The clustered heatmap was created by using the R package pheatmap 1.0.12 (Raivo Kolde, 2019). The hierarchical clustering was the result of complete linkage based on Euclidean distances (after logistic transformation truncated at 1%). Red boxes indicate high frequency, blue boxes low frequency. “Pedigrees” indicate the calculated similarities or distances; not taking into account the relative frequency of patients evaluated in the original data collection (see numbers next to the IEI diagnosis). Therefore, due to very low patient numbers (< 10), phenotype data for DEF6, PRKCD, CD137, and TET2 deficiencies are less reliable than those for other IEI with higher patient numbers

Conclusions and Future Perspectives

A standardized, quantitative definition of the clinical phenotype of an IEI in its entirety and its consequences on the patient’s quality of life, need for supportive care, and disease burden is relevant both in disease- or drug-specific studies as well as in prospective patient registry studies to learn about the natural course of the disease.

Ensuring the comparability and transferability of scoring results between specific disorders and between patients with undiagnosed IEI, either cross-sectionally or over time, is an advantage of more general disease scores as opposed to single-disease-focused scores. However, in order to propose a clinical score that covers more than one distinct disease and likewise measures disease activity, several obstacles must first be overcome. First, the balance has to be maintained between simplicity and feasibility, on the one hand, and detail and specificity on the other hand, while still avoiding the need to refer to a meticulous handbook or user manual. It is difficult to define which organ damage should be included into the immune dysregulation-dependent scoring process, and which should be included only into “other organ dysfunction,” e.g., the differentiation between whether parenchymal changes in an organ should be attributed to recurring invasive infections or represent the result of inflammation and dysregulated organ infiltration. The same vagueness applies to the different reasons of lymphoproliferation whether “genuine” (e.g., in autoimmune lymphoproliferative syndrome) or as result of chronic lymphadenopathy, furthermore, to hepatosplenomegaly in the context of HLH or CVID, or to cytopenia associated with splenomegaly, etc. (see also the asterisk-marked footnote at XLP1 in Fig. 3C). Similarly, any definitions may not always be uniformly understandable or may show varying levels of resolution, e.g., the terms “autoimmunity” or “cytopenia” may not be very helpful, given the fact that either the target organ or the pathomechanism remained undefined, thus impairing the correct scoring. Furthermore, user-dependent factors, such as variations in the assessment of disease severity, may compromise the comparability of data. Second, the phenotype of a specific IEI with a typically increased vulnerability in a defined organ (e.g., colitis), towards certain infectious microorganisms (e.g., herpes viruses, mycobacteria, candidiasis), or with another characteristic clinical feature (e.g., allergy, vasculitis) may not be depicted proportionally through the use of a more general score such as the IDDA score. In these cases, a disease-specific score may yield more granular results and thus be more adequately applied or it should be used in addition to a standard score. Third, the disease activity depends on the treatment status of a patient. Therefore, documenting a score of the above-mentioned category 2 (severity/disease activity), such as the IDDA score, should automatically involve its timely correlation with the current therapy of a patient and ideally be repeated at regular intervals.

One main goal of the human phenotype ontology (HPO) project is to standardize the terminology used to describe phenotypic characteristics, the definitions of disease features and manifestations, symptoms, laboratory abnormalities, and other clinical aspects. This project has recently been extended to include many IEI [51,52,53,54,55]. An initial attempt to include HPO terms into the IDDA score was temporarily aborted, because we aimed to achieve the utmost simplicity when incorporating the 22 parameters into the ESID registry database. Nevertheless, the inclusion of HPO codes into the background of data entry fields, possibly with refined sub-items, might increase the accuracy and resolution of clinical data documentation. An international initiative is ongoing to define these terms in more detail and to extend the applicability of HPO terms in IEI [54].

In the AIDAI, for example, significant efforts have been made to achieve statistical validation [21], and this validation might be achieved with respect to other scores as well. However, the composition of a score in IEI will mostly be based on clinical observations of the two- or three-digit patient numbers only, and its application will be used for descriptive purposes rather than for strictly exclusive decision-making or stratifications. Because a clinical score in IEI will never be a stand-alone criterion for making or excluding a diagnosis or a treatment decision, and because largely overlapping phenotypes are observed in many of these extremely rare diseases, it will be difficult to provide statistical validation for many of the purposes these scores may fulfill. With regard to the IDDA2.1 score, an open science prospective study proposal has been approved and launched in the context of the ESID registry.

We propose that, collecting IDDA2.1 score data and applying the IDDA kaleidoscope function in a standardized manner in patients with PIRDs in the future may allow validation of pattern comparisons, algorithm-assisted recognition, and potentially even phenotype-based diagnosis prediction of PIRDs. To this end, the IDDA2.1 score has been implemented in the European Society for Immunodeficiencies (ESID) registry database [56] as an optional module to serve as a basis for a prospective study using monogenic IEIs as a learning cohorts. With enough data from known IEIs and, ideally, multiple patient time points under different therapies, this should allow to generate a machine-learning-powered tool which should eventually assist clinicians in making diagnoses, monitor expectable risk organs, and support phenotype-driven, "semi-targeted" treatment decisions for immune dysregulation in undiagnosed patients. In this study, attempts will be made to rank the relevance of items collected in the ESID registry according to their predictive power regarding the diagnosis, progression, and treatment response, e.g., by applying logistic regression models, time-dependent Cox-regression models, and the nomograms based on these, as described elsewhere [57, 58]. This should enable the ESID registry’s composition and application to be further strengthened and refined. When taking this approach, we will apply unsupervised machine learning algorithms to detect similarities in patterns in training cohorts consisting of patients with known monogenic IEI.

If scores in IEI are regarded as assistive measures and their application is restricted to specific studies or in specific institutions consistently, they may be very helpful in clinical and clinical research practice. Using and applying a “score standard” in the clinical practice in IEI, as shown with the IDDA2.1 score for PIRDs and other IEI with immune dysregulation, may prove useful as an educational tool and enhance the awareness of the complexity of phenotypes and complications, ultimately improving patient outcomes.