added appointments-encounters report
[openemr.git] / contrib / forms / example / view.php
blob175346d3e074d95aeb2ea458e1f9838460e4aabb
1 <?
2 include("../../../library/api.inc");
3 formHeader("View my form");
4 ?>
6 <form method=post action=save.php name=new_encounter target=Main>
7 <input type=hidden name=id value='<?echo $_GET["id"];?>'>
8 <span class=title>New Patient Encounter Form</span>
9 <br>
11 <span class=text>Reason for Visit:</span><br>
12 <textarea name=reason cols=40 rows=6 wrap=virtual><?
13 $result = formFetch('newer_patient', "7");
15 echo $result["reason"];
17 ?></textarea>
19 <br>
20 <?php
21 echo "<input type='text' name='cats' value='{$result['cats']}'>";
23 <br>
24 <a href="javascript:document.new_encounter.submit();" class="link_submit">[Save]</a>
25 <br>
26 </form>
29 <?php
30 formFooter();