SMMNR04200_Item그룹관리.xrw 16 KB

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