SMABC00400_조혈모세포보관위치관리.xrw 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/css" ?>
  4. <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/css" ?>
  5. <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">
  6. <xhtml:head>
  7. <xhtml:title>조혈모세포 보관위치관리</xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <main>
  12. <patinfo>
  13. <patinfolist/>
  14. </patinfo>
  15. <keepposinfo>
  16. <keepposlist>
  17. <tankflag/>
  18. <sesnflag/>
  19. <frameflag/>
  20. <cellbcno1/>
  21. <cellbcno2/>
  22. <cellbcno3/>
  23. <cellbcno4/>
  24. <cellbcno5/>
  25. <cellbcno6/>
  26. <cellbcno11/>
  27. <cellbcno12/>
  28. <cellbcno13/>
  29. <cellbcno14/>
  30. <cellbcno15/>
  31. <cellbcno16/>
  32. </keepposlist>
  33. </keepposinfo>
  34. <keepposinfo2>
  35. <keepposlist2>
  36. <tankflag/>
  37. <sesnflag/>
  38. <frameflag/>
  39. <cellbcno1/>
  40. <cellbcno2/>
  41. <cellbcno3/>
  42. <cellbcno4/>
  43. <cellbcno5/>
  44. <cellbcno6/>
  45. <cellbcno11/>
  46. <cellbcno12/>
  47. <cellbcno13/>
  48. <cellbcno14/>
  49. <cellbcno15/>
  50. <cellbcno16/>
  51. </keepposlist2>
  52. </keepposinfo2>
  53. <cellbcnoinfo>
  54. <cellbcnolist>
  55. <cellbcno/>
  56. </cellbcnolist>
  57. </cellbcnoinfo>
  58. <popupendflag/>
  59. <result>
  60. <patinfo/>
  61. </result>
  62. <cellbarcdinfo>
  63. <cellbarcdlist>
  64. <prcphopedd/>
  65. <hngnm/>
  66. <cellbcno/>
  67. </cellbarcdlist>
  68. </cellbarcdinfo>
  69. </main>
  70. <send>
  71. <reqdata>
  72. <pid/>
  73. <hngnm/>
  74. <rrgstno/>
  75. <sex/>
  76. <age/>
  77. <tankflag/>
  78. <selflag>T</selflag>
  79. <srchpid/>
  80. </reqdata>
  81. <reqdata1>
  82. <cellinfo/>
  83. <cellbcno/>
  84. <keepyn/>
  85. </reqdata1>
  86. <reqdatadel>
  87. <tankflag/>
  88. <sesnflag/>
  89. <frameflag/>
  90. <keeppos/>
  91. </reqdatadel>
  92. <aeahdyeslist2/>
  93. <globalinstance>
  94. <instance1/>
  95. </globalinstance>
  96. <execdata>
  97. <keepposlist/>
  98. </execdata>
  99. <movedata>
  100. <sesnflag/>
  101. <frameflag/>
  102. <keeppos/>
  103. </movedata>
  104. </send>
  105. <init>
  106. <cmb_info>
  107. <keepinfo>
  108. <cellbcno/>
  109. <cellbcnonm/>
  110. </keepinfo>
  111. </cmb_info>
  112. <baseinfo>
  113. <tankflag>
  114. <A0394>
  115. <cdid/>
  116. <cdnm/>
  117. </A0394>
  118. </tankflag>
  119. <sesnflag>
  120. <A0395>
  121. <cdid/>
  122. <cdnm/>
  123. </A0395>
  124. </sesnflag>
  125. <frameflag>
  126. <A0396>
  127. <cdid/>
  128. <cdnm/>
  129. </A0396>
  130. </frameflag>
  131. </baseinfo>
  132. </init>
  133. <source>
  134. <srchcond/>
  135. <pid/>
  136. <hngnm/>
  137. <rrgstno1/>
  138. <rrgstno2/>
  139. </source>
  140. <paminfo/>
  141. <temp>
  142. <bmtpatientinfo/>
  143. </temp>
  144. <hidden>
  145. <count/>
  146. <phopedd/>
  147. </hidden>
  148. </root>
  149. </instance>
  150. <script type="javascript" ev:event="xforms-ready">
  151. <![CDATA[
  152. zbcfGetCodeList( new Array("A0394", "A0395", "A0396"), new Array("/root/init/baseinfo/tankflag", "/root/init/baseinfo/sesnflag", "/root/init/baseinfo/frameflag"));
  153. model.toggle("case1");
  154. btn_case1.selected = true;
  155. submit("TRZBC00101");
  156. model.removeNodeset("/root/main/keepposinfo/keepposlist");
  157. model.removeNodeset("/root/main/keepposinfo2/keepposlist2");
  158. btn_save.disabled = true;
  159. btn_del.disabled = true;
  160. cmb_tankflag.select(1);
  161. if ( checkOpener()) {
  162. var param = opener.javascript.getParameter("opener_parameter_id");
  163. if(param != "") // opener parameter value가 있는 경우
  164. {
  165. //parameter value를 이용하여 프로그램 수행
  166. condarray = param.split("▦");
  167. //btn_sea.dispatch("onclick");
  168. model.setValue("/root/send/reqdata/pid", condarray[0]);
  169. }
  170. } else {
  171. var paminfo = getGlobalVariable("paminfo");
  172. if ( paminfo != "" ) {
  173. setCSVToNode("/root/paminfo", paminfo);
  174. model.setValue("/root/send/reqdata/pid", model.getValue("/root/paminfo/list/pid"));
  175. }
  176. }
  177. model.refresh();
  178. ]]>
  179. </script>
  180. <submission id="TRZBC00101"/>
  181. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/result/patinfo"/>
  182. <submission id="TRABC00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/keepposinfo"/>
  183. <submission id="TRABC00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata1" resultref="/root/main/cellbcnoinfo"/>
  184. <submission id="TRABC00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/keepposinfo2"/>
  185. <submission id="TRABC00404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/cmb_info"/>
  186. <submission id="TXABC00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/execdata" resultref="/root/hidden"/>
  187. <submission id="TXABC00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdatadel" resultref="/root/hidden"/>
  188. <submission id="TRABC00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cellbarcdinfo"/>
  189. </model>
  190. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  191. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  192. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  193. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  194. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  195. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  196. <script type="javascript">
  197. <![CDATA[
  198. function fReadFunc(){ // 해당 조건에 대한 검사내역을 조회한다.
  199. if (model.getValue("/root/send/reqdata/tankflag") == ""){
  200. messageBox("탱크구분은 필수 선택 항목", "E008");
  201. model.setFocus("cmb_tankflag");
  202. return;
  203. }
  204. /*
  205. if (model.getValue("/root/send/reqdata/pid") == ""){
  206. messageBox("등록번호는 필수 입력 또는 선택 항목", "E008");
  207. model.setFocus("ipt_pid");
  208. return;
  209. }
  210. */
  211. model.removeNodeset("/root/main/keepposinfo/keepposlist");
  212. submit("TRABC00401");
  213. // submit("TRABC00404");
  214. btn_save.disabled = false;
  215. btn_del.disabled = false;
  216. model.refresh();
  217. }
  218. function fReadFunc1(){ // 해당 조건에 대한 검사내역을 조회한다.
  219. model.removeNodeset("/root/main/keepposinfo2/keepposlist2");
  220. submit("TRABC00403");
  221. model.refresh();
  222. }
  223. function fSearchPatInfo(){ // 등록번호에 대한 정보를 가져온다.
  224. model.setValue("/root/source/srchcond", "1");
  225. model.setValue("/root/source/pid", ipt_pid.currentText);
  226. //inputEnterKey("btn_search", "DOMActivate");
  227. //환자등록번호 체크
  228. if(ipt_pid.currentText.length >= 1 ){
  229. model.resetInstanceNode("/root/main/result");
  230. model.makeNode("/root/main/result/patinfo");
  231. if(submit("TRPMC02500")){
  232. //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
  233. if( getNodesetCount("/root/main/result/patinfo/patinfolist") > 0 ){
  234. model.copyNode("/root/main/patinfo", "/root/main/result/patinfo");
  235. model.setValue("/root/send/reqdata/hngnm", model.getValue("/root/main/result/patinfo/patinfolist/hngnm"));
  236. model.setValue("/root/send/reqdata/rrgstno", model.getValue("/root/main/result/patinfo/patinfolist/rrgstno1") + model.getValue("/root/main/result/patinfo/patinfolist/rrgstno2"));
  237. model.setValue("/root/send/reqdata/sex", model.getValue("/root/main/result/patinfo/patinfolist/sex"));
  238. model.setValue("/root/send/reqdata/age", model.getValue("/root/main/result/patinfo/patinfolist/age"));
  239. model.setValue("/root/main/popupendflag", "ok");
  240. model.refresh();
  241. //fReadFunc();
  242. }else{
  243. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  244. messageBox("없는 환자 번호 입니다.", "E999", "");
  245. model.refresh();
  246. }
  247. }
  248. }else{
  249. messageBox("환자등록번호를 정확히", "C001");
  250. }
  251. }
  252. /* @group : 조혈모세포보관위치관리
  253. * @ver : 2008.01.30
  254. * @by : 남수현
  255. * @type : function
  256. * @access : public
  257. * @desc : 조혈모세포백 보관내역 저장
  258. * @param :
  259. */
  260. function fExecSave(){
  261. var updateData = grd_tankkeep.getUpdateData();
  262. model.setValue("/root/send/execdata/keepposlist",updateData);
  263. submit("TXABC00401");
  264. if (model.getValue("root/properties/error/description") == ""){
  265. // messageBox(model.getValue("root/properties/error/msg"), "E999", "");
  266. fReadFunc();
  267. }
  268. }
  269. /* @group : 조혈모세포보관위치관리
  270. * @ver : 2008.01.30
  271. * @by : 남수현
  272. * @type : function
  273. * @access : public
  274. * @desc : 조혈모세포백 보관내역 삭제
  275. * @param :
  276. */
  277. function fExecDel(){
  278. model.setValue("/root/send/reqdatadel/tankflag" , model.getValue("/root/main/keepposinfo/keepposlist["+ (grd_tankkeep.row - 1)+ "]/tankflag"));
  279. model.setValue("/root/send/reqdatadel/sesnflag" , model.getValue("/root/main/keepposinfo/keepposlist["+ (grd_tankkeep.row - 1)+ "]/sesnflag"));
  280. model.setValue("/root/send/reqdatadel/frameflag", model.getValue("/root/main/keepposinfo/keepposlist["+ (grd_tankkeep.row - 1)+ "]/frameflag"));
  281. model.setValue("/root/send/reqdatadel/keeppos" , (grd_tankkeep.col - 2));
  282. if( messageBox("탱크:" + model.getValue("/root/send/reqdatadel/tankflag") + ", Session:"+ model.getValue("/root/send/reqdatadel/sesnflag") +", Frame:"+ model.getValue("/root/send/reqdatadel/frameflag")+", 위치:"+model.getValue("/root/send/reqdatadel/keeppos") + " 보관내역을 " , "Q001" ) == 6 ){
  283. submit("TXABC00402");
  284. if (model.getValue("root/properties/error/description") == ""){
  285. messageBox(model.getValue("root/properties/error/msg"), "E999", "");
  286. fReadFunc();
  287. }
  288. }
  289. }
  290. function isDate(str) { // 날짜 형식에 대한 적합여부 체크
  291. if (str == "") return true; // 빈건 체크안함
  292. if (trim(str) == "") return true; // 빈건 체크안함
  293. if (isNaN(parseInt(str))) return false; // 숫자가 아니면 false
  294. if (str.length != 8) return false; // 8자리(yyyymmdd)가 아니면 false
  295. var yy = new Number(str.substring(0, 4));
  296. var mm = new Number(str.substring(4, 6)) - 1;
  297. var dd = new Number(str.substring(6, 8));
  298. var date = new Date(yy, mm, dd);
  299. //alert(date.getFullYear() +"-" + (date.getMonth()+1) + "-" + date.getDate());
  300. if (yy != date.getFullYear() ||
  301. mm != date.getMonth() ||
  302. dd != date.getDate()) {
  303. return false; // 존재하지 않는 날짜
  304. }
  305. return true; // 존재하는 날짜
  306. }
  307. function trim(data){ // 문자에 대한 TRIM 작업
  308. return data.replace(/(^\s*)|(\s*$)/g, "");
  309. }
  310. /* @group : 조혈모세포보관위치관리
  311. * @ver : 2008.01.28
  312. * @by : 남수현
  313. * @type : function
  314. * @access : public
  315. * @desc : 세포처리 Result 입력화면 오픈
  316. * @param : pid [등록번호]
  317. */
  318. function fOpenCellTretRsltInpt() {
  319. var keeppos;
  320. var cellinfo = '';
  321. var phopedd;
  322. if (btn_case1.selected == true){
  323. keeppos = (grd_tankkeep.col - 2);
  324. if(keeppos == 1){
  325. cellinfo = model.getValue("/root/main/keepposinfo/keepposlist["+ (grd_tankkeep.row-1)+ "]/cellbcno1");
  326. } else if(keeppos == 2){
  327. cellinfo = model.getValue("/root/main/keepposinfo/keepposlist["+ (grd_tankkeep.row-1)+ "]/cellbcno2");
  328. } else if(keeppos == 3){
  329. cellinfo = model.getValue("/root/main/keepposinfo/keepposlist["+ (grd_tankkeep.row-1)+ "]/cellbcno3");
  330. } else if(keeppos == 4){
  331. cellinfo = model.getValue("/root/main/keepposinfo/keepposlist["+ (grd_tankkeep.row-1)+ "]/cellbcno4");
  332. } else if(keeppos == 5){
  333. cellinfo = model.getValue("/root/main/keepposinfo/keepposlist["+ (grd_tankkeep.row-1)+ "]/cellbcno5");
  334. } else if(keeppos == 6){
  335. cellinfo = model.getValue("/root/main/keepposinfo/keepposlist["+ (grd_tankkeep.row-1)+ "]/cellbcno6");
  336. }
  337. }else{
  338. keeppos = (datagrid1.col - 2);
  339. if(keeppos == 1){
  340. cellinfo = model.getValue("/root/main/keepposinfo2/keepposlist2["+ (datagrid1.row-1)+ "]/cellbcno1");
  341. } else if(keeppos == 2){
  342. cellinfo = model.getValue("/root/main/keepposinfo2/keepposlist2["+ (datagrid1.row-1)+ "]/cellbcno2");
  343. } else if(keeppos == 3){
  344. cellinfo = model.getValue("/root/main/keepposinfo2/keepposlist2["+ (datagrid1.row-1)+ "]/cellbcno3");
  345. } else if(keeppos == 4){
  346. cellinfo = model.getValue("/root/main/keepposinfo2/keepposlist2["+ (datagrid1.row-1)+ "]/cellbcno4");
  347. } else if(keeppos == 5){
  348. cellinfo = model.getValue("/root/main/keepposinfo2/keepposlist2["+ (datagrid1.row-1)+ "]/cellbcno5");
  349. } else if(keeppos == 6){
  350. cellinfo = model.getValue("/root/main/keepposinfo2/keepposlist2["+ (datagrid1.row-1)+ "]/cellbcno6");
  351. }
  352. }
  353. var pid = model.getValue("/root/send/reqdata/pid");
  354. var sflag = pid
  355. if(cellinfo != '') {
  356. cellinfo = cellinfo.substring((getSearchStringRight(cellinfo, '(')+1), (getSearchStringRight(cellinfo, '(')+11));
  357. phopedd = cellinfo.substring(0, 4) + cellinfo.substring(5, 7) + cellinfo.substring(8, 10);
  358. sflag += "▦" + phopedd;
  359. }
  360. setParameter("opener_parameter_id", sflag);
  361. modal("SMABC00200", 1, "", 100, "", "", "", "left:0; right:; width:0; height:0; min:hidden, max:hidden;");
  362. }
  363. /* @group : 조혈모세포보관위치관리
  364. * @ver : 2008.01.28
  365. * @by : 남수현
  366. * @type : function
  367. * @access : public
  368. * @desc : 조혈모세포보관 및 해동 Result 입력화면 오픈
  369. * @param : pid [등록번호]
  370. */
  371. function fOpenCellKeepThawRsltInpt() {
  372. var pid = model.getValue("/root/send/reqdata/pid");
  373. var sflag = pid;
  374. setParameter("opener_parameter_id", sflag);
  375. modal("SMABC00300", 1, "", 100, "", "", "", "left:0; right:; width:0; height:0; min:hidden, max:hidden;");
  376. }
  377. ]]>
  378. </script>
  379. </xhtml:head>
  380. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  381. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  382. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">조혈모세포보관위치관리</caption>
  383. </group>
  384. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  385. <switch id="switch1" style="left:0px; top:80px; width:1194px; height:655px; ">
  386. <case id="case1">
  387. <datagrid id="grd_tankkeep" nodeset="/root/main/keepposinfo/keepposlist" class="datagrid" caption="탱크구분^Session^ 보관위치^1^2^3^4^5^6^바코드번호1^바코드번호2^바코드번호3^바코드번호4^바코드번호5^바코드번호6|탱크구분^Session^Frame ^1^2^3^4^5^6^바코드번호1^바코드번호2^바코드번호3^바코드번호4^바코드번호5^바코드번호6" colsep="^" colwidth="90, 77, 130, 216, 215, 217, 214, 145, 145, 100, 100, 100, 100, 100, 100" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" selectionmode="free" style="left:5px; top:30px; width:1180px; height:610px; text-align:center; ">
  388. <col ref="tankflag" type="combo" style="text-align:center; ">
  389. <choices>
  390. <itemset nodeset="/root/init/baseinfo/tankflag/A0394">
  391. <label ref="cdnm"/>
  392. <value ref="cdid"/>
  393. </itemset>
  394. </choices>
  395. </col>
  396. <col disabled="true" ref="sesnflag" type="combo">
  397. <choices>
  398. <itemset nodeset="/root/init/baseinfo/sesnflag/A0395">
  399. <label ref="cdnm"/>
  400. <value ref="cdid"/>
  401. </itemset>
  402. </choices>
  403. </col>
  404. <col disabled="true" ref="frameflag" type="combo" style="text-align:center; ">
  405. <choices>
  406. <itemset nodeset="/root/init/baseinfo/frameflag/A0396">
  407. <label ref="cdnm"/>
  408. <value ref="cdid"/>
  409. </itemset>
  410. </choices>
  411. </col>
  412. <col ref="cellbcno1" type="input" maxlength="16"/>
  413. <col ref="cellbcno2" type="input" maxlength="16"/>
  414. <col ref="cellbcno3" type="input" maxlength="16"/>
  415. <col ref="cellbcno4" type="input" maxlength="16"/>
  416. <col ref="cellbcno5" type="input" visibility="hidden" maxlength="16"/>
  417. <col ref="cellbcno6" type="input" visibility="hidden" maxlength="16"/>
  418. <col ref="cellbcno11" visibility="hidden"/>
  419. <col ref="cellbcno12" visibility="hidden"/>
  420. <col ref="cellbcno13" visibility="hidden"/>
  421. <col ref="cellbcno14" visibility="hidden"/>
  422. <col ref="cellbcno15" visibility="hidden"/>
  423. <col ref="cellbcno16" visibility="hidden"/>
  424. <script type="javascript" ev:event="xforms-value-changed">
  425. <![CDATA[
  426. if ( grd_tankkeep.col == grd_tankkeep.colRef("tankflag") ||
  427. grd_tankkeep.col == grd_tankkeep.colRef("sesnflag") ||
  428. grd_tankkeep.col == grd_tankkeep.colRef("frameflag") ) {
  429. return false;
  430. }
  431. {
  432. var scellbcno = grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col);
  433. if (scellbcno != ""){
  434. model.setValue("/root/send/reqdata1/cellbcno", scellbcno);
  435. submit("TRABC00402");
  436. if (model.getValue("/root/main/cellbcnoinfo/cellbcnolist/cellbcno") == ""){
  437. messageBox(scellbcno + "의 바코드는 존재하지 않습니다.", "E999", "");
  438. grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col) = "";
  439. return false;
  440. }
  441. if (model.getValue("/root/main/cellbcnoinfo/cellbcnolist/keepyn") == "Y"){
  442. messageBox(scellbcno + "의 바코드는 이미 보관중입니다.", "E999", "");
  443. grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col) = "";
  444. return false;
  445. }
  446. grd_tankkeep.textMatrix(grd_tankkeep.row, (grd_tankkeep.col + 6)) = "I" + grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col);
  447. grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col) = model.getValue("/root/main/cellbcnoinfo/cellbcnolist/cellinfo");
  448. }
  449. }
  450. model.refresh();
  451. ]]>
  452. </script>
  453. </datagrid>
  454. <caption id="caption7" class="tit_2" style="left:10px; top:10px; width:120px; height:13px; ">탱크별 보관내역</caption>
  455. <line id="line12" class="line_1" style="x1:5px; y1:25px; x2:1184px; y2:25px; "/>
  456. <button id="button3" class="btn2_letter8" style="left:1011px; top:5px; width:108px; height:19px; ">
  457. <caption>세포처리결과입력</caption>
  458. <script type="javascript" ev:event="DOMActivate">
  459. <![CDATA[
  460. fOpenCellTretRsltInpt();
  461. ]]>
  462. </script>
  463. </button>
  464. <button id="button5" class="btn2_letter7" style="left:913px; top:5px; width:97px; height:19px; ">
  465. <caption>보관및해동결과</caption>
  466. <script type="javascript" ev:event="DOMActivate">
  467. <![CDATA[
  468. fOpenCellKeepThawRsltInpt();
  469. ]]>
  470. </script>
  471. </button>
  472. <button id="btn_excsave1" class="btn2_letter4" style="left:1120px; top:5px; width:64px; height:19px; ">
  473. <caption>엑셀저장</caption>
  474. <script type="javascript" ev:event="DOMActivate">
  475. <![CDATA[
  476. var fileName = window.fileDialog("save", ",", false, "세포보관내역", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  477. if (fileName != "")
  478. {
  479. grd_tankkeep.saveExcel(fileName);
  480. }
  481. ]]>
  482. </script>
  483. </button>
  484. </case>
  485. <case id="case2" selected="true">
  486. <datagrid id="datagrid1" nodeset="/root/main/keepposinfo2/keepposlist2" caption="탱크구분^Session^ 보관위치^1^2^3^4^5^6^바코드번호1^바코드번호2^바코드번호3^바코드번호4^바코드번호5^바코드번호6|탱크구분^Session^Frame ^1^2^3^4^5^6^바코드번호1^바코드번호2^바코드번호3^바코드번호4^바코드번호5^바코드번호6" colsep="^" colwidth="90, 77, 130, 216, 216, 215, 215, 144, 147, 100, 100, 100, 100, 100, 100" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" selectionmode="free" style="left:5px; top:30px; width:1180px; height:610px; ">
  487. <col disabled="true" ref="tankflag" type="combo" style="text-align:center; ">
  488. <choices>
  489. <itemset nodeset="/root/init/baseinfo/tankflag/A0394">
  490. <label ref="cdnm"/>
  491. <value ref="cdid"/>
  492. </itemset>
  493. </choices>
  494. </col>
  495. <col disabled="true" ref="sesnflag" type="combo" style="text-align:center; ">
  496. <choices>
  497. <itemset nodeset="/root/init/baseinfo/sesnflag/A0395">
  498. <label ref="cdnm"/>
  499. <value ref="cdid"/>
  500. </itemset>
  501. </choices>
  502. </col>
  503. <col disabled="true" ref="frameflag" type="combo" style="text-align:center; ">
  504. <choices>
  505. <itemset nodeset="/root/init/baseinfo/frameflag/A0396">
  506. <label ref="cdnm"/>
  507. <value ref="cdid"/>
  508. </itemset>
  509. </choices>
  510. </col>
  511. <col ref="cellbcno1" style="text-align:center; "/>
  512. <col ref="cellbcno2" style="text-align:center; "/>
  513. <col ref="cellbcno3" style="text-align:center; "/>
  514. <col ref="cellbcno4" style="text-align:center; "/>
  515. <col ref="cellbcno5" visibility="hidden" style="text-align:left; "/>
  516. <col ref="cellbcno6" visibility="hidden" style="text-align:left; "/>
  517. <col ref="cellbcno11" visibility="hidden"/>
  518. <col ref="cellbcno12" visibility="hidden"/>
  519. <col ref="cellbcno13" visibility="hidden"/>
  520. <col ref="cellbcno14" visibility="hidden"/>
  521. <col ref="cellbcno15" visibility="hidden"/>
  522. <col ref="cellbcno16" visibility="hidden"/>
  523. </datagrid>
  524. <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:1184px; y2:25px; "/>
  525. <caption id="caption1" class="tit_2" style="left:10px; top:10px; width:120px; height:13px; ">전체보관내역</caption>
  526. <button id="button1" class="btn2_letter8" style="left:1011px; top:5px; width:108px; height:19px; ">
  527. <caption>세포처리결과입력</caption>
  528. <script type="javascript" ev:event="DOMActivate">
  529. <![CDATA[
  530. fOpenCellTretRsltInpt();
  531. ]]>
  532. </script>
  533. </button>
  534. <button id="button2" class="btn2_letter7" style="left:913px; top:5px; width:97px; height:19px; ">
  535. <caption>보관및해동결과</caption>
  536. <script type="javascript" ev:event="DOMActivate">
  537. <![CDATA[
  538. fOpenCellKeepThawRsltInpt();
  539. ]]>
  540. </script>
  541. </button>
  542. <button id="btn_exsave2" class="btn2_letter4" style="left:1120px; top:5px; width:64px; height:19px; ">
  543. <caption>엑셀저장</caption>
  544. <script type="javascript" ev:event="DOMActivate">
  545. <![CDATA[
  546. var fileName = window.fileDialog("save", ",", false, "세포보관내역", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  547. if (fileName != "")
  548. {
  549. datagrid1.saveExcel(fileName);
  550. }
  551. ]]>
  552. </script>
  553. </button>
  554. </case>
  555. </switch>
  556. <button id="btn_case2" class="btn_sw" group="tab" selected="false" style="left:99px; top:57px; width:140px; height:22px; ">
  557. <caption>전체/환자별 보관내역</caption>
  558. <script type="javascript" ev:event="onclick">
  559. <![CDATA[
  560. model.toggle("case2");
  561. btn_case1.selected = false;
  562. btn_case2.selected = true;
  563. caption42.visible = true;
  564. ipt_pid.visible = true;
  565. button33.visible = true;
  566. caption2.visible = true;
  567. output3.visible = true;
  568. output4.visible = true;
  569. output6.visible = true;
  570. output7.visible = true;
  571. btn_save.visible = false;
  572. btn_del.visible = false;
  573. caption4.visible = false;
  574. combo2.visible = false;
  575. combo3.visible = false;
  576. combo4.visible = false;
  577. button4.visible = false;
  578. model.setValue("/root/send/reqdata/selflag", "A");
  579. cmb_tankflag.select(0);
  580. cmb_tankflag.disabled = true;
  581. model.refresh();
  582. ]]>
  583. </script>
  584. </button>
  585. <button id="btn_case1" class="btn_sw" group="tab" selected="true" style="left:0px; top:57px; width:100px; height:22px; ">
  586. <caption>탱크별보관내역</caption>
  587. <script type="javascript" ev:event="onclick">
  588. <![CDATA[
  589. model.toggle("case1");
  590. btn_case1.selected = true;
  591. btn_case2.selected = false;
  592. caption42.visible = false;
  593. ipt_pid.visible = false;
  594. button33.visible = false;
  595. caption2.visible = false;
  596. output3.visible = false;
  597. output4.visible = false;
  598. output6.visible = false;
  599. output7.visible = false;
  600. btn_save.visible = true;
  601. btn_del.visible = true;
  602. caption4.visible = true;
  603. combo2.visible = true;
  604. combo3.visible = true;
  605. combo4.visible = true;
  606. button4.visible = true;
  607. model.setValue("/root/send/reqdata/selflag", "T");
  608. cmb_tankflag.select(1);
  609. cmb_tankflag.disabled = false;
  610. model.refresh();
  611. ]]>
  612. </script>
  613. </button>
  614. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  615. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  616. <caption id="caption42" class="search_name" visibility="hidden" style="left:219px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  617. <line id="line10" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  618. <output id="output4" ref="/root/send/reqdata/rrgstno" class="output_search" visibility="hidden" format="999999-9999999" style="left:615px; top:8px; width:100px; height:19px; text-align:center; "/>
  619. <output id="output6" ref="/root/send/reqdata/age" class="output_search" visibility="hidden" style="left:761px; top:8px; width:40px; height:19px; text-align:center; "/>
  620. <output id="output7" ref="/root/send/reqdata/sex" class="output_search" visibility="hidden" style="left:718px; top:8px; width:40px; height:19px; text-align:center; "/>
  621. <caption id="caption2" class="search_name" visibility="hidden" style="left:443px; top:9px; width:86px; height:17px; ">환자정보 :</caption>
  622. <output id="output3" ref="/root/send/reqdata/hngnm" class="output_search" visibility="hidden" style="left:532px; top:8px; width:80px; height:19px; text-align:left; "/>
  623. <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  624. <caption>조회</caption>
  625. <script type="javascript" ev:event="onclick">
  626. <![CDATA[
  627. if(model.getValue("/root/send/reqdata/pid") != "" ) {
  628. fSearchPatInfo();
  629. }
  630. if (btn_case1.selected == true){
  631. fReadFunc();
  632. }else{
  633. fReadFunc1();
  634. }
  635. ]]>
  636. </script>
  637. </button>
  638. <caption id="caption3" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">탱크구분 :</caption>
  639. <select1 id="cmb_tankflag" ref="/root/send/reqdata/tankflag" class="combo_search" appearance="minimal" style="left:104px; top:8px; width:100px; height:19px; ">
  640. <choices>
  641. <itemset nodeset="/root/init/baseinfo/tankflag/A0394">
  642. <label ref="cdnm"/>
  643. <value ref="cdid"/>
  644. </itemset>
  645. </choices>
  646. <script type="javascript" ev:event="xforms-value-changed">
  647. <![CDATA[
  648. if (btn_case1.selected == true){
  649. fReadFunc();
  650. }else{
  651. fReadFunc1();
  652. }
  653. ]]>
  654. </script>
  655. </select1>
  656. <input id="ipt_pid" ref="/root/send/reqdata/pid" class="input_s_button" visibility="hidden" inputtype="button" style="left:308px; top:8px; width:100px; height:19px; ">
  657. <script type="javascript" ev:event="onbuttonclick">
  658. <![CDATA[
  659. model.resetInstanceNode("/root/temp/bmtpatientinfo");
  660. modal("SPABO61300",0,100,150,"SPABO61300","/root/temp/receiveref","/root/temp/receivedata/receiveref");
  661. if(model.getValue("/root/temp/bmtpatientinfo/pid") != "") {
  662. model.setValue("/root/send/reqdata/pid", model.getValue("/root/temp/bmtpatientinfo/pid"));
  663. ipt_pid.refresh();
  664. btn_sea.dispatch("onclick");
  665. }
  666. ]]>
  667. </script>
  668. </input>
  669. <button id="button33" class="icon_search" visibility="hidden" style="left:411px; top:8px; width:16px; height:16px; ">
  670. <caption/>
  671. <script type="javascript" ev:event="onclick">
  672. <![CDATA[
  673. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/reqdata","/root/send");
  674. if (model.getValue("/root/main/popupendflag") != "cancel"){
  675. model.setValue("/root/send/reqdata/pid", model.getValue("/root/main/patinfo/patinfolist/pid") );
  676. model.setValue("/root/send/reqdata/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  677. model.setValue("/root/send/reqdata/rrgstno", model.getValue("/root/main/patinfo/patinfolist/rrgstno1") + model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
  678. model.setValue("/root/send/reqdata/sex", model.getValue("/root/main/patinfo/patinfolist/sex"));
  679. model.setValue("/root/send/reqdata/age", model.getValue("/root/main/patinfo/patinfolist/age"));
  680. fReadFunc();
  681. }
  682. model.refresh();
  683. ]]>
  684. </script>
  685. </button>
  686. </group>
  687. <caption id="caption4" class="search_name" style="left:568px; top:54px; width:86px; height:17px; ">위치이동 :</caption>
  688. <select1 id="combo2" ref="/root/send/movedata/sesnflag" appearance="minimal" style="left:660px; top:54px; width:120px; height:19px; ">
  689. <choices>
  690. <itemset nodeset="/root/init/baseinfo/sesnflag/A0395">
  691. <label ref="cdnm"/>
  692. <value ref="cdid"/>
  693. </itemset>
  694. </choices>
  695. </select1>
  696. <select1 id="combo3" ref="/root/send/movedata/frameflag" appearance="minimal" style="left:785px; top:54px; width:120px; height:19px; ">
  697. <choices>
  698. <itemset nodeset="/root/init/baseinfo/frameflag/A0396">
  699. <label ref="cdnm"/>
  700. <value ref="cdid"/>
  701. </itemset>
  702. </choices>
  703. </select1>
  704. <select1 id="combo4" ref="/root/send/movedata/keeppos" appearance="minimal" style="left:910px; top:54px; width:75px; height:19px; ">
  705. <choices>
  706. <item>
  707. <label>1</label>
  708. <value>1</value>
  709. </item>
  710. <item>
  711. <label>2</label>
  712. <value>2</value>
  713. </item>
  714. <item>
  715. <label>3</label>
  716. <value>3</value>
  717. </item>
  718. <item>
  719. <label>4</label>
  720. <value>4</value>
  721. </item>
  722. <item>
  723. <label>5</label>
  724. <value>5</value>
  725. </item>
  726. <item>
  727. <label>6</label>
  728. <value>6</value>
  729. </item>
  730. </choices>
  731. </select1>
  732. <button id="button4" class="btn2_letter3" style="left:990px; top:54px; width:53px; height:19px; ">
  733. <caption>이동</caption>
  734. <script type="javascript" ev:event="DOMActivate">
  735. <![CDATA[
  736. var scellbcno = grd_tankkeep.textMatrix(grd_tankkeep.row, (grd_tankkeep.col + 6));
  737. var scellinfo = grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col);
  738. if (scellbcno == ""){
  739. messageBox("위치를 변경할 바코드를 선택한 후 처리하시기 바랍니다.", "E999", "");
  740. return;
  741. }
  742. if (model.getValue("/root/send/reqdata/tankflag") == ""){
  743. messageBox("탱크구분은 필수 선택항목입니다.", "E999", "");
  744. return;
  745. }
  746. if (model.getValue("/root/send/movedata/sesnflag") == ""){
  747. messageBox("Session구분은 필수 선택항목입니다.", "E999", "");
  748. return;
  749. }
  750. if (model.getValue("/root/send/movedata/frameflag") == ""){
  751. messageBox("Frame구분은 필수 선택항목입니다.", "E999", "");
  752. return;
  753. }
  754. if (model.getValue("/root/send/movedata/keeppos") == ""){
  755. messageBox("본관위치는 필수 선택항목입니다.", "E999", "");
  756. return;
  757. }
  758. var ssesnflag = model.getValue("/root/send/movedata/sesnflag");
  759. var sframeflag = model.getValue("/root/send/movedata/frameflag");
  760. var skeeppos = model.getValue("/root/send/movedata/keeppos");
  761. var irow = "0";
  762. for (var i = 1; i < grd_tankkeep.rows + 1; i++){
  763. var ssesnflag1 = model.getValue("/root/main/keepposinfo/keepposlist[" + i + "]/sesnflag");
  764. var sframeflag1 = model.getValue("/root/main/keepposinfo/keepposlist[" + i + "]/frameflag");
  765. if (ssesnflag == ssesnflag1 && sframeflag == sframeflag1){
  766. var scellbcno1 = model.getValue("/root/main/keepposinfo/keepposlist[" + i + "]/cellbcno" + skeeppos);
  767. if (scellbcno1 != ""){
  768. messageBox("이미 다른 바코드가 등록되어 있습니다.", "E999", "");
  769. break;
  770. }else{
  771. var irow = i + 1;
  772. break;
  773. }
  774. }
  775. }
  776. if (irow > 0){
  777. grd_tankkeep.textMatrix(grd_tankkeep.row, (grd_tankkeep.col + 6)) = "D" + scellbcno;
  778. grd_tankkeep.rowStatus(grd_tankkeep.row) = 2;
  779. grd_tankkeep.textMatrix(irow, parseInt(skeeppos) + 8) = "I" + scellbcno;
  780. grd_tankkeep.textMatrix(irow, parseInt(skeeppos) + 2) = scellinfo;
  781. grd_tankkeep.rowStatus(irow) = 2;
  782. }
  783. model.refresh();
  784. ]]>
  785. </script>
  786. </button>
  787. <button id="button7" class="btn4_letter7" style="left:1075px; top:55px; width:116px; height:22px; ">
  788. <caption>바코드넘버조회</caption>
  789. <script type="javascript" ev:event="onclick">
  790. <![CDATA[
  791. //group1.attribute("height") = "279";
  792. if(model.getValue("/root/send/reqdata/pid") != '') {
  793. model.setValue("/root/send/reqdata/srchpid", model.getValue("/root/send/reqdata/pid"))
  794. }
  795. group1.visible = true;
  796. submit("TRABC00405");
  797. ]]>
  798. </script>
  799. </button>
  800. </group>
  801. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  802. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  803. <button id="btn_del" class="btn4_letter2" style="left:1081px; top:5px; width:56px; height:22px; ">
  804. <caption>삭제</caption>
  805. <script type="javascript" ev:event="onclick">
  806. <![CDATA[
  807. fExecDel();
  808. ]]>
  809. </script>
  810. </button>
  811. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  812. <caption>저장</caption>
  813. <script type="javascript" ev:event="onclick">
  814. <![CDATA[
  815. fExecSave();
  816. ]]>
  817. </script>
  818. </button>
  819. </group>
  820. <group id="group1" visibility="hidden" style="left:680px; top:175px; width:321px; height:360px; ">
  821. <datagrid id="grd_cellbcnolist" nodeset="/root/main/cellbarcdinfo/cellbarcdlist" caption="적용일자^환자이름^바코드번호" colsep="^" colwidth="92, 84, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:50px; width:302px; height:270px; ">
  822. <col ref="prcphopedd"/>
  823. <col ref="hngnm"/>
  824. <col ref="cellbcno"/>
  825. <script type="javascript" ev:event="ondblclick">
  826. <![CDATA[
  827. if ( (grd_cellbcnolist.row >= grd_cellbcnolist.fixedRows) && (grd_cellbcnolist.isCell(event.target))) {
  828. if((grd_tankkeep.row >= 2) && (grd_tankkeep.col >= 1) && (model.getValue("/root/main/keepposinfo/keepposlist["+ (grd_tankkeep.row-1) +"]/cellbcno"+ (grd_tankkeep.col-2)) == "")) {
  829. var vCellBcNo = model.getValue("/root/main/cellbarcdinfo/cellbarcdlist["+ grd_cellbcnolist.row +"]/cellbcno");
  830. model.setValue("/root/main/keepposinfo/keepposlist["+ (grd_tankkeep.row-1) +"]/cellbcno"+ (grd_tankkeep.col-2), vCellBcNo);
  831. } else {
  832. messageBox("보관위치를 다시 선택하여 주세요.", "E999", "");
  833. }
  834. var scellbcno = grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col);
  835. if (scellbcno != ""){
  836. model.setValue("/root/send/reqdata1/cellbcno", scellbcno);
  837. submit("TRABC00402");
  838. if (model.getValue("/root/main/cellbcnoinfo/cellbcnolist/cellbcno") == ""){
  839. messageBox(scellbcno + "의 바코드는 존재하지 않습니다.", "E999", "");
  840. grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col) = "";
  841. return false;
  842. }
  843. if (model.getValue("/root/main/cellbcnoinfo/cellbcnolist/keepyn") == "Y"){
  844. messageBox(scellbcno + "의 바코드는 이미 보관중입니다.", "E999", "");
  845. grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col) = "";
  846. return false;
  847. }
  848. grd_tankkeep.textMatrix(grd_tankkeep.row, (grd_tankkeep.col + 6)) = "I" + grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col);
  849. grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col) = model.getValue("/root/main/cellbcnoinfo/cellbcnolist/cellinfo");
  850. }
  851. grd_tankkeep.rowStatus(grd_tankkeep.row) = 2;
  852. group1.visible = false;
  853. }
  854. model.refresh();
  855. ]]>
  856. </script>
  857. </datagrid>
  858. <button id="btn_clo" class="btn4_letter2" style="left:257px; top:330px; width:56px; height:22px; ">
  859. <caption>종료</caption>
  860. <script type="javascript" ev:event="onclick">
  861. <![CDATA[
  862. group1.visible = false;
  863. ]]>
  864. </script>
  865. </button>
  866. <group id="group2" style="left:10px; top:10px; width:305px; height:35px; vertical-align:top; ">
  867. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:302px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  868. <line id="line2" class="line_4" style="x1:226px; y1:7px; x2:226px; y2:29px; "/>
  869. <button id="btn_sea2" class="btn1_letter2" style="left:237px; top:7px; width:56px; height:22px; ">
  870. <caption>조회</caption>
  871. <script type="javascript" ev:event="onclick">
  872. <![CDATA[
  873. submit("TRABC00405");
  874. ]]>
  875. </script>
  876. </button>
  877. <caption id="caption5" class="search_name" style="left:9px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  878. <input id="ipt_pid2" ref="/root/send/reqdata/srchpid" class="input_s_button" inputtype="button" style="left:98px; top:8px; width:100px; height:19px; ">
  879. <script type="javascript" ev:event="onbuttonclick">
  880. <![CDATA[
  881. model.resetInstanceNode("/root/temp/bmtpatientinfo");
  882. modal("SPABO61300",0,100,150,"SPABO61300","/root/temp/receiveref","/root/temp/receivedata/receiveref");
  883. if(model.getValue("/root/temp/bmtpatientinfo/pid") != "") {
  884. model.setValue("/root/send/reqdata/srchpid", model.getValue("/root/temp/bmtpatientinfo/pid"));
  885. btn_sea2.dispatch("onclick");
  886. }
  887. ]]>
  888. </script>
  889. </input>
  890. </group>
  891. </group>
  892. </xhtml:body>
  893. </xhtml:html>