How can I add a script that calculates the percentage of match from fuzzy query? And showed the matched value
Example patient has 5 symptoms and fist the possible (A)diagnosis has 5 possible symptoms and the second diagnosis (B) has 6 symptoms and last(C) had 4 symptoms
Given some of the patience symptoms are similar, he actually matches 5/4 for C, 4/6 for B and 5/5 for A ...
The question is, how do you add such a script that calculates and sorts the matches, how do you put the value from match example for C?