template language translations from Dr. Bosman's group
[openemr.git] / templates / patient_finder / general_find.html
blob9b0083a62cd4892b283874620a8f05f5da34307e
1 <html>
2 <head>
3 {literal}
4 <style type="text/css" title="mystyles" media="all">
5 <!--
6 td {
7 font-size:12pt;
8 font-family:helvetica;
10 .small {
11 font-size:9pt;
12 font-family:helvetica;
13 text-decoration: none;
15 .small:hover {
16 text-decoration: underline;
18 li{
19 font-size:11pt;
20 font-family:helvetica;
21 margin-left: 15px;
23 a {
24 font-size:11pt;
25 font-family:helvetica;
27 -->
28 </style>
29 {/literal}
30 </head>
31 <body bgcolor="{$STYLE.BGCOLOR2}">
32 <form name="patientfinder" method="post" action="{$FORM_ACTION}">
33 <table>
34 <tr>
35 <td>Name</td>
36 <td>
37 <input type="text" size="40" name="searchstring" value=""/>
38 </td>
39 </tr>
40 <tr>
41 <td>
42 <input type="submit" value="{xl t='search'}"/>
43 </td>
44 </tr>
45 </table>
46 <input type="hidden" name="process" value="{$PROCESS}" />
47 <input type="hidden" name="pid" value="{$hidden_ispid}" />
48 </form>
49 <table>
50 {if count($result_set) > 0}
51 <tr>
52 <td>{xl t='Results Found For Search'} '{$search_string}'</td>
53 </tr>
54 <tr>
55 <td>{xl t='Name'}</td><td>{xl t='DOB'}</td><td>{xl t='Patient ID'}</td>
56 {/if}
57 {foreach name="search_results" from=$result_set item=result}
58 <tr>
59 <td>
60 <a href="javascript:{literal}{}{/literal}" onclick="window.opener.document.{$form_id}.value='{if $ispub == true }{$result.pubpid}{else}{$result.pid}{/if}'; window.opener.document.{$form_name}.value='{$result.name}'; window.close();">{$result.name}</a>
61 </td>
62 <td>{$result.DOB}</td>
63 <td>{$result.pubpid}</td>
64 </tr>
65 {foreachelse}
66 {if is_array($result_set)}
67 <tr>
68 <td>{xl t='No Results Found For Search'} '{$search_string}'</td>
69 </tr>
70 {/if}
71 {/foreach}
72 </table>
73 </body>
74 </html>