gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] patient search functionality - your help needed


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] patient search functionality - your help needed
Date: Sat, 7 Dec 2002 16:01:45 +0100
User-agent: Mutt/1.3.22.1i

Hi Hilmar,

> 1. I always get more than one query, sometimes with contrary meaning (that
> is, doing the same query with only lastname and firstname swapped).
That is intentional. We would, of course, run the first query
first. If that does not return any results or the user hits
"more matches" we will run the second and maybe the third
query.

> 2. on entering numbers there should be a sanity check, else we cant know
> what is a date and what an patient id.
a) There already is.
b) If you type "#digits" you _explicitely_ saying: this is a
   patient ID.
c) "*digits" -> date of birth
d) "$digits" -> date of birth (maybe this one is confusing)
e) "+digits" -> date of death

Why "*" and "+" ? Look at how people write the dates for birth and
death when they refer to famous people.

> 3. There are countries in which people have more than one
> (significant) lastname (spanish-speaking countries are one case :), some
> asiatic countries might be another one).
Obviously you didn't even try entering any such name :-)

> Don't even know how to handle
> these cases. One might just handle all lastnames as one string and try to
> match from the leftmost position (including spaces).
Yes, obviously :-(

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]