SMMNE04200_응급실외래처치대행.xrw 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>외래처치대행</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <pid/>
  12. </cond>
  13. <patinfo>
  14. <patnm/>
  15. <rrgstno/>
  16. <age/>
  17. <sex/>
  18. <insukind/>
  19. <chosdt/>
  20. <curecd/>
  21. <pid/>
  22. <indd/>
  23. <cretno/>
  24. <instcd/>
  25. </patinfo>
  26. </main>
  27. <send>
  28. </send>
  29. <init>
  30. <M0421list>
  31. <M0421>
  32. <cdnm/>
  33. <cdid/>
  34. </M0421>
  35. </M0421list>
  36. <P0008list>
  37. <P0008>
  38. <cdnm/>
  39. <cdid/>
  40. </P0008>
  41. </P0008list>
  42. </init>
  43. <tmp/>
  44. </root>
  45. </instance>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. zbcfGetCodeList(
  49. new Array("M0421", "P0008"),
  50. new Array("/root/init/M0421list", "/root/init/P0008list") );
  51. model.refresh();
  52. ]]>
  53. </script>
  54. <submission id="TRZBC00101" method="post" replace="instance"/>
  55. <submission id="TRMNE04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/patinfo"/>
  56. <submission id="TXMNE04201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp"/>
  57. </model>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  60. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  61. </xhtml:head>
  62. <xhtml:body pagewidth="275" pageheight="300" style="border-color:#c7a3cf; ">
  63. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:100px; height:14px; ">외래처치대행</caption>
  64. <group id="group5" scroll="auto" style="left:0px; top:15px; width:270px; height:278px; ">
  65. <group id="group2" style="left:0px; top:5px; width:270px; height:40px; vertical-align:top; ">
  66. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:268px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  67. <caption id="caption1" class="search_name" style="left:8px; top:11px; width:82px; height:17px; ">등록번호</caption>
  68. <input id="ipt_pid" ref="/root/main/cond/pid" class="input_s_essential" imemode="hangul" style="left:93px; top:10px; width:117px; height:19px; ">
  69. <script type="javascript" ev:event="onkeypress">
  70. <![CDATA[
  71. if("13" == event.keyCode){
  72. model.setValue("/root/main/cond/pid", ipt_pid.currentText);
  73. model.removenode("/root/send");
  74. var sSrchData = "";
  75. var sSrchHeader = "pid▩";
  76. var sSrchData = model.getValue("/root/main/cond/pid") + "▩";
  77. model.makeValue("/root/send/cond", sSrchHeader + sSrchData);
  78. submit("TRMNE04201");
  79. if(model.getValue("/root/main/patinfo/pid") == ""){
  80. ipt_pid.value = "";
  81. // ipt_pid.refresh();
  82. messageBox("조회 결과가 없습니다.","I");
  83. }
  84. }
  85. ]]>
  86. </script>
  87. </input>
  88. </group>
  89. <line id="line12" class="line_1" style="x1:0px; y1:71px; x2:267px; y2:72px; "/>
  90. <line id="line6" class="line_2" style="x1:0px; y1:122px; x2:267px; y2:122px; "/>
  91. <line id="line2" class="line_2" style="x1:0px; y1:147px; x2:267px; y2:147px; "/>
  92. <line id="line3" class="line_2" style="x1:0px; y1:172px; x2:267px; y2:172px; "/>
  93. <line id="line4" class="line_2" style="x1:0px; y1:197px; x2:267px; y2:197px; "/>
  94. <line id="line5" class="line_2" style="x1:0px; y1:222px; x2:267px; y2:222px; "/>
  95. <line id="line1" class="line_2" style="x1:0px; y1:97px; x2:267px; y2:97px; "/>
  96. <line id="line15" class="line_3" style="x1:0px; y1:247px; x2:267px; y2:247px; "/>
  97. <caption id="caption14" class="cell_1" style="left:0px; top:74px; width:80px; height:23px; text-align:center; vertical-align:middle; ">성명</caption>
  98. <caption id="caption2" class="cell_1" style="left:0px; top:99px; width:80px; height:23px; text-align:center; vertical-align:middle; ">주민번호</caption>
  99. <caption id="caption3" class="cell_1" style="left:0px; top:124px; width:80px; height:23px; text-align:center; vertical-align:middle; ">나이</caption>
  100. <caption id="caption4" class="cell_1" style="left:0px; top:149px; width:80px; height:23px; text-align:center; vertical-align:middle; ">성별</caption>
  101. <caption id="caption5" class="cell_1" style="left:0px; top:174px; width:80px; height:23px; text-align:center; vertical-align:middle; ">보험유형</caption>
  102. <caption id="caption7" class="cell_1" style="left:0px; top:199px; width:80px; height:23px; text-align:center; vertical-align:middle; ">내원시간</caption>
  103. <caption id="caption8" class="cell_1" style="left:0px; top:224px; width:80px; height:23px; text-align:center; vertical-align:middle; ">처치내역</caption>
  104. <output id="output1" ref="/root/main/patinfo/patnm" style="left:83px; top:75px; width:185px; height:19px; "/>
  105. <output id="output5" ref="/root/main/patinfo/rrgstno" style="left:83px; top:101px; width:185px; height:19px; "/>
  106. <output id="output2" ref="/root/main/patinfo/age" style="left:83px; top:125px; width:185px; height:19px; "/>
  107. <output id="output3" ref="/root/main/patinfo/sex" style="left:83px; top:150px; width:185px; height:19px; "/>
  108. <select1 id="combo1" ref="/root/main/patinfo/insukind" class="combo_default" disabled="true" appearance="minimal" style="left:83px; top:175px; width:185px; height:19px; ">
  109. <choices>
  110. <itemset nodeset="/root/init/P0008list/P0008">
  111. <label ref="cdnm"/>
  112. <value ref="cdid"/>
  113. </itemset>
  114. </choices>
  115. </select1>
  116. <output id="output4" ref="/root/main/patinfo/chosdt" format="yyyy-mm-dd hh:nn:ss" style="left:83px; top:200px; width:185px; height:19px; "/>
  117. <select1 id="combo2" ref="/root/main/patinfo/curecd" class="combo_default" appearance="minimal" style="left:83px; top:225px; width:185px; height:19px; ">
  118. <choices>
  119. <itemset nodeset="/root/init/M0421list/M0421">
  120. <label ref="cdnm"/>
  121. <value ref="cdid"/>
  122. </itemset>
  123. </choices>
  124. </select1>
  125. <button id="button1" accesskey="ctrl+s" class="btn1_letter6" style="left:0px; top:251px; width:92px; height:22px; ">
  126. <caption>저장[Ctrl+S]</caption>
  127. <script type="javascript" ev:event="DOMActivate">
  128. <![CDATA[
  129. if(model.getValue("/root/main/patinfo/patnm") == ""){
  130. messageBox("환자를 선택하지 않았습니다.","E");
  131. return;
  132. }
  133. if(model.getValue("/root/main/patinfo/curecd") == ""){
  134. messageBox("처치내역을 선택하지 않았습니다.","E");
  135. return;
  136. }
  137. model.removenode("/root/send");
  138. var sSaveData = "";
  139. var sSaveHeader = "pid▦indd▦cretno▦instcd▦chosdd▦chostm▦curenm▦curecd▩";
  140. var sSaveData = model.getValue("/root/main/patinfo/pid") +"▦"
  141. + model.getValue("/root/main/patinfo/indd") +"▦"
  142. + model.getValue("/root/main/patinfo/cretno") +"▦"
  143. + model.getValue("/root/main/patinfo/instcd") +"▦"
  144. + model.getValue("/root/main/patinfo/chosdt").substr(0,8) +"▦"
  145. + model.getValue("/root/main/patinfo/chosdt").substr(8,4) +"▦"
  146. + combo2.label + "▦"
  147. + combo2.value + "▩";
  148. model.makeValue("/root/send/savedata", sSaveHeader + sSaveData);
  149. if(submit("TXMNE04201")== true){
  150. messageBox("성공적으로 저장하였습니다.","I");
  151. }
  152. window.close();
  153. ]]>
  154. </script>
  155. </button>
  156. <button id="button2" accesskey="KeyCode(27)" class="btn1_letter5" style="left:177px; top:251px; width:92px; height:22px; ">
  157. <caption>종료[ESC]</caption>
  158. <script type="javascript" ev:event="DOMActivate">
  159. <![CDATA[
  160. window.close();
  161. ]]>
  162. </script>
  163. </button>
  164. <caption id="caption27" class="tit_2" style="left:5px; top:55px; width:144px; height:14px; ">환자정보 및 처치내역</caption>
  165. </group>
  166. </xhtml:body>
  167. </xhtml:html>