Risk and diagnosis

The method improves genetic disease risk assessment by assigning genotypes to family members and using Mendelian and Bayesian analyses to calculate risk scores, addressing the limitations of existing family history-based approaches.

JP2024153576APending Publication Date: 2024-10-29FUJITSU LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024064983
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-17
Filing Date
2024-04-12
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Existing methods for determining genetic disease risk and diagnosis are inadequate, particularly in relying solely on family medical history without integrating genetic information and advanced analytical techniques.

Method used

A computer-implemented method that assigns genotypes to family members based on known information, using Mendelian and Bayesian analyses to determine genetic and family history risk scores, incorporating factors like age and death status to predict an individual's likelihood of inheriting a genetic condition.

Benefits of technology

Enhances the accuracy of genetic risk assessment by integrating genetic and family history data, providing a comprehensive risk score that accounts for various inheritance patterns and familial relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024153576000001_ABST
    Figure 2024153576000001_ABST
Patent Text Reader

Abstract

To provide a computer-implemented method related to risk and diagnosis.SOLUTION: The method comprises the steps of: assigning at least one genotype to each of a plurality of family members of a patient; determining a genetic risk score indicating a likelihood of the patient having a condition using Mendelian and / or Bayesian analysis; determining a family history risk score indicating a likelihood of the patient having the condition on the basis of: the number of family members of the patient who are known to have or have had the condition and who are not known to have died from the condition and at least one family member's age upon diagnosis with the condition, and the number of family members of the patient who are known to have died from the condition and at least one family member's age upon death; and determining a genetic family history risk score of the patient having the condition on the basis of the genetic risk score and the family history risk score.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to risk and diagnosis, and in particular to computer-implemented methods, computer programs, information processing devices, apparatus and systems. [Background technology]

[0002] One of the most effective measures of an individual's risk for a genetic disease is the analysis of his or her family's medical history. Family history, or pedigree, has long been the backbone of clinical genetic examinations. It contributes to making the diagnosis, determining risk, and assessing the need for patient education and psychosocial support.

[0003] Pedigree studies in unselected patient populations have shown that pedigrees often reveal additional genetic risk factors not previously identified. Family history analysis may become an important tool in risk assessment in prenatal care (Frezzo, TM, Rubinstein, WS, Dunham, D., & Ormond, KE (2003), “The genetic family history as a risk assessment tool in internal medicine”, Genetics in Medicine, 5(2), 84-91).

[0004] A patient's family history (FH) or family medical history (FMH) is crucial information for assessing risk factors associated with many diseases, such as diabetes, coronary artery disease, and multiple types of cancer. For example, if a female patient has both a mother and sister with breast cancer, her relative risk of breast cancer increases by 3.6 times compared to those without such FH (Yang, X., Zhang, H., He, X., Bian, J., & Wu, Y. (2020), “Extracting family history of patients from clinical narratives: exploring an end-to-end solution with deep learning models”, JMIR Medical Informatics, 8(12), e22982).

[0005] In view of the above, improved methods for risk and diagnostic determination are desirable. Summary of the Invention

[0006] According to an embodiment of a first aspect, provided herein is a computer-implemented method comprising: assigning at least one genotype to each of a plurality of family members of the patient based on rules defining the inheritance pattern of the (genetic) disorder / disease / condition and based on information indicating whether each of the family members is known to have or has had the (genetic) disorder / disease / condition; determining a genetic risk score, based on the assigned genotypes of the patient's family members, using Mendelian and / or Bayesian analysis, indicating the likelihood that the patient has the (genetic) disorder / disease / condition; below: the number of family members of said patient who are known to have or have had said (genetic) disorder / disease / condition and who are not known to have died from said (genetic) disorder / disease / condition, and the age of at least one of said family members when they were diagnosed with said (genetic) disorder / disease / condition, the number of family members of said patient who are known to have died from said (genetic) disorder / disease / condition and the age at death of at least one of said family members; determining a family history risk score indicative of the likelihood that said patient has said (genetic) disorder / disease / condition based on determining a genetic family history risk score that the patient has the (genetic) disorder / disease / condition based on the genetic risk score and the family history risk score; A computer-implemented method is disclosed, comprising:

[0007] According to an embodiment of the second aspect, provided herein is a computer-implemented method comprising: assigning at least one genotype to each of a plurality of family members of the patient based on rules defining the inheritance pattern of the (genetic) disorder / disease / condition and based on information indicating whether each of the family members is known to have or have had the (genetic) disorder / disease / condition; determining, based on the assigned genotypes of the patient's family members, using Mendelian and / or Bayesian analysis, a genetic risk score indicating the likelihood of the patient having / being affected by said (genetic) disorder / disease / condition; below: the number of family members of said patient who are known to have or have had (been diagnosed with) said condition and who are not known to have died from said (genetic) disorder / disease / condition, and the age of at least one (or each) of said family members when they were diagnosed with said condition; the number of family members of said patient who are known to have died from said condition, and the age at the time of death of at least one of said family members; determining a family history risk score indicative of the likelihood that said patient has said (genetic) disorder / disease / condition based on determining a genetic family history risk score based on / using said genetic risk score and said family history risk score that said patient has said (genetic) disorder / disease / condition; A computer-implemented method is disclosed that includes:

[0008] A family member who is known to have or have had the condition can refer to a family member who is or has been diagnosed with the condition.

[0009] The condition may be a (genetic) disease and / or a genetic condition and / or a (genetic) disorder.

[0010] Determining the genetic family history risk score of a patient having the condition based on / using the genetic risk score and the family history risk score may include adding the genetic risk score and the family history risk score (multiplied by a penetrance value).

[0011] Determining a genetic family history risk score for a patient having the condition based on / using the genetic risk score and the family history risk score may include multiplying the genetic risk score and the family history risk score (with a penetrance value).

[0012] The information may further indicate, for at least one, or each, of the patient's family members, the family member's role in relationship to the patient.

[0013] The information may further indicate, for at least one or each of the patient's multiple family members, the age of the family member (either current age, age at the time the condition was diagnosed, or age at the time of death) and the status of the family member (deceased or alive).

[0014] The information may further indicate, for at least one, or each, of the patient's multiple family members, any of the family member's identification code (the method may include assigning an identification code to the family member), the family member's gender, the family member's father's identification code, and the family member's mother's identification code.

[0015] The computer-implemented method may further include converting the information in the JSON format into a structured data format.

[0016] The transformation may include applying a set of transformation rules to the JSON formatted information.

[0017] The structured data format can be a matrix / table.

[0018] The computer-implemented method may further include determining a pattern of inheritance of the condition by applying rules defining a plurality of patterns of inheritance to information indicating whether each of the plurality of family members of the patient is known to have or have had the condition.

[0019] Multiple inheritance patterns can include any of autosomal dominant, autosomal recessive, X-linked recessive, X-linked dominant, and Y-linked.

[0020] Determining the mode of inheritance of the condition involves: Whether each of multiple family members of the patient is known to have or have had the condition; the sex of each of the patient's family members; For at least one family member, an identification code for the family member's father; For at least one family member, an identification code of the family member's mother; and Optionally, an identification code for each family member; The information indicative of may include applying rules defining multiple inheritance patterns.

[0021] Assigning at least one genotype to each of the plurality of family members of the patient includes: Whether each of multiple family members of the patient is known to have or have had the condition; the sex of each of the patient's family members; For at least one family member, an identification code for the family member's father; For at least one family member, an identification code of the family member's mother; and Optionally, an identification code for each family member; The information indicative of may include applying rules defining multiple inheritance patterns.

[0022] Determining a genetic risk score indicative of the likelihood that the patient has the condition using Mendelian and / or Bayesian analysis based on the assigned genotypes of the patient's family members can include determining the probability that the patient carries a genotype that causes the condition.

[0023] Determining a genetic risk score indicative of the likelihood that a patient has a condition using Mendelian analysis based on the assigned genotypes of the patient's family members can include determining the probability that the patient carries a genotype that causes the condition based on the assigned genotypes of the patient's mother and father (and using rules that define possible genotypes for the children of the two individuals based on the genotypes of these individuals).

[0024] Determining the probability that the patient carries a condition-causing genotype based on the assigned genotypes of the patient's mother and father can include using a Punnett Square based approach.

[0025] determining a genetic risk score indicative of the likelihood that the patient has the condition using Bayesian analysis based on the assigned genotypes of the patient's family members includes determining, as a prior probability, the probability that the patient carries each possible genotype based on the assigned genotypes of the patient's mother and father (and using rules that define possible genotypes for children of the two individuals based on the genotypes of these individuals); determining the conditional probability that at least one child of the patient will carry their assigned genotype given that the patient carries each genotype and based on the assigned genotype of the at least one child's other parent; using Bayesian analysis to determine the (Bayesian) probability that the patient carries a genotype that causes the condition; may include.

[0026] The step of determining the family history risk score comprises: determining a first contribution to the family history risk score based on the number of family members of the patient who are known to have or have had (been diagnosed with) the condition and who are not known to have died from the condition; determining a second contribution to the family history risk score based on the number of members of the patient's family known to have died from the condition; below: the age at which the condition was diagnosed of at least one (or each) family member who is known to have or have had (been diagnosed with) the condition and who is not known to have died from the condition; the age at death of at least one family member (or each) known to have died from said condition; determining a third contribution to the family history risk score based on summing said first to third contributions with corresponding first to third weighted scores; may include.

[0027] The first contribution may be determined to increase with the number of family members of the patient who are known to have or have had (been diagnosed with) the condition and who are not known to have died from the condition; and / or The second contribution may be determined to increase as the number of family members of the patient known to have died from the condition increases; and / or The third contribution may be determined to increase as the age of family members who are known to have or have had (been diagnosed with) the condition and who are not known to have died from the condition decreases, and as the age of family members who are known to have died from the condition decreases.

[0028] The step of determining the first contribution comprises: determining the number of first-degree family members of the patient who are known to have or have had (been diagnosed with) the condition and who are not known to have died from the condition; determining the number of second-degree family members of the patient who are known to have or have had (been diagnosed with) the condition and who are not known to have died from the condition; determining the number of third-degree family members of the patient who are known to have or have had (been diagnosed with) the condition and who are not known to have died from the condition; summing the determined number of family members with corresponding first-degree, second-degree, and third-degree primary weighting factors; Including, First-degree family members include any of the following: parents, siblings, and children Second-degree family members include aunts, uncles, grandparents, grandchildren, nieces, nephews, and half-siblings; Third-degree family members may include any of the following: cousins, great-grandparents, great-uncles, great-aunts, great-nephews, great-nieces, great-grandchildren, half-aunts, and half-uncles.

[0029] The step of determining the second contribution comprises: determining the number of first-degree family members of the patient known to have died from the condition; determining the number of second-degree family members of the patient known to have died from the condition; determining the number of third-degree family members of said patient who are known to have died from said condition; summing the determined number of family members with corresponding first-degree, second-degree, and third-degree quadratic weighting factors; Including, First-degree family members include any of the following: parents, siblings, and children Second-degree family members include aunts, uncles, grandparents, grandchildren, nieces, nephews, and half-siblings; Third-degree family members may include any of the following: cousins, great-grandparents, great-uncles, great-aunts, great-nephews, great-nieces, great-grandchildren, half-aunts, and half-uncles.

[0030] Determining the third contribution includes calculating:

number

[0031] Determining the first contribution may include dividing the summed total by a number of family members of the patient's plurality of family members.

[0032] The first through third primary weighting factors may be based on the number of first through third degree family members, respectively, in the plurality of family members.

[0033] The first through third primary weighting factors may be determined by dividing the first through third primary weighting factors by the number of first through third degree family members in the plurality of family members.

[0034] Determining the second contribution may include dividing the summed total by the number of family members of the patient's plurality of family members.

[0035] The first through third secondary weighting factors may be based on the number of first through third degree family members, respectively, in the plurality of family members.

[0036] The first through third secondary weighting factors may be determined by dividing the first through third secondary weighting factors by the number of first through third degree family members in the plurality of family members.

[0037] Determining the third contribution may include dividing the quantity f3 by the number of family members in the patient's plurality of family members, or by the number of family members taken into account in the calculation of the quantities cond1 and cond2.

[0038] The fourth and fifth weighting factors may be based, respectively, on the number of family members of the patient who are known to have or have had (diagnosed with) the condition but are not known to have died from the condition, and the number of family members of the patient who are known to have died from the condition.

[0039] The sixth to eighth weighting factors may be determined by dividing the sixth to eighth pre-secondary weighting factors, respectively, by the number of first- to third-degree family members among the plurality of family members, or by the number of first- to third-degree family members taken into account in the calculation of the quantities cond1 and cond2.

[0040] Determining the first contribution may include dividing the summed sum by the number of family members among the patient's plurality of family members, and / or determining the second contribution may include dividing the summed sum by the number of family members among the patient's plurality of family members, and / or determining the third contribution may include dividing the quantity f3 by the number of family members in the patient's plurality of family members or by the number of family members taken into account in the calculation of the quantities cond1 and cond2.

[0041] Determining the genetic risk score can include multiplying the genetic risk score by a penetrance value.

[0042] Penetrance values ​​can indicate how likely an individual carrying a condition-causing genotype is to have the condition.

[0043] Penetrance values ​​can indicate the percentage of individuals in a group that have / suffer from the condition, where each individual in the group has the genotype that causes the condition.

[0044] The group can include individuals in a first age range.

[0045] The predicted age of the patient, calculated by adding the predicted age to the patient's current age, may be within the first age range.

[0046] The condition can be a first condition, and the method can include performing the steps of assigning a genotype, determining a genetic risk score, determining a family history risk score, and determining a genetic family history risk score for a second condition.

[0047] The method can include performing the steps of assigning a genotype, determining a genetic risk score, determining a family history risk score, and determining a genetic family history risk score for a plurality of conditions.

[0048] The computer-implemented method can include extracting information from the unstructured medical data indicating whether each of a plurality of family members of the patient is known to have or has had the condition.

[0049] The computer-implemented method can include extracting information about at least one of a plurality of family members of the patient from the unstructured medical data, where the information can include a role of the family member indicating a relationship of the family member to the patient and information indicating whether the family member is known to have or have had the condition.

[0050] This information may include the condition of the family member and / or the age of the family member (current age, age at death, age when diagnosed with the condition).

[0051] The computer-implemented method can include extracting information using trained models using family medical history (FMH), Named Entity Recognition (NER) and Relation Extraction (RE) to extract entities and relationships between entities from the unstructured data.

[0052] The unstructured medical data may include a clinical report of the patient and / or a clinical report of at least one of a number of family members of the patient.

[0053] The computer-implemented method can include training a family medical history model to obtain a trained FMH model, the training comprising: receiving unstructured training (medical history) data; Splitting unstructured training (medical history) data into sentences and tokenizing each sentence to extract tokens (each token containing a word or punctuation mark (only)); performing noun detection among the tokens; identifying family member role keywords from among the detected nouns (by comparing at least some of the detected nouns to a dictionary of family member role keywords); storing the family member role keywords as part of the annotation dataset; identifying at least one observation associated with a family member role keyword (and including terms related to a condition) from among the tokens and storing the at least one observation associated with the family member role keyword in an annotation dataset; Optionally, identifying from among the tokens at least one context keyword associated with the family member role keyword (by using a dictionary of context keywords) and storing the at least one context keyword associated with the family member role keyword in the annotation dataset; annotating unstructured training (medical history) data using the annotation dataset (entities and relationships therein); and training the family medical history model to use NER and RE to extract information (entities and relationships) contained in the annotations as entities from the unstructured training (medical history) data using the annotations of the unstructured training (medical history) data as ground truth information (and using at least one trained language model). The information contained in the annotations can be considered to correspond to the "extracted information" described above in relation to the definition of the first aspect.

[0054] Identifying at least one observation associated with a family member role keyword may include, where the family member role keyword is a (first) target family member role keyword, analyzing tokens occurring in the unstructured training (medical history) data between an occurrence of the (first) target family member role keyword and a next occurrence of the family member role keyword, and identifying (among those tokens) at least one token that meets at least one observation criterion as at least one observation associated with the target family member role keyword.

[0055] The computer-implemented method may include, for another family member role keyword (being a second target family member role keyword) that occurs in the unstructured training (medical history) data prior to an occurrence of the (first) target family member role keyword and that is separated from the (first) target family member role keyword by a conjunction (being a comma or the word "and" or a symbol indicating the word "and"), identifying at least one token identified as at least one observation associated with the (first) target family member role keyword as at least one observation associated with the other (second target family member role keyword).

[0056] The computer-implemented method may further include performing a syntax tree dependency analysis to generate syntactic tags for the tokens prior to identifying the at least one observation related to the family member role keyword, and the at least one observation criterion may include that the token must have (or be within) a syntactic tag of pobj or dobj or conj to be considered an observation.

[0057] Identifying the at least one observation associated with the family member role keyword can include identifying a modality of the at least one observation. Storing the at least one observation can include storing a modality associated with the at least one observation in the annotation dataset.

[0058] Identifying at least one situational keyword associated with a family member role keyword may include identifying at least one situational keyword as associated with a family member role keyword if / when the at least one situational keyword is part of a token that includes the family member role keyword.

[0059] Identifying at least one situational keyword associated with the family member role keyword can include implementing a first situational search, the first situational search including analyzing tokens occurring within the unstructured training (medical history) data between an occurrence of the family member role keyword that is a family member role keyword and a next occurrence of the family member role keyword to identify (among those tokens) at least one situational keyword (not already associated with the family member role keyword) and identifying the at least one situational keyword as associated with the first family member role keyword.

[0060] Identifying at least one context keyword associated with the family member role keyword may include implementing a second context search. The second context search may include: identifying a second (another) family member role keyword that occurs in the unstructured training (medical history) data prior to an occurrence of the first family member role keyword and that is separated from the first family member role keyword by a connecting element (a comma or the word "and"); and identifying at least one context keyword identified in the first context search as being associated with a second family member role keyword.

[0061] The computer-implemented method may further include identifying, from among the tokens, family side keywords (according to a dictionary of family side keywords) associated with the family member role keywords, and storing the family side keywords in association with the family member role keywords in the annotation dataset (the family side keywords being one of a group including maternal and paternal).

[0062] Identifying a family side keyword associated with a family member role keyword may include identifying a family side keyword as associated with a family member role keyword if / when the family side keyword is part of a token that includes the family member role keyword.

[0063] The computer-implemented method may further include using part-of-speech (POS) analysis to assign POS tags to tokens / words in the unstructured (medical history) data.

[0064] Performing noun detection may include detecting tokens / words that have a POS tag of a noun.

[0065] Annotating the unstructured training (medical history) data may include annotating the unstructured training (medical history) data using a Java Script Object Notation (JSON) format.

[0066] Training the family member medical history model may further include, in a step preceding using annotations in the unstructured training (medical history) data as ground truth information, converting the annotated unstructured training (medical history) data into the following: Begin-entity, Inside-entity, Other, BIO format, or Begin-entity, Inside-entity, Other, End, Single, BIOES format, or Begin-entity, Inside-entity, Last, Other, Unique, BILOU format.

[0067] The computer-implemented method can further include training the family medical history model to obtain a trained family medical history model, the training comprising: receiving unstructured training (medical history) data; Splitting unstructured training (medical history) data into sentences and tokenizing each sentence to extract tokens (tokens include family member role keywords and / or situation keywords); Performing noun detection among the tokens (and extracting sentence parts of speech); identifying family member role keywords from among the detected nouns (by comparing at least some of the detected nouns to a dictionary of family member role keywords); extracting at least one group (of words / tokens / entities) including (each of the plurality of groups including) a family member role keyword and at least one of a situation keyword associated with the family member role keyword and an observation associated with the family member role keyword, wherein for any token including the family member role keyword and the situation keyword (according to the dictionary of situation keywords), the group including the family member role keyword includes the situation keyword; generating a syntax tree tag for the tokens (to analyze relationships between the detected nouns / entities) and identifying at least one observation associated with the family member role keyword (and including a term related to the condition) based on the syntax tree tag, where a group including the family member role keyword includes at least one observation; annotating unstructured training (medical history) data using the extracted groups; and training a family medical history model to use annotations in the unstructured training (medical history) data as ground truth information (and using at least one trained language model) to extract information contained in the annotations as entities from the unstructured training (medical history) data using NER and RE.

[0068] Identifying the at least one observation associated with the family member role keyword can include identifying a modality of the at least one observation. A group including the family member role keyword and the at least one observation can include a modality.

[0069] The computer-implemented method may further include, for any token that includes a family member role keyword but not a situation keyword (or for any token that includes a family member role keyword), the family member role keyword being a first family member role keyword, performing a first situation search, the first situation search including analyzing tokens occurring in the unstructured training (medical history) data between an occurrence of the first family member role keyword and a next occurrence of the family member role keyword to identify (among those tokens) a situation keyword, and a group that includes the first family member role keyword includes the identified situation keyword.

[0070] The computer-implemented method may further include performing a second context search for any tokens that include a family member role keyword but are not status keywords that were not extracted as a group including the status keyword after the first context search, the second context search comprising: The method includes identifying a second (another) family member role keyword that occurs in the unstructured training (medical history) data before the occurrence of the first family member role keyword and that is separated from the first family member role keyword by a connecting element (a comma or the word "and"), wherein a group including the second (another) family member role keyword includes a condition keyword that is also included in a group including the first family member role keyword of the first situation search.

[0071] For any token that contains a family member role keyword and a family side keyword (according to the dictionary of family side keywords), the group that contains the family member role keyword may contain a family side keyword (the family side keyword is one of a group that includes maternal and paternal).

[0072] The family member role for a family member may include information indicating the family side of the family member (the family side is maternal or paternal).

[0073] Each observation may include information indicating the observation modality (the observation modality is positive or negative).

[0074] The computer-implemented method may optionally further include extracting information indicative of the gender of the at least one family member based on the family member role of the at least one family member (and based on a rule expressing a correspondence between gender and family member role).

[0075] The computer-implemented method may further include extracting information from the unstructured (medical history) data regarding at least one family member of the plurality of family members of the subject patient, and the computer-implemented method may further include extracting information of at least one relationship(s) between the family members based on the family member role of each family member (and based on rules indicating the relationships between the family member roles).

[0076] The computer-implemented method may further include predicting a (genetic family history) diagnosis for the patient based on the genetic family history risk score and outputting the diagnosis.

[0077] Predicting the (genetic family history) diagnosis can include selecting the condition with the highest genetic family history risk score (if that genetic family history risk score exceeds a genetic family history risk score threshold).

[0078] The computer-implemented method may further include outputting at least one (genetic family history) diagnosis for the patient based on the genetic family history risk score.

[0079] Predicting the at least one (genetic family history) diagnosis may include selecting at least one / any condition having a genetic family history score above a genetic family history risk score threshold.

[0080] The computer-implemented method may further include outputting a list of high-risk conditions for the patient based on the determined genetic family history risk score.

[0081] The computer-implemented method may further include receiving at least one physiological measurement of the patient and outputting a diagnosis of the patient based on the at least one physiological measurement and the genetic family history risk score.

[0082] The computer-implemented method can further include receiving at least one symptom of the patient and outputting a diagnosis of the patient based on the at least one symptom and the genetic family history risk score.

[0083] The computer-implemented method may further include receiving at least one physiological measurement of the patient and at least one symptom of the patient, and outputting a diagnosis of the patient based on the at least one physiological measurement, the at least one symptom, and the genetic family history risk score.

[0084] The computer-implemented method comprises: predicting at least one genetic family history diagnosis, the at least one genetic family history diagnosis being at least one diagnosis for the patient based on a genetic family history risk score; predicting at least one physiological diagnosis of the patient, the at least one physiological diagnosis being at least one diagnosis of the patient based on at least one symptom of the patient and / or at least one physiological measurement of the patient; The method may further include comparing the at least one genetic family history diagnosis to the at least one physiological diagnosis, and if at least one diagnosis of the at least one genetic family history diagnosis is identical to a diagnosis of the at least one physiological diagnosis, outputting the at least one diagnosis as the at least one final diagnosis.

[0085] The computer-implemented method comprises: predicting at least one genetic family history diagnosis, the at least one genetic family history diagnosis being at least one diagnosis for the patient based on a genetic family history risk score; predicting at least one condition diagnosis, the at least one condition diagnosis being at least one diagnosis for the patient based on at least one symptom of the patient; predicting at least one measurement diagnosis, the at least one measurement diagnosis being at least one diagnosis of the patient based on at least one physiological measurement of the patient; The method may further include comparing the at least one genetic family history diagnosis, the at least one symptom diagnosis, and the at least one measurement diagnosis, and if the at least one diagnosis of the at least one genetic family history diagnosis is the same as the at least one diagnosis of the at least one symptom diagnosis and the at least one measurement diagnosis, outputting the at least one diagnosis as the at least one final diagnosis.

[0086] The at least one physiological measurement may include at least one of the following: heart rate, temperature; at least one electrocardiogram (ECG) measurement, at least one electromyogram (EMG) measurement, at least one galvanic skin response (GSR), sensor measurement, a measurement of sweat gland activity, at least one optical sensor measurement, a pH measurement, a blood pressure measurement, a pacemaker pulse detection measurement, a measurement of skin abnormalities by light intensity, and a blood glucose measurement.

[0087] The computer-implemented method may further include receiving at least one symptom of the patient via voice input from a user.

[0088] The computer-implemented method may further include converting the voice input to text data and extracting the at least one symptom using Named Entity Recognition (NER).

[0089] The computer-implemented method may further include outputting a recommendation to a user based on the at least one (final) diagnosis.

[0090] The recommendations may include recommended medication or recommended actions.

[0091] Predicting at least one symptom diagnosis maintaining a symptom diagnosis score for each of a plurality of possible diagnoses; adjusting at least one of the symptom diagnostic scores based on the symptom diagnostic rule set and based on at least one symptom of the patient; determining at least one of the possible diagnoses having the highest symptom diagnosis score as at least one symptom diagnosis; may include.

[0092] Predicting at least one physiological diagnosis maintaining a physiological diagnosis score for each of a plurality of possible diagnoses; adjusting at least one of the physiological diagnostic scores based on the physiological diagnostic rule set and based on at least one physiological measurement of the patient; determining at least one of the possible diagnoses having the highest physiological diagnosis score as the at least one physiological diagnosis; may include.

[0093] Determining at least one genetic family history diagnosis and / or, disregarding the diagnosis if the genetic family history risk score is below a genetic family history risk score threshold. Determining at least one symptom diagnosis can include disregarding the diagnosis if the symptom diagnosis score is below a symptom diagnosis score threshold; and / or Determining at least one physiological diagnosis can include disregarding the diagnosis if its physiological diagnosis score is below a physiological diagnosis score threshold.

[0094] The symptom diagnostic rule set can include adding to the symptom diagnostic score for a diagnosis of heart failure if at least one symptom includes the following: fatigue, and / or chest pain, and / or bad breath, and / or tachycardia, and / or nausea, and / or increased heart rate, and / or persistent cough.

[0095] The symptom diagnosis rule set may include: If the at least one symptom includes fatigue, adding to the at least one symptom diagnostic score for either heart failure or congestive heart failure; and / or If at least one symptom includes chest pain, adding to at least one symptom diagnostic score for any of heart failure, congestive heart failure, muscle tone, gastroesophageal reflux disease, asthma, costochondritis, and valvular heart disease; and / or If at least one symptom includes bad breath, adding to at least one symptom diagnostic score for any of heart failure, congestive heart failure, pneumonia, coronavirus, asthma, emphysema, and valvular heart disease; and / or if the at least one symptom includes tachycardia, adding to at least one symptom diagnostic score for any of heart failure, congestive heart failure, coronary artery disease, heart attack, congenital heart defect, valvular heart disease, high blood pressure, and cardiomyopathy; and / or If the at least one symptom includes nausea, adding to at least one symptom diagnostic score for either heart failure or congestive heart failure; and / or if at least one symptom includes increased heart rate, adding to at least one symptom diagnostic score for any of heart failure, congestive heart failure, coronary artery disease, heart attack, congenital heart defect, valvular heart disease, high blood pressure, and cardiomyopathy; and / or If at least one symptom includes persistent cough, add to at least one symptom diagnostic score for any of heart failure, congestive heart failure, chronic obstructive pulmonary disease, gastroesophageal reflux disease, asthma, and coronavirus.

[0096] The symptom diagnosis rule set may include: If the at least one symptom includes fatigue, adding to the at least one symptom diagnostic score for either heart failure or congestive heart failure; and / or If the at least one symptom includes chest pain, adding to at least one symptom diagnostic score for any of heart failure, congestive heart failure, and valvular heart disease; and / or If at least one symptom includes bad breath, adding to at least one symptom diagnostic score for any of heart failure, congestive heart failure, and valvular heart disease; and / or if the at least one symptom includes tachycardia, adding to at least one symptom diagnostic score for any of heart failure, congestive heart failure, coronary artery disease, heart attack, congenital heart defect, valvular heart disease, high blood pressure, and cardiomyopathy; and / or If the at least one symptom includes nausea, adding to the at least one symptom diagnostic score for either heart failure or congestive heart failure; and / or if at least one symptom includes increased heart rate, adding to at least one symptom diagnostic score for any of heart failure, congestive heart failure, coronary artery disease, heart attack, congenital heart defect, valvular heart disease, high blood pressure, and cardiomyopathy; and / or If at least one symptom includes persistent cough, add to at least one symptom diagnostic score for either heart failure or congestive heart failure.

[0097] The physiological diagnostic rule set may include adding to said physiological diagnostic score for a diagnosis of heart failure if at least one symptom includes:

number

[0098] The physiological diagnostic rule set may include: If at least one physiological measurement includes an enlarged P wave (detected from an ECG), adding to at least one physiological diagnostic score for any of atrial enlargement, chronic respiratory disease, heart failure, congestive heart failure, cardiomyopathy, congenital heart defect, and valvular heart disease; and / or If at least one physiological measurement includes a prolonged QRS duration (as detected from an ECG), adding to at least one physiological diagnostic score for any of heart failure, congestive heart failure, atrial fibrillation, coronary artery disease, arrhythmia, ischemic heart disease, and valvular heart disease; and / or if at least one physiological measurement includes left axis deviation (as detected from an ECG), adding to at least one physiological diagnostic score for any of ischemic heart disease, heart failure, congestive heart failure, and congenital heart defects; Adding to at least one physiological diagnostic score for either heart failure and coronary heart disease if at least one physiological measurement has a time to ID greater than 50 seconds (as detected from the ECG); and / or If at least one physiological measurement includes cross-sectional muscle loss (as detected from EMG), add to at least one physiological diagnostic score for any of heart failure, congestive heart failure, and skeletal muscle atrophy; and / or If at least one physiological measure includes muscle weakness (as detected from EMG), add to at least one physiological diagnostic score for any of heart failure, congestive heart failure, skeletal muscle atrophy, and muscular dystrophy; and / or if at least one physiological measure includes high muscle fatigability (as detected from EMG), add to at least one physiological diagnostic score for any of heart failure, congestive heart failure, skeletal muscle atrophy, and muscular dystrophy; and / or adding to at least one physiological diagnostic score for any of heart failure, congestive heart failure, skeletal muscle atrophy, muscular dystrophy, and neuropathy if at least one physiological measure includes low submaximal contractility (as detected from EMG); and / or adding to at least one physiological diagnostic score for any of heart failure, congestive heart failure, bradypnea, pulmonary disorder, chronic bronchitis, and pneumonia if at least one physiological measurement includes a low respiratory rate (as detected from a pacemaker pulse detection measurement); and / or and / or adding to at least one physiological diagnostic score for any of heart failure, congestive heart failure, valvular heart disease, coronary artery disease, and cardiomyopathy if at least one physiological measurement includes a high heart rate (as detected from a pacemaker pulse detection measurement); and / or If at least one physiological measurement includes a high heart rate (as detected from a pacemaker pulse detection measurement), adding to at least one physiological diagnostic score for any of heart failure, congestive heart failure, stroke, and cardiomyopathy; and / or and / or adding to at least one physiological diagnostic score for either depression and anxiety if at least one physiological measurement includes a skin conductance (as detected from a GSR sensor measurement) of less than 15 kohms; and / or If at least one physiological measurement includes high blood pressure, adding to at least one physiological diagnosis score for any of heart failure, congestive heart failure, heart attack, stroke, arterial conditions, and aortic aneurysm.

[0099] The physiological diagnostic rule set may include: If at least one physiological measurement includes an enlarged P wave (detected from an ECG), adding to at least one physiological diagnostic score for any of atrial enlargement, heart failure, congestive heart failure, cardiomyopathy, congenital heart defect, and valvular heart disease; and / or If at least one physiological measurement includes a prolonged QRS duration (as detected from an ECG), adding to at least one physiological diagnostic score for any of heart failure, congestive heart failure, atrial fibrillation, coronary artery disease, arrhythmia, ischemic heart disease, and valvular heart disease; and / or if at least one physiological measurement includes left axis deviation (as detected from an ECG), adding to at least one physiological diagnostic score for any of ischemic heart disease, heart failure, congestive heart failure, and congenital heart defects; Adding to at least one physiological diagnostic score for either heart failure and coronary heart disease if at least one physiological measurement has a time to ID greater than 50 seconds (as detected from the ECG); and / or If at least one physiological measure includes cross-sectional muscle loss (as detected from EMG), adding to at least one physiological diagnostic score for either heart failure or congestive heart failure; and / or If at least one physiological measure includes muscle weakness (as detected from EMG), add to at least one physiological diagnostic score for either heart failure, congestive heart failure, and / or if at least one physiological measure includes high muscle fatigability (as detected from EMG), add to at least one physiological diagnostic score for either heart failure, congestive heart failure, skeletal muscle atrophy, and muscular dystrophy, and / or adding to at least one physiological diagnostic score for either heart failure or congestive heart failure if at least one physiological measure includes low submaximal contractility (as detected from EMG); adding to at least one physiological diagnostic score for either heart failure or congestive heart failure if at least one physiological measurement includes a low respiratory rate (as detected from a pacemaker pulse detection measurement); and / or and / or adding to at least one physiological diagnostic score for any of heart failure, congestive heart failure, valvular heart disease, coronary artery disease, and cardiomyopathy if at least one physiological measurement includes a high heart rate (as detected from a pacemaker pulse detection measurement); and / or If at least one physiological measurement includes a high heart rate (as detected from a pacemaker pulse detection measurement), adding to at least one physiological diagnostic score for any of heart failure, congestive heart failure, stroke, and cardiomyopathy; and / or If at least one physiological measurement includes high blood pressure, adding to at least one physiological diagnosis score for any of heart failure, congestive heart failure, heart attack, stroke, arterial conditions, and aortic aneurysm.

[0100] The symptom diagnostic rule set can include adding to the symptom diagnostic score for a diagnosis of depression if at least one symptom includes the following: apathy, and / or lack of enthusiasm, and / or sadness, and / or decreased appetite.

[0101] The symptom diagnosis rule set may include: If at least one symptom includes fatigue, adding to the symptom diagnostic score for either depression and anxiety; and / or and / or adding to the symptom diagnostic score for either depression and major depressive disorder if at least one symptom includes apathy; adding to the symptom diagnostic score for any of depression, major depressive disorder, and suicidal ideation if at least one symptom includes lack of enthusiasm; and / or If at least one symptom includes sadness, adding to the symptom diagnostic score for any of depression, major depressive disorder, and suicidal ideation; and / or If at least one symptom includes stress and / or anxiety, adding to the symptom diagnostic score for anxiety; and / or If at least one symptom includes loss of appetite, add to the symptom diagnostic score for any of depression, major depressive disorder, anorexia, and nutritional disorder.

[0102] The physiological diagnostic rule set can include adding to the physiological diagnostic score for a diagnosis of depression (and anxiety) if at least one symptom includes the following: arrhythmia, and / or high GSR variability, and / or high blood pressure, and / or low pH level, and / or high blood glucose level variability.

[0103] The computer-implemented method may further include displaying on the device information indicative of the determined genetic family history risk score and status.

[0104] The computer-implemented method may further include displaying on the device information indicative of the determined genetic family history diagnosis and optionally an associated genetic family history risk score.

[0105] The computer-implemented method may further include displaying on the device information indicative of at least one final diagnosis and, optionally, an associated genetic family history risk score.

[0106] The method may further include using the device to display information indicative of the output information, the output information comprising: At least one determined genetic family history risk score and associated condition; and a determined diagnosis and, where appropriate, an associated genetic family history risk score; Includes any of the following.

[0107] The device may be a magnetic device and / or an Internet of Things (IOT) device.

[0108] The device may include at least one light element, and the information may include a color of said light element indicating a range within which the determined genetic family history risk score falls.

[0109] The computer-implemented method can further include repeating the assignment of genotypes, determination of genetic risk scores, determination of family history risk scores, and determination of genetic family history risk scores (and determination of genetic family history or final diagnosis) upon receiving new information about family members of the patient.

[0110] According to an embodiment of the third aspect, there is provided herein a computer program which, when executed on a computer, causes said computer to carry out a method, said method comprising: assigning at least one genotype to each of a plurality of family members of the patient based on rules defining the inheritance pattern of the (genetic) disorder / disease / condition and based on information indicating whether each of the family members is known to have or have had the (genetic) disorder / disease / condition; determining, based on the assigned genotypes of the patient's family members, a genetic risk score indicating the likelihood that the patient has the (genetic) disorder / disease / condition, using Mendelian and / or Bayesian analysis; below: the number of family members of said patient who are known to have or have had said (genetic) disorder / disease / condition and who are not known to have died from said (genetic) disorder / disease / condition, and the age of at least one of said family members when they were diagnosed with said (genetic) disorder / disease / condition, the number of family members of said patient who are known to have died from said (genetic) disorder / disease / condition and the age at death of at least one of said family members; determining a family history risk score indicative of the likelihood that said patient has said (genetic) disorder / disease / condition based on determining a genetic family history risk score that the patient has the (genetic) disorder / disease / condition based on the genetic risk score and the family history risk score; A computer program product is disclosed, comprising:

[0111] According to an embodiment of a fourth aspect, herein there is provided an information processing device, comprising: a memory; and a processor coupled to said memory, said processor comprising: assigning at least one genotype to each of a plurality of family members of the patient based on rules defining the inheritance pattern of the (genetic) disorder / disease / condition and based on information indicating whether each of the plurality of family members is known to have or have had the (genetic) disorder / disease / condition; determining, based on the assigned genotypes of the patient's family members, using Mendelian and / or Bayesian analysis, a genetic risk score indicative of the likelihood of the patient having / being affected by the (genetic) disorder / disease / condition; below: the number of family members of said patient who are known to have or have had (been diagnosed with) said condition and who are not known to have died from said (genetic) disorder / disease / condition, and the age of at least one (or each) of said family members when they were diagnosed with said condition; the number of family members of said patient who are known to have died from said condition, and the age at the time of death of at least one of said family members; determining a family history risk score indicative of the likelihood that said patient has said (genetic) disorder / disease / condition based on determining a genetic family history risk score based on / using said genetic risk score and said family history risk score that said patient has said (genetic) disorder / disease / condition; An information processing device configured to:

[0112] According to an embodiment of a fifth aspect, a system is disclosed herein comprising a device and a server, wherein the server is configured to transmit output information to the device, and wherein the device is configured to display information indicative of the output information, wherein the output information comprises any of a determined genetic family history risk score and status, a determined genetic family history diagnosis and optionally an associated genetic family history risk score, and at least one final diagnosis and optionally at least one associated genetic family history risk score.

[0113] The server may be or include the information processing device of the fourth aspect described above.

[0114] The device may be a magnetic device and / or an Internet of Things (IOT) device.

[0115] The device may include at least one light element and be configured to use the light element to display a color indicating a range within which the determined genetic family history risk score falls.

[0116] The device may include a screen and may be configured to display information on the screen indicative of the output information.

[0117] According to an embodiment of a sixth aspect, there is disclosed herein an apparatus configured to receive output information, the apparatus displaying information indicative of the output information, the output information including any of a determined genetic family history risk score and status, a determined genetic family history diagnosis and optionally an associated genetic family history risk score, and at least one final diagnosis and optionally at least one associated genetic family history risk score.

[0118] The device may be a magnetic device and / or an Internet of Things (IOT) device. The device may include at least one light element and be configured to use the light element to display a color indicative of a range within which the determined genetic family history risk score falls. The device may include a screen and be configured to display information on the screen indicative of the output information.

[0119] The apparatus may be or include an information processing apparatus according to the fourth aspect above.

[0120] According to an embodiment of a seventh aspect, there is disclosed a computer program which, when executed on (or by) a computer, causes the computer to carry out a method of the first or second aspect.

[0121] According to an embodiment of an eighth aspect, there is disclosed an information processing device comprising a memory and a processor connected to the memory, the processor configured to perform the method of the first or second aspect.

[0122] Features associated with any aspect / embodiment may be applied to any other aspect / embodiment. The second aspect may be considered as an alternative to the first aspect, and subsequent features may be considered as applying to both the first and second aspects. [Brief description of the drawings]

[0123] By way of example, reference is made to the accompanying drawings in which: [Figure 1] FIG. 1 illustrates a system. [Diagram 2] FIG. [Diagram 3] FIG. [Figure 4] FIG. [Diagram 5] FIG. [Figure 6] Example code is shown below. [Figure 7] FIG. [Figure 8] FIG. [Figure 9] 1 is a diagram useful for understanding the invention. [Figure 10] FIG. [Figure 11] FIG. [Figure 12] FIG. [Figure 13] FIG. [Figure 14] FIG. [Figure 15] FIG. [Figure 16] 1 is a diagram useful for understanding the invention. [Figure 17] FIG. [Figure 18] FIG. [Figure 19] FIG. [Figure 20] FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0124] Utilizing a patient's FH in an appropriate manner can enable the development of accurate health risk prediction solutions for personal monitoring and warning systems, e.g., providing a mechanism for preventive medicine.

[0125] One aspect of the present disclosure is an ad-hoc device that provides a real-time alert system to patients about potential health risks based on family history information integrated into the patient's Electronic Health Records (EHRs). Such a device can follow the Internet of Things (IoT) paradigm, connected to the network and the patient's EHR system, and automatically and directly provides up-to-date assessments to the patient for the support of Preventive Medicine.

[0126] Features disclosed in this specification include the following:

[0127] A Magnet device that displays warning information about patient health risks based on family history in the simplest way possible to reach all patients and provides it in an easy-to-understand manner.

[0128] A module that integrates with IoT magnet devices to automatically calculate health risks (and diagnoses) based on family history, statistical models, and your own measurements.

[0129] An interactive interface within the Magnet device that allows patients to update information and contact their physicians directly.

[0130] A new measurement, the "risk factor," is included in the calculation of health risk prediction.

[0131] The following non-exhaustive but illustrative list explains some terminology:

[0132] Family Health History: A record of health information about an individual and his or her immediate family. A complete record includes information on three generations of relatives, including children, siblings, parents, aunts and uncles, nieces and nephews, grandparents, and cousins.

[0133] Preventive Medicine: A medical specialty that focuses on the health of individuals and communities. The goals of preventive medicine are to promote health and well-being and to prevent disease, disability, and death.

[0134] Text Mining: The process of extracting high-quality information from text. The process or practice of examining large collections of written resources to generate new information. The goal of text mining is to discover relevant information within text by transforming the text into data that can be used for further analysis.

[0135] Machine Learning (ML): A branch of computer science that gives computers the ability to learn without being explicitly programmed. It explores the study and construction of algorithms that can learn and make predictions from data.

[0136] Deep Learning (DL): Part of a broad family of machine learning methods based on learning data representations, as opposed to task-specific algorithms.

[0137] Artificial Neural Network / Neural Network (ANN / NN): An information processing paradigm inspired by the way biological nervous systems, such as the brain, process information. It can be used to extract patterns and detect trends that are too complex for humans or other computer technologies to recognize.

[0138] Named Entity Recognition (NER): A subtask of information extraction that attempts to find named entities mentioned in unstructured text and classify them into categories, such as family members, conditions, etc.

[0139] Relation Extraction: The task of extracting semantic relations from text. The extracted relations typically occur between two or more entities of a particular type (e.g., person, organization, place) and fall into many semantic categories (e.g., married, employed, lives in).

[0140] Internet of Things (IoT): Describes physical objects (or groups of such objects) equipped with sensors, processing power, software, and other technologies that connect and exchange data with other devices and systems over the Internet or other communications networks. The field has evolved with the convergence of several technologies, including ubiquitous computing, commodity sensors, increasingly powerful embedded systems, and machine learning.

[0141] Pedigree: A pedigree is related to genetics and is a chart that can be used to trace the inheritance of a trait or health condition through generations of a family. Pedigrees specifically show the relationships between family members and, if information is available, which individuals have the trait of interest. They can also help determine how a trait or condition is passed down through generations and what accompanies it.

[0142] Mendelian Pattern Disorders: Mendelian theory of inheritance (also called Mendelian theory) is a type of biological genetic theory that follows principles first proposed by Gregor Mendel in 1865 and 1866. For example, Mendelian disorders occur when a specific mutation in a single gene, called a germline mutation, is inherited from one parent. Well-known examples of Mendelian disorders include cystic fibrosis, sickle cell disease, and Duchenne muscular dystrophy.

[0143] Genotypes: The entire set of genes contained in the cells of an organism, but more narrowly can refer to the different alleles, or variants, of a gene for a particular trait or characteristic (in this case).

[0144] Phenotypes: Describes the observable characteristics of an individual that result from the expression of genes. Clinical manifestations in individuals with a particular genotype.

[0145] Bayesian Models: Statistical models that use probability to represent all uncertainty in the model. There is uncertainty about the output as well as uncertainty about the inputs (aka parameters) to the model. Probabilities represent the degree of confidence in an event. The degree of confidence may be based on prior knowledge about the event, such as the results of previous experiments, or it may be based on personal beliefs about the event.

[0146] Punnett Squares: Diagrams of squares used to predict genotypes for a particular mating or breeding experiment. Named after Reginald C. Punnett, who invented the approach in 1905. The diagrams are used by biologists to determine the probability that offspring will have a particular genotype. A Punnett square is a tabular summary of the possible combinations of maternal and paternal alleles.

[0147] Penetrance: The proportion of individuals in a population with a particular genotype that exhibit the phenotype associated with that genotype.

[0148] Existing methodologies have the following problems: There is no device that provides a health risk warning system without sensors and must be carried at all times. There is no device that can estimate risk using family history alone. There is no technology that can automatically obtain family medical history without the need for a questionnaire in order to estimate health risks using IoT devices. There is no technique to combine multiple statistical models that take into account the age range of the patient and relatives (e.g., with risk factors) to estimate health risk / diagnosis.

[0149] The present disclosure includes the following aspects: The magnet device can be placed in a visible location in the home (e.g., in the refrigerator) and can highlight health risk / diagnosis warning information for the patient based on family history alone or based on other measurements as well, and present such information in the easiest way possible to reach the patient. The device does not need to be carried, and if using family history alone, no sensors or biological / physical measurements are required to calculate risk. The device can be placed in the home and only family history information is needed to calculate risk.

[0150] Magnet devices can be interactive: not only can they display a patient's health risk alerts for a list of diseases, but they can also handle input from the patient, process that input, and connect to the patient's EHR to make changes / updates or make a direct call to the patient's assigned primary care physician.

[0151] Automated prediction of a patient's health risk, including indicators called "risk factors". Such indicators may be obtained by mathematical formulas of various factors extracted from family history and integrated into a final mathematical model to calculate the probability of risk / diagnosis.

[0152] A module that integrates health risk / diagnosis results based on family history, statistical models, and proprietary indicators with IoT devices and patient EHRs in parallel, for example translating / standardizing risk probability scores into a color alert system that is easy for all patients to understand.

[0153] This module could allow physicians to include reasons for results in updates to the patient's EHR beyond just the probability score, potentially improving explainability. For example, the workflow of the process that results in a resulting health risk score / diagnosis may be described in a way that allows users, such as physicians, to understand the causes of such results in a transparent manner.

[0154] FIG. 1 shows a system 11 including a family health risk estimation module 100 (which may be referred to as estimation module 100), a magnetic IoT device interface 200 (which may be referred to as device 200), a risk score and alert system integration module 160 (which may be referred to as integration module 160), and a patient EHR update section 180 (which may be referred to as update section 180).

[0155] Family health risk estimation The estimation module 100 is responsible for determining a patient's health risk / diagnosis and, as a result, generating a probability score of such risk and / or at least one diagnosis and / or at least one associated score.

[0156] Input: A text paragraph (unstructured data) from a patient's clinical report that includes family medical history.

[0157] Family Medical History (FMH) Extraction 110: This module extracts relevant named entities from family information (unstructured data) such as role, status, side, age, condition of family members, etc. This information is provided in JSON format and is processed by the next modules.

[0158] Family History Data Converter 120: This module is responsible for parsing the JSON formatted information provided in the previous module and converting it into the appropriate structured data used in the health risk calculation. This data is included in a CSV file that is sent to the health risk calculation module 140.

[0159] Health Risk Calculation Module 140 (also called Calculation Module 140): This module is responsible for running algorithms that predict the potential future health risk of a patient based on the information in the CSV file provided by the previous components. This module includes three subcomponents. The twelfth subcomponent (Family Type Classifier 142 (also called Inheritance Pattern Classifier 142) and Family Genotype Estimator 144) uses a rule-based approach with rules known from the literature. The third module (Mendel / Bayesian Risk Scoring Module 146, also called Score Module 146) integrates the new scoring factors into the overall mathematical model (two models can be used in this module: one using Mendelian and basic Punnett's square approach and the other is a more complex model using Mendelian and Bayesian algorithms).

[0160] Output of the estimation module 100: for a particular condition, the health risk score obtained for at least one of the two models, e.g. a percentage between 0% and 100%.

[0161] The computation module 140 may also perform steps of determining a diagnosis based on the health risk score, as described below. The computation module 140 may also perform steps of determining other diagnoses based on physiological measurements and / or symptoms, as described below, and may optionally determine a final diagnosis based on the determined diagnosis.

[0162] A risk score and alert system integration module 160 and an update module 180 .

[0163] The integration module 160 also sends the determined health risk information (e.g., diagnosis, status, score, etc.) to the device 200 and to the update module 180. The update module 180 is in charge of integrating and updating the health risk information in the patient's EHR, providing the physician with a transparent workflow, for example including the reasons why such results were obtained. The integration module 160 can adapt the information output from the estimation module to be visualized in the device 200, for example based on an alert color system that converts the risk score into a color system. New information from the medical history of the next of kin can be detected and processed again by the update module 180, the risk score is updated if necessary, and the updated information can be forwarded to the patient's EHR and to the device 200.

[0164] Magnet IoT device interface 200.

[0165] The device 200 may include interactive buttons that the user (i.e., the patient) can use to make updates or to connect with a doctor. A direct call can be established between the patient and doctor, or an alert signal can be sent to the patient's EHR to generate changes / updates in a central system managed by the doctor / hospital.

[0166] Input: Information received from integration module 160. This may include, for example, a list of diseases / conditions associated with the patient according to family history, calculated risk scores for diseases / conditions, and / or warning colors associated with such risks. This information may include at least one (final) diagnosis and associated scores as described below.

[0167] The steps performed by the elements illustrated in FIG. 1 are described in more detail below.

[0168] FIG. 2 illustrates a method. The method may be performed by the system 11, or by the estimation module 100, or by the information processing device 10 described below. The method is for determining a genetic family history risk score for at least one condition. Steps S20-S80 relate to a particular condition and may be repeated for at least one other condition such that a genetic family history risk score for multiple conditions may be determined. The condition may be a (genetic) disease and / or a genetic condition and / or a (genetic) disorder. Any of these terms may be used interchangeably herein.

[0169] Step S20 involves extracting information about the medical history of the patient's family members from the unstructured data, and is described below with reference to Figure 3. Step S30 involves transforming the extracted information. The information may be transformed from a JSON format into a table / matrix format.

[0170] Step S40 includes determining an inheritance pattern for the condition. For example, step S40 may further include determining an inheritance pattern for the condition by applying rules defining a plurality of inheritance patterns to information indicating whether each of a plurality of family members of the patient is known to have or has had the condition (e.g., has been diagnosed with the condition or has not been diagnosed with the condition).

[0171] Step S50 includes assigning genotypes to the patient's family members, i.e., step S50 includes assigning at least one genotype to each of the patient's family members based on rules defining the inheritance pattern of the condition and based on information indicating whether each of the patient's family members has or has had the condition.

[0172] Step S60 involves determining a genetic risk score that indicates the likelihood that the patient has the condition based on the assigned genotypes of the patient's family members using Mendelian and / or Bayesian analysis.

[0173] Step S70 includes determining a family history risk score, which indicates the likelihood that the patient has / is affected by the condition based on how many of the patient's family members have or have had the condition. Step S80 includes determining a genetic family history risk score. Step S90 includes determining a final diagnosis and outputting the final diagnosis and associated score.

[0174] The method may include only steps S20-S80 and may or may not include repeating these steps for different states. The method may not include step S20 and may receive the information instead of extracting it from unstructured data. The method may not include steps S20 and S30 and the information may be received in a suitable (e.g. table / matrix) format. Step S40 may include determining the inheritance pattern based on the known inheritance pattern of the state under consideration. That is, some states have only one inheritance pattern so that there is no need to apply rules to the information to determine the inheritance pattern. The method may not include this step if the inheritance pattern is known. The steps of the method are further described below.

[0175] Family Medical History (FMH) Extraction Unit 110 (Step S20):

[0176] This module may be considered to perform step S20. This module processes the input, e.g., the clinical family medical report of the patient, and extracts relevant named entities from the family information such as relatives' roles, circumstances, sides, ages, conditions, etc. Such extraction may be done using known methodologies. Extraction may be done using third party tools, rule-based approaches, or state-of-the-art techniques for Named Entity Recognition (NER) deep learning based models.

[0177] Step S20 can include using an FMH model to extract information from the unstructured data. The FMH model can be trained as described in the following example, and step S20 can include training the FMH model in this manner.

[0178] In this example, the FMH model is trained by a model training module 20, shown in Figure 4, which includes a label annotation engine 22 and an FMH trainer 24. The model training module 20 is responsible for the learning process in creating a Family Medical History (FMH) model. The FMH model 20 is able to extract relevant expressions (entities) and their relationships from text fragments of clinical documents.

[0179] The model training module 20 receives unstructured (medical history) data, i.e. text fragments of clinical documents (including family medical information), and a pre-trained language model to fine-tune the tasks of NER and relation extraction performed by the FMH model during a deep learning process (described in relation to the FMH trainer below). The language model is, for example, the multilingual BERT (Bidirectional Encoder Representations from Transformers), abbreviated as mBERT, https: / / github.com / google-research / bert / blob / master / multilingual.md, or BioBERT (an implementation of BERT trained on different combinations of biomedical domain corpora, in other words, BioBERT is a domain-specific language representation model pre-trained on a large biomedical corpus), https: / / arxiv.org / abs / 1901.08746 and https: / / github.com / naver / biobert-pretrained.

[0180] The label annotation engine 22 implements rule-based algorithms to extract family medical information and uses this information to create annotated data sets for use in the learning process (described in connection with the FMH Trainer below). The label annotation engine 22 may be modular.

[0181] The FMH trainer 24 is responsible for implementing a deep learning process using state-of-the-art techniques and third-party tools to train the FMH model using the annotated dataset created by the label annotation engine 22 and generate a trained FMH model.

[0182] The output of the FMH trainer 24 and general model training module 20 is a trained FMH model that is capable of extracting family medical information from new unstructured clinical documents. That is, the FMH trainer 24 trains the FMH model to extract entities and relationships between entities from unstructured (medical history) data using named entity recognition (NER) and relationship extraction (RE).

[0183] Label annotation engine 22.

[0184] 3 illustrates a methodology performed by the label annotation engine 22 (with an example implementation for training an FMH model). The label annotation engine 22 receives input text fragments (unstructured data) of training clinical documents containing family medical information. As described above, the label annotation engine 22 implements a rule-based algorithm to extract the family medical information from the unstructured text and create an annotated dataset that is used to train the FMH model. The rule-based algorithm is illustrated in the methodology of FIG.

[0185] Step S21 includes receiving unstructured (medical history) data, splitting the unstructured (medical history) data into sentences, tokenizing each sentence to extract tokens, where the tokens include family member role keywords and / or situation keywords, and performing noun detection (and sentence part of speech (PoS) extraction) between the tokens. Step S21 also includes generating a syntax tree dependency for each sentence to analyze the relationships between the detected nouns / entities.

[0186] That is, step S21 includes process tokenization, noun detection, POS tagging, and syntax tree dependency. As unstructured (medical history) data, family history information of discharge summaries is collected from public repositories. The information is filtered by document section names to obtain the appropriate data. Cleaning and text processing tasks are performed on the collected information / data. The training data may be related to a target patient. The target patient may be the same as or different from the target patient to which the unstructured data (not for training, described below) is related. The training data may be related to multiple different families and therefore different target patients.

[0187] For tokenization, a third-party library can be used to split the family history text into sentences and tokenize each sentence. Tokenization is a method of breaking text into smaller units called tokens, where a token can be either a word, character, or subword. Noun detection and part-of-speech (POS) extraction can be performed on the sentences to obtain relevant data.

[0188] Generate a syntax tree dependency of the sentence and analyze the relationships between the entities. In the next step of the method, the information processed / extracted in step S21 helps in extracting entities and relationships related to family medical history. For example, for the sentence "My mother and grandmother died of diabetes", the information extracted by tokenization follows the following notation format:

number

[0189] The meaning of the POS tags is as follows: NOUN indicates a noun, VERB indicates a verb, ADP indicates a position, PUNCT indicates a punctuation mark, and CCONJ indicates a coordinating conjunction. Further available POS tags can be found at https: / / universaldependencies.org / u / pos / all.html.

[0190] The meaning of the syntax tree tags (grammar tags for syntax tree dependencies) is: nsubj=subject (noun), ROOT=main verb, prep=preposition, punct=punctuation, cc=coordination, pobj=object of preposition. Further syntax tree tags available can be found at https: / / downloads.cs.stanford.edu / nlp / software / dependencies_manual.pdf.

[0191] Step S21 can be thought of as including tokenization, optionally followed by noun detection, optionally followed by POS analysis and / or syntax tree tag analysis. Noun detection can be thought of as including using POS tags and / or syntax tree tags. Nouns can be detected by filtering the tokens to find tokens that contain elements with the POS tag NOUN.

[0192] Step S22 includes identifying family member role keywords from among the detected nouns by comparing at least some of the detected nouns to a dictionary of family member role keywords.

[0193] That is, step S22 involves extracting family member roles. An initial dictionary may be defined with 31 basic types (keywords) for family roles. Family member roles include entities such as father, mother, etc. From such an initial set, synsets (i.e., a collection of one or more synonyms sharing a common meaning) may be searched, for example, in the WordNet (http: / / compling.hss.ntu.edu.sg / omw / ) resource (with multilingual capabilities) to build an extended dictionary of family roles (keywords) for a desired language (e.g., English). Using this particular method, 25 extended entities are obtained, making a total of 56 family role types (keywords) in the dictionary.

[0194] The nouns detected in the sentences in step S22 can be filtered using some parameters of those nouns to return a list of family roles (keywords) from the family history text. The (filtered) nouns are then compared to a dictionary to match potential family roles. The resulting matched entities are output to the next step.

[0195] Step S23 involves extracting the family side associated with each family role. The keywords "maternal" or "paternal" are searched for. Such keywords are extracted in tokenization as (unique) tokens together with the associated family role keywords. Thus, it is checked whether these keywords (maternal or paternal) are present in each (noun) token that contains the family role (keyword). If present, the family side keyword is associated with the particular family role keyword in the list. The resulting matched entities are output to the next step.

[0196] Step S24 may include performing a first situation search for any token that includes a family member role keyword but not a situation keyword, the family member role keyword being a first family member role keyword, the first situation search including analysing tokens occurring in the unstructured training (medical history) data between an occurrence of the first family member role keyword and a next occurrence of the family member role keyword to identify (among those tokens) a situation keyword, and a group that includes the first family member role keyword includes the identified situation keyword.

[0197] Step S24 may further include performing a second situation search for any tokens that include a family member role keyword but are not status keywords that were not extracted as a group including the status keyword after the first situation search, the second situation search comprising: The method includes identifying a second family member role keyword that occurs in the unstructured training (medical history) data before the occurrence of the first family member role keyword and is separated from the first family member role keyword by a connecting element (a comma or the word "and"), wherein a group including the second family member role keyword includes a condition keyword that is also included in a group including the first family member role keyword of the first situation search.

[0198] That is, step S24 involves extracting situations related to each family role (keyword). A dictionary can be defined with root terms for situations such as deceased, alive, healthy, alive, etc. Such terms may be lemmatized to cover all potential verb forms or variations occurring in the text. If situation keywords are extracted together with family role keywords as (unique) tokens, then a family side extraction approach is followed (i.e., situation keywords in a token are associated with family member role keywords). In some implementations, only words with POS tags of VERB or ADJ (adjective) may be compared to the dictionary of situation keywords to identify situation keywords.

[0199] However, there are cases where this does not occur. In such cases, an iterative algorithm can be implemented that can analyze the textual information between occurrences of family roles (keywords) in the text. It iterates over all tokens of the text to find two consecutive occurrences of a family role (keyword). The tokens between such occurrences are compared to a dictionary and optionally lemmatizations to look for a match of the situation keyword. If there is a match, the found situation (keyword) is associated with the first family role keyword that appears before the situation keyword. This part of the iterative algorithm is sometimes called the first situation search.

[0200] After the first extraction of situations for family roles in the list across the text (first situation search), another part of the iterative algorithm can be implemented to identify missing situations by conjunctions. This may be called the second situation search and can be considered as the second iteration of the situation search. For example, for the sentence "His mother, father and brother are alive", in the first extraction (first situation search), the situation (keyword) "alive" is associated only with the brothers, but in the second iteration step, it can be implemented to associate the situation (keyword) "alive" with the family members (role keywords) "mother" and "father" as well. The final list of family roles with associated situations is output for the next step.

[0201] Step S25 may include identifying at least one observation related to a family member role keyword, where the family member role keyword is a (first) target family member role keyword, and analyzing tokens occurring in the unstructured training (medical history) data between an occurrence of the (first) target family member role keyword and a next occurrence of the family member role keyword, and identifying at least one token among those tokens that meets an observation criterion as at least one observation related to the target family member role keyword. For example, in consideration of the syntax tree dependency (and POS tag), to identify an observation, the method needs to find a noun (POS=NOUN) and filter by a syntax tag of pobj (preposition of object) or dobj (direct object) or conj (conjunction). A token can be considered as an observation only if the tag of the syntax tree dependency is in one of these values.

[0202] Step S25 may include identifying, for another family member role keyword that occurs in the unstructured training (medical history) data before the occurrence of the first target family member role keyword and that is a second target family member role keyword separated from the first target family member role keyword by a conjunction (a comma or the word "and"), at least one token identified as at least one observation associated with the first target family member role keyword as at least one observation associated with the second target family member role keyword.

[0203] That is, step S25 involves extracting observations related to each family role. A syntax tree parser is used to identify observations based on their dependencies with the nouns detected in the sentence. The search for observations is repeated for all detected nouns in the text. The following approach is similar to the first and second situation searches in step S24. Tokens (or nouns) contained between two occurrences of family roles (keywords) in the text are analyzed. If such tokens / nouns satisfy a set of filters and dependency types (observation criteria), they are marked as observations and associated with the first family role (keyword) occurrence (i.e., the family role keyword that appears before the observation). In case of conjunctions, the observation extraction uses the same method as used in situation extraction (second situation search). The updated list of family roles (each family role with related observations) is output to the next step.

[0204] Only observations relevant to the condition under consideration can be extracted, such as observations containing keywords related to the condition, which can be included as observation criteria. Or, any observation can be extracted. For example, step S20 (and optionally step S30) of FIG. 2 can be a step not associated with a particular condition, and subsequent steps can be repeated for each condition. Observations extracted can include that a family member died from the condition under consideration or another condition.

[0205] Steps S22-S25 (and optionally step S26) may be considered to include extracting at least one group (or multiple groups, each group containing them) including a family member role keyword and at least one of a situation keyword associated with the family member role keyword and an observation associated with the family member role keyword, such that for any token that includes a family member role keyword and a situation keyword (according to a dictionary of situation keywords), the group that includes the family member role keyword includes the situation keyword. That is, each of the at least one family role keyword may be extracted along with a situation keyword and / or at least one observation, which may be extracted as tokens.

[0206] Step S26 includes extracting a modality of the observation. Step S26 can be considered as an extension of step S25, where identifying at least one observation associated with a family member role keyword includes identifying a modality of the at least one observation, where a group including the family member role keyword and the at least one observation includes the modality.

[0207] That is, step S26 involves extracting the modality (pos, neg) of the observation. If a family member (role keyword) in the text is described positively with the condition / disease / symptom of the observation, this may be indicated with a positive tag (pos), and if a family member (role keyword) in the text is described negatively without the condition / disease / symptom of the observation, this may be indicated with a negative tag (neg). An external model may be used to determine whether the observation is positive (pos tag) or negative (neg tag). The list of observations may be updated with these tags associated with the observations and output to the next step.

[0208] Steps S21 through S26 may be considered to include extracting information from the unstructured training (medical history) data for at least one family member of the subject patient, including a family member role (keyword) indicative of the family member's relationship to the subject patient, the family member's status (including at least one of the following groups: alive, dead, and healthy), and at least one observation of the family member.

[0209] Steps S21 to S26 are Splitting unstructured training (medical history) data into sentences and tokenizing each sentence to extract tokens; performing noun detection among the tokens; identifying family member role keywords from among the detected nouns (by comparing at least some of the detected nouns to a dictionary of family member role keywords); storing the family member role keywords as part of the annotation dataset; identifying at least one observation from among the tokens that is associated with a family member role keyword (using a dictionary of contextual keywords) and storing the at least one contextual keyword in association with the family member role keyword in an annotation dataset; identifying at least one observation from among the tokens that is associated with a family member role keyword and storing the at least one observation in association with the family member role keyword in an annotation dataset; annotating unstructured training (medical history) data using the annotation dataset (entities and relationships therein); Training a family medical history model to use NER and RE to extract information (entities and relationships) contained in the annotations as entities from the unstructured training (medical history) data using the annotations of the unstructured training (medical history) data as ground truth information (and using at least one trained language model).

[0210] That is, in some implementations, rather than extracting entities as a group (where the entities are either family member role keywords, situation keywords, observations, family side keywords, etc.), the method may involve extracting the entities and storing them in association with each other in the annotation dataset.

[0211] Step S27 involves annotating the unstructured training (medical history) data using the extracted groups (annotation dataset). That is, step S27 involves building an annotated dataset in JSON (Java Script Object Notation) from the extracted entities and relationships, i.e., family members, roles, keywords, and situations / observations, etc. Step S27 involves using an external library to write the extracted information in JSON format after processing the family history text input in the previous step. For example, for the example text "Her father died of leukemia at age 53, her aunt developed leukemia at age 19, her sister died of leukemia, and her brother died of HIV / AIDS," the final output in JSON after the previous steps and step S27 is as follows:

number

[0212] The extracted information may also include information related to age, such as the individual's current age, the age at which the individual was diagnosed with the condition (or conditions) under consideration, and the age at which the individual died, using the same or similar techniques as described herein. For example, once a condition is identified and associated with an individual (family member), a search is performed to identify the age. In this search, for example, numbers present in the text fragment associated with the individual are identified. Once a number is identified, 5-gram tokens around the number are analyzed; that is, the words around the number within a window of 5 words are analyzed. If the analyzed tokens follow a certain reserved pattern (e.g., predefined based on previous training), the number is associated with the individual as the individual's age. Further rules and / or patterns may indicate that the age is the age at which the individual was diagnosed with the condition (e.g., if the condition appears within a window of words before or after the age). Furthermore, for example, if the text indicates that the individual has died, it can be assumed that the age is related to (i.e., is) the age at death.

[0213] To create an annotated dataset, entities (any of the information extracted above, including family member role keywords, situation keywords, observations, family side keywords, observation modalities) in the unstructured training data (family history text) may be tagged with internal tags in JSON format (e.g., as described above). An annotation tagging scheme that can represent named entities and their relationships at once can be used to enable the FMH model to extract everything (all necessary entities and relationships) at the same time (in one go).

[0214] In the annotation tag scheme, the representation of the entity (NER) is as follows: Family member = FH_ROLE, Family side = FH_SIDE, Family status = FH_STATUS, Family age = FH_AGE, Family observation = FH_OBS (also including the modality of each observation: FH_OBS_POS, FH_OBS_NEG). Modality can be extracted for the status (FH_STATUS_POS, FH_STATUS_NEG), for example the terms "not alive" or "not healthy" can be used. Modality can be extracted for any of the extracted terms (family role, family side). In some implementations only negative modality can be used, so the absence of negative modality indicates positive modality.

[0215] In the annotation tag scheme, a related expression (RE) looks like this: A numeric indicator (relationship) can be included at the end of the generic tag. For example, the first occurrence of a family member role keyword in a sentence (FH_ROLE_1) has a '_1' suffix. Related entities then include a '_1' suffix to indicate the relationship (e.g., FH_STATUS_1, FH_OBS_1, etc.). A similar suffix can be used for the second occurrence ('_2'), third occurrence ('_3'), etc. of a family member role in the same sentence. This tagging scheme can also be used for nested relationships, i.e., entity relationships shared by various family members (e.g., FH_OBS_1_2, FH_SIDE_2_3, etc.). In this kind of representation, in our particular example of training data, there are 132 tag labels, although this number may vary depending on the training data used. For the example text "My mother and grandmother died of diabetes," the resulting annotated sentence would look like this according to the annotation tag scheme:

number

[0216] The annotated dataset according to the annotation tag scheme is output to the next step.

[0217] Step S28 involves converting the annotated dataset into the BIO (Begin Entities, Inside Entities, Other) format, i.e., a specific tag scheme format is required for training the FMH model (especially for fine-tuning the tasks of NER and relationship extraction in creating the FMH model using mBERT and BioBERT pre-trained language models). In the BIO format, all words of an entity are tagged. The previously annotated dataset (in JSON) is converted into the BIO format by text processing techniques, combining and cleaning terms, and / or combining tags of nested annotations. The result of this conversion in the previous example would be:

number

[0218] This annotated dataset converted to BIO format will be the final output of the label annotation engine in the running example. The BIO / IOB format (I stands for inside, O stands for outside (other), and B stands for beginning) is a tagging format for tagging tokens in chunking tasks in computational linguistics. A prefix B before a tag indicates that the tag is the beginning of a chunk, a prefix I before a tag indicates that the tag is within a chunk. The O tag indicates that the token does not belong to an entity / chunk. There are other formats available, for example BIOES (BIO is the same as a prefix +E before a tag indicating that the tag is the end of a chunk, and a prefix S before a tag indicates that the chunk is single (single element = 1 word). BIOES is also known as BILOU (L stands for last (same as E) and U stands for unique (same as S)).

[0219] In some implementations of this implementation, some method steps or portions of the method steps may be omitted and / or combined and / or performed in a different order. Steps S22-S26 may be considered to include a single step including some or all of these steps, i.e., extracting at least one group (of words / tokens / entities) that includes a family member role keyword and at least one of a situation keyword associated with the family member role keyword and an observation associated with the family member role keyword, and for any token that includes the family member role keyword and the situation keyword (according to a dictionary of situation keywords), the group that includes the family member role keyword includes the situation keyword.

[0220] Family Medical History (FMH) Trainer 24: Continuing with this execution example (of training the FMH model), the FMH trainer 24 trains the FMH model using the annotated unstructured training data output by the label annotation engine 22. That is, the FMH trainer 24 is responsible for implementing a deep learning process with state-of-the-art techniques and third-party tools using the annotated dataset created by the label annotation engine 22. For example, the FMH model can be trained using external libraries Tensorflow (https: / / github.com / tensorflow / tensorflow) and Keras (https: / / keras.io / ) for Python. For example, the techniques described in https: / / keras.io / examples / nlp / ner_transformers / #build-the-ner-model-class-as-a-kerasmodel-subclass can be used.

[0221] The input to the FMH trainer 24 is the annotated dataset from the label annotation engine 22 and pre-trained language models, e.g., mBERT and BioBERT. The FMH trainer 24 uses the pre-trained language models to implement techniques for fine-tuning NER and relationship extraction in family medical history data (unstructured (medical history) data). The operation of the FMH trainer 24 includes methods for pre-processing and preparing the input annotated training dataset, converting text to numerical representation, designing neural network architectures, and performing deep learning activities. The output of the FMH trainer 24 is a trained family medical history (FMH) model that can extract family medical information from new unstructured clinical documents.

[0222] The above example is not required.

[0223] Returning to the description of Figures 1 and 2, the extraction module 110 can support multi-language functionality to extract information from clinical reports in different languages. The result information is output in JSON format and includes, for example, the following data for each family member of the patient: (1) Family member roles: The role of the family member in relation to the current patient (e.g., mother, father, sister, uncle, grandmother). (2) Family Member Status: Current status of family members (healthy, alive, deceased, etc.). (3) Family member's side: Family member's side (maternal or paternal). (4) Age of family members: Age of family members (current age or age at time of death or age at time of diagnosis of disease or death due to the disease). (5) Family Member Observations: A list containing details of all observations (diseases, conditions, etc.) of family members and, optionally, whether they died from that condition. (6) Observation modality of family members: tag observations as positive (confirmation of occurrence of condition) or negative (absence of condition).

[0224] Below is an example of the output provided by the FMH extractor:

number

[0225] Family history data conversion unit 120 (step S30) This module may be considered to execute step S30. This module is responsible for analyzing the JSON formatted information provided by the previous module and converting such information into appropriate structured data to be used in subsequent calculations.

[0226] Input: A JSON file containing the family information from the previous module, the patient's gender (0=female, 1=male, ''=undefined), the patient's age, and observations regarding the condition under consideration (e.g., breast cancer).

[0227] In step S30, a rule-based method is used to iterate through the JSON data to obtain relevant features from the relatives required for risk score calculation. Such features include any of the following: ['ID', 'Gender', 'Age', 'Status', 'FatherID', 'MotherID', 'Affected']. ID: Member identifier (alphanumeric value), Gender: Member's gender (0=female, 1=male, ''=undefined), Age:Age of the member, Status: Member status (0=dead, 1=alive), FatherID: Identifier of the member's father (an alphanumeric value that corresponds to the ID of another member in the list of relatives. If the member's father is not in the list, the value defaults to 0), MotherID: Identifier of the member's mother (an alphanumeric value that corresponds to the ID of another member in the list of relatives. If the member's mother is not in the list, the value defaults to 0), Affected: This feature indicates whether the member is affected by the condition for which we want to calculate the patient's health risk (1=True, the member is affected; 0=FALSE, the member is not affected).

[0228] If IDs for the patient and relatives are included, they can be assigned values ​​from 1 to n (n=number of members) according to the order in which they appear in the JSON file. The patient ID can be 1, which is the first row of the matrix. For Gender, the role names of the family members can be compared to the dictionary categories. For example, role names such as mother and sister are grouped under the female category. The Age value is extracted directly from the JSON data, for example from the family member feature 'family_age'. The Status value is extracted directly from the JSON data, for example from the family member feature 'family_status'. Depending on the status label, the value is represented as 0=deceased or 1=alive. The FatherID and MotherID are extracted by iterating over the members and establishing the correct ID based on the role names and 'family_side' (maternal, paternal). The Affected value is extracted by taking the feature 'family_observation' in the positive modality and comparing such observations with those introduced in the input by string similarity. If the comparison results in a score greater than the 0.9 threshold, the relative can be assumed to be affected (=1), otherwise the relative can be assumed to be unaffected (=0).

[0229] A matrix is ​​created, where the columns are ['ID', 'Gender', 'Age', 'Status', 'FatherID', 'MotherID', 'Affected'] and the rows may be values ​​for each relative and patient (row 1). This data will be included in a CSV file that will be sent to the Health Risk Calculator module. Figure 5 shows an example of such a CSV file (without the Status column). Row 1 is the data of the patient (a male patient aged 25).

[0230] Health Risk Calculation Module 140 This module is considered to execute steps S40-S80. It is responsible for the main algorithms and mathematical models that predict the patient's potential future health risks and / or diagnoses based on the information in the CSV file provided in step S30.

[0231] Family type classification unit 142 (step S40) This module is considered to perform step S40. This module applies known rules from the literature to automatically classify the type of inheritance pattern that the condition under consideration exhibits, as indicated in the extracted information. From the literature, the different inheritance patterns that conditions (e.g. Mendelian diseases) follow are widely known, as are the specific characteristics of each pattern (Chial, H. (2008), Mendelian genetics: patterns of inheritance and single-gene disorders”, Nature Education, 1(1), 63). The multiple possible inheritance modes (or inheritance patterns or pedigree types) include: (1) Autosomal dominant, (2) Autosomal recessive, (3) X-linked recessive (4)X-linked dominant, (5) Y-linked,

[0232] The rules governing each inheritance pattern are listed below: Rules marked with an * are rules that are applied to the information extracted in step S40 to determine the inheritance pattern.

[0233] (1) Autosomal dominant ancestry / inheritance pattern An affected child usually has an affected parent. Heterozygotes (Aa) are affected. Two affected parents can have an unaffected child.* Two unaffected parents cannot have an affected child.* Men and women are affected with equal frequency. Key: AA=Affected, Aa=Affected, aa=Normal.

[0234] (2) Autosomal dominant ancestry / inheritance pattern Most affected children have normal parents. Heterozygotes (Aa) have a normal phenotype. Two affected parents are guaranteed to have an affected child.* Affected individuals with a homozygous normal spouse have normal offspring. Close relatives who reproduce are more likely to have affected children. Men and women are affected with equal frequency. Key: aa=Affected, Aa=Carrier (appears normal), AA=Normal, A?=Appears normal (one allele unknown).

[0235] (3) X-linked recessive ancestry / inheritance pattern The trait is rare in the family. Traits skip generations.* Affected fathers do not transmit the disease to their sons.* Men are affected more often than women. It is usually transmitted from mother to son. It is never passed from father to son.* It is possible for it to be passed down from father to daughter, but this is much rarer.

[0236] (4) X-linked dominant ancestry / inheritance pattern The trait runs common in families. An affected father transmits the disease to all of his daughters.* Men and women are equally likely to be affected.

[0237] (5) Y-linked ancestry / inheritance It affects only men.* Transmitted only from father to son.*

[0238] Rules are applied to the information about the family members to determine the most likely inheritance pattern (i.e., this step involves checking whether the pattern indicated in the information matches each inheritance pattern). From the CSV file, the ID, Gender, FatherID, MotherID, and Affected data for each family member are used to determine the inheritance pattern. It is possible that the pattern indicated in the information matches multiple inheritance patterns. In this case, both or all inheritance patterns that match the information can be output. An example code excerpt for determining whether some information about a family member matches an autosomal dominant inheritance pattern is shown in Figure 6.

[0239] As noted above, some conditions have only one inheritance pattern and therefore, for some conditions, the inheritance pattern need not be determined as described above and system 11 may not include inheritance pattern classifier 142.

[0240] Family member genotype estimation unit 144 (step S50) This module is considered to execute step S50. This module applies known rules from the literature (which may be programmed into the module) to automatically infer the genotype of each family member based on the determined inheritance pattern [AUTOSOMAL_DOMINANT, AUTOSOMAL_RECESSIVE, X_LINKED_DOMINANT, X_LINKED_RECESSIVE, Y_LINKED]. A valid genotype probability is assigned to each family member based on the relevant observations (affected or not affected by the condition) using the genotypes of the pedigrees.

[0241] Whether a family member is affected by a condition can be considered to mean whether the family member is known to have (or has had) the condition, or whether the family member has been diagnosed with the condition. Even if a family member has / has the condition, they may not be known to have or have had the condition. Thus, information regarding whether a family member is affected is an approximation based on family medical history information.

[0242] Inputs to the Family Genotype Estimation Unit (Step S50) include: the genotype of the family (autosomal dominant / recessive, X-linked dominant / recessive, Y-linked), from a CSV file, for each family member, sex (useful for x-linked and y-linked cases), affected value, a list of affected values ​​for both parents, and a list of affected values ​​for the children. When the genotype of the family, the Gender and Affected values ​​for each member are known, genotypes are assigned according to the following scheme:

number

[0243] It should be noted that the assigned genotype is considered to represent the genotype that codes for the presence or absence of the condition under consideration.

[0244] Thus, genotypes are assigned to family members but not to patients. The CSV file can be updated to include a new column, "Genotypes," that contains this new information. Figure 7 shows an example CSV file that includes a Genotypes column.

[0245] Mendel / Bayesian Risk Scoring Module 146 (Steps S60-S80) This module may be considered to perform steps S60-S80. This module determines the genetic risk score using known statistical models and calculates a new measurement factor called the "Danger Factor" weight or family history risk score.

[0246] Inputs to the score module 146 can include: data from a CSV file (in this step, age, FatherID, MotherID, Status, and genotype are associated), ancestry genotype, age window for estimating risk, and disease penetrance values.

[0247] Step S50 may include determining the genetic risk score using Mendelian or Bayesian analysis, or using both to generate two outputs, or using both to calculate an average between the resulting outputs.

[0248] In Mendelian analysis (Mendel's basic probability risk prediction), Punnett Squares analysis (https: / / biologydictionary.net / punnett-square / ; Davis, LC (1993), Origin of the Punnett square, The American Biology Teacher, 55(4), 209-212; Punnett, RC (1919), Mendelism, Macmillan and Company, Limited) is used to combine the assigned genotypes of the patient's father and mother to obtain a risk probability of being affected. It is also possible to determine a genetic risk score for patients who are carriers of recessive cases (i.e., a situation in which the patient is not affected but is a carrier for the condition).

[0249] In Bayesian analysis (Bayesian probabilistic risk prediction), the Mendelian approach is further improved by an additional step that considers the assigned genotypes of the patient's children and the other parent of those children. This approach is a known process for calculating the probability that an individual has a certain genotype based on the genotypes of the child and the other parent. It is described, for example, in Ogino, S. & Wilson, RB (2004), "Bayesian analysis and risk assessment in genetic counseling and testing", The Journal of Molecular Diagnostics, 6(1), 1-9 (https: / / www.ncbi.nlm.nih.gov / pmc / articles / PMC1867463 / ). To obtain prior probabilities, a Punnett Squares analysis is performed using the assigned genotypes of the patient's father and mother. This corresponds to a Mendelian analysis. Then, the genotypes of the patient's partner and children are considered and a Bayesian analysis is performed. That is, a Punnett Square is applied to the partner's genotypes and the patient's possible genotypes to find the likelihood of the child's genotype depending on the genotypes of the family. Obtain conditional probabilities for the assigned genotype of each child, conditional on the different possible genotypes of the patient. Apply a multiplicative sum to the likelihood of each genotype for the patient, based on the conditional probabilities and the number of children.

number

[0250] Then, we cross-product the combination matrix of prior and conditional probabilities to find the joint probability. Finally, we apply the Bayesian algorithm (https: / / statswithr.github.io / book / the-basics-of-bayesian-statistics.html) to the joint probability to find the probability that the patient has the genotype that causes the condition. We can also determine the probability that the patient has a genotype that makes them a carrier in the recessive case. Bayes' theorem / algorithm formula:

number

[0251] Probability P(A / B i / i ) is the difference between the assigned genotype of the other parent and the patient's genotype B i / j is determined using the Punnett square approach to predict the possible genotype of the child using the probability P(B j ) is determined using a Punnett square approach to predict the patient's possible genotype based on the assigned genotypes of the patient's parents.

[0252] For both Mendelian base probability risk and Bayesian probability risk estimation, the initial risk of being affected is estimated by summing the probabilities of genotypes that cause the patient to have / be affected with the condition, depending on the genotype. Carrier risk can also be estimated by summing the probabilities of genotypes that cause the patient to be a carrier. The above example assumes that the patient's child has only one other parent. If this is not the case, a separate analysis is done for each child / set of children from a particular other parent, and a multiplicative sum is done on the resulting probabilities.

[0253] The output of step S60 is a genetic risk score, which may include the final probability that the patient has the condition calculated above using either Mendelian or Bayesian analysis. Step S60 may output two genetic risk scores, one based on the Mendelian approach and one based on the Bayesian approach. The genetic risk score may alternatively be the average of the score calculated based on the Mendelian approach and the score calculated based on the Bayesian approach.

[0254] Step S70 includes determining a family history risk score. The family history risk score is sometimes referred to as a Danger Factor measure. The genetic risk score is based on genotype information from close relatives such as parents, partners, and children. However, other relevant information such as age and status from these close relatives and other close relatives such as aunts, uncles, grandparents, etc. is not considered in the genetic risk score. The risk factor formula considers information from close relatives such as the number of relatives who are alive with the disease (or who are dead, but not from the disease), the number of relatives who died from the disease (or who are dead and had the disease), the current age of the close relatives or the age at which they were diagnosed with the disease, or the age at which they died from such disease.

[0255] As an example, risk factors are determined by determining first through third degree contributions as follows: Family members are classified at first, second and third degree levels (1st degree level: parents, sisters, brothers, children; 2nd degree level: aunts, uncles, grandparents, grandchildren, nieces, nephews, half-siblings; 3rd degree level: cousins, great-grandparents, great-uncles, great-aunts, great-nieces, great-nephews, great-grandchildren, half-aunts, half-uncles).

[0256] Primary contribution: score for the number of relatives who have or have had the disease (known to have or have had the disease) but have not died from it (not known to have died from it). That is, the primary contribution is based on family members who are known to have or have had the disease (according to the extracted information) but are still living or have died but not because of the disease.

number

[0257] The first contribution can be calculated by dividing f1 by the total number of family members of the patient.

[0258] Secondary contribution: score for number of relatives known to have died from the disease (due to the disease):

number

[0259] The second contribution can be calculated by dividing f2 by the total number of family members of the patient.

[0260] Third contribution: Score based on relatives' age:

number

[0261] For cond1, "age" indicates the age of the family member when diagnosed with the condition.

[0262] For cond2, "age" indicates the age of the family member at the time of death.

[0263] The third contribution is calculated by dividing f3 by the total number of family members of the patient, or by the number of family members of the patient considered in the calculation of cond1 and cond2 if not all of the family members are considered, e.g., the relevant ages of the family members are not known.

[0264] Final Risk Factor Score:

number

[0265] The weighting factors may be determined by trial and error or training, or may be set by an expert. These factors may depend on any of the following considerations, which are relevant to the risk score: Increased risk with increasing patient age: This factor has already been covered in the penetrance values ​​(see below). Increased risk of multiple deaths within family members due to the condition, so the number of relatives who die from the disease is weighted higher than the number of relatives who survive the disease. Since information from the closest relatives is more important, relatives are classified by degree level (1st degree level: parents, sisters, brothers, children; 2nd degree level: aunts, uncles, grandparents, grandchildren, nieces, nephews, half-siblings; 3rd degree level: cousins, great-grandparents, great-uncles, great-aunts, great-nieces, great-nephews, great-grandchildren, half-aunts, half-uncles) and different relevance weights are applied depending on the degree level, i.e., higher weights are applied in the case of first-degree relatives and lower weights are applied in the third-degree relatives category. The age of the relatives also matters: There is a higher risk if relatives had the disease at an earlier age. If relatives have died from a disease at a younger age, there is a higher risk. This can be weighted more heavily in the risk factors than in the previous statement. Levels of kinship can be taken into account here.

[0266] The family history risk score can be calculated by incorporating an additional final step of dividing by the total number of family members of the patient (e.g., if the first through third contributions have not been calculated in this manner). For example, the first and second weighting factors can be the same, for the ninth and tenth weighting factors which define the relative weights of the first and second contributions.

[0267] A penetrance value can be determined. The penetrance value is, for example, the proportion of individuals in a group with a particular genotype that exhibit a phenotype associated with that genotype. The individuals in the group may be of a particular age range. The penetrance value may be determined based on literature or provided to the module / processor. The penetrance value may depend on the age (predicted age). The patient's age and the predicted age or age window may be summed to calculate the age on which the penetrance value depends. The predicted age or age window is the number of years into the future for which the risk is estimated (e.g., 5 years / 7 years / 10 years, etc.). For example, if the patient's age is 28 years and the age window is 5 years into the future, the resulting sum value (predicted age) would be 33 years. The predicted age may also be 0 years. That is, the predicted age may be the patient's current age. The penetrance value also depends on the condition under consideration.

[0268] The genetic family history risk score or final risk of having the condition is as follows: Genetic family history risk score = genetic (basic or Bayesian) risk score * penetrance + DF

[0269] The genetic family history risk score can also be calculated by summing the family history risk score and the genetic risk score multiplied by the penetrance value. Thus, another version of the above formula is: Genetic family history risk score = genetic (basic or Bayesian) risk score * penetrance + DF

[0270] The genetic risk score can be determined using a Mendelian approach (in which case the score may be referred to as "basic") or a Bayesian approach (in which case the score may be referred to as "Bayes"). The genetic risk score may also be a combination (i.e., an average) of the two approaches. Two genetic family history risk scores can be output: one is a basic genetic risk score (which may be referred to as the basic genetic family history risk score) and the other is a Bayesian genetic risk score (which may be referred to as the Bayesian genetic family history risk score).

[0271] In the above, it is assumed that one genotype is assigned to each family member in step S50. Multiple genotypes may be assigned to one family member, or to some or all family members. For example, the combination of the determined inheritance pattern rules and the extracted information may not result in a definitive genotype for all family members. If a family member has multiple genotypes, any process that depends on that genotype may be performed once for each assigned genotype. This may result in multiple genotypes for different family members in step S50, for example. Any calculation that depends on the genotype of a family member with multiple assigned genotypes may be performed once for each assigned genotype and the resulting values ​​may be averaged. If a calculation / process depends on multiple family members, each with multiple assigned genotypes, the calculation / process may be performed once for each combination of genotypes and an average may be obtained as the final result of the calculation.

[0272] Some embodiments disclosed herein may include determining a diagnosis. For example, the steps of the method of FIG. 2 may be repeated for different conditions as described above, and at least one condition having the highest genetic family history risk score or having a genetic family history risk score that exceeds a threshold genetic family history risk score may be determined as a diagnosis. The diagnosis thus determined may be referred to as a genetic family history diagnosis.

[0273] Some aspects disclosed herein include outputting a diagnosis for a patient based on a genetic family history risk score. An embodiment may include predicting and monitoring a patient's possible diagnosis and future risk, for example, by automated analysis of a joint feature of symptoms, genetic family history risk score, and physiological measurements collected via a wearable device. That is, an embodiment may include outputting a diagnosis based on any of a genetic family history risk score (e.g., determined as described above), at least one symptom of the patient, and at least one physiological measurement of the patient. The wearable device may be used to collect any of the at least one symptom and at least one physiological measurement. The at least one symptom and / or at least one physiological measurement may be collected via a sensor and / or extracted from medical history information (e.g., EHR) or obtained in other ways.

[0274] Physiological measurements (e.g. vital signs) and current symptoms can be considered together and a probable decision of the current diagnosis is provided according to a clinical rule-based algorithm. Such an algorithm includes a set of premises (vital signs and symptoms), analyzes a set of logical rules with such premises and returns a conclusion based on the output of the logical rules. The set of logical rules can be defined by doctors and medical professionals. A simple example is: If symptom (stuffy nose) AND symptom (headache) AND thermometer (value > 38°C), then diagnosis (flu, cold).

[0275] The outputted possible diagnosis is supported by at least one genetic family history diagnosis. At least one diagnosis resulting from the analysis of symptoms and physiological measurements is compared with at least one genetic family history diagnosis. Below, three main cases are considered:

[0276] (1) If at least one diagnosis appears in the results from both analyses, it is marked as the primary diagnosis, and the remaining diagnoses are extracted as secondary or less relevant.

[0277] (2) In the case where no diagnosis appears in the results from both analyses, all extracted diagnoses are considered to be of equal importance.

[0278] (3) In the absence of at least one genetic family history diagnosis, only the diagnosis output by analysis of vital signs and symptoms will be considered.

[0279] In one example, a method of outputting at least one diagnosis for a patient (which may be part of the method of FIG. 2) includes: A. predicting at least one genetic family history diagnosis as described above; B. predicting at least one symptom diagnosis, the at least one symptom diagnosis being at least one diagnosis for the patient based on at least one symptom of the patient; C. predicting at least one measurement diagnosis, the at least one measurement diagnosis being at least one diagnosis of the patient based on at least one measurement of the patient; D. Compare the at least one genetic family history diagnosis, the at least one symptom diagnosis, and the at least one measurement diagnosis, and if the at least one diagnosis of the at least one genetic family history diagnosis is the same as the at least one diagnosis of the at least one symptom diagnosis and the at least one measurement diagnosis, output the at least one diagnosis as the at least one final diagnosis.

[0280] The above characteristics of corroborating evidence can be considered to be achieved by feature D.

[0281] Predicting at least one symptom diagnosis maintaining a symptom diagnosis score for each of a plurality of possible diagnoses; adjusting at least one of the symptom diagnostic scores based on the symptom diagnostic rule set and based on at least one symptom of the subject patient; determining at least one of the possible diagnoses having the highest symptom diagnosis score as at least one symptom diagnosis; may include.

[0282] Predicting at least one physiological diagnosis maintaining a physiological diagnosis score for each of a plurality of possible diagnoses; adjusting at least one of the physiological diagnostic scores based on the physiological diagnostic rule set and based on at least one physiological measurement of the subject patient; determining at least one of the possible diagnoses having the highest physiological diagnosis score as the at least one physiological diagnosis; may include.

[0283] Determining the at least one genetic family history diagnosis can include disregarding the diagnosis if its genetic family history score is below a genetic family history score threshold. Determining the at least one symptom diagnosis can include disregarding the diagnosis if its symptom diagnosis score is below a symptom diagnosis score threshold. Determining the at least one physiological diagnosis can include disregarding the diagnosis if its physiological diagnosis score is below a physiological diagnosis score threshold.

[0284] Diagnostic scores for physiological and symptom diagnoses may be calculated according to a rules-based approach that defines an amount to be added or subtracted from the score taking into account one or more specific symptoms or physiological measurements within certain ranges.

[0285] Example: Diagnosing "heart disease" Below is described an example of an embodiment for diagnosing heart disease (in this particular case, a diagnosis of Heart Failure is output).

[0286] Collection of information Implicit Data: Physiological measurements (i.e. vital signs) can be collected in real time, for example from data extracted by sensors in a wearable device. In this example, the following physiological measurements are collected (these measurements are relevant in the context of cardiac disease): ECG Sensor: Time series of values ​​for the past 15 minutes. Highly irregular values ​​and abnormalities present in the ECG waveform. Irregularities and abnormalities can be identified / detected using a computer by comparing the measurements with other ECG measurements of healthy and non-healthy hearts. Thermometer: Measures temperature 38.6 degrees. EMG Sensor: Time series of values ​​for the past 15 minutes. Measures abnormal and low EMG activity. A computer can be used to identify / detect abnormalities and classify EMG activity (e.g. as low) by comparing the measurements with other EMG measurements of healthy and unhealthy hearts. Pacemaker Pulse Detection: Measures low respiration rate, high heart rate and increased heart rate. A computer can be used to classify respiration and heart rate (e.g., as low / high and augmented) by comparing them with other pacemaker pulse detection measurements of healthy and unhealthy hearts. GSR Sensor: Low GSR activity results in increased skin conductance. Using a computer, skin conductance and GSR activity can be classified (e.g., as increased and low) by comparing them with other GSR measurements from people with healthy and non-healthy hearts. Other measurements from the optical sensor: High blood pressure, pH analysis: acid-base balance, Skin light intensity: normal range values, Blood sugar levels: within normal range.

[0287] Physiological measurements are classified, e.g., as "normal," "low," "healthy," "abnormal," etc., by comparing (using a computer) the measurements with corresponding measurements from other people (e.g., healthy and unhealthy hearts, in this case).

[0288] Symptoms are collected in a similar manner to the FMH extractor from unstructured medical data and / or are reported by the patient.

[0289] Receiving / converting information Some useful definitions include: P-wave axis: A measure calculated from the ECG of the net direction of atrial depolarization. It is determined by measuring the net positive or negative P-wave deflection in all six limb leads and calculating the net direction of electrical activity using a six-axis reference system. An abnormal P-wave axis is defined as any value other than 0-75°. The P wave is an integral part of the ECG. It represents the electrical depolarization of the atria of the heart. It is typically a small positive deflection from the isoelectric baseline that occurs just before the QRS complex.

[0290] QRS Width: The Q, R, and S waves combined to form the "QRS complex" represent ventricular depolarization. The normal duration (interval) of the QRS complex is considered to be 0.08 to 0.10 seconds, or 80 to 100 milliseconds. A duration of 0.10 to 0.12 seconds is considered moderately or slightly extended. A QRS width of more than 0.12 seconds is considered abnormal.

[0291] QRS Axis: The QRS axis represents the principal vector of ventricular activation and is the overall direction of electrical activity.

[0292] General definition of cardiac axis: When all electrical signals from the heart are averaged, an arrow (vector) can be drawn showing the direction of the average electrical depolarization. This is the cardiac axis. Changes or extreme deviations in the cardiac axis can be a sign of pathology. To determine the cardiac axis, only the distal leads (not V1-V6) are analyzed. Focusing specifically on leads I, II, and AVF, a good estimate of the cardiac axis can be made. A key concept in determining the cardiac axis is the fact that electricity going into a lead will cause a positive deflection in that lead's electrical recording. It is useful to imagine the leads as a camera looking at the heart. Lead I looks horizontally from the left side. Lead II looks up the left bundle branch. Lead III looks up the right bundle branch, and lead AVF looks down toward the heart. A positive deflection here is defined as the "area under the curve" of the QRS being greater above the baseline than below the baseline.

[0293] According to the physiological measurements and their values ​​described above for this example, the following information is extracted in this example: ECG sensor: converts the time series (corresponding to 15 minutes) into relevant categorical and numerical values. Specific values ​​in this example include (with the relevant rules shown in brackets {}): P-wave axis 99° (widened) {normal range between 0° and 75°}, QRS duration = 0.17 (prolonged duration) {normal duration between 0.08 and 0.10}, time to ID = 62ms (abnormal) {values ​​> 50ms are considered abnormal}, QRS axis = -45° (left axis deviation) {left axis deviation when QRS axis is between -30° and -90°}. Thus, the categorical information extracted from the ECG sensor measurements includes: P-wave axis is "widened", QRS duration is "prolonged", time to ID is abnormal, left axis deviation = true. Temperature reading = 38.6°. EMG sensor: converts a time series (corresponding to 15 minutes) into relevant categorical and numerical values. Specific values ​​in this example include (with the relevant rules shown in brackets {}): Cross-sectional area (CSA) of muscle ~134 cm 2 (Decreased) {Normal value 165.2±7.4cm 2 , P=0.002}, muscle strength ~227N (decreased) {normal value 286.9±17.1 cases, p<0.05}, muscle fatigue ~-2.10 (high) {normal value -0.54±0.20N / s, p<0.01}, submaximal contraction ~68% (low) {normal value 114±36%; p<0.05}. Thus, the categorical information extracted from the ECG sensor measurements includes: CSA muscle "decreased", muscle strength "decreased", muscle fatigue "high", and submaximal contraction "low". In the above measurements, P is the p-value. In statistics, the p-value is the probability of obtaining a result at least as extreme as the observed result of a statistical hypothesis test, assuming that the null hypothesis is correct. A statistically significant test result (P≦0.05) means that the test hypothesis is incorrect or should be rejected. A P-value greater than 0.05 means that no effect was observed. Pacemaker Pulse Detection: Categorical information extracted from pacemaker pulse detection measurements includes: respiration rate = “low”, heart rate = “high”, heart rate = “enlarged”. GSR sensor (skin conductance measurement): Categorical information extracted: values ​​below 15kohms (low values ​​indicating "negative" emotional states such as "sad", "scared", "angry", etc.). Other measurements from optical sensors:Category values: Blood pressure = high, pH analysis: acid-base balance, Skin light intensity: normal, Blood sugar level: normal,

[0294] In the example measurements above, the CSA muscle is the area of ​​the muscle cross section perpendicular to the muscle fibers, usually at the maximum point (commonly used to describe the contractile properties of pennate muscles). Muscle strength can be defined as the ability to exert force against an external resistance. Muscle fatigability can be defined as a decrease in maximum force or power production in response to contractile activity. Submaximal contractions can be defined, for example, as the number of all contractions without maximal effort. More information on EMG and specific quantities that can be measured can be found at https: / / www.ncbi.nlm.nih.gov / pmc / articles / PMC3821366 / .

[0295] For example, examples of symptom information in this example, recorded by the subject patient using a microphone and converted to text data or extracted from medical history data, are "Feeling tired and weak; chest pain and shortness of breath; sometimes tachycardia, nausea, and palpitations; have had a persistent cough for several days."

[0296] Symptom Treatment Information Real-time Symptoms: NER techniques are used to extract the following entities from text data related to symptoms: [fatigue, weakness, chest pain, shortness of breath, tachycardia, nausea, fast heart rate, persistent cough].

[0297] Determining the diagnosis In this example, a rule-based approach is followed to determine a physiological diagnostic score for many cardiac diseases (and other diseases / conditions) based on the physiological measurements above. Initially, the physiological diagnostic score starts at 0. A change in the physiological diagnostic score is shown as follows: A physiological measurement results in adding 1 to the diagnostic score, shown below as "Diagnosis([condition], +1)". If P-wave=='enlarged': Diagnosis(atrial enlargement,+1), Diagnosis(chronic respiratory disease,+1), Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), Diagnosis(cardiomyopathies,+1), Diagnosis(congenital heart defects,+1), Diagnosis(valvular heart disease,+1); If QRS_duration=='prolonged': Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), Diagnosis(atrial fibrillation,+1), Diagnosis(coronary disease,+1), Diagnosis (arrhythmia, +1), Diagnosis(ischemic heart disease,+1), Diagnosis(valvular heart disease,+1); If left_axis_deviation==True: Diagnosis(ischemic heart disease,+1), Diagnosis(heart failure,+1), Diagnosis(congestive heart failure,+1), Diagnosis(congenital heart defects,+1); If time_to_ID>50: Diagnosis(heart failure,+1), Diagnosis(coronary heart disease,+1); If CSA_muscle==’reduction’: Diagnosis(heart failure,+1), Diagnosis(congestive heart failure,+1), Diagnosis(skeletal muscle atrophy,+1), etc. If muscle_strength==’reduction’: Diagnosis(heart failure,+1), Diagnosis(congestive heart failure,+1), Diagnosis(skeletal muscle atrophy,+1), Diagnosis(muscular dystrophy,+1), etc. If muscle_fatigability==’high’: Diagnosis(heart failure,+1), Diagnosis(congestive heart failure,+1), Diagnosis(skeletal muscle atrophy,+1), Diagnosis(muscular dystrophy,+1), etc. If submaximal_contraction == 'low': Diagnosis(heart failure, +1), Diagnosis(congestive heart failure, +1), Diagnosis(skeletal muscle atrophy, +1), Diagnosis(muscular dystrophy, +1), Diagnosis(neurological disorders, +1), etc If breathing_rate == 'low': Diagnosis(heart failure, +1), Diagnosis(congestive heart failure, +1), Diagnosis(bradypnea, +1), Diagnosis(lung disorders, +1), Diagnosis(chronic bronchitis, +1), Diagnosis(pneumonia, +1), etc If heart rate == 'high': Diagnosis(heart failure, +1), Diagnosis(congestive heart failure, +1), Diagnosis(valvular heart disease, +1), Diagnosis(coronary heart disease, +1), Diagnosis(cardiomyopathies, +1), etc If heart rate == 'enlarged': Diagnosis(heart failure, +1), Diagnosis(congestive heart failure, +1), Diagnosis(stroke,+1), Diagnosis(cardiomyopathies,+1); If GSR<15: / / low value->negative->associated with sad, anxious, or angry emotional states. Diagnosis (depression, +1), Diagnosis(anxiety, +1), etc. If blood_pressure_fluid=='high': Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), Diagnosis (heart attack, +1), Diagnosis(stroke,+1), Diagnosis(arterial disease,+1), Diagnosis(aortic aneurysm,+1), etc.

[0298] Of course, there may be other diagnoses not discussed above, and these are indicated here with "etc." In another example focusing on cardiac disease, only diagnostic scores related to cardiac disease may be included, and diagnostic scores related to, for example, depression and anxiety may not be included / considered.

[0299] After summing each diagnostic score and selecting the highest four, the physiological diagnosis is as follows: score=12, heart failure; score=11, congestive heart failure; cardiomyopathy, score = 3; score=3, valvular heart disease;

[0300] In this example, we follow a rule-based approach to determine a number of cardiac symptom diagnostic scores based on the symptoms listed above. Initially, the symptom diagnostic scores start at 0. Some comments about the rules are listed below in " / / / / ": If tired_weak==True: / / This symptom can indicate many diseases other than "heart disease". Therefore, in other examples the score may be less than 1. / / Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), etc. If chest_pain==True: / / This symptom can be caused by many other conditions, but if the physiological measurements and family history support a case for "heart disease" then it is conclusive. / / Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), Diagnosis (muscle strain, +1), Diagnosis(GERD,+1), Diagnosis(asthma,+1), Diagnosis(costochondritis,+1), Diagnosis(valvular heart disease,+1), etc. If bad_breath==True: / / same comment as previous rule / / Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), Diagnosis (pneumonia, +1), Diagnosis(coronavirus,+1), Diagnosis(asthma,+1), Diagnosis (emphysema, +1), Diagnosis(valvular heart disease,+1), etc. If tachycardia==True: / / Related to heart disease / / Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), Diagnosis(coronary artery disease,+1), Diagnosis (heart attack, +1), Diagnosis(congenital heart defects,+1), Diagnosis(valvular heart disease,+1), Diagnosis (hypertension, +1), Diagnosis(cardiomyopathies,+1), etc. If nausea==True: / / This symptom can indicate many diseases other than "heart disease". Therefore, in other examples, the score may be less than 1. / / Diagnosis(heart failure,+1), Diagnosis(congestive heart failure,+1), etc. If heartbeat_accelerated==True: / / The symptom "tachycardia" may be considered. Related to heart disease. / / Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), Diagnosis(coronary artery disease,+1), Diagnosis (heart attack, +1), Diagnosis(congenital heart defects,+1), Diagnosis(valvular heart disease,+1), Diagnosis (hypertension, +1), Diagnosis(cardiomyopathies,+1), etc. If persistent_cough==True: / / This symptom can be caused by many other conditions, but if the physiological measurements and family history support a case for "heart disease" then it is conclusive. / / Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), Diagnosis(COPD,+1), Diagnosis(GERD,+1), Diagnosis(asthma,+1), Diagnosis(coronavirus,+1), etc. After adding up the scores and selecting the highest four, the symptom diagnosis is as follows: score=7, heart failure; score=7, congestive heart failure; score = 4, valvular heart disease; Score=3 asthma.

[0301] In this example, the diagnoses that appear in the top four symptom diagnoses and the top four physiological diagnoses are preselected. Thus, the following diagnoses are preselected: heart failure, Congestive heart failure, Valvular heart disease.

[0302] The preliminarily selected diagnosis is supported by comparison with at least one genetic family history diagnosis.

[0303] In this example, the conditions and their associated genetic family history risk scores are assumed to be as follows (an example of determining the genetic family history risk score is described in a separate section below): Heart failure = 0.45 Valvular heart disease = 0.35 Heart attack = 0.4 Carotid condition = 0.2 diabetes=0.2 High blood pressure = 0.2

[0304] In this example, a threshold of 0.3 is applied to the diagnosis. Then, the output of the genetic family history diagnosis is as follows (ranked according to score): heart failure Heart attack Valvular heart disease.

[0305] In this example, a preselected diagnosis (based on physiological measurements and symptoms) is compared to at least one genetic family history diagnosis based on the following heuristic rules: (1) If a diagnosis appears in at least one genetic family history diagnosis and one of the preliminary selected diagnoses, that diagnosis is marked as a primary diagnosis and at least one other genetic family history diagnosis is marked as a secondary diagnosis or less likely to be associated. (2) In the absence of at least one genetic family history diagnosis and a diagnosis appearing in the preliminarily selected diagnoses, all extracted diagnoses are considered with equal weighting. (3) In the absence of at least one genetic family history diagnosis, the preliminary selected diagnosis is output as at least one final diagnosis.

[0306] In this example, the output of at least one final diagnostic is: Primary diagnosis: Heart failure and valvular heart disease Secondary diagnosis = heart attack

[0307] Examples of diagnosing "mental illness" Below is described an example of an embodiment for diagnosing a mental illness (in this particular case, a diagnosis of Depression is output).

[0308] Collection of information Implicit Data: Physiological measurements (i.e. vital signs) can be collected in real time, for example from data extracted by sensors in a wearable device. In this example, the following physiological measurements (values) are collected. Most of these are not relevant to the diagnosis of a mental health condition such as depression. The relevance of some physiological measurements is indicated in brackets below: ECG sensor: Time series of values ​​for the past 15 minutes. Irregular heart rate variability present in the ECG waveform (https: / / www.sciencedaily.com / releases / 2017 / 11 / 171121095403.html) (related to diagnosing mental health conditions, although it may indicate other illnesses) Thermometer: Temperature 36.5°C EMG sensor: Time series of values ​​for the last 15 minutes. Normal values ​​are shown. [May not be relevant in this example] Pacemaker pulse detection: High heart rate (associated with diagnosing mental health conditions, although it may indicate other illnesses). GSR Sensor: Anomalous fluctuation measurements. Alternating increases and decreases in skin conductance and GSR activity. (Relevant to diagnosing mental health conditions). Other measurements from optical sensors: High blood pressure, H Analysis: Low pH Levels (Related) Skin light intensity: no values ​​outside the normal range; Blood sugar levels: Large fluctuations in blood sugar levels (related)

[0309] Physiological measurements are classified, e.g., as "normal," "low," "healthy," "abnormal," etc., by comparing (using a computer) the measurements with corresponding measurements from other people (e.g., healthy and unhealthy hearts, in this case).

[0310] Receiving / converting information According to the physiological measurements and their values ​​described above for this example, the following information is extracted in this example: The relevance of some extracted and processed physiological measurements is shown in brackets below: ECG sensor: converts a time series (worth 15 minutes) into relevant categorical and numeric values. Specific values ​​in this example include Irregular Heart Rate Variability = True (not determined by diagnosis of a mental health condition). Temperature reading: 36.5°, within normal range EMG: normal values ​​(not relevant to diagnosis of mental health conditions). Pacemaker pulse detection: Heart rate = High (This measurement is not determinative of a mental health condition as it may indicate multiple other conditions). GSR sensor: High variability between high and low values. Categorical information extracted is Values_variability=high (related to diagnosing mental health conditions). Other measurements from optical sensors:Category values: Blood pressure = high, pH analysis: low value, Skin light intensity: normal, Blood sugar levels: Large fluctuations.

[0311] Examples of symptom information in this example, recorded by the subject patient using a microphone and converted to text data or extracted from medical history data, are "Tired, lethargic, and unmotivated. Often feel deep sadness and stress. Loss of appetite and anxiety."

[0312] Symptom Treatment Information Real-time Symptoms: NER techniques are used to extract the following entities from text data related to symptoms: [fatigue, apathy, lack of enthusiasm, sadness, stress, no appetite, anxiety].

[0313] Determining the diagnosis Following a rule-based approach, in this example we determine a physiological diagnostic score for several mental health conditions (and other illnesses / conditions) based on the physiological measurements above. Initially, the physiological diagnostic score starts at 0. A change in the physiological diagnostic score is shown as follows: A physiological measurement results in adding 1 to the diagnostic score, shown below as "Diagnosis([condition],+1)". If heart rate variability=='irregular': Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), Diagnosis(stroke,+1), Diagnosis (depression, +1), Diagnosis(anxiety,+1), etc. If GSR_fluctuation='high': Diagnosis (depression, +1), Diagnosis(anxiety, +1), etc. Iflood_pressure_fluid=='high': Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), Diagnosis (heart attack, +1), Diagnosis(stroke,+1), Diagnosis(arterial disease,+1), Diagnosis(aortic aneurysm,+1), Diagnosis (depression, +1), Diagnosis(anxiety,+1), etc. If pH-levels='low': Diagnosis (depression, +1), Diagnosis (anxiety, +1), Diagnosis(congestiveheartfailure,+1), etc. If glucose_fluctuation='large': Diagnosis (depression, +1), Diagnosis (anxiety, +1), Diagnosis(diabetes,+1), etc.

[0314] Of course, there may be other diagnoses not discussed above, which are indicated herein by "etc." In another example focusing on cardiac disease, only diagnostic scores related to cardiac disease may be included, and diagnostic scores related to, for example, depression and anxiety may not be included / considered.

[0315] After summing each diagnostic score and selecting the highest four, the physiological diagnosis is as follows: Score = 5, depression; Score = 5 anxiety; score = 3, congestive heart failure; Heart failure = 2

[0316] In this example, we follow a rule-based approach to determine a number of cardiac symptom diagnostic scores based on the symptoms listed above. Initially, the symptom diagnostic scores start at 0. Some comments about the rules are listed below in " / / / / ": If tired_weak==True: / / This symptom can indicate many diseases other than "heart disease". Therefore, in other examples, the score may be less than 1. / / Diagnosis (heart failure, +1), Diagnosis(congestive heart failure,+1), Diagnosis (depression, +1), Diagnosis(anxiety,+1), etc. If apathetic==True: / / Related to diagnosing a mental health condition. / / Diagnosis (depression, +1), Diagnosis (major depressive disorder,+1), etc. If lack of enthusiasm==True: / / Related to diagnosing a mental health condition. / / Diagnosis (depression, +1), Diagnosis(major depressive disorder,+1), Diagnosis(suicidal ideation,+1), etc. If sadness==True: / / Related to diagnosing a mental health condition. / / Diagnosis (depression, +1), Diagnosis(major depressive disorder,+1), Diagnosis(suicidal ideation,+1), etc. If stress_anxious==True: Diagnosis (anxiety, +1) If no_appetite==True: Diagnosis (depression, +1), Diagnosis(major depressive disorder,+1, Diagnosis (anorexia, +1), Diagnosis(nutrition disorders,+1), etc.

[0317] After adding up the scores and selecting the highest four, the symptom diagnosis is as follows: Score = 5, depression; major depressive disorder, score = 4; Score = 2, anxiety; Score=2, suicidal ideation.

[0318] In this example, the diagnoses that appear in the top four symptom diagnoses and the top four physiological diagnoses are preselected. Thus, the following diagnoses are preselected: Depression anxiety

[0319] In this example, the preliminarily selected diagnosis is then corroborated by at least one genetic family history diagnosis.

[0320] In this example, the conditions and their associated genetic family history risk scores are assumed to be as follows (an example of determining the genetic family history risk score is described in a separate section below): Depression = 0.9 Anxiety = 0.9 Bipolar disorder = 0.35 Suicide=0.2 Mental state = 0.2 High blood pressure = 0.2

[0321] In this example, a threshold of 0.3 is applied to the diagnosis. Then, the output of the genetic family history diagnosis is as follows (ranked according to score): Depression anxiety Bipolar disorder

[0322] In this example, a preselected diagnosis (based on physiological measurements and symptoms) is compared to the genetic family history diagnosis based on the following heuristic rules: (1) If a diagnosis appears in at least one genetic family history diagnosis and one of the preliminary selected diagnoses, that diagnosis is marked as a primary diagnosis and at least one other genetic family history diagnosis is marked as a secondary diagnosis or less likely to be associated. (2) In the absence of at least one genetic family history diagnosis and a diagnosis appearing in the preliminarily selected diagnoses, all extracted diagnoses are considered with equal weighting. (3) In the absence of at least one genetic family history diagnosis, the preliminary selected diagnosis is output as at least one final diagnosis.

[0323] In this example, the output of at least one final diagnostic is: Primary diagnosis: depression and anxiety Secondary diagnosis: Bipolar disorder

[0324] In this example, all three factors are considered in generating the at least one diagnosis. However, in other examples, physiological measurements may not be considered. Indeed, the at least one diagnosis may be based on any of physiological measurements, symptoms, and family medical history data.

[0325] Thus, the at least one final diagnosis output may be at least one genetic family history diagnosis, or may be at least one final diagnosis determined as described above (optionally including primary and secondary diagnoses).

[0326] Risk Score and Alert System Integrator 160 This component is responsible for transmitting information to the device 200 and / or adapting the information to be visualized on the device 200. For example, the information output from the method of Fig. 2 performed by the estimation module 100 may include at least one condition and an associated genetic family history risk score, or at least one final diagnosis as described above.

[0327] The EHR updater 180 (or update module 180) updates the patient's EHR with information. This component can directly interface with patient profiles in the healthcare system's databases to integrate information in such databases in relation to the patient's health risks calculated by the system. The EHR updater 180 can also monitor the EHR (and / or the EHRs of family members) for new medical history information and cause the system 11 to repeat the generation of information (genetic family history risk score and / or at least one final diagnosis) including the new medical history information.

[0328] The integration module 160 also provides explainable reasons for information output. Such explanations can be included in the patient's EHR so that a physician can check the patient's profile and understand why the patient has these particular health risks. These explanations can be built by heuristic and rule-based techniques that break down each step of the workflow and show the process of intermediate results and calculations.

[0329] Below are examples of these explanations: Your future risk of developing the condition is 8.5% and your future risk of being a carrier for the condition is 75.0%. The 8.5% risk result comes from the following considerations: The family pedigree follows the AUTOSOMAL_RECESSIVE Mendelian pattern. From such a pattern, the maternal genotype ['AA', 'Aa'] and the paternal genotype ['aa'] can be inferred. The maternal and paternal genotypes are then combined according to the Punnett square approach to obtain the above table containing the probability of each genotype for the patient. Because the Mendelian pattern is AUTOSOMAL_RECESSIVE, only the two lower case genotypes (e.g., 'aa') are susceptible to the condition. Therefore, when we add up the probabilities of the genotypes that can be susceptible to the condition, the initial risk is 25.0. However, if the patient is 38 years old and an age window of 7 is applied, the risk estimate is for a patient 45 years old, with a penetrance of 0.34. When the penetrance (25.0*0.34) is included, the output risk is 8.5%. The carrier risk result of 75.0% is because the Mendelian pattern is AUTOSOMAL_RECESSIVE, so all genotypes with at least one capital letter (e.g., Aa) are likely to be carriers for the condition. Adding up the probabilities for these genotypes in the table above gives us a value of 75.0% for the carrier risk.

[0330] To adapt the patient's health risk information for output by the Magnet IoT device 200, the following may be transmitted to the device: a list of the patient's associated diseases based on pedigree, and for each disease, the corresponding probability of affected base risk and Bayes risk, or genetic family history risk score. The above information (genetic family history score and / or at least one final diagnosis) may alternatively or additionally be transmitted. An alert color system may define a color to be displayed on the device 200 corresponding to the level of risk (genetic family history risk score). The probability risk linked to the color system may be the average between the base risk and the Bayes risk. For example, if the base risk (by Mendelian analysis) is 12.5% ​​and the Bayes risk is 9.37%, the probability risk is:

number

[0331] The example implementation defines six colors for a warning color system, a kind of warning semaphore. It defines a range of probabilities that make a link between a risk value and a corresponding color among the six options. For example: Dark Green: 0% to 9.99% chance Light Green: 10% to 19.99% chance Dark Yellow: 20% to 34.99% chance Dark Yellow: 35% to 49.99% chance Light Red: 50% to 64.99% chance Dark Red: 65% to 100% chance In the above, probability may refer to the probabilistic risk or genetic family history risk score defined above.

[0332] Following accepted standardization and collective assumptions, for example, closer to dark green may mean lower risk and danger, while increasing warmer colors in the semaphore may indicate greater risk until reaching dark red, which may indicate the highest risk and danger of being affected by the condition. In the previous example with a probability risk of 10.935%, the warning color for the patient is light green. Once the relevant color is determined for a given condition, such color flag may be sent by the integration module 160 to the device 200 for the corresponding condition in order to light a light of such color in the device 200. If the risk / condition changes due to an update, the color may be turned off and, for example, a new color may be turned on.

[0333] Device 200 Interface and Architecture The interface and architecture of device 200 will now be described. Input from integration module 160 may include any of the following: a list of diseases associated with the patient that are family history dependent, a probability of the base risk score for each disease, a probability of the Bayes risk score for each disease, a color of the flag associated with each disease, conditions determined to be associated (states having a genetic family history risk score above a threshold or with the highest genetic family history risk score), at least one of the above final diagnoses, a genetic family history risk score for the condition or diagnosis (and optionally information indicating an associated color).

[0334] 8 shows an example of an interface of the device 200. The device 200 may be, for example, a magnet device in the home, or may be attached to any magnetized surface, for example a refrigerator, so that the patient can easily see it at any time. In this example, the device 200 includes: An output screen displaying the name of the disease of interest (e.g., BC for breast cancer). Interactive directional buttons so that the patient can press the buttons to go forward / back through the list of diseases. Output screen displaying risk probability for a selected disease (BC=Breast Cancer in the example) for two models (Basic Mendelian model and Bayesian algorithm model). Alternatively, the device 200 may display a genetic family history risk score. Optical elements (e.g. lights) to display risk in an easy to understand manner, following a sort of semaphore signal system that alerts the patient to risk / hazard in real time. Call interaction button. When the patient presses this button, a direct call with the family doctor is established and the EHR system is automatically populated with the patient's summary information for the selected disease (health risk probability / genetic family history risk score, flag lights related to the patient's risk, and explainable reasons for the risk value accessible only to the doctor). In this way, if the patient wants to call the doctor due to concerns about an increased health risk or diagnosis, the doctor can directly see the patient's relevant records related to that call without having to make a specific query or search in the system. Alert interaction button (button with exclamation mark). When the patient presses this button, an alert message is forwarded to the patient's EHR and relevant information related to this alert in the record is updated. The system sends an alert signal to the patient's primary care physician. Priority can be indicated according to the color of the risk / genetic family history risk score / flag, which can be used to order alerts related to different patients in the physician's system. In this way, the physician will see patients with higher risk / hazard in the first position of the list.

[0335] In one example, one side of the device 200 is an interface as described above, and the other side is a magnetized surface. The device 200 includes hardware that may be required for proper operation of the device: a CPU, RAM, and a hard drive. The CPU includes the basic logic to process data, visualize with corresponding output screens and warning lights, and process orders connected from interactive buttons with associated data. The RAM and hard drive are used to access and store information required / provided by this external device. Appropriate drivers / buses may be included to output information to the screen, process the lights, and receive input from the patient when the button is pressed. Also, network / WIFI drivers may be included to connect the IoT device to the Internet and access the patient's EHR in the hospital's database to receive / send data. The devices shown in FIG. 20 and described below can be considered implementations of the device 200.

[0336] A device, e.g., device 200, may implement some or all of the method steps of FIG. 2. A device, e.g., device 200, may implement some or all of the functionality of the modules shown in FIG. 1. Any information output as a result of the methods described herein may be output to a different display means, e.g., a screen or a speaker, rather than or similar to device 200. System 11 may not include device 200. System 11 may include at least one sensor for obtaining physiological measurements from the patient. System 11 may include at least one sensor / user input device, e.g., a microphone and / or a keyboard, for obtaining other information from the patient, such as symptom information and / or (family) medical history information. All functionality of system 11 may be performed by a single device, not necessarily the same as device 200.

[0337] Example: Genetic family history risk score determination Family Medical History (FMH) Extraction Unit 110 The FMH extractor 110 receives as input a paragraph of text regarding a family history. In this example, the family history is as follows: Her mother had breast cancer at age 31. Her father died of breast cancer at age 81. Her maternal grandmother died of breast cancer around age 60. Her maternal grandfather died of heart disease at age 75. Her maternal aunt had breast cancer at age 19. A female cousin was diagnosed with breast cancer at age 21 and is now healthy. Her sister died of breast cancer at age 27. Her brother died of HIV / AIDS. Her husband is still alive. Her children are healthy. Her other son has autism. Her daughter is 21 and healthy.

[0338] Using the above approach (step S20), the extracted data is as follows: (1) Roles of family members: mother, father, grandmother, grandfather, aunt, cousin, sister, brother, husband, child, son, daughter. (2) Status of family members: Father → deceased, Grandmother → deceased, Grandfather → deceased, Cousin → healthy, Older sister → deceased, Older brother → deceased, Husband → alive, healthy, Child → healthy, Daughter → healthy. (3) Family side: Grandmother → maternal side, grandfather → maternal side, aunt → maternal side. (4) Ages of family members: Mother → 31 years old, Father → 81 years old, Grandmother → 60 years old, Grandfather → 75 years old, Aunt → 19 years old, Cousin → 21 years old, Older sister → 27 years old, Daughter → 21 years old. (5) Observation of family members: mother → breast cancer, father → breast cancer, grandmother → breast cancer, grandfather → heart disease, aunt → breast cancer, cousin → breast cancer, older sister → breast cancer, older brother → HIV / AIDS, son → autism. (6) Observation modalities of family members: mother → breast cancer → positive, father → breast cancer → positive, grandmother → breast cancer → positive, grandfather → heart disease → positive, aunt → breast cancer → positive, cousin → breast cancer → positive, older sister → breast cancer → positive, older brother → HIV / AIDS → positive, son → autism → positive.

[0339] Figure 9 shows the highlighted information extracted from the medical history information. The resulting information is output in JSON format.

number

[0340] Family history data conversion unit 120 Input: The JSON data above, patient gender (0=female), patient age (e.g., 26), one observation / condition under consideration (breast cancer). The rule-based method is applied iteratively to the JSON data to obtain features from relatives required for risk calculation as described above. Such features are any of the following: ['ID', 'Gender', 'Age', 'Status', 'FatherID', 'MotherID', 'Affected']. ID: Member identifier (alphanumeric value), Gender: Member's gender (0=female, 1=male, ''=undefined), Age:Age of the member, Status: Member status (0=dead, 1=alive), FatherID: Identifier of the member's father (an alphanumeric value that corresponds to the ID of another member in the list of relatives. If the member's father is not in the list, the value defaults to 0), MotherID: Identifier of the member's mother (an alphanumeric value that corresponds to the ID of another member in the list of relatives. If the member's mother is not in the list, the value defaults to 0), Affected: This feature indicates whether the member is affected by the condition under consideration (1=True, the member is affected; 0=FALSE, the member is not affected).

[0341] Figure 10 is an example of an ancestry CSV file for these families (without the Status column). The first row is the patient's data (a 26-year-old female patient).

[0342] Health Risk Calculation Module 140 Input: CSV file Family Type Classification Section 142 From the CSV file, the following data is used: ID, Gender, FatherID, MotherID, Affected. When applying the rules that define the inheritance pattern, the inheritance pattern is differentially filtered as described above. Y-linked causation is excluded because of the presence of an affected female in the family. X-linked recessive inheritance is ruled out because all children of affected parents (such as a father and mother) are affected, which is not the case in this family. Autosomal recessive causes are excluded for the same reasons as X-linked recessive causes. X-linked dominance is excluded because an affected father would transmit the disease to all his daughters, which is not the case in this patient.

[0343] Therefore, in this example, the only possible inheritance pattern / mode for breast cancer status in this family is the AUTOSOMAL_DOMINANT mode.

[0344] Family Genotype Estimation Division 144 Genotypes are assigned to family members based on the genotype of the pedigree (AUTOSOMAL_DOMINANT) and based on whether the family member is known to have or has been affected with the condition (affected or not). Input: The genotype of the family (AUTOSOMAL_DOMINANT), for each family member, the affected value, a list of the parent's affected values, and a list of the child's affected values ​​from a CSV file. Given the genotype of the family, the Gender and Affected values ​​of each member, assign a genotype to each family member using the rules that define the inheritance pattern. The possible genotypes assigned for each inheritance pattern are shown below. Autosomal dominant: AA=Affected, Aa=Affected, aA=Affected, aa=normal. Autosomal recessive: aa=Affected, Aa=Carrier (appears normal), AA=Normal, A?=Appears normal (one allele unknown) X-linked dominant: XX=Affected, Xx=Affected, Xy=Affected, xx=normal, xy=normal. X-linked recessive: xx=affected, Xx=carrier (appears normal), XX=normal, xy=affected, Xy=normal. Y-linked: xY=Affected, xy=normal.

[0345] A list of genotypes for each family member is returned. The CSV file is updated to include a new column "Genotypes" that contains this new information. The CSV file with the Genotypes column for the current example is shown in Figure 11.

[0346] Mendelian / Bayesian Risk Scoring Module 146 Input: Data from a CSV file (at this stage the following is associated with each family member: Age, FatherID, MotherID and genotype), family genotype / inheritance mode (AUTOSOMAL_DOMINANT), age window for estimating risk (e.g., 7 years), and disease penetrance values ​​according to age range. Figure 12 shows an example of an interface for a user to have the computer calculate a genetic family history risk score and shows some example penetrance values ​​for different age ranges for breast cancer.

[0347] The Mendelian / Basic Genetic Risk Score calculation applies a Punnett square approach to determine the probability of being affected by combining the patient's paternal and maternal genotypes and considering the AUTOSOMAL_DOMINANT inheritance pattern. Maternal genotype: ID=7, ['Aa'] Father's genotype: ID=8, ['Aa']

[0348] Figure 13 shows the result of applying the Punnett square approach to this example. For the AUTOSOMAL_DOMINANT inheritance pattern, all genotypes [AA,Aa,aA] with at least one capital letter are considered to be responsible for the patient having the condition. Thus, in this example, the sum of the probabilities of such cases (cases in which the patient is considered to be affected) is a base genetic risk score of 75% (0.25+0.25+0.25) x 100). To calculate the Bayesian genetic risk score, the same Punnett square approach is applied to the patient's paternal and maternal genotypes in the same way as to calculate the basic genetic risk score. The probabilities that the patient has each genotype are summed to obtain the prior probability: Prior probability for each genotype = {'AA': 0.25, 'Aa': 0.50, 'aa': 0.25}

[0349] Next, the genotypes of the patient's children and the other parent are considered. A Punnett square approach is applied to the genotypes of the patient and the other parent to determine the likelihood of the child's genotype. Conditional probabilities are obtained for the assigned genotype of each child, conditional on the different possible genotypes of the patient. Partner's genotype: ID=12, ['aa'] Example code to apply the Punnett square approach:

number

[0350] We apply a multiplicative sum to the likelihood of each genotype for the patient based on the conditional probability and the number of children (3 children in this example). For example, the code for genotype Aa (and others) is:

number

[0351] After these calculations, in this implementation, the conditional probability of obtaining the child's assigned genotype given the patient's possible genotypes is:

number

[0352] Then, we cross-product the combination matrix of prior probabilities and conditional probabilities to obtain the joint probability. The code for this step is shown below.

number

[0353] 5}

[0354] Finally, we apply Bayes' algorithm / theorem to all the genotype possibilities to get the probability that the patient has the genotype that is assumed to be responsible for the AUTOSOMAL_DOMINANT condition. The example code used for this step is shown below.

number

[0355] Figure 14 shows the result of applying Bayes' Theorem to this example run: the probability that the patient has each possible genotype based on the genotypes of the patient's parents, the child, and the child's other parent. For the AUTOSOMAL_DOMINANT type, the Bayesian genetic risk score is determined by summing the probabilities of genotypes [AA,Aa,aA] with at least one capital letter that are likely to cause the patient to be affected. In this example run, the Bayesian genetic risk score is determined as follows: 55.56% (0.44444...+0.11......)*100)

[0356] For the AUTOSOMAL_DOMINANT type, it is not possible to determine carrier risk in this case, since an individual cannot be a carrier if they are not thought to be affected by the condition.

[0357] The patient's age is summed with the age window or expected age (ie, the number of years into the future for which one wishes to estimate risk) to arrive at the predicted age. 26 years old + age window 7 years old = 33 years old

[0358] The penetrance value associated with the age range obtained in this example is 0.34 (see Figure 12). This penetrance value is used to determine the genetic family history risk score.

[0359] A risk factor or family history risk score is determined. The first contribution considers relatives who are known to have or have had the disease, but are not known to have died from the disease:

number

[0360] Considering that first-degree level kinship is the most important in these calculations, we define the following empirical weight values: w'1 = 0.55; w'2 = 0.30; w'3 = 0.15. Thus, in this example run, using the information in the CSV file, the first contribution is:

number

[0361] The second contribution considers relatives known to have died from the disease:

number

[0362] In this example, the secondary weighting coefficients have the same values ​​as the primary weighting coefficients, so:

number

[0363] The third contribution is based on the age of the relative:

number

[0364] In this implementation, empirical weights are defined to take into account that fatal cases may be more dangerous for the patient's risk: wn=0.40, wm=0.60. So in this example:

number

[0365] The final risk factor or family history risk score is:

number

[0366] In this example, the empirical coefficients α=0.15, β=0.30, and γ=0.55 are set, making the third contribution more relevant. Thus, in this example:

number

[0367] Therefore, in this example, the genetic family history risk scores (basic genetic family history risk score and Bayesian genetic family history risk score) are:

number

[0368] In this implementation, multiplication is used to calculate the genetic family history risk score. In other examples, addition may be used (i.e., genetic risk score x penetrance + DF).

[0369] Integration module 160 and update module 180 Continuing with the implementation example, the update module 180 connects to the patient's EHR in the hospital database to upload and integrate the determined risk information into the patient's record. The update module 180 runs in the background and monitors whether new information emerges regarding the patient's family ancestry (i.e., new family member information in the family member's EHR). If there is new family member information, the module causes the risk score determination process described above to be repeated taking into account the new information. The update module 180 can also include the reason for the genetic family history risk score determination in the update sent to the patient's EHR. In this implementation example, the explanation / reason is as follows:

[0370] Basic Genetic Family History Risk Score: You (or the patient) have a 24% risk of developing this condition in the future. The 24% risk result comes from the following considerations: The family pedigree follows the AUTOSOMAL_RECESSIVE Mendelian pattern. From this pattern, the maternal genotype ['Aa'] and paternal genotype ['Aa'] can be inferred. The maternal and paternal genotypes are then combined according to the Punnett square approach to obtain the above table containing the probability of each genotype for the patient. Because Mendelian patterns are AUTOSOMAL_DOMINANT, all genotypes with at least one capital letter (e.g., 'Aa') will have the condition. Therefore, when we add up the probabilities of genotypes that may have the condition, we get an initial risk of 75.0. However, if the patient is 26 years old and an age window of 7 is applied, the risk estimate is for a patient aged 33 years, with a penetrance of 0.34. Including penetrance and risk factors (75.0*0.34*0.9396), the resulting risk is 24%.

[0371] Bayes Risk Prediction: You (or the patient) have an 18% risk of developing this condition in the future. The 18% risk result comes from the following considerations: The family pedigree follows the AUTOSOMAL_RECESSIVE Mendelian pattern. From this pattern, the maternal genotype ['Aa'] and paternal genotype ['Aa'] can be inferred. Then, we combine the maternal and paternal genotypes according to the Punnett square approach to obtain the prior probability of each genotype: {'AA':Fraction(1,4),'Aa':Fraction(1,2),'aa':Fraction(1,4)} Since the children are healthy, we apply the Punnett square approach between the probabilities of all genotypes and the genotypes of the other ancestors (['aa']) to find the conditional probability based on 3 children: {'AA':Fraction(1,1),'Aa':Fraction(1,8),'aa':Fraction(1,1)} Next, we combine the prior and conditional probabilities to get {'AA':Fraction(1,4),'Aa':Fraction(1,16),'aa':Fraction(1,4)} and perform a Bayesian approach taking into account the probability of each genotype, which returns the table of probabilities shown above. Because Mendelian patterns are AUTOSOMAL_DOMINANT, all genotypes with at least one capital letter (e.g., 'Aa') will have the condition. Therefore, when we add up the probabilities of genotypes that may have the condition, the initial risk is 55.56. However, if the patient is 26 years old and an age window of 7 is applied, the risk estimate is for a patient aged 33 years, with a penetrance of 0.34. Including penetrance and risk factors (55.56*0.34*0.9396), the resulting risk is 18%.

[0372] The reason can be determined by the integration module 160 or the update module 180 .

[0373] The integration module transmits the obtained results to an external device associated with the patient. In this example, the transmitted information is: List of familial related diseases: Breast cancer For each disease, the basic genetic family history risk score: Breast cancer → 24% For each disease, Bayesian genetic family history risk score: Breast cancer → 18% For each disease, a flag color is displayed that corresponds to the patient's risk. For flag risk color assignment, the average between the Base and Bayesian genetic family history risk scores is determined.

number

[0374] The corresponding category color is assigned according to the alert color system definitions above. In this case, the color assigned to a 21% risk is light yellow.

[0375] The device 200 receives this information, connects the flag color data to the appropriate light drivers, and shows / displays the rest of the output information on a small output screen. Figure 15 shows an example of the interface of device 200 for this implementation (light colors are not shown in Figure 15).

[0376] We now continue the above example implementation by receiving new information from the patient's relatives. In this example, two of the patient's sisters were diagnosed with breast cancer and a third sister died from breast cancer. The updater 180 detects this new information and causes the above process to be repeated. The new information extracted is shown in Figure 16. Figure 17 shows the new CSV file containing the new extracted information.

[0377] The inheritance pattern is redetermined to be AUTOSOMAL_DOMINANT. If new information is detected, in some implementations, when the process is repeated the inheritance pattern is not redetermined and may be assumed to be the same as before. In this example run, the family members are genotyped and reassigned, the results of which are shown in FIG. 18. The base and Bayesian genetic risk scores are not affected by the new information in this example and are still as follows: Basic risk model: 75% Bayes risk model: 55.56%

[0378] The method includes determining whether the new information has assigned a different genotype to the patient, the child, or the child's other parent, and if so, recalculating the genetic family history risk score, and if not, may not recalculate the genetic family history risk score.

[0379] In this example, the risk factors are recalculated taking into account the new information.

[0380] The first contribution is (using the same primary weighting factors as before):

number

[0381] The second contribution is (using the same quadratic weighting factors as before for the new information):

number

[0382] The third contribution (using the same weighting factors as before for the new information):

number

[0383] The family history risk score (using the same weighting factors as before the new information) is:

number

[0384] Therefore, the genetic family history risk scores (basic and Bayesian) using the new information are:

number

[0385] With the new information, this patient has a significantly increased risk of developing breast cancer disease in both models (basic: 24% to 42%; Bayes: 18% to 31%), which is reasonable considering the new information that two sisters were diagnosed with breast cancer at a younger age and a third sister died from breast cancer at a younger age.

[0386] What should be emphasized in this example is that the initial statistical model based on genetics (i.e., the genetic risk score) did not reflect the increased risk to the patient due to this new information; only the risk factor or family history risk score determined the increased risk to the patient.

[0387] For flag risk color assignment, the average of the baseline genetic family history risk score and the Bayesian genetic family history risk score is calculated.

number

[0388] A corresponding category color is assigned according to the alert color system described above, in this case the color assigned to a 36.5% risk is dark yellow. This new information regarding the patient's risk is sent to the device 200 to indicate an update.

[0389] Magnet IoT device interaction FIG. 19 illustrates an example of a device 200 that shows updated risk information based on new information used in determining the recurrent genetic family history risk score.

[0390] After the latest update of the patient's relatives' information, the light of the alert color system for breast cancer status changed from light yellow to dark yellow. This may raise the patient's interest. The patient may want to contact his / her family doctor and make a call. In that case, the patient just needs to press an interactive button with a picture of a phone. Pressing the button will directly call the doctor. This patient summary information is instantly displayed, for example, in the hospital application on the doctor's computer (which may only be displayed if the doctor receives the call). In this example, the application displays the genetic family history risk scores of the two models for breast cancer disease, the associated flag alert colors, and the previously included explainability information for the workflow and outcome sequence (which may be accessible only to the doctor or additionally / alternatively to the patient). From this call and patient summary information, the doctor can take appropriate action.

[0391] If the doctor is unavailable, the patient can press a button with an exclamation mark to send a warning message. If this is done, a warning alert is forwarded to the patient's EHR and this change can be seen in the hospital's application on the doctor's computer. In such an application, the doctor's consultation list can be modified to assign a higher priority to this patient, since the flag warning is dark yellow and has recently increased. When the doctor opens the application, the update in the consultation list is highlighted and summary information of the patient, for example related to risk, is visualized in a pop-up window and can be brought to the doctor's attention. All these mechanisms can assist the doctor in analyzing the patient's situation to make decisions and take appropriate actions.

[0392] As discussed above, the information displayed by device 200 and / or used to update the patient EHR and / or transmitted to a physician may (optionally or additionally) include diagnostic information, which may include a final diagnosis and an associated genetic family history risk score, as discussed above.

[0393] Aspects disclosed herein can be integrated as plug-ins within existing current frameworks or can be integrated within larger clinical decision support systems for healthcare applications.

[0394] Some advantages of the aspects disclosed herein include the following: Real-time updates on patient health risks; IoT devices that communicate directly between patients, EHRs and physicians; Integrate a health risk warning system into the device and communicate it clearly to all patients. Multilingual support, Improved diagnostics, Improve diagnostic accuracy, A diagnosis that takes into account diverse information, including predicted genetic information of the patient and family members, medical history of the patient and family members, physiological measurements of the patient, symptoms of the patient, etc. The diverse information improves the reliability and / or accuracy of the diagnosis and / or results in a more robust diagnosis. Furthermore, because the genetic information is predicted, there is no need to obtain such information from a test.

[0395] Some aspects disclosed herein include the following.

[0396] An ad-hoc external magnet IoT device design that provides patient health risk warning information based on family ancestry in an easy and understandable manner and presents such information in an acceptable and common manner to reach all patients. This can include: a) An interface that processes data from a central database and can be adapted for visualizing data generated by the disclosed system on an external device, and shows relevant information to the patient. Such an interface can also process interactive input from the patient to modify information and forward these changes to the patient profile in the EHR of the hospital's database. Such interactions can include: (i) a direct call to the physician, at which point relevant information can be sent to be displayed directly in the application the physician is running, without the physician having to make a specific query or search; and (ii) submission of warning signs by the patient, which modify the patient's EHR and physician consultation application to provide prioritization and special warning highlighting. b) A magnetized surface that allows the user to stick the device in a visible place in the house, such as the refrigerator, so that the device is always available at home. c) A hardware architecture that handles and processes all the data, interactions, and connections to share information between this external device and a central database such as a patient's EHR.

[0397] An automated patient health risk prediction system that uses deep learning techniques in a multilingual environment to automatically process family medical history information from unstructured clinical reports in text format and provide risk probabilities that a patient has a particular disease or is a carrier for such a disease. A pedigree typing unit that estimates family inheritance patterns; a family genotype estimation engine that estimates the likely genotypes of the patient's relatives based on inheritance patterns; A Mendel / Bayes risk scoring engine that can calculate the patient's health risk for two models based on statistical models, patient and relative information, penetrance values ​​for the age range of the disease, and risk factors. The Danger Factor score is based on features including discrimination by relative degree level for all features, such as the number of surviving relatives who developed the condition, the number of relatives who died from the condition, and a formula that takes into account the ages of relatives who developed or died from the condition.

[0398] The risk score and warning system integration module can be connected to the patient's EHR in the hospital's database and provide real-time updates of risk scores by monitoring changes in the patient's family information. This module can also link the light semaphore of an external device with risk scoring and adapt to represent a warning color system of the patient's danger category according to the patient's possible health risk.

[0399] In an automated patient health risk prediction system, the extraction of information from the patient's family members can follow the multilingual features of unstructured text documents.

[0400] In the risk score and warning system integration module, the patient health risk warning color warning system can follow a six-color classification (dark green, light green, light yellow, dark yellow, light red, dark red) that simulates a common understanding of semaphores so that all patients can understand.

[0401] In the color alert system, the design for linking a patient's possible health risk to six color categories can follow the average calculation of basic and Bayesian genetic family history risk scores and the definition of six probability ranges for each color. a) Dark Green: 0% to 9.99% chance b) Light Green: 10% to 19.99% chance c) Dark Yellow: 20% to 34.99% chance d) Dark Yellow: 35% to 49.99% probability e) Light Red: 50% to 64.99% probability f) Dark red: 65% to 100% probability; The colors closest to dark green indicate a low risk and danger to patients, while the colors closer to dark red indicate a high health risk and are dangerous for patients suffering from certain diseases.

[0402] The explainability description of the risk score and alert system integration module can be included in the patient's EHR to provide physicians with a high-level understanding of the workflow and intermediate results of the risk calculation methodology.

[0403] The external magnet IoT device may include any of the following features: a) A (small) output screen showing the name of the disease of interest. b) Interactive directional buttons so that the patient can press the buttons to go forward / back through the list of diseases. c) A (small) output screen showing the risk probability (genetic family history risk score) of having the selected disease as a percentage for two models (basic Mendelian model and Bayesian algorithm model). d) Lights that indicate the patient's risk in an easy-to-understand way, following a kind of semaphore signal that alerts the patient to the risk in real time. e) An interactive call button, which when pressed by the patient, establishes a direct call with the family doctor and automatically displays the patient's summary information for the selected disease in the EHR system to the doctor (health risk probability, flag lights related to the patient's risk, and explainable reasons for the risk value accessible only to the doctor). In this way, if a patient wants to call the doctor due to concerns about an increased health risk, the doctor can directly check the patient's relevant records related to the call without having to make a specific query or search in the system. f) An interactive alert button, when the patient presses this button, an alert message is forwarded to the patient's EHR and relevant information related to this alert in the record is updated. The system sends an alert signal to the family doctor in the doctor's application and updates the doctor's consultation list by assigning a higher priority according to the patient's risk flag light. In this way, the doctor will see the patients with higher risk / danger prioritized by the system in the first position of the list. Thus, the doctor can use such prioritized list and the patient's health risk summary information, along with explainability, as a decision support to take appropriate action as soon as possible.

[0404] 20 is a block diagram of an information processing device 10 or computing device 10, such as a data storage server, that may embody the present invention and that may be used to perform some or all of the operations of the methods embodying the present invention and to perform some or all of the tasks of the devices of the embodiments. The computing device 10 may be used to implement any of the method steps described above, such as any of S20-S90 of FIG. 2. The device 10 may function as the system 11, excluding the device 200, as described above, or may function as the device 200. The device 10 may function as a system configured to display information without the use of the device 200, as described above.

[0405] Computing device 10 includes a processor 993 and a memory 994. Optionally, the computing device also includes a network interface 997 for communicating with other such computing devices, such as other computing devices of embodiments of the present invention. Optionally, the computing device also includes one or more input mechanisms, such as a keyboard and mouse 996, and a display unit, such as one or more monitors 995. These elements may facilitate user operation. The components may be connected to each other via a bus 992.

[0406] The memory 994 may include a computer-readable medium, which term may refer to a single medium or multiple media (e.g., centralized or distributed databases and / or associated caches and servers) configured to carry computer-executable instructions. Computer-executable instructions may include, for example, instructions and data accessible by a general purpose computer, a special purpose computer, or a special purpose processing device (e.g., one or more processors) to cause one or more functions or operations to be performed. For example, computer-executable instructions may include instructions for implementing the methods disclosed herein, or any method disclosed herein, such as S20-S90 of FIG. 2. The term "computer-readable storage medium" may include any medium capable of storing, encoding, or retaining a set of instructions for execution by a machine and causing a machine to perform any one or more of the method steps of the present disclosure, and thus the term "computer-readable storage medium" includes, but is not limited to, solid-state memory, optical media, and magnetic media. For example, but not limited to, the term "computer-readable storage medium" may include solid-state memory, optical media, and magnetic media. By way of example, and not limitation, such computer-readable media may include non-transitory computer-readable media including random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), compact disk read-only memory (CD-ROM) or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, flash memory devices (e.g., solid-state memory devices).

[0407] The processor 993 is configured to control the computing device and perform processing operations such as executing computer program code stored in the memory 994 to perform any of the method steps described herein. The memory 994 stores data that is read and written by the processor 993, and can store any of the unstructured (medical history) data and / or unstructured (medical history) training data, and / or extracted family history information and / or extracted medical (medical history) information and / or input data, and / or any of the rules described above, and / or any of the values ​​described above and any of the determined information described above such as genotypes and inheritance patterns, and / or any of the method steps described above, such as any of S20-S90 in FIG. 2, and / or any of the rule-based algorithms / processes described above, and / or any of the calculations described above. As referred to herein, a processor may include one or more general-purpose processing devices such as a microprocessor, a central processing unit, etc. The processor may include a processor implementing a Complex Instruction Set Computing (CISC) microprocessor, a Reduced Instruction Set Computing (RISC) microprocessor, a Very Long Instruction Word (VLIW) microprocessor, or other instruction set or processor implementing a combination of instruction sets. The processor may also include one or more special purpose processing devices, such as an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), a network processor, etc. In one or more embodiments, the processor is configured to execute the operations discussed herein and instructions for performing the operations. The processor 993 may be considered to include / implement any of the modules described above. Any operation described as being performed by one or more modules may be implemented as a method by a computer, such as the processor 993.

[0408] The display unit 995 may display representations of data stored by the computing device, such as any of the outputs described above, e.g., any of the lights indicating at least one of the final diagnosis, the genetic family history risk score, the condition / disease, the genetic family history risk score, or the genetic risk score, and may also display cursors, dialog boxes, and screens that allow interaction between a user and the programs and data stored on the computing device. The input mechanism 996 may enable a user to input data and instructions into the computing device, such as allowing a user to enter any of the user inputs described above.

[0409] The network interface (network I / F) 997 can be connected to a network such as the Internet, and can be connected to other such computing devices via the network. The network I / F 997 can control input and output data to and from other devices via the network.

[0410] Other peripheral devices such as microphones, speakers, printers, power supply units, fans, cases, scanners, tracker balls, etc. may also be included in the computing device.

[0411] A method embodying the present invention may be performed on a computing device / appliance 10 as shown in FIG. 20. Such a computing device need not have all the components shown in FIG. 20, but may be comprised of a subset of these components. For example, the device 10 includes a processor 993 and a memory 994 coupled to the processor 993. Alternatively, the device 10 includes a processor 993, a memory 994 coupled to the processor 993, and a display 995. A method embodying the present invention may be performed by a single computing device in communication with one or more data storage servers over a network. The computing device may be a data storage device that stores at least a portion of the data.

[0412] Methods embodying the present invention may be performed by multiple computing devices operating in cooperation with one another. One or more of the multiple computing devices may be data storage servers that store at least a portion of the data. For example, a computing device may implement device 200 and another computing device may implement the remaining components of system 11.

[0413] The invention can be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. The invention can be implemented as a computer program or computer program product, i.e. a computer program embodied in a non-transitory information carrier, for example a machine-readable storage device or a propagated signal, for execution by or controlling the operation of one or more hardware modules.

[0414] A computer program may be in the form of a stand-alone program, computer program portions, or multiple computer programs, may be written in any type of programming language, including compiled or interpreted languages, and may be deployed in any form, such as as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a data processing environment. A computer program may be deployed to be executed on one module or on multiple modules that are located at one site or distributed across multiple sites and interconnected by a communication network.

[0415] The steps of the methods of the present invention may be performed by one or more programmable processors executing computer programs to perform the functions of the present invention by operating on input data and generating output. The apparatus of the present invention may be implemented as programmed hardware or as special purpose logic circuitry including Field Programmable Gate Arrays (FPGAs) or Application-Specific Integrated Circuits (ASICs), etc.

[0416] Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Typically, a processor receives instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions coupled to one or more memories that store instructions and data.

[0417] The above-described embodiments of the invention may be advantageously used independently of any other embodiment or in any feasible combination with one or more other embodiments of the embodiments.

[0418] In addition to the above-described embodiment, the following supplementary notes are further disclosed. (Appendix 1) 1. A computer-implemented method comprising: assigning at least one genotype to each of a plurality of family members of the patient based on rules defining the inheritance pattern of the condition and based on information indicating whether each of the plurality of family members is known to have or have had the condition; determining a genetic risk score, based on the assigned genotypes of the patient's family members, using Mendelian and / or Bayesian analysis, indicative of the likelihood that the patient has the condition; below: the number of family members of said patient who are known to have or have had said condition and who are not known to have died from said condition, and the age of at least one of said family members when said condition was diagnosed; the number of family members of said patient who are known to have died from said condition, and the age at the time of death of at least one of said family members; determining a family history risk score indicative of the likelihood that the patient has the condition based on determining a genetic family history risk score for the patient having the condition based on the genetic risk score and the family history risk score; 23. A computer-implemented method comprising: (Appendix 2) 2. The computer-implemented method of claim 1, further comprising determining a pattern of inheritance of the condition by applying rules defining a plurality of patterns of inheritance to information indicating whether each of the plurality of family members of the patient is known to have or have had the condition. (Appendix 3) The step of determining the family history risk score comprises: determining a first contribution to the family history risk score based on the number of family members of the patient who are known to have or have had the condition and who are not known to have died from the condition; determining a second contribution to the family history risk score based on the number of members of the patient's family known to have died from the condition; below: the age at the time of diagnosis of said condition of at least one family member who is known to have or have had said condition and who is not known to have died from said condition; the age at the time of death of at least one family member known to have died from said condition; determining a third contribution to the family history risk score based on summing said first to third contributions with corresponding first to third weighted scores; 3. The computer-implemented method of claim 1 or 2, comprising: (Appendix 4) the first contribution is determined to increase with the number of family members of the patient who are known to have or have had the condition and who are not known to have died from the condition; and / or the second contribution is determined to increase with the number of family members of the patient known to have died from the condition; and / or said third contribution is determined to increase as the age of family members who are known to have or have had said condition and who are not known to have died from said condition decreases, and as the age of family members who are known to have died from said condition decreases. 4. The computer-implemented method of any one of claims 1 to 3. (Appendix 5) The step of determining the first contribution comprises: determining the number of first degree family members of the patient who are known to have or have had the condition and who are not known to have died from the condition; determining the number of second-degree family members of the patient who are known to have or have had the condition and who are not known to have died from the condition; determining the number of third-degree family members of said patient who are known to have or have had said condition and who are not known to have died from said condition; summing the determined number of family members with corresponding first-degree, second-degree, and third-degree primary weighting factors; Including, First-degree family members include any of the following: parents, siblings, and children Second-degree family members include aunts, uncles, grandparents, grandchildren, nieces, nephews, and half-siblings; Third-degree family members include cousins, great-grandparents, great-uncles, great-aunts, great-nephews, great-nieces, great-grandchildren, half-aunts, and half-uncles. 5. The computer-implemented method of any one of claims 1 to 4. (Appendix 6) The step of determining the second contribution comprises: determining the number of first-degree family members of the patient known to have died from the condition; determining the number of second-degree family members of the patient known to have died from the condition; determining the number of third-degree family members of said patient who are known to have died from said condition; summing the determined number of family members with corresponding first-degree, second-degree, and third-degree quadratic weighting factors; Including, First-degree family members include any of the following: parents, siblings, and children Second-degree family members include aunts, uncles, grandparents, grandchildren, nieces, nephews, and half-siblings; Third-degree family members include cousins, great-grandparents, great-uncles, great-aunts, great-nephews, great-nieces, great-grandchildren, half-aunts, and half-uncles. 6. The computer-implemented method of any one of claims 1 to 5. (Appendix 7) Determining the third contribution includes calculating:

number

[0419] 100 Family Health Risk Estimation 110 Family Medical History (FMH) Extraction Section 120 Family History Data Conversion Unit 140 Health Risk Calculations 142 Family Type Classification Section 144 Family Genotyping Division 146 Mendel / Bayes Risk Scoring 160 Risk Score & Alert System Integrator 180 Patient EHR Updates 200 Magnet IoT Device Interface

Claims

1. 1. A computer-implemented method comprising: assigning at least one genotype to each of a plurality of family members of the patient based on rules defining the inheritance pattern of the condition and based on information indicating whether each of the plurality of family members is known to have or have had the condition; determining a genetic risk score, based on the assigned genotypes of the patient's family members, using Mendelian and / or Bayesian analysis, indicative of the likelihood that the patient has the condition; below: the number of family members of the patient who are known to have or have had the condition and who are not known to have died from the condition, and the age of at least one of the family members when the condition was diagnosed; the number of family members of said patient who are known to have died from said condition, and the age at the time of death of at least one of said family members; determining a family history risk score indicative of the likelihood that the patient has the condition based on determining a genetic family history risk score for the patient having the condition based on the genetic risk score and the family history risk score; 23. A computer-implemented method comprising:

2. 2. The computer-implemented method of claim 1, further comprising determining a pattern of inheritance of the condition by applying rules defining a plurality of patterns of inheritance to information indicating whether each of the plurality of family members of the patient is known to have or have had the condition.

3. The step of determining the family history risk score comprises: determining a first contribution to the family history risk score based on the number of family members of the patient who are known to have or have had the condition and who are not known to have died from the condition; determining a second contribution to the family history risk score based on the number of members of the patient's family known to have died from the condition; below: the age at the time of diagnosis of said condition of at least one family member who is known to have or have had said condition and who is not known to have died from said condition; the age at death of at least one family member known to have died from said condition; determining a third contribution to the family history risk score based on summing said first to third contributions with corresponding first to third weighted scores; 3. The computer-implemented method of claim 1 or 2, comprising:

4. the first contribution is determined to increase with the number of family members of the patient who are known to have or have had the condition and who are not known to have died from the condition; and / or the second contribution is determined to increase as the number of family members of the patient known to have died from the condition increases; and / or said third contribution is determined to increase as the age of family members who are known to have or have had said condition and who are not known to have died from said condition decreases, and as the age of family members who are known to have died from said condition decreases.

4. The computer-implemented method of claim 3.

5. The step of determining the first contribution comprises: determining the number of first degree family members of the patient who are known to have or have had the condition and who are not known to have died from the condition; determining the number of second-degree family members of the patient who are known to have or have had the condition and who are not known to have died from the condition; determining the number of third-degree family members of said patient who are known to have or have had said condition and who are not known to have died from said condition; summing the determined number of family members with corresponding first, second, and third degree primary weighting factors; Including, First-degree family members include any of the following: parents, siblings, and children; Second-degree family members include aunts, uncles, grandparents, grandchildren, nieces, nephews, and half-siblings; Third-degree family members include cousins, great-grandparents, great-uncles, great-aunts, great-nephews, great-nieces, great-grandchildren, half-aunts, and half-uncles; 4. The computer-implemented method of claim 3.

6. The step of determining the second contribution comprises: determining the number of first-degree family members of the patient known to have died from the condition; determining the number of second-degree family members of the patient known to have died from the condition; determining the number of third-degree family members of the patient who are known to have died from the condition; summing the determined number of family members with corresponding first, second, and third degree secondary weighting factors; Including, First-degree family members include any of the following: parents, siblings, and children; Second-degree family members include aunts, uncles, grandparents, grandchildren, nieces, nephews, and half-siblings; Third-degree family members include cousins, great-grandparents, great-uncles, great-aunts, great-nephews, great-nieces, great-grandchildren, half-aunts, and half-uncles; 4. The computer-implemented method of claim 3.

7. Determining the third contribution includes calculating: [0010] n1st, n2nd, and n3rd are the number of first, second, and third degree family members of the patient, respectively, who are known to have or have had the condition and are not known to have died from the condition; m1st, m2nd, and m3rd are the number of first, second, and third degree family members of the patient known to have died from the condition, respectively; wn, wm are the fourth and fifth weighting coefficients, respectively; w1, w2, and w3 are the sixth, seventh, and eighth weighting coefficients, respectively; In cond1, age indicates the age of each of the family members who are known to have or have had the condition and who are not known to have died from the condition; In cond 2, age indicates the age at death of each of the family members known to have died from the condition; 4. The computer-implemented method of claim 3.

8. 2. The computer-implemented method of claim 1, wherein the method includes performing the steps of assigning a genotype, determining a genetic risk score, determining a family history risk score, and determining a genetic family history risk score for a plurality of conditions.

9. 2. The computer-implemented method of claim 1, further comprising predicting a diagnosis for the patient based on at least one of the genetic family history risk scores and outputting the diagnosis.

10. The method further includes using the device to display information indicative of the output information, the output information comprising: At least one determined genetic family history risk score and associated condition; and a determined diagnosis and, where appropriate, an associated genetic family history risk score; The computer-implemented method of claim 1 , comprising:

11. A computer program which, when executed on a computer, causes the computer to carry out a method, the method comprising: assigning at least one genotype to each of a plurality of family members of the patient based on rules defining the inheritance pattern of the condition and based on information indicating whether each of the plurality of family members is known to have or have had the condition; determining a genetic risk score, based on the assigned genotypes of the patient's family members, using Mendelian and / or Bayesian analysis, indicative of the likelihood that the patient has the condition; below: the number of family members of the patient who are known to have or have had the condition and who are not known to have died from the condition, and the age of at least one of the family members when the condition was diagnosed; the number of family members of said patient who are known to have died from said condition, and the age at the time of death of at least one of said family members; determining a family history risk score indicative of the likelihood that the patient has the condition based on determining a genetic family history risk score for the patient having the condition based on the genetic risk score and the family history risk score; A computer program comprising:

12. An information processing device comprising: a memory; and a processor coupled to the memory, the processor comprising: assigning at least one genotype to each of a plurality of family members of the patient based on rules defining the inheritance pattern of the condition and based on information indicating whether each of the plurality of family members is known to have or have had the condition; determining a genetic risk score, based on the assigned genotypes of the patient's family members, using Mendelian and / or Bayesian analysis, that indicates the likelihood that the patient has the condition; below: the number of family members of the patient who are known to have or have had the condition and who are not known to have died from the condition, and the age of at least one of the family members when the condition was diagnosed; the number of family members of said patient who are known to have died from said condition, and the age at the time of death of at least one of said family members; determining a family history risk score indicative of the likelihood that the patient has the condition based on determining a genetic family history risk score for the patient having the condition based on the genetic risk score and the family history risk score; An information processing device configured as follows.

13. A system including an apparatus and a server, the server including the information processing device according to claim 12, the server configured to transmit output information to the apparatus, the apparatus configured to display information indicative of the output information, the output information being: At least one determined genetic family history risk score and associated condition; and a determined diagnosis and, where appropriate, an associated genetic family history risk score; A system including any of the following:

14. The system of claim 13 , wherein the device is a magnetic device and / or an Internet of Things (IOT) device.

15. 15. The system of claim 13 or 14, wherein the device includes at least one light element and is configured to use the light element to display a color indicating a range within which the determined genetic family history risk score falls.