[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openmrs-dev
Subject:    Re: name of patient
From:       Victor Garcia <vgarciabnz () gmail ! com>
Date:       2014-08-26 13:23:28
Message-ID: CABPBMuNhsvu1WwJ8AzHdFM8CZ71Mw7uHvfmzNgRDZ6nVJ-vwtA () mail ! gmail ! com
[Download RAW message or body]

If you just want to display the patient's name on a form, you can generate
an empty html form following the template and copy/paste the desired
section. The template auto-generates some interesting fields (name,
gender,...). The patient's name is displayed by:

<lookup class="value" expression="patient.personName"/>


On 25 August 2014 15:34, kaka ivan <ivankano2014@gmail.com> wrote:

> hello victor
> I want to display the patient's name on the form.
> 
> 
> 2014-08-22 10:09 GMT+01:00 Victor Garcia <vgarciabnz@gmail.com>:
> 
> For allowing a future date, take a look at the HTML Reference guide (
> > https://wiki.openmrs.org/display/docs/HTML+Form+Entry+Module+HTML+Reference#HTMLFormEntryModuleHTMLReference-Date).
> >  You have to add the attribute allowFutureDates="true" in the date field.
> > 
> > Do you want to modify the name of patient or just display it?
> > 
> > 
> > On 21 August 2014 19:07, kaka ivan <ivankano2014@gmail.com> wrote:
> > 
> > > 1-I want to know how to insert the name of a patient in a field on a
> > > form OpenMRS.
> > > I use the Manage HTML Forms HTML Form Entry module function.
> > > I want to know how to insert a future date in a formulaire.
> > > because when I insert a future date to the current date I have an error
> > > message.
> > > here is the error file attached to the message
> > > 
> > > --
> > > OpenMRS Developers: http://go.openmrs.org/dev
> > > Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org
> > > Manage your OpenMRS subscriptions at https://id.openmrs.org/
> > > 
> > > To unsubscribe from this group and stop receiving emails from it, send
> > > an email to dev+unsubscribe@openmrs.org.
> > > 
> > 
> > --
> > OpenMRS Developers: http://go.openmrs.org/dev
> > Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org
> > Manage your OpenMRS subscriptions at https://id.openmrs.org/
> > 
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to dev+unsubscribe@openmrs.org.
> > 
> 
> --
> OpenMRS Developers: http://go.openmrs.org/dev
> Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org
> Manage your OpenMRS subscriptions at https://id.openmrs.org/
> 
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dev+unsubscribe@openmrs.org.
> 

-- 
OpenMRS Developers: http://go.openmrs.org/dev
Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/

To unsubscribe from this group and stop receiving emails from it, send an email to \
dev+unsubscribe@openmrs.org.


[Attachment #3 (text/html)]

<div dir="ltr">If you just want to display the patient&#39;s name on a form, you can \
generate an empty html form following the template and copy/paste the desired \
section. The template auto-generates some interesting fields (name, gender,...). The \
patient&#39;s name is displayed by:<div> <br></div><div>&lt;lookup \
class=&quot;value&quot; \
expression=&quot;patient.personName&quot;/&gt;<br></div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On 25 August 2014 15:34, kaka \
ivan <span dir="ltr">&lt;<a href="mailto:ivankano2014@gmail.com" \
target="_blank">ivankano2014@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">hello victor<br><span lang="en"><span>I want \
to display</span> <span>the patient&#39;s name</span> <span>on the \
form.</span></span><br> </div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-08-22 10:09 GMT+01:00 Victor Garcia <span \
dir="ltr">&lt;<a href="mailto:vgarciabnz@gmail.com" \
target="_blank">vgarciabnz@gmail.com</a>&gt;</span>:<div><div \
class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">For allowing a future date, take a look at the HTML Reference guide \
(<a href="https://wiki.openmrs.org/display/docs/HTML+Form+Entry+Module+HTML+Reference#HTMLFormEntryModuleHTMLReference-Date" \
target="_blank">https://wiki.openmrs.org/display/docs/HTML+Form+Entry+Module+HTML+Reference#HTMLFormEntryModuleHTMLReference-Date</a>). \
You have to add the attribute allowFutureDates=&quot;true&quot; in the date \
field.<div>


<br></div><div>Do you want to modify the name of patient or just display \
it?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On \
21 August 2014 19:07, kaka ivan <span dir="ltr">&lt;<a \
href="mailto:ivankano2014@gmail.com" \
target="_blank">ivankano2014@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><font color="#000000" \
face="Verdana, Lucida Grande, Trebuchet MS, Arial, sans-serif"><span \
style="font-size:14px;white-space:nowrap">1-I want to know how to insert the name of \
a patient in a field on a form OpenMRS.  </span></font></div>



<div><font color="#000000" face="Verdana, Lucida Grande, Trebuchet MS, Arial, \
sans-serif"><span style="font-size:14px;white-space:nowrap">I use the Manage HTML \
Forms HTML Form Entry module function.</span><br></font></div>



<div><font color="#000000" face="Verdana, Lucida Grande, Trebuchet MS, Arial, \
sans-serif"><span style="font-size:14px;white-space:nowrap">I want to know how to \
insert a future date in a formulaire.</span></font></div><div>



<font color="#000000" face="Verdana, Lucida Grande, Trebuchet MS, Arial, \
sans-serif"><span style="font-size:14px;white-space:nowrap">because when I insert a \
future date to the current date I have an error message.</span><br>



</font></div><div><font color="#000000" face="Verdana, Lucida Grande, Trebuchet MS, \
Arial, sans-serif"><span style="font-size:14px;white-space:nowrap">here is the error \
file attached to the message</span><span><font color="#888888"><br>


</font></span></font></div><span><font color="#888888">
</font></span></div></div></div><span><font color="#888888"><span><font \
color="#888888">

<p></p>

-- <br>
OpenMRS Developers: <a href="http://go.openmrs.org/dev" \
                target="_blank">http://go.openmrs.org/dev</a><br>
Post: <a href="mailto:dev@openmrs.org" target="_blank">dev@openmrs.org</a> | \
Unsubscribe: <a href="mailto:dev%2Bunsubscribe@openmrs.org" \
target="_blank">dev+unsubscribe@openmrs.org</a><br> Manage your OpenMRS subscriptions \
at <a href="https://id.openmrs.org/" target="_blank">https://id.openmrs.org/</a><br>

<p></p>

To unsubscribe from this group and stop receiving emails from it, send an email to <a \
href="mailto:dev+unsubscribe@openmrs.org" \
target="_blank">dev+unsubscribe@openmrs.org</a>.<br> \
</font></span></font></span></blockquote></div><span><font \
color="#888888"><br></font></span></div><span><font color="#888888">

<p></p>

-- <br>
OpenMRS Developers: <a href="http://go.openmrs.org/dev" \
                target="_blank">http://go.openmrs.org/dev</a><br>
Post: <a href="mailto:dev@openmrs.org" target="_blank">dev@openmrs.org</a> | \
Unsubscribe: <a href="mailto:dev%2Bunsubscribe@openmrs.org" \
target="_blank">dev+unsubscribe@openmrs.org</a><br> Manage your OpenMRS subscriptions \
at <a href="https://id.openmrs.org/" target="_blank">https://id.openmrs.org/</a><br>

<p></p>

To unsubscribe from this group and stop receiving emails from it, send an email to <a \
href="mailto:dev+unsubscribe@openmrs.org" \
target="_blank">dev+unsubscribe@openmrs.org</a>.<br> \
</font></span></blockquote></div></div></div><br></div><div class="HOEnZb"><div \
class="h5">

<p></p>

-- <br>
OpenMRS Developers: <a href="http://go.openmrs.org/dev" \
                target="_blank">http://go.openmrs.org/dev</a><br>
Post: <a href="mailto:dev@openmrs.org" target="_blank">dev@openmrs.org</a> | \
Unsubscribe: <a href="mailto:dev%2Bunsubscribe@openmrs.org" \
target="_blank">dev+unsubscribe@openmrs.org</a><br> Manage your OpenMRS subscriptions \
at <a href="https://id.openmrs.org/" target="_blank">https://id.openmrs.org/</a><br>

<p></p>

To unsubscribe from this group and stop receiving emails from it, send an email to <a \
href="mailto:dev+unsubscribe@openmrs.org" \
target="_blank">dev+unsubscribe@openmrs.org</a>.<br> \
</div></div></blockquote></div><br></div>

<p></p>

-- <br />
OpenMRS Developers: <a \
                href="http://go.openmrs.org/dev">http://go.openmrs.org/dev</a><br />
Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org<br />
Manage your OpenMRS subscriptions at <a \
href="https://id.openmrs.org/">https://id.openmrs.org/</a><br />

<p></p>

To unsubscribe from this group and stop receiving emails from it, send an email to <a \
href="mailto:dev+unsubscribe@openmrs.org">dev+unsubscribe@openmrs.org</a>.<br />



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic