3 {php}html_header_show();{/php}
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>-->
16 <td colspan=
"2"><b>{xl t='Paste HL7 Data'}
</b></td>
19 <td colspan=
"2" ><textarea rows=
"10" wrap=
"virtual" cols=
"70" name=
"hl7data"></textarea><br /><br />
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>
26 <tr height=
"25"><td colspan=
"2">{$hl7_message_err}
</td></tr>
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> </td><td>{$segment_name}:
</td><td>{$segment_val}
</td></tr>
40 <input type=
"hidden" name=
"process" value=
"{$PROCESS}" />