Skip to main content
. 2022 Dec 28;13(1):95. doi: 10.3390/diagnostics13010095
Algorithm 5. Automatic online prediction of common disease attributes.
generate database-DB = {symptom, time, intensity, organ name, duration}
create a tag for symptom
user input as word
for each user word
          separate each word
          check each word in DB
          if (word → found)
                     put relevant array
                     else if (word → not found)
                     Search symptoms and reference tag
                     if (reference word → found)
                               move to the relevant decision
                               else
                                         put relative attributes and continue
                     end if
          end if
end for
return, prediction of common disease attribute