SPLVF00400_기능설정.xrw 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  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>
  9. <main>
  10. <userid/>
  11. <readchrgdr/>
  12. <licnsno/>
  13. <insngno/>
  14. <progd/>
  15. <patcnt/>
  16. <mtthd/>
  17. <others/>
  18. </main>
  19. <send>
  20. <userid/>
  21. <medispclno/>
  22. <certno/>
  23. <baseinterm/>
  24. <maxreadpatcnt/>
  25. <verimthd/>
  26. <verimthdother/>
  27. </send>
  28. <init>
  29. </init>
  30. <hidden>
  31. </hidden>
  32. </root>
  33. </instance>
  34. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  35. <script ev:event="xforms-ready" type="javascript">
  36. <![CDATA[
  37. model.setValue("/root/send/userid", getUserId());
  38. submit("TRLVF00401");
  39. fwritemthd();
  40. fotherview();
  41. ]]>
  42. </script>
  43. <submission id="TRLVF00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/userid" replace="instance" resultref="/root/main"/>
  44. <submission id="TXLVF00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  45. </model>
  46. <script type="javascript">
  47. <![CDATA[
  48. function fwritemthd() {
  49. if(model.getValue("/root/main/mtthd") != ''){
  50. var code = model.getValue("/root/main/mtthd");
  51. var newcode = '';
  52. for(i=0;i<6;i++){
  53. if(code.charAt(i)=='Y'){
  54. newcode = newcode + ""+(i+1)+" ";
  55. }
  56. }
  57. model.setValue("/root/main/mtthd", newcode);
  58. model.refresh();
  59. }
  60. }
  61. function freadmthd() {
  62. var code = model.getValue("/root/main/mtthd");
  63. var newcode = '';
  64. for(i=1;i<7;i++){
  65. if(code.indexOf(''+i+'')!=-1){
  66. newcode = newcode + 'Y';
  67. }
  68. else{
  69. newcode = newcode + 'N';
  70. }
  71. }
  72. model.setValue("/root/main/mtthd", newcode);
  73. }
  74. function fExeCancel() {
  75. window.close();
  76. }
  77. function fExeCmtList() {
  78. freadmthd();
  79. model.setValue("/root/send/userid", model.getValue("/root/main/userid"));
  80. model.setValue("/root/send/medispclno", model.getValue("/root/main/licnsno"));
  81. model.setValue("/root/send/certno", model.getValue("/root/main/insngno"));
  82. model.setValue("/root/send/baseinterm", model.getValue("/root/main/progd"));
  83. model.setValue("/root/send/maxreadpatcnt", model.getValue("/root/main/patcnt"));
  84. model.setValue("/root/send/verimthd", model.getValue("/root/main/mtthd"));
  85. model.setValue("/root/send/verimthdother", model.getValue("/root/main/others"));
  86. submit("TXLVF00401");
  87. submit("TRLVF00401");
  88. fwritemthd();
  89. }
  90. function fotherview(){
  91. var code = model.getValue("/root/main/mtthd");
  92. if(code.indexOf('6')!=-1){
  93. input4.visible = true;
  94. }
  95. else{
  96. input4.visible = false;
  97. }
  98. }
  99. ]]>
  100. </script>
  101. </xhtml:head>
  102. <xhtml:body pagewidth="430" pageheight="300" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  103. <group id="group1" style="left:0px; top:0px; width:400px; height:235px; ">
  104. <caption id="caption5" class="tit_2" style="left:5px; top:11px; width:134px; height:13px; ">전문의별 기능설정</caption>
  105. <select id="checkbox1" ref="/root/main/mtthd" overflow="visible" appearance="full" cellspacing="40" cols="2" style="left:0px; top:176px; width:400px; height:53px; border-style:none; ">
  106. <choices>
  107. <item>
  108. <label>Calibration Verification</label>
  109. <value>1</value>
  110. </item>
  111. <item>
  112. <label>Internal Quality Control</label>
  113. <value>2</value>
  114. </item>
  115. <item>
  116. <label>Delta Check Verification</label>
  117. <value>3</value>
  118. </item>
  119. <item>
  120. <label>Panic/Alert Value Verification</label>
  121. <value>4</value>
  122. </item>
  123. <item>
  124. <label>Repeat / Recheck</label>
  125. <value>5</value>
  126. </item>
  127. <item>
  128. <label>Others :</label>
  129. <value>6</value>
  130. </item>
  131. </choices>
  132. <script ev:event="xforms-value-changed" type="javascript">
  133. <![CDATA[
  134. fotherview();
  135. ]]>
  136. </script>
  137. </select>
  138. <input id="input4" ref="/root/main/others" class="input_default" style="left:260px; top:208px; width:135px; height:19px; "/>
  139. <output id="output1" ref="/root/main/readchrgdr" class="output_fix" appearance="output" style="left:183px; top:32px; width:216px; height:19px; text-align:left; "/>
  140. <output id="output2" ref="/root/main/licnsno" class="output_fix" appearance="output" style="left:183px; top:56px; width:216px; height:19px; text-align:left; "/>
  141. <input id="input2" ref="/root/main/insngno" class="input_default" appearance="input" style="left:183px; top:80px; width:216px; height:19px; text-align:left; "/>
  142. <line id="line8" class="line_1" style="x1:0px; y1:26px; x2:400px; y2:26px; "/>
  143. <line id="line2" class="line_3" style="x1:0px; y1:234px; x2:400px; y2:234px; "/>
  144. <line id="line3" class="line_2" style="x1:0px; y1:77px; x2:400px; y2:77px; "/>
  145. <line id="line5" class="line_2" style="x1:0px; y1:101px; x2:400px; y2:101px; "/>
  146. <line id="line6" class="line_2" style="x1:0px; y1:125px; x2:400px; y2:125px; "/>
  147. <caption id="caption6" class="cell_1" style="left:0px; top:151px; width:400px; height:23px; font-family:돋움; ">검증방법 Setting</caption>
  148. <line id="line7" class="line_2" style="x1:0px; y1:149px; x2:400px; y2:149px; "/>
  149. <line id="line9" class="line_2" style="x1:0px; y1:173px; x2:400px; y2:173px; "/>
  150. <line id="line10" class="line_2" style="x1:0px; y1:53px; x2:400px; y2:53px; "/>
  151. <caption id="caption1" class="cell_1" style="left:0px; top:55px; width:180px; height:23px; font-family:돋움; ">의사 면허 번호</caption>
  152. <caption id="caption2" class="cell_1" style="left:0px; top:79px; width:180px; height:23px; font-family:돋움; ">진단검사의학 전문의 번호</caption>
  153. <caption id="caption3" class="cell_1" style="left:0px; top:103px; width:180px; height:23px; font-family:돋움; ">입원후 경과일</caption>
  154. <caption id="caption4" class="cell_1" style="left:0px; top:127px; width:180px; height:23px; font-family:돋움; ">보고서작성 환자수</caption>
  155. <caption id="caption7" class="cell_1" style="left:0px; top:31px; width:180px; height:23px; font-family:돋움; ">종합검증/판독 담당의</caption>
  156. <select1 id="combo1" ref="/root/main/patcnt" appearance="minimal" style="left:183px; top:128px; width:216px; height:19px; ">
  157. <choices>
  158. <item>
  159. <label>선택</label>
  160. <value>0</value>
  161. </item>
  162. <item>
  163. <label>1</label>
  164. <value>1</value>
  165. </item>
  166. <item>
  167. <label>2</label>
  168. <value>2</value>
  169. </item>
  170. <item>
  171. <label>3</label>
  172. <value>3</value>
  173. </item>
  174. <item>
  175. <label>4</label>
  176. <value>4</value>
  177. </item>
  178. <item>
  179. <label>5</label>
  180. <value>5</value>
  181. </item>
  182. <item>
  183. <label>6</label>
  184. <value>6</value>
  185. </item>
  186. <item>
  187. <label>7</label>
  188. <value>7</value>
  189. </item>
  190. <item>
  191. <label>8</label>
  192. <value>8</value>
  193. </item>
  194. <item>
  195. <label>9</label>
  196. <value>9</value>
  197. </item>
  198. <item>
  199. <label>10</label>
  200. <value>10</value>
  201. </item>
  202. <item>
  203. <label>11</label>
  204. <value>11</value>
  205. </item>
  206. <item>
  207. <label>12</label>
  208. <value>12</value>
  209. </item>
  210. <item>
  211. <label>13</label>
  212. <value>13</value>
  213. </item>
  214. <item>
  215. <label>14</label>
  216. <value>14</value>
  217. </item>
  218. <item>
  219. <label>15</label>
  220. <value>15</value>
  221. </item>
  222. <item>
  223. <label>16</label>
  224. <value>16</value>
  225. </item>
  226. <item>
  227. <label>17</label>
  228. <value>17</value>
  229. </item>
  230. <item>
  231. <label>18</label>
  232. <value>18</value>
  233. </item>
  234. <item>
  235. <label>19</label>
  236. <value>19</value>
  237. </item>
  238. <item>
  239. <label>20</label>
  240. <value>20</value>
  241. </item>
  242. </choices>
  243. </select1>
  244. <input id="input5" ref="/root/main/userid" style="left:183px; top:153px; width:105px; height:19px; "/>
  245. </group>
  246. <group id="group2" style="left:0px; top:235px; width:400px; height:27px; ">
  247. <line id="line11" class="line_6" style="x1:0px; y1:0px; x2:400px; y2:0px; "/>
  248. <button id="btn_save" class="btn4_letter2" style="left:286px; top:5px; width:56px; height:22px; ">
  249. <caption>저장</caption>
  250. <script ev:event="DOMActivate" type="javascript">
  251. <![CDATA[
  252. fExeCmtList();
  253. ]]>
  254. </script>
  255. </button>
  256. <button id="btn_can" class="btn4_letter2" style="left:344px; top:5px; width:56px; height:22px; ">
  257. <caption>닫기</caption>
  258. <script ev:event="DOMActivate" type="javascript">
  259. <![CDATA[
  260. fExeCancel();
  261. ]]>
  262. </script>
  263. </button>
  264. </group>
  265. <input id="input3" ref="/root/main/progd" style="left:183px; top:104px; width:216px; height:19px; "/>
  266. </xhtml:body>
  267. </xhtml:html>