SMMRT01300_과색인관리.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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. <deptindxlist>
  11. <item>
  12. <depth/>
  13. <deptindxcd/>
  14. <deptupindxcd/>
  15. <deptindxnm/>
  16. <deptseqno/>
  17. </item>
  18. </deptindxlist>
  19. <indxinfo>
  20. <deptindx>
  21. <deptindxcd/>
  22. <deptindxflag/>
  23. <deptindxnm/>
  24. <deptupindxcd/>
  25. <deptupindxnm/>
  26. <deptnm/>
  27. <deptcd/>
  28. <status/>
  29. <srchdeptindxcd/>
  30. <deptseqno/>
  31. </deptindx>
  32. </indxinfo>
  33. </main>
  34. <hidden>
  35. <condition>
  36. <indxflag>0</indxflag>
  37. <selectedindxcd/>
  38. <getdata/>
  39. <srcheddeptnm/>
  40. <srcheddeptcd/>
  41. <highestlvel/>
  42. </condition>
  43. <main/>
  44. </hidden>
  45. <send>
  46. </send>
  47. <init>
  48. <today/>
  49. </init>
  50. </root>
  51. </instance>
  52. <script type="javascript" ev:event="xforms-ready">
  53. <![CDATA[
  54. fInit();
  55. ]]>
  56. </script>
  57. <submission id="TXMRT01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/deptindxlist"/>
  58. <submission id="TRMRT01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/deptindxlist"/>
  59. <submission id="TRMRT01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/indxinfo"/>
  60. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  61. <submission id="TXMRT01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata/dragdrop" resultref="/root/main/deptindxlist"/>
  62. </model>
  63. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  65. <script type="javascript" src="../../../emr/termmngtweb/js/SMMRT01300.js"/>
  66. <script type="javascript" src="../../../emr/termmngtweb/js/MRTCommon.js"/>
  67. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  68. </xhtml:head>
  69. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  70. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  71. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:98px; height:14px; ">과색인 관리</caption>
  72. </group>
  73. <group id="group2" style="left:0px; top:13px; width:1195px; height:769px; vertical-align:top; ">
  74. <line id="line1" class="line_1" style="x1:0px; y1:50px; x2:535px; y2:50px; "/>
  75. <line id="line10" class="line_3" style="x1:0px; y1:756px; x2:535px; y2:756px; "/>
  76. <caption id="caption19" class="cell_1" style="left:0px; top:56px; width:535px; height:23px; text-align:center; vertical-align:middle; ">색인명</caption>
  77. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:12px; width:470px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  78. <line id="line13" class="line_4" style="x1:405px; y1:18px; x2:405px; y2:40px; "/>
  79. <caption id="caption3" class="search_name" style="left:10px; top:21px; width:86px; height:17px; ">색인구분 :</caption>
  80. <caption id="caption26" class="search_name" style="left:192px; top:20px; width:86px; height:17px; ">진료부서 :</caption>
  81. <line id="line4" class="line_2" style="x1:542px; y1:153px; x2:1191px; y2:153px; "/>
  82. <line id="line6" class="line_2" style="x1:542px; y1:79px; x2:1191px; y2:79px; "/>
  83. <caption id="caption16" class="cell_1" style="left:542px; top:57px; width:79px; height:23px; vertical-align:middle; ">색인코드</caption>
  84. <caption id="caption17" class="cell_1" style="left:542px; top:105px; width:79px; height:23px; vertical-align:middle; ">상위색인코드</caption>
  85. <line id="line21" class="line_2" style="x1:542px; y1:103px; x2:1191px; y2:103px; "/>
  86. <caption id="caption18" class="cell_1" style="left:542px; top:130px; width:79px; height:23px; vertical-align:middle; ">부서코드</caption>
  87. <line id="line22" class="line_2" style="x1:542px; y1:128px; x2:1191px; y2:128px; "/>
  88. <line id="line23" class="line_2" style="x1:542px; y1:56px; x2:1191px; y2:56px; "/>
  89. <line id="line24" class="line_1" style="x1:542px; y1:51px; x2:1191px; y2:51px; "/>
  90. <treeview id="trv_deptindx" ref="/root/hidden/condition/selectedindxcd" dragmode="true" dropmode="true" itemsettype="depth" style="left:0px; top:81px; width:535px; height:688px; ">
  91. <itemset nodeset="/root/main/deptindxlist/item">
  92. <label ref="deptindxnm"/>
  93. <value ref="deptindxcd"/>
  94. <depth ref="depth"/>
  95. </itemset>
  96. <script type="javascript" ev:event="xforms-select">
  97. <![CDATA[
  98. //해당 정보 조회/등록화면에 뿌려준다.
  99. //fDisable("DD");
  100. fSrchIndxInfo();
  101. ]]>
  102. </script>
  103. <script type="javascript" ev:event="ondrop">
  104. <![CDATA[
  105. fDragDropIndx();
  106. ]]>
  107. </script>
  108. </treeview>
  109. <select1 id="cmb_indxflag" ref="/root/hidden/condition/indxflag" appearance="minimal" style="left:100px; top:20px; width:90px; height:19px; ">
  110. <choices>
  111. <item>
  112. <label>진단</label>
  113. <value>0</value>
  114. </item>
  115. <item>
  116. <label>수술</label>
  117. <value>9</value>
  118. </item>
  119. <item>
  120. <label>주호소</label>
  121. <value>2</value>
  122. </item>
  123. </choices>
  124. <script type="javascript" ev:event="xforms-value-changed">
  125. <![CDATA[
  126. if(model.getValue("/root/hidden/condition/indxflag") == "0") {
  127. model.toggle("case1");
  128. } else if(model.getValue("/root/hidden/condition/indxflag") == "9") {
  129. model.toggle("case2");
  130. }else {
  131. model.toggle("case3");
  132. }
  133. //fClear();
  134. ]]>
  135. </script>
  136. <script type="javascript" ev:event="xforms-select">
  137. <![CDATA[
  138. if(model.getValue("/root/hidden/condition/indxflag") == "0") {
  139. model.toggle("case1");
  140. } else if(model.getValue("/root/hidden/condition/indxflag") == "9") {
  141. model.toggle("case2");
  142. }else {
  143. model.toggle("case3");
  144. }
  145. ]]>
  146. </script>
  147. </select1>
  148. <input id="ipt_srcheddeptnm" ref="/root/hidden/condition/srcheddeptnm" class="input_s_essential" style="left:281px; top:19px; width:100px; height:19px; ">
  149. <script type="javascript" ev:event="onkeyup">
  150. <![CDATA[
  151. inputEnterKey("btn_deptsrch", "DOMActivate");
  152. ]]>
  153. </script>
  154. </input>
  155. <button id="btn_srchedindx" class="btn1_letter2" style="left:410px; top:18px; width:56px; height:22px; ">
  156. <caption>조회</caption>
  157. <script type="javascript" ev:event="DOMActivate">
  158. <![CDATA[
  159. fSrchDeptIndxList();
  160. ]]>
  161. </script>
  162. </button>
  163. <button id="btn_addindx" class="btn2_letter4" style="left:471px; top:28px; width:64px; height:19px; ">
  164. <caption>색인추가</caption>
  165. <script type="javascript" ev:event="DOMActivate">
  166. <![CDATA[
  167. fAddIndx();
  168. ]]>
  169. </script>
  170. </button>
  171. <caption id="caption1" class="cell_1" style="left:542px; top:81px; width:79px; height:23px; vertical-align:middle; ">색인명</caption>
  172. <input id="ipt_deptnm" ref="/root/main/indxinfo/deptindx/deptnm" class="input_essential" disabled="true" style="left:624px; top:132px; width:100px; height:19px; "/>
  173. <input id="ipt_deptupindxcd" ref="/root/main/indxinfo/deptindx/deptupindxcd" class="input_essential" disabled="true" style="left:624px; top:107px; width:100px; height:19px; "/>
  174. <input id="ipt_deptindxcd" ref="/root/main/indxinfo/deptindx/deptindxcd" class="input_essential" disabled="true" style="left:624px; top:59px; width:100px; height:19px; ">
  175. <script type="javascript" ev:event="onkeydown">
  176. <![CDATA[
  177. btn_upindxcd.disabled = "false";
  178. ]]>
  179. </script>
  180. </input>
  181. <input id="ipt_deptindxnm" ref="/root/main/indxinfo/deptindx/deptindxnm" class="input_essential" style="left:624px; top:83px; width:567px; height:19px; "/>
  182. <input id="ipt_deptupindxnm" ref="/root/main/indxinfo/deptindx/deptupindxnm" class="input_default" disabled="true" style="left:747px; top:107px; width:443px; height:19px; "/>
  183. <button id="btn_clear" class="btn2_letter4" style="left:1036px; top:30px; width:64px; height:19px; ">
  184. <caption>CLEAR</caption>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. fIndxClear();
  188. ]]>
  189. </script>
  190. </button>
  191. <caption id="cap_indxinfo" class="tit_2" style="left:542px; top:36px; width:121px; height:13px; ">진단 색인 정보</caption>
  192. <button id="btn_upindxcd" class="icon_search" style="left:727px; top:109px; width:16px; height:16px; ">
  193. <caption/>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. setParameter("indxflag", model.getValue(xCondPath+"/indxflag"));
  197. setParameter("deptcd", model.getValue(xCondPath+"/srcheddeptcd"));
  198. modal("SPMRT01100", 1,100,100, "SPMRT01100");
  199. var sIndxCd = getParameter("indxcd");
  200. if(sIndxCd != ""){
  201. model.setValue(xIndxInfoPath+"/deptupindxcd", sIndxCd);
  202. model.setValue(xIndxInfoPath+"/deptupindxnm", getParameter("indxnm"));
  203. }
  204. setParameter("indxcd", "");
  205. setParameter("indxnm", "");
  206. model.refresh();
  207. ]]>
  208. </script>
  209. </button>
  210. <button id="btn_deptsrch" class="icon_search" style="left:386px; top:21px; width:16px; height:14px; ">
  211. <caption/>
  212. <script type="javascript" ev:event="DOMActivate">
  213. <![CDATA[
  214. zbcfOpenInstDeptCodeList("deptnm", model.getValue(xCondPath+"/srcheddeptnm"), xCondPath+"/srcheddeptcd", xCondPath+"/srcheddeptnm", "ordduseryn", "D");
  215. fSrchDeptIndxList();
  216. ]]>
  217. </script>
  218. </button>
  219. <select id="cmb_highestlvel" ref="/root/hidden/condition/highestlvel" overflow="visible" appearance="full" style="left:726px; top:60px; width:100px; height:20px; border-style:none; ">
  220. <choices>
  221. <item>
  222. <label>최상위</label>
  223. <value>Y</value>
  224. </item>
  225. </choices>
  226. <script type="javascript" ev:event="xforms-value-changed">
  227. <![CDATA[
  228. fIndxClear();
  229. ]]>
  230. </script>
  231. </select>
  232. <button id="button90" class="btn5_letter2" style="left:1104px; top:30px; width:42px; height:19px; ">
  233. <caption>삭제</caption>
  234. <script type="javascript" ev:event="DOMActivate">
  235. <![CDATA[
  236. if(model.getValue(xIndxInfoPath+"/status") != "I"){
  237. model.setValue(xIndxInfoPath+"/status", "D");
  238. fSaveIndxInfo();
  239. }else{
  240. fIndxClear();
  241. }
  242. ]]>
  243. </script>
  244. </button>
  245. <button id="button1" class="btn5_letter2" style="left:1150px; top:30px; width:42px; height:19px; ">
  246. <caption>저장</caption>
  247. <script type="javascript" ev:event="DOMActivate">
  248. <![CDATA[
  249. fSaveIndxInfo();
  250. ]]>
  251. </script>
  252. </button>
  253. <input id="input1" ref="/root/main/indxinfo/deptindx/deptseqno" class="input_default" disabled="true" visibility="hidden" style="left:737px; top:132px; width:78px; height:19px; "/>
  254. </group>
  255. </xhtml:body>
  256. </xhtml:html>