SMMMB02200_지시처방분류관리.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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>지시처방분류관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <lrgclscdlist>
  11. <lrgclscdlist>
  12. <status/>
  13. <clscdflag/>
  14. <prcpclscd1/>
  15. <prcpclscd2/>
  16. <prcpclscd3/>
  17. <prcpclsnm/>
  18. <useflag/>
  19. <refseq/>
  20. </lrgclscdlist>
  21. </lrgclscdlist>
  22. <mdlclscdlist>
  23. <mdlclscdlist>
  24. <status/>
  25. <clscdflag/>
  26. <prcpclscd1/>
  27. <prcpclscd2/>
  28. <prcpclscd3/>
  29. <prcpclsnm/>
  30. <useflag/>
  31. <refseq/>
  32. </mdlclscdlist>
  33. </mdlclscdlist>
  34. <smlclscdlist>
  35. <smlclscdlist>
  36. <status/>
  37. <clscdflag/>
  38. <prcpclscd1/>
  39. <prcpclscd2/>
  40. <prcpclscd3/>
  41. <prcpclsnm/>
  42. <useflag/>
  43. <refseq/>
  44. </smlclscdlist>
  45. </smlclscdlist>
  46. </main>
  47. <send>
  48. <reqdata/>
  49. <savedata/>
  50. </send>
  51. <hidden/>
  52. <init/>
  53. </root>
  54. </instance>
  55. <script type="javascript" ev:event="xforms-ready">
  56. <![CDATA[
  57. fInitialize();
  58. ]]>
  59. </script>
  60. <submission id="TRMMB02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/lrgclscdlist"/>
  61. <submission id="TRMMB02202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/mdlclscdlist"/>
  62. <submission id="TRMMB02203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/smlclscdlist"/>
  63. <submission id="TXMMB02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/lrgclscdlist"/>
  64. <submission id="TXMMB02202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/mdlclscdlist"/>
  65. <submission id="TXMMB02203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/smlclscdlist"/>
  66. </model>
  67. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  69. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMB02200.js"/>
  70. </xhtml:head>
  71. <xhtml:body guideline="1,385;1,774;1,1194;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  72. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:124px; height:14px; ">지시처방분류 관리</caption>
  73. <caption id="caption2" class="tit_2" style="left:0px; top:20px; width:60px; height:14px; vertical-align:middle; ">대분류</caption>
  74. <line id="line3" class="line_1" style="x1:0px; y1:35px; x2:394px; y2:35px; margin-left:0; margin-right:0; "/>
  75. <caption id="caption1" class="tit_2" style="left:401px; top:20px; width:60px; height:13px; vertical-align:middle; ">중분류</caption>
  76. <line id="line1" class="line_1" style="x1:399px; y1:35px; x2:793px; y2:35px; "/>
  77. <caption id="caption3" class="tit_2" style="left:800px; top:20px; width:60px; height:13px; vertical-align:middle; ">소분류</caption>
  78. <line id="line2" class="line_1" style="x1:799px; y1:35px; x2:1194px; y2:35px; "/>
  79. <button id="button1" class="btn2_letter2" style="left:251px; top:13px; width:42px; height:19px; ">
  80. <caption>신규</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. fNewRgstLrgClsCD();
  84. ]]>
  85. </script>
  86. </button>
  87. <button id="button2" class="btn2_letter2" style="left:296px; top:13px; width:42px; height:19px; ">
  88. <caption>삭제</caption>
  89. <script type="javascript" ev:event="DOMActivate">
  90. <![CDATA[
  91. fDeleteClsCD(grd_prcplrgclscdlist, sLRGCLSCDLIST_PATH);
  92. ]]>
  93. </script>
  94. </button>
  95. <button id="button3" class="btn5_letter2" style="left:341px; top:13px; width:42px; height:19px; ">
  96. <caption>저장</caption>
  97. <script type="javascript" ev:event="DOMActivate">
  98. <![CDATA[
  99. fSaveClsCD(grd_prcplrgclscdlist, "TXMMB02201");
  100. //대분류 삭제 후 포함되어 있던 중, 소분류 코드에 잘못된 입력 수정을 막기 위해 화면을 reset함
  101. model.removeNodeset(sMDLCLSCDLIST_PATH);
  102. model.removeNodeset(sSMLCLSCDLIST_PATH);
  103. model.refresh();
  104. ]]>
  105. </script>
  106. </button>
  107. <button id="button4" class="btn2_letter2" style="left:656px; top:13px; width:42px; height:19px; ">
  108. <caption>신규</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. fNewRgstMdlClsCD();
  112. ]]>
  113. </script>
  114. </button>
  115. <button id="button5" class="btn2_letter2" style="left:701px; top:13px; width:42px; height:19px; ">
  116. <caption>삭제</caption>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. fDeleteClsCD(grd_mdlclscdlist, sMDLCLSCDLIST_PATH);
  120. ]]>
  121. </script>
  122. </button>
  123. <button id="button6" class="btn5_letter2" style="left:746px; top:13px; width:42px; height:19px; ">
  124. <caption>저장</caption>
  125. <script type="javascript" ev:event="DOMActivate">
  126. <![CDATA[
  127. fSaveClsCD(grd_mdlclscdlist, "TXMMB02202");
  128. // 중분류 삭제 후 포함되어 있던 소분류 코드에 잘못된 입력 수정을 막기 위해 화면을 reset함
  129. model.removeNodeset(sSMLCLSCDLIST_PATH);
  130. model.refresh();
  131. ]]>
  132. </script>
  133. </button>
  134. <button id="button7" class="btn2_letter2" style="left:1059px; top:13px; width:42px; height:19px; ">
  135. <caption>신규</caption>
  136. <script type="javascript" ev:event="DOMActivate">
  137. <![CDATA[
  138. fNewRgstSmlClsCD();
  139. ]]>
  140. </script>
  141. </button>
  142. <button id="button8" class="btn2_letter2" style="left:1104px; top:13px; width:42px; height:19px; ">
  143. <caption>삭제</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. fDeleteClsCD(grd_smlclscdlist, sMDLCLSCDLIST_PATH);
  147. ]]>
  148. </script>
  149. </button>
  150. <button id="button9" class="btn5_letter2" style="left:1149px; top:13px; width:42px; height:19px; ">
  151. <caption>저장</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. fSaveClsCD(grd_smlclscdlist, "TXMMB02203");
  155. ]]>
  156. </script>
  157. </button>
  158. <datagrid id="grd_mdlclscdlist" nodeset="/root/main/mdlclscdlist/mdlclscdlist" caption="상태^^분류코드1^분류코드2^분류코드3^처방분류명^사용구분^조회순서" colsep="^" colwidth="0, 0, 0, 0, 0, 246, 58, 58" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:399px; top:40px; width:394px; height:744px; ">
  159. <col ref="status" type="combo">
  160. <choices>
  161. <item>
  162. <label>-</label>
  163. <value/>
  164. </item>
  165. <item>
  166. <label>신규</label>
  167. <value>i</value>
  168. </item>
  169. <item>
  170. <label>수정</label>
  171. <value>u</value>
  172. </item>
  173. <item>
  174. <label>삭제</label>
  175. <value>d</value>
  176. </item>
  177. </choices>
  178. </col>
  179. <col ref="clscdflag"/>
  180. <col ref="prcpclscd1"/>
  181. <col ref="prcpclscd2"/>
  182. <col ref="prcpclscd3"/>
  183. <col ref="prcpclsnm" type="input"/>
  184. <col ref="useflag" type="combo">
  185. <choices>
  186. <item>
  187. <label>Y</label>
  188. <value>Y</value>
  189. </item>
  190. <item>
  191. <label>N</label>
  192. <value>N</value>
  193. </item>
  194. </choices>
  195. </col>
  196. <col ref="refseq"/>
  197. <script type="javascript" ev:event="onclick">
  198. <![CDATA[
  199. fReqPrcpSmlClsCD();
  200. /*
  201. var iRow = grd_mdlclscdlist.row;
  202. if(iRow < 1){
  203. return;
  204. }
  205. var prcpclscd1 = model.getValue("/root/main/mdlclscdlist/mdlclscdlist[" + iRow + "]/prcpclscd1");
  206. var prcpclscd2 = model.getValue("/root/main/mdlclscdlist/mdlclscdlist[" + iRow + "]/prcpclscd2");
  207. model.makeValue("/root/send/reqdata/queryflag", "sml");
  208. model.makeValue("/root/send/reqdata/prcpclscd1", prcpclscd1);
  209. model.makeValue("/root/send/reqdata/prcpclscd2", prcpclscd2);
  210. submit("TRMMB02203");
  211. */
  212. ]]>
  213. </script>
  214. <script type="javascript" ev:event="xforms-value-changed">
  215. <![CDATA[
  216. fSetUpdtStatus(grd_mdlclscdlist, sMDLCLSCDLIST_PATH);
  217. ]]>
  218. </script>
  219. </datagrid>
  220. <datagrid id="grd_prcplrgclscdlist" nodeset="/root/main/lrgclscdlist/lrgclscdlist" caption="상태^^분류코드1^분류코드2^분류코드3^처방분류명^사용구분^조회순서" colsep="^" colwidth="0, 0, 0, 0, 0, 245, 58, 58" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:40px; width:394px; height:744px; ">
  221. <col ref="status" type="combo">
  222. <choices>
  223. <item>
  224. <label>-</label>
  225. <value/>
  226. </item>
  227. <item>
  228. <label>신규</label>
  229. <value>i</value>
  230. </item>
  231. <item>
  232. <label>수정</label>
  233. <value>u</value>
  234. </item>
  235. <item>
  236. <label>삭제</label>
  237. <value>d</value>
  238. </item>
  239. </choices>
  240. </col>
  241. <col ref="clscdflag"/>
  242. <col ref="prcpclscd1"/>
  243. <col ref="prcpclscd2"/>
  244. <col ref="prcpclscd3"/>
  245. <col ref="prcpclsnm" type="input"/>
  246. <col ref="useflag" type="combo">
  247. <choices>
  248. <item>
  249. <label>Y</label>
  250. <value>Y</value>
  251. </item>
  252. <item>
  253. <label>N</label>
  254. <value>N</value>
  255. </item>
  256. </choices>
  257. </col>
  258. <col ref="refseq" type="input"/>
  259. <script type="javascript" ev:event="onclick">
  260. <![CDATA[
  261. fReqPrcpMdlClsCD();
  262. ]]>
  263. </script>
  264. <script type="javascript" ev:event="xforms-value-changed">
  265. <![CDATA[
  266. fSetUpdtStatus(grd_prcplrgclscdlist, sLRGCLSCDLIST_PATH);
  267. ]]>
  268. </script>
  269. </datagrid>
  270. <button id="button10" class="btn5_letter2" style="left:206px; top:13px; width:45px; height:19px; ">
  271. <caption>조회</caption>
  272. <script type="javascript" ev:event="DOMActivate">
  273. <![CDATA[
  274. fReqPrcpLrgClsCD();
  275. ]]>
  276. </script>
  277. </button>
  278. <datagrid id="grd_smlclscdlist" nodeset="/root/main/smlclscdlist/smlclscdlist" caption="상태^^분류코드1^분류코드2^분류코드3^처방분류명^사용구분^조회순서" colsep="^" colwidth="0, 0, 0, 0, 0, 247, 58, 58" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:799px; top:40px; width:396px; height:744px; ">
  279. <col ref="status" type="combo">
  280. <choices>
  281. <item>
  282. <label>-</label>
  283. <value/>
  284. </item>
  285. <item>
  286. <label>신규</label>
  287. <value>i</value>
  288. </item>
  289. <item>
  290. <label>수정</label>
  291. <value>u</value>
  292. </item>
  293. <item>
  294. <label>삭제</label>
  295. <value>d</value>
  296. </item>
  297. </choices>
  298. </col>
  299. <col ref="clscdflag"/>
  300. <col ref="prcpclscd1"/>
  301. <col ref="prcpclscd2"/>
  302. <col ref="prcpclscd3"/>
  303. <col ref="prcpclsnm" type="input"/>
  304. <col ref="useflag" type="combo">
  305. <choices>
  306. <item>
  307. <label>Y</label>
  308. <value>Y</value>
  309. </item>
  310. <item>
  311. <label>N</label>
  312. <value>N</value>
  313. </item>
  314. </choices>
  315. </col>
  316. <col ref="refseq"/>
  317. <script type="javascript" ev:event="xforms-value-changed">
  318. <![CDATA[
  319. fSetUpdtStatus(grd_smlclscdlist, sSMLCLSCDLIST_PATH);
  320. ]]>
  321. </script>
  322. </datagrid>
  323. </xhtml:body>
  324. </xhtml:html>