SMADB00700_항암질병등록.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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. <main>
  10. <orddeptlist>
  11. <item>
  12. <orddeptcd/>
  13. <orddeptnm/>
  14. </item>
  15. </orddeptlist>
  16. <sicklist>
  17. <item>
  18. <sickclscd/>
  19. <sickclsnm/>
  20. </item>
  21. </sicklist>
  22. <prtllist>
  23. <itemin>
  24. <prtlcd/>
  25. <prtlnm/>
  26. <drugprid/>
  27. <rateioflag/>
  28. <remark/>
  29. <drugstage/>
  30. <drugcycle/>
  31. </itemin>
  32. <itemout>
  33. <prtlcd/>
  34. <prtlnm/>
  35. <drugprid/>
  36. <rateioflag/>
  37. <remark/>
  38. <drugstage/>
  39. <drugcycle/>
  40. </itemout>
  41. </prtllist>
  42. </main>
  43. <send>
  44. <srchdata>
  45. <loguser/>
  46. <sickclscd/>
  47. <orddeptcd/>
  48. </srchdata>
  49. <req>
  50. <sickdata/>
  51. <prtlindata/>
  52. <prtloutdata/>
  53. <orddeptdata/>
  54. </req>
  55. </send>
  56. <init/>
  57. <hidden>
  58. <ret>
  59. <item/>
  60. </ret>
  61. <data>
  62. <orddeptcd/>
  63. <orddeptnm/>
  64. </data>
  65. <receivesickcls>/root/hidden/data/sickclscd</receivesickcls>
  66. <data>
  67. <sickclscd/>
  68. </data>
  69. </hidden>
  70. </root>
  71. </instance>
  72. <script type="javascript" ev:event="xforms-ready">
  73. <![CDATA[
  74. // 권한 관리
  75. button7.disabled =! checkAuth("X"); // 저장
  76. button8.disabled =! checkAuth("X"); // 질병분류정보
  77. submit("TRADB00701");
  78. ]]>
  79. </script>
  80. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  81. <submission id="TXADB00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/ret"/>
  82. <submission id="TRADB00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/orddeptlist"/>
  83. <submission id="TRADB00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/sicklist"/>
  84. <submission id="TRADB00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/prtllist"/>
  85. </model>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  88. </xhtml:head>
  89. <xhtml:body guideline="1,1194;2,785;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  90. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  91. <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; ">질병별 항암프로토콜 등록</caption>
  92. </group>
  93. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  94. <button id="button1" class="btn2_letter3" style="left:402px; top:285px; width:53px; height:19px; ">
  95. <caption>행추가</caption>
  96. <script type="javascript" ev:event="DOMActivate">
  97. <![CDATA[
  98. grd_prtlin.addItem();
  99. ]]>
  100. </script>
  101. </button>
  102. <button id="button2" class="btn2_letter3" style="left:511px; top:285px; width:53px; height:19px; ">
  103. <caption>행삭제</caption>
  104. <script type="javascript" ev:event="DOMActivate">
  105. <![CDATA[
  106. grd_prtlin.addStatus(grd_prtlin.row,"delete");
  107. ]]>
  108. </script>
  109. </button>
  110. <button id="button3" class="btn2_letter3" style="left:457px; top:285px; width:53px; height:19px; ">
  111. <caption>행복사</caption>
  112. </button>
  113. <button id="button4" class="btn2_letter3" style="left:1028px; top:285px; width:53px; height:19px; ">
  114. <caption>행추가</caption>
  115. <script type="javascript" ev:event="DOMActivate">
  116. <![CDATA[
  117. grd_prtlout.addItem();
  118. ]]>
  119. </script>
  120. </button>
  121. <button id="button5" class="btn2_letter3" style="left:1137px; top:285px; width:53px; height:19px; ">
  122. <caption>행삭제</caption>
  123. <script type="javascript" ev:event="DOMActivate">
  124. <![CDATA[
  125. grd_prtlout.addStatus(grd_prtlout.row,"delete");
  126. ]]>
  127. </script>
  128. </button>
  129. <button id="button6" class="btn2_letter3" style="left:1083px; top:285px; width:53px; height:19px; ">
  130. <caption>행복사</caption>
  131. </button>
  132. <caption id="caption1" class="tit_2" style="left:380px; top:10px; width:95px; height:13px; ">질병정보</caption>
  133. <caption id="caption2" class="tit_2" style="left:630px; top:264px; width:95px; height:13px; ">외래</caption>
  134. <button id="button8" class="btn2_letter6" style="left:935px; top:30px; width:86px; height:19px; ">
  135. <caption>질병분류정보</caption>
  136. <script type="javascript" ev:event="DOMActivate">
  137. <![CDATA[
  138. modal("SPADB61600",0,600,150,"SPADB61600","/root/hidden/receivesickcls","/root/hidden/receiveref");
  139. ]]>
  140. </script>
  141. </button>
  142. <button id="button9" class="icon_left" style="left:579px; top:445px; width:26px; height:19px; ">
  143. <caption/>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. grd_prtlin.addItem();
  147. model.copyNode( "/root/main/prtllist/itemin["+grd_prtlin.row+"]","/root/main/prtllist/itemout["+grd_prtlout.row+"]");
  148. model.refresh();
  149. ]]>
  150. </script>
  151. </button>
  152. <line id="line1" class="line_3" style="x1:0px; y1:742px; x2:565px; y2:742px; "/>
  153. <button id="button52" class="btn2_letter3" style="left:1026px; top:30px; width:53px; height:19px; ">
  154. <caption>행추가</caption>
  155. <script type="javascript" ev:event="DOMActivate">
  156. <![CDATA[
  157. grd_sicklist.addItem();
  158. ]]>
  159. </script>
  160. </button>
  161. <line id="line2" class="line_1" style="x1:0px; y1:280px; x2:565px; y2:280px; "/>
  162. <button id="button53" class="btn2_letter3" style="left:1140px; top:30px; width:53px; height:19px; ">
  163. <caption>행삭제</caption>
  164. <script type="javascript" ev:event="DOMActivate">
  165. <![CDATA[
  166. grd_sicklist.addStatus(grd_sicklist.row,"delete");
  167. ]]>
  168. </script>
  169. </button>
  170. <button id="button10" class="icon_right" style="left:579px; top:475px; width:26px; height:19px; ">
  171. <caption/>
  172. <script type="javascript" ev:event="DOMActivate">
  173. <![CDATA[
  174. grd_prtlout.addItem();
  175. model.copyNode( "/root/main/prtllist/itemout["+grd_prtlout.row+"]","/root/main/prtllist/itemin["+grd_prtlin.row+"]");
  176. model.refresh();
  177. ]]>
  178. </script>
  179. </button>
  180. <line id="line3" class="line_1" style="x1:375px; y1:25px; x2:1194px; y2:25px; "/>
  181. <caption id="caption7" class="tit_2" style="left:5px; top:264px; width:95px; height:13px; ">입원</caption>
  182. <button id="button54" class="btn2_letter3" style="left:1083px; top:30px; width:53px; height:19px; ">
  183. <caption>행복사</caption>
  184. </button>
  185. <line id="line4" class="line_3" style="x1:1px; y1:255px; x2:1194px; y2:255px; "/>
  186. <line id="line5" class="line_3" style="x1:625px; y1:742px; x2:1190px; y2:742px; "/>
  187. <line id="line6" class="line_1" style="x1:625px; y1:280px; x2:1190px; y2:280px; "/>
  188. <datagrid id="grd_sicklist" nodeset="/root/main/sicklist/item" caption="질병분류코드^질병분류명" colsep="^" colwidth="131, 644" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:375px; top:50px; width:819px; height:200px; ">
  189. <col ref="sickclscd" type="input"/>
  190. <col ref="sickclsnm"/>
  191. <script type="javascript" ev:event="onclick">
  192. <![CDATA[
  193. model.setValue("/root/send/srchdata/sickclscd", model.getValue("/root/main/sicklist/item["+grd_sicklist.row+"]/sickclscd"));
  194. submit("TRADB00703");
  195. ]]>
  196. </script>
  197. </datagrid>
  198. <datagrid id="grd_prtlin" nodeset="/root/main/prtllist/itemin" caption="프로토콜 코드^프로토콜 명^투여주기^요율^Remark^투여단계^Cycle" colsep="^" colwidth="82, 200, 54,50, 83, 55, 48" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:305px; width:565px; height:435px; ">
  199. <col ref="prtlcd" type="input"/>
  200. <col ref="prtlnm" type="input"/>
  201. <col ref="drugprid" type="input"/>
  202. <col ref="rateioflag" type="combo">
  203. <choices>
  204. <item>
  205. <label>-</label>
  206. <value>-</value>
  207. </item>
  208. <item>
  209. <label>입원</label>
  210. <value>I</value>
  211. </item>
  212. <item>
  213. <label>외래</label>
  214. <value>O</value>
  215. </item>
  216. </choices>
  217. </col>
  218. <col ref="remark" type="input"/>
  219. <col ref="drugstage" type="input"/>
  220. <col ref="drugcycle" type="input"/>
  221. </datagrid>
  222. <datagrid id="grd_prtlout" nodeset="/root/main/prtllist/itemout" caption="프로토콜 코드^프로토콜 명^투여주기^요율^Remark^투여단계^Cycle" colsep="^" colwidth="88, 200, 54,50, 83, 55, 46" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:625px; top:305px; width:565px; height:435px; ">
  223. <col ref="prtlcd" type="input"/>
  224. <col ref="prtlnm" type="input"/>
  225. <col ref="drugprid" type="input"/>
  226. <col ref="rateioflag" type="combo">
  227. <choices>
  228. <item>
  229. <label>-</label>
  230. <value>-</value>
  231. </item>
  232. <item>
  233. <label>입원</label>
  234. <value>I</value>
  235. </item>
  236. <item>
  237. <label>외래</label>
  238. <value>O</value>
  239. </item>
  240. </choices>
  241. </col>
  242. <col ref="remark" type="input"/>
  243. <col ref="drugstage" type="input"/>
  244. <col ref="drugcycle" type="input"/>
  245. </datagrid>
  246. <caption id="caption3" class="tit_2" style="left:5px; top:10px; width:95px; height:13px; ">진료과정보</caption>
  247. <line id="line7" class="line_1" style="x1:0px; y1:25px; x2:370px; y2:25px; "/>
  248. <button id="button90" class="btn2_letter2" style="left:270px; top:30px; width:42px; height:19px; ">
  249. <caption>추가</caption>
  250. <script type="javascript" ev:event="DOMActivate">
  251. <![CDATA[
  252. var search_condition = "deptnm";
  253. var search_term = ""; // model.getValue("/root/main/sample1/deptcd");
  254. var receive_deptcd_path = "/root/hidden/data/orddeptcd";
  255. var receive_deptnm_path = "/root/hidden/data/orddeptnm";
  256. var standard_yn = "orduseyn";
  257. var ord_deptflag = ""; //D
  258. model.setValue("/root/hidden/data/orddeptcd","");
  259. model.setValue("/root/hidden/data/orddeptnm","");
  260. zbcfOpenInstDeptCodeList(search_condition, search_term, receive_deptcd_path, receive_deptnm_path, standard_yn, ord_deptflag);
  261. if (model.getValue("/root/hidden/data/orddeptcd")!=""){
  262. grd_orddeptlist.addRow();
  263. model.setValue( "/root/main/orddeptlist/item["+grd_orddeptlist.row+"]/orddeptcd", model.getValue("/root/hidden/data/orddeptcd"));
  264. model.setValue( "/root/main/orddeptlist/item["+grd_orddeptlist.row+"]/orddeptnm", model.getValue("/root/hidden/data/orddeptnm"));
  265. }
  266. grd_orddeptlist.refresh();
  267. ]]>
  268. </script>
  269. </button>
  270. <button id="button11" class="btn2_letter3" style="left:316px; top:30px; width:53px; height:19px; ">
  271. <caption>행삭제</caption>
  272. <script type="javascript" ev:event="DOMActivate">
  273. <![CDATA[
  274. grd_orddeptlist.addStatus(grd_orddeptlist.row,"delete");
  275. ]]>
  276. </script>
  277. </button>
  278. <datagrid id="grd_orddeptlist" nodeset="/root/main/orddeptlist/item" caption="진료과코드^진료과명" colsep="^" colwidth="103, 247" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:50px; width:370px; height:200px; ">
  279. <col ref="orddeptcd" type="input"/>
  280. <col ref="orddeptnm"/>
  281. <script type="javascript" ev:event="onclick">
  282. <![CDATA[
  283. model.setValue("/root/send/srchdata/orddeptcd", model.getValue("/root/main/orddeptlist/item["+grd_orddeptlist.row+"]/orddeptcd"));
  284. submit("TRADB00702");
  285. ]]>
  286. </script>
  287. </datagrid>
  288. </group>
  289. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  290. <button id="button7" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  291. <caption>저장</caption>
  292. <script type="javascript" ev:event="DOMActivate">
  293. <![CDATA[
  294. model.setValue("/root/send/req/orddeptdata", grd_orddeptlist.getUpdateData());
  295. model.setValue("/root/send/req/sickdata", grd_sicklist.getUpdateData());
  296. model.setValue("/root/send/req/prtlindata", grd_prtlin.getUpdateData());
  297. model.setValue("/root/send/req/prtloutdata", grd_prtlout.getUpdateData());
  298. submit("TXADB00701");
  299. submit("TRADB00701");
  300. submit("TRADB00702");
  301. submit("TRADB00703");
  302. ]]>
  303. </script>
  304. </button>
  305. </group>
  306. </xhtml:body>
  307. </xhtml:html>