SMMNR08600_환자별IO조회.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  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>환자별I/O 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <seardd/>
  12. <duty/>
  13. <mealflag/>
  14. <pid/>
  15. <orddd/>
  16. <cretno/>
  17. <bizflag/>
  18. <seartodd/>
  19. <wardcd/>
  20. <iochkyn/>
  21. <zonecd/>
  22. <roomcd/>
  23. <settingrnid/>
  24. <upinfoyn/>
  25. <wardnm/>
  26. <kindflag>1</kindflag>
  27. <typeflag>1</typeflag>
  28. </cond>
  29. <ioinfo>
  30. <iolist>
  31. <setyn/>
  32. <lnkbizcd/>
  33. <itemnm/>
  34. <d_lnkrecflag/>
  35. <dayrslt/>
  36. <e_lnkrecflag/>
  37. <evnrslt/>
  38. <n_lnkrecflag/>
  39. <ngtrslt/>
  40. <subtotal/>
  41. <total/>
  42. </iolist>
  43. <dietprcplist>
  44. <breakdietprcpnm/>
  45. <lunchdietprcpnm/>
  46. <dinnerdietprcpnm/>
  47. </dietprcplist>
  48. </ioinfo>
  49. <memoinfo>
  50. <memolist>
  51. <memocnts/>
  52. <recdd_b/>
  53. <rectm_b/>
  54. <status/>
  55. <seqno/>
  56. </memolist>
  57. </memoinfo>
  58. </main>
  59. <send>
  60. </send>
  61. <hidden>
  62. </hidden>
  63. <init>
  64. <deptinfo>
  65. <deptlist>
  66. <deptcd/>
  67. <depthngnm/>
  68. <deptflag/>
  69. </deptlist>
  70. </deptinfo>
  71. <roominfo>
  72. <room>
  73. <roomcd/>
  74. <roomnm/>
  75. </room>
  76. </roominfo>
  77. <patinfo>
  78. <patlist>
  79. <wardcd/>
  80. <roomcd/>
  81. <pid/>
  82. <patnm/>
  83. <orddd/>
  84. <acptseqno/>
  85. <indd/>
  86. <cretno/>
  87. <orddeptcd/>
  88. <orddeptnm/>
  89. <orddrid/>
  90. <orddrnm/>
  91. <elbulbodstat/>
  92. <ordtype/>
  93. <sexage/>
  94. <insukind/>
  95. <specordyn/>
  96. <clincstdyflag/>
  97. <clincstdycd/>
  98. <instcd/>
  99. </patlist>
  100. </patinfo>
  101. <homepatinfo>
  102. <patlist>
  103. <visitdd/>
  104. <wardcd/>
  105. <roomcd/>
  106. <pid/>
  107. <patnm/>
  108. <orddd/>
  109. <acptseqno/>
  110. <indd/>
  111. <cretno/>
  112. <orddeptcd/>
  113. <orddeptnm/>
  114. <orddrid/>
  115. <orddrnm/>
  116. <elbulbodstat/>
  117. <ordtype/>
  118. <sexage/>
  119. <insukind/>
  120. <specordyn/>
  121. <clincstdyflag/>
  122. <clincstdycd/>
  123. <instcd/>
  124. </patlist>
  125. </homepatinfo>
  126. <setdeptinfo>
  127. <deptlist>
  128. <deptcd/>
  129. <depthngnm/>
  130. </deptlist>
  131. </setdeptinfo>
  132. <comcodelist>
  133. <payflag_cmblist/>
  134. <clscd_cmblist/>
  135. <opflag_cmblist/>
  136. </comcodelist>
  137. <bfcondinfo>
  138. <bfcond>
  139. <label>처방일자</label>
  140. <value>prcpdd</value>
  141. </bfcond>
  142. <bfcond>
  143. <label>적용일자</label>
  144. <value>hopedd</value>
  145. </bfcond>
  146. </bfcondinfo>
  147. <homebfcondinfo>
  148. <homebfcond>
  149. <label>처방일자</label>
  150. <value>prcpdd</value>
  151. </homebfcond>
  152. <homebfcond>
  153. <label>방문일자</label>
  154. <value>hopedd</value>
  155. </homebfcond>
  156. </homebfcondinfo>
  157. <settinginfo>
  158. <settingrn>
  159. <settingrnnm/>
  160. <settingrnid/>
  161. </settingrn>
  162. </settinginfo>
  163. </init>
  164. <temp>
  165. <bizinfo>
  166. <bizlist>
  167. <cd>01</cd>
  168. <nm>경구</nm>
  169. </bizlist>
  170. <bizlist>
  171. <cd>02</cd>
  172. <nm>약/주사</nm>
  173. </bizlist>
  174. <bizlist>
  175. <cd>03</cd>
  176. <nm>혈액</nm>
  177. </bizlist>
  178. <bizlist>
  179. <cd>04</cd>
  180. <nm>기타</nm>
  181. </bizlist>
  182. <bizlist>
  183. <cd>05</cd>
  184. <nm>output</nm>
  185. </bizlist>
  186. <bizlist>
  187. <cd>06</cd>
  188. <nm>Total Intake</nm>
  189. </bizlist>
  190. <bizlist>
  191. <cd>07</cd>
  192. <nm>Total Output</nm>
  193. </bizlist>
  194. <bizlist>
  195. <cd>08</cd>
  196. <nm>비고</nm>
  197. </bizlist>
  198. </bizinfo>
  199. <setinfo>
  200. <setlist>
  201. <cd>1</cd>
  202. <nm>intake</nm>
  203. </setlist>
  204. <setlist>
  205. <cd>05</cd>
  206. <nm>output</nm>
  207. </setlist>
  208. <setlist>
  209. <cd>06</cd>
  210. <nm>Total Intake</nm>
  211. </setlist>
  212. <setlist>
  213. <cd>07</cd>
  214. <nm>Total Output</nm>
  215. </setlist>
  216. <setlist>
  217. <cd>08</cd>
  218. <nm>비고</nm>
  219. </setlist>
  220. </setinfo>
  221. <lnkrecinfo>
  222. <lnkreclist>
  223. <cd>1</cd>
  224. <nm>경구입력</nm>
  225. </lnkreclist>
  226. <lnkreclist>
  227. <cd>2</cd>
  228. <nm>기타식이</nm>
  229. </lnkreclist>
  230. </lnkrecinfo>
  231. <zoneinfo/>
  232. </temp>
  233. <temp>
  234. <cond>
  235. <roomcdgrup>
  236. <roomcdgruplist/>
  237. </roomcdgrup>
  238. <patientgrup>
  239. <patientgruplist/>
  240. </patientgrup>
  241. <settingpatient>
  242. <settingpatientlist/>
  243. </settingpatient>
  244. </cond>
  245. </temp>
  246. </root>
  247. </instance>
  248. <script type="javascript" ev:event="xforms-ready">
  249. <![CDATA[
  250. fInitialize();
  251. ]]>
  252. </script>
  253. <submission id="TRMNR05801_SJH" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/info"/>
  254. <submission id="TXMNR05801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/memoinfo"/>
  255. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
  256. <submission id="TRMNW10910" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/settinginfo"/>
  257. <submission id="TRMNW11001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/deptinfo"/>
  258. <submission id="TRMNW10902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/roominfo"/>
  259. <submission id="TRMNW10903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patinfo"/>
  260. <submission id="TRMNR06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/zoneinfo"/>
  261. <submission id="TXMNR08601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/tmp"/>
  262. </model>
  263. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  264. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  265. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  266. <script type="javascript" src="../../../emr/carerecweb/js/CareRec.js"/>
  267. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  268. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  269. <script type="javascript" src="../../../emr/carerecweb/js/SMMNR08600.js"/>
  270. <script type="javascript" src="../../../emr/carerecweb/js/SMMNW10900.js"/>
  271. </xhtml:head>
  272. <xhtml:body pagewidth="1155" pageheight="720" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  273. <group id="grp_inpatinfo" style="left:0px; top:20px; width:1125px; height:35px; ">
  274. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1125px; height:35px; "/>
  275. <caption id="caption33" class="search_name" style="left:5px; top:9px; width:70px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">병 동 :</caption>
  276. <button id="button1" class="btn1_letter2" style="left:1000px; top:8px; width:56px; height:22px; ">
  277. <caption>조회</caption>
  278. <script type="javascript" ev:event="DOMActivate">
  279. <![CDATA[
  280. fGetPatInfo();
  281. ]]>
  282. </script>
  283. </button>
  284. <button id="btn_close" class="btn1_letter2" style="left:1060px; top:7px; width:56px; height:22px; ">
  285. <caption>출력</caption>
  286. <script type="javascript" ev:event="DOMActivate">
  287. <![CDATA[
  288. var typeflag = model.getValue(rdo_typeflag.attribute("ref"));
  289. var sInstcd = getUserInfo("dutplceinstcd");
  290. if(typeflag == "1") {
  291. exeReportPreview("RPMNR08600", "XMLSTR", "", "", "false");
  292. } else if(typeflag == "3") {
  293. exeReportPreview("RPMNR08602", "XMLSTR", "", "", "false");
  294. //16.09.19_칠곡 본원과 동일하게 바코드 사용으로 인해 주석처리
  295. // if(sInstcd == "031") {
  296. // exeReportPreview("RPMNR08602", "XMLSTR", "", "", "false");
  297. // } else {
  298. // exeReportPreview("RPMNR08601", "XMLSTR", "", "", "false");
  299. // }
  300. } else {
  301. messageBox("출력은 조회용만 가능합니다.", "E");
  302. return;
  303. }
  304. ]]>
  305. </script>
  306. </button>
  307. <caption id="cap_Zone" class="search_name" visibility="hidden" style="left:203px; top:9px; width:65px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">구 역 :</caption>
  308. <select1 id="cmb_Zone" ref="/root/main/cond/zonecd" class="combo_search" visibility="hidden" appearance="minimal" style="left:269px; top:9px; width:109px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
  309. <choices>
  310. <itemset nodeset="/root/temp/zoneinfo/zonelist">
  311. <label ref="bednm"/>
  312. <value ref="bedcd"/>
  313. </itemset>
  314. </choices>
  315. <script type="javascript" ev:event="xforms-value-changed">
  316. <![CDATA[
  317. model.setValue("/root/main/cond/upinfoyn", "N");
  318. fPatInfoRef("I");
  319. ]]>
  320. </script>
  321. </select1>
  322. <select1 id="cmb_room" ref="/root/main/cond/roomcd" class="combo_search" appearance="minimal" style="left:269px; top:9px; width:109px; height:19px; ">
  323. <choices>
  324. <itemset nodeset="/root/init/roominfo/room">
  325. <label ref="roomnm"/>
  326. <value ref="roomcd"/>
  327. </itemset>
  328. </choices>
  329. <script type="javascript" ev:event="xforms-value-changed">
  330. <![CDATA[
  331. model.setValue("/root/main/cond/upinfoyn", "N");
  332. fPatInfoRef("I");
  333. ]]>
  334. </script>
  335. </select1>
  336. <caption id="caption15" class="search_name" style="left:202px; top:9px; width:65px; height:17px; ">병 실 :</caption>
  337. <select1 id="cmb_settingrn" ref="/root/main/cond/settingrnid" class="combo_search" appearance="minimal" style="left:453px; top:9px; width:75px; height:19px; ">
  338. <choices>
  339. <itemset nodeset="/root/init/settinginfo/settingrn">
  340. <label ref="settingrnnm"/>
  341. <value ref="settingrnid"/>
  342. </itemset>
  343. </choices>
  344. <script type="javascript" ev:event="xforms-value-changed">
  345. <![CDATA[
  346. fGetPatInfo();
  347. ]]>
  348. </script>
  349. </select1>
  350. <caption id="cap_settingrn" class="search_name" style="left:385px; top:10px; width:75px; height:17px; ">내환자:</caption>
  351. <select1 id="cmb_wardlist" ref="/root/main/cond/wardcd" class="combo_search" appearance="minimal" editmode="search" itemcount="40" style="left:71px; top:9px; width:119px; height:19px; ">
  352. <choices>
  353. <itemset nodeset="/root/init/deptinfo/deptlist">
  354. <label ref="depthngnm"/>
  355. <value ref="deptcd"/>
  356. </itemset>
  357. </choices>
  358. <script type="javascript" ev:event="xforms-value-changed">
  359. <![CDATA[
  360. model.setValue("/root/main/cond/upinfoyn", "N");
  361. fRoomInfoRef();
  362. fGetSettringInfoRef();
  363. //20110216 이선경 ; 경북대
  364. fnZoneDisp();
  365. model.setValue("/root/main/cond/upinfoyn", "N");
  366. fPatInfoRef("I");
  367. model.makeValue("/root/main/cond/wardnm", cmb_wardlist.label);
  368. ]]>
  369. </script>
  370. </select1>
  371. <line id="line3" class="line_4" style="x1:990px; y1:8px; x2:990px; y2:28px; "/>
  372. <select1 id="rdo_typeflag" ref="/root/main/cond/typeflag" appearance="full" cols="3" overflow="visible" style="left:535px; top:12px; width:205px; height:13px; border-style:none; ">
  373. <choices>
  374. <item>
  375. <label>IO조회용</label>
  376. <value>1</value>
  377. </item>
  378. <item>
  379. <label>혈당조회용</label>
  380. <value>3</value>
  381. </item>
  382. <item>
  383. <label>설정용</label>
  384. <value>2</value>
  385. </item>
  386. </choices>
  387. <script type="javascript" ev:event="xforms-value-changed">
  388. <![CDATA[
  389. var typeflag= model.getValue(rdo_typeflag.attribute("ref"));
  390. if(typeflag == "2") {
  391. grd_patlist.attribute("width") = 1124;
  392. //일단 ioyn만 숨기도록 수정.
  393. //for(var i = grd_patlist.colRef("ioyn"); i <= grd_patlist.colRef("acyn"); i++) {
  394. for(var i = grd_patlist.colRef("ioyn"); i <= grd_patlist.colRef("bstkindcd"); i++) {
  395. grd_patlist.colHidden(i) = false;
  396. }
  397. btn_save.visible=true;
  398. } else {
  399. grd_patlist.attribute("width") = 235;
  400. btn_save.visible = false;
  401. //일단 ioyn만 숨기도록 수정.
  402. //for(var i = grd_patlist.colRef("ioyn"); i <= grd_patlist.colRef("acyn"); i++) {
  403. for(var i = grd_patlist.colRef("ioyn"); i <= grd_patlist.colRef("bstkindcd"); i++) {
  404. grd_patlist.colHidden(i) = true;
  405. }
  406. }
  407. fGetPatInfo();
  408. ]]>
  409. </script>
  410. </select1>
  411. </group>
  412. <datagrid id="grd_ioinfo" nodeset="/root/main/ioinfo/iolist" allowselection="false" allowuserresize="true" backcoloralternate="transparent" caption="구분^구분^Day^Day^Evening^Evening^Night^Night^Total^Total^bloodcnt^bloodcnt^bloodcnt" colsep="^" colwidth="60, 60, 130, 65, 130, 65, 130, 65, 160, 0, 0, 0, 0, 0" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:240px; top:90px; width:884px; height:590px; ">
  413. <col disabled="true" ref="setyn" type="combo" style="font-size:12; font-weight:bold; text-align:center; ">
  414. <choices>
  415. <itemset nodeset="/root/temp/setinfo/setlist">
  416. <label ref="nm"/>
  417. <value ref="cd"/>
  418. </itemset>
  419. </choices>
  420. </col>
  421. <col disabled="true" ref="lnkbizcd" type="combo" style="font-size:12; font-weight:bold; text-align:center; ">
  422. <choices>
  423. <itemset nodeset="/root/temp/bizinfo/bizlist">
  424. <label ref="nm"/>
  425. <value ref="cd"/>
  426. </itemset>
  427. </choices>
  428. </col>
  429. <col editmode="input" ref="d_lnkrecflag" type="combo" style="padding-left:2; ">
  430. <choices>
  431. <itemset nodeset="/root/temp/lnkrecinfo/lnkreclist">
  432. <label ref="nm"/>
  433. <value ref="cd"/>
  434. </itemset>
  435. </choices>
  436. </col>
  437. <col ref="dayrslt" style="text-align:right; padding-right:5; "/>
  438. <col editmode="input" ref="e_lnkrecflag" type="combo" style="padding-left:2; ">
  439. <choices>
  440. <itemset nodeset="/root/temp/lnkrecinfo/lnkreclist">
  441. <label ref="nm"/>
  442. <value ref="cd"/>
  443. </itemset>
  444. </choices>
  445. </col>
  446. <col ref="evnrslt" style="text-align:right; padding-right:5; "/>
  447. <col editmode="input" ref="n_lnkrecflag" type="combo" style="padding-left:2; ">
  448. <choices>
  449. <itemset nodeset="/root/temp/lnkrecinfo/lnkreclist">
  450. <label ref="nm"/>
  451. <value ref="cd"/>
  452. </itemset>
  453. </choices>
  454. </col>
  455. <col ref="ngtrslt" style="text-align:right; padding-right:5; "/>
  456. <col ref="subtotal" style="text-align:right; padding-right:10; "/>
  457. <col ref="total" visibility="hidden" style="text-align:right; padding-right:10; "/>
  458. <col ref="daycnt"/>
  459. <col ref="evncnt"/>
  460. <col ref="ngtcnt"/>
  461. <col ref="itemnm"/>
  462. </datagrid>
  463. <input id="ipt_seardd" ref="/root/main/cond/seardd" inputtype="date" appearance="input" style="left:330px; top:61px; width:89px; height:19px; ">
  464. <script type="javascript" ev:event="xforms-value-changed">
  465. <![CDATA[
  466. fSearIOInfo();
  467. ]]>
  468. </script>
  469. </input>
  470. <caption id="caption4" class="tit_2" style="left:245px; top:64px; width:86px; height:13px; ">업무일자 :</caption>
  471. <line id="line1" class="line_1" style="x1:240px; y1:85px; x2:1124px; y2:85px; "/>
  472. <!--
  473. <button id="button4" class="btn3_letter12" visibility="hidden" style="left:393px; top:5px; width:176px; height:22px; ">
  474. <caption>I/O기준시간관리 Master</caption>
  475. <script type="javascript" ev:event="DOMActivate">
  476. <![CDATA[
  477. modal("SPMNR08500");
  478. ]]>
  479. </script>
  480. </button>
  481. -->
  482. <select id="chk_iochkyn" ref="/root/main/cond/iochkyn" overflow="visible" appearance="full" style="left:425px; top:63px; width:120px; height:15px; border-style:none; ">
  483. <choices>
  484. <item>
  485. <label>타부서입력값 제외</label>
  486. <value>Y</value>
  487. </item>
  488. </choices>
  489. <script type="javascript" ev:event="xforms-value-changed">
  490. <![CDATA[
  491. fSearIOInfo();
  492. ]]>
  493. </script>
  494. </select>
  495. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:1135px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">
  496. <![CDATA[환자별I/O조회]]>
  497. <script type="javascript" ev:event="ondblclick">
  498. <![CDATA[
  499. if(rdo_srchflag.attribute("visibility") == "hidden"){
  500. rdo_srchflag.visible = true;
  501. }else{
  502. rdo_srchflag.visible = false;
  503. }
  504. ]]>
  505. </script>
  506. </caption>
  507. <line id="line2" class="line_1" style="x1:0px; y1:85px; x2:235px; y2:85px; "/>
  508. <caption id="caption1" class="tit_2" style="left:0px; top:70px; width:86px; height:14px; ">환자리스트</caption>
  509. <datagrid id="grd_patlist" nodeset="/root/init/patinfo/patlist" caption="병실^환자명^등록번호^I/O여부^I/O종류^BST여부^BST횟수^BW여부^AC여부^입원일자^생성번호^병동코드" colsep="^" colwidth="74, 62, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:90px; width:235px; height:590px; ">
  510. <col ref="roomcd" style="text-align:center; "/>
  511. <col ref="hngnm"/>
  512. <col ref="pid"/>
  513. <col checkvalue="Y,N" ref="ioyn" type="checkbox"/>
  514. <col ref="iokindcd" type="combo" visibility="hidden">
  515. <choices>
  516. <item>
  517. <label>Total</label>
  518. <value>1</value>
  519. </item>
  520. <item>
  521. <label>1</label>
  522. <value>2</value>
  523. </item>
  524. <item>
  525. <label>2</label>
  526. <value>3</value>
  527. </item>
  528. </choices>
  529. </col>
  530. <col checkvalue="Y,N" ref="bstyn" type="checkbox"/>
  531. <col ref="bstkindcd" type="combo">
  532. <choices>
  533. <item>
  534. <label>1회</label>
  535. <value>1</value>
  536. </item>
  537. <item>
  538. <label>2회</label>
  539. <value>2</value>
  540. </item>
  541. <item>
  542. <label>4회</label>
  543. <value>4</value>
  544. </item>
  545. <item>
  546. <label>8회</label>
  547. <value>8</value>
  548. </item>
  549. <item>
  550. <label>10회</label>
  551. <value>10</value>
  552. </item>
  553. </choices>
  554. </col>
  555. <col checkvalue="Y,N" ref="bwyn" type="checkbox" visibility="hidden"/>
  556. <col checkvalue="Y,N" ref="acyn" type="checkbox" visibility="hidden"/>
  557. <col ref="indd" visibility="hidden"/>
  558. <col ref="cretno" visibility="hidden"/>
  559. <col ref="wardcd" visibility="hidden"/>
  560. <script type="javascript" ev:event="ondblclick">
  561. <![CDATA[
  562. if(grd_patlist.isCell(event.target) && grd_patlist.mouseRow >= grd_patlist.fixedrows){
  563. if(model.getValue(rdo_typeflag.attribute("ref")) =="1"){
  564. model.setValue("/root/main/cond/pid", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("pid")));
  565. model.setValue("/root/main/cond/orddd", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("indd")));
  566. model.setValue("/root/main/cond/cretno", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("cretno")));
  567. model.setValue("/root/main/cond/wardcd", grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("wardcd")));
  568. fSearIOInfo();
  569. } else {
  570. messageBox("IO조회용일 경우에만 조회가 가능합니다.", "E");
  571. return;
  572. }
  573. }
  574. ]]>
  575. </script>
  576. <script type="javascript" ev:event="xforms-value-changed">
  577. <![CDATA[
  578. if(grd_patlist.col== grd_patlist.colRef("bstyn")) {
  579. grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("bstkindcd")) = "";
  580. }
  581. if(grd_patlist.col== grd_patlist.colRef("bstkindcd")) {
  582. grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("bstyn")) = "Y";
  583. }
  584. ]]>
  585. </script>
  586. </datagrid>
  587. <button id="btn_save" class="btn2_letter2" visibility="hidden" style="left:1085px; top:65px; width:42px; height:19px; ">
  588. <caption>저장</caption>
  589. <script type="javascript" ev:event="DOMActivate">
  590. <![CDATA[
  591. model.makeValue("/root/send/savedata/patlist", getGridUpdateData(grd_patlist));
  592. if(submit("TXMNR08601")) {
  593. messageBox("저장되었습니다.", "I");
  594. fGetPatInfo();
  595. }
  596. ]]>
  597. </script>
  598. </button>
  599. </xhtml:body>
  600. </xhtml:html>