Changes to accomodate changes in content_parser.php for processing multibox submissions.
[openemr.git] / templates / hl7 / general_parse.html
blob8c1838a724bb43540223b86cb9aa25127965e89a
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 input {
11 font-size:8pt;
12 font-family:helvetica;
14 select {
15 font-size:8pt;
16 font-family:helvetica;
18 textarea {
19 font-size:8pt;
20 font-family:helvetica;
22 -->
23 </style>
24 {/literal}
25 </head>
26 <body bgcolor="{$STYLE.BGCOLOR2}">
27 <form name="prescribe" method="post" action="{$FORM_ACTION}" onsubmit="return top.restoreSession()">
28 <table CELLSPACING="0" CELLPADDING="3">
29 <!--<tr><td>Example HL7 data<td></tr>
30 <tr><td>MSH|^~\&|ADT1|CUH|LABADT|CUH|198808181127|SECURITY|ADT^A01|MSG00001|P|2.3|
31 EVN|A01|198808181122||
32 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|
33 NK1|JOHNSON^JOAN^K|WIFE||||||NK^NEXT OF KIN
34 PV1|1|I|2000^2053^01||||004777^FISHER^BEN^J.|||SUR||||ADM|A0|</td></tr>-->
35 <tr>
36 <td>{xl t='Paste HL7 Data'}</td>
37 </tr>
38 <tr>
39 <td><textarea rows="10" wrap="virtual" cols="65" name="hl7data"></textarea><br /><br />
40 <input type="submit" name="HL7" value="{xl t='Parse HL7'}"/><br /><br />
41 </td>
42 </tr>
43 {if $hl7_message_err}
44 <tr><td>{$hl7_message_err}</td></tr>
45 {/if}
46 {if $hl7_array}
47 <tr><td>
48 <table>
49 {foreach from=$hl7_array item=hl7item key=hl7key}
50 <tr><td>&nbsp;</td></tr>
51 <tr><td><td colspan="2">{$hl7key}</td></tr>
52 {foreach from=$hl7item item=segment_val key=segment_name}
53 <tr><td>&nbsp;</td><td>{$segment_name}: </td><td>{$segment_val}</td></tr>
54 {/foreach}
55 {/foreach}
56 </table>
57 </td></tr>
58 {/if}
59 <input type="hidden" name="process" value="{$PROCESS}" />
60 </table>
61 </form>
63 </body>
64 </html>