Thanks Darius, worked like a charm.

I've always wondered what those options were for.... Any good ideas where
to put this information on the wiki?

Anybody know how to automatically redirect the user to a custom URL instead
of the standard dashboard after clicking save?

Thanks,

Tobin



On Wed, Mar 14, 2012 at 11:28 PM, Darius Jazayeri
<[email protected]>wrote:

> Hi Tobin,
>
> I believe that by setting the "patient.viewingAttributeTypes" global
> property (which you can also set on the Manage Person Attribute Types page
> IIRC), the short patient form will actually let you enter attributes.
>
> -Darius
>
> On Wed, Mar 14, 2012 at 1:42 PM, Tobin Greensweig <[email protected]>wrote:
>
>> Hi All,
>>
>> We're trying to work out the most streamlined way to register patients in
>> our new implementation. We plan on using Role Based Homepages to link to
>> one of three options (Short Form, Long Form, and HTML Form) and have 3
>> requirements (listed in order of priority)
>>
>> 1) Editing person attributes (also called Patient Information on the long
>> edit patient form)
>> 2) ID Auto Generation support (with IdGen Module)
>> 3) URL redirect on submit: after the user saves patient we want them to
>> be taken to a custom URL (an html flow sheet dashboard).
>>
>> Here's the tradeoffs we're currently looking at:
>>
>>   Support for:
>>
>> Short Form
>>
>> Long Form
>>
>> HTML Form
>>
>> Edit person attributes
>>
>> NO
>>  YES
>>
>> NO
>>
>> Auto ID generation
>>
>> YES
>>
>> NO
>>
>> NO
>>
>> URL redirect on submit
>>
>> ?
>>
>> ?
>>
>> YES
>>
>>
>> It seems that the ideal solution might to be to somehow edit the short
>> form by borrowing the code that generates the person edit attributes? How
>> would I go about doing this? How about the redirect?
>>
>>
>> Thank you!
>>
>> Tobin
>>
>>
>> Short form URL: openmrs/admin/patients/shortPatientForm.form
>> Long form URL: openmrs/admin/patients/patient.form
>> ------------------------------
>> Click here to 
>> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>>  OpenMRS Implementers' mailing list
>
>
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from
>  OpenMRS Implementers' mailing list




-- 
Tobin

_________________________________________

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