Using XForms Module for new patient form

5 messages Options
Embed this post
Permalink
Ben Wolfe

Using XForms Module for new patient form

Reply Threaded More More options
Print post
Permalink
Daniel

I have had a few people ask me how to make a custom "new patient form"
jsp page.  I see that the xforms has a global property setting for
"xforms.usePatientXform".  How does that work?  Can you add a quick wiki
page on how I might use that?  Does that let me design a new xform and
set it as the "new patient form"? (please say yes :-D )

The only other option is to override the jsp page with a module and
write you own jsp/controller page:
http://openmrs.org/wiki/Module_Application_Context_File#Overriding_a_jsp_page

Ben

_________________________________________

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

[mailto:[hidden email]?body=SIGNOFF%20openmrs-implement-l]
Daniel Kayiwa

Re: Using XForms Module for new patient form

Reply Threaded More More options
Print post
Permalink

Hi Ben,

The wiki page can be found at:

http://openmrs.org/wiki/XForms_Module_Patient_Registration



On Thu, Oct 29, 2009 at 4:38 PM, Ben Wolfe <[hidden email]> wrote:
Daniel

I have had a few people ask me how to make a custom "new patient form" jsp page.  I see that the xforms has a global property setting for "xforms.usePatientXform".  How does that work?  Can you add a quick wiki page on how I might use that?  Does that let me design a new xform and set it as the "new patient form"? (please say yes :-D )

The only other option is to override the jsp page with a module and write you own jsp/controller page:
http://openmrs.org/wiki/Module_Application_Context_File#Overriding_a_jsp_page

Ben

_________________________________________

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

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



--
If we keep uppermost in our minds the unkind and unjust acts of others, we shall find it impossible to love them as Christ has loved us; but if our thoughts dwell upon the wondrous love and pity of Christ for us, the same spirit will flow out to others.

[hidden email] from OpenMRS Implementers' mailing list
Ben Wolfe

Re: Using XForms Module for new patient form

Reply Threaded More More options
Print post
Permalink
In reply to this post by Ben Wolfe
Very cool, thanks! I look forward to trying this out tmrw.  It should work nicely for exactly what they are asking for.

Ben

"Daniel Kayiwa" <[hidden email]> wrote:

>Hi Ben,
>
>The wiki page can be found at:
>
>http://openmrs.org/wiki/XForms_Module_Patient_Registration
>
>
>
>On Thu, Oct 29, 2009 at 4:38 PM, Ben Wolfe <[hidden email]> wrote:
>
>> Daniel
>>
>> I have had a few people ask me how to make a custom "new patient form" jsp
>> page.  I see that the xforms has a global property setting for
>> "xforms.usePatientXform".  How does that work?  Can you add a quick wiki
>> page on how I might use that?  Does that let me design a new xform and set
>> it as the "new patient form"? (please say yes :-D )
>>
>> The only other option is to override the jsp page with a module and write
>> you own jsp/controller page:
>>
>> http://openmrs.org/wiki/Module_Application_Context_File#Overriding_a_jsp_page
>>
>> Ben
>>
>> _________________________________________
>>
>> To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to
>> [hidden email] with "SIGNOFF openmrs-implement-l" in the
>>  body (not the subject) of your e-mail.
>>
>> [mailto:[hidden email]?body=SIGNOFF%20openmrs-implement-l]
>>
>
>
>
>--
>If we keep uppermost in our minds the unkind and unjust acts of others, we
>shall find it impossible to love them as Christ has loved us; but if our
>thoughts dwell upon the wondrous love and pity of Christ for us, the same
>spirit will flow out to others.
>
>_________________________________________
>
>To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to [hidden email] with "SIGNOFF openmrs-implement-l" in the  body (not the subject) of your e-mail.
>
>[mailto:[hidden email]?body=SIGNOFF%20openmrs-implement-l]
Ben Wolfe

Re: Using XForms Module for new patient form

Reply Threaded More More options
Print post
Permalink
It seems to work well for a basic form, but now (of course) I want more. :-)

What all objects can I add to the form that will get saved?  
relationships?  more identifiers?  If so, how do I do that?  If not, how
hard would it be to add that? :-D

Our prayers are with you this week.  I hope you and your family are
staying safe.

Thanks,
Ben

Ben Wolfe wrote:

> Very cool, thanks! I look forward to trying this out tmrw.  It should work nicely for exactly what they are asking for.
>
> Ben
>
> "Daniel Kayiwa" <[hidden email]> wrote:
>
>  
>> Hi Ben,
>>
>> The wiki page can be found at:
>>
>> http://openmrs.org/wiki/XForms_Module_Patient_Registration
>>
>>
>>
>> On Thu, Oct 29, 2009 at 4:38 PM, Ben Wolfe <[hidden email]> wrote:
>>
>>    
>>> Daniel
>>>
>>> I have had a few people ask me how to make a custom "new patient form" jsp
>>> page.  I see that the xforms has a global property setting for
>>> "xforms.usePatientXform".  How does that work?  Can you add a quick wiki
>>> page on how I might use that?  Does that let me design a new xform and set
>>> it as the "new patient form"? (please say yes :-D )
>>>
>>> The only other option is to override the jsp page with a module and write
>>> you own jsp/controller page:
>>>
>>> http://openmrs.org/wiki/Module_Application_Context_File#Overriding_a_jsp_page
>>>
>>> Ben
>>>
>>> _________________________________________
>>>
>>> To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to
>>> [hidden email] with "SIGNOFF openmrs-implement-l" in the
>>>  body (not the subject) of your e-mail.
>>>
>>> [mailto:[hidden email]?body=SIGNOFF%20openmrs-implement-l]
>>>
>>>      
>>
>> --
>> If we keep uppermost in our minds the unkind and unjust acts of others, we
>> shall find it impossible to love them as Christ has loved us; but if our
>> thoughts dwell upon the wondrous love and pity of Christ for us, the same
>> spirit will flow out to others.
>>
>> _________________________________________
>>
>> To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to [hidden email] with "SIGNOFF openmrs-implement-l" in the  body (not the subject) of your e-mail.
>>
>> [mailto:[hidden email]?body=SIGNOFF%20openmrs-implement-l]
>>    

_________________________________________

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

[mailto:[hidden email]?body=SIGNOFF%20openmrs-implement-l]
Daniel Kayiwa

Re: Using XForms Module for new patient form

Reply Threaded More More options
Print post
Permalink

Hi Ben,

As per the current version, there is no support for adding multiple identifiers and relationships.
I do not think it is hard to add that functionality. Will look into it this week.


On Fri, Oct 30, 2009 at 11:14 AM, Ben Wolfe <[hidden email]> wrote:
It seems to work well for a basic form, but now (of course) I want more. :-)

What all objects can I add to the form that will get saved?  relationships?  more identifiers?  If so, how do I do that?  If not, how hard would it be to add that? :-D

Our prayers are with you this week.  I hope you and your family are staying safe.

Thanks,
Ben


Ben Wolfe wrote:
Very cool, thanks! I look forward to trying this out tmrw.  It should work nicely for exactly what they are asking for.

Ben

"Daniel Kayiwa" <[hidden email]> wrote:

 
Hi Ben,

The wiki page can be found at:

http://openmrs.org/wiki/XForms_Module_Patient_Registration



On Thu, Oct 29, 2009 at 4:38 PM, Ben Wolfe <[hidden email]> wrote:

   
Daniel

I have had a few people ask me how to make a custom "new patient form" jsp
page.  I see that the xforms has a global property setting for
"xforms.usePatientXform".  How does that work?  Can you add a quick wiki
page on how I might use that?  Does that let me design a new xform and set
it as the "new patient form"? (please say yes :-D )

The only other option is to override the jsp page with a module and write
you own jsp/controller page:

http://openmrs.org/wiki/Module_Application_Context_File#Overriding_a_jsp_page

Ben

_________________________________________

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

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

     

--
If we keep uppermost in our minds the unkind and unjust acts of others, we
shall find it impossible to love them as Christ has loved us; but if our
thoughts dwell upon the wondrous love and pity of Christ for us, the same
spirit will flow out to others.

_________________________________________

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

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

_________________________________________

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

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



--
If we keep uppermost in our minds the unkind and unjust acts of others, we shall find it impossible to love them as Christ has loved us; but if our thoughts dwell upon the wondrous love and pity of Christ for us, the same spirit will flow out to others.

[hidden email] from OpenMRS Implementers' mailing list