gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] ID issuers, types, and validation


From: Busser, Jim
Subject: Re: [Gnumed-devel] ID issuers, types, and validation
Date: Fri, 26 Jul 2013 23:00:04 +0000

On 2013-07-26, at 2:09 PM, Karsten Hilbert <address@hidden> wrote:

>> As far as the validation part, I had thought we had added (or at least 
>> talked about adding) the ability to require an id to to be validated 
>> according to a regex, for example if I require a certain kind of ID value to 
>> satisfy a
>> 
>>      modulo 9
>> 
>> condition. However in dem.enum_ext_id_types I don't see a column in which to 
>> define the regex. Do I mis-remember?
> 
> I faintly remember that discussion. I don't remember any conclusion.

Along the thread

        http://lists.gnu.org/archive/html/gnumed-devel/2011-09/msg00267.html

you offered

> One sane approach would be to define a (number of) regular
> expression(s) with each external ID type:
> 
>      dem.enum_ext_id_types.regexen text[] default NULL
> 
> and have INSERT/UPDATE triggers on dem.lnk_identity2ext_id
> check that.

… I agree this would be a suitable enhancement.

--> Can it be marked for addition?      

-- Jim


reply via email to

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