https://blueprints.launchpad.net/dhis2/+spec/regex-validation


On Tue, Dec 3, 2013 at 4:29 PM, Lars Helge Øverland <larshe...@gmail.com>wrote:

> Hi,
>
> do we have a blueprint for this some how? We can try to do it for 2.15.
>
> Lars
>
>
>
> On Wed, Nov 6, 2013 at 6:14 PM, Sharada Acharya <sa3...@columbia.edu>wrote:
>
>> Hi Jason,
>>
>> I went through the your bug description, that is exactly what I want!
>> Providing the ability to create regular-expressions or creation of a
>> dynamic
>> data-type seems to be the best way to verify the format of incoming data.
>> I was wondering if this request has been considered for DHIS future
>> release.
>> Any idea about which version would it be considered for?
>>
>> -
>> Sharada Acharya
>> Health Informatics Intern at ICAP
>> Columbia Univeristy
>> New York, NY
>>
>>
>> On Mon, Nov 4, 2013 at 7:40 PM, jason.p.pickering <
>> 1247...@bugs.launchpad.net> wrote:
>>
>> > Hi Knut and Sharada
>> >
>> > This is still the case in 2.13 and good to see someone else is seeing a
>> > need for this!
>> >
>> > Although what Sharada is requesting for is a bit different I think than
>> the
>> > blueprint you mentioned, but nonetheless related. I think the case here
>> is
>> > that a dynamic  data type, which is user definable in a sense,  needs
>> to be
>> > created. Right now, these are hardcoded as integer, negative integer,
>> > positive integer, etc. And all of these different types basically use a
>> > regular expression to validate their type, since in the database,
>> > everything is stored as text. Seems to be a useful feature, but having a
>> > server side mechanism to do the validation is the first step in my mind.
>> >
>> > Regards,
>> > Jason
>> >
>> >
>> > On Mon, Nov 4, 2013 at 10:50 PM, Knut Staring <knu...@gmail.com> wrote:
>> >
>> > > https://blueprints.launchpad.net/dhis2/+spec/regex-validation
>> > >
>> > > ** Changed in: dhis2
>> > >        Status: New => Invalid
>> > >
>> > > --
>> > > You received this bug notification because you are a member of DHIS 2
>> > > developers, which is subscribed to DHIS.
>> > > https://bugs.launchpad.net/bugs/1247890
>> > >
>> > > Title:
>> > >   New field type required to ensure the format of the data
>> > >
>> > > Status in DHIS 2:
>> > >   Invalid
>> > >
>> > > Bug description:
>> > >   There doesn’t seem to be a way to check the structure of each field
>> > >   beyond field type (number, text, date). For example, ensuring ANC
>> > >   number is formatted as ###/##/## or is a particular length.
>> Validation
>> > >   rule does not allow users to create an expression which checks if
>> the
>> > >   input is well-formed or has a particular format-type.
>> > >
>> > >   DHIS Live Version: 2.11
>> > >
>> > > To manage notifications about this bug go to:
>> > > https://bugs.launchpad.net/dhis2/+bug/1247890/+subscriptions
>> > >
>> > > _______________________________________________
>> > > Mailing list: https://launchpad.net/~dhis2-devs
>> > > Post to     : dhis2-devs@lists.launchpad.net
>> > > Unsubscribe : https://launchpad.net/~dhis2-devs
>> > > More help   : https://help.launchpad.net/ListHelp
>> > >
>> >
>> > --
>> > You received this bug notification because you are subscribed to the bug
>> > report.
>> > https://bugs.launchpad.net/bugs/1247890
>> >
>> > Title:
>> >   New field type required to ensure the format of the data
>> >
>> > Status in DHIS 2:
>> >   Invalid
>> >
>> > Bug description:
>> >   There doesn’t seem to be a way to check the structure of each field
>> >   beyond field type (number, text, date). For example, ensuring ANC
>> >   number is formatted as ###/##/## or is a particular length. Validation
>> >   rule does not allow users to create an expression which checks if the
>> >   input is well-formed or has a particular format-type.
>> >
>> >   DHIS Live Version: 2.11
>> >
>> > To manage notifications about this bug go to:
>> > https://bugs.launchpad.net/dhis2/+bug/1247890/+subscriptions
>> >
>>
>> --
>> You received this bug notification because you are a member of DHIS 2
>> developers, which is subscribed to DHIS.
>> https://bugs.launchpad.net/bugs/1247890
>>
>> Title:
>>   New field type required to ensure the format of the data
>>
>> Status in DHIS 2:
>>   Invalid
>>
>> Bug description:
>>   There doesn’t seem to be a way to check the structure of each field
>>   beyond field type (number, text, date). For example, ensuring ANC
>>   number is formatted as ###/##/## or is a particular length. Validation
>>   rule does not allow users to create an expression which checks if the
>>   input is well-formed or has a particular format-type.
>>
>>   DHIS Live Version: 2.11
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/dhis2/+bug/1247890/+subscriptions
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to