SMLPR00500_분자결과등록.xrw 68 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPR00500_분자결과일괄등록.xrw
  4. * 설 명 : 분자결과 일괄등록
  5. * 설 계 자 : (주)에이씨케이 - 황상미
  6. * 작 성 자 : (주)에이씨케이 - 황상미
  7. * 작 성 일 : 2006.12.13
  8. * 수정이력 : 2007.06.07
  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. <moleptno>
  20. <moleptnolist>
  21. <instcd/>
  22. <ptno/>
  23. <dispptno/>
  24. <acptdd/>
  25. <pid/>
  26. <patnm/>
  27. <testcd/>
  28. <testnmlist/>
  29. <specdrnm/>
  30. </moleptnolist>
  31. </moleptno>
  32. <molerslt>
  33. <bfptnolist>
  34. <instcd/>
  35. <ptno/>
  36. <dispptno/>
  37. <rsltrgstdd/>
  38. <testrslt/>
  39. </bfptnolist>
  40. <molersltlist>
  41. <instcd/>
  42. <ptno/>
  43. <testcd/>
  44. <riskflagcd/>
  45. <itemseqno/>
  46. <item01/>
  47. <item02/>
  48. <item03/>
  49. <item04/>
  50. <item05/>
  51. <item06/>
  52. <item07/>
  53. <item08/>
  54. <item09/>
  55. <item10/>
  56. <item11/>
  57. <item12/>
  58. <item13/>
  59. <item14/>
  60. <item15/>
  61. <item16/>
  62. <item17/>
  63. <item18/>
  64. <item19/>
  65. <item20/>
  66. <testrslt01/>
  67. <testrslt02/>
  68. <testrslt03/>
  69. <testrslt04/>
  70. <testrslt05/>
  71. <testrslt06/>
  72. <testrslt07/>
  73. <testrslt08/>
  74. <testrslt09/>
  75. <testrslt10/>
  76. <testrslt11/>
  77. <testrslt12/>
  78. <testrslt13/>
  79. <testrslt14/>
  80. <testrslt15/>
  81. <testrslt16/>
  82. <testrslt17/>
  83. <testrslt18/>
  84. <testrslt19/>
  85. <testrslt20/>
  86. <testrslt/>
  87. <otherrslt/>
  88. <cmtcnts/>
  89. <rsltrgstdd/>
  90. <rsltrgstno/>
  91. <readdd/>
  92. <acptdd/>
  93. <acptno/>
  94. <acptitemno/>
  95. </molersltlist>
  96. </molerslt>
  97. <highrisk1>
  98. <molersltlist>
  99. <instcd/>
  100. <ptno/>
  101. <testcd/>
  102. <riskflagcd/>
  103. <itemseqno/>
  104. <testrslt01/>
  105. <testrslt02/>
  106. <testrslt03/>
  107. <testrslt04/>
  108. <testrslt05/>
  109. <testrslt06/>
  110. <testrslt07/>
  111. <testrslt08/>
  112. <testrslt09/>
  113. <testrslt10/>
  114. <testrslt11/>
  115. <testrslt12/>
  116. <testrslt13/>
  117. <testrslt14/>
  118. <testrslt15/>
  119. <testrslt16/>
  120. <testrslt17/>
  121. <testrslt18/>
  122. <testrslt19/>
  123. <testrslt20/>
  124. </molersltlist>
  125. </highrisk1>
  126. <highrisk2>
  127. <molersltlist>
  128. <instcd/>
  129. <ptno/>
  130. <testcd/>
  131. <riskflagcd/>
  132. <itemseqno/>
  133. <testrslt01/>
  134. <testrslt02/>
  135. <testrslt03/>
  136. <testrslt04/>
  137. <testrslt05/>
  138. <testrslt06/>
  139. <testrslt07/>
  140. <testrslt08/>
  141. <testrslt09/>
  142. <testrslt10/>
  143. <testrslt11/>
  144. <testrslt12/>
  145. <testrslt13/>
  146. <testrslt14/>
  147. <testrslt15/>
  148. <testrslt16/>
  149. <testrslt17/>
  150. <testrslt18/>
  151. <testrslt19/>
  152. <testrslt20/>
  153. </molersltlist>
  154. </highrisk2>
  155. <highrisk3>
  156. <molersltlist>
  157. <instcd/>
  158. <ptno/>
  159. <testcd/>
  160. <riskflagcd/>
  161. <itemseqno/>
  162. <testrslt01/>
  163. <testrslt02/>
  164. <testrslt03/>
  165. <testrslt04/>
  166. <testrslt05/>
  167. <testrslt06/>
  168. <testrslt07/>
  169. <testrslt08/>
  170. <testrslt09/>
  171. <testrslt10/>
  172. <testrslt11/>
  173. <testrslt12/>
  174. <testrslt13/>
  175. <testrslt14/>
  176. <testrslt15/>
  177. <testrslt16/>
  178. <testrslt17/>
  179. <testrslt18/>
  180. <testrslt19/>
  181. <testrslt20/>
  182. </molersltlist>
  183. </highrisk3>
  184. <lowrisk1>
  185. <molersltlist>
  186. <instcd/>
  187. <ptno/>
  188. <testcd/>
  189. <riskflagcd/>
  190. <itemseqno/>
  191. <testrslt01/>
  192. <testrslt02/>
  193. <testrslt03/>
  194. <testrslt04/>
  195. <testrslt05/>
  196. <testrslt06/>
  197. <testrslt07/>
  198. <testrslt08/>
  199. <testrslt09/>
  200. <testrslt10/>
  201. <testrslt11/>
  202. <testrslt12/>
  203. <testrslt13/>
  204. <testrslt14/>
  205. <testrslt15/>
  206. <testrslt16/>
  207. <testrslt17/>
  208. <testrslt18/>
  209. <testrslt19/>
  210. <testrslt20/>
  211. </molersltlist>
  212. </lowrisk1>
  213. <lowrisk2>
  214. <molersltlist>
  215. <instcd/>
  216. <ptno/>
  217. <testcd/>
  218. <riskflagcd/>
  219. <itemseqno/>
  220. <testrslt01/>
  221. <testrslt02/>
  222. <testrslt03/>
  223. <testrslt04/>
  224. <testrslt05/>
  225. <testrslt06/>
  226. <testrslt07/>
  227. <testrslt08/>
  228. <testrslt09/>
  229. <testrslt10/>
  230. <testrslt11/>
  231. <testrslt12/>
  232. <testrslt13/>
  233. <testrslt14/>
  234. <testrslt15/>
  235. <testrslt16/>
  236. <testrslt17/>
  237. <testrslt18/>
  238. <testrslt19/>
  239. <testrslt20/>
  240. </molersltlist>
  241. </lowrisk2>
  242. <testrslt>
  243. <testrsltinfoh>
  244. <diagcnts/>
  245. </testrsltinfoh>
  246. <patinfo>
  247. <spcnm/>
  248. </patinfo>
  249. <testcdlist>
  250. <testcd/>
  251. <testnm/>
  252. </testcdlist>
  253. </testrslt>
  254. </main>
  255. <send/>
  256. <init>
  257. <pid/>
  258. <readdrid/>
  259. <acptfromdd/>
  260. <acpttodd/>
  261. <ptnocode/>
  262. <fromyear/>
  263. <fromptno/>
  264. <toyear/>
  265. <toptno/>
  266. <rsltflagcd>1</rsltflagcd>
  267. <sysdt>
  268. <sysdtinfo>
  269. <sysdd/>
  270. <systm/>
  271. </sysdtinfo>
  272. </sysdt>
  273. <hospenv>
  274. <hospenvinfo>
  275. <instcd/>
  276. <lendrtnterm/>
  277. <recvqualmthdcd/>
  278. <plgydeptcd/>
  279. <plgyteamcd/>
  280. <doctjobgradcd/>
  281. <teamjobgradcd/>
  282. </hospenvinfo>
  283. </hospenv>
  284. <userinfo>
  285. <userinfolist>
  286. <userid/>
  287. <usernm/>
  288. <jobkindcd/>
  289. </userinfolist>
  290. </userinfo>
  291. <ptnocd>
  292. <ptnocdlist>
  293. <instcd/>
  294. <ptnocd/>
  295. <ptnonm/>
  296. </ptnocdlist>
  297. </ptnocd>
  298. <testnmlist/>
  299. <testinfo>
  300. <testitemlist>
  301. <instcd/>
  302. <dispseqno/>
  303. <testcd/>
  304. <testengnm/>
  305. <testengabbr/>
  306. <testhngnm/>
  307. <testhngabbr/>
  308. <basepartcd/>
  309. <basepartnm/>
  310. <detlpartcd/>
  311. <detlpartnm/>
  312. <singletest_cnt/>
  313. </testitemlist>
  314. </testinfo>
  315. <testcdlist/>
  316. <resnchoi/>
  317. <hpvchoi/>
  318. <samplecd/>
  319. <exmpcont>
  320. <exmpcontlist>
  321. <exmpcd/>
  322. <exmpnm/>
  323. <exmpcnts/>
  324. </exmpcontlist>
  325. </exmpcont>
  326. </init>
  327. <hidden>
  328. <readdrlist>
  329. <readdrid/>
  330. </readdrlist>
  331. <testcd/>
  332. </hidden>
  333. </root>
  334. </instance>
  335. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  336. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  337. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  338. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  339. <script type="javascript" ev:event="xforms-ready">
  340. <![CDATA[
  341. fExeInitialize();
  342. ]]>
  343. </script>
  344. <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
  345. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  346. <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
  347. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  348. <submission id="TRLPC00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/testinfo/testitemlist"/>
  349. <submission id="TRLPR00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/moleptno/moleptnolist"/>
  350. <submission id="TRLPR00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/molerslt/molersltlist"/>
  351. <submission id="TXLPR00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  352. <submission id="TRLPZ00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/exmpcont/exmpcontlist"/>
  353. <submission id="TXLPR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  354. <submission id="TRLPR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testrslt/patinfo"/>
  355. </model>
  356. <script type="javascript">
  357. <![CDATA[
  358. /* @group : 분자결과등록
  359. * @ver : 2007.06.07 (CMCDEV-0001)
  360. * @by : 유동철(ACK)
  361. * @-----------------------------------
  362. * @type : function
  363. * @access : public
  364. * @desc : 화면초기화 함수
  365. */
  366. function fExeInitialize() {
  367. var sCurDate = "";
  368. model.removeNodeset("/root/main/moleptno/moleptnolist");
  369. //----------------
  370. // 시스템일시 조회
  371. model.removeNodeset("/root/send");
  372. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  373. submit("TRLPZ00101", false);
  374. submit("TRLPZ00102", false);
  375. submit("TRLPZ00109", false);
  376. //---------------------------------------------------------
  377. // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
  378. lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
  379. //----------------------------------------------------------------------------------
  380. model.makeValue("/root/send/userdeptcd", model.getValue("/root/hidden/userdeptcd"));
  381. model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
  382. model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
  383. submit("TRLPZ00105");
  384. //------------
  385. // 초기값 설정
  386. sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  387. model.makeValue("/root/init/pid", ""); // 등록번호
  388. model.makeValue("/root/init/readdrid", ""); // 판독의사
  389. model.makeValue("/root/init/rsltflagcd", "1"); // 결과구분(0:전체,1:미검사,2:미확인,3:결과확인)
  390. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수시작일자
  391. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수종료일자
  392. model.makeValue("/root/init/ptnocode", "");
  393. model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
  394. model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
  395. model.makeValue("/root/init/fromptno", "");
  396. model.makeValue("/root/init/toptno", "");
  397. model.makeValue("/root/init/hpvchoi", "0");
  398. cmb_readdrid.disabled = true;
  399. //---------------
  400. fGetTestCdList();
  401. //------------------
  402. if (checkOpener()) { //opener 검사
  403. var sPtNo = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
  404. var sAcptDD = opener.javascript.getParameter("opener_parameter_acptdd"); //opener parameter value를 get
  405. var sPid = opener.javascript.getParameter("opener_parameter_pid"); //opener parameter value를 get
  406. //----------------
  407. if(sPtNo != "") { // opener parameter value가 있는 경우
  408. model.makeValue("/root/init/ptnocode", sPtNo.substr(0, sPtNo.length-8) );
  409. model.makeValue("/root/init/fromyear", sPtNo.substr(sPtNo.length-8, 2) );
  410. model.makeValue("/root/init/fromptno", sPtNo.substr(sPtNo.length-6, 6) );
  411. model.makeValue("/root/init/toyear", sPtNo.substr(sPtNo.length-8, 2) );
  412. model.makeValue("/root/init/toptno", sPtNo.substr(sPtNo.length-6, 6) );
  413. model.makeValue("/root/init/acptfromdd", sAcptDD );
  414. model.makeValue("/root/init/acpttodd", sAcptDD );
  415. model.makeValue("/root/init/pid", sPid );
  416. model.makeValue("/root/init/rsltflagcd", "0");
  417. fGetMolePtNoList();
  418. }
  419. }
  420. //--------------
  421. model.refresh();
  422. }
  423. function fGetTestCdList() {
  424. model.removeNodeset("/root/send");
  425. model.removeNodeset("/root/init/testinfo/testitemlist");
  426. model.makeValue("/root/send/delflagcd", "0"); // 조회조건 사용여부구분
  427. model.makeValue("/root/send/refflag", "1"); // 조회조건 조회구분
  428. model.makeValue("/root/send/refval", "PM"); // 조회조건 조회값
  429. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
  430. submit("TRLPC00401");
  431. //-----------------------------------------
  432. grd_testlist.fixedcellcheckbox(0,0) = true;
  433. }
  434. /* @group : 분자결과등록
  435. * @ver : 2007.06.07 (CMCDEV-0001)
  436. * @by : 유동철(ACK)
  437. * @-----------------------------------
  438. * @type : function
  439. * @access : public
  440. * @desc : 분자병리 접수목록 조회 함수
  441. */
  442. function fGetMolePtNoList() {
  443. var sTemp = "";
  444. var sFromDD = model.getValue("/root/init/acptfromdd");
  445. var sToDD = model.getValue("/root/init/acpttodd");
  446. //--------------------------------
  447. model.removeNodeset("/root/send");
  448. model.removeNodeset("/root/main/molerslt/bfptnolist");
  449. model.removeNodeset("/root/main/molerslt/molersltlist");
  450. model.removeNodeset("/root/main/highrisk1/molersltlist");
  451. model.removeNodeset("/root/main/highrisk2/molersltlist");
  452. model.removeNodeset("/root/main/highrisk3/molersltlist");
  453. model.removeNodeset("/root/main/lowrisk1/molersltlist");
  454. model.removeNodeset("/root/main/lowrisk2/molersltlist");
  455. //------------------------------------------------
  456. if (model.getValue("/root/init/ptnocode") != "") {
  457. //------------------------------------------------
  458. if (model.getValue("/root/init/fromyear") == "") {
  459. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  460. } else {
  461. sTemp = model.getValue("/root/init/fromyear");
  462. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  463. }
  464. //----------------------------------------------
  465. if (model.getValue("/root/init/toyear") == "") {
  466. model.makeValue("/root/init/toyear", sToDD.substr(2,2));
  467. } else {
  468. sTemp = model.getValue("/root/init/toyear");
  469. model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
  470. }
  471. //------------------------------------------------
  472. if (model.getValue("/root/init/fromptno") == "") {
  473. model.makeValue("/root/init/fromptno", "000000");
  474. } else {
  475. sTemp = model.getValue("/root/init/fromptno");
  476. model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
  477. }
  478. //----------------------------------------------
  479. if (model.getValue("/root/init/toptno") == "") {
  480. model.makeValue("/root/init/toptno", "999999");
  481. } else {
  482. sTemp = model.getValue("/root/init/toptno");
  483. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  484. }
  485. }
  486. //--------------------------------------------
  487. sTemp = model.getValue("/root/init/ptnocode");
  488. //---------------------------------------------------------------------
  489. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  490. model.makeValue("/root/send/pid", model.getValue("/root/init/pid"));
  491. model.makeValue("/root/send/ptno", model.getValue("/root/init/ptno"));
  492. model.makeValue("/root/send/readdrid", model.getValue("/root/init/readdrid"));
  493. model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
  494. model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
  495. model.makeValue("/root/send/rsltflagcd", model.getValue("/root/init/rsltflagcd"));
  496. model.makeValue("/root/send/workflagcd", "'1007'");
  497. model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  498. model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  499. model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  500. model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
  501. model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  502. model.makeValue("/root/send/workflagcd", "'1007'");
  503. model.makeValue("/root/send/bizflagcd", "M");
  504. model.makeValue("/root/send/testcdlist", model.getValue("/root/init/testcdlist"));
  505. submit("TRLPR00501");
  506. }
  507. /* @group : 분자결과등록
  508. * @ver : 2007.06.07 (CMCDEV-0001)
  509. * @by : 유동철(ACK)
  510. * @-----------------------------------
  511. * @type : function
  512. * @access : public
  513. * @desc : 분자병리 접수목록 그리드 클릭 처리 함수
  514. */
  515. function fExePtNoGridClick(pRowNo) {
  516. if(pRowNo > 0 && grd_moleptnolist.isCell(event.target) && pRowNo >= grd_moleptnolist.fixedRows) {
  517. fExePtNoChoi(pRowNo);
  518. }
  519. }
  520. /* @group : 분자결과등록
  521. * @ver : 2008.02.22 (CMCDEV-0001)
  522. * @by : 유동철(ACK)
  523. * @-----------------------------------
  524. * @type : function
  525. * @access : public
  526. * @desc : 병리번호 선택 처리 함수
  527. */
  528. function fExePtNoChoi(pRowNo) {
  529. var sTestCd = "";
  530. var sTestCdList = "";
  531. var vTestCd = "";
  532. var sHighTitle1 = "";
  533. var sHighTitle2 = "";
  534. var sHighTitle3 = "";
  535. var sLowTitle1 = "";
  536. var sLowTitle2 = "";
  537. var sLowTitle3 = "";
  538. var sSrcNode = "/root/main/molerslt/molersltlist";
  539. var sNode = "/root/main/moleptno/moleptnolist";
  540. var strHNode = "/root/main/testrslt/testrsltinfoh"; //이재오 초기화
  541. //----------------------------
  542. if (pRowNo <= 0) return false;
  543. //------------------------------------------------------------
  544. sTestCdList = model.getValue(sNode+"[" + pRowNo + "]/testcd");
  545. vTestCd = sTestCdList.split("▨");
  546. //------------------------------------------------------
  547. for (var iRowNo=0; iRowNo < vTestCd.length; iRowNo++) {
  548. if (vTestCd[iRowNo].getTrim() == "") {
  549. // Continue
  550. } else {
  551. sTestCd = "'" + vTestCd[iRowNo] + "', ";
  552. }
  553. }
  554. //------------------
  555. if (sTestCd != "") {
  556. sTestCd = sTestCd.substr(0, (sTestCd.length-2));
  557. }
  558. //--------------
  559. // 상단정보 표시
  560. lpzfExeTopInfoDisp(model.getValue(sNode+"[" + pRowNo + "]/prcpdd"),
  561. model.getValue(sNode+"[" + pRowNo + "]/execprcpuniqno"),
  562. getUserInfo("dutplceinstcd"));
  563. //----------------------------------------------------
  564. model.removeNodeset("/root/main/molerslt/bfptnolist");
  565. model.removeNodeset("/root/main/molerslt/molersltlist");
  566. model.removeNodeset("/root/main/highrisk1/molersltlist");
  567. model.removeNodeset("/root/main/highrisk2/molersltlist");
  568. model.removeNodeset("/root/main/highrisk3/molersltlist");
  569. model.removeNodeset("/root/main/lowrisk1/molersltlist");
  570. model.removeNodeset("/root/main/lowrisk2/molersltlist");
  571. //----- 이재오 추가 2012 0627일 -------------------//
  572. model.resetInstanceNode("/root/main/testrslt/patinfo"); // 환자정보 초기화
  573. model.removeNodeset("/root/main/testrslt/testrsltinfoh"); // 검사결과 초기화
  574. model.removeNodeset("/root/main/testrslt/testcdlist"); // 검사항목 목록 초기화
  575. //----- 이재오 추가 2012 0627일 -------------------//
  576. //-------------------------
  577. if (!submit("TRLPR00101")) {
  578. messageBox("검사결과 조회를", "E009");
  579. return false;
  580. } else {
  581. //20111007
  582. if(model.getValue(strHNode+"/extrpartcd") == ""){
  583. }else{
  584. //alert(model.getValue(strHNode+"/extrpartcd"));
  585. model.setvalue("/root/main/testrslt/patinfo/spcnm",model.getValue(strHNode+"/extrpartcd"));
  586. }
  587. if(model.getValue(strHNode+"/extrmthdcd") == ""){
  588. }else{
  589. //alert(model.getValue(strHNode+"/extrpartcd"));
  590. model.setvalue("/root/main/testrslt/testcdlist/testnm",model.getValue(strHNode+"/extrmthdcd"));
  591. }
  592. }
  593. //-----------------------------------------------------------------
  594. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  595. model.makeValue("/root/send/pid", model.getValue("/root/main/moleptno/moleptnolist[" + pRowNo + "]/pid"));
  596. model.makeValue("/root/send/ptno", model.getValue("/root/main/moleptno/moleptnolist[" + pRowNo + "]/ptno"));
  597. model.makeValue("/root/send/acptdd", model.getValue("/root/main/moleptno/moleptnolist[" + pRowNo + "]/acptdd"));
  598. model.makeValue("/root/send/testcd", sTestCd);
  599. submit("TRLPR00502");
  600. //판독의사 set
  601. model.setValue("/root/hidden/readdrlist/readdrid", model.getValue("/root/main/molerslt/molersltlist/readdrid"));
  602. cmb_readdr.refresh();
  603. //------------------------------------------------------------------------------------------------------------
  604. copyNodeListType("/root/main/highrisk1", "/root/main/molerslt/molersltlist[riskflagcd='0' and itemseqno='1']");
  605. copyNodeListType("/root/main/highrisk2", "/root/main/molerslt/molersltlist[riskflagcd='0' and itemseqno='2']");
  606. copyNodeListType("/root/main/highrisk3", "/root/main/molerslt/molersltlist[riskflagcd='0' and itemseqno='3']");
  607. copyNodeListType("/root/main/lowrisk1", "/root/main/molerslt/molersltlist[riskflagcd='1' and itemseqno='1']");
  608. copyNodeListType("/root/main/lowrisk2", "/root/main/molerslt/molersltlist[riskflagcd='1' and itemseqno='2']");
  609. //--------------------------------------------------------
  610. sHighTitle1 += "instcd^ptno^testcd^riskflagcd^itemseqno^";
  611. sHighTitle2 = sHighTitle1;
  612. sHighTitle3 = sHighTitle1;
  613. sLowTitle1 = sHighTitle1;
  614. sLowTitle2 = sHighTitle1;
  615. //------------------------------------------
  616. for (var iRowNo=1; iRowNo <= 20; iRowNo++) {
  617. sHighTitle1 += model.getValue("/root/main/highrisk1/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) + "^";
  618. sHighTitle2 += model.getValue("/root/main/highrisk2/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) + "^";
  619. sHighTitle3 += model.getValue("/root/main/highrisk3/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) + "^";
  620. sLowTitle1 += model.getValue("/root/main/lowrisk1/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) + "^";
  621. sLowTitle2 += model.getValue("/root/main/lowrisk2/molersltlist/item" + (iRowNo).toString().getLeftPad(2, "0")) + "^";
  622. }
  623. //-----------------
  624. // 그리드 Title설정
  625. grd_hrgntype1.caption = sHighTitle1.substr(0, (sHighTitle1.length-2));
  626. grd_hrgntype2.caption = sHighTitle2.substr(0, (sHighTitle2.length-2));
  627. grd_hrgntype3.caption = sHighTitle3.substr(0, (sHighTitle3.length-2));
  628. grd_lrgntype1.caption = sLowTitle1.substr(0, (sLowTitle1.length-2));
  629. grd_lrgntype2.caption = sLowTitle2.substr(0, (sLowTitle2.length-2));
  630. //-------------------------------------------------------------
  631. if (getNodesetCount("/root/main/highrisk1/molersltlist") > 0) {
  632. grd_hrgntype1.attribute("visibility") = "visible";
  633. } else {
  634. grd_hrgntype1.attribute("visibility") = "hidden";
  635. }
  636. //-------------------------------------------------------------
  637. if (getNodesetCount("/root/main/highrisk2/molersltlist") > 0) {
  638. grd_hrgntype2.attribute("visibility") = "visible";
  639. } else {
  640. grd_hrgntype2.attribute("visibility") = "hidden";
  641. }
  642. //-------------------------------------------------------------
  643. if (getNodesetCount("/root/main/highrisk3/molersltlist") > 0) {
  644. grd_hrgntype3.attribute("visibility") = "visible";
  645. } else {
  646. grd_hrgntype3.attribute("visibility") = "hidden";
  647. }
  648. //------------------------------------------------------------
  649. if (getNodesetCount("/root/main/lowrisk1/molersltlist") > 0) {
  650. grd_lrgntype1.attribute("visibility") = "visible";
  651. } else {
  652. grd_lrgntype1.attribute("visibility") = "hidden";
  653. }
  654. //------------------------------------------------------------
  655. if (getNodesetCount("/root/main/lowrisk2/molersltlist") > 0) {
  656. grd_lrgntype2.attribute("visibility") = "visible";
  657. } else {
  658. grd_lrgntype2.attribute("visibility") = "hidden";
  659. }
  660. }
  661. /* @group : 분자결과등록
  662. * @ver : 2007.06.07 (CMCDEV-0001)
  663. * @by : 유동철(ACK)
  664. * @-----------------------------------
  665. * @type : function
  666. * @access : public
  667. * @desc : 분자병리 결과등록(사용자입력) 처리 함수
  668. */
  669. function fExeMoleRslt(pFlagCd, pColNo) {
  670. var sSrcNode = "";
  671. var sColNo = "";
  672. var sTestRslt = model.getValue("/root/main/molerslt/molersltlist/testrslt");
  673. //----------------
  674. switch (pFlagCd) {
  675. case "H1" : sSrcNode = "/root/main/highrisk1/molersltlist";
  676. break;
  677. case "H2" : sSrcNode = "/root/main/highrisk2/molersltlist";
  678. break;
  679. case "H3" : sSrcNode = "/root/main/highrisk3/molersltlist";
  680. break;
  681. case "L1" : sSrcNode = "/root/main/lowrisk1/molersltlist";
  682. break;
  683. case "L2" : sSrcNode = "/root/main/lowrisk2/molersltlist";
  684. break;
  685. case "OT" :
  686. ///*
  687. // if (sTestRslt != "") {
  688. // sTestRslt = "Positive, " + sTestRslt;
  689. // } else {
  690. // sTestRslt += "Positive";
  691. // }
  692. //*/
  693. // sTestRslt = "";
  694. // fExeItemCheck("/root/main/highrisk1/molersltlist", "C", sTestRslt);
  695. // fExeItemCheck("/root/main/highrisk2/molersltlist", "C", sTestRslt);
  696. // fExeItemCheck("/root/main/highrisk3/molersltlist", "C", sTestRslt);
  697. // fExeItemCheck("/root/main/lowrisk1/molersltlist", "C", sTestRslt);
  698. // fExeItemCheck("/root/main/lowrisk2/molersltlist", "C", sTestRslt);
  699. //
  700. // sTestRslt = "Positive (Other Type)";
  701. //
  702. // //-----------------------------------------------------------------
  703. // model.makeValue("/root/main/molerslt/molersltlist/otherrslt", "1");
  704. // model.makeValue("/root/main/molerslt/molersltlist/testrslt", sTestRslt);
  705. // //ipt_rslt.refresh();
  706. // txa_rslt.refresh();
  707. //return true;
  708. break;
  709. default :
  710. messageBox("High/Low설정은 ", "I003");
  711. return false;
  712. }
  713. /*
  714. //------------------------------------------------
  715. sColNo = (pColNo-4).toString().getLeftPad(2, "0");
  716. if (model.getValue(sSrcNode+"/item" + sColNo) == "") {
  717. return false;
  718. } else if (model.getValue(sSrcNode+"/testrslt" + sColNo) == "1") {
  719. //----------------------------------------
  720. if (sTestRslt != "" && sTestRslt != " ") {
  721. sTestRslt += ", " + model.getValue(sSrcNode+"/item" + sColNo);
  722. } else {
  723. sTestRslt += model.getValue(sSrcNode+"/item" + sColNo);
  724. }
  725. }
  726. */
  727. //---------------------
  728. // 0:일반용, 1:HPV 전용
  729. if ( model.getValue("/root/init/hpvchoi") == "1") {
  730. sTestRslt = "Human papilloma virus ";
  731. //----------------------
  732. // Other Result결과 추가
  733. if ( model.getValue("/root/main/molerslt/molersltlist/otherrslt") == "1") {
  734. sTestRslt += "▣ Positive □ Negative" + "\n";
  735. } else {
  736. sTestRslt += "□ Positive ▣ Negative" + "\n";
  737. }
  738. //-----------------------------------------------------------------------------
  739. sTestRslt += "------------------------------------------------------------" + "\n";
  740. sTestRslt += "High Risk Type" + "\n";
  741. sTestRslt += "------------------------------------------------------------" + "\n";
  742. sTestRslt = fExeItemCheck("/root/main/highrisk1/molersltlist", "D", sTestRslt);
  743. sTestRslt = fExeItemCheck("/root/main/highrisk2/molersltlist", "D", sTestRslt);
  744. sTestRslt = fExeItemCheck("/root/main/highrisk3/molersltlist", "D", sTestRslt) + "\n\n\n";
  745. sTestRslt += "------------------------------------------------------------" + "\n";
  746. sTestRslt += "Low Risk Type" + "\n";
  747. sTestRslt += "------------------------------------------------------------" + "\n";
  748. sTestRslt = fExeItemCheck("/root/main/lowrisk1/molersltlist", "D", sTestRslt);
  749. sTestRslt = fExeItemCheck("/root/main/lowrisk2/molersltlist", "D", sTestRslt);
  750. } else {
  751. sTestRslt = "";
  752. //----------------------
  753. // Other Result결과 추가
  754. if ( model.getValue("/root/main/molerslt/molersltlist/otherrslt") == "1") {
  755. sTestRslt += "▣ Positive □ Negative" + "\n";
  756. } else {
  757. sTestRslt += "□ Positive ▣ Negative" + "\n";
  758. }
  759. sTestRslt += "------------------------------------------------------------" + "\n";
  760. sTestRslt = fExeItemCheck("/root/main/highrisk1/molersltlist", "D", sTestRslt);
  761. sTestRslt = fExeItemCheck("/root/main/highrisk2/molersltlist", "D", sTestRslt);
  762. sTestRslt = fExeItemCheck("/root/main/highrisk3/molersltlist", "D", sTestRslt) + "\n\n";
  763. sTestRslt += "------------------------------------------------------------" + "\n";
  764. sTestRslt = fExeItemCheck("/root/main/lowrisk1/molersltlist", "D", sTestRslt);
  765. sTestRslt = fExeItemCheck("/root/main/lowrisk2/molersltlist", "D", sTestRslt);
  766. }
  767. //--------------------------------------------------------------
  768. //if (sTestRslt != "") sTestRslt = "Positive (" + sTestRslt + ")";
  769. //----------------------------------------------------------------------
  770. model.makeValue("/root/main/molerslt/molersltlist/testrslt", sTestRslt);
  771. //ipt_rslt.refresh();
  772. txa_rslt.refresh();
  773. }
  774. function fExeItemCheck(pNode, pBizFlagCd, pData) {
  775. var sColNo = "";
  776. var sData = pData;
  777. var iCnt = 0;
  778. var sColCnts = "";
  779. var sHpvName = "";
  780. //--------------------------------------------------
  781. if ( model.getValue("/root/init/hpvchoi") == "1") {
  782. sHpvName = "HPV ";
  783. }
  784. //--------------------------------------------
  785. if (getNodesetCount(pNode) <= 0) return sData;
  786. //---------------------------------
  787. for (var iNo=1; iNo <= 20; iNo++) {
  788. //-------------------------------------------
  789. sColNo = (iNo).toString().getLeftPad(2, "0"); // □▣
  790. //----------------------
  791. if (pBizFlagCd == "D") {
  792. //------------------------------------------------
  793. sColCnts = model.getValue(pNode+"/item" + sColNo);
  794. //-------------------
  795. if (sColCnts == "") { // Header번호가 없는 경우
  796. // Continue
  797. } else if (model.getValue(pNode+"/testrslt" + sColNo) == "1") { // Header번호를 선택한 경우
  798. //----------------
  799. if ( iCnt >= 5 ) {
  800. sData += "\n";
  801. iCnt = 0;
  802. }
  803. //----------------
  804. if (sData != "") {
  805. if ( iCnt == 0 ) {
  806. sData += "▣ " + sHpvName + sColCnts.getRightPad(4, " ");
  807. } else {
  808. sData += " ▣ " + sHpvName + sColCnts.getRightPad(4, " ");
  809. }
  810. } else {
  811. sData += "▣ " + sHpvName + sColCnts.getRightPad(4, " ");
  812. }
  813. //-----
  814. iCnt++;
  815. } else {
  816. //----------------
  817. if ( iCnt >= 5 ) {
  818. sData += "\n";
  819. iCnt = 0;
  820. }
  821. if ( model.getValue("/root/init/hpvchoi") == "1") {
  822. //----------------
  823. if (sData != "") {
  824. if ( iCnt == 0 ) {
  825. sData += "□ " + sHpvName + sColCnts.getRightPad(4, " ");
  826. } else {
  827. sData += " □ " + sHpvName + sColCnts.getRightPad(4, " ");
  828. }
  829. } else {
  830. sData += "□ " + sHpvName + sColCnts.getRightPad(4, " ");
  831. }
  832. //-----
  833. iCnt++;
  834. }
  835. }
  836. } else {
  837. model.setValue(pNode+"/testrslt"+sColNo, "0");
  838. }
  839. }
  840. //-----------
  841. return sData;
  842. }
  843. /* @group : 분자결과등록
  844. * @ver : 2007.06.07 (CMCDEV-0001)
  845. * @by : 유동철(ACK)
  846. * @-----------------------------------
  847. * @type : function
  848. * @access : public
  849. * @desc : 분자병리 결과등록 처리 함수
  850. */
  851. function fExeRsltSave() {
  852. //--------------------------------
  853. model.removeNodeset("/root/send");
  854. //------------------------------------------------
  855. //if (!isRequiredControls("ipt_rslt")) return false;
  856. if (!isRequiredControls("txa_rslt")) return false;
  857. //---------------------------------
  858. // 판독일자가 존재할 경우 수정 불가
  859. if (model.getValue("/root/main/molerslt/molersltlist/readdd") != "-") {
  860. messageBox("최종진단이 되어있습니다. 저장", "E001");
  861. return false;
  862. }
  863. //------------------------------------------------------
  864. if (grd_hrgntype1.attribute("visibility") == "hidden") {
  865. grd_hrgntype1.clearStatus();
  866. } else {
  867. grd_hrgntype1.addStatus(1, "insert");
  868. }
  869. //------------------------------------------------------
  870. if (grd_hrgntype2.attribute("visibility") == "hidden") {
  871. grd_hrgntype2.clearStatus();
  872. } else {
  873. grd_hrgntype2.addStatus(1, "insert");
  874. }
  875. //------------------------------------------------------
  876. if (grd_hrgntype3.attribute("visibility") == "hidden") {
  877. grd_hrgntype3.clearStatus();
  878. } else {
  879. grd_hrgntype3.addStatus(1, "insert");
  880. }
  881. //------------------------------------------------------
  882. if (grd_lrgntype1.attribute("visibility") == "hidden") {
  883. grd_lrgntype1.clearStatus();
  884. } else {
  885. grd_lrgntype1.addStatus(1, "insert");
  886. }
  887. //------------------------------------------------------
  888. if (grd_lrgntype2.attribute("visibility") == "hidden") {
  889. grd_lrgntype2.clearStatus();
  890. } else {
  891. grd_lrgntype2.addStatus(1, "insert");
  892. }
  893. //---------------------------------
  894. model.makeValue("/root/send/instcd", model.getValue("/root/main/moleptno/moleptnolist[" + grd_moleptnolist.row + "]/instcd"));
  895. model.makeValue("/root/send/ptno", model.getValue("/root/main/moleptno/moleptnolist[" + grd_moleptnolist.row + "]/ptno"));
  896. model.makeValue("/root/send/pid", model.getValue("/root/main/moleptno/moleptnolist[" + grd_moleptnolist.row + "]/pid"));
  897. model.makeValue("/root/send/rsltrgstdd", model.getValue("/root/main/molerslt/molersltlist/rsltrgstdd"));
  898. model.makeValue("/root/send/rsltrgsttm", model.getValue("/root/main/molerslt/molersltlist/rsltrgsttm"));
  899. model.makeValue("/root/send/rsltrgstno", model.getValue("/root/main/molerslt/molersltlist/rsltrgstno"));
  900. model.makeValue("/root/send/readdd", model.getValue("/root/main/molerslt/molersltlist/readdd"));
  901. model.makeValue("/root/send/testrslt", model.getValue("/root/main/molerslt/molersltlist/testrslt"));
  902. model.makeValue("/root/send/otherrslt", model.getValue("/root/main/molerslt/molersltlist/otherrslt"));
  903. model.makeValue("/root/send/cmtcnts", model.getValue("/root/main/molerslt/molersltlist/cmtcnts"));
  904. model.makeValue("/root/send/acptdd", model.getValue("/root/main/molerslt/molersltlist/acptdd"));
  905. model.makeValue("/root/send/acptno", model.getValue("/root/main/molerslt/molersltlist/acptno"));
  906. model.makeValue("/root/send/acptitemno", model.getValue("/root/main/molerslt/molersltlist/acptitemno"));
  907. model.makeValue("/root/send/prcpdd", model.getValue("/root/main/molerslt/molersltlist/prcpdd"));
  908. model.makeValue("/root/send/prcpno", model.getValue("/root/main/molerslt/molersltlist/prcpno"));
  909. model.makeValue("/root/send/execprcpuniqno", model.getValue("/root/main/molerslt/molersltlist/execprcpuniqno"));
  910. model.makeValue("/root/send/orgacptstatcd", model.getValue("/root/main/molerslt/molersltlist/orgacptstatcd"));
  911. model.makeValue("/root/send/prcpgenrflag", model.getValue("/root/main/molerslt/molersltlist/prcpgenrflag"));
  912. model.makeValue("/root/send/orgprcpstatcd", model.getValue("/root/main/molerslt/molersltlist/orgprcpstatcd"));
  913. model.makeValue("/root/send/scrnid", "SMLPR00500");
  914. //판독의사 지정
  915. if(model.getValue("/root/hidden/readdrlist/readdrid") != "" &&
  916. model.getValue("/root/hidden/readdrlist/readdrid") != "-" &&
  917. model.getValue("/root/hidden/readdrlist/readdrid") != "A0" ) {
  918. model.makeValue("/root/send/readdrid", model.getValue("/root/hidden/readdrlist/readdrid"));
  919. } else {
  920. model.makeValue("/root/send/readdrid", "-");
  921. }
  922. model.makeValue("/root/send/highrslt1", grd_hrgntype1.getUpdateData());
  923. model.makeValue("/root/send/highrslt2", grd_hrgntype2.getUpdateData());
  924. model.makeValue("/root/send/highrslt3", grd_hrgntype3.getUpdateData());
  925. model.makeValue("/root/send/lowrslt1", grd_lrgntype1.getUpdateData());
  926. model.makeValue("/root/send/lowrslt2", grd_lrgntype2.getUpdateData());
  927. //-----------
  928. setAlertOn();
  929. if (submit("TXLPR00501")) {
  930. model.makeValue("/root/main/molerslt/molersltlist/testrslt", "");
  931. model.makeValue("/root/main/molerslt/molersltlist/otherrslt", "0");
  932. model.refresh();
  933. //-----------------
  934. fGetMolePtNoList();
  935. }
  936. }
  937. /* @group : 분자결과등록
  938. * @ver : 2007.06.08 (CMCDEV-0001)
  939. * @by : 유동철(ACK)
  940. * @-----------------------------------
  941. * @type : function
  942. * @access : public
  943. * @desc : 결과구분 변경 처리 함수
  944. */
  945. function fExeRsltFlagChange() {
  946. switch (model.getValue("/root/init/rsltflagcd")) {
  947. case "0" : cmb_readdrid.disabled = false;
  948. break;
  949. case "1" : cmb_readdrid.disabled = true;
  950. break;
  951. case "2" : cmb_readdrid.disabled = true;
  952. break;
  953. case "3" : cmb_readdrid.disabled = false;
  954. break;
  955. }
  956. }
  957. function fExeRefValKeyPress() {
  958. if(event.keyCode == 13) {
  959. model.setValue("/root/init/pid", ipt_pid.currentText);
  960. ipt_pid.refresh();
  961. //-----------------
  962. fGetMolePtNoList();
  963. }
  964. }
  965. function fExeTestItemChoi() {
  966. var iFindNo = 0;
  967. var sTestCd = "";
  968. var sTestNm = "";
  969. var bState = false;
  970. var sNode = "/root/init/testinfo/testitemlist";
  971. //-------------------------------------------
  972. iFindNo = grd_testlist.findRow("true", 1, 0);
  973. if (Number(iFindNo) <= 0) {
  974. model.makeValue("/root/init/testcdlist", "");
  975. model.makeValue("/root/init/testnmlist", "");
  976. opt_testnmlist.refresh();
  977. grp_testlist.visible = false;
  978. return false;
  979. }
  980. //-----------------------------------------------------
  981. for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
  982. //-----------------------------------------------------
  983. if (model.getValue(sNode+"["+iNo+"]/choi") == "true") {
  984. if (bState) {
  985. sTestCd += ", '" + model.getValue(sNode+"["+iNo+"]/testcd") + "'";
  986. sTestNm += ", " + model.getValue(sNode+"["+iNo+"]/testengnm");
  987. } else {
  988. sTestCd += "'" + model.getValue(sNode+"["+iNo+"]/testcd") + "'";
  989. sTestNm += model.getValue(sNode+"["+iNo+"]/testengnm");
  990. bState = true;
  991. }
  992. }
  993. }
  994. //------------------------------------------------
  995. model.makeValue("/root/init/testcdlist", sTestCd);
  996. model.makeValue("/root/init/testnmlist", sTestNm);
  997. opt_testnmlist.refresh();
  998. grp_testlist.visible = false;
  999. }
  1000. /* @group : 분자결과등록
  1001. * @ver : 2010. 12. 02 (CMCDEV-0001)
  1002. * @by : 유동철
  1003. * @-----------------------------------
  1004. * @type : function
  1005. * @access : public
  1006. * @desc : 예문(Sample(공통예문), 예문(개인예문)) 조회 처리 Function
  1007. */
  1008. function fGetExample(pValue) {
  1009. var sRgstDrID = "0000000000"; // 공통예문
  1010. var sDocuNo = "";
  1011. var sExmpCntsG = "";
  1012. var sExmpCntsM = "";
  1013. var sExmpCntsD = "";
  1014. var sExmpCntsTempG = "";
  1015. var sExmpCntsTempM = "";
  1016. var sExmpCntsTempD = "";
  1017. var sNode = "/root/init/exmpcont/exmpcontlist";
  1018. var sExmpCd = "";
  1019. //------------------------
  1020. if(event.keyCode == 13) {
  1021. //-------------------
  1022. if (pValue == "0") {
  1023. sRgstDrID = getUserInfo("userid");
  1024. sDocuNo = ipt_resn.currentText; // 개인별 예문
  1025. model.makeValue("/root/init/examplecd", sDocuNo);
  1026. ipt_resn.refresh();
  1027. } else {
  1028. // sDocuNo = ipt_resn.currentText; // 공통 예문
  1029. // model.makeValue("/root/init/samplecd", sDocuNo);
  1030. // ipt_resn.refresh();
  1031. }
  1032. //--------------------------------
  1033. model.removeNodeset("/root/send");
  1034. model.makeValue("/root/send/rgstdrid", sRgstDrID);
  1035. model.makeValue("/root/send/docuno", sDocuNo.toUpperCase());
  1036. submit("TRLPZ00116");
  1037. //------------------------------------------------------
  1038. for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
  1039. //-------------------------------------------------------
  1040. sExmpCd = model.getValue(sNode + "[" + iNo + "]/exmpcd");
  1041. //-------------------------------------
  1042. if (sExmpCd.substring(0, 2) == "GR") {
  1043. sExmpCntsG += model.getValue(sNode + "[" + iNo + "]/exmpcnts") + "\n";
  1044. } else if (sExmpCd.substring(0, 2) == "MI") {
  1045. sExmpCntsM += model.getValue(sNode + "[" + iNo + "]/exmpcnts") + "\n";
  1046. } else if (sExmpCd.substring(0, 2) == "DI") {
  1047. sExmpCntsD += model.getValue(sNode + "[" + iNo + "]/exmpcnts") + "\n";
  1048. } else {
  1049. sExmpCntsD += model.getValue(sNode + "[" + iNo + "]/exmpcnts") + "\n";
  1050. }
  1051. }
  1052. //-----------------------------------------------------
  1053. // 결과예문(개인별)의 경우 클릭한 TextBox에만 추가한다.
  1054. if (pValue == "0") {
  1055. //------------------------------------------
  1056. var sStrNode = tar_cmtcnts.attribute("ref");
  1057. //----------------------------------------
  1058. tar_cmtcnts.selectionText = sExmpCntsD;
  1059. //----------------------------------------------------
  1060. model.makeValue(sStrNode, tar_cmtcnts.currentText);
  1061. tar_cmtcnts.refresh();
  1062. model.refresh();
  1063. //------------
  1064. return true;
  1065. }
  1066. //--------------
  1067. model.refresh();
  1068. }
  1069. }
  1070. function fExeExmpCall() {
  1071. var sCnts = model.getValue("/root/main/molerslt/molersltlist/cmtcnts");
  1072. //---------------------------------------
  1073. setParameter( "SPLPR01600_exmpcnts", "");
  1074. setParameter( "SPLPR01600_workflagcd", "");
  1075. setParameter( "SPLPR01600_seqno", "");
  1076. modal("SPLPR01600", "", "", "", "SPLPR01600", "", "");
  1077. //-----------------------------------------------
  1078. if (getParameter( "SPLPR01600_exmpcnts") != "") {
  1079. //------------------
  1080. if ( sCnts != "") {
  1081. sCnts = sCnts + "\n" + getParameter( "SPLPR01600_exmpcnts");
  1082. } else {
  1083. sCnts = getParameter( "SPLPR01600_exmpcnts");
  1084. }
  1085. //-----------------------------------------------------------------
  1086. model.makeValue("/root/main/molerslt/molersltlist/cmtcnts", sCnts);
  1087. tar_cmtcnts.refresh();
  1088. }
  1089. }
  1090. ]]>
  1091. </script>
  1092. </xhtml:head>
  1093. <xhtml:body guideline="1,1194;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  1094. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  1095. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:140px; height:14px; ">분자결과등록</caption>
  1096. </group>
  1097. <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  1098. <group id="group2" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  1099. <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; "/>
  1100. <caption id="caption1" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  1101. <line id="line1" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:53px; border-color:#ffe4bb; border-left-style:solid; "/>
  1102. <caption id="caption13" class="search_name" style="left:780px; top:33px; width:86px; height:17px; ">결과구분 :</caption>
  1103. <caption id="caption15" class="search_name" style="left:780px; top:9px; width:86px; height:17px; ">판독의사 :</caption>
  1104. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1123px; top:19px; width:56px; height:22px; ">
  1105. <caption>조회</caption>
  1106. <script type="javascript" ev:event="DOMActivate">
  1107. <![CDATA[
  1108. fGetMolePtNoList();
  1109. ]]>
  1110. </script>
  1111. </button>
  1112. <input id="ipt_pid" ref="/root/init/pid" class="input_search" navindex="1" style="left:107px; top:8px; width:100px; height:19px; ">
  1113. <script type="javascript" ev:event="onkeypress">
  1114. <![CDATA[
  1115. fExeRefValKeyPress();
  1116. ]]>
  1117. </script>
  1118. </input>
  1119. <select1 id="cmb_readdrid" ref="/root/init/readdrid" class="combo_search" navindex="3" appearance="minimal" style="left:868px; top:8px; width:100px; height:19px; ">
  1120. <choices>
  1121. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  1122. <label ref="usernm"/>
  1123. <value ref="userid"/>
  1124. </itemset>
  1125. </choices>
  1126. </select1>
  1127. <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; ">
  1128. <choices>
  1129. <item>
  1130. <label>전체</label>
  1131. <value>0</value>
  1132. </item>
  1133. <item>
  1134. <label>미검사</label>
  1135. <value>1</value>
  1136. </item>
  1137. <item>
  1138. <label>미확인</label>
  1139. <value>2</value>
  1140. </item>
  1141. <item>
  1142. <label>결과완료</label>
  1143. <value>3</value>
  1144. </item>
  1145. </choices>
  1146. <script type="javascript" ev:event="xforms-value-changed">
  1147. <![CDATA[
  1148. fExeRsltFlagChange();
  1149. ]]>
  1150. </script>
  1151. </select1>
  1152. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:107px; top:33px; width:151px; height:19px; ">
  1153. <choices>
  1154. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  1155. <label ref="ptnonm"/>
  1156. <value ref="ptnocd"/>
  1157. </itemset>
  1158. </choices>
  1159. </select1>
  1160. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:291px; top:33px; width:50px; height:19px; "/>
  1161. <caption id="caption12" class="search_no_b" style="left:648px; top:8px; width:12px; height:17px; ">~</caption>
  1162. <caption id="caption14" class="search_name" style="left:16px; top:34px; width:86px; height:17px; ">병리번호 :</caption>
  1163. <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:389px; top:33px; width:50px; height:19px; "/>
  1164. <input id="ipt_acpttodd" ref="/root/init/acpttodd" class="input_s_essential" navindex="5" inputtype="date" style="left:663px; top:8px; width:100px; height:19px; ">
  1165. <script type="javascript" ev:event="xforms-value-changed">
  1166. <![CDATA[
  1167. lpzfExeDateChange(ipt_toyear, "/root/init/acpttodd", "/root/init/toyear");
  1168. ]]>
  1169. </script>
  1170. </input>
  1171. <caption id="caption17" class="search_no_b" style="left:344px; top:33px; width:12px; height:17px; ">~</caption>
  1172. <caption id="caption9" class="search_name" style="left:456px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
  1173. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:261px; top:33px; width:27px; height:19px; "/>
  1174. <input id="ipt_acptfromdd" ref="/root/init/acptfromdd" class="input_s_essential" navindex="4" inputtype="date" style="left:545px; top:8px; width:100px; height:19px; ">
  1175. <script type="javascript" ev:event="xforms-value-changed">
  1176. <![CDATA[
  1177. lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
  1178. ]]>
  1179. </script>
  1180. </input>
  1181. <input id="ipt_toyear" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:359px; top:33px; width:27px; height:19px; "/>
  1182. <caption id="caption18" class="search_name" style="left:456px; top:34px; width:86px; height:17px; ">검사코드 :</caption>
  1183. <output id="opt_testnmlist" ref="/root/init/testnmlist" style="left:545px; top:33px; width:200px; height:19px; border-color:#000000; border-style:solid; "/>
  1184. <button id="btn_bloc" style="left:749px; top:33px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  1185. <caption/>
  1186. <script type="javascript" ev:event="DOMActivate">
  1187. <![CDATA[
  1188. grp_testlist.visible = true;
  1189. ]]>
  1190. </script>
  1191. </button>
  1192. </group>
  1193. <group id="group6" style="left:545px; top:80px; width:649px; height:664px; ">
  1194. <caption id="caption3" class="tit_2" style="left:5px; top:0px; width:145px; height:13px; ">1. HPV DNA Chip</caption>
  1195. <line id="line3" class="line_1" style="x1:0px; y1:14px; x2:649px; y2:14px; "/>
  1196. <caption id="caption5" class="tit_2" style="left:5px; top:141px; width:235px; height:13px; ">2. HPV genotype(High/Low)</caption>
  1197. <line id="line5" class="line_1" style="x1:0px; y1:155px; x2:649px; y2:155px; "/>
  1198. <caption id="caption10" class="tit_2" style="left:5px; top:424px; width:128px; height:13px; ">Comment</caption>
  1199. <line id="line7" class="line_1" style="x1:0px; y1:438px; x2:649px; y2:438px; "/>
  1200. <line id="line12" class="line_7" style="x1:0px; y1:311px; x2:649px; y2:311px; "/>
  1201. <line id="line8" class="line_3" style="x1:0px; y1:413px; x2:649px; y2:413px; "/>
  1202. <caption id="caption16" class="tit_2" style="left:5px; top:526px; width:128px; height:13px; ">이전결과</caption>
  1203. <line id="line11" class="line_1" style="x1:0px; y1:540px; x2:649px; y2:540px; "/>
  1204. <textarea id="tar_cmtcnts" ref="/root/main/molerslt/molersltlist/cmtcnts" navindex="16" style="left:0px; top:443px; width:649px; height:73px; "/>
  1205. <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:545px; width:649px; height:117px; ">
  1206. <col ref="instcd"/>
  1207. <col ref="ptno"/>
  1208. <col ref="dispptno"/>
  1209. <col class="text_center" ref="rsltrgstdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  1210. <col ref="testrslt"/>
  1211. </datagrid>
  1212. <datagrid id="grd_hrgntype1" nodeset="/root/main/highrisk1/molersltlist" 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="10" style="left:0px; top:160px; width:649px; height:48px; ">
  1213. <col ref="instcd"/>
  1214. <col ref="ptno"/>
  1215. <col ref="testcd"/>
  1216. <col ref="riskflagcd"/>
  1217. <col ref="itemseqno"/>
  1218. <col checkvalue="1,0" ref="testrslt01" type="checkbox"/>
  1219. <col checkvalue="1,0" ref="testrslt02" type="checkbox"/>
  1220. <col checkvalue="1,0" ref="testrslt03" type="checkbox"/>
  1221. <col checkvalue="1,0" ref="testrslt04" type="checkbox"/>
  1222. <col checkvalue="1,0" ref="testrslt05" type="checkbox"/>
  1223. <col checkvalue="1,0" ref="testrslt06" type="checkbox"/>
  1224. <col checkvalue="1,0" ref="testrslt07" type="checkbox"/>
  1225. <col checkvalue="1,0" ref="testrslt08" type="checkbox"/>
  1226. <col checkvalue="1,0" ref="testrslt09" type="checkbox"/>
  1227. <col checkvalue="1,0" ref="testrslt10" type="checkbox"/>
  1228. <col checkvalue="1,0" ref="testrslt11" type="checkbox"/>
  1229. <col checkvalue="1,0" ref="testrslt12" type="checkbox"/>
  1230. <col checkvalue="1,0" ref="testrslt13" type="checkbox"/>
  1231. <col checkvalue="1,0" ref="testrslt14" type="checkbox"/>
  1232. <col checkvalue="1,0" ref="testrslt15" type="checkbox"/>
  1233. <col checkvalue="1,0" ref="testrslt16" type="checkbox"/>
  1234. <col checkvalue="1,0" ref="testrslt17" type="checkbox"/>
  1235. <col checkvalue="1,0" ref="testrslt18" type="checkbox"/>
  1236. <col checkvalue="1,0" ref="testrslt19" type="checkbox"/>
  1237. <col checkvalue="1,0" ref="testrslt20" type="checkbox"/>
  1238. <script type="javascript" ev:event="onclick">
  1239. <![CDATA[
  1240. fExeMoleRslt("H1", grd_hrgntype1.col);
  1241. ]]>
  1242. </script>
  1243. </datagrid>
  1244. <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:209px; width:649px; height:48px; ">
  1245. <col ref="instcd"/>
  1246. <col ref="ptno"/>
  1247. <col ref="testcd"/>
  1248. <col ref="riskflagcd"/>
  1249. <col ref="itemseqno"/>
  1250. <col checkvalue="1,0" ref="testrslt01" type="checkbox"/>
  1251. <col checkvalue="1,0" ref="testrslt02" type="checkbox"/>
  1252. <col checkvalue="1,0" ref="testrslt03" type="checkbox"/>
  1253. <col checkvalue="1,0" ref="testrslt04" type="checkbox"/>
  1254. <col checkvalue="1,0" ref="testrslt05" type="checkbox"/>
  1255. <col checkvalue="1,0" ref="testrslt06" type="checkbox"/>
  1256. <col checkvalue="1,0" ref="testrslt07" type="checkbox"/>
  1257. <col checkvalue="1,0" ref="testrslt08" type="checkbox"/>
  1258. <col checkvalue="1,0" ref="testrslt09" type="checkbox"/>
  1259. <col checkvalue="1,0" ref="testrslt10" type="checkbox"/>
  1260. <col checkvalue="1,0" ref="testrslt11" type="checkbox"/>
  1261. <col checkvalue="1,0" ref="testrslt12" type="checkbox"/>
  1262. <col checkvalue="1,0" ref="testrslt13" type="checkbox"/>
  1263. <col checkvalue="1,0" ref="testrslt14" type="checkbox"/>
  1264. <col checkvalue="1,0" ref="testrslt15" type="checkbox"/>
  1265. <col checkvalue="1,0" ref="testrslt16" type="checkbox"/>
  1266. <col checkvalue="1,0" ref="testrslt17" type="checkbox"/>
  1267. <col checkvalue="1,0" ref="testrslt18" type="checkbox"/>
  1268. <col checkvalue="1,0" ref="testrslt19" type="checkbox"/>
  1269. <col checkvalue="1,0" ref="testrslt20" type="checkbox"/>
  1270. <script type="javascript" ev:event="onclick">
  1271. <![CDATA[
  1272. fExeMoleRslt("H2", grd_hrgntype2.col);
  1273. ]]>
  1274. </script>
  1275. </datagrid>
  1276. <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:258px; width:649px; height:48px; ">
  1277. <col ref="instcd"/>
  1278. <col ref="ptno"/>
  1279. <col ref="testcd"/>
  1280. <col ref="riskflagcd"/>
  1281. <col ref="itemseqno"/>
  1282. <col checkvalue="1,0" ref="testrslt01" type="checkbox"/>
  1283. <col checkvalue="1,0" ref="testrslt02" type="checkbox"/>
  1284. <col checkvalue="1,0" ref="testrslt03" type="checkbox"/>
  1285. <col checkvalue="1,0" ref="testrslt04" type="checkbox"/>
  1286. <col checkvalue="1,0" ref="testrslt05" type="checkbox"/>
  1287. <col checkvalue="1,0" ref="testrslt06" type="checkbox"/>
  1288. <col checkvalue="1,0" ref="testrslt07" type="checkbox"/>
  1289. <col checkvalue="1,0" ref="testrslt08" type="checkbox"/>
  1290. <col checkvalue="1,0" ref="testrslt09" type="checkbox"/>
  1291. <col checkvalue="1,0" ref="testrslt10" type="checkbox"/>
  1292. <col checkvalue="1,0" ref="testrslt11" type="checkbox"/>
  1293. <col checkvalue="1,0" ref="testrslt12" type="checkbox"/>
  1294. <col checkvalue="1,0" ref="testrslt13" type="checkbox"/>
  1295. <col checkvalue="1,0" ref="testrslt14" type="checkbox"/>
  1296. <col checkvalue="1,0" ref="testrslt15" type="checkbox"/>
  1297. <col checkvalue="1,0" ref="testrslt16" type="checkbox"/>
  1298. <col checkvalue="1,0" ref="testrslt17" type="checkbox"/>
  1299. <col checkvalue="1,0" ref="testrslt18" type="checkbox"/>
  1300. <col checkvalue="1,0" ref="testrslt19" type="checkbox"/>
  1301. <col checkvalue="1,0" ref="testrslt20" type="checkbox"/>
  1302. <script type="javascript" ev:event="onclick">
  1303. <![CDATA[
  1304. fExeMoleRslt("H3", grd_hrgntype3.col);
  1305. ]]>
  1306. </script>
  1307. </datagrid>
  1308. <datagrid id="grd_lrgntype1" nodeset="/root/main/lowrisk1/molersltlist" 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:0px; top:315px; width:649px; height:48px; ">
  1309. <col ref="instcd"/>
  1310. <col ref="ptno"/>
  1311. <col ref="testcd"/>
  1312. <col ref="riskflagcd"/>
  1313. <col ref="itemseqno"/>
  1314. <col checkvalue="1,0" ref="testrslt01" type="checkbox"/>
  1315. <col checkvalue="1,0" ref="testrslt02" type="checkbox"/>
  1316. <col checkvalue="1,0" ref="testrslt03" type="checkbox"/>
  1317. <col checkvalue="1,0" ref="testrslt04" type="checkbox"/>
  1318. <col checkvalue="1,0" ref="testrslt05" type="checkbox"/>
  1319. <col checkvalue="1,0" ref="testrslt06" type="checkbox"/>
  1320. <col checkvalue="1,0" ref="testrslt07" type="checkbox"/>
  1321. <col checkvalue="1,0" ref="testrslt08" type="checkbox"/>
  1322. <col checkvalue="1,0" ref="testrslt09" type="checkbox"/>
  1323. <col checkvalue="1,0" ref="testrslt10" type="checkbox"/>
  1324. <col checkvalue="1,0" ref="testrslt11" type="checkbox"/>
  1325. <col checkvalue="1,0" ref="testrslt12" type="checkbox"/>
  1326. <col checkvalue="1,0" ref="testrslt13" type="checkbox"/>
  1327. <col checkvalue="1,0" ref="testrslt14" type="checkbox"/>
  1328. <col checkvalue="1,0" ref="testrslt15" type="checkbox"/>
  1329. <col checkvalue="1,0" ref="testrslt16" type="checkbox"/>
  1330. <col checkvalue="1,0" ref="testrslt17" type="checkbox"/>
  1331. <col checkvalue="1,0" ref="testrslt18" type="checkbox"/>
  1332. <col checkvalue="1,0" ref="testrslt19" type="checkbox"/>
  1333. <col checkvalue="1,0" ref="testrslt20" type="checkbox"/>
  1334. <script type="javascript" ev:event="onclick">
  1335. <![CDATA[
  1336. fExeMoleRslt("L1", grd_lrgntype1.col);
  1337. ]]>
  1338. </script>
  1339. </datagrid>
  1340. <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:0px; top:364px; width:649px; height:48px; ">
  1341. <col ref="instcd"/>
  1342. <col ref="ptno"/>
  1343. <col ref="testcd"/>
  1344. <col ref="riskflagcd"/>
  1345. <col ref="itemseqno"/>
  1346. <col checkvalue="1,0" ref="testrslt01" type="checkbox"/>
  1347. <col checkvalue="1,0" ref="testrslt02" type="checkbox"/>
  1348. <col checkvalue="1,0" ref="testrslt03" type="checkbox"/>
  1349. <col checkvalue="1,0" ref="testrslt04" type="checkbox"/>
  1350. <col checkvalue="1,0" ref="testrslt05" type="checkbox"/>
  1351. <col checkvalue="1,0" ref="testrslt06" type="checkbox"/>
  1352. <col checkvalue="1,0" ref="testrslt07" type="checkbox"/>
  1353. <col checkvalue="1,0" ref="testrslt08" type="checkbox"/>
  1354. <col checkvalue="1,0" ref="testrslt09" type="checkbox"/>
  1355. <col checkvalue="1,0" ref="testrslt10" type="checkbox"/>
  1356. <col checkvalue="1,0" ref="testrslt11" type="checkbox"/>
  1357. <col checkvalue="1,0" ref="testrslt12" type="checkbox"/>
  1358. <col checkvalue="1,0" ref="testrslt13" type="checkbox"/>
  1359. <col checkvalue="1,0" ref="testrslt14" type="checkbox"/>
  1360. <col checkvalue="1,0" ref="testrslt15" type="checkbox"/>
  1361. <col checkvalue="1,0" ref="testrslt16" type="checkbox"/>
  1362. <col checkvalue="1,0" ref="testrslt17" type="checkbox"/>
  1363. <col checkvalue="1,0" ref="testrslt18" type="checkbox"/>
  1364. <col checkvalue="1,0" ref="testrslt19" type="checkbox"/>
  1365. <col checkvalue="1,0" ref="testrslt20" type="checkbox"/>
  1366. <script type="javascript" ev:event="onclick">
  1367. <![CDATA[
  1368. fExeMoleRslt("L2", grd_lrgntype2.col);
  1369. ]]>
  1370. </script>
  1371. </datagrid>
  1372. <caption id="cap_rslt" class="cell_1" style="left:0px; top:19px; width:65px; height:23px; text-align:center; vertical-align:middle; ">Result</caption>
  1373. <bool id="bool1" checkvalue="1,0" ref="/root/main/molerslt/molersltlist/otherrslt" style="left:562px; top:136px; width:25px; height:20px; ">
  1374. <script type="javascript" ev:event="xforms-select">
  1375. <![CDATA[
  1376. ]]>
  1377. </script>
  1378. <script type="javascript" ev:event="xforms-value-changed">
  1379. <![CDATA[
  1380. fExeMoleRslt("OT", 1);
  1381. ]]>
  1382. </script>
  1383. </bool>
  1384. <caption id="caption4" style="left:585px; top:139px; width:60px; height:13px; ">Positive</caption>
  1385. <line id="line9" class="line_3" style="x1:0px; y1:126px; x2:649px; y2:126px; "/>
  1386. <textarea id="txa_rslt" ref="/root/main/molerslt/molersltlist/testrslt" style="left:64px; top:19px; width:583px; height:106px; "/>
  1387. <input id="ipt_resn" ref="/root/init/resnchoi" style="left:483px; top:418px; width:100px; height:19px; ">
  1388. <script type="javascript" ev:event="onkeypress">
  1389. <![CDATA[
  1390. fGetExample("0"); // 1:Sample, 0:결과예문
  1391. ]]>
  1392. </script>
  1393. </input>
  1394. <button id="btn_exmp100101" class="btn2_letter4" style="left:585px; top:418px; width:64px; height:19px; ">
  1395. <caption>결과예문</caption>
  1396. <script type="javascript" ev:event="DOMActivate">
  1397. <![CDATA[
  1398. fExeExmpCall();
  1399. ]]>
  1400. </script>
  1401. </button>
  1402. <bool id="bool_hpv" checkvalue="1,0" ref="/root/init/hpvchoi" style="left:379px; top:136px; width:25px; height:20px; ">
  1403. <script type="javascript" ev:event="xforms-select">
  1404. <![CDATA[
  1405. ]]>
  1406. </script>
  1407. <script type="javascript" ev:event="xforms-value-changed">
  1408. <![CDATA[
  1409. fExeMoleRslt("OT", 1);
  1410. ]]>
  1411. </script>
  1412. </bool>
  1413. <caption id="caption7" style="left:402px; top:139px; width:65px; height:13px; ">HPV전용</caption>
  1414. </group>
  1415. <datagrid id="grd_moleptnolist" nodeset="/root/main/moleptno/moleptnolist" caption="instcd^ptno^병리번호^접수일^등록번호^환자명^검사코드^검사종목^선택진료의" colsep="^" colwidth="0, 0, 80, 72, 72, 72, 0, 204, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="8" style="left:0px; top:100px; width:540px; height:623px; ">
  1416. <col ref="instcd"/>
  1417. <col ref="ptno"/>
  1418. <col class="text_center" ref="dispptno"/>
  1419. <col class="text_center" ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  1420. <col class="text_center" ref="pid"/>
  1421. <col class="text_center" ref="patnm"/>
  1422. <col ref="testcd"/>
  1423. <col ref="testnmlist"/>
  1424. <col ref="specdrnm"/>
  1425. <script type="javascript" ev:event="onclick">
  1426. <![CDATA[
  1427. fExePtNoGridClick(grd_moleptnolist.row);
  1428. ]]>
  1429. </script>
  1430. </datagrid>
  1431. <caption id="caption2" class="tit_2" style="left:5px; top:80px; width:111px; height:14px; ">병리번호 목록</caption>
  1432. <line id="line2" class="line_1" style="x1:0px; y1:95; x2:540px; y2:95; "/>
  1433. <output id="output1" ref="/root/init/testcdlist" visibility="hidden" style="left:125px; top:75px; width:270px; height:19px; "/>
  1434. <select1 id="cmb_readdr" ref="/root/hidden/readdrlist/readdrid" class="input_s_essential" appearance="minimal" style="left:310px; top:15px; width:110px; height:19px; ">
  1435. <choices>
  1436. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  1437. <label ref="usernm"/>
  1438. <value ref="userid"/>
  1439. </itemset>
  1440. </choices>
  1441. </select1>
  1442. <caption id="caption48" class="cell_1" style="left:230px; top:15px; width:75px; height:19px; vertical-align:middle; ">판독의 지정</caption>
  1443. <group id="grp_testlist" visibility="hidden" style="left:15px; top:180px; width:255px; height:463px; ">
  1444. <datagrid id="grd_testlist" nodeset="/root/init/testinfo/testitemlist" caption="선택^기관코드^코드^명칭^약어" colsep="^" colwidth="56, 0, 80, 200, 200" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:555px; height:437; ">
  1445. <col ref="choi" type="checkbox"/>
  1446. <col ref="instcd"/>
  1447. <col ref="testcd"/>
  1448. <col ref="testengnm"/>
  1449. <col ref="testengabbr"/>
  1450. <script type="javascript" ev:event="onaftersort">
  1451. <![CDATA[
  1452. grd_testlist.gridToInstance();
  1453. ]]>
  1454. </script>
  1455. </datagrid>
  1456. <button id="btn_cls" class="btn4_letter2" style="left:499px; top:440px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  1457. <caption>닫기</caption>
  1458. <script type="javascript" ev:event="DOMActivate">
  1459. <![CDATA[
  1460. grp_testlist.visible = false;
  1461. ]]>
  1462. </script>
  1463. </button>
  1464. <button id="btn_cfm" class="btn4_letter2" style="left:440px; top:440px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  1465. <caption>확인</caption>
  1466. <script type="javascript" ev:event="DOMActivate">
  1467. <![CDATA[
  1468. fExeTestItemChoi();
  1469. ]]>
  1470. </script>
  1471. </button>
  1472. </group>
  1473. <input id="ipt_mcont1001" ref="/root/main/testrslt/testrsltinfoh/diagcnts" class="input_default" inputtype="button" style="left:948px; top:75px; width:158px; height:19px; ">
  1474. <script type="javascript" ev:event="onpress">
  1475. <![CDATA[
  1476. fExeDiagInpt(ipt_mcont1001, "/root/main/testrslt/testrsltinfoh/rsltcnts3", tar_readcnts1001);
  1477. ]]>
  1478. </script>
  1479. <script type="javascript" ev:event="onbuttonclick">
  1480. <![CDATA[
  1481. fExeMcodePopUp();
  1482. model.refresh();
  1483. ]]>
  1484. </script>
  1485. </input>
  1486. <button id="btn_diag1001" style="left:1108px; top:75px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  1487. <caption/>
  1488. <script type="javascript" ev:event="DOMActivate">
  1489. <![CDATA[
  1490. fExeDiagPopup();
  1491. fExeDiagInpt(btn_diag1001, "/root/main/testrslt/testrsltinfoh/rsltcnts3", tar_readcnts1001);
  1492. ]]>
  1493. </script>
  1494. </button>
  1495. <button id="btn_exmp100103" class="btn2_letter4" style="left:1126px; top:74px; width:64px; height:19px; ">
  1496. <caption>결과예문</caption>
  1497. <script type="javascript" ev:event="DOMActivate">
  1498. <![CDATA[
  1499. fExeExmpCall(tar_readcnts1001, "/root/main/testrslt/testrsltinfoh/rsltcnts3", "3");
  1500. ]]>
  1501. </script>
  1502. </button>
  1503. <select1 id="cmb_pcont1001" ref="/root/hidden/testcd" class="combo_default" navindex="4" appearance="minimal" editmode="input" style="left:754px; top:75px; width:162px; height:19px; ">
  1504. <choices>
  1505. <itemset nodeset="/root/main/testrslt/testcdlist">
  1506. <label ref="testnm"/>
  1507. <value ref="testcd"/>
  1508. </itemset>
  1509. </choices>
  1510. <script type="javascript" ev:event="xforms-value-changed">
  1511. <![CDATA[
  1512. model.setValue("/root/hidden/testcd" , cmb_pcont1001.value);
  1513. ]]>
  1514. </script>
  1515. </select1>
  1516. <caption id="caption8" class="cell_1" style="left:565px; top:75px; width:26px; height:19px; text-align:center; vertical-align:middle; ">T</caption>
  1517. <caption id="caption11" class="cell_1" style="left:919px; top:75px; width:26px; height:19px; text-align:center; vertical-align:middle; ">M</caption>
  1518. <input id="opt_tcont1001" ref="/root/main/testrslt/patinfo/spcnm" class="input_default" appearance="input" style="left:590px; top:75px; width:132px; height:19px; ">
  1519. <script type="javascript" ev:event="xforms-value-changed">
  1520. <![CDATA[
  1521. model.setValue("/root/main/testrslt/patinfo/spcnm" , opt_tcont1001.currentText);
  1522. ]]>
  1523. </script>
  1524. </input>
  1525. <caption id="caption19" class="cell_1" style="left:725px; top:75px; width:26px; height:19px; text-align:center; vertical-align:middle; ">P</caption>
  1526. </group>
  1527. <group id="grp_btn" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  1528. <line id="line14" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  1529. <button id="btn_save" class="btn4_letter2" navindex="18" style="left:1138; top:3; width:56px; height:22px; ">
  1530. <caption>저장</caption>
  1531. <script type="javascript" ev:event="DOMActivate">
  1532. <![CDATA[
  1533. fExeRsltSave();
  1534. ]]>
  1535. </script>
  1536. </button>
  1537. </group>
  1538. </xhtml:body>
  1539. </xhtml:html>