translate column headers
[openemr.git] / templates / hl7 / general_parse.html
blob4de1df9b61296aaeeb6e15614cde3cfd2b623e19
1 <html>
2 <head>
3 {php}html_header_show();{/php}
5 </head>
6 <body bgcolor="{$STYLE.BGCOLOR2}">
7 <form name="prescribe" method="post" action="{$FORM_ACTION}" onsubmit="return top.restoreSession()">
8 <table CELLSPACING="0" CELLPADDING="3" class="shownoborder">
9 <!--<tr><td>Example HL7 data<td></tr>
10 <tr><td>MSH|^~\&|ADT1|CUH|LABADT|CUH|198808181127|SECURITY|ADT^A01|MSG00001|P|2.3|
11 EVN|A01|198808181122||
12 PID|||PATID1234^5^M11||RYAN^HENRY^P||19610615|M||C|1200 N ELM STREET^^GREENSBORO^NC^27401-1020|GL|(919)379-1212|(919)271-3434 ||S||PATID12345001^2^M10|123456789|987654^NC|
13 NK1|JOHNSON^JOAN^K|WIFE||||||NK^NEXT OF KIN
14 PV1|1|I|2000^2053^01||||004777^FISHER^BEN^J.|||SUR||||ADM|A0|</td></tr>-->
15 <tr>
16 <td colspan="2"><b>{xl t='Paste HL7 Data'}</b></td>
17 </tr>
18 <tr height="25">
19 <td colspan="2" ><textarea rows="10" wrap="virtual" cols="70" name="hl7data"></textarea><br /><br />
20 </td></tr>
21 <tr class="text"><td colspan="2">
22 <a href="javascript:document.forms[0].reset();" class="css_button"><span>{xl t='Clear HL7 Data'}</span></a><a href="javascript:document.forms[0].submit();" class="css_button" ><span>{xl t='Parse HL7'}</span></a>
23 </td>
25 {if $hl7_message_err}
26 <tr height="25"><td colspan="2">{$hl7_message_err}</td></tr>
27 {/if}
28 {if $hl7_array}
29 <tr class="text"><td colspan="2">
30 <table class="showborder">
31 {foreach from=$hl7_array item=hl7item key=hl7key}
32 <tr height="25"><td colspan="3">{$hl7key}</td></tr>
33 {foreach from=$hl7item item=segment_val key=segment_name}
34 <tr><td>&nbsp;</td><td>{$segment_name}: </td><td>{$segment_val}</td></tr>
35 {/foreach}
36 {/foreach}
37 </table>
38 </td></tr>
39 {/if}
40 <input type="hidden" name="process" value="{$PROCESS}" />
41 </table>
42 </form>
44 </body>
45 </html>