SMLPP02800_결과조회.xrw 77 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPP0050_결과조회.xrw
  4. * 설 명 : 검사결과조회 - Ver.①
  5. * 설 계 자 : (주)에이씨케이 - 황상미
  6. * 작 성 자 : (주)에이씨케이 - 황상미
  7. * 작 성 일 : 2006.12.13
  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. <testrslt>
  20. <testrsltlist>
  21. <instcd/>
  22. <ptno/>
  23. <dispptno/>
  24. <prcpdd/>
  25. <acptdd/>
  26. <testcd/>
  27. <testnm/>
  28. <tgrupcd/>
  29. <acptstatcd/>
  30. <pid/>
  31. <patnm/>
  32. <reqfrmno/>
  33. <reqfrmflagcd/>
  34. <sexage/>
  35. <readdd/>
  36. <orddeptnm/>
  37. <orddrnm/>
  38. <readdrnm/>
  39. <prcpgenrflag/>
  40. <ptnoworkflagcd/>
  41. <diagcnts/>
  42. <execprcpuniqno/>
  43. </testrsltlist>
  44. <testrsltinfo>
  45. <reptrslt/>
  46. <level/>
  47. <judgmark/>
  48. <tkdt/>
  49. <rsltdd/>
  50. <suppdept/>
  51. <pacsno/>
  52. <spcno/>
  53. </testrsltinfo>
  54. </testrslt>
  55. <patinfo>
  56. <pattestrslt>
  57. <pid/>
  58. <patnm/>
  59. <dispptno/>
  60. <sexage/>
  61. <orddeptnm/>
  62. <orddrnm/>
  63. <prcpdd/>
  64. <acptdd/>
  65. <readdd/>
  66. <readdrnm/>
  67. </pattestrslt>
  68. <patinfolist>
  69. <pid/>
  70. </patinfolist>
  71. </patinfo>
  72. <popupendflag/>
  73. </main>
  74. <send/>
  75. <init>
  76. <refcrite/>
  77. <refval/>
  78. <acptfromdd/>
  79. <acpttodd/>
  80. <refdr/>
  81. <ptnocode/>
  82. <fromyear/>
  83. <fromptno/>
  84. <toptno/>
  85. <sysdt>
  86. <sysdtinfo>
  87. <sysdd/>
  88. <systm/>
  89. </sysdtinfo>
  90. </sysdt>
  91. <hospenv>
  92. <hospenvinfo>
  93. <instcd/>
  94. <lendrtnterm/>
  95. <recvqualmthdcd/>
  96. <plgydeptcd/>
  97. <plgyteamcd/>
  98. <doctjobgradcd/>
  99. <teamjobgradcd/>
  100. </hospenvinfo>
  101. </hospenv>
  102. <ptnocd>
  103. <ptnocdlist>
  104. <instcd/>
  105. <ptnocd/>
  106. <ptnonm/>
  107. </ptnocdlist>
  108. </ptnocd>
  109. <srchmthd>1</srchmthd>
  110. <popupmenu>
  111. <item>
  112. <name>이미지 조회</name>
  113. <func>fExeImgView2</func>
  114. </item>
  115. </popupmenu>
  116. <resncd>
  117. <resncdlist/>
  118. </resncd>
  119. <fromyearptno/>
  120. <toyearptno/>
  121. <toyear/>
  122. <mdlcdlist>
  123. <mdlcdinfo>
  124. <choi/>
  125. <instcd/>
  126. <baseflagcd/>
  127. <resncd/>
  128. <resncnts/>
  129. <mdlflagcd/>
  130. </mdlcdinfo>
  131. </mdlcdlist>
  132. <userinfo>
  133. <userinfolist/>
  134. <userid/>
  135. <usernm/>
  136. <jobkindcd/>
  137. </userinfo>
  138. <LB0001>
  139. <cd/>
  140. <nm/>
  141. </LB0001>
  142. <LB0002>
  143. <cd/>
  144. <nm/>
  145. </LB0002>
  146. </init>
  147. <hidden>
  148. <detlrefcrite>
  149. <extrpart/>
  150. <diag/>
  151. <extrmthd/>
  152. </detlrefcrite>
  153. <userdeptcd/>
  154. <workflagcd/>
  155. <allselect/>
  156. <statsworkflagcd/>
  157. <workflagcd3/>
  158. <allselect3/>
  159. <acptenv>
  160. <readdr/>
  161. </acptenv>
  162. <JoHoiFlag>
  163. <deptcd/>
  164. </JoHoiFlag>
  165. <LB0002>
  166. <cd/>
  167. <nm/>
  168. </LB0002>
  169. <diagchk>1</diagchk>
  170. </hidden>
  171. <temp>
  172. <LB0002>
  173. <cd/>
  174. <nm/>
  175. </LB0002>
  176. </temp>
  177. </root>
  178. </instance>
  179. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  180. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  181. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  182. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  183. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  184. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  185. <script type="javascript" ev:event="xforms-ready">
  186. <![CDATA[
  187. fExeInitialize();
  188. ]]>
  189. </script>
  190. <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
  191. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  192. <submission id="TRLPZ00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testrslt/testrsltinfo"/>
  193. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  194. <submission id="TRLPP00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testrslt/testrsltlist"/>
  195. <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
  196. <submission id="TRLPC02802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/mdlcdlist/mdlcdinfo"/>
  197. <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
  198. <submission id="TRLZZ00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
  199. </model>
  200. <script type="javascript">
  201. <![CDATA[
  202. var sWorkflagList = "" // 작업구분 체크 구분을 위해 사용
  203. var gRowSize = 0; // 병리번호 목록 확장 구분
  204. var sGridSize = 1; // 병리번호 목록 확장 구분
  205. /* @group : 병리결과조회(외래/병동)
  206. * @ver : 2006.12.04 (CMCDEV-0001)
  207. * @by : 황상미(ACK)
  208. * @-----------------------------------
  209. * @type : function
  210. * @access : public
  211. * @desc : 화면초기화 함수
  212. */
  213. function fExeInitialize(){
  214. var sWorkFlagCd = "";
  215. var iNodeCnt = -1;
  216. //----------------
  217. // 시스템일시 조회
  218. model.removeNodeset("/root/send");
  219. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  220. submit("TRLPZ00101", false);
  221. submit("TRLPZ00102", false);
  222. submit("TRLPZ00109");
  223. //---------------
  224. // 작업구분 조회
  225. model.makeValue("/root/send/baseflagcd", "'83'");
  226. submit("TRLPZ00103");
  227. model.removeNodeset("/root/init/resncd/resncdlist[resncd='1000']"); // 해당없음
  228. model.removeNodeset("/root/init/resncd/resncdlist[resncd='1011']"); // 기록실
  229. model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']"); // 기록실
  230. //-이재오 통계구분 2012 8월 9일 추가 //
  231. // 통계구분코드 조회
  232. model.makeValue("/root/send/codeflag","0002|");
  233. submit("TRLZZ00111");
  234. //model.setvalue("/root/hidden/JoHoiFlag/deptcd", model.getvalue("/root/init/LB0002/cd")); //진료과
  235. // model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  236. // model.makeValue("/root/send/delflagcd", "0");
  237. // model.makeValue("/root/send/baseflagcd", "ZA");
  238. // model.makeValue("/root/send/resncd", "04");
  239. // if(submit("TRLPC02802")) {
  240. //
  241. // //---------------------------------
  242. // // 전체조회용 Instance생성
  243. // var iNodeCnt = Number(getNodesetCount("/root/init/mdlcdlist/mdlcdinfo")) + 1;
  244. // model.makeValue("/root/init/mdlcdlist/mdlcdinfo[" + iNodeCnt + "]/resncd", "ZZZZ");
  245. // model.makeValue("/root/init/mdlcdlist/mdlcdinfo[" + iNodeCnt + "]/resncnts", "전체");
  246. // model.makeValue("/root/init/mdlcdlist/mdlcdinfo[" + iNodeCnt + "]/baseflagcd", "ZA");
  247. //
  248. // }
  249. // 의사목록 조회....
  250. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  251. model.makeValue("/root/send/userdeptcd", "-");
  252. model.makeValue("/root/send/doctjobgradcd", "-"); // 예문 추가시 의사만 보일 수 있도록
  253. model.makeValue("/root/send/teamjobgradcd", "-");
  254. submit("TRLPZ00105");
  255. // 전체조회용 Instance생성
  256. //var iNodeCnt = Number(getNodesetCount("/root/init/userinfo/userinfolist[jobkindcd='1']")) + 1;
  257. //alert(iNodeCnt);
  258. //model.makeValue("/root/init/userinfo/userinfolist/choi", "false");
  259. //model.makeValue("/root/init/userinfo/userinfolist/dutplceinstcd","031");
  260. model.makeValue("/root/init/userinfo/userinfolist/userid","ZZ");
  261. model.makeValue("/root/init/userinfo/userinfolist/usernm","전체");
  262. model.makeValue("/root/init/userinfo/userinfolist/jobkindcd","1");
  263. //model.makeValue("/root/init/userinfo/userinfolist/userabbr", "")
  264. //model.makeValue("/root/init/userinfo/userinfolist/mpphonno", "")
  265. // /root/init/userinfo/userinfolist[jobkindcd='1']
  266. //-이재오 통계구분 2012 8월 9일 추가 //
  267. // 통계구분코드 조회
  268. //fBaseInfoRef("0001|0002|");
  269. //fBaseInfoRef("0002|");
  270. //fBaseInfoRef("0000|8001|0405|0406|0407|0408|0139|");
  271. //model.setvalue("/root/hidden/JoHoiFlag/deptcd", model.getvalue("/root/init/LB0002/cd")); //진료과
  272. //-이재오 통계구분 2012 8월 9일 //
  273. /*
  274. //---------------------------------
  275. //default 전체 체크
  276. sWorkFlagCd = "";
  277. iNodeCnt = Number(getNodesetCount("/root/init/resncd/resncdlist"));
  278. for (var iNo=1; iNo <= iNodeCnt; iNo++) {
  279. switch (model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncd")) {
  280. //case "1003" :
  281. //case "ZZZZ" :
  282. // break;
  283. default : sWorkFlagCd += model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncd") + " ";
  284. break;
  285. }
  286. }
  287. model.makeValue("/root/hidden/workflagcd", sWorkFlagCd);
  288. */
  289. //---------------------------------------------------------
  290. // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
  291. lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
  292. //--------------------------------------------
  293. model.makeValue("/root/init/refcrite", "-");
  294. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  295. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  296. model.makeValue("/root/init/refdr", "");
  297. btn_search.selected = true;
  298. model.toggle("case3");
  299. model.makeValue("/root/init/refcrite", "2"); // 등록번호
  300. model.makeValue("/root/init/refval", ""); // 검색값
  301. //-----------------------------------------------------------------
  302. var sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  303. model.makeValue("/root/init/ptnocode", "");
  304. model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
  305. model.makeValue("/root/init/fromptno", "");
  306. model.makeValue("/root/init/toptno", "");
  307. //---------------------------
  308. if (window.parent == null) {
  309. // Continue
  310. } else {
  311. if (opener.javascript.getParameter("SMLPP00500_scrno") != "") {
  312. model.makeValue("/root/init/ptnocode", opener.javascript.getParameter("SMLPP00500_ptnocd"));
  313. model.makeValue("/root/init/fromyear", opener.javascript.getParameter("SMLPP00500_year"));
  314. model.makeValue("/root/init/fromptno", opener.javascript.getParameter("SMLPP00500_no"));
  315. model.makeValue("/root/init/acptfromdd", opener.javascript.getParameter("SMLPP00500_acptdd"));
  316. model.makeValue("/root/init/acpttodd", opener.javascript.getParameter("SMLPP00500_acptdd"));
  317. model.makeValue("/root/init/refcrite", "0");
  318. model.makeValue("/root/init/refval", "");
  319. //--------------------
  320. fGetTestRsltList("1");
  321. }
  322. }
  323. model.setValue("/root/init/ptnocode", "-" );
  324. model.makeValue("/root/hidden/workflagcd", "1001 1002 1003");
  325. //--------------
  326. model.refresh();
  327. }
  328. /* @group : 병리결과조회(외래/병동)
  329. * @ver : 2007.05.21 (CMCDEV-0001)
  330. * @by : 유동철(ACK)
  331. * @-----------------------------------
  332. * @type : function
  333. * @access : public
  334. * @desc : 검사결과 목록 조회 함수
  335. */
  336. function fGetTestRsltList(pFlagCd)
  337. {
  338. var sTemp = "";
  339. var re = / /g;
  340. var sFromDD = model.getValue("/root/init/acptfromdd");
  341. var sRefVal = model.getValue("/root/init/refval");
  342. var sWorkFlagCd = "";
  343. var sFromYear = "";
  344. var sToYear = "";
  345. var sreadId = "";
  346. //alert(pFlagCd);
  347. //--------------------------------------------------------
  348. // 등록번호 조회 시 최소 4자리 이상 입력하도록 메세지 표시
  349. if (model.getValue("/root/init/refcrite") == "2")
  350. {
  351. if (sRefVal != "")
  352. {
  353. if (sRefVal.length < 3)
  354. {
  355. messageBox("등록번호를 4자리 이상 ", "C001");
  356. return false;
  357. }
  358. }
  359. }
  360. //------------------------------------------------
  361. if (model.getValue("/root/init/ptnocode") != "")
  362. {
  363. //------------------------------------------------
  364. if (model.getValue("/root/init/fromyear") == "")
  365. {
  366. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  367. }
  368. else
  369. {
  370. sTemp = model.getValue("/root/init/fromyear");
  371. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  372. }
  373. //------------------------------------------------
  374. if (model.getValue("/root/init/fromptno") == "")
  375. {
  376. //model.makeValue("/root/init/fromptno", "000000");
  377. model.makeValue("/root/init/toptno", "zzzzzz");
  378. }
  379. else
  380. {
  381. sTemp = model.getValue("/root/init/fromptno");
  382. model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
  383. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  384. }
  385. }
  386. //--------------------------------------------
  387. model.makeValue("/root/init/fromyearptno", lpzfExePtNoChange(model.getValue("/root/init/fromyearptno")));
  388. model.makeValue("/root/init/toyearptno", lpzfExePtNoChange(model.getValue("/root/init/toyearptno")));
  389. //--------------------------------------------
  390. sTemp = model.getValue("/root/init/ptnocode");
  391. //--------------------------------
  392. model.removeNodeset("/root/send");
  393. model.removeNodeset("/root/main/testrslt/testrsltlist");
  394. //---------------------------------------------------------------------
  395. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  396. model.makeValue("/root/send/refcrite", model.getValue("/root/init/refcrite"));
  397. model.makeValue("/root/send/refval", model.getValue("/root/init/refval"));
  398. model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
  399. model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
  400. model.makeValue("/root/send/userdeptcd", model.getValue("/root/hidden/userdeptcd"));
  401. model.makeValue("/root/send/refflagcd", pFlagCd);
  402. //model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  403. if(pFlagCd == "1") {
  404. model.makeValue("/root/send/ptnocode", sTemp);
  405. } else {
  406. model.makeValue("/root/send/ptnocode", "");
  407. }
  408. //model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  409. //model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  410. //model.makeValue("/root/send/toyear", model.getValue("/root/init/fromyear"));
  411. //model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  412. model.makeValue("/root/send/srchmthd", model.getValue("/root/init/srchmthd"));
  413. model.makeValue("/root/send/scrnid", "SMLPP02800");
  414. sFromYear = model.getValue("/root/init/fromyearptno");
  415. sToYear = model.getValue("/root/init/toyearptno");
  416. if(sFromYear != "" && sToYear != "") {
  417. if(sFromYear.length == 8 || sFromYear.length == 10 || sFromYear.length == 0) {
  418. model.makeValue("/root/send/fromyear", sFromYear.substring(0, (sFromYear.length - 6)));
  419. model.makeValue("/root/send/fromptno", sFromYear.substring((sFromYear.length - 6), (sFromYear.length)));
  420. } else {
  421. messageBox("병리번호를 다시 입력하여 주세요.", "E999");
  422. return false;
  423. }
  424. if(sToYear.length == 8 || sToYear.length == 10 || sToYear.length == 0) {
  425. model.makeValue("/root/send/toyear", sToYear.substring(0, (sToYear.length - 6)));
  426. model.makeValue("/root/send/toptno", sToYear.substring((sToYear.length - 6), (sFromYear.length)));
  427. } else {
  428. messageBox("병리번호를 다시 입력하여 주세요.", "E999");
  429. return false;
  430. }
  431. } else if(sFromYear == "" && sToYear != ""){
  432. if(sToYear.length == 8 || sToYear.length == 10 || sToYear.length == 0) {
  433. model.makeValue("/root/send/toyear", sToYear.substring(0, (sToYear.length - 6)));
  434. model.makeValue("/root/send/toptno", sToYear.substring((sToYear.length - 6), (sToYear.length)));
  435. model.makeValue("/root/send/fromyear", sToYear.substring(0, (sToYear.length - 6)));
  436. model.makeValue("/root/send/fromptno", sToYear.substring((sToYear.length - 6), (sToYear.length)));
  437. } else {
  438. messageBox("병리번호를 다시 입력하여 주세요.", "E999");
  439. return false;
  440. }
  441. } else if(sFromYear != "" && sToYear == "") {
  442. if(sFromYear.length == 8 || sFromYear.length == 10 || sFromYear.length == 0) {
  443. model.makeValue("/root/send/fromyear", sFromYear.substring(0, (sFromYear.length - 6)));
  444. model.makeValue("/root/send/fromptno", sFromYear.substring((sFromYear.length - 6), (sFromYear.length)));
  445. model.makeValue("/root/send/toyear", sFromYear.substring(0, (sFromYear.length - 6)));
  446. model.makeValue("/root/send/toptno", sFromYear.substring((sFromYear.length - 6), (sFromYear.length)));
  447. } else {
  448. messageBox("병리번호를 다시 입력하여 주세요.", "E999");
  449. return false;
  450. }
  451. } else {
  452. if(model.getValue("/root/send/ptnocode") != "-") {
  453. model.makeValue("/root/send/fromyear", "00");
  454. model.makeValue("/root/send/fromptno", "000000");
  455. model.makeValue("/root/send/toyear", "99");
  456. model.makeValue("/root/send/toptno", "zzzzzz");
  457. } else {
  458. model.makeValue("/root/send/fromyear", "");
  459. model.makeValue("/root/send/fromptno", "");
  460. model.makeValue("/root/send/toyear", "");
  461. model.makeValue("/root/send/toptno", "");
  462. }
  463. }
  464. //------------------------------------------------
  465. // Regular표현식을 사용하여 공백(" ")문자를 ','로 변환
  466. //이재오 추가 20120809일
  467. // alert(pFlagCd);
  468. if(pFlagCd == "1") {
  469. sWorkFlagCd = model.getValue("/root/hidden/workflagcd");
  470. // } else if( pFlagCd == "2"){
  471. // sWorkFlagCd = model.getValue("/root/hidden/workflagcd3");
  472. /* alert(sWorkFlagCd);*/
  473. }
  474. else {
  475. sWorkFlagCd = model.getValue("/root/hidden/workflagcd3");
  476. /* alert(sWorkFlagCd); */
  477. }
  478. // 이재오 막다
  479. //sWorkFlagCd = model.getValue("/root/hidden/workflagcd");
  480. if(sWorkFlagCd != "") {
  481. sWorkFlagCd = "'" + sWorkFlagCd.replace(re, "','") + "'";
  482. model.makeValue("/root/send/workflaglist", sWorkFlagCd);
  483. //alert(model.getValue("/root/send/workflaglist"));
  484. } else {
  485. model.makeValue("/root/send/workflaglist", "EMPTY");
  486. }
  487. //이재오 2012.8.13일 판독자ID 추가
  488. sreadId = model.getValue("/root/hidden/acptenv/readdr");
  489. if(sreadId != "" && sreadId != "ZZ") {
  490. model.makeValue("/root/send/sreadId", sreadId);
  491. // alert(sreadId);
  492. } else {
  493. model.makeValue("/root/send/sreadId", "EMPTY");
  494. // alert(sreadId);
  495. }
  496. //이재오 2012.8.13일 판독자 ID 추가
  497. //model.makeValue("/root/init/userinfo/userinfolist/userid","ZZ")
  498. //-----------------------------------------------
  499. // 일반조회(1), 상세(TPM)조회(2), 결과상세조회(3)
  500. if (pFlagCd == "1")
  501. {
  502. model.makeValue("/root/send/extrpart", "");
  503. model.makeValue("/root/send/diag", "");
  504. model.makeValue("/root/send/extrmthd", "");
  505. }
  506. else
  507. {
  508. model.makeValue("/root/send/extrpart", model.getValue("/root/hidden/detlrefcrite/extrpart"));
  509. model.makeValue("/root/send/diag", model.getValue("/root/hidden/detlrefcrite/diag"));
  510. model.makeValue("/root/send/extrmthd", model.getValue("/root/hidden/detlrefcrite/extrmthd"));
  511. // 이재오 2012 8.10일 진료과 상세내역 추가
  512. model.makeValue("/root/send/orddeptid", model.getValue("/root/hidden/JoHoiFlag/deptcd"));
  513. //alert(model.getValue("/root/send/orddeptid"));
  514. // 이재오 2013 4.29일 문자열 진단검색 조건추가
  515. model.makeValue("/root/send/diagchk", model.getValue("/root/hidden/diagchk"));
  516. }
  517. //-------------------
  518. submit("TRLPP00501");
  519. //-------------------------------------------------------------
  520. if (getNodesetCount("/root/main/testrslt/testrsltlist") == 1)
  521. {
  522. grd_testrsltlist.row = 1;
  523. fGetTestRslt();
  524. }
  525. // 이재오 2012 8월 13일 추가
  526. model.refresh();
  527. // 이재오 2012 8월 13일 추가
  528. }
  529. /* @group : 병리결과조회(외래/병동)
  530. * @ver : 2006.12.04 (CMCDEV-0001)
  531. * @by : 황상미(ACK)
  532. * @-----------------------------------
  533. * @type : function
  534. * @access : public
  535. * @desc : 검사결과 조회 함수
  536. */
  537. function fGetTestRslt() {
  538. var iRowNo = -1;
  539. var sScrNode = "/root/main/testrslt/testrsltlist";
  540. var sDescNode = "/root/main/patinfo/pattestrslt";
  541. //------------------------------------------
  542. if (grd_testrsltlist.row <= 0) return false;
  543. //----------------------------
  544. iRowNo = grd_testrsltlist.row;
  545. model.makeValue(sDescNode + "/pid", model.getValue(sScrNode + "[" + iRowNo + "]/pid"));
  546. model.makeValue(sDescNode + "/patnm", model.getValue(sScrNode + "[" + iRowNo + "]/patnm"));
  547. model.makeValue(sDescNode + "/dispptno", model.getValue(sScrNode + "[" + iRowNo + "]/dispptno"));
  548. model.makeValue(sDescNode + "/sexage", model.getValue(sScrNode + "[" + iRowNo + "]/sexage"));
  549. model.makeValue(sDescNode + "/orddeptnm", model.getValue(sScrNode + "[" + iRowNo + "]/orddeptnm"));
  550. model.makeValue(sDescNode + "/orddrnm", model.getValue(sScrNode + "[" + iRowNo + "]/orddrnm"));
  551. model.makeValue(sDescNode + "/prcpdd", model.getValue(sScrNode + "[" + iRowNo + "]/prcpdd"));
  552. model.makeValue(sDescNode + "/acptdd", model.getValue(sScrNode + "[" + iRowNo + "]/acptdd"));
  553. model.makeValue(sDescNode + "/readdd", model.getValue(sScrNode + "[" + iRowNo + "]/readdd"));
  554. model.makeValue(sDescNode + "/readdrnm", model.getValue(sScrNode + "[" + iRowNo + "]/readdrnm"));
  555. //----------------------------------
  556. lpzfTopInfo(); // 상단정보 호출
  557. //---------------------------------------------------------------------------------------------
  558. if (model.getValue("/root/paminfo/pid") != model.getValue(sScrNode + "[" + iRowNo + "]/pid")) {
  559. //--------------
  560. // 상단정보 표시
  561. lpzfExeTopInfoDisp(model.getValue(sScrNode+"["+iRowNo+"]/prcpdd"),
  562. model.getValue(sScrNode+"["+iRowNo+"]/execprcpuniqno"),
  563. model.getValue(sScrNode+"["+iRowNo+"]/instcd"));
  564. }
  565. //---------------
  566. // 검사결과 조회
  567. model.removeNodeset("/root/send");
  568. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  569. model.makeValue("/root/send/ptno", model.getValue(sScrNode + "[" + iRowNo + "]/ptno"));
  570. model.makeValue("/root/send/pid", model.getValue(sScrNode + "[" + iRowNo + "]/pid"));
  571. model.makeValue("/root/send/workflagcd", model.getValue(sScrNode + "[" + iRowNo + "]/ptnoworkflagcd"));
  572. model.makeValue("/root/send/prcpgenrflag", model.getValue(sScrNode + "[" + iRowNo + "]/prcpgenrflag"));
  573. model.makeValue("/root/send/scrno", "10");
  574. model.resetInstanceNode("/root/main/testrslt/testrsltinfo");
  575. //-------------------
  576. submit("TRLPZ00107");
  577. //--------------
  578. model.refresh();
  579. }
  580. /* @group : 병리결과조회(외래/병동)
  581. * @ver : 2007.07.16 (CMCDEV-0001)
  582. * @by : 유동철(ACK)
  583. * @-----------------------------------
  584. * @type : function
  585. * @access : public
  586. * @desc : 통합결과조회 화면호출
  587. */
  588. function fExePopupCallSytsRslt() {
  589. if (model.getValue("/root/main/patinfo/pattestrslt/pid") == "") {
  590. modal("SMAER00800");
  591. } else {
  592. modal("SMAER00800", "", "", "", "SMAER00800", "/root/main/patinfo/pattestrslt/pid", "/root/send/data/singdata/srchpid");
  593. }
  594. }
  595. function fExePtNoClick() {
  596. if(grd_testrsltlist.row > 0 && grd_testrsltlist.isCell(event.target) && grd_testrsltlist.row >= grd_testrsltlist.fixedRows) {
  597. fGetTestRslt();
  598. }
  599. }
  600. /* @group : 병리결과조회(외래/병동)
  601. * @ver : 2007.12.19 (CMCDEV-0001)
  602. * @by : 유동철(ACK)
  603. * @-----------------------------------
  604. * @type : function
  605. * @access : public
  606. * @desc : 등록번호 조회값 입력 처리
  607. */
  608. function fExeRefValKeyPress() {
  609. if(event.keyCode == 13) {
  610. model.setValue("/root/init/refval", ipt_refval.currentText);
  611. ipt_refval.refresh();
  612. //--------------------
  613. fGetTestRsltList("1");
  614. }
  615. }
  616. /* @group : 병리결과조회(외래/병동)
  617. * @ver : 2007.12.19 (CMCDEV-0001)
  618. * @by : 유동철(ACK)
  619. * @-----------------------------------
  620. * @type : function
  621. * @access : public
  622. * @desc : 병리번호 입력값 처리
  623. */
  624. function fExePtNoInput() {
  625. if(event.keyCode == 13) {
  626. model.setValue("/root/init/fromptno", ipt_fromptno.currentText);
  627. ipt_fromptno.refresh();
  628. //--------------------
  629. fGetTestRsltList("1");
  630. }
  631. }
  632. /* @group : 병리결과조회(외래/병동)
  633. * @ver : 2008.02.21 (CMCDEV-0001)
  634. * @by : 유동철(ACK)
  635. * @-----------------------------------
  636. * @type : function
  637. * @access : public
  638. * @desc : 이미지 표시 처리
  639. */
  640. function fExeImgView() {
  641. var sPtNo = "";
  642. var aPtNo = "";
  643. var sNode = "/root/main/testrslt/testrsltlist";
  644. var iRowNo = grd_testrsltlist.row;
  645. //----------------
  646. if (iRowNo >= 0) {
  647. sPtNo = model.getValue(sNode+"["+iRowNo+"]/dispptno");
  648. aPtNo = sPtNo.split("-");
  649. //----------------------------------------------
  650. setParameter("SMLPP02000_scrno", "SMLPP00500");
  651. setParameter("SMLPP02000_pid", model.getValue(sNode+"["+iRowNo+"]/pid"));
  652. setParameter("SMLPP02000_rgstdd", getCurrentDate());
  653. // setParameter("SMLPP02000_no", aPtNo[1]);
  654. // setParameter("SMLPP02000_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
  655. // setParameter("SMLPP02000_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
  656. setParameter("SMLPP02000_no", "");
  657. setParameter("SMLPP02000_ptnocd", "");
  658. setParameter("SMLPP02000_year", "");
  659. //------------------
  660. modal("SMLPP02000");
  661. }
  662. }
  663. /* @group : 병리결과조회(외래/병동)
  664. * @ver : 2008.02.21 (CMCDEV-0001)
  665. * @by : 유동철(ACK)
  666. * @-----------------------------------
  667. * @type : function
  668. * @access : public
  669. * @desc : 환자정보 그리드에 추가 처리
  670. */
  671. function fExeMakePatInfo() {
  672. var sNode = "/root/main/testrslt/testrsltinfo";
  673. var sPatInfo = "";
  674. //-------------------------------------
  675. grd_testrsltref.insertRow(1, "before");
  676. grd_testrsltref.rowHidden(1) = true;
  677. //---------------------------------------------------------------------------------------
  678. sPatInfo = "등록번호:" + model.getValue("/root/main/patinfo/pattestrslt/pid") + " ";
  679. sPatInfo += "환자명:" + model.getValue("/root/main/patinfo/pattestrslt/patnm") + " ";
  680. sPatInfo += "성별/나이:" + model.getValue("/root/main/patinfo/pattestrslt/sexage");
  681. //----------------------------------------------------
  682. model.makeValue(sNode+"[1]/reptrslt", sPatInfo, true);
  683. model.makeValue(sNode+"[1]/level", model.getValue(sNode+"[2]/level"));
  684. model.makeValue(sNode+"[1]/judgmark", model.getValue(sNode+"[2]/judgmark"));
  685. model.makeValue(sNode+"[1]/tkdt", model.getValue(sNode+"[2]/tkdt"));
  686. model.makeValue(sNode+"[1]/rsltdd", model.getValue(sNode+"[2]/rsltdd"));
  687. model.makeValue(sNode+"[1]/suppdept", model.getValue(sNode+"[2]/suppdept"));
  688. model.makeValue(sNode+"[1]/pacsno", model.getValue(sNode+"[2]/pacsno"));
  689. model.makeValue(sNode+"[1]/spcno", model.getValue(sNode+"[2]/spcno"));
  690. }
  691. /* @group : 병리결과조회(외래/병동)
  692. * @ver : 2008.11. 04 (CMCDEV-0001)
  693. * @by : 하만석(ACK)
  694. * @-----------------------------------
  695. * @type : function
  696. * @access : public
  697. * @desc : 환자정보 그리드에 추가 처리
  698. */
  699. function fExeMakePatInfo2()
  700. {
  701. grd_testrsltlist.colWidth(10) = 50; // pid
  702. grd_testrsltlist.colWidth(11) = 80; // 환자명
  703. grd_testrsltlist.colWidth(14) = 90; // 성별/나이
  704. }
  705. /* @group : 병리결과조회(외래/병동)
  706. * @ver : 2008.11. 04 (CMCDEV-0001)
  707. * @by : 하만석(ACK)
  708. * @-----------------------------------
  709. * @type : function
  710. * @access : public
  711. * @desc : 환자정보 엑셀 저장 후 삭제 처리
  712. */
  713. function fExeDelPatInfo2()
  714. {
  715. grd_testrsltlist.colWidth(10) = 0; // pid
  716. grd_testrsltlist.colWidth(11) = 0; // 환자명
  717. grd_testrsltlist.colWidth(14) = 0; // 성별/나이
  718. }
  719. /* @group : 병리결과조회(외래/병동)
  720. * @ver : 2008.07.02 (CMCDEV-0001)
  721. * @by : 유동철(ACK)
  722. * @-----------------------------------
  723. * @type : function
  724. * @access : public
  725. * @desc : 보고서 출력
  726. */
  727. function fExeReptPrnt() {
  728. //-------------------------------
  729. if (grd_testrsltlist.row <= 0) {
  730. messageBox("처방을 선택하여 주십시오!", "I007");
  731. return false;
  732. }
  733. //------------------------------------
  734. model.makeNode("/root/init/prntinfo");
  735. model.makeValue("/root/init/prntinfo/reptflagcd", "1"); // 의뢰지(0), 보고서(1)
  736. model.makeValue("/root/init/prntinfo/prntflagcd", "0"); // 출력(0), 미리보기(1)
  737. model.makeValue("/root/init/prntinfo/copyflagcd", "1"); // 의뢰지/보고서(0), 복사본(1)
  738. model.makeValue("/root/init/prntinfo/acptdd", model.getValue("/root/main/testrslt/testrsltlist["+grd_testrsltlist.row+"]/acptdd"));
  739. model.makeValue("/root/init/prntinfo/ptno", model.getValue("/root/main/testrslt/testrsltlist["+grd_testrsltlist.row+"]/ptno"));
  740. model.makeValue("/root/init/prntinfo/pid", model.getValue("/root/main/testrslt/testrsltlist["+grd_testrsltlist.row+"]/pid"));
  741. lpzfExeFrmPrnt("/root/init/prntinfo");
  742. }
  743. /* @group : 임상정보조회
  744. * @ver : 2009.01.12 (CMCDEV-0001)
  745. * @by :
  746. * @-----------------------------------
  747. * @type : function
  748. * @access : public
  749. * @desc :
  750. */
  751. function fGetIMSInfo(){
  752. var iRowNo = -1;
  753. var sScrNode = "/root/main/testrslt/testrsltlist";
  754. if (grd_testrsltlist.row <= 0) return false;
  755. iRowNo = grd_testrsltlist.row;
  756. var instcd = getUserInfo("dutplceinstcd");
  757. var ptno = model.getValue(sScrNode + "[" + iRowNo + "]/ptno");
  758. var pid = model.getValue(sScrNode + "[" + iRowNo + "]/pid");
  759. var workflagcd = model.getValue(sScrNode + "[" + iRowNo + "]/ptnoworkflagcd");
  760. var prcpgenrflag = model.getValue(sScrNode + "[" + iRowNo + "]/prcpgenrflag");
  761. var scrno = "SPLPP02500";
  762. var sflag = instcd + "▦" + ptno + "▦" + pid + "▦" + workflagcd + "▦" + prcpgenrflag + "▦" + scrno;
  763. setParameter("opener_parameter_id", sflag);
  764. modal("SPLPP02500", "", "", "", "", "", "");
  765. }
  766. /* @group : 이미지조회
  767. * @ver : 2009.01.12 (CMCDEV-0001)
  768. * @by :
  769. * @-----------------------------------
  770. * @type : function
  771. * @access : public
  772. * @desc :
  773. */
  774. function fExeImgView2() {
  775. var sPtNo = "";
  776. var aPtNo = "";
  777. var sNode = "/root/main/testrslt/testrsltinfo";
  778. if(grd_testrsltref.row <= 0) return;
  779. //----------------------------------------
  780. sPtNo = model.getValue(sNode+ "["+ grd_testrsltref.row +"]/spcno");
  781. sPtNo = sPtNo.substr(0, sPtNo.length -6) + "-" + sPtNo.substr(sPtNo.length -6, 6);
  782. aPtNo = sPtNo.split("-");
  783. //----------------------------------------------
  784. setParameter("SMLPP02000_scrno", "SMLPR00100");
  785. //setParameter("SMLPP02000_pid", model.getValue(sNode+"/pid"));
  786. setParameter("SMLPP02000_pid", "");
  787. setParameter("SMLPP02000_rgstdd", getCurrentDate());
  788. setParameter("SMLPP02000_no", aPtNo[1]);
  789. setParameter("SMLPP02000_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
  790. setParameter("SMLPP02000_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
  791. //------------------
  792. modal("SMLPP02000");
  793. }
  794. function fSetPopup(){
  795. if ( (grd_testrsltref.mouseRow >= grd_testrsltref.fixedRows) && (grd_testrsltref.isCell(event.target))) {
  796. grd_testrsltref.row = grd_testrsltref.mouseRow;
  797. model.removenode("/root/init/popupmenu");
  798. if(model.getValue("/root/main/testrslt/testrsltinfo["+ grd_testrsltref.row +"]/judgmark") == "IMP") {
  799. model.makeValue("/root/init/popupmenu/item/name", "▶ 병리 이미지 보기");
  800. model.makeValue("/root/init/popupmenu/item/func", "fExeImgView2");
  801. }
  802. setPopupMenu("grd_testrsltref", false, "/root/init/popupmenu/item", "name", "func");
  803. }
  804. }
  805. function fExeWorkFlagChng() {
  806. var iFindNo = -1;
  807. var aWorkFlagCd = "";
  808. var aBfWorkFlagCd = "";
  809. var sWorkFlagCd = model.getValue("/root/hidden/workflagcd");
  810. /*
  811. //-----------------------------------
  812. aWorkFlagCd = sWorkFlagCd.split(" ");
  813. for (var iNo=aWorkFlagCd.length-1; iNo >= 0; iNo--) {
  814. if (aWorkFlagCd[iNo].getTrim() == "") {
  815. // Continue
  816. } else if (aWorkFlagCd[iNo].getTrim() == "1003") {
  817. model.makeValue("/root/hidden/workflagcd", "1003 1004 1005");
  818. break;
  819. } else if (aWorkFlagCd[iNo].getTrim() == "9999") {
  820. model.makeValue("/root/hidden/workflagcd", "9999");
  821. break;
  822. } else {
  823. //---------------
  824. sWorkFlagCd = "";
  825. for (var iNo=1; iNo <= getNodesetCount("/root/init/resncd/resncdlist"); iNo++) {
  826. switch (model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncd")) {
  827. case "1003" :
  828. case "9999" :
  829. break;
  830. default : sWorkFlagCd += model.getValue("/root/init/resncd/resncdlist["+iNo+"]/resncd") + " ";
  831. break;
  832. }
  833. }
  834. model.makeValue("/root/hidden/workflagcd", sWorkFlagCd);
  835. break;
  836. }
  837. }
  838. */
  839. //-----------------------------------
  840. aWorkFlagCd = sWorkFlagCd.split(" ");
  841. aBfWorkFlagCd = sWorkflagList.split(" "); //잡업구분 이전 값.
  842. if(sWorkFlagCd.length > sWorkflagList.length) {
  843. //select 경우
  844. if (!(aWorkFlagCd[(aWorkFlagCd.length-1)].getTrim() == "")) {
  845. if(aWorkFlagCd[(aWorkFlagCd.length-1)].getTrim() == "1001" || aWorkFlagCd[(aWorkFlagCd.length-1)].getTrim() == "1002"){
  846. //조직, 동결절편을 선택한 경우
  847. //model.makeValue("/root/hidden/workflagcd", "1001 1002 1004 1005 1006 1007 1008 1009 1012 9999");
  848. } else if(aWorkFlagCd[(aWorkFlagCd.length-1)].getTrim() == "1003"){
  849. //세포를 선택한 경우
  850. //model.makeValue("/root/hidden/workflagcd", "1003 1004 1005 1006 1007 1008 1009 1012 9999");
  851. } else if(aWorkFlagCd[(aWorkFlagCd.length-1)].getTrim() == "ZZZZ"){
  852. //전체를 선택한 경우
  853. model.makeValue("/root/hidden/workflagcd", "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012 ZZZZ");
  854. }
  855. }
  856. } else if (sWorkFlagCd.length < sWorkflagList.length) {
  857. //deselect경우("전체"를 Deselect한 경우만 체크 한다.)
  858. if(fCompareArray(aWorkFlagCd, aBfWorkFlagCd) == "ZZZZ") {
  859. model.makeValue("/root/hidden/workflagcd", "");
  860. }
  861. } else if (sWorkFlagCd.length == sWorkflagList.length) {
  862. }
  863. //변경후 작업구분 값을 저장하여 다음 변경시 사용.
  864. sWorkflagList = model.getValue("/root/hidden/workflagcd");
  865. model.refresh();
  866. }
  867. /* @group : 결과조회
  868. * @ver : 2007.06.03 (CMCDEV-0001)
  869. * @by : 박중규
  870. * @-----------------------------------
  871. * @type : function
  872. * @access : public
  873. * @desc : 작업구분 체크에 사용할 배열 비교
  874. */
  875. function fCompareArray(pAfworklist, pBfworklist) {
  876. var sWorkflagcd = "";
  877. var iCount = 0;
  878. for(var i=0 ; i < pBfworklist.length ; i++) {
  879. iCount = 0;
  880. for(var j=0 ; j < pAfworklist.length ; j++) {
  881. if(pBfworklist[i] == pAfworklist[j]){
  882. iCount=0;
  883. } else {
  884. iCount++;
  885. }
  886. }
  887. if(iCount == pAfworklist.length) {
  888. return pBfworklist[i];
  889. }
  890. }
  891. return "none";
  892. }
  893. /* @group : 세포결과일괄등록
  894. * @ver : 2008.12.04 (CMCDEV-0001)
  895. * @by : 하만석(ACK)
  896. * @-----------------------------------
  897. * @type : function
  898. * @access : public
  899. * @desc : 결과항목을 확인하기 위해서 row 크기 변경
  900. */
  901. function fExeResizeRow()
  902. {
  903. if (gRowSize == 0) // 초기상태
  904. {
  905. grd_testrsltlist.autoResize = true;
  906. grd_testrsltlist.refresh();
  907. gRowSize = 1;
  908. }
  909. else if (gRowSize == 1)
  910. {
  911. grd_testrsltlist.dataHeight = 23;
  912. grd_testrsltlist.autoResize = false;
  913. grd_testrsltlist.refresh();
  914. gRowSize = 0;
  915. }
  916. }
  917. function fExeEpandGrid(cnt)
  918. {
  919. if ( cnt == "1" )
  920. {
  921. grd_testrsltlist.attribute("width") = 1185;
  922. sGridSize = "2";
  923. }
  924. else if ( cnt == "2" )
  925. {
  926. grd_testrsltlist.attribute("width") = 448;
  927. sGridSize = "1";
  928. }
  929. }
  930. ]]>
  931. </script>
  932. </xhtml:head>
  933. <xhtml:body guideline="2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  934. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  935. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">결과조회</caption>
  936. </group>
  937. <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  938. <datagrid id="grd_testrsltref" nodeset="/root/main/testrslt/testrsltinfo" autoresize="true" caption="검 사 결 과 내 용^caption2^caption3^caption4^caption5^caption6^caption7^caption8" colsep="^" colwidth="719, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:452px; top:149px; width:741px; height:595px; font-family:굴림체; font-size:9pt; ">
  939. <col ref="reptrslt" style="font-family:굴림체; font-size:9pt; "/>
  940. <col ref="level"/>
  941. <col ref="judgmark"/>
  942. <col ref="tkdt"/>
  943. <col ref="rsltdd"/>
  944. <col ref="suppdept"/>
  945. <col ref="pacsno"/>
  946. <col ref="spcno"/>
  947. <script type="javascript" ev:event="DOMFocusOut">
  948. <![CDATA[
  949. initPopupMenu();
  950. ]]>
  951. </script>
  952. <script type="javascript" ev:event="onmousedown">
  953. <![CDATA[
  954. fSetPopup();
  955. ]]>
  956. </script>
  957. </datagrid>
  958. <caption id="caption3" class="tit_2" style="left:452px; top:130px; width:111px; height:13px; ">검사결과</caption>
  959. <line id="line2" class="line_1" style="x1:452px; y1:144px; x2:1193px; y2:144px; "/>
  960. <caption id="caption2" class="tit_2" style="left:4px; top:129px; width:140px; height:13px; ">검사결과 목록</caption>
  961. <line id="line3" class="line_1" style="x1:0px; y1:144px; x2:448px; y2:144px; "/>
  962. <switch id="switch1" style="left:0px; top:27px; width:1195px; height:93px; ">
  963. <case id="case1">
  964. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
  965. <caption id="caption12" class="search_name" style="left:725px; top:37px; width:115px; height:17px; ">채취방법(P) :</caption>
  966. <caption id="caption4" class="search_name" style="left:725px; top:11px; width:115px; height:17px; ">채취부위(T) :</caption>
  967. <input id="input2" ref="/root/hidden/detlrefcrite/extrpart" class="input_search" navindex="9" style="left:845px; top:10px; width:245px; height:19px; "/>
  968. <input id="input3" ref="/root/hidden/detlrefcrite/diag" class="input_search" navindex="10" style="left:845px; top:62px; width:245px; height:19px; "/>
  969. <caption id="caption9" class="search_name" style="left:725px; top:63px; width:115px; height:17px; ">진 단(M) :</caption>
  970. <input id="input4" ref="/root/hidden/detlrefcrite/extrmthd" class="input_search" navindex="11" style="left:845px; top:36px; width:245px; height:19px; "/>
  971. <button id="btn_detlsea" class="btn1_letter4" style="left:1105px; top:35px; width:80px; height:22px; ">
  972. <caption>상세조회</caption>
  973. <script type="javascript" ev:event="DOMActivate">
  974. <![CDATA[
  975. fGetTestRsltList("2");
  976. ]]>
  977. </script>
  978. </button>
  979. <input id="input9" ref="/root/init/acpttodd" class="input_s_essential" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:121px; top:45px; width:100px; height:19px; "/>
  980. <input id="input10" ref="/root/init/acptfromdd" class="input_s_essential" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:5px; top:45px; width:100px; height:19px; ">
  981. <script type="javascript" ev:event="xforms-value-changed">
  982. <![CDATA[
  983. lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
  984. ]]>
  985. </script>
  986. </input>
  987. <caption id="caption24" class="search_n_b" style="left:107px; top:47px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  988. <select1 id="combo2" ref="/root/init/srchmthd" class="combo_search" appearance="minimal" style="left:5px; top:20px; width:155px; height:19px; ">
  989. <choices>
  990. <item>
  991. <label>접수일자</label>
  992. <value>1</value>
  993. </item>
  994. <item>
  995. <label>보고일자</label>
  996. <value>2</value>
  997. </item>
  998. </choices>
  999. </select1>
  1000. <line id="line4" class="line_4" style="x1:230px; y1:0px; x2:230px; y2:87px; border-color:#ffe4bb; border-left-style:solid; "/>
  1001. <line id="line9" class="line_4" style="x1:1100px; y1:12px; x2:1100px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
  1002. <select1 id="cbo_statsflagcd" ref="/root/hidden/statsworkflagcd" navindex="7" visibility="hidden" appearance="minimal" style="left:1090px; top:65px; width:103px; height:19px; ">
  1003. <choices>
  1004. <itemset nodeset="/root/init/mdlcdlist/mdlcdinfo">
  1005. <label ref="resncnts"/>
  1006. <value ref="resncd"/>
  1007. </itemset>
  1008. </choices>
  1009. </select1>
  1010. <caption id="caption29" class="search_name" visibility="hidden" style="left:1100px; top:10px; width:86px; height:17px; ">통계구분 :</caption>
  1011. <select id="cbo2_slipkindcd" ref="/root/hidden/workflagcd3" class="check_search" navindex="10" overflow="visible" appearance="full" cellspacing="10" cols="*" rows="3" style="left:425px; top:35px; width:285px; height:50px; border-style:none; ">
  1012. <choices>
  1013. <itemset nodeset="/root/init/resncd/resncdlist">
  1014. <label ref="resncnts"/>
  1015. <value ref="resncd"/>
  1016. </itemset>
  1017. </choices>
  1018. <script type="javascript" ev:event="xforms-value-changed">
  1019. <![CDATA[
  1020. //fExeWorkFlagChng();
  1021. ]]>
  1022. </script>
  1023. </select>
  1024. <select id="checkbox4" ref="/root/hidden/allselect3" class="check_search" overflow="visible" appearance="full" style="left:500px; top:10px; width:55px; height:20px; border-style:none; ">
  1025. <choices>
  1026. <item>
  1027. <label>전체</label>
  1028. <value>Y</value>
  1029. </item>
  1030. </choices>
  1031. <script type="javascript" ev:event="xforms-value-changed">
  1032. <![CDATA[
  1033. if(model.getValue("/root/hidden/allselect3") == "Y") {
  1034. model.makeValue("/root/hidden/workflagcd3", "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012");
  1035. } else {
  1036. model.makeValue("/root/hidden/workflagcd3", "");
  1037. }
  1038. cbo2_slipkindcd.refresh();
  1039. checkbox6.refresh();
  1040. ]]>
  1041. </script>
  1042. </select>
  1043. <caption id="caption30" class="search_name" style="left:410px; top:10px; width:108px; height:17px; ">조회대상 :</caption>
  1044. <select1 id="cmb_readdr" ref="/root/hidden/acptenv/readdr" appearance="minimal" style="left:325px; top:10px; width:75px; height:19px; ">
  1045. <choices>
  1046. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  1047. <label ref="usernm"/>
  1048. <value ref="userid"/>
  1049. </itemset>
  1050. </choices>
  1051. </select1>
  1052. <select1 id="combo6" ref="/root/hidden/JoHoiFlag/deptcd" class="combo_search" appearance="minimal" style="left:250px; top:60px; width:165px; height:19px; ">
  1053. <choices>
  1054. <itemset nodeset="/root/temp/LB0002">
  1055. <label ref="nm"/>
  1056. <value ref="cd"/>
  1057. </itemset>
  1058. </choices>
  1059. </select1>
  1060. <caption id="caption31" class="search_name" style="left:250px; top:35px; width:75px; height:17px; ">진료과</caption>
  1061. <caption id="caption32" class="search_name" style="left:250px; top:10px; width:70px; height:17px; ">판독의:</caption>
  1062. <line id="line14" class="line_4" style="x1:715px; y1:5px; x2:715px; y2:85px; border-color:#ffe4bb; border-left-style:solid; "/>
  1063. </case>
  1064. <case id="case2" selected="true">
  1065. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
  1066. <button id="button3" class="btn1_letter4" style="left:1105px; top:35px; width:80px; height:22px; ">
  1067. <caption>상세조회</caption>
  1068. <script type="javascript" ev:event="DOMActivate">
  1069. <![CDATA[
  1070. fGetTestRsltList("3");
  1071. ]]>
  1072. </script>
  1073. </button>
  1074. <caption id="caption5" class="search_name" style="left:715px; top:37px; width:115px; height:17px; ">Microscopic :</caption>
  1075. <caption id="caption8" class="search_name" style="left:715px; top:11px; width:85px; height:17px; ">Gross :</caption>
  1076. <input id="input1" ref="/root/hidden/detlrefcrite/extrpart" class="input_search" navindex="8" style="left:855px; top:10px; width:240px; height:19px; "/>
  1077. <input id="input5" ref="/root/hidden/detlrefcrite/diag" class="input_search" navindex="12" style="left:855px; top:62px; width:240px; height:19px; "/>
  1078. <input id="input6" ref="/root/hidden/detlrefcrite/extrmthd" class="input_search" navindex="13" style="left:855px; top:36px; width:240px; height:19px; "/>
  1079. <caption id="caption15" class="search_name" style="left:715px; top:63px; width:110px; height:17px; ">Diagnosis :</caption>
  1080. <select1 id="combo1" ref="/root/init/srchmthd" class="combo_search" appearance="minimal" style="left:15px; top:20px; width:90px; height:19px; ">
  1081. <choices>
  1082. <item>
  1083. <label>접수일자</label>
  1084. <value>1</value>
  1085. </item>
  1086. <item>
  1087. <label>보고일자</label>
  1088. <value>2</value>
  1089. </item>
  1090. </choices>
  1091. </select1>
  1092. <caption id="caption1" class="search_n_b" style="left:117px; top:47px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1093. <input id="input7" ref="/root/init/acpttodd" class="input_s_essential" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:131px; top:45px; width:100px; height:19px; "/>
  1094. <input id="input8" ref="/root/init/acptfromdd" class="input_s_essential" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:15px; top:45px; width:100px; height:19px; ">
  1095. <script type="javascript" ev:event="xforms-value-changed">
  1096. <![CDATA[
  1097. lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
  1098. ]]>
  1099. </script>
  1100. </input>
  1101. <line id="line5" class="line_4" style="x1:240px; y1:12px; x2:240px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
  1102. <line id="line8" class="line_4" style="x1:1100px; y1:12px; x2:1100px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
  1103. <line id="line15" class="line_4" style="x1:710px; y1:10px; x2:710px; y2:75px; border-color:#ffe4bb; border-left-style:solid; "/>
  1104. <select1 id="combo7" ref="/root/hidden/acptenv/readdr" appearance="minimal" style="left:320px; top:10px; width:75px; height:19px; ">
  1105. <choices>
  1106. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  1107. <label ref="usernm"/>
  1108. <value ref="userid"/>
  1109. </itemset>
  1110. </choices>
  1111. </select1>
  1112. <caption id="caption33" class="search_name" style="left:405px; top:10px; width:108px; height:17px; ">조회대상 :</caption>
  1113. <caption id="caption34" class="search_name" style="left:245px; top:35px; width:75px; height:17px; ">진료과</caption>
  1114. <caption id="caption35" class="search_name" style="left:245px; top:10px; width:70px; height:17px; ">판독의:</caption>
  1115. <select id="checkbox5" ref="/root/hidden/allselect3" class="check_search" overflow="visible" appearance="full" style="left:495px; top:10px; width:55px; height:20px; border-style:none; ">
  1116. <choices>
  1117. <item>
  1118. <label>전체</label>
  1119. <value>Y</value>
  1120. </item>
  1121. </choices>
  1122. <script type="javascript" ev:event="xforms-value-changed">
  1123. <![CDATA[
  1124. if(model.getValue("/root/hidden/allselect3") == "Y") {
  1125. model.makeValue("/root/hidden/workflagcd3", "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012");
  1126. } else {
  1127. model.makeValue("/root/hidden/workflagcd3", "");
  1128. }
  1129. checkbox6.refresh();
  1130. cbo2_slipkindcd.refresh();
  1131. ]]>
  1132. </script>
  1133. </select>
  1134. <select1 id="combo8" ref="/root/hidden/JoHoiFlag/deptcd" class="combo_search" appearance="minimal" style="left:245px; top:60px; width:165px; height:19px; ">
  1135. <choices>
  1136. <itemset nodeset="/root/temp/LB0002">
  1137. <label ref="nm"/>
  1138. <value ref="cd"/>
  1139. </itemset>
  1140. </choices>
  1141. </select1>
  1142. <select id="checkbox6" ref="/root/hidden/workflagcd3" class="check_search" navindex="10" overflow="visible" appearance="full" cellspacing="10" cols="*" rows="3" style="left:420px; top:35px; width:285px; height:50px; border-style:none; ">
  1143. <choices>
  1144. <itemset nodeset="/root/init/resncd/resncdlist">
  1145. <label ref="resncnts"/>
  1146. <value ref="resncd"/>
  1147. </itemset>
  1148. </choices>
  1149. <script type="javascript" ev:event="xforms-value-changed">
  1150. <![CDATA[
  1151. //fExeWorkFlagChng();
  1152. ]]>
  1153. </script>
  1154. </select>
  1155. <select id="checkbox7" ref="/root/hidden/diagchk" overflow="visible" appearance="full" style="left:810px; top:65px; width:40px; height:15px; border-style:none; ">
  1156. <choices>
  1157. <item>
  1158. <label>and</label>
  1159. <value>1</value>
  1160. </item>
  1161. </choices>
  1162. </select>
  1163. </case>
  1164. <case id="case3">
  1165. <shape id="roundrect4" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
  1166. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="2" appearance="minimal" editmode="search" style="left:115px; top:36px; width:124px; height:19px; ">
  1167. <choices>
  1168. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  1169. <label ref="ptnonm"/>
  1170. <value ref="ptnocd"/>
  1171. </itemset>
  1172. </choices>
  1173. </select1>
  1174. <input id="ipt_refval" ref="/root/init/refval" class="input_search" navindex="1" style="left:115px; top:10px; width:100px; height:19px; ">
  1175. <script type="javascript" ev:event="onkeypress">
  1176. <![CDATA[
  1177. fExeRefValKeyPress();
  1178. ]]>
  1179. </script>
  1180. </input>
  1181. <select1 id="cmb_srchmthd" ref="/root/init/srchmthd" class="combo_search" appearance="minimal" style="left:20px; top:62px; width:90px; height:19px; ">
  1182. <choices>
  1183. <item>
  1184. <label>접수일자</label>
  1185. <value>1</value>
  1186. </item>
  1187. <item>
  1188. <label>보고일자</label>
  1189. <value>2</value>
  1190. </item>
  1191. </choices>
  1192. </select1>
  1193. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="4" visibility="hidden" maxlength="6" style="left:980px; top:55px; width:50px; height:19px; ">
  1194. <script type="javascript" ev:event="onkeypress">
  1195. <![CDATA[
  1196. fExePtNoInput();
  1197. ]]>
  1198. </script>
  1199. </input>
  1200. <caption id="caption10" class="search_name" style="left:20px; top:11px; width:90px; height:17px; ">등록번호 :</caption>
  1201. <button id="button4" class="btn1_letter2" navindex="7" style="left:1110px; top:35px; width:56px; height:22px; ">
  1202. <caption>조회</caption>
  1203. <script type="javascript" ev:event="DOMActivate">
  1204. <![CDATA[
  1205. fGetTestRsltList("1");
  1206. ]]>
  1207. </script>
  1208. </button>
  1209. <input id="ipt_acpttodd" ref="/root/init/acpttodd" class="combo_search" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:231px; top:62px; width:100px; height:19px; "/>
  1210. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="3" visibility="hidden" maxlength="2" style="left:950px; top:55px; width:27px; height:19px; "/>
  1211. <input id="ipt_acptfromdd" ref="/root/init/acptfromdd" class="combo_search" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:115px; top:62px; width:100px; height:19px; ">
  1212. <script type="javascript" ev:event="xforms-value-changed">
  1213. <![CDATA[
  1214. lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
  1215. ]]>
  1216. </script>
  1217. </input>
  1218. <caption id="caption11" class="search_n_b" style="left:217px; top:64px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1219. <caption id="caption25" class="search_name" style="left:20px; top:37px; width:105px; height:17px; ">병리번호 :</caption>
  1220. <select id="cbo_slipkindcd" ref="/root/hidden/workflagcd" class="check_search" navindex="10" overflow="visible" appearance="full" cellspacing="10" cols="*" rows="3" style="left:475px; top:30px; width:355px; height:50px; border-style:none; ">
  1221. <choices>
  1222. <itemset nodeset="/root/init/resncd/resncdlist">
  1223. <label ref="resncnts"/>
  1224. <value ref="resncd"/>
  1225. </itemset>
  1226. </choices>
  1227. <script type="javascript" ev:event="xforms-value-changed">
  1228. <![CDATA[
  1229. //fExeWorkFlagChng();
  1230. ]]>
  1231. </script>
  1232. </select>
  1233. <button id="button33" class="icon_search" style="left:219px; top:10px; width:16px; height:16px; ">
  1234. <caption/>
  1235. <script type="javascript" ev:event="DOMActivate">
  1236. <![CDATA[
  1237. var sPid = "";
  1238. model.setValue("/root/main/popupendflag", "cancel");
  1239. modal("SPPMC02500",0,100,150,"SPPMC02500","","");
  1240. if (model.getValue("/root/main/popupendflag") == "ok") {
  1241. sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
  1242. if (sPid == null || sPid == "" || sPid == " ") {
  1243. return false;
  1244. }
  1245. model.setValue("/root/init/refval" , model.getValue("/root/main/patinfo/patinfolist/pid"));
  1246. ipt_refval.refresh();
  1247. }
  1248. ]]>
  1249. </script>
  1250. </button>
  1251. <button id="button8" class="btn2_letter3" visibility="visible" style="left:990px; top:15px; width:53px; height:19px; ">
  1252. <caption>초기화</caption>
  1253. <script type="javascript" ev:event="DOMActivate">
  1254. <![CDATA[
  1255. model.makeValue("/root/init/refval", "");
  1256. model.makeValue("/root/init/ptnocode", "-");
  1257. model.makeValue("/root/init/fromptno", "");
  1258. model.makeValue("/root/init/srchmthd" , "1");
  1259. model.makeValue("/root/hidden/workflagcd" , "1001 1002 1003");
  1260. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  1261. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  1262. model.makeValue("/root/init/fromyearptno", "");
  1263. model.makeValue("/root/init/toyearptno", "");
  1264. model.refresh();
  1265. ]]>
  1266. </script>
  1267. </button>
  1268. <line id="line1" class="line_4" style="x1:440px; y1:12px; x2:440px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
  1269. <caption id="caption7" class="search_name" style="left:475px; top:10px; width:108px; height:17px; ">조회대상 :</caption>
  1270. <select id="checkbox1" ref="/root/hidden/allselect" class="check_search" overflow="visible" appearance="full" style="left:570px; top:10px; width:125px; height:20px; border-style:none; ">
  1271. <choices>
  1272. <item>
  1273. <label>전체</label>
  1274. <value>Y</value>
  1275. </item>
  1276. </choices>
  1277. <script type="javascript" ev:event="xforms-value-changed">
  1278. <![CDATA[
  1279. if(model.getValue("/root/hidden/allselect") == "Y") {
  1280. model.makeValue("/root/hidden/workflagcd", "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012");
  1281. } else {
  1282. model.makeValue("/root/hidden/workflagcd", "");
  1283. }
  1284. cbo_slipkindcd.refresh();
  1285. ]]>
  1286. </script>
  1287. </select>
  1288. <line id="line6" class="line_4" style="x1:1075px; y1:12px; x2:1075px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
  1289. <input id="input11" ref="/root/init/fromyearptno" class="text_center" style="left:240px; top:36px; width:75px; height:19px; ">
  1290. <script type="javascript" ev:event="onkeypress">
  1291. <![CDATA[
  1292. if(event.keyCode == 13) {
  1293. model.setValue("/root/init/fromyearptno", input11.currentText);
  1294. input11.refresh();
  1295. //--------------------
  1296. fGetTestRsltList("1");
  1297. }
  1298. ]]>
  1299. </script>
  1300. </input>
  1301. <input id="input12" ref="/root/init/toyearptno" class="text_center" style="left:330px; top:36px; width:75px; height:19px; ">
  1302. <script type="javascript" ev:event="onkeypress">
  1303. <![CDATA[
  1304. if(event.keyCode == 13) {
  1305. model.setValue("/root/init/toyearptno", input12.currentText);
  1306. input12.refresh();
  1307. //--------------------
  1308. fGetTestRsltList("1");
  1309. }
  1310. ]]>
  1311. </script>
  1312. </input>
  1313. <caption id="caption13" class="search_n_b" style="left:316px; top:38px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1314. </case>
  1315. <case id="case5">
  1316. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
  1317. <select1 id="combo3" ref="/root/init/ptnocode" navindex="2" appearance="minimal" editmode="search" style="left:345px; top:20px; width:124px; height:19px; ">
  1318. <choices>
  1319. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  1320. <label ref="ptnonm"/>
  1321. <value ref="ptnocd"/>
  1322. </itemset>
  1323. </choices>
  1324. </select1>
  1325. <input id="input13" ref="/root/init/refval" class="input_search" navindex="1" style="left:115px; top:20px; width:100px; height:19px; ">
  1326. <script type="javascript" ev:event="onkeypress">
  1327. <![CDATA[
  1328. fExeRefValKeyPress();
  1329. ]]>
  1330. </script>
  1331. </input>
  1332. <select1 id="combo4" ref="/root/init/srchmthd" class="combo_search" appearance="minimal" style="left:655px; top:20px; width:90px; height:19px; ">
  1333. <choices>
  1334. <item>
  1335. <label>접수일자</label>
  1336. <value>1</value>
  1337. </item>
  1338. <item>
  1339. <label>보고일자</label>
  1340. <value>2</value>
  1341. </item>
  1342. </choices>
  1343. </select1>
  1344. <input id="input14" ref="/root/init/fromptno" class="text_center" navindex="4" visibility="hidden" maxlength="6" style="left:980px; top:55px; width:50px; height:19px; ">
  1345. <script type="javascript" ev:event="onkeypress">
  1346. <![CDATA[
  1347. fExePtNoInput();
  1348. ]]>
  1349. </script>
  1350. </input>
  1351. <caption id="caption14" class="search_name" style="left:20px; top:21px; width:90px; height:17px; ">등록번호 :</caption>
  1352. <button id="button1" class="btn1_letter2" navindex="7" style="left:1110px; top:35px; width:56px; height:22px; ">
  1353. <caption>조회</caption>
  1354. <script type="javascript" ev:event="DOMActivate">
  1355. <![CDATA[
  1356. fGetTestRsltList("1");
  1357. ]]>
  1358. </script>
  1359. </button>
  1360. <input id="input15" ref="/root/init/acpttodd" class="combo_search" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:866px; top:20px; width:100px; height:19px; "/>
  1361. <input id="input16" ref="/root/init/fromyear" class="text_center" navindex="3" visibility="hidden" maxlength="2" style="left:950px; top:55px; width:27px; height:19px; "/>
  1362. <input id="input17" ref="/root/init/acptfromdd" class="combo_search" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:750px; top:20px; width:100px; height:19px; ">
  1363. <script type="javascript" ev:event="xforms-value-changed">
  1364. <![CDATA[
  1365. lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
  1366. ]]>
  1367. </script>
  1368. </input>
  1369. <caption id="caption16" class="search_n_b" style="left:852px; top:22px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1370. <caption id="caption17" class="search_name" style="left:250px; top:20px; width:105px; height:17px; ">병리번호 :</caption>
  1371. <button id="button2" class="icon_search" style="left:219px; top:20px; width:16px; height:16px; ">
  1372. <caption/>
  1373. <script type="javascript" ev:event="DOMActivate">
  1374. <![CDATA[
  1375. var sPid = "";
  1376. model.setValue("/root/main/popupendflag", "cancel");
  1377. modal("SPPMC02500",0,100,150,"SPPMC02500","","");
  1378. if (model.getValue("/root/main/popupendflag") == "ok") {
  1379. sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
  1380. if (sPid == null || sPid == "" || sPid == " ") {
  1381. return false;
  1382. }
  1383. model.setValue("/root/init/refval" , model.getValue("/root/main/patinfo/patinfolist/pid"));
  1384. ipt_refval.refresh();
  1385. }
  1386. ]]>
  1387. </script>
  1388. </button>
  1389. <button id="button5" class="btn2_letter3" visibility="visible" style="left:990px; top:20px; width:53px; height:19px; ">
  1390. <caption>초기화</caption>
  1391. <script type="javascript" ev:event="DOMActivate">
  1392. <![CDATA[
  1393. model.makeValue("/root/init/refval", "");
  1394. model.makeValue("/root/init/ptnocode", "-");
  1395. model.makeValue("/root/init/fromptno", "");
  1396. model.makeValue("/root/init/srchmthd" , "1");
  1397. model.makeValue("/root/hidden/workflagcd" , "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012");
  1398. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  1399. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  1400. model.makeValue("/root/init/fromyearptno", "");
  1401. model.makeValue("/root/init/toyearptno", "");
  1402. model.refresh();
  1403. ]]>
  1404. </script>
  1405. </button>
  1406. <line id="line7" class="line_4" style="x1:1075px; y1:12px; x2:1075px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
  1407. <input id="input18" ref="/root/init/fromyearptno" class="text_center" style="left:470px; top:20px; width:75px; height:19px; ">
  1408. <script type="javascript" ev:event="onkeypress">
  1409. <![CDATA[
  1410. if(event.keyCode == 13) {
  1411. model.setValue("/root/init/fromyearptno", input11.currentText);
  1412. input11.refresh();
  1413. //--------------------
  1414. fGetTestRsltList("1");
  1415. }
  1416. ]]>
  1417. </script>
  1418. </input>
  1419. <input id="input19" ref="/root/init/toyearptno" class="text_center" style="left:560px; top:20px; width:75px; height:19px; ">
  1420. <script type="javascript" ev:event="onkeypress">
  1421. <![CDATA[
  1422. if(event.keyCode == 13) {
  1423. model.setValue("/root/init/toyearptno", input12.currentText);
  1424. input12.refresh();
  1425. //--------------------
  1426. fGetTestRsltList("1");
  1427. }
  1428. ]]>
  1429. </script>
  1430. </input>
  1431. <caption id="caption18" class="search_n_b" style="left:546px; top:22px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1432. </case>
  1433. <case id="case4">
  1434. <shape id="roundrect5" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
  1435. <input id="input20" ref="/root/init/fromptno" class="text_center" navindex="4" visibility="hidden" maxlength="6" style="left:980px; top:55px; width:50px; height:19px; ">
  1436. <script type="javascript" ev:event="onkeypress">
  1437. <![CDATA[
  1438. fExePtNoInput();
  1439. ]]>
  1440. </script>
  1441. </input>
  1442. <button id="button6" class="btn1_letter2" navindex="7" style="left:1110px; top:35px; width:56px; height:22px; ">
  1443. <caption>조회</caption>
  1444. <script type="javascript" ev:event="DOMActivate">
  1445. <![CDATA[
  1446. model.makeValue("/root/init/refval", "");
  1447. model.makeValue("/root/init/ptnocode", "-");
  1448. model.makeValue("/root/init/fromptno", "");
  1449. model.makeValue("/root/init/fromyearptno", "");
  1450. model.makeValue("/root/init/toyearptno", "");
  1451. fGetTestRsltList("1");
  1452. ]]>
  1453. </script>
  1454. </button>
  1455. <input id="input21" ref="/root/init/fromyear" class="text_center" navindex="3" visibility="hidden" maxlength="2" style="left:950px; top:55px; width:27px; height:19px; "/>
  1456. <select id="checkbox2" ref="/root/hidden/workflagcd" class="check_search" navindex="10" overflow="visible" appearance="full" cellspacing="10" cols="5" rows="*" style="left:310px; top:30px; width:555px; height:50px; border-style:none; ">
  1457. <choices>
  1458. <itemset nodeset="/root/init/resncd/resncdlist">
  1459. <label ref="resncnts"/>
  1460. <value ref="resncd"/>
  1461. </itemset>
  1462. </choices>
  1463. <script type="javascript" ev:event="xforms-value-changed">
  1464. <![CDATA[
  1465. //fExeWorkFlagChng();
  1466. ]]>
  1467. </script>
  1468. </select>
  1469. <button id="button7" class="btn2_letter3" visibility="visible" style="left:990px; top:15px; width:53px; height:19px; ">
  1470. <caption>초기화</caption>
  1471. <script type="javascript" ev:event="DOMActivate">
  1472. <![CDATA[
  1473. model.makeValue("/root/init/refval", "");
  1474. model.makeValue("/root/init/ptnocode", "-");
  1475. model.makeValue("/root/init/fromptno", "");
  1476. model.makeValue("/root/init/srchmthd" , "1");
  1477. model.makeValue("/root/hidden/workflagcd" , "1001 1002 1003");
  1478. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  1479. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
  1480. model.makeValue("/root/init/fromyearptno", "");
  1481. model.makeValue("/root/init/toyearptno", "");
  1482. model.refresh();
  1483. ]]>
  1484. </script>
  1485. </button>
  1486. <caption id="caption19" class="search_name" style="left:310px; top:10px; width:108px; height:17px; ">작업구분 :</caption>
  1487. <select id="checkbox3" ref="/root/hidden/allselect" class="check_search" overflow="visible" appearance="full" style="left:405px; top:10px; width:125px; height:20px; border-style:none; ">
  1488. <choices>
  1489. <item>
  1490. <label>전체</label>
  1491. <value>Y</value>
  1492. </item>
  1493. </choices>
  1494. <script type="javascript" ev:event="xforms-value-changed">
  1495. <![CDATA[
  1496. if(model.getValue("/root/hidden/allselect") == "Y") {
  1497. model.makeValue("/root/hidden/workflagcd", "1001 1002 1003 1004 1005 1006 1007 1008 1009 1012");
  1498. } else {
  1499. model.makeValue("/root/hidden/workflagcd", "");
  1500. }
  1501. cbo_slipkindcd.refresh();
  1502. ]]>
  1503. </script>
  1504. </select>
  1505. <line id="line10" class="line_4" style="x1:1075px; y1:12px; x2:1075px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
  1506. <input id="input22" ref="/root/init/acpttodd" class="input_s_essential" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:136px; top:45px; width:100px; height:19px; "/>
  1507. <input id="input23" ref="/root/init/acptfromdd" class="input_s_essential" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:20px; top:45px; width:100px; height:19px; ">
  1508. <script type="javascript" ev:event="xforms-value-changed">
  1509. <![CDATA[
  1510. lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
  1511. ]]>
  1512. </script>
  1513. </input>
  1514. <select1 id="combo5" ref="/root/init/srchmthd" class="combo_search" appearance="minimal" style="left:20px; top:20px; width:90px; height:19px; ">
  1515. <choices>
  1516. <item>
  1517. <label>접수일자</label>
  1518. <value>1</value>
  1519. </item>
  1520. <item>
  1521. <label>보고일자</label>
  1522. <value>2</value>
  1523. </item>
  1524. </choices>
  1525. </select1>
  1526. <caption id="caption20" class="search_n_b" style="left:122px; top:47px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1527. <line id="line11" class="line_4" style="x1:270px; y1:12px; x2:270px; y2:77px; border-color:#ffe4bb; border-left-style:solid; "/>
  1528. </case>
  1529. </switch>
  1530. <button id="btn_tpm" class="btn_sw" group="tab" selected="true" style="left:180px; top:5px; width:90px; height:22px; ">
  1531. <caption>코드검색</caption>
  1532. <toggle case="case1" ev:event="DOMActivate"/>
  1533. </button>
  1534. <button id="btn_rsltref" class="btn_sw" group="tab" selected="true" style="left:90px; top:5px; width:90px; height:22px; ">
  1535. <caption>단어검색</caption>
  1536. <toggle case="case2" ev:event="DOMActivate"/>
  1537. </button>
  1538. <button id="btn_rsltexcel" class="btn2_letter5" style="left:1118px; top:124px; width:75px; height:19px; ">
  1539. <caption>EXCEL저장</caption>
  1540. <script type="javascript" ev:event="DOMActivate">
  1541. <![CDATA[
  1542. fExeMakePatInfo();
  1543. lpzfExeSaveToExcel(grd_testrsltref, "검사결과내용");
  1544. grd_testrsltref.deleteRow(1);
  1545. ]]>
  1546. </script>
  1547. </button>
  1548. <button id="btn_imgview" class="btn2_letter5" style="left:1040px; top:124px; width:75px; height:19px; ">
  1549. <caption>이미지보기</caption>
  1550. <script type="javascript" ev:event="DOMActivate">
  1551. <![CDATA[
  1552. fExeImgView();
  1553. ]]>
  1554. </script>
  1555. </button>
  1556. <button id="button9" class="btn2_letter6" visibility="visible" style="left:951px; top:124px; width:86px; height:19px; ">
  1557. <caption>임상정보조회</caption>
  1558. <script type="javascript" ev:event="DOMActivate">
  1559. <![CDATA[
  1560. // 임상정보 조회
  1561. fGetIMSInfo();
  1562. ]]>
  1563. </script>
  1564. </button>
  1565. <button id="btn_search" class="btn_sw" group="tab" selected="true" style="left:0px; top:5px; width:90px; height:22px; ">
  1566. <caption>결과조회</caption>
  1567. <toggle case="case3" ev:event="DOMActivate"/>
  1568. </button>
  1569. <output id="output4" ref="/root/main/patinfo/pattestrslt/readdd" class="output_fix" visibility="hidden" format="yyyy-mm-dd" style="left:883px; top:460px; width:78px; height:19px; border-color:#c0c0c0; "/>
  1570. <output id="output7" ref="/root/main/patinfo/pattestrslt/orddrnm" class="output_fix" visibility="hidden" style="left:735px; top:436px; width:82px; height:19px; border-color:#c0c0c0; "/>
  1571. <line id="line12" class="line_2" visibility="hidden" style="x1:515px; y1:433px; x2:963px; y2:433px; "/>
  1572. <output id="output8" ref="/root/main/patinfo/pattestrslt/acptdd" class="output_fix" visibility="hidden" format="yyyy-mm-dd" style="left:735px; top:460px; width:82px; height:19px; border-color:#c0c0c0; "/>
  1573. <line id="line13" class="line_2" visibility="hidden" style="x1:515px; y1:457px; x2:963px; y2:457px; "/>
  1574. <output id="output9" ref="/root/main/patinfo/pattestrslt/readdrnm" class="output_fix" visibility="hidden" style="left:880px; top:440px; width:78px; height:19px; border-color:#c0c0c0; "/>
  1575. <caption id="caption21" class="cell_1" visibility="hidden" style="left:663px; top:435px; width:69px; height:23px; vertical-align:middle; ">진료의사</caption>
  1576. <caption id="caption22" class="cell_1" visibility="hidden" style="left:663px; top:459px; width:69px; height:23px; vertical-align:middle; ">접 수 일</caption>
  1577. <caption id="caption23" class="cell_1" visibility="hidden" style="left:820px; top:435px; width:60px; height:23px; vertical-align:middle; ">판독의사</caption>
  1578. <caption id="caption26" class="cell_1" visibility="hidden" style="left:515px; top:435px; width:60px; height:23px; vertical-align:middle; ">진 료 과</caption>
  1579. <caption id="caption27" class="cell_1" visibility="hidden" style="left:515px; top:459px; width:60px; height:23px; vertical-align:middle; ">처 방 일</caption>
  1580. <caption id="caption28" class="cell_1" visibility="hidden" style="left:820px; top:459px; width:60px; height:23px; vertical-align:middle; ">보 고 일</caption>
  1581. <output id="output2" ref="/root/main/patinfo/pattestrslt/orddeptnm" class="output_fix" visibility="hidden" style="left:578px; top:436px; width:82px; height:19px; border-color:#c0c0c0; "/>
  1582. <output id="output3" ref="/root/main/patinfo/pattestrslt/prcpdd" class="output_fix" visibility="hidden" format="yyyy-mm-dd" style="left:578px; top:460px; width:82px; height:19px; border-color:#c0c0c0; "/>
  1583. <button id="button10" class="btn2_letter3" visibility="visible" style="left:341px; top:125px; width:53px; height:19px; ">
  1584. <caption>확 장</caption>
  1585. <script type="javascript" ev:event="DOMActivate">
  1586. <![CDATA[
  1587. fExeResizeRow();
  1588. ]]>
  1589. </script>
  1590. </button>
  1591. <button id="button102" class="icon_left" style="left:395px; top:125px; width:26px; height:19px; ">
  1592. <caption/>
  1593. <script type="javascript" ev:event="onclick">
  1594. <![CDATA[
  1595. fExeEpandGrid("2");
  1596. ]]>
  1597. </script>
  1598. </button>
  1599. <button id="button103" class="icon_right" style="left:422px; top:125px; width:26px; height:19px; ">
  1600. <caption/>
  1601. <script type="javascript" ev:event="onclick">
  1602. <![CDATA[
  1603. fExeEpandGrid("1");
  1604. ]]>
  1605. </script>
  1606. </button>
  1607. <datagrid id="grd_testrsltlist" nodeset="/root/main/testrslt/testrsltlist" class="datagrid2" caption="상태^기관코드^병리번호^병리번호^등록번호^환자명^진료과^처방명^처방일자^접수일자^검사코드^검사그룹코드^의뢰서&#xA;번호^의뢰지구분코드^성별/나이^판독일자^진료의사^판독의사^처방발생구분^작업구분코드^진 단^Mcode^execprcpuniqno" colsep="^" colwidth="60, 0, 0, 80, 68, 54, 46, 128, 75, 75, 100, 100, 100, 100, 100, 75, 100, 55, 100, 100, 250, 160, 100" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:0px; top:149px; width:448px; height:595px; ">
  1608. <col ref="acptstatcd" type="output"/>
  1609. <col ref="instcd"/>
  1610. <col ref="ptno"/>
  1611. <col ref="dispptno"/>
  1612. <col ref="pid"/>
  1613. <col ref="patnm"/>
  1614. <col ref="orddeptnm"/>
  1615. <col ref="testnm" type="output"/>
  1616. <col ref="prcpdd" type="output" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  1617. <col ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  1618. <col ref="testcd" visibility="hidden"/>
  1619. <col ref="tgrupcd" type="output" visibility="hidden"/>
  1620. <col ref="reqfrmno" type="output" visibility="hidden"/>
  1621. <col ref="reqfrmflagcd" visibility="hidden"/>
  1622. <col ref="sexage" visibility="hidden"/>
  1623. <col ref="readdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  1624. <col ref="orddrnm" visibility="hidden"/>
  1625. <col ref="readdrnm"/>
  1626. <col ref="prcpgenrflag" visibility="hidden"/>
  1627. <col ref="ptnoworkflagcd" visibility="hidden"/>
  1628. <col ref="realdiagcnts"/>
  1629. <col ref="diagcnts"/>
  1630. <col ref="execprcpuniqno" visibility="hidden"/>
  1631. <script type="javascript" ev:event="onclick">
  1632. <![CDATA[
  1633. if(sGridSize == "1") {
  1634. fExePtNoClick();
  1635. }
  1636. ]]>
  1637. </script>
  1638. <script type="javascript" ev:event="onaftersort">
  1639. <![CDATA[
  1640. grd_testrsltlist.gridToInstance();
  1641. ]]>
  1642. </script>
  1643. </datagrid>
  1644. <button id="btn_work" class="btn_sw" visibility="hidden" group="tab" selected="true" style="left:270px; top:5px; width:90px; height:22px; ">
  1645. <caption>조회대상</caption>
  1646. <toggle case="case4" ev:event="DOMActivate"/>
  1647. </button>
  1648. </group>
  1649. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  1650. <button id="button13" class="btn6_letter5" style="left:5px; top:3px; width:92px; height:22px; ">
  1651. <caption>EXCEL저장</caption>
  1652. <script type="javascript" ev:event="DOMActivate">
  1653. <![CDATA[
  1654. fExeMakePatInfo2();
  1655. lpzfExeSaveToExcel(grd_testrsltlist, "결과조회");
  1656. fExeDelPatInfo2();
  1657. ]]>
  1658. </script>
  1659. </button>
  1660. <line id="line17" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  1661. <button id="btn_sytsrsltref" class="btn3_letter6" style="left:100; top:3px; width:92px; height:22px; ">
  1662. <caption>통합결과조회</caption>
  1663. <script type="javascript" ev:event="DOMActivate">
  1664. <![CDATA[
  1665. fExePopupCallSytsRslt();
  1666. ]]>
  1667. </script>
  1668. </button>
  1669. <button id="btn_prt" class="btn6_letter2" navindex="14" style="left:207px; top:3px; width:56px; height:22px; ">
  1670. <caption>출력</caption>
  1671. <script type="javascript" ev:event="DOMActivate">
  1672. <![CDATA[
  1673. fExeReptPrnt();
  1674. ]]>
  1675. </script>
  1676. </button>
  1677. </group>
  1678. </xhtml:body>
  1679. </xhtml:html>