SMLPP01100_검사진행현황.xrw 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPP01100_검사진행현황.xrw
  4. * 설 명 : 검사진행현황
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.08.17
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="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 xmlns="">
  18. <main>
  19. <acptspc>
  20. <acptspclist>
  21. <spcstatnm/>
  22. <spcbarcdno>A0X2B000201</spcbarcdno>
  23. <instcd/>
  24. <ptno/>
  25. <dispptno/>
  26. <pid/>
  27. <patnm/>
  28. <patflagnm/>
  29. <orddeptnm/>
  30. <orddrid/>
  31. <prcpdd>20080808</prcpdd>
  32. <prcptm>121212</prcptm>
  33. <trandd/>
  34. <trantm/>
  35. <delivedd/>
  36. <delivetm/>
  37. <cnfmdd/>
  38. <cnfmtm/>
  39. <acptdd/>
  40. <acpttm/>
  41. <testcd>PMO03001</testcd>
  42. <testnm/>
  43. <readdd/>
  44. <readdrnm/>
  45. <execprcpuniqno/>
  46. <prcpgenrflag/>
  47. <grosdrnm/>
  48. <orddrnm/>
  49. <orddeptnm/>
  50. <spcnm/>
  51. </acptspclist>
  52. <spccntinfo>
  53. <trancnt/>
  54. <recvcnt/>
  55. <acptcnt/>
  56. <patcnt/>
  57. <testcnt/>
  58. </spccntinfo>
  59. </acptspc>
  60. <detlstat>
  61. <detlstatinfo>
  62. <instcd/>
  63. <tretflagcd/>
  64. <tretdd/>
  65. <trettm/>
  66. <tretpsnnm/>
  67. </detlstatinfo>
  68. </detlstat>
  69. </main>
  70. <send/>
  71. <init>
  72. <acptfromdd/>
  73. <acpttodd/>
  74. <sysdt>
  75. <sysdtinfo>
  76. <sysdd/>
  77. <systm/>
  78. </sysdtinfo>
  79. </sysdt>
  80. <hospenv>
  81. <hospenvinfo>
  82. <instcd/>
  83. <lendrtnterm/>
  84. <recvqualmthdcd/>
  85. <plgydeptcd/>
  86. <plgyteamcd/>
  87. <doctjobgradcd/>
  88. <teamjobgradcd/>
  89. </hospenvinfo>
  90. </hospenv>
  91. <refmthd/>
  92. <refval/>
  93. <popupmenu>
  94. <item>
  95. <nm>병리번호별 상태조회</nm>
  96. <funt>fExeAcptDetlStat</funt>
  97. </item>
  98. </popupmenu>
  99. <ptnocd>
  100. <ptnocdlist>
  101. <instcd/>
  102. <ptnocd/>
  103. <ptnonm/>
  104. </ptnocdlist>
  105. </ptnocd>
  106. <ptnocode/>
  107. <fromyear/>
  108. <fromptno/>
  109. <toyear/>
  110. <toptno/>
  111. </init>
  112. <hidden>
  113. <userdeptcd/>
  114. </hidden>
  115. </root>
  116. </instance>
  117. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  118. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  119. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  120. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  121. <script type="javascript" ev:event="xforms-ready">
  122. <![CDATA[
  123. fExeInitialize();
  124. ]]>
  125. </script>
  126. <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
  127. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  128. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  129. <submission id="TRLPP01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptspc/acptspclist"/>
  130. <submission id="TRLPP01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detlstat/detlstatinfo"/>
  131. </model>
  132. <script type="javascript">
  133. <![CDATA[
  134. /* @group : 검사진행현황
  135. * @ver : 2008.08.19 (CMCDEV-0001)
  136. * @by : 유동철(ACK)
  137. * @-----------------------------------
  138. * @type : function
  139. * @access : public
  140. * @desc : 화면초기화 함수
  141. */
  142. function fExeInitialize() {
  143. //----------------
  144. // 시스템일시 조회
  145. model.removeNodeset("/root/send");
  146. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  147. submit("TRLPZ00101", false);
  148. submit("TRLPZ00102", false);
  149. submit("TRLPZ00109", false);
  150. //---------------------------------------------------------
  151. // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
  152. lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
  153. //----------------------------------------------------
  154. model.removeNodeset("/root/main/acptspc/acptspclist");
  155. //-------------------------------------------
  156. model.setValue("/root/init/refmthd", "0");
  157. model.setValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  158. model.setValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  159. model.setValue("/root/init/refval", "");
  160. //----------------------------------
  161. lpzfTopInfo(); // 상단정보 호출
  162. model.setValue("/root/init/refmthd", "1");
  163. //----------------------------------------------
  164. if (model.getValue("/root/paminfo/pid") != "") {
  165. model.setValue("/root/init/refmthd", "1");
  166. model.setValue("/root/init/refval", model.getValue("/root/paminfo/pid"));
  167. cmb_refflagcd.refresh();
  168. ipt_refval.refresh();
  169. //-------------------
  170. // 병리번호 목록 조회
  171. fGetSpcStatList();
  172. }
  173. //--------------
  174. model.refresh();
  175. }
  176. /* @group : 검사진행현황
  177. * @ver : 2007.08.19 (CMCDEV-0001)
  178. * @by : 유동철(ACK)
  179. * @-----------------------------------
  180. * @type : function
  181. * @access : public
  182. * @desc : 검색값 입력 처리 함수
  183. */
  184. function fExeRefValInpt() {
  185. //-----------------------
  186. if(event.keyCode == 13) {
  187. model.setValue("/root/init/refval", ipt_refval.currentText);
  188. ipt_refval.refresh();
  189. //----------------
  190. fGetSpcStatList();
  191. }
  192. }
  193. /* @group : 검사진행현황
  194. * @ver : 2008.08.20 (CMCDEV-0001)
  195. * @by : 유동철(ACK)
  196. * @-----------------------------------
  197. * @type : function
  198. * @access : public
  199. * @desc : 검체별 상세목록 조회 함수
  200. */
  201. function fGetSpcStatList() {
  202. var sPtNoFrom = model.getValue("/root/init/ptnofrom");
  203. var sPtNoTo = model.getValue("/root/init/ptnoto");
  204. var sFromDD = model.getValue("/root/init/acptfromdd");
  205. var sToDD = model.getValue("/root/init/acpttodd");
  206. var sTemp = "";
  207. //--------------------------------
  208. model.removeNodeset("/root/send");
  209. model.removeNodeset("/root/main/acptspc/acptspclist");
  210. model.removeNodeset("/root/main/acptspc/spccntinfo");
  211. //------------------------------------------------
  212. if (model.getValue("/root/init/ptnocode") != "") {
  213. //------------------------------------------------
  214. if (model.getValue("/root/init/fromyear") == "") {
  215. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  216. } else {
  217. sTemp = model.getValue("/root/init/fromyear");
  218. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  219. }
  220. //----------------------------------------------
  221. if (model.getValue("/root/init/toyear") == "") {
  222. model.makeValue("/root/init/toyear", sToDD.substr(2,2));
  223. } else {
  224. sTemp = model.getValue("/root/init/toyear");
  225. model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
  226. }
  227. //------------------------------------------------
  228. if (model.getValue("/root/init/fromptno") == "") {
  229. model.makeValue("/root/init/fromptno", "000000");
  230. } else {
  231. sTemp = model.getValue("/root/init/fromptno");
  232. model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
  233. }
  234. //----------------------------------------------
  235. if (model.getValue("/root/init/toptno") == "") {
  236. model.makeValue("/root/init/toptno", "999999");
  237. } else {
  238. sTemp = model.getValue("/root/init/toptno");
  239. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  240. }
  241. }
  242. //--------------------------------------------
  243. sTemp = model.getValue("/root/init/ptnocode");
  244. //---------------------------------------------------------------------
  245. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  246. model.makeValue("/root/send/refmthd", model.getValue("/root/init/refmthd"));
  247. model.makeValue("/root/send/refval", model.getValue("/root/init/refval"));
  248. model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
  249. model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
  250. model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  251. model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  252. model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  253. model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
  254. model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  255. //-------------------
  256. submit("TRLPP01101");
  257. //-----------------------------------------------
  258. // 조회결과가 1건일 경우 상세상태를 자동으로 표시
  259. if (getNodesetCount("/root/main/acptspc/acptspclist") == 1) {
  260. fGetSpcDeltStat(1);
  261. }
  262. }
  263. /* @group : 검사진행현황
  264. * @ver : 2008.08.19 (CMCDEV-0001)
  265. * @by : 유동철(ACK)
  266. * @-----------------------------------
  267. * @type : function
  268. * @access : public
  269. * @desc : 검체별 상세상태 조회 함수
  270. */
  271. function fGetSpcDeltStat(pRowNo) {
  272. var bState = false;
  273. var sSrcNode = "/root/main/detlstat/detlstatinfo";
  274. var iMaxRowCnt = 0;
  275. model.removeNodeset("/root/send");
  276. //----------------------------------------------------------------------------------------------------------------
  277. model.makeValue("/root/send/instcd", model.getValue("/root/main/acptspc/acptspclist["+pRowNo+"]/instcd"));
  278. model.makeValue("/root/send/pid", model.getValue("/root/main/acptspc/acptspclist["+pRowNo+"]/pid"));
  279. model.makeValue("/root/send/prcpdd", model.getValue("/root/main/acptspc/acptspclist["+pRowNo+"]/prcpdd"));
  280. model.makeValue("/root/send/execprcpuniqno", model.getValue("/root/main/acptspc/acptspclist["+pRowNo+"]/execprcpuniqno"));
  281. model.makeValue("/root/send/spcbarcdno", model.getValue("/root/main/acptspc/acptspclist["+pRowNo+"]/spcbarcdno"));
  282. //--------------------------
  283. submit("TRLPP01102", false);
  284. //-------------------------------------
  285. iMaxRowCnt = getNodesetCount(sSrcNode);
  286. //-------------------
  287. fExeCtrlInitialize();
  288. for (var iNo=1; iNo <= Number(iMaxRowCnt); iNo++) {
  289. //----------------------
  290. if (iNo == iMaxRowCnt) {
  291. bState = true;
  292. } else {
  293. bState = false;
  294. }
  295. //--------------------------------------------------------
  296. switch (model.getValue(sSrcNode+"["+iNo+"]/tretflagcd")) {
  297. //------------
  298. // 바코드 출력
  299. case "400" :
  300. break;
  301. //--------------
  302. // 채취일자 등록
  303. case "410" :
  304. fExeStatChange(sSrcNode+"["+iNo+"]", rect_stat1, cap_cnts1, bState);
  305. break;
  306. //----------------
  307. // 병리과 수신확인
  308. case "420" :
  309. fExeStatChange(sSrcNode+"["+iNo+"]", rect_stat2, cap_cnts2, bState);
  310. break;
  311. //---------
  312. // 검체접수 / 검사중 -- 2009.12.18 황삼노 샘 , 접수할때 검사중까지 하도록 요청함
  313. case "430" :
  314. fExeStatChange(sSrcNode+"["+iNo+"]", rect_stat3, cap_cnts3, false);
  315. fExeStatChange(sSrcNode+"["+iNo+"]", rect_stat7, cap_cnts7, bState);
  316. break;
  317. //-------------------------
  318. // 검사중
  319. case "510" :
  320. if(bState){
  321. if (cap_cnts7.text != ""){
  322. rect_stat7.attribute("background-color") = "#ff0000";
  323. }
  324. }
  325. break;
  326. //-------------------------
  327. // 판독중
  328. case "700" :
  329. fExeStatChange(sSrcNode+"["+iNo+"]", rect_stat4, cap_cnts4, bState);
  330. break;
  331. //--------------
  332. // 예비결과 등록
  333. case "710" :
  334. if(bState){
  335. if(cap_cnts4.text != ""){
  336. rect_stat4.attribute("background-color") = "#ff0000";
  337. }else if (cap_cnts7.text != ""){
  338. rect_stat7.attribute("background-color") = "#ff0000";
  339. }
  340. }
  341. break;
  342. //--------------
  343. // 최종진단 등록
  344. case "730" :
  345. fExeStatChange(sSrcNode+"["+iNo+"]", rect_stat5, cap_cnts5, bState);
  346. break;
  347. //--------------
  348. // 수정진단 등록
  349. case "740" :
  350. fExeStatChange(sSrcNode+"["+iNo+"]", rect_stat6, cap_cnts6, bState);
  351. break;
  352. }
  353. }
  354. //--------------
  355. model.refresh();
  356. }
  357. /* @group : 검사진행현황
  358. * @ver : 2008.08.19 (CMCDEV-0001)
  359. * @by : 유동철(ACK)
  360. * @-----------------------------------
  361. * @type : function
  362. * @access : public
  363. * @desc : 검체상태 변경 처리 함수
  364. */
  365. function fExeStatChange(pNode, objCtrl1, objCtrl2, pState) {
  366. var sMsg = "";
  367. sMsg += "시행일자 : " + model.getValue(pNode+"/tretdd") + "\n";
  368. sMsg += "시행시간 : " + model.getValue(pNode+"/trettm") + " \n";
  369. sMsg += "시 행 자 : " + model.getValue(pNode+"/tretpsnnm");
  370. //-----------
  371. if (pState) {
  372. objCtrl1.attribute("background-color") = "#ff0000";
  373. } else {
  374. objCtrl1.attribute("background-color") = "#33cccc";
  375. }
  376. //-------------------
  377. objCtrl2.text = sMsg;
  378. //-----------------
  379. objCtrl1.refresh();
  380. objCtrl2.refresh();
  381. }
  382. /* @group : 검사진행현황
  383. * @ver : 2008.08.19 (CMCDEV-0001)
  384. * @by : 유동철(ACK)
  385. * @-----------------------------------
  386. * @type : function
  387. * @access : public
  388. * @desc : 검체상태 Control초기화처리 함수
  389. */
  390. function fExeCtrlInitialize() {
  391. rect_stat1.attribute("background-color") = "#fffbf2";
  392. cap_stat1.text = "검체전달(A)";
  393. cap_cnts1.text = "";
  394. rect_stat2.attribute("background-color") = "#fffbf2";
  395. cap_stat2.text = "병리과 수신(B)";
  396. cap_cnts2.text = "";
  397. rect_stat3.attribute("background-color") = "#fffbf2";
  398. cap_stat3.text = "검체접수(C)";
  399. cap_cnts3.text = "";
  400. rect_stat7.attribute("background-color") = "#fffbf2";
  401. cap_stat7.text = "검사중(D)";
  402. cap_cnts7.text = "";
  403. rect_stat4.attribute("background-color") = "#fffbf2";
  404. cap_stat4.text = "판독중(E)";
  405. cap_cnts4.text = "";
  406. rect_stat5.attribute("background-color") = "#fffbf2";
  407. cap_stat5.text = "최종진단(F)";
  408. cap_cnts5.text = "";
  409. rect_stat6.attribute("background-color") = "#fffbf2";
  410. cap_stat6.text = "수정진단(G)";
  411. cap_cnts6.text = "";
  412. }
  413. /* @group : 검사진행현황
  414. * @ver : 2008.08.19 (CMCDEV-0001)
  415. * @by : 유동철(ACK)
  416. * @-----------------------------------
  417. * @type : function
  418. * @access : public
  419. * @desc : 엑셀저장함수
  420. */
  421. function fExeSaveToExcel() {
  422. grd_acptspclist.saveExcel("C:\\SMLPP01100_검사진행현황.xls", "검사진행현황", false, true);
  423. }
  424. /* @group : 검사진행현황
  425. * @ver : 2008.08.20 (CMCDEV-0001)
  426. * @by : 유동철(ACK)
  427. * @-----------------------------------
  428. * @type : function
  429. * @access : public
  430. * @desc : 검체접수목록 클릭 처리 함수
  431. */
  432. function fExeAcptSpcClick() {
  433. if(grd_acptspclist.row > 0 && grd_acptspclist.isCell(event.target) && grd_acptspclist.row >= grd_acptspclist.fixedRows) {
  434. fGetSpcDeltStat(grd_acptspclist.row);
  435. }
  436. }
  437. /* @group : 검사진행현황
  438. * @ver : 2008.08.20 (CMCDEV-0001)
  439. * @by : 유동철(ACK)
  440. * @-----------------------------------
  441. * @type : function
  442. * @access : public
  443. * @desc : 검체접수목록 클릭 처리 함수
  444. */
  445. function fExeAcptDetlStat() {
  446. model.removeNodeset("/root/send");
  447. model.makeValue("/root/send/instcd", model.getValue("/root/main/acptspc/acptspclist["+grd_acptspclist.row+"]/instcd"));
  448. model.makeValue("/root/send/pid", model.getValue("/root/main/acptspc/acptspclist["+grd_acptspclist.row+"]/pid"));
  449. model.makeValue("/root/send/prcpdd", model.getValue("/root/main/acptspc/acptspclist["+grd_acptspclist.row+"]/prcpdd"));
  450. model.makeValue("/root/send/spcbarcdno", model.getValue("/root/main/acptspc/acptspclist["+grd_acptspclist.row+"]/spcbarcdno"));
  451. model.makeValue("/root/send/execprcpuniqno", model.getValue("/root/main/acptspc/acptspclist["+grd_acptspclist.row+"]/execprcpuniqno"));
  452. //------------------------------------------------------------------
  453. modal("SPLPP01200","","","","", "/root/send", "/root/init", "", "");
  454. //modal(id,monNo,xPos,yPos,wid,ref,resultref,userProp,prevPos)
  455. }
  456. /* @group : 검사진행현황()
  457. * @ver : 2009.12.18 (CMCDEV-0001)
  458. * @by : 박상환(평화이즈)
  459. * @-----------------------------------
  460. * @type : function
  461. * @access : public
  462. * @desc : 통합결과조회 화면호출
  463. */
  464. function fExePopupCallSytsRslt() {
  465. //-------------------
  466. // 환자 상단정보 표시
  467. if (model.getValue("/root/main/acptspc/acptspclist["+grd_acptspclist.row+"]/execprcpuniqno") == "") {
  468. // Continue
  469. } else {
  470. lpzfExeTopInfoDisp(model.getValue("/root/main/acptspc/acptspclist["+grd_acptspclist.row+"]/prcpdd"),
  471. model.getValue("/root/main/acptspc/acptspclist["+grd_acptspclist.row+"]/execprcpuniqno"),
  472. model.getValue("/root/main/acptspc/acptspclist["+grd_acptspclist.row+"]/instcd"));
  473. //상단정보를 이용하여 통합결과 조회 조회
  474. modal("SMAER00800");
  475. }
  476. }
  477. ]]>
  478. </script>
  479. </xhtml:head>
  480. <xhtml:body guideline="2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  481. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  482. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">검사진행현황</caption>
  483. </group>
  484. <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  485. <caption id="caption3" class="tit_2" style="left:5px; top:54; width:111px; height:13px; ">검사진행상황</caption>
  486. <line id="line2" class="line_1" style="x1:1px; y1:69px; x2:1195px; y2:69px; "/>
  487. <caption id="caption2" class="tit_2" style="left:5px; top:240px; width:140px; height:13px; ">검체접수목록</caption>
  488. <line id="line3" class="line_1" style="x1:0px; y1:255px; x2:1194px; y2:255px; "/>
  489. <group id="grp_sea" style="left:0px; top:10px; width:1194; height:35; vertical-align:top; ">
  490. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194; height:35; background-color:#fffbf2; border-color:#ffd799; "/>
  491. <caption id="caption1" class="search_name" style="left:768px; top:9px; width:90px; height:17px; ">검색조건 :</caption>
  492. <button id="button1" class="btn1_letter2" navindex="10" style="left:1123; top:7; width:56px; height:22px; ">
  493. <caption>조회</caption>
  494. <script type="javascript" ev:event="DOMActivate">
  495. <![CDATA[
  496. fGetSpcStatList();
  497. ]]>
  498. </script>
  499. </button>
  500. <line id="line1" class="line_4" style="x1:1107; y1:7; x2:1107; y2:29; border-color:#ffe4bb; border-left-style:solid; "/>
  501. <caption id="caption10" class="search_name" style="left:427px; top:9px; width:90px; height:17px; ">접수일자 :</caption>
  502. <caption id="caption11" class="search_n_b" style="left:623px; top:10px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  503. <select1 id="cmb_refflagcd" ref="/root/init/refmthd" class="combo_search" navindex="8" appearance="minimal" style="left:861px; top:8px; width:112px; height:19px; text-align:center; ">
  504. <choices>
  505. <item>
  506. <label>바코드번호</label>
  507. <value>0</value>
  508. </item>
  509. <item>
  510. <label>등록번호</label>
  511. <value>1</value>
  512. </item>
  513. </choices>
  514. </select1>
  515. <input id="ipt_refval" ref="/root/init/refval" class="input_search" navindex="9" style="left:976px; top:8px; width:115px; height:19px; ">
  516. <script type="javascript" ev:event="onkeypress">
  517. <![CDATA[
  518. fExeRefValInpt();
  519. ]]>
  520. </script>
  521. </input>
  522. <input id="ipt_acptfromdd" ref="/root/init/acptfromdd" class="input_s_essential" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:520px; top:8px; width:100px; height:19px; ">
  523. <script type="javascript" ev:event="xforms-value-changed">
  524. <![CDATA[
  525. lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
  526. ]]>
  527. </script>
  528. </input>
  529. <input id="ipt_acpttodd" ref="/root/init/acpttodd" class="input_s_essential" navindex="7" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:637px; top:8px; width:100px; height:19px; ">
  530. <script type="javascript" ev:event="xforms-value-changed">
  531. <![CDATA[
  532. lpzfExeDateChange(ipt_toyear, "/root/init/acpttodd", "/root/init/toyear");
  533. ]]>
  534. </script>
  535. </input>
  536. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:113px; top:8px; width:91px; height:19px; ">
  537. <choices>
  538. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  539. <label ref="ptnonm"/>
  540. <value ref="ptnocd"/>
  541. </itemset>
  542. </choices>
  543. </select1>
  544. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:237px; top:8px; width:50px; height:19px; "/>
  545. <caption id="caption4" class="search_name" style="left:19px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
  546. <caption id="caption5" class="search_no_b" style="left:290px; top:8px; width:12px; height:17px; ">~</caption>
  547. <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:335px; top:8px; width:50px; height:19px; "/>
  548. <input id="ipt_toyear" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:305px; top:8px; width:27px; height:19px; "/>
  549. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:207px; top:8px; width:27px; height:19px; "/>
  550. </group>
  551. <shape id="rect_stat1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:74px; width:150px; height:30px; "/>
  552. <shape id="rect_stat2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:173px; top:74px; width:150px; height:30px; "/>
  553. <caption id="caption13" class="tit_2" style="left:5px; top:188px; width:111px; height:14px; ">검체현황</caption>
  554. <line id="line4" class="line_1" style="x1:1px; y1:203px; x2:1195px; y2:203px; "/>
  555. <caption id="caption31" class="cell_1" style="left:0; top:208px; width:85px; height:23px; vertical-align:middle; ">검체전달</caption>
  556. <output id="opt_spctran" ref="/root/main/acptspc/spccntinfo/trancnt" class="output_fix" format="#,###,###" style="left:88; top:209px; width:109; height:19px; font-weight:bold; text-align:right; vertical-align:middle; "/>
  557. <caption id="caption14" class="cell_1" style="left:200px; top:208px; width:85px; height:23px; vertical-align:middle; ">병리과 수신</caption>
  558. <output id="opt_spcrecv" ref="/root/main/acptspc/spccntinfo/recvcnt" class="output_fix" format="#,###,###" style="left:288; top:209px; width:108; height:19px; font-weight:bold; text-align:right; vertical-align:middle; "/>
  559. <caption id="caption15" class="cell_1" style="left:399px; top:208px; width:85px; height:23px; vertical-align:middle; ">검체접수</caption>
  560. <output id="opt_spcacpt" ref="/root/main/acptspc/spccntinfo/acptcnt" class="output_fix" format="#,###,###" style="left:487; top:209px; width:108; height:19px; font-weight:bold; text-align:right; vertical-align:middle; "/>
  561. <caption id="caption17" class="cell_1" style="left:807px; top:208px; width:85px; height:23px; vertical-align:middle; ">총 환자수</caption>
  562. <output id="opt_totalpat" ref="/root/main/acptspc/spccntinfo/patcnt" class="output_fix" format="#,###,###" style="left:895; top:209px; width:108; height:19px; font-weight:bold; text-align:right; vertical-align:middle; "/>
  563. <caption id="caption18" class="cell_1" style="left:1006px; top:208px; width:85px; height:23px; vertical-align:middle; ">총 검사수</caption>
  564. <output id="opt_totalspc" ref="/root/main/acptspc/spccntinfo/testcnt" class="output_fix" format="#,###,###" style="left:1095px; top:209px; width:100px; height:19px; font-weight:bold; text-align:right; vertical-align:middle; "/>
  565. <line id="line5" class="line_3" style="x1:0px; y1:230px; x2:1194px; y2:230px; "/>
  566. <caption id="cap_stat1" style="left:5px; top:80px; width:140px; height:20px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; ">검체전달(A)</caption>
  567. <caption id="cap_stat2" style="left:177px; top:80px; width:140px; height:20px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; ">병리과 수신(B)</caption>
  568. <shape id="rect_stat3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:346px; top:74px; width:150px; height:30px; background-color:#fffbf2; "/>
  569. <caption id="cap_stat3" style="left:351px; top:80px; width:140px; height:20px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; ">검체접수(C)</caption>
  570. <shape id="rect_stat4" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:692px; top:74px; width:150px; height:30px; "/>
  571. <caption id="cap_stat4" style="left:698px; top:80px; width:140px; height:20px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; ">판독중(E)</caption>
  572. <shape id="rect_stat5" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:865px; top:74px; width:150px; height:30px; "/>
  573. <caption id="cap_stat5" style="left:871px; top:80px; width:140px; height:20px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; ">
  574. <![CDATA[최종진단(F)]]>
  575. <script type="javascript" ev:event="ondblclick">
  576. <![CDATA[
  577. fExePopupCallSytsRslt();
  578. ]]>
  579. </script>
  580. </caption>
  581. <shape id="rect_stat6" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:1038px; top:74px; width:150px; height:30px; "/>
  582. <caption id="cap_stat6" style="left:1043px; top:80px; width:140px; height:20px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; ">
  583. <![CDATA[추가진단(G)]]>
  584. <script type="javascript" ev:event="ondblclick">
  585. <![CDATA[
  586. fExePopupCallSytsRslt();
  587. ]]>
  588. </script>
  589. </caption>
  590. <datagrid id="grd_acptspclist" nodeset="/root/main/acptspc/acptspclist" caption="상태^바코드번호^기관코드^ptno^병리번호^육안검사의^등록번호^환자명^검체명^환자구분^진료과^진료의사^처방일자^처방시간^출력일자^출력시간^채취일자^채취시간^수신일자^수신시간^접수일자^접수시간^검사코드^처방명^처방의^진료과^판독일자^판독의사^execprcpuniqno^prcpgenrflag" colsep="^" colwidth="30, 85, 0, 0, 80, 70, 70, 70, 100, 0, 0, 0, 70, 60, 70, 60, 70, 60, 70, 60, 70, 60, 76, 140, 60, 50, 70, 79, 0, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:260px; width:1194px; height:483; ">
  591. <col ref="spcstatnm"/>
  592. <col ref="spcbarcdno" visibility="hidden"/>
  593. <col ref="instcd"/>
  594. <col ref="ptno"/>
  595. <col ref="dispptno"/>
  596. <col class="text_center" ref="grosdrnm"/>
  597. <col class="text_center" ref="pid"/>
  598. <col class="text_center" ref="patnm"/>
  599. <col class="text_center" ref="spcnm"/>
  600. <col class="text_center" ref="patflagnm"/>
  601. <col ref="orddeptnm_1"/>
  602. <col ref="orddrid"/>
  603. <col class="text_center" ref="prcpdd" type="output" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  604. <col class="text_center" ref="prcptm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  605. <col class="text_center" ref="trandd" visibility="hidden" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  606. <col class="text_center" ref="trantm" visibility="hidden" format="hh:nn:ss" mask="exclude" showmask="true"/>
  607. <col class="text_center" ref="delivedd" visibility="hidden" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  608. <col class="text_center" ref="delivetm" visibility="hidden" format="hh:nn:ss" mask="exclude" showmask="true"/>
  609. <col class="text_center" ref="cnfmdd" visibility="hidden" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  610. <col class="text_center" ref="cnfmtm" visibility="hidden" format="hh:nn:ss" mask="exclude" showmask="true"/>
  611. <col class="text_center" ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  612. <col class="text_center" ref="acpttm" format="hh:nn:ss" mask="exclude" showmask="true"/>
  613. <col ref="testcd"/>
  614. <col ref="testnm" type="output"/>
  615. <col class="text_center" ref="orddrnm" type="output"/>
  616. <col class="text_center" ref="orddeptnm" type="output"/>
  617. <col ref="readdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  618. <col ref="readdrnm"/>
  619. <col ref="execprcpuniqno"/>
  620. <col ref="prcpgenrflag"/>
  621. <script type="javascript" ev:event="onclick">
  622. <![CDATA[
  623. fExeAcptSpcClick();
  624. ]]>
  625. </script>
  626. <script type="javascript" ev:event="onmousedown">
  627. <![CDATA[
  628. setPopupMenu("grd_acptspclist", false, "/root/init/popupmenu/item", "nm", "funt");
  629. ]]>
  630. </script>
  631. <script type="javascript" ev:event="DOMFocusOut">
  632. <![CDATA[
  633. initPopupMenu();
  634. ]]>
  635. </script>
  636. </datagrid>
  637. <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:105px; width:150px; height:74px; "/>
  638. <caption id="cap_cnts1" style="left:5px; top:110px; width:140px; height:65px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; "/>
  639. <shape id="roundrect3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:173px; top:105px; width:150px; height:74px; "/>
  640. <shape id="roundrect4" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:346px; top:105px; width:150px; height:74px; "/>
  641. <shape id="roundrect5" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:692px; top:105px; width:150px; height:74px; "/>
  642. <shape id="roundrect6" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:865px; top:105px; width:150px; height:74px; "/>
  643. <shape id="roundrect7" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:1038px; top:105px; width:150px; height:74px; "/>
  644. <caption id="cap_cnts2" style="left:177px; top:110px; width:140px; height:65px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; "/>
  645. <caption id="cap_cnts3" style="left:351px; top:110px; width:140px; height:65px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; "/>
  646. <caption id="cap_cnts4" style="left:698px; top:110px; width:140px; height:65px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; "/>
  647. <caption id="cap_cnts5" style="left:871px; top:110px; width:140px; height:65px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; ">
  648. <script type="javascript" ev:event="ondblclick">
  649. <![CDATA[
  650. fExePopupCallSytsRslt();
  651. ]]>
  652. </script>
  653. </caption>
  654. <caption id="cap_cnts6" style="left:1043px; top:110px; width:140px; height:65px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; ">
  655. <script type="javascript" ev:event="ondblclick">
  656. <![CDATA[
  657. fExePopupCallSytsRslt();
  658. ]]>
  659. </script>
  660. </caption>
  661. <shape id="roundrect8" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:519px; top:105px; width:150px; height:74px; "/>
  662. <shape id="rect_stat7" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:519px; top:74px; width:150px; height:30px; "/>
  663. <caption id="cap_stat7" style="left:525px; top:80px; width:140px; height:20px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; ">검사중(D)</caption>
  664. <button id="button102" class="icon_left" style="left:105px; top:235px; width:26px; height:19px; ">
  665. <caption/>
  666. <script type="javascript" ev:event="onclick">
  667. <![CDATA[
  668. grd_acptspclist.colHidden(grd_acptspclist.colRef("spcbarcdno")) = true;
  669. grd_acptspclist.colHidden(grd_acptspclist.colRef("trandd")) = true;
  670. grd_acptspclist.colHidden(grd_acptspclist.colRef("trantm")) = true;
  671. grd_acptspclist.colHidden(grd_acptspclist.colRef("delivedd")) = true;
  672. grd_acptspclist.colHidden(grd_acptspclist.colRef("delivetm")) = true;
  673. grd_acptspclist.colHidden(grd_acptspclist.colRef("cnfmdd")) = true;
  674. grd_acptspclist.colHidden(grd_acptspclist.colRef("cnfmtm")) = true;
  675. grd_acptspclist.refresh();
  676. ]]>
  677. </script>
  678. </button>
  679. <caption id="cap_cnts7" style="left:525px; top:110px; width:140px; height:65px; font-family:굴림체; font-size:9pt; font-weight:bold; text-align:center; vertical-align:middle; "/>
  680. <button id="button103" class="icon_right" style="left:132px; top:235px; width:26px; height:19px; ">
  681. <caption/>
  682. <script type="javascript" ev:event="onclick">
  683. <![CDATA[
  684. grd_acptspclist.colHidden(grd_acptspclist.colRef("spcbarcdno")) = false;
  685. grd_acptspclist.colHidden(grd_acptspclist.colRef("trandd")) = false;
  686. grd_acptspclist.colHidden(grd_acptspclist.colRef("trantm")) = false;
  687. grd_acptspclist.colHidden(grd_acptspclist.colRef("delivedd")) = false;
  688. grd_acptspclist.colHidden(grd_acptspclist.colRef("delivetm")) = false;
  689. grd_acptspclist.colHidden(grd_acptspclist.colRef("cnfmdd")) = false;
  690. grd_acptspclist.colHidden(grd_acptspclist.colRef("cnfmtm")) = false;
  691. grd_acptspclist.refresh();
  692. ]]>
  693. </script>
  694. </button>
  695. </group>
  696. <group id="grp_btn" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  697. <button id="button13" class="btn6_letter5" style="left:5px; top:3px; width:92px; height:22px; ">
  698. <caption>EXCEL저장</caption>
  699. <script type="javascript" ev:event="DOMActivate">
  700. <![CDATA[
  701. fExeSaveToExcel();
  702. ]]>
  703. </script>
  704. </button>
  705. <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  706. </group>
  707. </xhtml:body>
  708. </xhtml:html>