SPAEA05000_예약추가정보.xrw 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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. <rsrvinfo>
  11. <prcpdd/>
  12. <execprcpuniqno/>
  13. <glycosyn/>
  14. <glycoscure/>
  15. <phone/>
  16. <reqhospcd/>
  17. <roomtelno/>
  18. <rsrvrem/>
  19. <exampos/>
  20. </rsrvinfo>
  21. <patinfo>
  22. <patinfolist/>
  23. </patinfo>
  24. <popupendflag/>
  25. <codelist>
  26. <item/>
  27. </codelist>
  28. </main>
  29. <send>
  30. <prcpdd/>
  31. <execprcpuniqno/>
  32. <grupcdid/>
  33. <globalinstance>
  34. <instance1/>
  35. </globalinstance>
  36. </send>
  37. <hidden>
  38. <prcpdd/>
  39. <execprcpuniqno/>
  40. <rownum/>
  41. <schrsrvtm/>
  42. </hidden>
  43. <init>
  44. <baseinfo>
  45. <inithospcd/>
  46. </baseinfo>
  47. </init>
  48. <init1>
  49. <baseinfo>
  50. <examposinfo/>
  51. </baseinfo>
  52. </init1>
  53. </root>
  54. </instance>
  55. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  57. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  59. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  60. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  61. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  62. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  63. <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
  64. <submission id="TRZBC00101"/>
  65. <submission id="TRAAA00001"/>
  66. <submission id="TRAEA05001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rsrvinfot"/>
  67. <script type="javascript" ev:event="xforms-ready">
  68. <![CDATA[
  69. if (checkOpener()) {
  70. var srchrsrvtm = model.getValue("/root/hidden/srchrsrvtm");
  71. if (srchrsrvtm != "") {
  72. model.copyNode("/root/main/rsrvinfo","/root/hidden");
  73. }
  74. }
  75. zbcfGetCodeList( new Array("Z0007"), new Array("/root/init/baseinfo/inithospcd") );
  76. addComboItem("cmb_reqhospcd"," ","","above");
  77. // 진료지원 공통 코드 조회 : 심전도 검사에 대한 검사실 위치 정보 조회
  78. astGetComboList( new Array("NM001"), new Array("/root/init1/baseinfo/examposinfo") );
  79. submit("TRAAA00001", false);
  80. // var instance1 = model.getValue("/root/send/globalinstance/instance1");
  81. // model.setValue("/root/send/globalinstance/instance1","1000000000");
  82. // model.setValue("/root/send/grupcdid","NM001");
  83. if (submit("TRAAA00001",false)) {
  84. var nodeCnt = getNodesetCount("/root/init1/baseinfo/examposinfo/NM001");
  85. if (nodeCnt > 1) {
  86. model.removenode("/root/init1/baseinfo/examposinfo/NM001[1]");
  87. cmb_rsrvpos.visible = true;
  88. cmb_reqhospcd.visible = false;
  89. cpt_pos.value = "검사실위치";
  90. model.setValue("/root/main/rsrvinfo/reqhospcd", model.getValue("/root/init1/baseinfo/examposinfo/NM001[1]/cdid"));
  91. } else {
  92. model.setValue("/root/main/rsrvinfo/reqhospcd","");
  93. cmb_rsrvpos.visible = false;
  94. cmb_reqhospcd.visible = true;
  95. cpt_pos.value = "의뢰병원";
  96. }
  97. }
  98. model.refresh();
  99. ]]>
  100. </script>
  101. <script type="javascript" ev:event="xforms-model-destruct">
  102. <![CDATA[
  103. btn_close.dispatch("DOMActivate");
  104. ]]>
  105. </script>
  106. </model>
  107. </xhtml:head>
  108. <xhtml:body pagewidth="515" pageheight="145" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  109. <group id="group4" style="left:0px; top:0px; width:495px; height:125px; ">
  110. <line id="line17" class="line_1" style="x1:5px; y1:15px; x2:492px; y2:15px; "/>
  111. <caption id="caption13" class="tit_1" style="left:0px; top:0px; width:133px; height:14px; ">예약 시 추가 정보</caption>
  112. <select1 id="cmb_glycosyn" ref="/root/main/rsrvinfo/glycosyn" class="combo_default" visibility="visible" appearance="minimal" style="left:109px; top:22px; width:137px; height:19px; ">
  113. <choices>
  114. <item>
  115. <label>Y</label>
  116. <value>Y</value>
  117. </item>
  118. <item>
  119. <label>N</label>
  120. <value>N</value>
  121. </item>
  122. </choices>
  123. </select1>
  124. <caption id="caption14" class="cell_1" style="left:5px; top:20px; width:103px; height:23px; vertical-align:middle; ">당뇨유무</caption>
  125. <caption id="caption17" class="cell_1" style="left:251px; top:20px; width:103px; height:23px; vertical-align:middle; ">당뇨치료사항</caption>
  126. <select1 id="cmb_glycoscure" ref="/root/main/rsrvinfo/glycoscure" class="combo_default" visibility="visible" appearance="minimal" style="left:355px; top:22px; width:137px; height:19px; ">
  127. <choices>
  128. <item>
  129. <label>PO</label>
  130. <value>1</value>
  131. </item>
  132. <item>
  133. <label>INSULINE</label>
  134. <value>2</value>
  135. </item>
  136. <item>
  137. <label>PO+INSULINE</label>
  138. <value>3</value>
  139. </item>
  140. <item>
  141. <label>INSULINE PUMP</label>
  142. <value>4</value>
  143. </item>
  144. <item>
  145. <label>식이요법내지운동</label>
  146. <value>5</value>
  147. </item>
  148. </choices>
  149. </select1>
  150. <line id="line18" class="line_2" style="x1:5px; y1:43px; x2:492px; y2:43px; "/>
  151. <caption id="caption21" class="cell_1" style="left:5px; top:45px; width:103px; height:23px; vertical-align:middle; ">환자전화번호</caption>
  152. <output id="opt_phone" ref="/root/main/rsrvinfo/phone" class="output_fix" appearance="output" style="left:109px; top:47px; width:137px; height:19px; "/>
  153. <select1 id="cmb_reqhospcd" ref="/root/main/rsrvinfo/reqhospcd" class="combo_default" visibility="visible" appearance="minimal" style="left:355px; top:47px; width:137px; height:19px; ">
  154. <choices>
  155. <itemset nodeset="/root/init/baseinfo/inithospcd/Z0007">
  156. <label ref="cdnm"/>
  157. <value ref="cdid"/>
  158. </itemset>
  159. </choices>
  160. </select1>
  161. <caption id="cpt_pos" class="cell_1" style="left:251px; top:45px; width:103px; height:23px; vertical-align:middle; ">의뢰병원</caption>
  162. <line id="line19" class="line_2" style="x1:5px; y1:68px; x2:492px; y2:68px; "/>
  163. <caption id="caption23" class="cell_1" style="left:5px; top:70px; width:103px; height:23px; vertical-align:middle; ">환자병실전화번호</caption>
  164. <output id="opt_wardnursno" ref="/root/main/rsrvinfo/roomtelno" class="output_fix" appearance="output" style="left:109px; top:72px; width:137px; height:19px; "/>
  165. <caption id="caption26" class="cell_1" style="left:251px; top:70px; width:103px; height:23px; vertical-align:middle; ">비고</caption>
  166. <line id="line16" class="line_3" style="x1:5px; y1:94px; x2:492px; y2:94px; "/>
  167. <button id="btn_close" class="btn4_letter2" style="left:436px; top:97px; width:56px; height:22px; ">
  168. <caption>확인</caption>
  169. <script type="javascript" ev:event="DOMActivate">
  170. <![CDATA[
  171. if (checkOpener()) {
  172. var rownum = model.getValue("/root/hidden/rownum");
  173. opener.model.makeValue("/root/main/subordlist/subordlist1["+ rownum +"]/glycosyn", model.getValue("/root/main/rsrvinfo/glycosyn"));
  174. opener.model.makeValue("/root/main/subordlist/subordlist1["+ rownum +"]/glycoscure", model.getValue("/root/main/rsrvinfo/glycoscure"));
  175. opener.model.makeValue("/root/main/subordlist/subordlist1["+ rownum +"]/reqhospcd", model.getValue("/root/main/rsrvinfo/reqhospcd"));
  176. opener.model.makeValue("/root/main/subordlist/subordlist1["+ rownum +"]/rsrvrem", model.getValue("/root/main/rsrvinfo/rsrvrem"));
  177. }
  178. window.close();
  179. ]]>
  180. </script>
  181. </button>
  182. <select1 id="cmb_rsrvpos" ref="/root/main/rsrvinfo/reqhospcd" class="combo_default" visibility="visible" appearance="minimal" style="left:355px; top:47px; width:137px; height:19px; ">
  183. <choices>
  184. <itemset nodeset="/root/init1/baseinfo/examposinfo/NM001">
  185. <label ref="cdnm"/>
  186. <value ref="cdid"/>
  187. </itemset>
  188. </choices>
  189. </select1>
  190. <input id="ipt_rsrvrem" ref="/root/main/rsrvinfo/rsrvrem" style="left:355px; top:72px; width:137px; height:19px; "/>
  191. </group>
  192. </xhtml:body>
  193. </xhtml:html>