SMLLC00300_환자별채혈관리.xrw 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLC00300.xrw
  4. * 설 명 : 환자별채혈관리
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 조철형
  7. * 작 성 일 : 2007.04.03
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" ztype="text/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>
  18. <main>
  19. <bcoll>
  20. <bcolllist>
  21. <chk/>
  22. <pid/>
  23. <hngnm/>
  24. <prcpdd/>
  25. <prcpgenrflag/>
  26. <prcpstatcd/>
  27. <testdeptcd/>
  28. <testdeptflagcd/>
  29. </bcolllist>
  30. </bcoll>
  31. <PatNmBarCdPrint/>
  32. </main>
  33. <send>
  34. <data1/>
  35. <data2/>
  36. </send>
  37. <init>
  38. <LB0001>
  39. <cd/>
  40. <nm/>
  41. </LB0001>
  42. <LB0002>
  43. <cd/>
  44. <nm/>
  45. </LB0002>
  46. <deptlist>
  47. <dept>
  48. <deptcd/>
  49. <depthngnm/>
  50. </dept>
  51. </deptlist>
  52. </init>
  53. <hidden>
  54. <JoHoiFlag>
  55. <sdate/>
  56. <edate/>
  57. <OutIn>2</OutIn>
  58. <bcollflag>1</bcollflag>
  59. <refflag>1</refflag>
  60. <bizflag>Out</bizflag>
  61. <regnopatnm/>
  62. <bcollflag1>1</bcollflag1>
  63. <pid/>
  64. <xrwGBN/>
  65. <deptcd/>
  66. <wardcd2/>
  67. <tim/>
  68. <userdeptflagcd/>
  69. <testdeptcd/>
  70. <testdeptflagcd/>
  71. <pyn/>
  72. <pynex/>
  73. <ibftestp/>
  74. <healgbn>00</healgbn>
  75. <healdetgbn>00</healdetgbn>
  76. <healplace>00</healplace>
  77. <prcpkindcd>-</prcpkindcd>
  78. </JoHoiFlag>
  79. <default/>
  80. <cancelyn>1</cancelyn>
  81. <SFlag>
  82. <regnopatnm/>
  83. <testdeptcd/>
  84. </SFlag>
  85. <ref>
  86. <searchtext/>
  87. <spccho/>
  88. </ref>
  89. <prcprcptyn/>
  90. <prcprcptinfo>
  91. <instcd/>
  92. <pid/>
  93. <flagvalue/>
  94. <flag/>
  95. </prcprcptinfo>
  96. </hidden>
  97. </root>
  98. </instance>
  99. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  101. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  102. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  103. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  104. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  105. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  106. <script type="javascript" ev:event="xforms-model-construct-done">
  107. <![CDATA[
  108. fBaseInfoRef("0001|0002|0000|8001|0405|0406|0407|0408|0139|");
  109. model.setvalue("/root/hidden/JoHoiFlag/wardcd2", model.getvalue("/root/init/LB0001/cd")); //병동
  110. model.setvalue("/root/hidden/JoHoiFlag/deptcd", model.getvalue("/root/init/LB0002/cd")); //진료과
  111. model.setvalue("/root/hidden/JoHoiFlag/xrwGBN" , "patbcoll");
  112. model.setvalue("/root/hidden/JoHoiFlag/sdate",getCurrentDate());
  113. model.setvalue("/root/hidden/JoHoiFlag/edate",getCurrentDate());
  114. model.setValue("/root/hidden/JoHoiFlag/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  115. //중앙관제
  116. if(model.getValue("/root/properties/menu/menuparam") == "V") { //건진일때는 건진처방만 조회
  117. model.setValue("/root/hidden/JoHoiFlag/userdeptflagcd", "V");
  118. model.setValue("/root/hidden/JoHoiFlag/OutIn", "4");
  119. button2.visible = true;
  120. healgroup.attribute("visibility") = "visible";
  121. }
  122. //전환검체변경
  123. if(model.getValue("/root/properties/menu/menuparam")=="N"){ // 핵의학 메뉴에 메뉴파라미터 N 지정
  124. button3.visible = true;
  125. }
  126. grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("bcno"))=true; //바코드번호 숨기기
  127. grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("spcacptdt"))=true; //접수일시숨기기
  128. //grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("tclscd"))=true; // 검사코드
  129. // 송요셉수정 20100312 변경요청사항 task번호 45009
  130. grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("barcdprntdt"))=true; // 바코드출력일시
  131. grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("prcpdd"))=true; // 처방등록일
  132. //grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("bcollid"))=true; //채혈자 숨기기
  133. grd_BcollInfo.colHidden(grd_BcollInfo.colRef("prcpgenrflag"))=true; //입원외래구분 숨기기
  134. group7.attribute("visibility") = "visible";
  135. group6.attribute("visibility") = "hidden";
  136. group10.attribute("visibility") = "visible";
  137. group11.attribute("visibility") = "hidden";
  138. group12.attribute("visibility") = "hidden";
  139. model.setvalue("/root/hidden/JoHoiFlag/bizflag" , "Out");
  140. grd_BcollInfo.fixedcellcheckbox(0, 1) = true; //환자목록 전체선택 박스 만듬
  141. btn_chkn.attribute("visibility") = "visible"; //전체선택해제 보이기
  142. //grd_TestInfoCnts.rebuild();
  143. model.refresh();
  144. fGetTestDept();
  145. ]]>
  146. </script>
  147. <submission id="TRZBC00101"/>
  148. <submission id="TRAHA00001"/>
  149. <submission id="TRLLC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/bcoll"/>
  150. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  151. <submission id="TXLLC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/TestInfo"/>
  152. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  153. <submission id="TRAEA01100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/prcprcptinfo" replace="instance" resultref="/root/hidden/prcprcptyn"/>
  154. <submission id="TRLZZ90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/PatNmBarCdPrint"/>
  155. </model>
  156. <script type="javascript">
  157. <![CDATA[
  158. /* @group : 환자별 채혈
  159. * @ver : 2008.01.22 (CMCDEV-0001)
  160. * @by : 유동철(ACK)
  161. * @-----------------------------------
  162. * @type : function
  163. * @access : public
  164. * @desc : 검사과목록 조회 Function
  165. */
  166. function fGetTestDept() {
  167. var iMaxRowCnt = 0;
  168. var instcd = getUserInfo("dutplceinstcd");
  169. var standard_yn = "orduseyn";
  170. var ord_deptflag = "E";
  171. var rslt_ref = "/root/init/deptlist";
  172. var sort_field = "dispseq";
  173. var sort_method = "asc";
  174. model.makeNode("/root/init/deptlist");
  175. zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
  176. //-------------------------------------------------------
  177. iMaxRowCnt = getNodesetCount("/root/init/deptlist/dept");
  178. model.makeValue("/root/init/deptlist/dept["+(Number(iMaxRowCnt)+1)+"]/deptcd", "-");
  179. model.makeValue("/root/init/deptlist/dept["+(Number(iMaxRowCnt)+1)+"]/depthngnm", "- 전체 -");
  180. //----------------------------------------------------------------
  181. model.makeValue("/root/hidden/JoHoiFlag/testdeptcd", "-");
  182. model.makeValue("/root/hidden/JoHoiFlag/testdeptflagcd", "-");
  183. //---------------------
  184. cmb_testdept.refresh();
  185. }
  186. function OnCilck_OutIn(){
  187. var IOGbn = model.getvalue("/root/hidden/JoHoiFlag/OutIn");
  188. //전체
  189. if(IOGbn == "1"){
  190. model.setvalue("/root/hidden/JoHoiFlag/bizflag" , "InOut");
  191. //group7.attribute("visibility") = "hidden";
  192. group7.attribute("visibility") = "visible";
  193. group6.attribute("visibility") = "hidden";
  194. grd_BcollInfo.colHidden(grd_BcollInfo.colRef("prcpgenrflag"))=false; // IO
  195. }
  196. //외래,건진
  197. else if (IOGbn == "2" || IOGbn == "4"){
  198. model.setvalue("/root/hidden/JoHoiFlag/bizflag" , "Out");
  199. group7.attribute("visibility") = "visible";
  200. group6.attribute("visibility") = "hidden";
  201. grd_BcollInfo.colHidden(grd_BcollInfo.colRef("prcpgenrflag"))=true; // IO
  202. }
  203. //입원
  204. else{
  205. model.setvalue("/root/hidden/JoHoiFlag/bizflag" , "In");
  206. group7.attribute("visibility") = "hidden";
  207. group6.attribute("visibility") = "visible";
  208. grd_BcollInfo.colHidden(grd_BcollInfo.colRef("prcpgenrflag"))=true; // IO
  209. }
  210. //model.refresh();
  211. fInitDetailForm();
  212. }
  213. // 채혈구분 선택시 버튼영역 변경
  214. function fSetBcollFlag(){
  215. // 미채혈일때 검체번호항목 숨기기
  216. fInitDetailForm();
  217. if(model.getValue("/root/hidden/JoHoiFlag/bcollflag")=="1"){
  218. grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("bcno"))=true; // 바코드번호
  219. grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("canceldesc"))=true; // 취소사유
  220. }else{
  221. grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("bcno"))=false; // 바코드번호
  222. grd_TestInfoCnts.colHidden(grd_TestInfoCnts.colRef("canceldesc"))=false; // 취소사유
  223. }
  224. if(model.getValue("/root/hidden/JoHoiFlag/bcollflag")=="1"){
  225. group10.attribute("visibility") = "visible";
  226. group11.attribute("visibility") = "hidden";
  227. group12.attribute("visibility") = "hidden";
  228. btn_batiss.attribute("visibility") = "visible";
  229. }else if(model.getValue("/root/hidden/JoHoiFlag/bcollflag")=="2"){
  230. group10.attribute("visibility") = "hidden";
  231. group11.attribute("visibility") = "visible";
  232. group12.attribute("visibility") = "hidden";
  233. btn_batiss.attribute("visibility") = "hidden";
  234. }else{
  235. group10.attribute("visibility") = "hidden";
  236. group11.attribute("visibility") = "hidden";
  237. group12.attribute("visibility") = "visible";
  238. btn_batiss.attribute("visibility") = "hidden";
  239. }
  240. }
  241. /*function fInitDetailForm(){
  242. model.removeNodeset("/root/hidden/bcoll/bcolllist");
  243. model.removeNodeset("/root/main/bcoll/bcolllist");
  244. model.removeNodeset("/root/main/TestInfo/getTestInfoCnts");
  245. model.resetInstanceNode("/root/main/TestInfo/TestspcfInfo");
  246. model.refresh();
  247. }*/
  248. function OnClick_btnRef(){
  249. model.copyNode("/root/send/data1","/root/hidden/JoHoiFlag");
  250. submit("TRLLC00301");
  251. model.copyNode("/root/send/data1","/root/hidden/default");
  252. }
  253. function fGetBCollJoHoi(qgbn){
  254. if((model.getValue("/root/hidden/JoHoiFlag/OutIn") == "1")
  255. && (model.getValue("/root/hidden/JoHoiFlag/bcollflag") == "0")) {
  256. messageBox("지금 개발중입니다.", "I");
  257. return;
  258. }
  259. /* 2014.7월 30일 수사변경에 따른 작업 */
  260. // if((model.getValue("/root/hidden/JoHoiFlag/bcollflag") == "1")
  261. // && (model.getValue("/root/hidden/JoHoiFlag/OutIn") == "2")) {
  262. // getPrcpRcptCheck(model.getValue("root/hidden/JoHoiFlag/regnopatnm"));
  263. // }
  264. /* 2014.7월 30일 수사변경에 따른 작업 */
  265. fInitDetailForm();
  266. grd_BcollInfo.fixedcellischeck(0,1) = false;
  267. var gbn = model.getvalue("/root/hidden/JoHoiFlag/refflag");
  268. /*if(gbn == "1"){
  269. var pid = model.getvalue("/root/hidden/JoHoiFlag/regnopatnm");
  270. if(pid.length != 0 && pid.length < 8){
  271. pid = pid.getLeftPad(8,"0") ;
  272. }
  273. model.setvalue("/root/hidden/JoHoiFlag/regnopatnm", pid);
  274. }*/
  275. model.copyNode("/root/send/data2","/root/hidden/JoHoiFlag");
  276. if(qgbn !="Q") {
  277. model.makeValue("/root/send/data2/flag", "1");
  278. model.makeValue("/root/send/ddflag", fSetRefFromdd());
  279. } else {
  280. if(model.getvalue("/root/hidden/JoHoiFlag/regnopatnm") == ""){
  281. messageBox("등록번호를","C001","") ;
  282. return;
  283. }
  284. model.makeValue("/root/send/data2/flag", "2");
  285. model.makeValue("/root/send/ddflag", true);
  286. }
  287. if(model.getValue("/root/send/ddflag") == "True") {
  288. submit("TRLLC00101");
  289. model.copyNode("/root/send/data1","/root/hidden/default");
  290. for(i=1 ; i<grd_BcollInfo.rows;i++){
  291. if(model.getvalue("/root/main/bcoll/bcolllist["+i+"]/prcpstatcd") == "-"){
  292. grd_BcollInfo.cellstyle("background-image", i, 2) = "../../../lis/commonweb/images/icnBC0.gif";
  293. grd_BcollInfo.cellstyle("background-position", i, 2) = "center";
  294. }else if(model.getvalue("/root/main/bcoll/bcolllist["+i+"]/prcpstatcd") == "0"){
  295. grd_BcollInfo.cellstyle("background-image", i, 2) = "../../../lis/commonweb/images/icnBC2.gif";
  296. grd_BcollInfo.cellstyle("background-position", i, 2) = "center";
  297. }else if(model.getvalue("/root/main/bcoll/bcolllist["+i+"]/prcpstatcd") == "1"){
  298. grd_BcollInfo.cellstyle("background-image", i, 2) = "../../../lis/commonweb/images/icnBC1.gif";
  299. grd_BcollInfo.cellstyle("background-position", i, 2) = "center";
  300. }
  301. //--------------------
  302. // 2008-01-22 : 유동철
  303. // 검사과코드, 검사과구분을 설정
  304. if (model.getValue("/root/hidden/JoHoiFlag/testdeptcd") != "-") {
  305. model.makeValue("/root/main/bcoll/bcolllist["+i+"]/testdeptcd", model.getValue("/root/hidden/JoHoiFlag/testdeptcd"));
  306. model.makeValue("/root/main/bcoll/bcolllist["+i+"]/testdeptflagcd", "E");
  307. } else {
  308. model.makeValue("/root/main/bcoll/bcolllist["+i+"]/testdeptcd", "-");
  309. model.makeValue("/root/main/bcoll/bcolllist["+i+"]/testdeptflagcd", "-");
  310. }
  311. }
  312. }
  313. if(getNodesetCount("/root/main/bcoll/bcolllist") > 0) {
  314. grd_BcollInfo.row = 1;
  315. fGetTclscdList(1);
  316. }
  317. //========================================================================
  318. //2009.07.01 고시변경에 의한 본인부담 요율변경 대상 환자
  319. //원무 수납 재정산 안내 메시지 및 메시지 출력 여부 (2009.06.30 김성희 추가)
  320. //========================================================================
  321. if(qgbn == "Q"){
  322. fGetPrcpRcptInfo(getUserInfo("dutplceinstcd")
  323. , model.getValue("/root/hidden/JoHoiFlag/regnopatnm").getTrim()
  324. , model.getValue("/root/init/LB8001/cd")
  325. , "1");
  326. }
  327. }
  328. //리스트 클릭
  329. function fGetTclscdList(row){
  330. btn_chky.attribute("visibility") = "hidden"; //전체선택 숨기기
  331. btn_chkn.attribute("visibility") = "visible"; //전체선택해제 보이기
  332. var iMaxRowCnt = 0;
  333. model.setvalue("/root/hidden/JoHoiFlag/pid",model.getvalue("/root/main/bcoll/bcolllist["+row+"]/pid"));
  334. //model.setvalue("/root/hidden/JoHoiFlag/genrflag",model.getvalue("/root/main/bcoll/bcolllist["+row+"]/genrflag"));
  335. // if( model.getValue("/root/hidden/JoHoiFlag/bcollflag") == "1" && model.getValue("/root/hidden/JoHoiFlag/OutIn") == "2")
  336. // {
  337. // getPrcpRcptCheck(model.getValue("/root/hidden/JoHoiFlag/pid"));
  338. // }
  339. model.copyNode("/root/send/data1","/root/main/bcoll/bcolllist["+row+"]");
  340. model.copyNode("/root/send/data2","/root/hidden/JoHoiFlag");
  341. model.removeNodeset("/root/main/TestInfo/getTestInfoCnts");
  342. model.resetInstanceNode("/root/main/TestInfo/TestspcfInfo");
  343. model.refresh();
  344. submit("TRLLC00102");
  345. //--------------------
  346. // 2008-01-22 : 유동철
  347. // 검사과코드, 검사과구분코드 추가
  348. iMaxRowCnt = getNodesetCount("/root/main/TestInfo/getTestInfoCnts");
  349. for (var iNo=1; iNo <= iMaxRowCnt; iNo++) {
  350. model.makeValue("/root/main/TestInfo/getTestInfoCnts["+iNo+"]/testdeptcd", model.getValue("/root/main/bcoll/bcolllist["+row+"]/testdeptcd"));
  351. model.makeValue("/root/main/TestInfo/getTestInfoCnts["+iNo+"]/testdeptflagcd", model.getValue("/root/main/bcoll/bcolllist["+row+"]/testdeptflagcd"));
  352. }
  353. //=============================================================
  354. //2014 07. 31일 수가변경에 따른 검사오더 검증 사전체크 이재오 추가
  355. //=============================================================
  356. // alert(iMaxRowCnt);
  357. if((model.getValue("/root/hidden/JoHoiFlag/bcollflag") == "1")
  358. && (model.getValue("/root/hidden/JoHoiFlag/OutIn") == "2") && ( iMaxRowCnt > 0 )) {
  359. for(iRow = 1; iRow <= iMaxRowCnt ;iRow++){
  360. var pid = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+iRow+"]/pid") ;
  361. var prcpdd = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+iRow+"]/prcpdd") ;
  362. var execprcpuniqno = model.getvalue("/root/main/TestInfo/getTestInfoCnts["+iRow+"]/execprcpuniqno") ;
  363. var cnt = getPrcpRcptCheck('LIS', pid, '', '', prcpdd, execprcpuniqno);
  364. // alert(cnt);
  365. if ( cnt > 0 ) break;
  366. }
  367. }
  368. //=============================================================
  369. //2014 07. 31일 수가변경에 따른 검사오더 검증 사전체크 이재오 추가
  370. //=============================================================
  371. //--------------------------------------------------------
  372. model.copyNode("/root/send/data1","/root/hidden/default");
  373. model.copyNode("/root/send/data2","/root/hidden/default");
  374. fGridReMake();
  375. //========================================================================
  376. //2009.07.01 고시변경에 의한 본인부담 요율변경 대상 환자
  377. //원무 수납 재정산 안내 메시지 및 메시지 출력 여부 (2009.06.30 김성희 추가)
  378. //========================================================================
  379. if(model.getValue("/root/hidden/JoHoiFlag/regnopatnm") == ""){
  380. fGetPrcpRcptInfo(getUserInfo("dutplceinstcd")
  381. , model.getvalue("/root/main/bcoll/bcolllist["+row+"]/pid")
  382. , model.getValue("/root/init/LB8001/cd")
  383. , "1");
  384. }
  385. model.refresh();
  386. }
  387. //일괄발행
  388. function fExeLbl(){
  389. for(i=0;i<grd_BcollInfo.rows;i++){
  390. if(model.getvalue("/root/main/bcoll/bcolllist["+i+"]/check") == "true"){
  391. grd_BcollInfo.addStatus( i, "insert");
  392. } else {
  393. grd_BcollInfo.removeStatus(i, grd_BcollInfo.rowstatus(i));
  394. }
  395. }
  396. var griddata = grd_BcollInfo.getUpdateData();
  397. model.removeNodeset("/root/send/data1");
  398. model.makeValue("/root/send/data1",griddata);
  399. model.copyNode("/root/send/data2","/root/hidden/JoHoiFlag");
  400. submit("TXLLC00201");
  401. model.copyNode("/root/send/data1","/root/hidden/default");
  402. model.resetInstanceNode("/root/send");
  403. //grd_BcollInfo.clearStatus();
  404. if(getNodesetCount("/root/main/TestInfo/msg") > 0) { //ICG 검사 의뢰서 미등록에 의해 채혈이 되지 않음. 외래인 경우 입원이 되어 채혈되지 않음.
  405. var hngnm = "";
  406. var jhngnm = "";
  407. for(i = 1; i <= getNodesetCount("/root/main/TestInfo/msg"); i++) {
  408. if(model.getValue("/root/main/TestInfo/msg["+ i +"]/hngnm") != "") {
  409. hngnm += model.getValue("/root/main/TestInfo/msg["+ i +"]/hngnm") + ", ";
  410. }
  411. if(model.getValue("/root/main/TestInfo/msg["+ i +"]/jhngnm") != "") {
  412. jhngnm += model.getValue("/root/main/TestInfo/msg["+ i +"]/jhngnm") + ", ";
  413. }
  414. }
  415. if(hngnm != "") {
  416. hngnm = hngnm.substr(0, hngnm.length - 2);
  417. messageBox(hngnm + "환자는 ICG 검사 의뢰서 등록이 되지 않아 ICG 검사 바코드 발행이 되지", "E007");
  418. }
  419. if(jhngnm != "") {
  420. jhngnm = jhngnm.substr(0, jhngnm.length - 2);
  421. messageBox(jhngnm + "환자는 입원이 되어 바코드 발행이 되지", "E007");
  422. }
  423. }
  424. //fLisSpcBarcodePrint("/root/main/TestInfo/barcodeinfo");
  425. //------------------
  426. // 병리과 바코드 출력
  427. //if(model.getValue("/root/main/bcoll/bcolllist/prcpgenrflag") == "I") {
  428. //fExePlgyBarCdPrnt();
  429. var portnm = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/commkind");
  430. var prtkind = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/prntkind");
  431. if( (prtkind == "9" && portnm == "01") || (prtkind == "11" && portnm == "01") || prtkind == "10" || prtkind == "2" || prtkind == "6" || prtkind == "7"){ // sato
  432. fLisSpcBarcodePrint2("/root/main/TestInfo/barcodeinfo"); // 진검
  433. fLisPlgySpcBarcodePrint(); // 병리
  434. }else if(prtkind == "8"){ //B472
  435. fLisSpcBarcodePrint3("/root/main/TestInfo/barcodeinfo");// 진검
  436. fLisPlgySpcBarcodePrint3(); // 병리
  437. }else{ // zebra
  438. fLisSpcBarcodePrint("/root/main/TestInfo/barcodeinfo"); // 진검
  439. fExePlgyBarCdPrnt(); // 병리
  440. }
  441. //}
  442. //fGetBCollJoHoi();
  443. }
  444. // 조회일자 3일 이전으로 못가게 막기
  445. function fSetRefFromdd() {
  446. var todd = model.getValue("/root/hidden/JoHoiFlag/edate");
  447. var mDate = todd.toDate("YYYYMMDD").getAddDate(-3);
  448. var fromdd = model.getValue("/root/hidden/JoHoiFlag/sdate");
  449. if(mDate.getDateFormat("YYYYMMDD") > fromdd) {
  450. messageBox("3일 이내의 기간만 검색","I006");
  451. return false;
  452. }else if(todd < fromdd) {
  453. messageBox("기간설정이 잘못", "E005");
  454. return false;
  455. }else {
  456. return true;
  457. }
  458. }
  459. /* @group : 환자명 바코드 출력 기능
  460. * @ver : 2009.04.07
  461. * @by : 김성희
  462. * @-----------------------------------
  463. * @type : function
  464. * @access : public
  465. * @desc : 환자명 바코드 출력
  466. */
  467. function fGetPatNmBarCdPrint(){
  468. var pid = "";
  469. var toppid = getPatientInfo("pid");
  470. //top 정보가 없으면 조회조건에 입력한 환자번호
  471. if(toppid == ""){
  472. pid = model.getValue("/root/hidden/JoHoiFlag/regnopatnm");
  473. //top 정보가 있으면 탑정보의 환자번호
  474. }else{
  475. pid = toppid;
  476. }
  477. if(pid==""){
  478. messageBox("환자등록번호를 확인해주세요." , "I");
  479. return;
  480. }
  481. if(toppid != "" && toppid != model.getValue("/root/hidden/JoHoiFlag/regnopatnm")){
  482. messageBox("조건의 등록번호와 상단정보가 일치하지 않습니다." , "I");
  483. return;
  484. }
  485. model.removeNodeset("/root/send/data1");
  486. model.makeValue("/root/send/data1" , pid);
  487. submit("TRLZZ90101");
  488. if(getNodesetCount("/root/main/PatNmBarCdPrint/printinfo") > 0){
  489. var prtkind = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/prntkind");
  490. var portnm = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/commkind");
  491. if( (prtkind == "9" && portnm == "01") || prtkind == "10" || prtkind == "2" || prtkind == "6" || prtkind == "7" ){
  492. fPatNmBarCdLabelSaTo("/root/main/PatNmBarCdPrint/printinfo");
  493. }else if(prtkind == "8"){
  494. fPatNmBarCdLabel_B472("/root/main/PatNmBarCdPrint/printinfo");
  495. }else{
  496. fPatNmBarCdLabel("/root/main/PatNmBarCdPrint/printinfo");
  497. }
  498. }
  499. }
  500. ]]>
  501. </script>
  502. </xhtml:head>
  503. <xhtml:body guideline="1,354;2,351;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  504. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  505. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:111px; height:14px; ">환자별 채혈</caption>
  506. </group>
  507. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  508. <group id="group2" style="left:0px; top:10px; width:320px; height:275px; ">
  509. <shape id="roundrect2" appearance="roundrect" style="left:0px; top:0px; width:320px; height:275px; "/>
  510. <caption id="caption1" class="search_name" style="left:15px; top:63px; width:94px; height:17px; ">채혈구분 :</caption>
  511. <caption id="caption2" class="search_name" style="left:15px; top:111px; width:94px; height:17px; ">처방구분 :</caption>
  512. <button id="button9" class="btn1_letter2" style="left:250px; top:200px; width:56px; height:22px; ">
  513. <caption>조회</caption>
  514. <script type="javascript" ev:event="DOMActivate">
  515. <![CDATA[
  516. fGetBCollJoHoi();
  517. ]]>
  518. </script>
  519. </button>
  520. <select1 id="combo3" ref="/root/hidden/JoHoiFlag/bcollflag" class="combo_search" appearance="minimal" style="left:105px; top:62px; width:200px; height:19px; ">
  521. <choices>
  522. <item>
  523. <label>전체조회</label>
  524. <value>0</value>
  525. </item>
  526. <item>
  527. <label>미채혈</label>
  528. <value>1</value>
  529. </item>
  530. <item>
  531. <label>채혈</label>
  532. <value>2</value>
  533. </item>
  534. </choices>
  535. <script type="javascript" ev:event="xforms-select">
  536. <![CDATA[
  537. fSetBcollFlag();
  538. ]]>
  539. </script>
  540. </select1>
  541. <caption id="caption5" class="search_name" style="left:15px; top:87px; width:94px; height:17px; ">희망일자 :</caption>
  542. <select1 id="combo4" ref="/root/hidden/JoHoiFlag/refflag" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:200px; height:19px; ">
  543. <choices>
  544. <item>
  545. <label>등록번호</label>
  546. <value>1</value>
  547. </item>
  548. <item>
  549. <label>환자성명</label>
  550. <value>2</value>
  551. </item>
  552. </choices>
  553. <script type="javascript" ev:event="xforms-value-changed">
  554. <![CDATA[
  555. if(model.getValue("/root/hidden/JoHoiFlag/refflag") == "1") {
  556. iptSearch.attribute("imemode") = "alpha";
  557. } else if(model.getValue("/root/hidden/JoHoiFlag/refflag") == "2") {
  558. iptSearch.attribute("imemode") = "hangul";
  559. }
  560. ]]>
  561. </script>
  562. </select1>
  563. <select1 id="radio2" ref="/root/hidden/JoHoiFlag/OutIn" class="radio_search" appearance="full" cellspacing="7" cols="4" overflow="visible" style="left:105px; top:113px; width:200px; height:13px; border-style:none; ">
  564. <choices>
  565. <item>
  566. <label>전체</label>
  567. <value>1</value>
  568. </item>
  569. <item>
  570. <label>외래</label>
  571. <value>2</value>
  572. </item>
  573. <item>
  574. <label>입원</label>
  575. <value>3</value>
  576. </item>
  577. <item>
  578. <label>건진</label>
  579. <value>4</value>
  580. </item>
  581. </choices>
  582. <script type="javascript" ev:event="xforms-value-changed">
  583. <![CDATA[
  584. OnCilck_OutIn();
  585. ]]>
  586. </script>
  587. </select1>
  588. <line id="line3" class="line_4" style="x1:241px; y1:181px; x2:241px; y2:223px; "/>
  589. <caption id="caption7" class="search_no_b" style="left:199px; top:86px; width:15px; height:20px; ">~</caption>
  590. <input id="input2" ref="/root/hidden/JoHoiFlag/sdate" class="input_search" inputtype="date" style="left:105px; top:86px; width:90px; height:19px; "/>
  591. <line id="line5" class="line_7" style="x1:15px; y1:56px; x2:305px; y2:56px; "/>
  592. <caption id="caption18" class="search_name" style="left:15px; top:9px; width:94px; height:17px; ">검색구분 :</caption>
  593. <input id="input5" ref="/root/hidden/JoHoiFlag/edate" class="input_search" inputtype="date" style="left:215px; top:86px; width:90px; height:19px; "/>
  594. <input id="iptSearch" ref="/root/hidden/JoHoiFlag/regnopatnm" class="input_button" navindex="1" inputtype="button" style="left:105px; top:32px; width:200px; height:19px; ">
  595. <script type="javascript" ev:event="onbuttonclick">
  596. <![CDATA[
  597. fGetBCollJoHoi("Q");
  598. ]]>
  599. </script>
  600. </input>
  601. <select id="checkbox1" ref="/root/hidden/JoHoiFlag/pyn" overflow="visible" appearance="full" style="left:139px; top:203px; width:90px; height:20px; border-style:none; ">
  602. <choices>
  603. <item>
  604. <label>조직/병리만</label>
  605. <value>Y</value>
  606. </item>
  607. </choices>
  608. <script type="javascript" ev:event="onclick">
  609. <![CDATA[
  610. if(model.getValue("/root/hidden/JoHoiFlag/pynex") == "Y" && model.getValue("/root/hidden/JoHoiFlag/pyn") == "Y" ){
  611. model.setValue("/root/hidden/JoHoiFlag/pynex", "");
  612. model.refresh();
  613. }
  614. ]]>
  615. </script>
  616. </select>
  617. <select id="checkbox3" ref="/root/hidden/JoHoiFlag/ibftestp" overflow="visible" appearance="full" style="left:20px; top:182px; width:100px; height:20px; border-style:none; ">
  618. <choices>
  619. <item>
  620. <label>입원전검사실</label>
  621. <value>Y</value>
  622. </item>
  623. </choices>
  624. </select>
  625. <group id="healgroup" visibility="hidden" style="left:5px; top:224px; width:310px; height:50px; background-color:#fffbf2; ">
  626. <select1 id="cmb_srchhealexamdetlflag" ref="/root/hidden/JoHoiFlag/healdetgbn" class="combo_search" disabled="true" appearance="minimal" style="left:185px; top:5px; width:115px; height:19px; ">
  627. <choices>
  628. <itemset nodeset="/root/init/LB0406">
  629. <label ref="nm"/>
  630. <value ref="cd"/>
  631. </itemset>
  632. </choices>
  633. </select1>
  634. <select1 id="cmb_srchhealexamflag" ref="/root/hidden/JoHoiFlag/healgbn" class="combo_search" appearance="minimal" style="left:100px; top:5px; width:80px; height:19px; ">
  635. <choices>
  636. <itemset nodeset="/root/init/LB0405">
  637. <label ref="nm"/>
  638. <value ref="cd"/>
  639. </itemset>
  640. </choices>
  641. <script type="javascript" ev:event="xforms-select">
  642. <![CDATA[
  643. var value = model.getValue("/root/hidden/JoHoiFlag/healgbn");
  644. if(value == "00") {
  645. model.setValue("/root/hidden/JoHoiFlag/healdetgbn", "00");
  646. cmb_srchhealexamdetlflag.disabled = true;
  647. }else if(value == "C") {
  648. model.setValue("/root/hidden/JoHoiFlag/healdetgbn", "00");
  649. cmb_srchhealexamdetlflag.choices.itemset.attribute("nodeset") = "/root/init/LB0406";
  650. cmb_srchhealexamdetlflag.disabled = false;
  651. }else if(value == "G") {
  652. model.setValue("/root/hidden/JoHoiFlag/healdetgbn", "00");
  653. cmb_srchhealexamdetlflag.choices.itemset.attribute("nodeset") = "/root/init/LB0407";
  654. cmb_srchhealexamdetlflag.disabled = false;
  655. }
  656. model.refresh();
  657. ]]>
  658. </script>
  659. </select1>
  660. <caption id="healcap" class="search_name" style="left:10px; top:5px; width:90px; height:17px; ">건진구분 :</caption>
  661. <caption id="healcap2" class="search_name" style="left:10px; top:30px; width:98px; height:17px; ">건진장소 :</caption>
  662. <select1 id="haelpalce" ref="/root/hidden/JoHoiFlag/healplace" class="combo_search" appearance="minimal" style="left:100px; top:29px; width:135px; height:19px; ">
  663. <choices>
  664. <itemset nodeset="/root/init/LB0408">
  665. <label ref="nm"/>
  666. <value ref="cd"/>
  667. </itemset>
  668. </choices>
  669. </select1>
  670. </group>
  671. <select id="checkbox4" ref="/root/hidden/JoHoiFlag/pynex" overflow="visible" appearance="full" style="left:20px; top:203px; width:100px; height:20px; border-style:none; ">
  672. <choices>
  673. <item>
  674. <label>조직/병리제외</label>
  675. <value>Y</value>
  676. </item>
  677. </choices>
  678. <script type="javascript" ev:event="onclick">
  679. <![CDATA[
  680. if(model.getValue("/root/hidden/JoHoiFlag/pynex") == "Y" && model.getValue("/root/hidden/JoHoiFlag/pyn") == "Y" ){
  681. model.setValue("/root/hidden/JoHoiFlag/pyn", "");
  682. model.refresh();
  683. }
  684. ]]>
  685. </script>
  686. </select>
  687. </group>
  688. <group id="group7" style="left:5px; top:140px; width:310px; height:50px; background-color:#fffbf2; ">
  689. <caption id="caption4" class="search_name" style="left:10px; top:3px; width:94px; height:17px; ">진 료 과 :</caption>
  690. <select1 id="combo5" ref="/root/hidden/JoHoiFlag/deptcd" class="combo_search" appearance="minimal" style="left:101px; top:3px; width:199px; height:19px; ">
  691. <choices>
  692. <itemset nodeset="/root/init/LB0002">
  693. <label ref="nm"/>
  694. <value ref="cd"/>
  695. </itemset>
  696. </choices>
  697. </select1>
  698. <caption id="caption3" class="search_name" style="left:10px; top:26px; width:94px; height:17px; ">시행부서 :</caption>
  699. <select1 id="cmb_testdept" ref="/root/hidden/JoHoiFlag/testdeptcd" appearance="minimal" style="left:100px; top:26px; width:200px; height:19px; ">
  700. <choices>
  701. <itemset nodeset="/root/init/deptlist/dept">
  702. <label ref="depthngnm"/>
  703. <value ref="deptcd"/>
  704. </itemset>
  705. </choices>
  706. <script type="javascript" ev:event="xforms-value-changed">
  707. <![CDATA[
  708. fGetBCollJoHoi();
  709. ]]>
  710. </script>
  711. </select1>
  712. </group>
  713. <group id="group6" visibility="hidden" style="left:5px; top:140px; width:310px; height:50px; background-color:#fffbf2; ">
  714. <caption id="caption9" class="search_name" style="left:10px; top:26px; width:94px; height:17px; ">시행부서 :</caption>
  715. <caption id="caption8" class="search_name" style="left:10px; top:3px; width:94px; height:17px; ">병 동 :</caption>
  716. <select1 id="combo7" ref="/root/hidden/JoHoiFlag/wardcd2" class="combo_search" appearance="minimal" style="left:101px; top:3px; width:199px; height:19px; ">
  717. <choices>
  718. <itemset nodeset="/root/init/LB0001">
  719. <label ref="nm"/>
  720. <value ref="cd"/>
  721. </itemset>
  722. </choices>
  723. </select1>
  724. <select1 id="combo1" ref="/root/hidden/JoHoiFlag/testdeptcd" appearance="minimal" style="left:100px; top:26px; width:200px; height:19px; ">
  725. <choices>
  726. <itemset nodeset="/root/init/deptlist/dept">
  727. <label ref="depthngnm"/>
  728. <value ref="deptcd"/>
  729. </itemset>
  730. </choices>
  731. <script type="javascript" ev:event="xforms-value-changed">
  732. <![CDATA[
  733. if(model.getValue("/root/hidden/JoHoiFlag/testdeptcd") != "-") {
  734. model.setValue("/root/hidden/JoHoiFlag/testdeptflagcd", "E");
  735. } else {
  736. model.setValue("/root/hidden/JoHoiFlag/testdeptflagcd", "-");
  737. }
  738. fGetBCollJoHoi();
  739. ]]>
  740. </script>
  741. </select1>
  742. </group>
  743. <caption id="caption16" class="tit_2" style="left:5px; top:290px; width:115px; height:13px; ">채혈대상자목록</caption>
  744. <line id="line4" class="line_1" style="x1:0px; y1:305px; x2:320px; y2:305px; "/>
  745. <import id="import1" instancetype="merge" src="SSLLC80100_채혈검사처방상세.xrw" style="left:325px; top:10px; width:870px; height:734px; "/>
  746. <datagrid id="grd_BcollInfo" nodeset="/root/main/bcoll/bcolllist" caption="^ ^등록번호^IO^성명^검사희망일자^검사일자^testdeptcd^testdeptflagcd^atdoctid^testreqlnkno" colsep="^" colwidth="20, 23, 78, 22, 82, 93, 93, 0, 0, 0, 0" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:310px; width:320px; height:405px; ">
  747. <col checkvalue="true,false" ref="check" type="checkbox"/>
  748. <col ref="chk"/>
  749. <col ref="pid"/>
  750. <col ref="prcpgenrflag"/>
  751. <col ref="hngnm"/>
  752. <col ref="prcphopedd" format="yyyy-mm-dd"/>
  753. <col ref="prcpdd" format="yyyy-mm-dd"/>
  754. <col ref="testdeptcd"/>
  755. <col ref="testdeptflagcd"/>
  756. <col ref="atdoctid"/>
  757. <col ref="testreqlnkno"/>
  758. <script type="javascript" ev:event="onclick">
  759. <![CDATA[
  760. var row = grd_BcollInfo.row;
  761. if(grd_BcollInfo.isCell(event.target) && grd_BcollInfo.row >= grd_BcollInfo.fixedRows ){
  762. if(row > 0){
  763. //fExeClear2();
  764. fGetTclscdList(row);
  765. }
  766. }
  767. ]]>
  768. </script>
  769. <script type="javascript" ev:event="onaftersort">
  770. <![CDATA[
  771. grd_BcollInfo.gridToInstance();
  772. ]]>
  773. </script>
  774. </datagrid>
  775. <button id="btn_batiss" class="btn2_letter4" style="left:255px; top:286px; width:64px; height:19px; ">
  776. <caption>일괄발행</caption>
  777. <script type="javascript" ev:event="DOMActivate">
  778. <![CDATA[
  779. fExeLbl();
  780. ]]>
  781. </script>
  782. </button>
  783. <button id="button4" class="btn5_letter6" visibility="visible" style="left:235px; top:723px; width:86px; height:19px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  784. <caption>환자명바코드</caption>
  785. <script type="javascript" ev:event="DOMActivate">
  786. <![CDATA[
  787. fGetPatNmBarCdPrint();
  788. model.setFocus("iptSearch");
  789. ]]>
  790. </script>
  791. </button>
  792. </group>
  793. <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  794. <button id="button26" class="btn3_letter5" style="left:0px; top:2px; width:92px; height:22px; ">
  795. <caption>프린터설정</caption>
  796. <script type="javascript" ev:event="DOMActivate">
  797. <![CDATA[
  798. //window.load("SPLLC90100_바코드프린터설정.xrw","modeless","width:327px; height:128;min:hidden;max:hidden;align:center");
  799. var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  800. if(count == 0) {
  801. model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  802. }
  803. modal("SPLLC90100" , "","","","","/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  804. ]]>
  805. </script>
  806. </button>
  807. <button id="button5" class="btn3_letter6" style="left:95px; top:2px; width:104px; height:22px; ">
  808. <caption>채취일시등록</caption>
  809. <script type="javascript" ev:event="DOMActivate">
  810. <![CDATA[
  811. window.load("SPLLC90300_채취일시등록.xrw","modeless","width:310px; height:200;min:hidden;max:hidden;align:center");
  812. ]]>
  813. </script>
  814. </button>
  815. <button id="button8" class="btn3_letter4" style="left:202px; top:2px; width:80px; height:22px; ">
  816. <caption>이력조회</caption>
  817. <script type="javascript" ev:event="DOMActivate">
  818. <![CDATA[
  819. if(model.getvalue("/root/hidden/JoHoiFlag/regnopatnm") ==""){
  820. setParameter ( "SMMMO02500_cond", getPatientInfo("pid"));
  821. }else{
  822. setParameter ( "SMMMO02500_cond", model.getvalue("/root/hidden/JoHoiFlag/regnopatnm"));
  823. }
  824. open ( "SMMMO02500" );
  825. ]]>
  826. </script>
  827. </button>
  828. <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  829. <group id="group11" style="left:820px; top:0px; width:370px; height:25px; ">
  830. <button id="button1" class="btn4_letter3" style="left:231px; top:1px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  831. <caption>재출력</caption>
  832. <script type="javascript" ev:event="DOMActivate">
  833. <![CDATA[
  834. lzzfBarCodeRePrinf();
  835. ]]>
  836. </script>
  837. </button>
  838. <button id="btn_bcollcan" class="btn4_letter4" style="left:148px; top:1px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  839. <caption>채혈취소</caption>
  840. <script type="javascript" ev:event="DOMActivate">
  841. <![CDATA[
  842. fExeBcollCan();
  843. ]]>
  844. </script>
  845. </button>
  846. <select id="checkbox2" ref="/root/hidden/cancelyn" overflow="visible" appearance="full" style="left:25px; top:4px; width:135px; height:15px; border-style:none; ">
  847. <choices>
  848. <item>
  849. <label>취소사유등록여부</label>
  850. <value>1</value>
  851. </item>
  852. </choices>
  853. </select>
  854. <button id="btn_can2" class="btn4_letter3" style="left:301px; top:1px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  855. <caption>초기화</caption>
  856. <script type="javascript" ev:event="DOMActivate">
  857. <![CDATA[
  858. fExeClear();
  859. ]]>
  860. </script>
  861. </button>
  862. </group>
  863. <group id="group10" style="left:820px; top:0px; width:370px; height:25px; ">
  864. <button id="btn_cle" class="btn4_letter3" style="left:301px; top:1px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  865. <caption>초기화</caption>
  866. <script type="javascript" ev:event="DOMActivate">
  867. <![CDATA[
  868. fExeClear();
  869. ]]>
  870. </script>
  871. </button>
  872. <button id="btn_bcoll" class="btn4_letter2" style="left:243px; top:1px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  873. <caption>채혈</caption>
  874. <script type="javascript" ev:event="DOMActivate">
  875. <![CDATA[
  876. fExeBcoll();
  877. model.setFocus("iptSearch");
  878. ]]>
  879. </script>
  880. </button>
  881. </group>
  882. <group id="group12" visibility="hidden" style="left:1121px; top:0px; width:68px; height:25px; ">
  883. <!--<button id="btn_bcollcan2" class="btn4_letter4" style="left:219px; top:1px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn4_letter4.gif; ">
  884. <caption>채혈취소</caption>
  885. <script type="javascript" ev:event="DOMActivate">
  886. <![CDATA[
  887. fExeBcollCan();
  888. ]]>
  889. </script>
  890. </button>-->
  891. <button id="btn_can3" class="btn4_letter3" style="left:0px; top:1px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  892. <caption>초기화</caption>
  893. <script type="javascript" ev:event="DOMActivate">
  894. <![CDATA[
  895. fExeClear();
  896. ]]>
  897. </script>
  898. </button>
  899. <!--<button id="btn_bcoll2" class="btn4_letter2" style="left:89px; top:1px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  900. <caption>채혈</caption>
  901. <script type="javascript" ev:event="DOMActivate">
  902. <![CDATA[
  903. fExeBcoll();
  904. ]]>
  905. </script>
  906. </button>
  907. <button id="button24" class="btn4_letter3" style="left:148px; top:1px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  908. <caption>미채혈</caption>
  909. <script type="javascript" ev:event="DOMActivate">
  910. <![CDATA[
  911. fExeNoBcoll();
  912. ]]>
  913. </script>
  914. </button>-->
  915. </group>
  916. <button id="button3" class="btn3_letter6" visibility="hidden" style="left:285px; top:2px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
  917. <caption>전환검체변경</caption>
  918. <script type="javascript" ev:event="DOMActivate">
  919. <![CDATA[
  920. if(model.getvalue("/root/hidden/JoHoiFlag/regnopatnm") ==""){
  921. model.setValue("/root/hidden/ref/searchtext" , getPatientInfo("pid"));
  922. }else{
  923. model.setValue("/root/hidden/ref/searchtext" , model.getvalue("/root/hidden/JoHoiFlag/regnopatnm"));
  924. }
  925. modal("SPLLC90900","","","","","/root/hidden/ref","/root/hidden/ref");
  926. ]]>
  927. </script>
  928. </button>
  929. <button id="button2" class="btn3_letter4" visibility="hidden" style="left:285px; top:2px; width:80px; height:22px; ">
  930. <caption>중앙관제</caption>
  931. <script type="javascript" ev:event="DOMActivate">
  932. <![CDATA[
  933. openInternal("modeless_topmost","SMAHR00120","scn",1,1000,0,0,"","", "min:hidden;max:hidden;", 0);
  934. ]]>
  935. </script>
  936. </button>
  937. </group>
  938. <script type="javascript" ev:event="onkeypress">
  939. <![CDATA[
  940. fKeyEvent();
  941. ]]>
  942. </script>
  943. </xhtml:body>
  944. </xhtml:html>