It's mentioned on the Managing Person Attribute
Types<https://wiki.openmrs.org/x/fQ0z>page, but it's not obvious what
it's describing.

Perhaps it'd make sense to add a page on Creating Patients, and mention
what's configurable there, linking tot eh person attributes page?

Peeking at the code, that page is hardcoded to redirect
to patientDashboard.form.

So either you'll have to Seems like you'll need to write code to change
that. Though if you never want to show the standard patient dashboard, you
could hack it by using a customization to replace patientDashbaordForm.jsp,
and have that do a client-side redirect to the real page you want. The
server would still be generating the page though, so this would be slow.
The better hacky solution is to do a module which overrides the
patientDashboard.form mapping that's defined in openmrs-servlet.xml.

-Darius

On Wed, Mar 14, 2012 at 3:41 PM, Tobin Greensweig <[email protected]>wrote:

> 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
>  ------------------------------
> 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