SMADB00700_항암질병등록.xrw 12 KB

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