SMABC01500_조혈모세포출고현황.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>조혈모세포 출고현황</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <stemcelldelive>
  11. <stemcelldeliveprescond>
  12. <chk/>
  13. <delivedd/>
  14. <delivewardcd/>
  15. <prcphopedd/>
  16. <trnpttype/>
  17. <scs/>
  18. <cellbcno/>
  19. <delivepsnnm/>
  20. <delivetm/>
  21. <deliveflag/>
  22. <acptpsnnm/>
  23. <acptdt/>
  24. <tretvol/>
  25. <infsvol/>
  26. <cellhct/>
  27. <tncqty/>
  28. <tnckgqty/>
  29. <mncqty/>
  30. <mnckgqty/>
  31. <lympoqty/>
  32. <cd34per/>
  33. <cd34qty/>
  34. <cd34kgqty/>
  35. <cd3per/>
  36. <cd3qty/>
  37. <cd3kgqty/>
  38. <nkper/>
  39. <nkqty/>
  40. <nkkgqty/>
  41. <nktper/>
  42. <nktqty/>
  43. <nktkgqty/>
  44. <purityper/>
  45. <yieldper/>
  46. <viabper/>
  47. </stemcelldeliveprescond>
  48. </stemcelldelive>
  49. <patinfo>
  50. <patinfolist>
  51. <pid/>
  52. <hngnm/>
  53. <rrgstno1/>
  54. <rrgstno2/>
  55. <sex/>
  56. <cntctel/>
  57. <mpphontel/>
  58. <zipcd1/>
  59. <zipcd2/>
  60. <zipcdseq/>
  61. <cntcaddr/>
  62. <email/>
  63. <age/>
  64. <addr/>
  65. <dethdd/>
  66. <indschacptstat/>
  67. </patinfolist>
  68. </patinfo>
  69. <popupendflag/>
  70. </main>
  71. <send>
  72. <baseinfo>
  73. <delivefromdd/>
  74. <delivetodd/>
  75. <deliveflag/>
  76. <pid/>
  77. </baseinfo>
  78. </send>
  79. <init>
  80. <cmbinfo>
  81. <deliveflag>
  82. <A0157>
  83. <cdid/>
  84. <cdnm/>
  85. </A0157>
  86. </deliveflag>
  87. <trnpttype>
  88. <A0158/>
  89. </trnpttype>
  90. <stemcellsource>
  91. <A0159/>
  92. </stemcellsource>
  93. </cmbinfo>
  94. </init>
  95. <hidden/>
  96. <temp>
  97. <hngnm/>
  98. <bmtpatientinfo/>
  99. <receiveref>/root/send/baseinfo/pid</receiveref>
  100. <stemcelldelive>
  101. <stemcelldeliveprescond>
  102. <chk/>
  103. <delivedd/>
  104. <delivewardcd/>
  105. <prcphopedd/>
  106. <trnpttype/>
  107. <scs/>
  108. <cellbcno/>
  109. <delivepsnnm/>
  110. <delivetm/>
  111. <deliveflag/>
  112. <acptpsnnm/>
  113. <acptdt/>
  114. <tretvol/>
  115. <infsvol/>
  116. <cellhct/>
  117. <tncqty/>
  118. <tnckgqty/>
  119. <mncqty/>
  120. <mnckgqty/>
  121. <lympoqty/>
  122. <cd34per/>
  123. <cd34qty/>
  124. <cd34kgqty/>
  125. <cd3per/>
  126. <cd3qty/>
  127. <cd3kgqty/>
  128. <nkper/>
  129. <nkqty/>
  130. <nkkgqty/>
  131. <nktper/>
  132. <nktqty/>
  133. <nktkgqty/>
  134. <purityper/>
  135. <yieldper/>
  136. <viabper/>
  137. </stemcelldeliveprescond>
  138. </stemcelldelive>
  139. </temp>
  140. </root>
  141. </instance>
  142. <submission id="TRABC01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/baseinfo" replace="instance" resultref="/root/main/stemcelldelive"/>
  143. <submission id="TRZBC00101"/>
  144. <script type="javascript" ev:event="xforms-ready">
  145. <![CDATA[
  146. zbcfGetCodeList( new Array("A0157", "A0158", "A0159"), new Array("/root/init/cmbinfo/deliveflag", "/root/init/cmbinfo/trnpttype", "/root/init/cmbinfo/stemcellsource"));
  147. model.removeNodeset("/root/main/stemcelldelive/stemcelldeliveprescond");
  148. grd_delivelist.fixedcellcheckbox(0, 1) = true;
  149. model.setValue("/root/send/baseinfo/delivefromdd", getCurrentDate());
  150. model.setValue("/root/send/baseinfo/delivetodd", ipt_delivefromdd.value);
  151. ipt_delivefromdd.value = ipt_delivefromdd.value.toDate().getAddDate(-7,"D").getDateFormat("YYYYMMDD") ;
  152. model.refresh();
  153. ]]>
  154. </script>
  155. </model>
  156. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  157. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  158. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  159. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  160. <script type="javascript">
  161. <![CDATA[
  162. /**
  163. * @group :
  164. * @ver : 2008.06.19
  165. * @by : 박중규
  166. * @---------------------------------------------------
  167. * @type : function
  168. * @access : public
  169. * @desc : BMT 레포트의 임시저장 및 인증저장
  170. * @param : pFlag[C:인증저장, T:임시저장], pFormcd[서식코드]
  171. * @return :
  172. * @---------------------------------------------------
  173. */
  174. function fCertSaveInfo(pFlag, pFormcd){
  175. var retMsg = messageBox("저장하시겠습니까?", "S"); //yes=6, no=7
  176. if(retMsg == "6"){
  177. model.makeValue("/root/send/dnorrptinfo/certflag", pFlag); //전자인증 여부( T : 임시저장, C : 인증저장)
  178. //의사_간호사 구분 플래그가 인증data에는 저장되지 않도록.
  179. model.removenode("/root/main/baseinfo/dnorrptinfo/drnuflag");
  180. // 인증저장일 경우
  181. if(pFlag == "C"){
  182. // 인증 로직 호출
  183. if(Sign.signprocess() == true){
  184. model.makeValue("/root/send/signdata/pid", model.getValue("/root/main/baseinfo/dnorrptinfo/pid")); // 등로번호
  185. //의사_간호사 여부에 따라 인증번호가 다름.
  186. alert(model.getValue("/root/send/dnorrptinfo/drnuflag"));
  187. if(model.getValue("/root/send/dnorrptinfo/drnuflag") == "D") {
  188. model.makeValue("/root/send/signdata/signno", model.getValue("/root/main/baseinfo/dnorrptinfo/drsignno")); // 의사인증번호
  189. } else {
  190. model.makeValue("/root/send/signdata/signno", model.getValue("/root/main/baseinfo/dnorrptinfo/codisignno")); // 간호사인증번호
  191. }
  192. model.makeValue("/root/send/signdata/orddd", model.getValue("/root/temp/paminfo/indd")); //입원일자
  193. model.makeValue("/root/send/signdata/cretno", model.getValue("/root/temp/paminfo/cretno")); // 생성번호
  194. model.makeValue("/root/send/signdata/recdd", model.getValue("/root/temp/paminfo/recdd")); // 기록일자
  195. model.makeValue("/root/send/signdata/rectm", model.getValue("/root/temp/paminfo/rectm")); // 기록시간
  196. model.makeValue("/root/send/signdata/orddeptcd", model.getValue("/root/temp/paminfo/deptcd")); // 진료부서코드
  197. model.makeValue("/root/send/signdata/orddrid", model.getValue("/root/temp/paminfo/atdoctid")); // 진료의사ID
  198. model.makeValue("/root/send/signdata/signgenrflag", model.getValue("/root/temp/paminfo/ioflag" )); // 외래/입원구분(코드정의서 M0010 참조)
  199. model.makeValue("/root/send/signdata/recsaveflag" , "Y"); // (기록일시 변경되는 경우 : Y, 그외 : N))
  200. model.makeValue("/root/send/signdata/signflag" , "02"); // 서명자료구분 (01 : 진료, 02 : 간호, 03 : LIS, 04 : 진료지원, ...))
  201. model.makeValue("/root/send/signdata/formcd" , pFormcd); // 각 기록지별 서식코드
  202. model.makeValue("/root/send/signdata/signbfcnts" , Sign.signedInfos[1]); // 인증할 데이터 정보(미기록 노드 제거된 정보)
  203. model.makeValue("/root/send/signdata/signaftcnts" , Sign.signedInfos[2]); // 공인인증 처리후 데이터
  204. }else{
  205. return false;
  206. }
  207. }
  208. if( submit("TXABO61201")){
  209. readfunc();
  210. }
  211. }
  212. }
  213. /* ------------------------------------------------- */
  214. /* desc : 인증저장시 인증데이타 인스턴스 set(Sign.signprocess()에서 호출) */
  215. /* param : */
  216. /* return : */
  217. /* -------------------------------------------------- */
  218. function fMake_SignData(){
  219. Sign.XPATH_MAINNODE = "/root/main";
  220. Sign.addnode("");
  221. }
  222. ]]>
  223. </script>
  224. </xhtml:head>
  225. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  226. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  227. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">조혈모세포출고현황</caption>
  228. </group>
  229. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  230. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:200px; height:13px; ">조혈모세포출고현황</caption>
  231. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  232. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  233. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  234. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">출고일자 :</caption>
  235. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  236. <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  237. <caption>조회</caption>
  238. <script type="javascript" ev:event="DOMActivate">
  239. <![CDATA[
  240. submit("TRABC01501");
  241. model.refresh();
  242. ]]>
  243. </script>
  244. </button>
  245. <input id="input25" ref="/root/send/baseinfo/delivetodd" class="input_s_essential" inputtype="date" style="left:222px; top:9px; width:100px; height:19px; "/>
  246. <caption id="caption5" class="search_no_b" style="left:207px; top:10px; width:12px; height:17px; ">~</caption>
  247. <caption id="caption3" class="search_name" style="left:337px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  248. <select1 id="combo2" ref="/root/send/baseinfo/deliveflag" class="combo_search" appearance="minimal" style="left:732px; top:8px; width:130px; height:19px; ">
  249. <choices>
  250. <itemset nodeset="/root/init/cmbinfo/deliveflag/A0157">
  251. <label ref="cdnm"/>
  252. <value ref="cdid"/>
  253. </itemset>
  254. </choices>
  255. </select1>
  256. <caption id="caption4" class="search_name" style="left:643px; top:9px; width:86px; height:17px; ">출고장소 :</caption>
  257. <input id="input6" ref="/root/send/baseinfo/pid" class="input_search" inputtype="button" style="left:426px; top:8px; width:100px; height:19px; ">
  258. <script type="javascript" ev:event="onbuttonclick">
  259. <![CDATA[
  260. modal("SPABO61300",0,100,150,"SPABO61300","/root/temp/receiveref","/root/temp/receivedata/receiveref");
  261. if (model.getValue("/root/main/popupendflag") == "ok") {
  262. var spid = model.getValue("/root/temp/bmtpatientinfo/pid");
  263. if (spid == null || spid == "" || spid == " ") {
  264. return false;
  265. }
  266. model.setValue( "/root/send/baseinfo/pid", model.getValue("/root/temp/bmtpatientinfo/pid"));
  267. model.setValue( "/root/temp/hngnm", model.getValue("/root/temp/bmtpatientinfo/hngnm"));
  268. submit("TRABC01501");
  269. model.refresh();
  270. }
  271. ]]>
  272. </script>
  273. </input>
  274. <input id="ipt_delivepsnid" ref="/root/temp/hngnm" class="input_search" disabled="true" style="left:548px; top:9px; width:80px; height:19px; text-align:center; ">
  275. <script type="javascript" ev:event="onkeypress">
  276. <![CDATA[
  277. fKeyEvent();
  278. ]]>
  279. </script>
  280. </input>
  281. <button id="button33" class="icon_search" style="left:529px; top:9px; width:16px; height:16px; ">
  282. <caption/>
  283. <script type="javascript" ev:event="DOMActivate">
  284. <![CDATA[
  285. modal("SPPMC02500",0,100,150,"SPPMC02500","","");
  286. if (model.getValue("/root/main/popupendflag") == "ok") {
  287. var spid = model.getValue("/root/main/patinfo/patinfolist/pid");
  288. if (spid == null || spid == "" || spid == " ") {
  289. return false;
  290. }
  291. model.setValue( "/root/send/baseinfo/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  292. model.setValue( "/root/temp/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  293. submit("TRABC01501");
  294. model.refresh();
  295. }
  296. ]]>
  297. </script>
  298. </button>
  299. <input id="ipt_delivefromdd" ref="/root/send/baseinfo/delivefromdd" class="input_s_essential" inputtype="date" style="left:104px; top:8px; width:100px; height:19px; "/>
  300. </group>
  301. <button id="btn_excsave" class="btn2_letter4" style="left:1130px; top:50px; width:64px; height:19px; ">
  302. <caption>엑셀저장</caption>
  303. <script type="javascript" ev:event="DOMActivate">
  304. <![CDATA[
  305. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  306. if (fileName != "")
  307. {
  308. grd_msglist.saveExcel(fileName);
  309. }
  310. ]]>
  311. </script>
  312. </button>
  313. <datagrid id="grd_delivelist" nodeset="/root/main/stemcelldelive/stemcelldeliveprescond" class="datagrid2" caption="^출고일자^출고병실^적용일자^환자명^이식형태^Stem Cell Source^바코드번호^출고자^출고시간^출고장소^이송담당자^이송일시^채집량(㎖)^주입량(㎖)^Cell Hct(%)^TNC (10^8)^TNC (10^8/㎏)^MNC(10^8)^MNC(10^8/㎏)^Lympo(10^8)^CD34+(%)^CD34+(10^6)^CD34+(10^6/㎏)^CD3(%)^CD3+(10^6)^CD3+(10^6/㎏)^NK+ (%)^NK+ (10^6)^NK+ (10^6/㎏)^NKT+ (%)^NKT+ (10^6)^NKT+ (10^6/㎏)^Purity (%)^Yield (%)^Viability(%)" colsep="^" colwidth="33, 86, 58, 85, 80, 80, 66, 118, 80, 80, 100, 93, 125, 92, 87, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="1" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1194px; height:665px; text-align:center; ">
  314. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  315. <col ref="delivedd" type="output" format="yyyy-mm-dd"/>
  316. <col ref="delivewardcd" type="output"/>
  317. <col ref="prcphopedd" format="yyyy-mm-dd"/>
  318. <col ref="hngnm"/>
  319. <col disabled="true" ref="trnpttype" type="combo">
  320. <choices>
  321. <itemset nodeset="/root/init/cmbinfo/trnpttype/A0158">
  322. <label ref="cdnm"/>
  323. <value ref="cdid"/>
  324. </itemset>
  325. </choices>
  326. </col>
  327. <col disabled="true" ref="scs" type="combo">
  328. <choices>
  329. <itemset nodeset="/root/init/cmbinfo/stemcellsource/A0159">
  330. <label ref="cdnm"/>
  331. <value ref="cdid"/>
  332. </itemset>
  333. </choices>
  334. </col>
  335. <col ref="cellbcno" type="output"/>
  336. <col ref="delivepsnnm"/>
  337. <col ref="delivetm" format="hh:nn:ss"/>
  338. <col disabled="true" ref="deliveflag" type="combo">
  339. <choices>
  340. <itemset nodeset="/root/init/cmbinfo/deliveflag/A0157">
  341. <label ref="cdnm"/>
  342. <value ref="cdid"/>
  343. </itemset>
  344. </choices>
  345. </col>
  346. <col ref="acptpsnnm"/>
  347. <col ref="acptdt" format="yyyy-mm-dd hh:nn:ss"/>
  348. <col ref="tretvol"/>
  349. <col ref="infsvol"/>
  350. <col ref="cellhct"/>
  351. <col ref="tncqty"/>
  352. <col ref="tnckgqty"/>
  353. <col ref="mncqty"/>
  354. <col ref="mnckgqty"/>
  355. <col ref="lympoqty"/>
  356. <col ref="cd34per"/>
  357. <col ref="cd34qty"/>
  358. <col ref="cd34kgqty"/>
  359. <col ref="cd3per"/>
  360. <col ref="cd3qty"/>
  361. <col ref="cd3kgqty"/>
  362. <col ref="nkper"/>
  363. <col ref="nkqty"/>
  364. <col ref="nkkgqty"/>
  365. <col ref="nktper"/>
  366. <col ref="nktqty"/>
  367. <col ref="nktkgqty"/>
  368. <col ref="purityper"/>
  369. <col ref="yieldper"/>
  370. <col ref="viabper"/>
  371. </datagrid>
  372. </group>
  373. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  374. <button id="btn_prt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  375. <caption>출력</caption>
  376. </button>
  377. </group>
  378. <script type="javascript" ev:event="xforms-next">
  379. <![CDATA[
  380. ]]>
  381. </script>
  382. </xhtml:body>
  383. </xhtml:html>