Hi,

I'm trying to put a link onto an HTML form that will allow the user to link
to a mapped network share where some files are stored in directories = one
of our patient ID types. The following is working except for a space which
is being inserted just before the ID. An example of a link being generated
is:  file:///S:/OpenMRS/ 00F51CD-2 (note the space just before 00F51CD-2).

Any ideas?

<lookup complexExpression="
&#60;a href=&#34;file:///S:/OpenMRS/#foreach($patId in
$patientIdentifiers.get('New Clinic ID')) $patId #end&#34;
target=&#34;_blank&#34;/&#62;LINK TO OLD PATIENT RECORDS&#60;/a&#62;" />

Also, how would I modify this just to grab the first patient ID of this
type instead of all of them should there be multiple?

Thanks,

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