5 * @link http://www.open-emr.org
6 * @author Brady Miller
<brady.g.miller@gmail.com
>
7 * @copyright Copyright (c)
2017 Brady Miller
<brady.g.miller@gmail.com
>
8 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License
3
16 <style type=
"text/css" title=
"mystyles" media=
"all">
20 font-family:helvetica;
24 font-family:helvetica;
25 text-decoration: none;
28 text-decoration: underline;
32 font-family:helvetica;
37 font-family:helvetica;
42 <link rel=
"stylesheet" href=
"{$GLOBALS.css_header}" type=
"text/css">
44 <body class=
"body_top">
45 <form name=
"patientfinder" method=
"post" action=
"{$FORM_ACTION}" onsubmit=
"return top.restoreSession()">
48 <td>{xl t='Name'|escape:'html'}
</td>
50 <input type=
"text" size=
"40" name=
"searchstring" value=
""/>
55 <input type=
"submit" value=
"{xl t='Search'|escape:'html'}"/>
59 <input type=
"hidden" name=
"process" value=
"{$PROCESS|escape:'html'}" />
60 <input type=
"hidden" name=
"pid" value=
"{$hidden_ispid|escape:'html'}" />
63 {if count($result_set)
> 0}
65 <td>{xl t='Results Found For Search'|escape:'html'} '{$search_string|escape:'html'}'
</td>
68 <td>{xl t='Name'|escape:'html'}
</td><td>{xl t='DOB'|escape:'html'}
</td><td>{xl t='Patient ID'|escape:'html'}
</td>
70 {foreach
name=
"search_results" from=$result_set item=result}
73 <a href=
"javascript:{literal}{}{/literal}" onclick=
"window.opener.document.{$form_id|escape:'html'}.value='{if $ispub == true }{$result.pubpid|escape:'html'}{else}{$result.pid|escape:'html'}{/if}'; window.opener.document.{$form_name|escape:'html'}.value='{$result.name|escape:'html'}'; window.close();">{$result.name|escape:'html'}
</a>
75 <td>{$result.DOB|escape:'html'}
</td>
76 <td>{$result.pubpid|escape:'html'}
</td>
79 {if is_array($result_set)}
81 <td>{xl t='No Results Found For Search'|escape:'html'} '{$search_string|escape:'html'}'
</td>