SMLLC00500_환자별채혈일처방조회.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLC00500_환자별채혈일처방조회.xrw
  4. * 설 명 :
  5. * 설 계 자 :
  6. * 작 성 자 : 김은지
  7. * 작 성 일 : 2008.09.23
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>환자별채혈일처방조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <outprcprgst>
  20. <outprcprgstlist>
  21. <outprcprgst>
  22. <orddept/>
  23. <orddr/>
  24. <orddd/>
  25. <orddrid/>
  26. <orddeptcd/>
  27. </outprcprgst>
  28. </outprcprgstlist>
  29. </outprcprgst>
  30. <outprcpdetl>
  31. <prcpspeclist>
  32. <outprcpspec>
  33. <prcpnm/>
  34. <prcpqty/>
  35. <prcptims/>
  36. <prcpdayno/>
  37. <retc/>
  38. <prcpcd/>
  39. <prcpstat/>
  40. </outprcpspec>
  41. </prcpspeclist>
  42. <prcpdetllist>
  43. <prcpdetl>
  44. <testcd/>
  45. <testnm/>
  46. <testrslt/>
  47. <refL/>
  48. <refH/>
  49. <rsltstat/>
  50. </prcpdetl>
  51. </prcpdetllist>
  52. </outprcpdetl>
  53. <bcolldeptlist>
  54. <deptlist>
  55. <bcolldeptlist>
  56. <sectnm/>
  57. <pid/>
  58. <patnm/>
  59. </bcolldeptlist>
  60. </deptlist>
  61. </bcolldeptlist>
  62. <comparelist>
  63. <deptprcp>
  64. <bcno/>
  65. <tclscd/>
  66. <bcolldt/>
  67. <spcacptdt/>
  68. <orddept/>
  69. <orddr/>
  70. <wardnm/>
  71. <roomcd/>
  72. <prcpdd/>
  73. <orddd/>
  74. </deptprcp>
  75. <prcplist>
  76. <calcscorcd/>
  77. <spcno/>
  78. <execdeptcd/>
  79. <execprcpqty/>
  80. <execprcptims/>
  81. <execprcpdayno/>
  82. <erprcpflag/>
  83. <precureprcpflag/>
  84. <wardcd/>
  85. <roomcd/>
  86. <rcptdd/>
  87. <actorddd/>
  88. <prcpdd/>
  89. <prcphopedd/>
  90. </prcplist>
  91. </comparelist>
  92. </main>
  93. <send>
  94. <req>
  95. <patprcp>
  96. <pid/>
  97. <bcolldd/>
  98. <orddd/>
  99. <orddrid/>
  100. <orddeptcd/>
  101. </patprcp>
  102. <bcollprcp>
  103. <sectcd/>
  104. <prcpdd/>
  105. <bcolldd/>
  106. <pid/>
  107. <reqdept/>
  108. </bcollprcp>
  109. </req>
  110. </send>
  111. <temp>
  112. <bmtpatientinfo/>
  113. <seadept>
  114. <all/>
  115. <srchdept/>
  116. </seadept>
  117. </temp>
  118. </root>
  119. </instance>
  120. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  121. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  122. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  123. <script type="javascript" ev:event="xforms-ready">
  124. <![CDATA[
  125. //채혈일 디폴트로 현재날짜 세팅
  126. model.setValue("/root/send/req/bcollprcp/bcolldd", getCurrentDate());
  127. ipt_sdate.refresh();
  128. model.setFocus("ipt_pid"); //등록번호로 포커스
  129. ]]>
  130. </script>
  131. <submission id="TRLLC00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/patprcp/pid" replace="instance" resultref="/root/main/outprcprgst"/>
  132. <submission id="TRLLC00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/patprcp" replace="instance" resultref="/root/main/outprcpdetl"/>
  133. <submission id="TRLLC00503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/bcollprcp" replace="instance" resultref="/root/main/bcolldeptlist"/>
  134. <submission id="TRLLC00504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/bcollprcp" replace="instance" resultref="/root/main/comparelist"/>
  135. </model>
  136. <script type="javascript">
  137. <![CDATA[
  138. /* @group : 정보 전송 체크
  139. * @ver : 2008.06.11
  140. * @by : 김은지
  141. * @-----------------------------------
  142. * @type : function
  143. * @access : public
  144. * @desc : 환자별 조회시 id가 입력되었는지 확인한 뒤 외래접수 내역을 조회하는 function
  145. */
  146. function fFormDataCheck(){
  147. model.setValue("/root/send/req/patprcp/pid", ipt_pid.currentText);
  148. if( model.getValue("/root/send/req/patprcp/pid") == ""){
  149. messageBox("환자 등록번호를 기입해 주십시오.", "I", "");
  150. return;
  151. }
  152. else{
  153. model.refresh();
  154. submit("TRLLC00501"); // 환자의 외래접수 내역을 조회
  155. }
  156. }
  157. /* @group : 외래 처방 조회
  158. * @ver : 2008.06.14
  159. * @by : 김은지
  160. * @-----------------------------------
  161. * @type : function
  162. * @access : public
  163. * @desc : 선택한 외래 접수 내역에 대한 외래처방과 진단검사 상세내역을 조회한다.
  164. */
  165. function fGetOutPrcpDetl(){
  166. //선택한 outprcprgst의 진료과코드, 의사코드, 일자를 send의 엘리먼트에 담음.
  167. model.setValue("/root/send/req/patprcp/orddd", model.getValue("/root/main/outprcprgst/outprcprgstlist/outprcprgst["+grd_prcplist.row+"]/orddd"));
  168. model.setValue("/root/send/req/patprcp/orddrid", model.getValue("/root/main/outprcprgst/outprcprgstlist/outprcprgst["+grd_prcplist.row+"]/orddrid"));
  169. model.setValue("/root/send/req/patprcp/orddeptcd", model.getValue("/root/main/outprcprgst/outprcprgstlist/outprcprgst["+grd_prcplist.row+"]/orddeptcd"));
  170. submit("TRLLC00502"); // 해당 외래접수 내역에 대한 외래처방과 진검 내역을 조회
  171. }
  172. /* @group : 채혈리스트 조회
  173. * @ver : 2008.09.23
  174. * @by : 김은지
  175. * @-----------------------------------
  176. * @type : function
  177. * @access : public
  178. * @desc : 선택한 검사부서와 환자번호, 처방일자에 대한 채혈리스트 조회
  179. */
  180. function fGetCmprPrcp(){
  181. //선택한 row의 검사부서와 환자번호, 처방일자를 send의 엘리먼트에 담음.
  182. model.setValue("/root/send/req/bcollprcp/sectcd", model.getValue("/root/main/bcolldeptlist/deptlist/bcolldeptlist["+grd_deptlist.row+"]/sectcd"));
  183. model.setValue("/root/send/req/bcollprcp/pid", model.getValue("/root/main/bcolldeptlist/deptlist/bcolldeptlist["+grd_deptlist.row+"]/pid"));
  184. model.setValue("/root/send/req/bcollprcp/prcpdd", model.getValue("/root/main/bcolldeptlist/deptlist/bcolldeptlist["+grd_deptlist.row+"]/prcpdd"));
  185. submit("TRLLC00504"); //해당 검사부서에 대한 진단검사 처방과 처방 LIST를 조회
  186. }
  187. /* @group : 채혈일별 처방조회
  188. * @ver : 2008.09.23
  189. * @by : 김은지
  190. * @-----------------------------------
  191. * @type : function
  192. * @access : public
  193. * @desc : 전체 선택 여부에 따라 부서 체크의 체크 상태를 바꾼다.
  194. */
  195. function fSetDeptChkBox(){
  196. //전체가 체크되었으면 부서를 모두 선택 상태로 만들고 비활성화 한다.
  197. if(model.getValue("/root/temp/seadept/all") == "1"){
  198. for(var i=0; i <= 5; i++){
  199. chk_reqdept.select(i);
  200. }
  201. chk_reqdept.refresh();
  202. chk_reqdept.disabled = true;
  203. }
  204. //전체가 체크되지 않았으면 부서 선택을 해제하고 체크 박스를 활성화시킨다.
  205. else{
  206. for(var i=0; i <= 5; i++){
  207. chk_reqdept.deselect(i);
  208. }
  209. chk_reqdept.refresh();
  210. chk_reqdept.disabled = false;
  211. }
  212. chk_reqdept.refresh();
  213. }
  214. ]]>
  215. </script>
  216. </xhtml:head>
  217. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  218. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  219. <caption id="cpt_lgtitle" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; ">환자별 채혈일 처방조회</caption>
  220. </group>
  221. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  222. <switch id="switch1" style="left:0px; top:0px; width:1194px; height:705px; ">
  223. <case id="case1" selected="true">
  224. <line id="lin_2" class="line_1" style="x1:346px; y1:69px; x2:736px; y2:69px; "/>
  225. <datagrid id="grd_prcpdetl" nodeset="/root/main/outprcpdetl/prcpdetllist/prcpdetl" scroll="autovscroll" caption="검사코드^명칭^결과치^refH^refL^결과상태^" colsep="^" colwidth="75, 120, 85, 35, 35, 70" dataheight="23" defaultrows="1" ellipsis="true" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:742px; top:74px; width:445px; height:595px; ">
  226. <col ref="testcd" style="left:20px; top:23px; width:75px; height:23px; "/>
  227. <col ref="testnm"/>
  228. <col ref="testrslt"/>
  229. <col ref="refH" style="text-align:right; "/>
  230. <col ref="refL" style="text-align:right; "/>
  231. <col ref="rsltstat"/>
  232. </datagrid>
  233. <caption id="cpt_cptprcp" class="tit_2" style="left:737px; top:54px; width:131px; height:13px; ">진단검사 상세내역</caption>
  234. <caption id="cpt_outprcp" class="tit_2" style="left:351px; top:54px; width:131px; height:13px; ">외래처방</caption>
  235. <datagrid id="grd_prcplist" nodeset="/root/main/outprcprgst/outprcprgstlist/outprcprgst" scroll="autovscroll" caption="진료과^진료의사^진료일자^orddrid^orddeptcd" colsep="^" colwidth="95, 80, 138, 0, 0" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sort" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:74px; width:340px; height:595px; ">
  236. <col ref="orddept"/>
  237. <col ref="orddr"/>
  238. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  239. <col ref="orddrid"/>
  240. <col ref="orddeptcd"/>
  241. <script type="javascript" ev:event="onclick">
  242. <![CDATA[
  243. if(grd_prcplist.row > 0){ //그리드의 헤더는 제외
  244. fGetOutPrcpDetl(); //해당 내역에 대한 외래 처방과 진단검사 상세내역을 조회
  245. }
  246. ]]>
  247. </script>
  248. <script type="javascript" ev:event="onaftersort">
  249. <![CDATA[
  250. grd_prcplist.gridToInstance(); //그리드의 인스턴스 재구성
  251. ]]>
  252. </script>
  253. </datagrid>
  254. <line id="line2" class="line_1" style="x1:0px; y1:69px; x2:340px; y2:69px; "/>
  255. <datagrid id="grd_outprcp" nodeset="/root/main/outprcpdetl/prcpspeclist/outprcpspec" caption="처방코드^처방명칭^횟수^갯수^일수^급여여부^처방상태^caption1^coombs^접수번호^성분제제" colsep="^" colwidth="70, 95, 30, 30, 30, 55, 55" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sort" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:346px; top:74px; width:390px; height:595px; ">
  256. <col ref="prcpcd"/>
  257. <col ref="prcpnm"/>
  258. <col ref="prcptims" style="text-align:right; "/>
  259. <col ref="prcpqty" style="text-align:right; "/>
  260. <col ref="prcpdayno" style="text-align:right; "/>
  261. <col ref="retc" style="text-align:left; "/>
  262. <col ref="prcpstat"/>
  263. <script type="javascript" ev:event="onaftersort">
  264. <![CDATA[
  265. grd_outprcp.gridToInstance(); //그리드의 인스턴스 재구성
  266. ]]>
  267. </script>
  268. </datagrid>
  269. <caption id="cpt_prcphist" class="tit_2" style="left:5px; top:54px; width:131px; height:13px; ">외래접수 내역</caption>
  270. <line id="lin_3" class="line_1" style="x1:742px; y1:69px; x2:1187px; y2:69px; "/>
  271. <group id="group2" style="left:0px; top:5px; width:1190px; height:40px; vertical-align:top; ">
  272. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  273. <line id="line7" class="line_4" style="x1:1097px; y1:5px; x2:1097px; y2:30px; "/>
  274. <button id="btn_sea" class="btn1_letter2" style="left:1113px; top:7px; width:56px; height:22px; ">
  275. <caption>조회</caption>
  276. <script type="javascript" ev:event="DOMActivate">
  277. <![CDATA[
  278. fFormDataCheck(); //pid 체크 후 외래접수 내역 조회
  279. ]]>
  280. </script>
  281. </button>
  282. <input id="ipt_pid" ref="/root/send/req/patprcp/pid" class="input_s_essential" style="left:108px; top:7px; width:100px; height:19px; ">
  283. <script type="javascript" ev:event="onkeyup">
  284. <![CDATA[
  285. inputEnterKey("btn_sea", "DOMActivate"); //엔터키가 입력되었을 경우 조회되도록..
  286. ]]>
  287. </script>
  288. </input>
  289. <caption id="cpt_search" class="search_name" style="left:15px; top:8px; width:116px; height:17px; ">등록번호 :</caption>
  290. <button id="button5" class="icon_search" navindex="2" style="left:213px; top:8px; width:16px; height:16px; ">
  291. <caption/>
  292. <script type="javascript" ev:event="onclick">
  293. <![CDATA[
  294. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  295. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/reqdata","/root/send");
  296. if (model.getValue("/root/main/popupendflag") != "cancel"){
  297. model.setValue("/root/send/req/patprcp/pid", model.getValue("/root/main/patinfo/patinfolist/pid") );
  298. }
  299. ]]>
  300. </script>
  301. </button>
  302. <output id="opt_age" ref="/root/temp/bmtpatientinfo/age" class="output_search" style="left:318px; top:8px; width:30px; height:19px; text-align:center; "/>
  303. <output id="opt_sex" ref="/root/temp/bmtpatientinfo/sex" class="output_search" style="left:351px; top:8px; width:30px; height:19px; text-align:center; "/>
  304. <output id="opt_parnm" ref="/root/temp/bmtpatientinfo/hngnm" class="output_search" style="left:235px; top:8px; width:80px; height:19px; text-align:center; "/>
  305. </group>
  306. </case>
  307. <case id="case2">
  308. <line id="line3" class="line_1" style="x1:346px; y1:70px; x2:736px; y2:70px; "/>
  309. <line id="line4" class="line_1" style="x1:742px; y1:70px; x2:1187px; y2:70px; "/>
  310. <datagrid id="grd_pcplist" nodeset="/root/main/comparelist/prcplist" caption="처방코드^처방명칭^검체명^시행부서^수량^횟수^일수^응급구분^선처치처방구분^병동^병실^수납일자^Acting 일자^처방일자^적용일자^" colsep="^" colwidth="85, 100, 85, 120, 40, 40, 40, 90, 90, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:742px; top:75px; width:445px; height:595px; ">
  311. <col ref="calcscorcd" style="left:20px; top:23px; width:75px; height:23px; "/>
  312. <col ref="prcpnm" style="left:20px; top:23px; width:75px; height:23px; "/>
  313. <col ref="spcnm"/>
  314. <col ref="execdept"/>
  315. <col ref="execprcpqty" style="text-align:right; "/>
  316. <col ref="execprcptims" style="text-align:right; "/>
  317. <col ref="execprcpdayno"/>
  318. <col ref="erprcpflag"/>
  319. <col ref="precureprcpflag"/>
  320. <col ref="ward"/>
  321. <col ref="roomcd"/>
  322. <col ref="rcptdd" format="yyyy-mm-dd hh:ss" style="text-align:right; "/>
  323. <col ref="actorddd" format="yyyy-mm-dd hh:ss" style="text-align:right; "/>
  324. <col ref="prcpdd" format="yyyy-mm-dd hh:ss" style="text-align:right; "/>
  325. <col ref="prcphopedd" format="yyyy-mm-dd hh:ss" style="text-align:right; "/>
  326. </datagrid>
  327. <caption id="cpt_prcplist" class="tit_2" style="left:737px; top:54px; width:131px; height:14px; ">처방 LIST</caption>
  328. <caption id="cpt_sbgd" class="tit_2" style="left:351px; top:54px; width:131px; height:14px; ">진단검사 처방</caption>
  329. <datagrid id="grd_deptlist" nodeset="/root/main/bcolldeptlist/deptlist/bcolldeptlist" scroll="autovscroll" caption="검사부서^등록번호^한글명^orddrid^orddeptcd" colsep="^" colwidth="136, 90, 90, 0, 0" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sort" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:75px; width:340px; height:595px; ">
  330. <col ref="sectnm"/>
  331. <col ref="pid"/>
  332. <col ref="patnm"/>
  333. <col ref="sectcd"/>
  334. <col ref="prcpdd"/>
  335. <script type="javascript" ev:event="onclick">
  336. <![CDATA[
  337. if(grd_deptlist.row > 0){ //그리드의 헤더는 제외
  338. fGetCmprPrcp();
  339. }
  340. ]]>
  341. </script>
  342. <script type="javascript" ev:event="onaftersort">
  343. <![CDATA[
  344. grd_prcplist.gridToInstance(); //그리드의 인스턴스 재구성
  345. ]]>
  346. </script>
  347. </datagrid>
  348. <line id="line5" class="line_1" style="x1:0px; y1:70px; x2:340px; y2:70px; "/>
  349. <caption id="cpt_deptlist" class="tit_2" style="left:5px; top:54px; width:131px; height:14px; ">검사부서별 LIST</caption>
  350. <datagrid id="grd_deptprcp" nodeset="/root/main/comparelist/deptprcp" caption="바코드번호^검사코드^검사명^채혈일시^접수일시^진료과^주치의^최종보고일시^병동^병실^처방일자^진료일자^caption1^coombs^접수번호^성분제제" colsep="^" colwidth="90, 90, 100, 120, 120, 100, 64, 120, 100, 100, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sort" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:345px; top:75px; width:390px; height:595px; ">
  351. <col ref="bcno"/>
  352. <col ref="tclscd"/>
  353. <col ref="tclsnm"/>
  354. <col ref="bcolldt" format="yyyy-mm-dd hh:ss" style="text-align:right; "/>
  355. <col ref="spcacptdt" format="yyyy-mm-dd hh:ss" style="text-align:right; "/>
  356. <col ref="orddept"/>
  357. <col ref="orddr"/>
  358. <col ref="lstreptdt" format="yyyy-mm-dd hh:ss" style="text-align:right; "/>
  359. <col ref="wardnm"/>
  360. <col ref="roomcd"/>
  361. <col ref="prcpdd" format="yyyy-mm-dd hh:ss" style="text-align:right; "/>
  362. <col ref="orddd" format="yyyy-mm-dd hh:ss" style="text-align:right; "/>
  363. <script type="javascript" ev:event="onaftersort">
  364. <![CDATA[
  365. grd_deptprcp.gridToInstance(); //그리드의 인스턴스 재구성
  366. ]]>
  367. </script>
  368. </datagrid>
  369. <group id="grp_sea" style="left:0px; top:5px; width:1190px; height:40px; vertical-align:top; ">
  370. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1190px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  371. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:112px; height:17px; ">채혈일자 :</caption>
  372. <line id="line13" class="line_4" style="x1:1107px; y1:5px; x2:1107px; y2:30px; "/>
  373. <button id="btn_sea2" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  374. <caption>조회</caption>
  375. <script type="javascript" ev:event="DOMActivate">
  376. <![CDATA[
  377. model.setValue("/root/send/req/bcollprcp/reqdept", model.getValue("/root/temp/seadept/srchdept"));
  378. submit("TRLLC00503"); //채혈일에 대한 검사부서별 LIST 조회
  379. ]]>
  380. </script>
  381. </button>
  382. <input id="ipt_sdate" ref="/root/send/req/bcollprcp/bcolldd" class="input_s_essential" inputtype="date" style="left:108px; top:8px; width:100px; height:19px; "/>
  383. <select id="chk_all" ref="/root/temp/seadept/all" overflow="visible" appearance="full" style="left:238px; top:10px; width:50px; height:15px; border-style:none; ">
  384. <choices>
  385. <item>
  386. <label>전체</label>
  387. <value>1</value>
  388. </item>
  389. </choices>
  390. <script type="javascript" ev:event="xforms-value-changed">
  391. <![CDATA[
  392. fSetDeptChkBox(); //전체 선택 유무에 따라 부서 선택 체크박스의 값을 세팅한다.
  393. ]]>
  394. </script>
  395. </select>
  396. <select id="chk_reqdept" ref="/root/temp/seadept/srchdept" overflow="visible" appearance="full" cellspacing="10" cols="5" sep="', '" style="left:288px; top:10px; width:392px; height:15px; border-style:none; ">
  397. <choices>
  398. <item>
  399. <label>외래검사실</label>
  400. <value>U</value>
  401. </item>
  402. <item>
  403. <label>혈액부</label>
  404. <value>H</value>
  405. </item>
  406. <item>
  407. <label>생화학부</label>
  408. <value>C</value>
  409. </item>
  410. <item>
  411. <label>미생물부</label>
  412. <value>M</value>
  413. </item>
  414. <item>
  415. <label>면역부</label>
  416. <value>I</value>
  417. </item>
  418. </choices>
  419. </select>
  420. </group>
  421. </case>
  422. </switch>
  423. </group>
  424. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  425. <line id="lin_5" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  426. <button id="btn_clear" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  427. <caption>초기화</caption>
  428. <script type="javascript" ev:event="DOMActivate">
  429. <![CDATA[
  430. model.reset();
  431. model.setFocus("ipt_pid");
  432. ]]>
  433. </script>
  434. </button>
  435. <button id="btn_pat" class="btn_sw" group="tab" selected="true" style="left:0px; top:3px; width:100px; height:22px; ">
  436. <caption>환자별</caption>
  437. <script type="javascript" ev:event="onclick">
  438. <![CDATA[
  439. model.toggle("case1");
  440. btn_pat.selected = true;
  441. btn_bcolldd.selected = false;
  442. ]]>
  443. </script>
  444. </button>
  445. <button id="btn_bcolldd" class="btn_sw" group="tab" selected="false" style="left:99px; top:3px; width:100px; height:22px; ">
  446. <caption>채혈일자별</caption>
  447. <script type="javascript" ev:event="onclick">
  448. <![CDATA[
  449. model.toggle("case2");
  450. btn_pat.selected = false;
  451. btn_bcolldd.selected = true;
  452. ]]>
  453. </script>
  454. </button>
  455. </group>
  456. </xhtml:body>
  457. </xhtml:html>