Hi Marcos,
Right now these are the methods that I use to validate
1. Identifiers- the regex expression in the create identifier page.  The
identifier in Chile RUT is as follows \d{1,8}-\w, an example is 13234987-K
or 13456837-9
2. Dates- in the form, I've manually placed in the logic validation that it
can't be a certain amount in the future or in the past.  Unfortunately this
has to be done for every from because there isn't a way to specify values at
the concept level.
3. Numeric values - use the critical range in the concept definition.

Hope this helps,

Joaquín
___________________________________________________________________
Gerente de Desarrollo, eHealth Systems <http://www.ehs.cl/>
Research Fellow, Escuela de Medicina de Harvard <http://hms.harvard.edu/>
Moderador, GHDOnline.org <http://www.ghdonline.org/>


On Wed, Oct 19, 2011 at 7:52 PM, Marcos Núñez <[email protected]> wrote:

> Hi! I was wondering if other implementers using XForms would like to share
> their methods to validate data entry, say patient emails, phone numbers,
> identifiers, etc, and I'd like to know specially if this can be done "on the
> fly", not just with the SubmitForm method. This would be a nice wiki entry,
> by the way.
>
> Thanks in advance
>
> Marcos
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>  OpenMRS Implementers' mailing list

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to