SPAEA03201_예약변경(사이버나이프).xrw 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <formdata/>
  10. <send>
  11. <globalinstance>
  12. <instance1/>
  13. </globalinstance>
  14. <data>
  15. <prcpdd/>
  16. <instcd/>
  17. <rsrvdd/>
  18. <rsrvtm/>
  19. <rsrvhour/>
  20. <rsrvgubun/>
  21. <rsrvsecond/>
  22. <pid/>
  23. <pname/>
  24. <prcpno/>
  25. <prcphistno/>
  26. <rsrvflag/>
  27. <execprcpno/>
  28. <execprcpuniqno/>
  29. <olddd/>
  30. </data>
  31. </send>
  32. <hidden>
  33. <count/>
  34. </hidden>
  35. </root>
  36. </instance>
  37. <!--예약등록 -->
  38. <submission id="TXAEA01120" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  39. </model>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  44. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  45. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. //처방번호
  50. model.setValue("root/send/data/prcpno",model.getValue("root/formdata/prcpno"));
  51. //병원코드
  52. model.setValue("root/send/data/instcd",model.getValue("root/formdata/instcd"));
  53. //처방이력번호
  54. model.setValue("root/send/data/prcphistno",model.getValue("root/formdata/prcphistno"));
  55. //실시처방일련번호
  56. model.setValue("root/send/data/execprcpno",model.getValue("root/formdata/execprcpno"));
  57. //실시처방유일번호
  58. model.setValue("root/send/data/execprcpuniqno",model.getValue("root/formdata/execprcpuniqno"));
  59. //처방일
  60. model.setValue("root/send/data/prcpdd",model.getValue("root/formdata/prcpdd"));
  61. //예전 시간
  62. optRsrvdd.value ="";
  63. model.setValue("root/send/data/rsrvflag","Y");
  64. optPid.value =model.getValue("root/formdata/pid");
  65. optPname.value =model.getValue("root/formdata/hngnm");
  66. optRsrvdd.value =model.getValue("root/formdata/rsrvtime");
  67. ]]>
  68. </script>
  69. <script type="javascript">
  70. <![CDATA[
  71. // 날짜 및 시간 포맷 확인
  72. function fncSetFormate(arg)
  73. {
  74. var rtnValue ='';
  75. if(arg <10)
  76. {
  77. rtnValue = '0'+arg;
  78. }
  79. else
  80. {
  81. rtnValue = arg;
  82. }
  83. return rtnValue;
  84. }
  85. ]]>
  86. </script>
  87. </xhtml:head>
  88. <xhtml:body pagewidth="390" pageheight="250" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  89. <group id="group2" style="left:8px; top:13px; width:365px; height:220px; vertical-align:top; ">
  90. <caption id="caption29" class="cell_1" style="left:5px; top:30px; width:105px; height:23px; ">환자번호</caption>
  91. <line id="line15" class="line_1" style="x1:3px; y1:22px; x2:346px; y2:22px; "/>
  92. <line id="line16" class="line_3" style="x1:0px; y1:177px; x2:346px; y2:177px; "/>
  93. <line id="line17" class="line_2" style="x1:6px; y1:52px; x2:346px; y2:52px; "/>
  94. <output id="optPid" ref="/root/send/data/pid" class="output_fix" style="left:115px; top:31px; width:135px; height:19px; "/>
  95. <caption id="caption35" class="cell_1" style="left:5px; top:60px; width:105px; height:23px; ">환자이름</caption>
  96. <caption id="caption3" class="cell_1" style="left:5px; top:91px; width:105px; height:23px; ">현재예약일시</caption>
  97. <line id="line3" class="line_2" style="x1:6px; y1:143px; x2:346px; y2:143px; "/>
  98. <button id="btn_acpt" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:228px; top:185px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  99. <caption>저장</caption>
  100. <script type="javascript" ev:event="DOMActivate">
  101. <![CDATA[
  102. //예약시간
  103. var _hour = eval(model.getValue("root/send/data/rsrvhour"))+ eval(model.getValue("root/send/data/rsrvgubun"))
  104. var ddtt = fncSetFormate(_hour)+model.getValue("root/send/data/rsrvsecond")
  105. model.setValue("root/send/data/rsrvtm",ddtt);
  106. var rtnValue = messageBox("예약을","Q006");
  107. if(rtnValue == 6)
  108. {
  109. submit("TXAEA01120");
  110. }
  111. ]]>
  112. </script>
  113. </button>
  114. <button id="button13" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:290px; top:185px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  115. <caption>종료</caption>
  116. <script type="javascript" ev:event="DOMActivate">
  117. <![CDATA[
  118. window.close();
  119. ]]>
  120. </script>
  121. </button>
  122. <line id="line1" class="line_2" style="x1:6px; y1:83px; x2:346px; y2:83px; "/>
  123. <output id="optPname" ref="/root/send/data/pname" class="output_fix" style="left:115px; top:60px; width:135px; height:19px; "/>
  124. <line id="line2" class="line_2" style="x1:6px; y1:114px; x2:346px; y2:114px; "/>
  125. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:119px; height:14px; ">예약변경</caption>
  126. <caption id="caption1" style="left:163px; top:152px; width:25px; height:20px; ">시</caption>
  127. <caption id="caption2" style="left:239px; top:152px; width:25px; height:20px; ">분</caption>
  128. <select1 id="cmbRsrvhour" ref="/root/send/data/rsrvhour" appearance="minimal" style="left:115px; top:151px; width:45px; height:19px; ">
  129. <choices>
  130. <item>
  131. <label>00</label>
  132. <value>00</value>
  133. </item>
  134. <item>
  135. <label>01</label>
  136. <value>01</value>
  137. </item>
  138. <item>
  139. <label>02</label>
  140. <value>02</value>
  141. </item>
  142. <item>
  143. <label>03</label>
  144. <value>03</value>
  145. </item>
  146. <item>
  147. <label>04</label>
  148. <value>04</value>
  149. </item>
  150. <item>
  151. <label>05</label>
  152. <value>05</value>
  153. </item>
  154. <item>
  155. <label>06</label>
  156. <value>06</value>
  157. </item>
  158. <item>
  159. <label>07</label>
  160. <value>07</value>
  161. </item>
  162. <item>
  163. <label>08</label>
  164. <value>08</value>
  165. </item>
  166. <item>
  167. <label>09</label>
  168. <value>09</value>
  169. </item>
  170. <item>
  171. <label>10</label>
  172. <value>10</value>
  173. </item>
  174. <item>
  175. <label>11</label>
  176. <value>11</value>
  177. </item>
  178. <item>
  179. <label>12</label>
  180. <value>12</value>
  181. </item>
  182. </choices>
  183. </select1>
  184. <select1 id="cmbRsrvSecond" ref="/root/send/data/rsrvsecond" appearance="minimal" style="left:185px; top:151px; width:45px; height:19px; ">
  185. <choices>
  186. <item>
  187. <label>00</label>
  188. <value>00</value>
  189. </item>
  190. <item>
  191. <label>10</label>
  192. <value>10</value>
  193. </item>
  194. <item>
  195. <label>20</label>
  196. <value>20</value>
  197. </item>
  198. <item>
  199. <label>30</label>
  200. <value>30</value>
  201. </item>
  202. <item>
  203. <label>40</label>
  204. <value>40</value>
  205. </item>
  206. <item>
  207. <label>50</label>
  208. <value>50</value>
  209. </item>
  210. </choices>
  211. </select1>
  212. <caption id="caption5" class="cell_1" style="left:5px; top:120px; width:105px; height:23px; ">변경예약일자</caption>
  213. <caption id="caption7" class="cell_1" style="left:5px; top:150px; width:105px; height:23px; ">변경예약시간</caption>
  214. <select1 id="cmbGubun" ref="/root/send/data/rsrvgubun" appearance="minimal" style="left:259px; top:151px; width:45px; height:19px; ">
  215. <choices>
  216. <item>
  217. <label>AM</label>
  218. <value>0</value>
  219. </item>
  220. <item>
  221. <label>PM</label>
  222. <value>12</value>
  223. </item>
  224. </choices>
  225. </select1>
  226. <line id="line4" class="line_2" style="x1:6px; y1:172px; x2:346px; y2:172px; "/>
  227. <input id="iptRsrvdd" ref="/root/send/data/rsrvdd" class="input_default" inputtype="date" style="left:115px; top:121px; width:90px; height:19px; "/>
  228. <output id="optRsrvdd" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:115px; top:91px; width:135px; height:19px; "/>
  229. </group>
  230. </xhtml:body>
  231. </xhtml:html>