SMMNR03500_간호아이템 Set관리.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  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>간호아이템 Set관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <itemsrch>
  11. <itemlist>
  12. <check/>
  13. <itemcd/>
  14. <itemnm/>
  15. <supcd/>
  16. <clincobs/>
  17. <clincobsprcpyn/>
  18. <intake/>
  19. <output/>
  20. <catheter/>
  21. <catheterprcpyn/>
  22. <careexec/>
  23. <careexecprcpyn/>
  24. <depth/>
  25. <elmtdefineyn/>
  26. <refseq/>
  27. </itemlist>
  28. </itemsrch>
  29. <iteminfo>
  30. <itemlist>
  31. <instcd/>
  32. <orddeptcd/>
  33. <setnm/>
  34. <levl/>
  35. <setno/>
  36. <setrefseq/>
  37. <trgtflag/>
  38. </itemlist>
  39. </iteminfo>
  40. <itemdtlinfo>
  41. <itemdtllist>
  42. <supnm/>
  43. <check/>
  44. <status/>
  45. <itemnm/>
  46. <instcd/>
  47. <setno/>
  48. <itemcd/>
  49. <supcd/>
  50. </itemdtllist>
  51. </itemdtlinfo>
  52. <iptbox>
  53. <setnm/>
  54. </iptbox>
  55. <cond>
  56. <item>
  57. <recflag>%</recflag>
  58. <itemnm/>
  59. <clscd/>
  60. <srchflag>S</srchflag>
  61. </item>
  62. <foldernm/>
  63. </cond>
  64. <set>
  65. <setno/>
  66. <setnm/>
  67. <instcd/>
  68. <orddeptcd/>
  69. <trgtflag/>
  70. </set>
  71. <clsinfo>
  72. <clslist>
  73. <itemcd/>
  74. <itemnm/>
  75. </clslist>
  76. </clsinfo>
  77. <itemsetinfo>
  78. <itemsetlist>
  79. <orddeptcd/>
  80. <setnm/>
  81. <levl/>
  82. <setno/>
  83. <setrefseq/>
  84. <trgtflag/>
  85. </itemsetlist>
  86. </itemsetinfo>
  87. </main>
  88. <send>
  89. <reqdata/>
  90. <savedata/>
  91. <griddata/>
  92. </send>
  93. <hidden>
  94. <iteminfo>
  95. <itemlist>
  96. <itemflag/>
  97. <itemnm/>
  98. <refflag/>
  99. </itemlist>
  100. </iteminfo>
  101. <itemsetinfo>
  102. <itemsetlist>
  103. <status/>
  104. <instcd/>
  105. <orddeptcd/>
  106. <setnm/>
  107. <levl/>
  108. <setno/>
  109. <setrefseq/>
  110. <trgtflag/>
  111. </itemsetlist>
  112. </itemsetinfo>
  113. <itemdtlinfo>
  114. <itemdtllist>
  115. <status/>
  116. <supnm/>
  117. <itemnm/>
  118. <itemflag/>
  119. <instcd/>
  120. <setno/>
  121. <itemcd/>
  122. <supcd/>
  123. <orddeptcd/>
  124. </itemdtllist>
  125. </itemdtlinfo>
  126. </hidden>
  127. <init>
  128. <reccharflaglist>
  129. <item>
  130. <cd>A</cd>
  131. <nm>주체</nm>
  132. </item>
  133. <item>
  134. <cd>B</cd>
  135. <nm>값입력</nm>
  136. </item>
  137. <item>
  138. <cd>C</cd>
  139. <nm>값조회</nm>
  140. </item>
  141. </reccharflaglist>
  142. <today/>
  143. </init>
  144. </root>
  145. </instance>
  146. <script type="javascript" ev:event="xforms-ready">
  147. <![CDATA[
  148. fInitialize();
  149. ]]>
  150. </script>
  151. <submission id="TRMNR03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/main/itemsetinfo"/>
  152. <submission id="TRMNR03502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/main/itemdtlinfo"/>
  153. <submission id="TRMNR03503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/itemsrch"/>
  154. <submission id="TXMNR03501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/main/itemsetinfo"/>
  155. <submission id="TXMNR03502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/griddata" replace="instance" resultref="/root/main/itemdtlinfo"/>
  156. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  157. <submission id="TRMNR03504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/clsinfo"/>
  158. </model>
  159. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  160. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  161. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  162. <script type="javascript" src="../../../emr/carerecweb/js/SMMNR03500.js"/>
  163. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  164. </xhtml:head>
  165. <xhtml:body visibility="visible" guideline="2,719;1,273;1,269;1,579;1,585;1,1190;" style="border-color:#c7a3cf; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  166. <group id="grp_sea" style="left:586px; top:20px; width:605px; height:55px; vertical-align:top; ">
  167. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:605px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
  168. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:523px; top:17px; width:56px; height:22px; ">
  169. <caption>조회</caption>
  170. <script type="javascript" ev:event="DOMActivate">
  171. <![CDATA[
  172. fGetItemList();
  173. ]]>
  174. </script>
  175. </button>
  176. <caption id="caption2" class="search_name" style="left:6px; top:6px; width:92px; height:17px; ">조회조건 :</caption>
  177. <select1 id="rdo_cathflag" ref="/root/main/cond/item/recflag" class="radio_search" appearance="full" cellspacing="2" cols="6" overflow="visible" style="left:96px; top:6px; width:415px; height:20px; border-style:none; ">
  178. <choices>
  179. <item>
  180. <label>전체</label>
  181. <value>%</value>
  182. </item>
  183. <item>
  184. <label>임상관찰</label>
  185. <value>A</value>
  186. </item>
  187. <item>
  188. <label>Intake</label>
  189. <value>B</value>
  190. </item>
  191. <item>
  192. <label>Output</label>
  193. <value>C</value>
  194. </item>
  195. <item>
  196. <label>Catherter</label>
  197. <value>D</value>
  198. </item>
  199. <item>
  200. <label>간호수행</label>
  201. <value>E</value>
  202. </item>
  203. </choices>
  204. <script type="javascript" ev:event="xforms-value-changed">
  205. <![CDATA[
  206. fGetItemList();
  207. ]]>
  208. </script>
  209. </select1>
  210. <select1 id="cmb_itemflag" ref="/root/main/cond/item/clscd" class="combo_default" appearance="minimal" style="left:96px; top:29px; width:117px; height:19px; ">
  211. <choices>
  212. <itemset nodeset="/root/main/clsinfo/clslist">
  213. <label ref="itemnm"/>
  214. <value ref="itemcd"/>
  215. </itemset>
  216. </choices>
  217. </select1>
  218. <caption id="caption5" class="search_name" style="left:6px; top:30px; width:86px; height:17px; ">분 류 :</caption>
  219. <caption id="caption1" class="search_name" style="left:235px; top:30px; width:86px; height:17px; ">직접검색 :</caption>
  220. <input id="ipt_itemnm" ref="/root/main/cond/item/itemnm" class="input_default" style="left:325px; top:29px; width:138px; height:19px; border-color:#3366ff; border-style:solid; ">
  221. <script type="javascript" ev:event="onkeypress">
  222. <![CDATA[
  223. var keycode = event.keyCode;
  224. if(keycode == 13){
  225. model.setFocus("btn_search");
  226. fGetItemList();
  227. }
  228. //model.setFocus("ipt_itemnm");
  229. ]]>
  230. </script>
  231. </input>
  232. </group>
  233. <treeview id="trv_itemsetlist" ref="/root/main/itemsetinfo/itemsetlist" fullrowselect="false" itemsettype="depth" style="left:0px; top:67px; width:270px; height:653px; ">
  234. <script type="javascript" ev:event="xforms-select">
  235. <![CDATA[
  236. fReqItemSetDet();
  237. ]]>
  238. </script>
  239. <itemset nodeset="/root/main/itemsetinfo/itemsetlist">
  240. <label ref="setnm"/>
  241. <value ref="setno"/>
  242. <depth ref="levl"/>
  243. </itemset>
  244. </treeview>
  245. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:105px; height:13px; ">Item Set 관리</caption>
  246. <datagrid id="grd_srchdtlitem" nodeset="/root/main/itemdtlinfo/itemdtllist" autoresize="true" caption="분류 ^상태^Item명^Item코드^instcd^setno^instcd^setno^itemcd^supcd^삭제" colsep="^" colwidth="92, 40, 135, 70, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:273px; top:45px; width:307px; height:675px; ">
  247. <col ref="supnm"/>
  248. <col disabled="true" ref="status" type="combo" style="text-align:center; ">
  249. <choices>
  250. <item>
  251. <label>-</label>
  252. <value>-</value>
  253. </item>
  254. <item>
  255. <label>신규</label>
  256. <value>I</value>
  257. </item>
  258. <item>
  259. <label>삭제</label>
  260. <value>D</value>
  261. </item>
  262. </choices>
  263. </col>
  264. <col ref="itemnm" type="output"/>
  265. <col ref="itemcd"/>
  266. <col ref="instcd"/>
  267. <col ref="setno"/>
  268. <col ref="itemcd"/>
  269. <col ref="supcd"/>
  270. <col ref="supcd"/>
  271. <col ref="check" type="checkbox"/>
  272. <col ref="orddeptcd" visibility="hidden"/>
  273. <script type="javascript" ev:event="onclick">
  274. <![CDATA[
  275. //fClickedGridRow("SET");
  276. ]]>
  277. </script>
  278. </datagrid>
  279. <caption id="caption10" class="tit_2" style="left:279px; top:27px; width:113px; height:13px; ">Set별 Item 등록</caption>
  280. <caption id="caption3" class="tit_2" style="left:3px; top:27px; width:113px; height:13px; ">Item Set</caption>
  281. <input id="ipt_setnm" ref="/root/main/iptbox/setnm" class="input_default" disabled="true" style="left:72px; top:46px; width:198px; height:19px; border-color:#3366ff; border-style:solid; ">
  282. <script type="javascript" ev:event="onkeyup">
  283. <![CDATA[
  284. inputEnterKey("btn_saveitem","DOMActivate");
  285. ]]>
  286. </script>
  287. </input>
  288. <caption id="caption4" class="cell_1" style="left:0px; top:46px; width:70px; height:20px; ">SET명</caption>
  289. <datagrid id="grd_srchitem" nodeset="/root/main/itemsrch/itemlist" allowselection="false" autoresize="true" caption="선택^Item코드^Item명^상위항목코드^임상관찰^처방^Intake^Output^Catheter^처방^간호수행^처방^Item코드^depth" colsep="^" colwidth="32, 0, 183, 0, 55, 32, 45, 45, 55, 32, 55, 32, 70, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:585px; top:98px; width:606px; height:622px; ">
  290. <col ref="check" type="checkbox"/>
  291. <col ref="itemcd" visibility="hidden"/>
  292. <col ref="itemnm"/>
  293. <col ref="supcd" visibility="hidden"/>
  294. <col disabled="true" ref="clincobs" type="combo" style="text-align:center; ">
  295. <choices>
  296. <itemset nodeset="/root/init/reccharflaglist/item">
  297. <label ref="nm"/>
  298. <value ref="cd"/>
  299. </itemset>
  300. </choices>
  301. </col>
  302. <col ref="clincobsprcpyn" style="text-align:center; "/>
  303. <col disabled="true" ref="intake" type="combo" style="text-align:center; ">
  304. <choices>
  305. <itemset nodeset="/root/init/reccharflaglist/item">
  306. <label ref="nm"/>
  307. <value ref="cd"/>
  308. </itemset>
  309. </choices>
  310. </col>
  311. <col disabled="true" ref="output" type="combo" style="text-align:center; ">
  312. <choices>
  313. <itemset nodeset="/root/init/reccharflaglist/item">
  314. <label ref="nm"/>
  315. <value ref="cd"/>
  316. </itemset>
  317. </choices>
  318. </col>
  319. <col disabled="true" ref="catheter" type="combo" style="text-align:center; ">
  320. <choices>
  321. <itemset nodeset="/root/init/reccharflaglist/item">
  322. <label ref="nm"/>
  323. <value ref="cd"/>
  324. </itemset>
  325. </choices>
  326. </col>
  327. <col ref="catheterprcpyn" style="text-align:center; "/>
  328. <col disabled="true" ref="careexec" type="combo" style="text-align:center; ">
  329. <choices>
  330. <itemset nodeset="/root/init/reccharflaglist/item">
  331. <label ref="nm"/>
  332. <value ref="cd"/>
  333. </itemset>
  334. </choices>
  335. </col>
  336. <col ref="careexecprcpyn" style="text-align:center; "/>
  337. <col ref="itemcd"/>
  338. <col ref="depth"/>
  339. <script type="javascript" ev:event="onclick">
  340. <![CDATA[
  341. fClickedGridRow("Item");
  342. ]]>
  343. </script>
  344. </datagrid>
  345. <button id="btn_additem" class="btn2_letter2" style="left:95px; top:25px; width:42px; height:19px; ">
  346. <caption>추가</caption>
  347. <script type="javascript" ev:event="DOMActivate">
  348. <![CDATA[
  349. fAddItemSet();
  350. ]]>
  351. </script>
  352. </button>
  353. <button id="btn_modifyitem" class="btn2_letter2" style="left:139px; top:25px; width:42px; height:19px; ">
  354. <caption>수정</caption>
  355. <script type="javascript" ev:event="DOMActivate">
  356. <![CDATA[
  357. fUpdtItemSet();
  358. ]]>
  359. </script>
  360. </button>
  361. <button id="btn_deleteitem" class="btn2_letter2" style="left:183px; top:25px; width:42px; height:19px; ">
  362. <caption>삭제</caption>
  363. <script type="javascript" ev:event="DOMActivate">
  364. <![CDATA[
  365. fDelItemSet();
  366. ]]>
  367. </script>
  368. </button>
  369. <button id="btn_deleteitemset" class="btn2_letter4" style="left:515px; top:23px; width:64px; height:19px; ">
  370. <caption>Item삭제</caption>
  371. <script type="javascript" ev:event="DOMActivate">
  372. <![CDATA[
  373. fDelDetGridRow();
  374. ]]>
  375. </script>
  376. </button>
  377. <button id="btn_saveitem" class="btn2_letter2" disabled="true" style="left:227px; top:25px; width:42px; height:19px; ">
  378. <caption>저장</caption>
  379. <script type="javascript" ev:event="DOMActivate">
  380. <![CDATA[
  381. fSaveItemSet();
  382. ]]>
  383. </script>
  384. </button>
  385. <button id="btn_moveitemset" class="btn2_letter4" style="left:585px; top:78px; width:64px; height:19px; ">
  386. <caption>선택이동</caption>
  387. <script type="javascript" ev:event="DOMActivate">
  388. <![CDATA[
  389. fSelectItemMove();
  390. ]]>
  391. </script>
  392. </button>
  393. <button id="btn_selectall" class="btn2_letter4" style="left:1059px; top:78px; width:64px; height:19px; ">
  394. <caption>전체선택</caption>
  395. <script type="javascript" ev:event="DOMActivate">
  396. <![CDATA[
  397. for(var itemrow=grd_srchitem.fixedrows; itemrow<=grd_srchitem.rows-grd_srchitem.fixedrows;itemrow++){
  398. model.setValue(xItemSrchPath+"["+itemrow+"]/check","true");
  399. }
  400. grd_srchitem.rebuild();
  401. setTree(grd_srchitem,13,3,false);
  402. ]]>
  403. </script>
  404. </button>
  405. <button id="btn_selectcancle" class="btn2_letter4" style="left:1126px; top:78px; width:64px; height:19px; ">
  406. <caption>선택취소</caption>
  407. <script type="javascript" ev:event="DOMActivate">
  408. <![CDATA[
  409. for(var itemrow=grd_srchitem.fixedrows; itemrow<=grd_srchitem.rows-grd_srchitem.fixedrows;itemrow++){
  410. model.setValue(xItemSrchPath+"["+itemrow+"]/check","");
  411. }
  412. grd_srchitem.rebuild();
  413. setTree(grd_srchitem,13,3,false);
  414. ]]>
  415. </script>
  416. </button>
  417. <button id="button1" class="btn2_letter4" style="left:448px; top:23px; width:64px; height:19px; ">
  418. <caption>list 저장</caption>
  419. <script type="javascript" ev:event="DOMActivate">
  420. <![CDATA[
  421. fSendItemInfo();
  422. ]]>
  423. </script>
  424. </button>
  425. </xhtml:body>
  426. </xhtml:html>