update

+fixes on patient loader
+Search by diagnosis/remarks/gross desc/micro notes
--not yet tested that much (please test)

How search works for diagnosis/remarks/etc:
1. sentence/phrase/keywords you enter in the text boxes
are split into words kunwari
"Hello hi hi hello" will become
"hello" "hi" "hi" "hello"
2. these split words will be checked one by one if it exists in the
record. kunwari, record has a remark "HELLO WORLD", and you search for
"HELLO PHILIPPINES" as a remark. so mangyayari
"hello" "philippines". so ichecheck, does "hello" exists in "hello
world", (+1 point if yes). tapos does "philippines" exists in "HELLO
WORLD" (+1 point if yes). Pero it will also be checked if the whole
phrase, without splitting, exists in the record. so does "hello
philippines" exists in "hello world" (+1 if yes)
3. those with positive points (that is, greater than 0) is included in
the matching list (ibgsabhn may nag match na word kahit di buong
phrase/sentence)
4. then the list will be sorted according sa highest points
(pinakamaraming nagmatch).

example:
search for "pogi si github"
available records:
"pogi si" = 2pts
"pogi ako" = 1pt
"pogi si jr" = 2pts
"pogi si github" = 4pts

then sort
"pogi si github" - first in the list
"pogi si"/"pogi si jr"
"pogi ako" - last in the list

dapat ganyan. so natest ko sya sa simple lang di pa thorough testing so
pls help (y)