How do HTML Form Entry and xForms store concepts for each form to automatically create an import in the Spreadsheet Import Module?

classic Classic list List threaded Threaded
2 messages Options
Joaquín Blaya Joaquín Blaya
Reply | Threaded
Open this post in threaded view
|

How do HTML Form Entry and xForms store concepts for each form to automatically create an import in the Spreadsheet Import Module?

Another feature we're going to put into the Spreadsheet Import Module, is that if you choose to create an encounter for the import, then you can select a form in which it will be displayed or edited.

The idea is that if you select a form, the import template will be automatically created for you, instead of having to input each field of the excel manually.

For an xForm, we can get the form schema and use the concepts associated to it to create this import, but where is the value stored if a concept is mandatory or not?


For an HTML Form, where does it keep the concepts associated with it and if they are mandatory or not?

Thanks,

Joaquín
___________________________________________________________________
Gerente de Desarrollo, eHealth Systems
Research Fellow, Escuela de Medicina de Harvard
Moderador, GHDOnline.org


[hidden email] from OpenMRS Developers' mailing list
Dave Thomas Dave Thomas
Reply | Threaded
Open this post in threaded view
|

Re: How do HTML Form Entry and xForms store concepts for each form to automatically create an import in the Spreadsheet Import Module?

... and, obs tags in htmlformentry have a required attribute that allows the form designer to specify whether or not a value is required to submit the form.

d

On Sun, May 6, 2012 at 7:55 AM, Joaquín Blaya <[hidden email]> wrote:
Another feature we're going to put into the Spreadsheet Import Module, is that if you choose to create an encounter for the import, then you can select a form in which it will be displayed or edited.

The idea is that if you select a form, the import template will be automatically created for you, instead of having to input each field of the excel manually.

For an xForm, we can get the form schema and use the concepts associated to it to create this import, but where is the value stored if a concept is mandatory or not?


For an HTML Form, where does it keep the concepts associated with it and if they are mandatory or not?

Thanks,

Joaquín
___________________________________________________________________
Gerente de Desarrollo, eHealth Systems
Research Fellow, Escuela de Medicina de Harvard
Moderador, GHDOnline.org


[hidden email] from OpenMRS Developers' mailing list


[hidden email] from OpenMRS Developers' mailing list