SMLPR01200_전자현미경진행등록.xrw 52 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPR01200_전자현미경결과등록.xrw
  4. * 설 명 : 전자현미경결과등록
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.09.01
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>전자현미경 결과등록</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <moleptno>
  20. <moleptnolist>
  21. <instcd/>
  22. <ptno/>
  23. <dispptno/>
  24. <acptdd/>
  25. <pid/>
  26. <patnm/>
  27. <testcd/>
  28. <testnmlist/>
  29. </moleptnolist>
  30. </moleptno>
  31. <molerslt>
  32. <bfptnolist>
  33. <instcd/>
  34. <ptno/>
  35. <dispptno/>
  36. <rsltrgstdd/>
  37. <testrslt/>
  38. </bfptnolist>
  39. <molersltlist>
  40. <instcd/>
  41. <ptno/>
  42. <testcd/>
  43. <riskflagcd/>
  44. <itemseqno/>
  45. <item01/>
  46. <item02/>
  47. <item03/>
  48. <item04/>
  49. <item05/>
  50. <item06/>
  51. <item07/>
  52. <item08/>
  53. <item09/>
  54. <item10/>
  55. <item11/>
  56. <item12/>
  57. <item13/>
  58. <item14/>
  59. <item15/>
  60. <item16/>
  61. <item17/>
  62. <item18/>
  63. <item19/>
  64. <item20/>
  65. <testrslt01/>
  66. <testrslt02/>
  67. <testrslt03/>
  68. <testrslt04/>
  69. <testrslt05/>
  70. <testrslt06/>
  71. <testrslt07/>
  72. <testrslt08/>
  73. <testrslt09/>
  74. <testrslt10/>
  75. <testrslt11/>
  76. <testrslt12/>
  77. <testrslt13/>
  78. <testrslt14/>
  79. <testrslt15/>
  80. <testrslt16/>
  81. <testrslt17/>
  82. <testrslt18/>
  83. <testrslt19/>
  84. <testrslt20/>
  85. <testrslt/>
  86. <otherrslt/>
  87. <cmtcnts/>
  88. <rsltrgstdd/>
  89. <rsltrgstno/>
  90. <readdd/>
  91. <acptdd/>
  92. <acptno/>
  93. <acptitemno/>
  94. </molersltlist>
  95. </molerslt>
  96. <highrisk1>
  97. <molersltlist>
  98. <instcd/>
  99. <ptno/>
  100. <testcd/>
  101. <riskflagcd/>
  102. <itemseqno/>
  103. <testrslt01/>
  104. <testrslt02/>
  105. <testrslt03/>
  106. <testrslt04/>
  107. <testrslt05/>
  108. <testrslt06/>
  109. <testrslt07/>
  110. <testrslt08/>
  111. <testrslt09/>
  112. <testrslt10/>
  113. <testrslt11/>
  114. <testrslt12/>
  115. <testrslt13/>
  116. <testrslt14/>
  117. <testrslt15/>
  118. <testrslt16/>
  119. <testrslt17/>
  120. <testrslt18/>
  121. <testrslt19/>
  122. <testrslt20/>
  123. </molersltlist>
  124. </highrisk1>
  125. <highrisk2>
  126. <molersltlist>
  127. <instcd/>
  128. <ptno/>
  129. <testcd/>
  130. <riskflagcd/>
  131. <itemseqno/>
  132. <testrslt01/>
  133. <testrslt02/>
  134. <testrslt03/>
  135. <testrslt04/>
  136. <testrslt05/>
  137. <testrslt06/>
  138. <testrslt07/>
  139. <testrslt08/>
  140. <testrslt09/>
  141. <testrslt10/>
  142. <testrslt11/>
  143. <testrslt12/>
  144. <testrslt13/>
  145. <testrslt14/>
  146. <testrslt15/>
  147. <testrslt16/>
  148. <testrslt17/>
  149. <testrslt18/>
  150. <testrslt19/>
  151. <testrslt20/>
  152. </molersltlist>
  153. </highrisk2>
  154. <highrisk3>
  155. <molersltlist>
  156. <instcd/>
  157. <ptno/>
  158. <testcd/>
  159. <riskflagcd/>
  160. <itemseqno/>
  161. <testrslt01/>
  162. <testrslt02/>
  163. <testrslt03/>
  164. <testrslt04/>
  165. <testrslt05/>
  166. <testrslt06/>
  167. <testrslt07/>
  168. <testrslt08/>
  169. <testrslt09/>
  170. <testrslt10/>
  171. <testrslt11/>
  172. <testrslt12/>
  173. <testrslt13/>
  174. <testrslt14/>
  175. <testrslt15/>
  176. <testrslt16/>
  177. <testrslt17/>
  178. <testrslt18/>
  179. <testrslt19/>
  180. <testrslt20/>
  181. </molersltlist>
  182. </highrisk3>
  183. <lowrisk1>
  184. <molersltlist>
  185. <instcd/>
  186. <ptno/>
  187. <testcd/>
  188. <riskflagcd/>
  189. <itemseqno/>
  190. <testrslt01/>
  191. <testrslt02/>
  192. <testrslt03/>
  193. <testrslt04/>
  194. <testrslt05/>
  195. <testrslt06/>
  196. <testrslt07/>
  197. <testrslt08/>
  198. <testrslt09/>
  199. <testrslt10/>
  200. <testrslt11/>
  201. <testrslt12/>
  202. <testrslt13/>
  203. <testrslt14/>
  204. <testrslt15/>
  205. <testrslt16/>
  206. <testrslt17/>
  207. <testrslt18/>
  208. <testrslt19/>
  209. <testrslt20/>
  210. </molersltlist>
  211. </lowrisk1>
  212. <lowrisk2>
  213. <molersltlist>
  214. <instcd/>
  215. <ptno/>
  216. <testcd/>
  217. <riskflagcd/>
  218. <itemseqno/>
  219. <testrslt01/>
  220. <testrslt02/>
  221. <testrslt03/>
  222. <testrslt04/>
  223. <testrslt05/>
  224. <testrslt06/>
  225. <testrslt07/>
  226. <testrslt08/>
  227. <testrslt09/>
  228. <testrslt10/>
  229. <testrslt11/>
  230. <testrslt12/>
  231. <testrslt13/>
  232. <testrslt14/>
  233. <testrslt15/>
  234. <testrslt16/>
  235. <testrslt17/>
  236. <testrslt18/>
  237. <testrslt19/>
  238. <testrslt20/>
  239. </molersltlist>
  240. </lowrisk2>
  241. </main>
  242. <send/>
  243. <init>
  244. <pid/>
  245. <readdrid/>
  246. <acptfromdd/>
  247. <acpttodd/>
  248. <ptnocode/>
  249. <fromyear/>
  250. <fromptno/>
  251. <toyear/>
  252. <toptno/>
  253. <rsltflagcd>1</rsltflagcd>
  254. <sysdt>
  255. <sysdtinfo>
  256. <sysdd/>
  257. <systm/>
  258. </sysdtinfo>
  259. </sysdt>
  260. <hospenv>
  261. <hospenvinfo>
  262. <instcd/>
  263. <lendrtnterm/>
  264. <recvqualmthdcd/>
  265. <plgydeptcd/>
  266. <plgyteamcd/>
  267. <doctjobgradcd/>
  268. <teamjobgradcd/>
  269. </hospenvinfo>
  270. </hospenv>
  271. <userinfo>
  272. <userinfolist>
  273. <userid/>
  274. <usernm/>
  275. <jobkindcd/>
  276. </userinfolist>
  277. </userinfo>
  278. <ptnocd>
  279. <ptnocdlist>
  280. <instcd/>
  281. <ptnocd/>
  282. <ptnonm/>
  283. </ptnocdlist>
  284. </ptnocd>
  285. <popupmenu>
  286. <item>
  287. <nm>사진등록 사이트 연결</nm>
  288. <funt>fExeSiteCall</funt>
  289. </item>
  290. </popupmenu>
  291. </init>
  292. <hidden>
  293. </hidden>
  294. </root>
  295. </instance>
  296. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  297. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  298. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  299. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  300. <script type="javascript" ev:event="xforms-ready">
  301. <![CDATA[
  302. fExeInitialize();
  303. ]]>
  304. </script>
  305. <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
  306. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  307. <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
  308. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  309. <submission id="TRLPR00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/moleptno/moleptnolist"/>
  310. <submission id="TRLPR00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/molerslt/molersltlist"/>
  311. <submission id="TXLPR00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  312. </model>
  313. <script type="javascript">
  314. <![CDATA[
  315. /* @group : 전자현미경 상태등록
  316. * @ver : 2007.06.07 (CMCDEV-0001)
  317. * @by : 유동철(ACK)
  318. * @-----------------------------------
  319. * @type : function
  320. * @access : public
  321. * @desc : 화면초기화 함수
  322. */
  323. function fExeInitialize() {
  324. var sCurDate = "";
  325. model.removeNodeset("/root/main/moleptno/moleptnolist");
  326. model.removeNodeset("/root/main/highrisk1/molersltlist");
  327. model.removeNodeset("/root/main/highrisk2/molersltlist");
  328. model.removeNodeset("/root/main/highrisk3/molersltlist");
  329. model.removeNodeset("/root/main/lowrisk1/molersltlist");
  330. model.removeNodeset("/root/main/lowrisk2/molersltlist");
  331. //----------------
  332. // 시스템일시 조회
  333. model.removeNodeset("/root/send");
  334. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  335. submit("TRLPZ00101", false);
  336. submit("TRLPZ00102", false);
  337. submit("TRLPZ00109", false);
  338. //---------------------------------------------------------
  339. // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
  340. lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
  341. //----------------------------------------------------------------------------------
  342. model.makeValue("/root/send/userdeptcd", model.getValue("/root/hidden/userdeptcd"));
  343. model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
  344. model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
  345. submit("TRLPZ00105");
  346. //------------
  347. // 초기값 설정
  348. sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  349. model.makeValue("/root/init/pid", ""); // 등록번호
  350. model.makeValue("/root/init/readdrid", ""); // 판독의사
  351. model.makeValue("/root/init/rsltflagcd", "1"); // 결과구분(0:전체,1:미검사,2:미확인,3:결과확인)
  352. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수시작일자
  353. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수종료일자
  354. model.makeValue("/root/init/ptnocode", "E");
  355. model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
  356. model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
  357. model.makeValue("/root/init/fromptno", "");
  358. model.makeValue("/root/init/toptno", "");
  359. cmb_readdrid.disabled = false;
  360. cbo_ptnocd.disabled = false;
  361. //--------------
  362. model.refresh();
  363. }
  364. /* @group : 전자현미경 상태등록
  365. * @ver : 2007.06.07 (CMCDEV-0001)
  366. * @by : 유동철(ACK)
  367. * @-----------------------------------
  368. * @type : function
  369. * @access : public
  370. * @desc : 분자병리 접수목록 조회 함수
  371. */
  372. function fGetMolePtNoList() {
  373. var sTemp = "";
  374. var sFromDD = model.getValue("/root/init/acptfromdd");
  375. var sToDD = model.getValue("/root/init/acpttodd");
  376. //--------------------------------
  377. model.removeNodeset("/root/send");
  378. model.removeNodeset("/root/main/molerslt/bfptnolist");
  379. model.removeNodeset("/root/main/molerslt/molersltlist");
  380. model.removeNodeset("/root/main/highrisk1/molersltlist");
  381. model.removeNodeset("/root/main/highrisk2/molersltlist");
  382. model.removeNodeset("/root/main/highrisk3/molersltlist");
  383. model.removeNodeset("/root/main/lowrisk1/molersltlist");
  384. model.removeNodeset("/root/main/lowrisk2/molersltlist");
  385. //------------------------------------------------
  386. if (model.getValue("/root/init/ptnocode") != "") {
  387. //------------------------------------------------
  388. if (model.getValue("/root/init/fromyear") == "") {
  389. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  390. } else {
  391. sTemp = model.getValue("/root/init/fromyear");
  392. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  393. }
  394. //----------------------------------------------
  395. if (model.getValue("/root/init/toyear") == "") {
  396. model.makeValue("/root/init/toyear", sToDD.substr(2,2));
  397. } else {
  398. sTemp = model.getValue("/root/init/toyear");
  399. model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
  400. }
  401. //------------------------------------------------
  402. if (model.getValue("/root/init/fromptno") == "") {
  403. model.makeValue("/root/init/fromptno", "000000");
  404. } else {
  405. sTemp = model.getValue("/root/init/fromptno");
  406. model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
  407. }
  408. //----------------------------------------------
  409. if (model.getValue("/root/init/toptno") == "") {
  410. model.makeValue("/root/init/toptno", "999999");
  411. } else {
  412. sTemp = model.getValue("/root/init/toptno");
  413. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  414. }
  415. }
  416. //--------------------------------------------
  417. sTemp = model.getValue("/root/init/ptnocode");
  418. //---------------------------------------------------------------------
  419. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  420. model.makeValue("/root/send/pid", model.getValue("/root/init/pid"));
  421. model.makeValue("/root/send/ptno", model.getValue("/root/init/ptno"));
  422. model.makeValue("/root/send/readdrid", model.getValue("/root/init/readdrid"));
  423. model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
  424. model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
  425. model.makeValue("/root/send/rsltflagcd", model.getValue("/root/init/rsltflagcd"));
  426. model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  427. model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  428. model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  429. model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
  430. model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  431. model.makeValue("/root/send/workflagcd", "'1008'");
  432. model.makeValue("/root/send/bizflagcd", "E");
  433. model.makeValue("/root/send/testcdlist", "");
  434. submit("TRLPR00501");
  435. }
  436. /* @group : 전자현미경 상태등록
  437. * @ver : 2007.06.07 (CMCDEV-0001)
  438. * @by : 유동철(ACK)
  439. * @-----------------------------------
  440. * @type : function
  441. * @access : public
  442. * @desc : 전자현미경 접수목록 그리드 클릭 처리 함수
  443. */
  444. function fExePtNoGridClick(pRowNo) {
  445. if(pRowNo > 0 && grd_moleptnolist.isCell(event.target) && pRowNo >= grd_moleptnolist.fixedRows) {
  446. fExePtNoChoi(pRowNo);
  447. }
  448. }
  449. /* @group : 전자현미경 상태등록
  450. * @ver : 2008.02.22 (CMCDEV-0001)
  451. * @by : 유동철(ACK)
  452. * @-----------------------------------
  453. * @type : function
  454. * @access : public
  455. * @desc : 병리번호 선택 처리 함수
  456. */
  457. function fExePtNoChoi(pRowNo) {
  458. var iColNo = 0;
  459. var sTestCd = "";
  460. var sTestCdList = "";
  461. var vTestCd = "";
  462. var sHighTitle1 = "";
  463. var sHighTitle2 = "";
  464. var sHighTitle3 = "";
  465. var sLowTitle1 = "";
  466. var sLowTitle2 = "";
  467. var sLowTitle3 = "";
  468. var sSrcNode = "/root/main/molerslt/molersltlist";
  469. var sNode = "/root/main/moleptno/moleptnolist";
  470. //----------------------------
  471. if (pRowNo <= 0) return false;
  472. //--------------------------------------------------------------------------------------
  473. sTestCdList = model.getValue("/root/main/moleptno/moleptnolist[" + pRowNo + "]/testcd");
  474. vTestCd = sTestCdList.split("▨");
  475. //------------------------------------------------------
  476. for (var iRowNo=0; iRowNo < vTestCd.length; iRowNo++) {
  477. //-------------------------------------
  478. if (vTestCd[iRowNo].getTrim() == "") {
  479. // Continue
  480. } else {
  481. sTestCd = "'" + vTestCd[iRowNo] + "', ";
  482. }
  483. }
  484. //------------------
  485. if (sTestCd != "") {
  486. sTestCd = sTestCd.substr(0, (sTestCd.length-2));
  487. }
  488. //--------------
  489. // 상단정보 표시
  490. lpzfExeTopInfoDisp(model.getValue(sNode+"[" + pRowNo + "]/prcpdd"),
  491. model.getValue(sNode+"[" + pRowNo + "]/execprcpuniqno"),
  492. getUserInfo("dutplceinstcd"));
  493. //----------------------------------------------------
  494. model.removeNodeset("/root/main/molerslt/bfptnolist");
  495. model.removeNodeset("/root/main/molerslt/molersltlist");
  496. model.removeNodeset("/root/main/highrisk1/molersltlist");
  497. model.removeNodeset("/root/main/highrisk2/molersltlist");
  498. model.removeNodeset("/root/main/highrisk3/molersltlist");
  499. model.removeNodeset("/root/main/lowrisk1/molersltlist");
  500. model.removeNodeset("/root/main/lowrisk2/molersltlist");
  501. //-----------------------------------------------------------------
  502. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  503. model.makeValue("/root/send/pid", model.getValue(sNode+"[" + pRowNo + "]/pid"));
  504. model.makeValue("/root/send/ptno", model.getValue(sNode+"[" + pRowNo + "]/ptno"));
  505. model.makeValue("/root/send/acptdd", model.getValue(sNode+"[" + pRowNo + "]/acptdd"));
  506. model.makeValue("/root/send/testcd", sTestCd);
  507. submit("TRLPR00502");
  508. //------------------------------------------------------------------------------------------------------------
  509. copyNodeListType("/root/main/highrisk1", "/root/main/molerslt/molersltlist[riskflagcd='0' and itemseqno='1']");
  510. copyNodeListType("/root/main/highrisk2", "/root/main/molerslt/molersltlist[riskflagcd='0' and itemseqno='2']");
  511. copyNodeListType("/root/main/highrisk3", "/root/main/molerslt/molersltlist[riskflagcd='0' and itemseqno='3']");
  512. copyNodeListType("/root/main/lowrisk1", "/root/main/molerslt/molersltlist[riskflagcd='1' and itemseqno='1']");
  513. copyNodeListType("/root/main/lowrisk2", "/root/main/molerslt/molersltlist[riskflagcd='1' and itemseqno='2']");
  514. //--------------------------------------------------------
  515. sHighTitle1 += "instcd^ptno^testcd^riskflagcd^itemseqno^";
  516. sHighTitle2 = sHighTitle1;
  517. sHighTitle3 = sHighTitle1;
  518. sLowTitle1 = sHighTitle1;
  519. sLowTitle2 = sHighTitle1;
  520. //------------------------------------------
  521. for (var iRowNo=1; iRowNo <= 10; iRowNo++) {
  522. sHighTitle1 += model.getValue("/root/main/highrisk1/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) + "^";
  523. sHighTitle2 += model.getValue("/root/main/highrisk2/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) + "^";
  524. sHighTitle3 += model.getValue("/root/main/highrisk3/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) + "^";
  525. sLowTitle1 += model.getValue("/root/main/lowrisk1/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) + "^";
  526. sLowTitle2 += model.getValue("/root/main/lowrisk2/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) + "^";
  527. //--------------------------
  528. iColNo = Number(iRowNo) + 4;
  529. //------------------------------------------------------------------------------------------------------------
  530. if (model.getValue("/root/main/highrisk1/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) == "") {
  531. grd_hrgntype1.colHidden(iColNo) = true;
  532. grd_hrgntype1.colWidth(iColNo) = 0;
  533. } else if (model.getValue("/root/main/highrisk1/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) == "comment") {
  534. grd_hrgntype1.colHidden(iColNo) = false;
  535. grd_hrgntype1.colWidth(iColNo) = 200;
  536. grd_hrgntype1.colType(iColNo) = "input";
  537. } else {
  538. grd_hrgntype1.colHidden(iColNo) = false;
  539. grd_hrgntype1.colWidth(iColNo) = 70;
  540. grd_hrgntype1.colType(iColNo) = "checkbox";
  541. grd_hrgntype1.colAttribute(iColNo, "checkvalue") = "1,0";
  542. //-------------------------------------------------------------------------------------------------------------
  543. if (model.getValue("/root/main/highrisk1/molersltlist/testrslt" + (iRowNo).toString().getLeftPad(2, "0")) != "1") {
  544. model.setValue("/root/main/highrisk1/molersltlist/testrslt" + (iRowNo).toString().getLeftPad(2, "0"), "0");
  545. }
  546. }
  547. //------------------------------------------------------------------------------------------------------------
  548. if (model.getValue("/root/main/highrisk2/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) == "") {
  549. grd_hrgntype2.colHidden(iColNo) = true;
  550. grd_hrgntype2.colWidth(iColNo) = 0;
  551. } else if (model.getValue("/root/main/highrisk2/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) == "comment") {
  552. grd_hrgntype2.colHidden(iColNo) = false;
  553. grd_hrgntype2.colWidth(iColNo) = 200;
  554. grd_hrgntype2.colType(iColNo) = "input";
  555. } else {
  556. grd_hrgntype2.colHidden(iColNo) = false;
  557. grd_hrgntype2.colWidth(iColNo) = 70;
  558. grd_hrgntype2.colType(iColNo) = "checkbox";
  559. grd_hrgntype2.colAttribute(iColNo, "checkvalue") = "1,0";
  560. //-------------------------------------------------------------------------------------------------------------
  561. if (model.getValue("/root/main/highrisk2/molersltlist/testrslt" + (iRowNo).toString().getLeftPad(2, "0")) != "1") {
  562. model.setValue("/root/main/highrisk2/molersltlist/testrslt" + (iRowNo).toString().getLeftPad(2, "0"), "0");
  563. }
  564. }
  565. //------------------------------------------------------------------------------------------------------------
  566. if (model.getValue("/root/main/highrisk3/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) == "") {
  567. grd_hrgntype3.colHidden(iColNo) = true;
  568. grd_hrgntype3.colWidth(iColNo) = 0;
  569. } else if (model.getValue("/root/main/highrisk3/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) == "comment") {
  570. grd_hrgntype3.colHidden(iColNo) = false;
  571. grd_hrgntype3.colWidth(iColNo) = 200;
  572. grd_hrgntype3.colType(iColNo) = "input";
  573. } else {
  574. grd_hrgntype3.colHidden(iColNo) = false;
  575. grd_hrgntype3.colWidth(iColNo) = 70;
  576. grd_hrgntype3.colType(iColNo) = "checkbox";
  577. grd_hrgntype3.colAttribute(iColNo, "checkvalue") = "1,0";
  578. //-------------------------------------------------------------------------------------------------------------
  579. if (model.getValue("/root/main/highrisk3/molersltlist/testrslt" + (iRowNo).toString().getLeftPad(2, "0")) != "1") {
  580. model.setValue("/root/main/highrisk3/molersltlist/testrslt" + (iRowNo).toString().getLeftPad(2, "0"), "0");
  581. }
  582. }
  583. if (model.getValue("/root/main/lowrisk1/molersltlist/item"+(iRowNo).toString().getLeftPad(2, "0")) == "") {
  584. grd_lrgntype1.colHidden(iColNo) = true;
  585. grd_lrgntype1.colWidth(iColNo) = 0;
  586. } else if (model.getValue("/root/main/lowrisk1/molersltlist/item"+(iRowNo).toString().getLeftPad(2, "0")) == "comment") {
  587. grd_lrgntype1.colHidden(iColNo) = false;
  588. grd_lrgntype1.colWidth(iColNo) = 200;
  589. grd_lrgntype1.colType(iColNo) = "input";
  590. } else {
  591. grd_lrgntype1.colHidden(iColNo) = false;
  592. grd_lrgntype1.colWidth(iColNo) = 70;
  593. grd_lrgntype1.colType(iColNo) = "checkbox";
  594. grd_lrgntype1.colAttribute(iColNo, "checkvalue") = "1,0";
  595. //-------------------------------------------------------------------------------------------------------------
  596. if (model.getValue("/root/main/lowrisk1/molersltlist/testrslt" + (iRowNo).toString().getLeftPad(2, "0")) != "1") {
  597. model.setValue("/root/main/lowrisk1/molersltlist/testrslt" + (iRowNo).toString().getLeftPad(2, "0"), "0");
  598. }
  599. }
  600. if (model.getValue("/root/main/lowrisk2/molersltlist/item"+(iRowNo).toString().getLeftPad(2, "0")) == "") {
  601. grd_lrgntype2.colHidden(iColNo) = true;
  602. grd_lrgntype2.colWidth(iColNo) = 0;
  603. } else if (model.getValue("/root/main/lowrisk2/molersltlist/item"+(iRowNo).toString().getLeftPad(2, "0")) == "comment") {
  604. grd_lrgntype2.colHidden(iColNo) = false;
  605. grd_lrgntype2.colWidth(iColNo) = 200;
  606. grd_lrgntype2.colType(iColNo) = "input";
  607. } else {
  608. grd_lrgntype2.colHidden(iColNo) = false;
  609. grd_lrgntype2.colWidth(iColNo) = 70;
  610. grd_lrgntype2.colType(iColNo) = "checkbox";
  611. grd_lrgntype2.colAttribute(iColNo, "checkvalue") = "1,0";
  612. //-------------------------------------------------------------------------------------------------------------
  613. if (model.getValue("/root/main/lowrisk2/molersltlist/testrslt" + (iRowNo).toString().getLeftPad(2, "0")) != "1") {
  614. model.setValue("/root/main/lowrisk2/molersltlist/testrslt" + (iRowNo).toString().getLeftPad(2, "0"), "0");
  615. }
  616. }
  617. }
  618. //-----------------
  619. // 그리드 Title설정
  620. grd_hrgntype1.caption = sHighTitle1.substr(0, (sHighTitle1.length-1));
  621. grd_hrgntype2.caption = sHighTitle2.substr(0, (sHighTitle2.length-1));
  622. grd_hrgntype3.caption = sHighTitle3.substr(0, (sHighTitle3.length-1));
  623. grd_lrgntype1.caption = sLowTitle1.substr(0, (sLowTitle1.length-2));
  624. grd_lrgntype2.caption = sLowTitle2.substr(0, (sLowTitle2.length-2));
  625. //-------------------------------------------------------------
  626. if (getNodesetCount("/root/main/highrisk1/molersltlist") > 0) {
  627. grd_hrgntype1.attribute("visibility") = "visible";
  628. } else {
  629. grd_hrgntype1.attribute("visibility") = "hidden";
  630. }
  631. //-------------------------------------------------------------
  632. if (getNodesetCount("/root/main/highrisk2/molersltlist") > 0) {
  633. grd_hrgntype2.attribute("visibility") = "visible";
  634. } else {
  635. grd_hrgntype2.attribute("visibility") = "hidden";
  636. }
  637. //-------------------------------------------------------------
  638. if (getNodesetCount("/root/main/highrisk3/molersltlist") > 0) {
  639. grd_hrgntype3.attribute("visibility") = "visible";
  640. } else {
  641. grd_hrgntype3.attribute("visibility") = "hidden";
  642. }
  643. //------------------------------------------------------------
  644. if (getNodesetCount("/root/main/lowrisk1/molersltlist") > 0) {
  645. grd_lrgntype1.attribute("visibility") = "visible";
  646. } else {
  647. grd_lrgntype1.attribute("visibility") = "hidden";
  648. }
  649. //------------------------------------------------------------
  650. if (getNodesetCount("/root/main/lowrisk2/molersltlist") > 0) {
  651. grd_lrgntype2.attribute("visibility") = "visible";
  652. } else {
  653. grd_lrgntype2.attribute("visibility") = "hidden";
  654. }
  655. }
  656. /* @group : 전자현미경 상태등록
  657. * @ver : 2007.06.07 (CMCDEV-0001)
  658. * @by : 유동철(ACK)
  659. * @-----------------------------------
  660. * @type : function
  661. * @access : public
  662. * @desc : 분자병리 결과등록(사용자입력) 처리 함수
  663. */
  664. function fExeMoleRslt(pFlagCd, pColNo) {
  665. var sSrcNode = "";
  666. var sColNo = "";
  667. var sTestRslt = model.getValue("/root/main/molerslt/molersltlist/testrslt");
  668. //----------------
  669. switch (pFlagCd) {
  670. case "H1" : sSrcNode = "/root/main/highrisk1/molersltlist";
  671. break;
  672. case "H2" : sSrcNode = "/root/main/highrisk2/molersltlist";
  673. break;
  674. case "H3" : sSrcNode = "/root/main/highrisk3/molersltlist";
  675. break;
  676. case "L1" : sSrcNode = "/root/main/lowrisk1/molersltlist";
  677. break;
  678. case "L2" : sSrcNode = "/root/main/lowrisk2/molersltlist";
  679. break;
  680. default :
  681. messageBox("High/Low설정은 ", "I003");
  682. return false;
  683. }
  684. //-----------------------------------------------------------------
  685. model.makeValue("/root/main/molerslt/molersltlist/testrslt", " ");
  686. }
  687. /* @group : 전자현미경 상태등록
  688. * @ver : 2007.06.07 (CMCDEV-0001)
  689. * @by : 유동철(ACK)
  690. * @-----------------------------------
  691. * @type : function
  692. * @access : public
  693. * @desc : 분자병리 결과등록 처리 함수
  694. */
  695. function fExeRsltSave() {
  696. //--------------------------------
  697. model.removeNodeset("/root/send");
  698. //------------------------------------------------
  699. if (!isRequiredControls("ipt_rslt")) return false;
  700. //---------------------------------
  701. // 판독일자가 존재할 경우 수정 불가
  702. if (model.getValue("/root/main/molerslt/molersltlist/readdd") != "-") {
  703. messageBox("최종진단이 되어있습니다. 저장", "E001");
  704. return false;
  705. }
  706. //------------------------------------------------------
  707. if (grd_hrgntype1.attribute("visibility") == "hidden") {
  708. grd_hrgntype1.clearStatus();
  709. } else {
  710. grd_hrgntype1.addStatus(1, "insert");
  711. }
  712. //------------------------------------------------------
  713. if (grd_hrgntype2.attribute("visibility") == "hidden") {
  714. grd_hrgntype2.clearStatus();
  715. } else {
  716. grd_hrgntype2.addStatus(1, "insert");
  717. }
  718. //------------------------------------------------------
  719. if (grd_hrgntype3.attribute("visibility") == "hidden") {
  720. grd_hrgntype3.clearStatus();
  721. } else {
  722. grd_hrgntype3.addStatus(1, "insert");
  723. }
  724. //------------------------------------------------------
  725. if (grd_lrgntype1.attribute("visibility") == "hidden") {
  726. grd_lrgntype1.clearStatus();
  727. } else {
  728. grd_lrgntype1.addStatus(1, "insert");
  729. }
  730. //------------------------------------------------------
  731. if (grd_lrgntype2.attribute("visibility") == "hidden") {
  732. grd_lrgntype2.clearStatus();
  733. } else {
  734. grd_lrgntype2.addStatus(1, "insert");
  735. }
  736. //---------------------------------
  737. model.makeValue("/root/send/instcd", model.getValue("/root/main/moleptno/moleptnolist[" + grd_moleptnolist.row + "]/instcd"));
  738. model.makeValue("/root/send/ptno", model.getValue("/root/main/moleptno/moleptnolist[" + grd_moleptnolist.row + "]/ptno"));
  739. model.makeValue("/root/send/pid", model.getValue("/root/main/moleptno/moleptnolist[" + grd_moleptnolist.row + "]/pid"));
  740. model.makeValue("/root/send/rsltrgstdd", model.getValue("/root/main/molerslt/molersltlist/rsltrgstdd"));
  741. model.makeValue("/root/send/rsltrgsttm", model.getValue("/root/main/molerslt/molersltlist/rsltrgsttm"));
  742. model.makeValue("/root/send/rsltrgstno", model.getValue("/root/main/molerslt/molersltlist/rsltrgstno"));
  743. model.makeValue("/root/send/readdd", model.getValue("/root/main/molerslt/molersltlist/readdd"));
  744. model.makeValue("/root/send/testrslt", model.getValue("/root/main/molerslt/molersltlist/testrslt"));
  745. model.makeValue("/root/send/otherrslt", model.getValue("/root/main/molerslt/molersltlist/otherrslt"));
  746. model.makeValue("/root/send/cmtcnts", model.getValue("/root/main/molerslt/molersltlist/cmtcnts"));
  747. model.makeValue("/root/send/acptdd", model.getValue("/root/main/molerslt/molersltlist/acptdd"));
  748. model.makeValue("/root/send/acptno", model.getValue("/root/main/molerslt/molersltlist/acptno"));
  749. model.makeValue("/root/send/acptitemno", model.getValue("/root/main/molerslt/molersltlist/acptitemno"));
  750. model.makeValue("/root/send/prcpdd", model.getValue("/root/main/molerslt/molersltlist/prcpdd"));
  751. model.makeValue("/root/send/prcpno", model.getValue("/root/main/molerslt/molersltlist/prcpno"));
  752. model.makeValue("/root/send/execprcpuniqno", model.getValue("/root/main/molerslt/molersltlist/execprcpuniqno"));
  753. model.makeValue("/root/send/orgacptstatcd", model.getValue("/root/main/molerslt/molersltlist/orgacptstatcd"));
  754. model.makeValue("/root/send/prcpgenrflag", model.getValue("/root/main/molerslt/molersltlist/prcpgenrflag"));
  755. model.makeValue("/root/send/orgprcpstatcd", model.getValue("/root/main/molerslt/molersltlist/orgprcpstatcd"));
  756. model.makeValue("/root/send/elecstat", "Y");
  757. model.makeValue("/root/send/highrslt1", grd_hrgntype1.getUpdateData());
  758. model.makeValue("/root/send/highrslt2", grd_hrgntype2.getUpdateData());
  759. model.makeValue("/root/send/highrslt3", grd_hrgntype3.getUpdateData());
  760. model.makeValue("/root/send/lowrslt1", grd_lrgntype1.getUpdateData());
  761. model.makeValue("/root/send/lowrslt2", grd_lrgntype2.getUpdateData());
  762. //-----------
  763. setAlertOn();
  764. if (submit("TXLPR00501")) {
  765. model.makeValue("/root/main/molerslt/molersltlist/testrslt", "");
  766. model.makeValue("/root/main/molerslt/molersltlist/otherrslt", "0");
  767. model.refresh();
  768. //-----------------
  769. fGetMolePtNoList();
  770. }
  771. }
  772. /* @group : 전자현미경 상태등록
  773. * @ver : 2007.06.08 (CMCDEV-0001)
  774. * @by : 유동철(ACK)
  775. * @-----------------------------------
  776. * @type : function
  777. * @access : public
  778. * @desc : 결과구분 변경 처리 함수
  779. */
  780. function fExeRsltFlagChange() {
  781. switch (model.getValue("/root/init/rsltflagcd")) {
  782. case "0" : cmb_readdrid.disabled = false;
  783. break;
  784. case "1" : cmb_readdrid.disabled = true;
  785. break;
  786. case "2" : cmb_readdrid.disabled = true;
  787. break;
  788. case "3" : cmb_readdrid.disabled = false;
  789. break;
  790. }
  791. }
  792. /* @group : 전자현미경 상태등록
  793. * @ver : 2007.2.19 (CMCDEV-0001)
  794. * @by : 유동철(ACK)
  795. * @-----------------------------------
  796. * @type : function
  797. * @access : public
  798. * @desc : 사진등록 사이트 호출 처리 함수
  799. */
  800. function fExeSiteCall() {
  801. window.exec("iexplore", "http://www.cmc.or.kr/club/main/main.jsp?clID=8502503520061006072249");
  802. }
  803. /* @group : 전자현미경 상태등록
  804. * @ver : 2008.02.22 (CMCDEV-0001)
  805. * @by : 유동철(ACK)
  806. * @-----------------------------------
  807. * @type : function
  808. * @access : public
  809. * @desc : 등록번호 입력 처리 함수
  810. */
  811. function fExeRefValKeyPress() {
  812. if(event.keyCode == 13) {
  813. model.setValue("/root/init/pid", ipt_pid.currentText);
  814. ipt_pid.refresh();
  815. //-----------------
  816. fGetMolePtNoList();
  817. }
  818. }
  819. ]]>
  820. </script>
  821. </xhtml:head>
  822. <xhtml:body guideline="2,784;2,756;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  823. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  824. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:215px; height:13px; ">전자현미경 상태등록</caption>
  825. </group>
  826. <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  827. <group id="group2" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  828. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  829. <caption id="caption1" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  830. <line id="line1" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:53px; border-color:#ffe4bb; border-left-style:solid; "/>
  831. <caption id="caption9" class="search_name" style="left:446px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
  832. <caption id="caption12" class="search_no_b" style="left:638px; top:8px; width:12px; height:17px; ">~</caption>
  833. <caption id="caption13" class="search_name" style="left:780px; top:33px; width:86px; height:17px; ">결과구분 :</caption>
  834. <caption id="caption14" class="search_name" style="left:16px; top:34px; width:86px; height:17px; ">병리번호 :</caption>
  835. <caption id="caption15" class="search_name" style="left:780px; top:9px; width:86px; height:17px; ">판독의사 :</caption>
  836. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1123px; top:19px; width:56px; height:22px; ">
  837. <caption>조회</caption>
  838. <script type="javascript" ev:event="DOMActivate">
  839. <![CDATA[
  840. fGetMolePtNoList();
  841. ]]>
  842. </script>
  843. </button>
  844. <input id="ipt_acptfromdd" ref="/root/init/acptfromdd" class="input_s_essential" navindex="4" inputtype="date" style="left:535px; top:8px; width:100px; height:19px; ">
  845. <script type="javascript" ev:event="xforms-value-changed">
  846. <![CDATA[
  847. lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
  848. ]]>
  849. </script>
  850. </input>
  851. <input id="ipt_acpttodd" ref="/root/init/acpttodd" class="input_s_essential" navindex="5" inputtype="date" style="left:653px; top:8px; width:100px; height:19px; ">
  852. <script type="javascript" ev:event="xforms-value-changed">
  853. <![CDATA[
  854. lpzfExeDateChange(ipt_toyear, "/root/init/acpttodd", "/root/init/toyear");
  855. ]]>
  856. </script>
  857. </input>
  858. <input id="ipt_pid" ref="/root/init/pid" class="input_search" navindex="1" style="left:107px; top:8px; width:100px; height:19px; ">
  859. <script type="javascript" ev:event="onkeypress">
  860. <![CDATA[
  861. fExeRefValKeyPress();
  862. ]]>
  863. </script>
  864. </input>
  865. <select1 id="cmb_readdrid" ref="/root/init/readdrid" class="combo_search" navindex="3" appearance="minimal" style="left:868px; top:8px; width:100px; height:19px; ">
  866. <choices>
  867. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  868. <label ref="usernm"/>
  869. <value ref="userid"/>
  870. </itemset>
  871. </choices>
  872. </select1>
  873. <select1 id="rdo_rsltflagcd" ref="/root/init/rsltflagcd" class="radio_search" navindex="6" appearance="full" cols="4" rows="1" overflow="visible" style="left:868px; top:34px; width:225px; height:16px; border-style:none; ">
  874. <choices>
  875. <item>
  876. <label>전체</label>
  877. <value>0</value>
  878. </item>
  879. <item>
  880. <label>미검사</label>
  881. <value>1</value>
  882. </item>
  883. <item>
  884. <label>미확인</label>
  885. <value>2</value>
  886. </item>
  887. <item>
  888. <label>결과완료</label>
  889. <value>3</value>
  890. </item>
  891. </choices>
  892. <script type="javascript" ev:event="xforms-value-changed">
  893. <![CDATA[
  894. fExeRsltFlagChange();
  895. ]]>
  896. </script>
  897. </select1>
  898. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" disabled="true" navindex="1" appearance="minimal" editmode="search" style="left:107px; top:33px; width:126px; height:19px; ">
  899. <choices>
  900. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  901. <label ref="ptnonm"/>
  902. <value ref="ptnocd"/>
  903. </itemset>
  904. </choices>
  905. </select1>
  906. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:266px; top:33px; width:50px; height:19px; "/>
  907. <caption id="caption17" class="search_no_b" style="left:319px; top:33px; width:12px; height:17px; ">~</caption>
  908. <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:364px; top:33px; width:50px; height:19px; "/>
  909. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:236px; top:33px; width:27px; height:19px; "/>
  910. <input id="ipt_toyear" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:334px; top:33px; width:27px; height:19px; "/>
  911. </group>
  912. <group id="group6" style="left:545px; top:80px; width:649px; height:664px; ">
  913. <caption id="caption5" class="tit_2" style="left:5px; top:1px; width:144px; height:14px; ">상태등록</caption>
  914. <caption id="caption7" class="cell_2" style="left:0px; top:20px; width:649px; height:23px; text-align:center; vertical-align:middle; ">전자현미경 상태</caption>
  915. <line id="line5" class="line_1" style="x1:0px; y1:15px; x2:649px; y2:15px; "/>
  916. <caption id="caption10" class="tit_2" style="left:5px; top:357px; width:128px; height:13px; ">Comment</caption>
  917. <line id="line7" class="line_1" style="x1:0px; y1:371px; x2:649px; y2:371px; "/>
  918. <line id="line8" class="line_3" style="x1:0px; y1:323px; x2:649px; y2:323px; "/>
  919. <caption id="caption16" class="tit_2" style="left:5px; top:504px; width:128px; height:13px; ">이전결과</caption>
  920. <line id="line11" class="line_1" style="x1:0px; y1:518px; x2:649px; y2:518px; "/>
  921. <textarea id="tar_cmtcnts" ref="/root/main/molerslt/molersltlist/cmtcnts" navindex="16" style="left:0px; top:376px; width:649px; height:118px; "/>
  922. <datagrid id="grd_bfrsltlist" nodeset="/root/main/molerslt/bfptnolist" caption="instcd^ptno^병리번호^결과일자^결과값" colsep="^" colwidth="0, 0, 80, 80, 449" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="17" style="left:0px; top:523px; width:649px; height:117px; ">
  923. <col ref="instcd"/>
  924. <col ref="ptno"/>
  925. <col ref="dispptno"/>
  926. <col class="text_center" ref="rsltrgstdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  927. <col ref="testrslt"/>
  928. </datagrid>
  929. <datagrid id="grd_hrgntype1" nodeset="/root/main/highrisk1/molersltlist" caption="instcd^ptno^testcd^riskflagcd^itemseqno^^^^^^^^^^^^^^^^^^^^" colsep="^" colwidth="0, 0, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" rowheight="23" rowsep="|" navindex="10" style="left:0px; top:44px; width:649px; height:92px; ">
  930. <col ref="instcd"/>
  931. <col ref="ptno"/>
  932. <col ref="testcd"/>
  933. <col ref="riskflagcd"/>
  934. <col ref="itemseqno"/>
  935. <col checkvalue="1,0" ref="testrslt01" type="input"/>
  936. <col checkvalue="1,0" ref="testrslt02" type="checkbox"/>
  937. <col checkvalue="1,0" ref="testrslt03" type="checkbox"/>
  938. <col checkvalue="1,0" ref="testrslt04" type="checkbox"/>
  939. <col checkvalue="1,0" ref="testrslt05" type="checkbox"/>
  940. <col checkvalue="1,0" ref="testrslt06" type="checkbox"/>
  941. <col checkvalue="1,0" ref="testrslt07" type="checkbox"/>
  942. <col checkvalue="1,0" ref="testrslt08" type="checkbox"/>
  943. <col checkvalue="1,0" ref="testrslt09" type="checkbox"/>
  944. <col checkvalue="1,0" ref="testrslt10" type="checkbox"/>
  945. <col checkvalue="1,0" ref="testrslt11" type="checkbox"/>
  946. <col checkvalue="1,0" ref="testrslt12" type="checkbox"/>
  947. <col checkvalue="1,0" ref="testrslt13" type="checkbox"/>
  948. <col checkvalue="1,0" ref="testrslt14" type="checkbox"/>
  949. <col checkvalue="1,0" ref="testrslt15" type="checkbox"/>
  950. <col checkvalue="1,0" ref="testrslt16" type="checkbox"/>
  951. <col checkvalue="1,0" ref="testrslt17" type="checkbox"/>
  952. <col checkvalue="1,0" ref="testrslt18" type="checkbox"/>
  953. <col checkvalue="1,0" ref="testrslt19" type="checkbox"/>
  954. <col checkvalue="1,0" ref="testrslt20" type="checkbox"/>
  955. <script type="javascript" ev:event="onclick">
  956. <![CDATA[
  957. fExeMoleRslt("H1", grd_hrgntype1.col);
  958. ]]>
  959. </script>
  960. </datagrid>
  961. <datagrid id="grd_hrgntype2" nodeset="/root/main/highrisk2/molersltlist" visibility="hidden" caption="instcd^ptno^testcd^riskflagcd^itemseqno^^^^^^^^^^^^^^^^^^^^" colsep="^" colwidth="0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32" dataheight="25" rowheight="23" rowsep="|" navindex="11" style="left:0px; top:137px; width:649px; height:92; ">
  962. <col ref="instcd"/>
  963. <col ref="ptno"/>
  964. <col ref="testcd"/>
  965. <col ref="riskflagcd"/>
  966. <col ref="itemseqno"/>
  967. <col checkvalue="1,0" ref="testrslt01" type="checkbox"/>
  968. <col checkvalue="1,0" ref="testrslt02" type="checkbox"/>
  969. <col checkvalue="1,0" ref="testrslt03" type="checkbox"/>
  970. <col checkvalue="1,0" ref="testrslt04" type="checkbox"/>
  971. <col checkvalue="1,0" ref="testrslt05" type="checkbox"/>
  972. <col checkvalue="1,0" ref="testrslt06" type="checkbox"/>
  973. <col checkvalue="1,0" ref="testrslt07" type="checkbox"/>
  974. <col checkvalue="1,0" ref="testrslt08" type="checkbox"/>
  975. <col checkvalue="1,0" ref="testrslt09" type="checkbox"/>
  976. <col checkvalue="1,0" ref="testrslt10" type="checkbox"/>
  977. <col checkvalue="1,0" ref="testrslt11" type="checkbox"/>
  978. <col checkvalue="1,0" ref="testrslt12" type="checkbox"/>
  979. <col checkvalue="1,0" ref="testrslt13" type="checkbox"/>
  980. <col checkvalue="1,0" ref="testrslt14" type="checkbox"/>
  981. <col checkvalue="1,0" ref="testrslt15" type="checkbox"/>
  982. <col checkvalue="1,0" ref="testrslt16" type="checkbox"/>
  983. <col checkvalue="1,0" ref="testrslt17" type="checkbox"/>
  984. <col checkvalue="1,0" ref="testrslt18" type="checkbox"/>
  985. <col checkvalue="1,0" ref="testrslt19" type="checkbox"/>
  986. <col checkvalue="1,0" ref="testrslt20" type="checkbox"/>
  987. <script type="javascript" ev:event="onclick">
  988. <![CDATA[
  989. fExeMoleRslt("H2", grd_hrgntype2.col);
  990. ]]>
  991. </script>
  992. </datagrid>
  993. <datagrid id="grd_hrgntype3" nodeset="/root/main/highrisk3/molersltlist" visibility="hidden" caption="instcd^ptno^testcd^riskflagcd^itemseqno^^^^^^^^^^^^^^^^^^^^" colsep="^" colwidth="0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32" dataheight="25" rowheight="23" rowsep="|" navindex="12" style="left:0px; top:230px; width:649px; height:92px; ">
  994. <col ref="instcd"/>
  995. <col ref="ptno"/>
  996. <col ref="testcd"/>
  997. <col ref="riskflagcd"/>
  998. <col ref="itemseqno"/>
  999. <col checkvalue="1,0" ref="testrslt01" type="checkbox"/>
  1000. <col checkvalue="1,0" ref="testrslt02" type="checkbox"/>
  1001. <col checkvalue="1,0" ref="testrslt03" type="checkbox"/>
  1002. <col checkvalue="1,0" ref="testrslt04" type="checkbox"/>
  1003. <col checkvalue="1,0" ref="testrslt05" type="checkbox"/>
  1004. <col checkvalue="1,0" ref="testrslt06" type="checkbox"/>
  1005. <col checkvalue="1,0" ref="testrslt07" type="checkbox"/>
  1006. <col checkvalue="1,0" ref="testrslt08" type="checkbox"/>
  1007. <col checkvalue="1,0" ref="testrslt09" type="checkbox"/>
  1008. <col checkvalue="1,0" ref="testrslt10" type="checkbox"/>
  1009. <col checkvalue="1,0" ref="testrslt11" type="checkbox"/>
  1010. <col checkvalue="1,0" ref="testrslt12" type="checkbox"/>
  1011. <col checkvalue="1,0" ref="testrslt13" type="checkbox"/>
  1012. <col checkvalue="1,0" ref="testrslt14" type="checkbox"/>
  1013. <col checkvalue="1,0" ref="testrslt15" type="checkbox"/>
  1014. <col checkvalue="1,0" ref="testrslt16" type="checkbox"/>
  1015. <col checkvalue="1,0" ref="testrslt17" type="checkbox"/>
  1016. <col checkvalue="1,0" ref="testrslt18" type="checkbox"/>
  1017. <col checkvalue="1,0" ref="testrslt19" type="checkbox"/>
  1018. <col checkvalue="1,0" ref="testrslt20" type="checkbox"/>
  1019. <script type="javascript" ev:event="onclick">
  1020. <![CDATA[
  1021. fExeMoleRslt("H3", grd_hrgntype3.col);
  1022. ]]>
  1023. </script>
  1024. </datagrid>
  1025. <datagrid id="grd_lrgntype1" nodeset="/root/main/lowrisk1/molersltlist" visibility="hidden" caption="instcd^ptno^testcd^riskflagcd^itemseqno^^^^^^^^^^^^^^^^^^^^" colsep="^" colwidth="0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32" dataheight="25" rowheight="23" rowsep="|" navindex="13" style="left:125px; top:350px; width:50px; height:65px; ">
  1026. <col ref="instcd"/>
  1027. <col ref="ptno"/>
  1028. <col ref="testcd"/>
  1029. <col ref="riskflagcd"/>
  1030. <col ref="itemseqno"/>
  1031. <col checkvalue="1,0" ref="testrslt01" type="checkbox"/>
  1032. <col checkvalue="1,0" ref="testrslt02" type="checkbox"/>
  1033. <col checkvalue="1,0" ref="testrslt03" type="checkbox"/>
  1034. <col checkvalue="1,0" ref="testrslt04" type="checkbox"/>
  1035. <col checkvalue="1,0" ref="testrslt05" type="checkbox"/>
  1036. <col checkvalue="1,0" ref="testrslt06" type="checkbox"/>
  1037. <col checkvalue="1,0" ref="testrslt07" type="checkbox"/>
  1038. <col checkvalue="1,0" ref="testrslt08" type="checkbox"/>
  1039. <col checkvalue="1,0" ref="testrslt09" type="checkbox"/>
  1040. <col checkvalue="1,0" ref="testrslt10" type="checkbox"/>
  1041. <col checkvalue="1,0" ref="testrslt11" type="checkbox"/>
  1042. <col checkvalue="1,0" ref="testrslt12" type="checkbox"/>
  1043. <col checkvalue="1,0" ref="testrslt13" type="checkbox"/>
  1044. <col checkvalue="1,0" ref="testrslt14" type="checkbox"/>
  1045. <col checkvalue="1,0" ref="testrslt15" type="checkbox"/>
  1046. <col checkvalue="1,0" ref="testrslt16" type="checkbox"/>
  1047. <col checkvalue="1,0" ref="testrslt17" type="checkbox"/>
  1048. <col checkvalue="1,0" ref="testrslt18" type="checkbox"/>
  1049. <col checkvalue="1,0" ref="testrslt19" type="checkbox"/>
  1050. <col checkvalue="1,0" ref="testrslt20" type="checkbox"/>
  1051. <script type="javascript" ev:event="onclick">
  1052. <![CDATA[
  1053. fExeMoleRslt("L1", grd_lrgntype1.col);
  1054. ]]>
  1055. </script>
  1056. </datagrid>
  1057. <datagrid id="grd_lrgntype2" nodeset="/root/main/lowrisk2/molersltlist" visibility="hidden" caption="instcd^ptno^testcd^riskflagcd^itemseqno^^^^^^^^^^^^^^^^^^^^" colsep="^" colwidth="0, 0, 0, 0, 0, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32" dataheight="25" rowheight="23" rowsep="|" navindex="14" style="left:185px; top:350px; width:50px; height:65px; ">
  1058. <col ref="instcd"/>
  1059. <col ref="ptno"/>
  1060. <col ref="testcd"/>
  1061. <col ref="riskflagcd"/>
  1062. <col ref="itemseqno"/>
  1063. <col checkvalue="1,0" ref="testrslt01" type="checkbox"/>
  1064. <col checkvalue="1,0" ref="testrslt02" type="checkbox"/>
  1065. <col checkvalue="1,0" ref="testrslt03" type="checkbox"/>
  1066. <col checkvalue="1,0" ref="testrslt04" type="checkbox"/>
  1067. <col checkvalue="1,0" ref="testrslt05" type="checkbox"/>
  1068. <col checkvalue="1,0" ref="testrslt06" type="checkbox"/>
  1069. <col checkvalue="1,0" ref="testrslt07" type="checkbox"/>
  1070. <col checkvalue="1,0" ref="testrslt08" type="checkbox"/>
  1071. <col checkvalue="1,0" ref="testrslt09" type="checkbox"/>
  1072. <col checkvalue="1,0" ref="testrslt10" type="checkbox"/>
  1073. <col checkvalue="1,0" ref="testrslt11" type="checkbox"/>
  1074. <col checkvalue="1,0" ref="testrslt12" type="checkbox"/>
  1075. <col checkvalue="1,0" ref="testrslt13" type="checkbox"/>
  1076. <col checkvalue="1,0" ref="testrslt14" type="checkbox"/>
  1077. <col checkvalue="1,0" ref="testrslt15" type="checkbox"/>
  1078. <col checkvalue="1,0" ref="testrslt16" type="checkbox"/>
  1079. <col checkvalue="1,0" ref="testrslt17" type="checkbox"/>
  1080. <col checkvalue="1,0" ref="testrslt18" type="checkbox"/>
  1081. <col checkvalue="1,0" ref="testrslt19" type="checkbox"/>
  1082. <col checkvalue="1,0" ref="testrslt20" type="checkbox"/>
  1083. <script type="javascript" ev:event="onclick">
  1084. <![CDATA[
  1085. fExeMoleRslt("L2", grd_lrgntype2.col);
  1086. ]]>
  1087. </script>
  1088. </datagrid>
  1089. </group>
  1090. <datagrid id="grd_moleptnolist" nodeset="/root/main/moleptno/moleptnolist" caption="instcd^ptno^병리번호^접수일^등록번호^환자명^검사코드^검사종목" colsep="^" colwidth="0, 0, 80, 72, 72, 72, 0, 204" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="8" style="left:0px; top:100px; width:540px; height:623px; ">
  1091. <col ref="instcd"/>
  1092. <col ref="ptno"/>
  1093. <col class="text_center" ref="dispptno"/>
  1094. <col class="text_center" ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  1095. <col class="text_center" ref="pid"/>
  1096. <col class="text_center" ref="patnm"/>
  1097. <col ref="testcd"/>
  1098. <col ref="testnmlist"/>
  1099. <script type="javascript" ev:event="onclick">
  1100. <![CDATA[
  1101. fExePtNoGridClick(grd_moleptnolist.row);
  1102. ]]>
  1103. </script>
  1104. <script type="javascript" ev:event="onmousedown">
  1105. <![CDATA[
  1106. setPopupMenu("grd_moleptnolist", false, "/root/init/popupmenu/item", "nm", "funt");
  1107. ]]>
  1108. </script>
  1109. <script type="javascript" ev:event="DOMFocusOut">
  1110. <![CDATA[
  1111. initPopupMenu();
  1112. ]]>
  1113. </script>
  1114. </datagrid>
  1115. <caption id="caption2" class="tit_2" style="left:5px; top:80px; width:145px; height:13px; ">병리번호 목록</caption>
  1116. <line id="line2" class="line_1" style="x1:0px; y1:95; x2:540px; y2:95; "/>
  1117. </group>
  1118. <group id="grp_btn" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  1119. <line id="line14" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  1120. <button id="btn_save" class="btn4_letter2" navindex="18" style="left:1138; top:3; width:56px; height:22px; ">
  1121. <caption>저장</caption>
  1122. <script type="javascript" ev:event="DOMActivate">
  1123. <![CDATA[
  1124. fExeRsltSave();
  1125. ]]>
  1126. </script>
  1127. </button>
  1128. </group>
  1129. </xhtml:body>
  1130. </xhtml:html>