SMAHR00910_통합건진출력.xrw 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>통합건진진단결과표출력</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <detlinfo>
  11. <item>
  12. <sel/>
  13. <pid/>
  14. <hngnm/>
  15. <rsrvdd/>
  16. <rsrvno/>
  17. <rrgstno1/>
  18. <rrgstno2/>
  19. <age/>
  20. <zipcd/>
  21. <address/>
  22. <cmpycd/>
  23. <cmpynm/>
  24. <pkgnm/>
  25. <testnm/>
  26. </item>
  27. </detlinfo>
  28. <fstrsltinfo>
  29. <save/>
  30. </fstrsltinfo>
  31. <printinfo>
  32. <fstgnrlrslt>
  33. <sel/>
  34. <prntyn/>
  35. <endyn/>
  36. <pid/>
  37. <orddd/>
  38. <rrgstno1/>
  39. <rrgstno2/>
  40. <hngnm/>
  41. <rsrvdd/>
  42. <rsrvno/>
  43. <cmpynm/>
  44. <plceflag/>
  45. <clntempid/>
  46. <a01/>
  47. <a02/>
  48. <a03/>
  49. <a04/>
  50. <a05/>
  51. <a06/>
  52. <a07/>
  53. <a08/>
  54. <a09/>
  55. <a10/>
  56. <a11/>
  57. <a12/>
  58. <a13/>
  59. <a14/>
  60. <a15/>
  61. <a16/>
  62. <a17/>
  63. <a18/>
  64. <a19/>
  65. <a20/>
  66. <a21/>
  67. <a22/>
  68. <a23/>
  69. <a24/>
  70. <a25/>
  71. <a26/>
  72. <a27/>
  73. <a28/>
  74. <a29/>
  75. <a30/>
  76. <testnm/>
  77. <cmtcnts/>
  78. <judgdd/>
  79. <drid/>
  80. <drnm/>
  81. <drlicnsno/>
  82. <tbdd/>
  83. <assocd/>
  84. <assonm/>
  85. <instcd/>
  86. <healexamflag/>
  87. <value01/>
  88. <value02/>
  89. <value03/>
  90. <value04/>
  91. <value05/>
  92. <value06/>
  93. <value07/>
  94. <value08/>
  95. <value91/>
  96. <value92/>
  97. <value93/>
  98. <value94/>
  99. <value95/>
  100. <value96/>
  101. <value97/>
  102. <value101/>
  103. <value102/>
  104. <value103/>
  105. <value104/>
  106. <value105/>
  107. <value106/>
  108. <value111/>
  109. <value112/>
  110. <value113/>
  111. <insuflag/>
  112. <healcntrcd/>
  113. <zipcd11/>
  114. <zipcd12/>
  115. <addr/>
  116. <schlgrde/>
  117. <clsid/>
  118. <studid/>
  119. <clntdeptnm/>
  120. <signdata/>
  121. <hopedd/>
  122. <a31/>
  123. </fstgnrlrslt>
  124. <fstgnrlrslt2/>
  125. </printinfo>
  126. <prtinfo>
  127. <item>
  128. <sel/>
  129. <prntyn/>
  130. <endyn/>
  131. <pid/>
  132. <orddd/>
  133. <rrgstno1/>
  134. <rrgstno2/>
  135. <hngnm/>
  136. <rsrvdd/>
  137. <rsrvno/>
  138. <cmpynm/>
  139. <plceflag/>
  140. <clntempid/>
  141. <a01/>
  142. <a02/>
  143. <a03/>
  144. <a04/>
  145. <a05/>
  146. <a06/>
  147. <a07/>
  148. <a08/>
  149. <a09/>
  150. <a10/>
  151. <a11/>
  152. <a12/>
  153. <a13/>
  154. <a14/>
  155. <a15/>
  156. <a16/>
  157. <a17/>
  158. <a18/>
  159. <a19/>
  160. <a20/>
  161. <a21/>
  162. <a22/>
  163. <a23/>
  164. <a24/>
  165. <a25/>
  166. <a26/>
  167. <a27/>
  168. <a28/>
  169. <a29/>
  170. <a30/>
  171. <testnm/>
  172. <cmtcnts/>
  173. <judgdd/>
  174. <drid/>
  175. <drnm/>
  176. <drlicnsno/>
  177. <tbdd/>
  178. <assocd/>
  179. <assonm/>
  180. <instcd/>
  181. <healexamflag/>
  182. <value01/>
  183. <value02/>
  184. <value03/>
  185. <value04/>
  186. <value05/>
  187. <value06/>
  188. <value07/>
  189. <value08/>
  190. <value91/>
  191. <value92/>
  192. <value93/>
  193. <value94/>
  194. <value95/>
  195. <value96/>
  196. <value97/>
  197. <value101/>
  198. <value102/>
  199. <value103/>
  200. <value104/>
  201. <value105/>
  202. <value106/>
  203. <value111/>
  204. <value112/>
  205. <value113/>
  206. <insuflag/>
  207. <healcntrcd/>
  208. <zipcd11/>
  209. <zipcd12/>
  210. <addr/>
  211. <panjung/>
  212. <value11/>
  213. <value12/>
  214. <value13/>
  215. <value14/>
  216. <value15/>
  217. <value16/>
  218. <value17/>
  219. <value18/>
  220. </item>
  221. <items>
  222. <instcd/>
  223. <healexamflag/>
  224. <rsrvno/>
  225. <rsrvdd/>
  226. <orddd/>
  227. <hopedd/>
  228. <pid/>
  229. <rrgstno1/>
  230. <rrgstno2/>
  231. <hngnm/>
  232. <cmpynm/>
  233. <clntempid/>
  234. <plceflag/>
  235. <cmtcnts/>
  236. <judgdd/>
  237. <drid/>
  238. <drnm/>
  239. <drlicnsno/>
  240. <tbdd/>
  241. <assocd/>
  242. <assonm/>
  243. <insuflag/>
  244. <healcntrcd/>
  245. <zipcd11/>
  246. <zipcd12/>
  247. <addr/>
  248. <testnm/>
  249. </items>
  250. </prtinfo>
  251. <rpt>
  252. <xpath/>
  253. <rpt>
  254. <xpath>
  255. <list/>
  256. <cnt/>
  257. </xpath>
  258. </rpt>
  259. </rpt>
  260. <prntinfo>
  261. <prnt>
  262. </prnt>
  263. </prntinfo>
  264. </main>
  265. <send>
  266. <srchhealexamdetlflag/>
  267. <srchhealexamflag/>
  268. <srchfromdd/>
  269. <srchtodd/>
  270. <srchcmpycd/>
  271. <srchcmpynm/>
  272. <srchinstcd/>
  273. <srchpid/>
  274. <srchhngnm/>
  275. <srchplceflag/>
  276. <save/>
  277. <srchtestcddgflag/>
  278. <srchflag/>
  279. <srchrsrvdd/>
  280. <srchrsrvno/>
  281. <srchetccd/>
  282. <srchpids/>
  283. </send>
  284. <init>
  285. <baseinfo>
  286. <hedetlflaglst/>
  287. <rsrvflaglst/>
  288. <testflag/>
  289. <contypelst>
  290. </contypelst>
  291. <statlst/>
  292. </baseinfo>
  293. <cmb_info>
  294. <testcddgflag>
  295. <cdid/>
  296. <cdnm/>
  297. </testcddgflag>
  298. </cmb_info>
  299. </init>
  300. <hidden/>
  301. <temp>
  302. <send>
  303. <pid/>
  304. <hngnm/>
  305. </send>
  306. <preview/>
  307. <postmail/>
  308. <prntcopy/>
  309. </temp>
  310. </root>
  311. </instance>
  312. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  313. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  314. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  315. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  316. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  317. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  318. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  319. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  320. <script type="javascript" ev:event="xforms-ready">
  321. <![CDATA[
  322. fGetBasicCdList();
  323. fInitInfo();
  324. ]]>
  325. </script>
  326. <submission id="TRZBC00101"/>
  327. <submission id="TRAHR00921" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detlinfo"/>
  328. <submission id="TRAHR00922" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rpt" resultref="/root/main/printinfo"/>
  329. <submission id="TRAHR00923" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rpt" resultref="/root/main/rpt"/>
  330. <submission id="TRAHR00925" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rpt" resultref="/root/main/rpt"/>
  331. <submission id="TRAHR00924" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rpt" resultref="/root/main/rpt"/>
  332. <submission id="TRAHR00926" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rpt" resultref="/root/main/rpt"/>
  333. <submission id="TRAHR00927" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rpt" resultref="/root/main/rpt"/>
  334. <submission id="TRAHA03174" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch" resultref="/root/hidden/signinfo"/>
  335. <submission id="TRAHR00928" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/input" resultref="/root/main/rpt"/>
  336. <submission id="TRAHR00930" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/input" resultref="/root/main/rpt/list2"/>
  337. <submission id="TRAHR00920" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/input" replace="instance" resultref="/root/main/rpt/list"/>
  338. <submission id="TRAHR00929" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rpt/list" replace="instance" resultref="/root/main/prntinfo/prnt"/>
  339. <submission id="TRAHR00932" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/rpt" replace="instance" resultref="/root/main/printinfo"/>
  340. </model>
  341. <script type="javascript">
  342. <![CDATA[
  343. var vHealExamFlag = "";
  344. var vHealExamDetlFlag = "";
  345. /**========================================================================================================================================
  346. * 공통코드 및 검사실 코드 조회
  347. =========================================================================================================================================*/
  348. function fGetBasicCdList(){
  349. vHealExamFlag = 'G'
  350. vHealExamDetlFlag = 'G01'
  351. //선택검사내역조회
  352. zbcfGetCodeList( new Array("A0070", "A0115", "A0107", "A0117","A0113"),
  353. new Array( "/root/init/baseinfo/hedetlflaglst"
  354. , "/root/init/baseinfo/rsrvflaglst"
  355. , "/root/init/baseinfo/statlst"
  356. ,"/root/init/baseinfo/testflag"
  357. ,"/root/init/baseinfo/contypelst") );
  358. //건진 상세분류 제거
  359. model.removeNodeset("/root/init/baseinfo/hedetlflaglst/A0070["+14+"]"); //공단(기타)
  360. model.removeNodeset("/root/init/baseinfo/hedetlflaglst/A0070["+10+"]"); //기타
  361. model.removeNodeset("/root/init/baseinfo/hedetlflaglst/A0070["+9+"]"); //분석
  362. model.removeNodeset("/root/init/baseinfo/hedetlflaglst/A0070["+8+"]"); //대행
  363. model.removeNodeset("/root/init/baseinfo/hedetlflaglst/A0070["+7+"]"); //측정
  364. //model.removeNodeset("/root/init/baseinfo/hedetlflaglst/A0070["+6+"]"); //간이종합건진
  365. //model.removeNodeset("/root/init/baseinfo/hedetlflaglst/A0070["+5+"]"); //학생건진
  366. model.removeNodeset("/root/init/baseinfo/hedetlflaglst/A0070["+4+"]"); //채용건진
  367. model.removeNodeset("/root/init/baseinfo/hedetlflaglst/A0070["+3+"]"); //혈액정밀
  368. model.removeNodeset("/root/init/baseinfo/hedetlflaglst/A0070["+1+"]"); //비자건진
  369. cmb_plceflag.select(0);
  370. model.setValue("/root/send/srchhealexamflag",vHealExamFlag);
  371. model.removeNodeset("/root/main/printinfo/fstgnrlrslt");
  372. // model.refresh();
  373. submit("TRZBC00101");
  374. }
  375. //검사실 코드조회
  376. function fInitInfo(){
  377. var curDt = getCurrentDate();
  378. model.setValue(ipt_srchfromdd.attribute("ref") , curDt);
  379. model.setValue(ipt_srchtodd.attribute("ref") , curDt);
  380. chk_preview.value = 'Y'
  381. //cmb_plceflag.value = '1'
  382. //그리드 선택컬럼에서 모두 선택이 가능하게 설정
  383. grd_prntlst.fixedcellcheckbox(0,1) = true;
  384. model.refresh();
  385. }
  386. /**========================================================================================================================================
  387. * 상세현황조회
  388. =========================================================================================================================================*/
  389. function fGetRsrvAcptList(){
  390. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  391. var srchtestcddgflag = model.getValue("/root/send/srchtestcddgflag");
  392. var srchhealexamdetlflag = model.getValue("/root/send/srchhealexamdetlflag");
  393. if ( srchhealexamdetlflag == "" ) {
  394. messageBox("건진상세분류를 선택해 주십시오.","I999");
  395. return "0";
  396. }
  397. if ( srchtestcddgflag == "" ) {
  398. messageBox("기타분류를 선택해 주십시오.","I999");
  399. return "0";
  400. }
  401. //기타분류
  402. if( srchtestcddgflag == "1" || srchtestcddgflag == "2"){
  403. model.setValue("/root/send/srchflag", "Y");
  404. }else{
  405. model.setValue("/root/send/srchflag", "N");
  406. }
  407. if (submit("TRAHR00921")){
  408. model.makeValue("/root/main/fstrsltinfo/save", model.getValue("/root/main/detlinfo"));
  409. model.refresh();
  410. }
  411. }
  412. /**========================================================================================================================================
  413. * 결과지출력
  414. =========================================================================================================================================*/
  415. function fSelectSel(){
  416. model.resetInstanceNode("/root/main/rpt");
  417. model.resetInstanceNode("/root/main/rpt/list");
  418. model.resetInstanceNode("/root/main/rptrsult");
  419. model.removeNodeset("/root/main/printinfo/fstgnrlrslt");
  420. var srchtestcddgflag = model.getValue("/root/send/srchtestcddgflag");
  421. var srchhealexamdetlflag = model.getValue("/root/send/srchhealexamdetlflag");
  422. var j = 1;
  423. var cnt = 1;
  424. if(srchhealexamdetlflag == "G03"){ //특수건진
  425. for(var i=1; i < grd_prntlst.rows; i++) {
  426. var chk = model.getValue("/root/main/detlinfo/item["+i+"]/sel");
  427. if(chk == "Y") {
  428. rsrvdd = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvdd");
  429. rsrvno = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvno");
  430. srchpids = model.getValue("/root/main/detlinfo/item["+i+"]/pid");
  431. model.makeValue("/root/main/input/list/srchrsrvdd", model.getValue("/root/main/detlinfo/item["+i+"]/rsrvdd"));
  432. model.makeValue("/root/main/input/list/srchrsrvno", model.getValue("/root/main/detlinfo/item["+i+"]/rsrvno"));
  433. model.makeValue("/root/main/input/list/srchetccd", "G51");
  434. model.makeValue("/root/main/input/list/srchpids", model.getValue("/root/main/detlinfo/item["+i+"]/pid"));
  435. model.makeValue("/root/main/input/list/srchtestcddgflag", srchtestcddgflag);
  436. model.makeValue("/root/main/input/list/srchtodd", model.getValue("/root/send/srchtodd"));
  437. model.makeValue("/root/main/input/list/srchhealexamdetlflag", srchhealexamdetlflag);
  438. model.makeValue("/root/main/input/list/srchcmpycd", model.getValue("/root/main/detlinfo/item["+i+"]/cmpycd"));
  439. model.makeValue("/root/main/input/list/srchfromdd", model.getValue("/root/send/srchfromdd"));
  440. j++;
  441. }
  442. if(chk == "Y") {
  443. if ( submit("TRAHR00928") ) {
  444. submit("TRAHR00920");
  445. submit("TRAHR00930");
  446. var num = 1;
  447. var tmp = 1;
  448. var rsrvno_chk = model.getValue("/root/main/rpt/xpath/rsrvno");
  449. var row_cnt = model.getValue("/root/main/rpt/rpt/xpath/list/cnt");
  450. if ( row_cnt != null && row_cnt != 0 ) {
  451. for ( j = 1; j<parseInt(row_cnt) + 1; j++) {
  452. var sub_chk = model.getValue("/root/main/rpt/rpt/xpath/list[" + tmp + "]/rsrvno");
  453. if (rsrvno_chk == sub_chk) {
  454. model.makeValue("/root/main/rpt/xpath/examnm/list[" + j +"]/examnm", model.getValue("/root/main/rpt/rpt/xpath/list[" + tmp + "]/examnm"));
  455. model.makeValue("/root/main/rpt/xpath/examnm/list[" + j +"]/examrslt", model.getValue("/root/main/rpt/rpt/xpath/list[" + tmp + "]/examrslt"));
  456. model.makeValue("/root/main/rpt/xpath/examnm/list[" + j +"]/examchamgochi", model.getValue("/root/main/rpt/rpt/xpath/list[" + tmp + "]/examchamgochi"));
  457. }
  458. tmp = parseInt(num) + j;
  459. }
  460. num = parseInt(num) + parseInt(row_cnt);
  461. }
  462. var postmail = model.getValue("/root/temp/postmail");
  463. var loop = model.instances(0).selectNodes( "/root/main/rpt/xpath" ).length;
  464. if ( loop > 0) {
  465. if ( chk_preview.value == "Y" ) { // 미리보기
  466. exeReportPreview("RPAHR09003", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  467. } else {
  468. exeReportPreview("RPAHR09003", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  469. }
  470. }
  471. }
  472. }
  473. }
  474. } else if( srchhealexamdetlflag == "G09") { //공단(암)
  475. for(var i=1; i < grd_prntlst.rows; i++) {
  476. var chk = model.getValue("/root/main/detlinfo/item["+i+"]/sel");
  477. if(chk == "Y") {
  478. rsrvdd = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvdd");
  479. rsrvno = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvno");
  480. srchpids = model.getValue("/root/main/detlinfo/item["+i+"]/pid");
  481. model.makeValue("/root/main/rpt/list["+ j +"]/srchrsrvdd", model.getValue("/root/main/detlinfo/item["+i+"]/rsrvdd"));
  482. model.makeValue("/root/main/rpt/list["+ j +"]/srchrsrvno", model.getValue("/root/main/detlinfo/item["+i+"]/rsrvno"));
  483. model.makeValue("/root/main/rpt/list["+ j +"]/srchetccd", "G51");
  484. model.makeValue("/root/main/rpt/list["+ j +"]/srchpids", model.getValue("/root/main/detlinfo/item["+i+"]/pid"));
  485. model.makeValue("/root/main/rpt/list["+ j +"]/srchtestcddgflag", srchtestcddgflag);
  486. model.makeValue("/root/main/rpt/list["+ j +"]/srchtodd", model.getValue("/root/send/srchtodd"));
  487. j++;
  488. }
  489. }
  490. if(srchtestcddgflag == "G003") {
  491. if(submit("TRAHR00923")) {
  492. model.refresh();
  493. }
  494. } else if (srchtestcddgflag == "G004") {
  495. if(submit("TRAHR00924")) {
  496. model.refresh();
  497. }
  498. } else if (srchtestcddgflag == "G005") {
  499. if(submit("TRAHR00925")) {
  500. model.refresh();
  501. }
  502. } else if (srchtestcddgflag == "G006") {
  503. if(submit("TRAHR00926")) {
  504. model.refresh();
  505. }
  506. } else if (srchtestcddgflag == "G007") {
  507. if(submit("TRAHR00927")) {
  508. model.refresh();
  509. }
  510. }
  511. var postmail = model.getValue("/root/temp/postmail");
  512. var loop = model.instances(0).selectNodes( "/root/main/rpt/xpath" ).length;
  513. if(srchtestcddgflag == "G003") { // 위암
  514. if( loop > 0){
  515. if(chk_preview.value == "Y"){ // 미리보기
  516. exeReportPreview("RPAHR09005", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  517. } else {
  518. exeReportPreview("RPAHR09005", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  519. }
  520. }
  521. } else if (srchtestcddgflag == "G004") { // 대장암
  522. if( loop > 0){
  523. if(chk_preview.value == "Y"){ // 미리보기
  524. exeReportPreview("RPAHR09006", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  525. } else {
  526. exeReportPreview("RPAHR09006", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  527. }
  528. }
  529. } else if (srchtestcddgflag == "G005") { // 간암
  530. if( loop > 0){
  531. if(chk_preview.value == "Y"){ // 미리보기
  532. exeReportPreview("RPAHR09007", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  533. } else {
  534. exeReportPreview("RPAHR09007", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  535. }
  536. }
  537. } else if (srchtestcddgflag == "G006") { // 유방암
  538. if( loop > 0){
  539. if(chk_preview.value == "Y"){ // 미리보기
  540. exeReportPreview("RPAHR09008", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  541. } else {
  542. exeReportPreview("RPAHR09008", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  543. }
  544. }
  545. } else if (srchtestcddgflag == "G007") { // 자궁경부암
  546. if( loop > 0){
  547. if(chk_preview.value == "Y"){ // 미리보기
  548. exeReportPreview("RPAHR09009", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  549. } else {
  550. exeReportPreview("RPAHR09009", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  551. }
  552. }
  553. }
  554. }else if( srchhealexamdetlflag == "G01"){ //공단(직장+성인병)
  555. if(srchtestcddgflag == "1") { //1차
  556. for(var i=1; i < grd_prntlst.rows; i++) {
  557. var chk = model.getValue("/root/main/detlinfo/item["+i+"]/sel");
  558. var rsrvdd = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvdd");
  559. var rsrvno = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvno");
  560. var srchpids = model.getValue("/root/main/detlinfo/item["+i+"]/pid");
  561. if(chk == "Y") {
  562. model.makeValue("/root/main/rpt/list["+ j+"]/srchrsrvdd", rsrvdd);
  563. model.makeValue("/root/main/rpt/list["+ j +"]/srchrsrvno", rsrvno);
  564. model.makeValue("/root/main/rpt/list["+ j +"]/srchetccd", "G51");
  565. model.makeValue("/root/main/rpt/list["+ j +"]/srchpids", srchpids);
  566. model.makeValue("/root/main/rpt/list["+ j+"]/srchhealexamflag", "G");
  567. model.makeValue("/root/main/rpt/list["+ j +"]/srchhealexamdetlflag", srchhealexamdetlflag);
  568. j++;
  569. }
  570. }
  571. if (submit("TRAHR00922")){
  572. var postmail = model.getValue("/root/temp/postmail");
  573. var loop = model.instances(0).selectNodes( "/root/main/printinfo/fstgnrlrslt" ).length;
  574. if( loop > 0){
  575. if(chk_preview.value == "Y"){ //미리보기
  576. if(postmail == "Y"){ //우편
  577. exeReportPreview("RPAHR09002", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  578. }else{
  579. exeReportPreview("RPAHR09001", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  580. }
  581. }
  582. else {
  583. if(postmail == "Y"){
  584. exeReportPreview("RPAHR09002", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  585. }else{
  586. exeReportPreview("RPAHR09001", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  587. }
  588. }
  589. }
  590. }
  591. }else if(srchtestcddgflag == "2") { //2차
  592. for(var i=1; i < grd_prntlst.rows; i++) {
  593. var chk = model.getValue("/root/main/detlinfo/item["+i+"]/sel");
  594. var rsrvdd = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvdd");
  595. var rsrvno = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvno");
  596. var srchpids = model.getValue("/root/main/detlinfo/item["+i+"]/pid");
  597. if(chk == "Y") {
  598. model.makeValue("/root/main/rpt/list["+ j+"]/srchrsrvdd", rsrvdd);
  599. model.makeValue("/root/main/rpt/list["+ j +"]/srchrsrvno", rsrvno);
  600. model.makeValue("/root/main/rpt/list["+ j +"]/srchetccd", "G51");
  601. model.makeValue("/root/main/rpt/list["+ j +"]/srchpids", srchpids);
  602. model.makeValue("/root/main/rpt/list["+ j+"]/srchhealexamflag", "G");
  603. model.makeValue("/root/main/rpt/list["+ j +"]/srchhealexamdetlflag", srchhealexamdetlflag);
  604. j++;
  605. }
  606. }
  607. if (submit("TRAHR00932")){
  608. var postmail = model.getValue("/root/temp/postmail");
  609. var loop = model.instances(0).selectNodes( "/root/main/printinfo/fstgnrlrslt2" ).length;
  610. if( loop > 0){
  611. if(chk_preview.value == "Y"){ //미리보기
  612. exeReportPreview("RPAHR09016", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  613. }else {
  614. exeReportPreview("RPAHR09016", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  615. }
  616. }
  617. }
  618. }
  619. }else if( srchhealexamdetlflag == "G08"){ //공단(생애전환기)
  620. if(srchtestcddgflag == "1") {
  621. for(var i=1; i < grd_prntlst.rows; i++) {
  622. var chk = model.getValue("/root/main/detlinfo/item["+i+"]/sel");
  623. var rsrvdd = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvdd");
  624. var rsrvno = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvno");
  625. var srchpids = model.getValue("/root/main/detlinfo/item["+i+"]/pid");
  626. var age = parseInt(model.getValue("/root/main/detlinfo/item["+i+"]/age"));
  627. if(chk == "Y" && age <= 50) {
  628. model.makeValue("/root/main/rpt/list["+ j+"]/srchrsrvdd", rsrvdd);
  629. model.makeValue("/root/main/rpt/list["+ j +"]/srchrsrvno", rsrvno);
  630. model.makeValue("/root/main/rpt/list["+ j +"]/srchetccd", "G53"); //만40세
  631. model.makeValue("/root/main/rpt/list["+ j +"]/srchpids", srchpids);
  632. model.makeValue("/root/main/rpt/list["+ j+"]/srchhealexamflag", "G");
  633. model.makeValue("/root/main/rpt/list["+ j +"]/srchhealexamdetlflag", srchhealexamdetlflag);
  634. j++;
  635. }
  636. }
  637. if (submit("TRAHR00922")){
  638. var loop = model.instances(0).selectNodes( "/root/main/printinfo/fstgnrlrslt" ).length;
  639. if( loop > 0){
  640. if(chk_preview.value == "Y"){ //미리보기
  641. exeReportPreview("RPAHR09023", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  642. }
  643. else {
  644. exeReportPreview("RPAHR09023", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  645. }
  646. }
  647. model.removeNodeset("/root/main/printinfo/fstgnrlrslt"); //초기화
  648. model.resetInstanceNode("/root/main/rpt/list");
  649. model.resetInstanceNode("/root/main/rptrsult");
  650. j = 1;
  651. }
  652. for(var i=1; i < grd_prntlst.rows; i++) {
  653. var chk = model.getValue("/root/main/detlinfo/item["+i+"]/sel");
  654. var rsrvdd = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvdd");
  655. var rsrvno = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvno");
  656. var srchpids = model.getValue("/root/main/detlinfo/item["+i+"]/pid");
  657. var age = parseInt(model.getValue("/root/main/detlinfo/item["+i+"]/age"));
  658. if(chk == "Y" && age > 50) {
  659. model.makeValue("/root/main/rpt/list["+ j+"]/srchrsrvdd", rsrvdd);
  660. model.makeValue("/root/main/rpt/list["+ j +"]/srchrsrvno", rsrvno);
  661. model.makeValue("/root/main/rpt/list["+ j +"]/srchetccd", "G54"); //만66세
  662. model.makeValue("/root/main/rpt/list["+ j +"]/srchpids", srchpids);
  663. model.makeValue("/root/main/rpt/list["+ j+"]/srchhealexamflag", "G");
  664. model.makeValue("/root/main/rpt/list["+ j +"]/srchhealexamdetlflag", srchhealexamdetlflag);
  665. j++;
  666. }
  667. }
  668. if (submit("TRAHR00922")){
  669. var loop = model.instances(0).selectNodes( "/root/main/printinfo/fstgnrlrslt" ).length;
  670. if( loop > 0){
  671. if(chk_preview.value == "Y"){ //미리보기
  672. exeReportPreview("RPAHR09024", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  673. }
  674. else {
  675. exeReportPreview("RPAHR09024", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  676. }
  677. }
  678. }
  679. }
  680. }else if( srchhealexamdetlflag == "G11"){ //간이종합건진
  681. if(srchtestcddgflag == "1") { //1차
  682. model.resetInstanceNode("/root/temp/prntcopy");
  683. for(var i=1; i < grd_prntlst.rows; i++) {
  684. var chk = model.getValue("/root/main/detlinfo/item["+i+"]/sel");
  685. var rsrvdd = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvdd");
  686. var rsrvno = model.getValue("/root/main/detlinfo/item["+i+"]/rsrvno");
  687. var srchpids = model.getValue("/root/main/detlinfo/item["+i+"]/pid");
  688. if(chk == "Y") {
  689. model.resetInstanceNode("/root/main/rpt/list");
  690. model.makeValue("/root/main/rpt/list/srchrsrvdd", rsrvdd);
  691. model.makeValue("/root/main/rpt/list/srchrsrvno", rsrvno);
  692. model.makeValue("/root/main/rpt/list/srchetccd", "G51");
  693. model.makeValue("/root/main/rpt/list/srchpids", srchpids);
  694. model.makeValue("/root/main/rpt/list/srchhealexamflag", "G");
  695. model.makeValue("/root/main/rpt/list/srchhealexamdetlflag", srchhealexamdetlflag);
  696. if (submit("TRAHR00929")){
  697. var loop = model.instances(0).selectNodes( "root/main/prntinfo/prnt" ).length;
  698. if( loop > 0){
  699. if(chk_preview.value == "Y"){ //미리보기
  700. exeReportPreview("RPAHR09025", "XMLSTR","", "", "", "", "", "", "", "","", "", "", "", "", "", "", "");
  701. }
  702. else {
  703. exeReportPreview("RPAHR09025", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  704. }
  705. }
  706. //copyNodesetType("/root/temp/prntcopy", "root/main/prntinfo/prnt", "after", model, model);
  707. }
  708. }
  709. }
  710. // model.removeNodeset ("root/main/prntinfo/prnt/item");
  711. // model.removeNodeset ("root/main/prntinfo/prnt/itemjudg");
  712. // model.removeNodeset ("root/main/prntinfo/prnt/patinfo");
  713. // copyNodesetType("root/main/prntinfo/prnt", "/root/temp/prntcopy", "after", model, model);
  714. }
  715. }
  716. }
  717. ]]>
  718. </script>
  719. </xhtml:head>
  720. <xhtml:body guideline="1,1195;1,1195;2,786;1,1192;" style="border-left-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  721. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  722. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:184px; height:13px; ">통합건진진단결과표출력</caption>
  723. </group>
  724. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1194px; height:744px; ">
  725. <line id="line1" class="line_1" style="x1:0px; y1:86px; x2:1191px; y2:86px; "/>
  726. <group id="group5" style="left:0px; top:9px; width:1193px; height:61px; vertical-align:top; ">
  727. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  728. <caption id="caption11" class="search_name" style="left:276px; top:33px; width:81px; height:17px; ">기준일자:</caption>
  729. <caption id="caption12" class="search_name" style="left:587px; top:8px; width:78px; height:17px; ">사업체 :</caption>
  730. <line id="line7" style="x1:1110px; y1:7px; x2:1110px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
  731. <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:361px; top:33px; width:100px; height:19px; "/>
  732. <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:478px; top:33px; width:100px; height:19px; "/>
  733. <input id="ipt_srchcmpycd" ref="/root/send/srchcmpycd" class="input_search" style="left:662px; top:7px; width:80px; height:19px; ">
  734. <script type="javascript" ev:event="onkeyup">
  735. <![CDATA[
  736. inputEnterKey("btn_selcmpy", "DOMActivate");
  737. ]]>
  738. </script>
  739. </input>
  740. <button id="btn_selcmpy" class="icon_search" style="left:747px; top:7px; width:16px; height:16px; ">
  741. <caption/>
  742. <script type="javascript" ev:event="DOMActivate">
  743. <![CDATA[
  744. fGetComnCd("SMAHA01500", "09" , "cd", ipt_srchcmpycd.currentText ,ipt_srchcmpycd.attribute("ref"), opt_srchcmpynm.attribute("ref"));
  745. ]]>
  746. </script>
  747. </button>
  748. <output id="opt_srchcmpynm" ref="/root/send/srchcmpynm" class="output_fix" style="left:769px; top:7px; width:196px; height:19px; "/>
  749. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:6px; width:56px; height:22px; ">
  750. <caption>조회</caption>
  751. <script type="javascript" ev:event="DOMActivate">
  752. <![CDATA[
  753. fGetRsrvAcptList();
  754. button1.disabled = false;
  755. ]]>
  756. </script>
  757. </button>
  758. <caption id="caption19" class="search_n_b" style="left:464px; top:33px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  759. <input id="ipt_pid" ref="/root/send/srchpid" class="input_search" style="left:95px; top:33px; width:70px; height:19px; ">
  760. <script type="javascript" ev:event="onkeyup">
  761. <![CDATA[
  762. inputEnterKey("btn_selpat", "DOMActivate");
  763. ]]>
  764. </script>
  765. </input>
  766. <button id="btn_selpat" class="icon_search" style="left:170px; top:33px; width:16px; height:16px; ">
  767. <caption/>
  768. <script type="javascript" ev:event="DOMActivate">
  769. <![CDATA[
  770. fSearchPatInfo("SMAHR00900", "pnm","" , "N","", ipt_pid.attribute("ref"), opt_srchpnm.attribute("ref") );
  771. ]]>
  772. </script>
  773. </button>
  774. <caption id="caption2" class="search_name" style="left:10px; top:33px; width:81px; height:17px; ">환자검색:</caption>
  775. <select1 id="cmb_plceflag" ref="/root/send/srchplceflag" appearance="minimal" style="left:980px; top:7px; width:100px; height:19px; ">
  776. <choices>
  777. <item>
  778. <label>전체</label>
  779. <value/>
  780. </item>
  781. <item>
  782. <label>출장</label>
  783. <value>1</value>
  784. </item>
  785. <item>
  786. <label>내원</label>
  787. <value>2</value>
  788. </item>
  789. </choices>
  790. </select1>
  791. <output id="opt_srchpnm" ref="/root/send/srchhngnm" class="output_fix" style="left:190px; top:33px; width:80px; height:19px; "/>
  792. <caption id="caption3" class="search_name" style="left:10px; top:8px; width:115px; height:17px; ">건진상세분류:</caption>
  793. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" appearance="minimal" style="left:125px; top:7px; width:130px; height:19px; ">
  794. <choices>
  795. <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
  796. <label ref="cdnm"/>
  797. <value ref="cdid"/>
  798. </itemset>
  799. </choices>
  800. <script type="javascript" ev:event="xforms-value-changed">
  801. <![CDATA[
  802. var srchhealexamdetlflag = model.getValue("/root/send/srchhealexamdetlflag");
  803. if( srchhealexamdetlflag == "G01" || srchhealexamdetlflag == "G08" ){ //공단(직장+성인병) ,공단(생애전환기)
  804. model.removeNodeset("/root/init/cmb_info/testcddgflag");
  805. addComboItem("cmb_testcddgflag","1차","1","1");
  806. addComboItem("cmb_testcddgflag","2차","2","2");
  807. addComboItem("cmb_testcddgflag","구강","G100","3");
  808. }else if(srchhealexamdetlflag == "G09"){ //공단(암)
  809. model.removeNodeset("/root/init/cmb_info/testcddgflag");
  810. addComboItem("cmb_testcddgflag","위암","G003","1");
  811. addComboItem("cmb_testcddgflag","대장암","G004","2");
  812. addComboItem("cmb_testcddgflag","간암","G005","3");
  813. addComboItem("cmb_testcddgflag","유방암","G006","4");
  814. addComboItem("cmb_testcddgflag","자궁경부암","G007","5");
  815. }else if(srchhealexamdetlflag == "G03"){ //특수건진
  816. model.removeNodeset("/root/init/cmb_info/testcddgflag");
  817. addComboItem("cmb_testcddgflag","1차","1","1");
  818. addComboItem("cmb_testcddgflag","2차","2","2");
  819. }else if(srchhealexamdetlflag == "G06"){ //학생건진
  820. model.removeNodeset("/root/init/cmb_info/testcddgflag");
  821. addComboItem("cmb_testcddgflag","학생용","1","1");
  822. addComboItem("cmb_testcddgflag","선생용","2","2");
  823. addComboItem("cmb_testcddgflag","학교보관용","3","3");
  824. }else if(srchhealexamdetlflag == "G11"){ //간이종합건진
  825. model.removeNodeset("/root/init/cmb_info/testcddgflag");
  826. addComboItem("cmb_testcddgflag","간이종합건진","1","1");
  827. }
  828. chk_postmail.visible = false;
  829. button1.disabled = true;
  830. model.setValue("/root/send/srchtestcddgflag","");
  831. model.refresh();
  832. ]]>
  833. </script>
  834. </select1>
  835. <caption id="caption4" class="search_name" style="left:275px; top:8px; width:90px; height:17px; ">기타분류:</caption>
  836. <select1 id="cmb_testcddgflag" ref="/root/send/srchtestcddgflag" appearance="minimal" style="left:360px; top:7px; width:100px; height:19px; ">
  837. <choices>
  838. <itemset nodeset="/root/init/cmb_info/testcddgflag">
  839. <label ref="cdnm"/>
  840. <value ref="cdid"/>
  841. </itemset>
  842. </choices>
  843. <script type="javascript" ev:event="xforms-value-changed">
  844. <![CDATA[
  845. var srchhealexamdetlflag = model.getValue("/root/send/srchhealexamdetlflag");
  846. var srchtestcddgflag = model.getValue("/root/send/srchtestcddgflag");
  847. if( srchhealexamdetlflag == "G01" && srchtestcddgflag == "1"){
  848. chk_postmail.visible = true;
  849. }else{
  850. chk_postmail.visible = false;
  851. }
  852. button1.disabled = true;
  853. ]]>
  854. </script>
  855. </select1>
  856. </group>
  857. <caption id="caption1" class="tit_2" style="left:5px; top:70px; width:151px; height:13px; ">상세현황</caption>
  858. <datagrid id="grd_prntlst" nodeset="/root/main/detlinfo/item" caption="선택^등록번호^환자이름^예약일자^예약번호^주민등록번호^주민등록번호^나이^우편번호^주소^사업장코드^사업장명^패키지명^추가검사명^orddd" colsep="^" colwidth="55, 77, 62, 79, 64, 65, 65, 43, 73, 183, 87, 126, 173, 205" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:90px; width:1190px; height:641px; ">
  859. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  860. <col ref="pid" style="left:166px; top:23px; width:95px; height:23px; "/>
  861. <col ref="hngnm" style="text-align:center; "/>
  862. <col ref="rsrvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  863. <col ref="rsrvno" style="text-align:right; "/>
  864. <col ref="rrgstno1" style="text-align:right; "/>
  865. <col ref="rrgstno2" style="text-align:right; "/>
  866. <col ref="age" style="text-align:right; "/>
  867. <col ref="zipcd" format="999-999" style="text-align:center; "/>
  868. <col ref="address"/>
  869. <col ref="cmpycd" style="text-align:right; "/>
  870. <col ref="cmpynm"/>
  871. <col ref="pkgnm" style="left:991px; top:23px; width:100px; height:23px; "/>
  872. <col ref="testnm"/>
  873. <script type="javascript" ev:event="onaftersort">
  874. <![CDATA[
  875. grd_prntlst.gridToInstance();
  876. ]]>
  877. </script>
  878. </datagrid>
  879. <datagrid id="datagrid1" nodeset="/root/main/printinfo/fstgnrlrslt" visibility="hidden" caption="caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17^caption18^caption19^caption20^caption21^caption22^caption23^caption24^caption25^caption26^caption27^caption28^caption29^caption30^caption31^caption32^caption33^caption34^caption35^caption36^caption37^caption38^caption39^caption40^caption41^caption42^caption43^caption44^caption45^caption46^caption47^caption48^caption49^caption50^caption51^caption52^caption53^caption54^caption55^caption56^caption57^caption58^caption59^caption60^caption61^caption62^caption63^caption64^caption65^caption66^caption67^caption68^caption69^caption70^caption71^caption72^caption73^caption74^caption75^caption76^caption77^caption78^caption79^caption80^caption81^caption82^caption83" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:255px; width:995px; height:140px; ">
  880. <col ref="sel"/>
  881. <col ref="prntyn"/>
  882. <col ref="endyn"/>
  883. <col ref="pid"/>
  884. <col ref="orddd"/>
  885. <col ref="rrgstno1"/>
  886. <col ref="rrgstno2"/>
  887. <col ref="hngnm"/>
  888. <col ref="rsrvdd"/>
  889. <col ref="rsrvno"/>
  890. <col ref="cmpynm"/>
  891. <col ref="plceflag"/>
  892. <col ref="clntempid"/>
  893. <col ref="a01"/>
  894. <col ref="a02"/>
  895. <col ref="a03"/>
  896. <col ref="a04"/>
  897. <col ref="a05"/>
  898. <col ref="a06"/>
  899. <col ref="a07"/>
  900. <col ref="a08"/>
  901. <col ref="a09"/>
  902. <col ref="a10"/>
  903. <col ref="a11"/>
  904. <col ref="a12"/>
  905. <col ref="a13"/>
  906. <col ref="a14"/>
  907. <col ref="a15"/>
  908. <col ref="a16"/>
  909. <col ref="a17"/>
  910. <col ref="a18"/>
  911. <col ref="a19"/>
  912. <col ref="a20"/>
  913. <col ref="a21"/>
  914. <col ref="a22"/>
  915. <col ref="a23"/>
  916. <col ref="a24"/>
  917. <col ref="a25"/>
  918. <col ref="a26"/>
  919. <col ref="a27"/>
  920. <col ref="a28"/>
  921. <col ref="a29"/>
  922. <col ref="a30"/>
  923. <col ref="testnm"/>
  924. <col ref="cmtcnts"/>
  925. <col ref="judgdd"/>
  926. <col ref="drid"/>
  927. <col ref="drnm"/>
  928. <col ref="drlicnsno"/>
  929. <col ref="tbdd"/>
  930. <col ref="assocd"/>
  931. <col ref="assonm"/>
  932. <col ref="instcd"/>
  933. <col ref="healexamflag"/>
  934. <col ref="value01"/>
  935. <col ref="value02"/>
  936. <col ref="value03"/>
  937. <col ref="value04"/>
  938. <col ref="value05"/>
  939. <col ref="value06"/>
  940. <col ref="value07"/>
  941. <col ref="value08"/>
  942. <col ref="value91"/>
  943. <col ref="value92"/>
  944. <col ref="value93"/>
  945. <col ref="value94"/>
  946. <col ref="value95"/>
  947. <col ref="value96"/>
  948. <col ref="value97"/>
  949. <col ref="value101"/>
  950. <col ref="value102"/>
  951. <col ref="value103"/>
  952. <col ref="value104"/>
  953. <col ref="value105"/>
  954. <col ref="value106"/>
  955. <col ref="value111"/>
  956. <col ref="value112"/>
  957. <col ref="value113"/>
  958. <col ref="insuflag"/>
  959. <col ref="healcntrcd"/>
  960. <col ref="zipcd11"/>
  961. <col ref="zipcd12"/>
  962. <col ref="addr"/>
  963. <script type="javascript" ev:event="onaftersort">
  964. <![CDATA[
  965. grd_prntlst.gridToInstance();
  966. ]]>
  967. </script>
  968. </datagrid>
  969. </group>
  970. <group id="group2" scroll="auto" style="left:0px; top:751px; width:1195px; height:28px; ">
  971. <button id="button1" class="btn6_letter4" style="left:0px; top:4px; width:80px; height:22px; ">
  972. <caption>결과출력</caption>
  973. <script type="javascript" ev:event="onclick">
  974. <![CDATA[
  975. fSelectSel();
  976. ]]>
  977. </script>
  978. </button>
  979. <select id="chk_preview" ref="/root/temp/preview" overflow="visible" appearance="full" cols="4" rows="1" style="left:90px; top:7px; width:75px; height:15px; border-style:none; ">
  980. <choices>
  981. <item>
  982. <label>미리보기</label>
  983. <value>Y</value>
  984. </item>
  985. </choices>
  986. <script type="javascript" ev:event="xforms-select">
  987. <![CDATA[
  988. model.setValue("/root/temp/preview","Y");
  989. ]]>
  990. </script>
  991. <script type="javascript" ev:event="xforms-deselect">
  992. <![CDATA[
  993. model.setValue("/root/temp/preview","");
  994. ]]>
  995. </script>
  996. </select>
  997. <select id="chk_postmail" ref="/root/temp/postmail" visibility="hidden" overflow="visible" appearance="full" cols="4" rows="1" style="left:170px; top:7px; width:55px; height:15px; border-style:none; ">
  998. <choices>
  999. <item>
  1000. <label>우편</label>
  1001. <value>Y</value>
  1002. </item>
  1003. </choices>
  1004. <script type="javascript" ev:event="xforms-select">
  1005. <![CDATA[
  1006. model.setValue("/root/temp/postmail","Y");
  1007. ]]>
  1008. </script>
  1009. <script type="javascript" ev:event="xforms-deselect">
  1010. <![CDATA[
  1011. model.setValue("/root/temp/postmail","");
  1012. ]]>
  1013. </script>
  1014. </select>
  1015. </group>
  1016. </xhtml:body>
  1017. </xhtml:html>