SMAHA01700_일반건진접수.xrw 108 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 :
  4. * 설 명 :
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 :
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>예약/접수[일반건진]</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <testcdlst>
  20. <item1>
  21. <sel/>
  22. <testcd/>
  23. <oldordcd/>
  24. <testnm/>
  25. <scoreamt/>
  26. <grupflag/>
  27. </item1>
  28. </testcdlst>
  29. <pkgaddlst>
  30. <item>
  31. <sel/>
  32. <cmpynm/>
  33. <pkgcd/>
  34. <pkgnm/>
  35. <mancnfmamt/>
  36. <womcnfmamt/>
  37. <confromdd/>
  38. <contodd/>
  39. <conseq/>
  40. <conhistseq/>
  41. <pkgflag/>
  42. <uncocd/>
  43. <cmpycd/>
  44. </item>
  45. </pkgaddlst>
  46. <list>
  47. <rsrvlst>
  48. <pid/>
  49. <pnm/>
  50. <sexage/>
  51. <rsrvdttm/>
  52. <lastupdtrid/>
  53. <lastupdtdt/>
  54. <statflag/>
  55. <cmpynm/>
  56. <rsrvdd/>
  57. <rsrvno/>
  58. </rsrvlst>
  59. <acptlst>
  60. <pid/>
  61. <pnm/>
  62. <sexage/>
  63. <acptflag/>
  64. <acptdttm/>
  65. <rsrvdt/>
  66. <lastupdtrid/>
  67. <lastupdtdt/>
  68. <cmpynm/>
  69. <rsrvdd/>
  70. <rsrvno/>
  71. </acptlst>
  72. <cncllst>
  73. <pid/>
  74. <pnm/>
  75. <sexage/>
  76. <cncldttm/>
  77. <lastupdtrid/>
  78. <lastupdtdt/>
  79. <cmpynm/>
  80. <statflag/>
  81. <rsrvdd/>
  82. <rsrvno/>
  83. </cncllst>
  84. <listinfo>
  85. <acptcnt/>
  86. <rsrvcnt/>
  87. <rcptcnt/>
  88. <cnclcnt/>
  89. <holdcnt/>
  90. <failcnt/>
  91. </listinfo>
  92. <sndlst>
  93. <pid/>
  94. <pnm/>
  95. <sexage/>
  96. <acptdt/>
  97. <lastupdtrid/>
  98. <lastupdtdt/>
  99. <rsrvdd/>
  100. <rsrvno/>
  101. </sndlst>
  102. </list>
  103. <info>
  104. <patinfo>
  105. <item>
  106. <pid/>
  107. <rgstno1/>
  108. <rgstno2/>
  109. <hngnm/>
  110. <engnm/>
  111. <sex/>
  112. <age/>
  113. <brthdd/>
  114. <zipcd11/>
  115. <zipcd12/>
  116. <zipcdseq1/>
  117. <addr1/>
  118. <detladdr1/>
  119. <mpphon/>
  120. <telno/>
  121. <emailid/>
  122. <emailtype/>
  123. <healexampid/>
  124. <emailkind/>
  125. <zipcd21/>
  126. <zipcd22/>
  127. <zipcdseq2/>
  128. <addr2/>
  129. <detladdr2/>
  130. <psptno/>
  131. <brthareacnts/>
  132. <pidcretfg/>
  133. <patm_insuid/>
  134. <patm_insukind/>
  135. <patm_insucd/>
  136. </item>
  137. </patinfo>
  138. <rsrvacptinfo>
  139. <item>
  140. <rsrvdd/>
  141. <rsrvno/>
  142. <healexamdetlflag/>
  143. <hopedd/>
  144. <rsrvtm/>
  145. <pid/>
  146. <orddd/>
  147. <healexampid/>
  148. <rcptstat/>
  149. <disccd/>
  150. <cmpyflag/>
  151. <cmpycd/>
  152. <bizoffccd/>
  153. <deptcd/>
  154. <clntempid/>
  155. <entcodd/>
  156. <jobkindflag/>
  157. <remcnts/>
  158. <rsrvflag/>
  159. <rsltcnstflag/>
  160. <rsltcnstrsrvdd/>
  161. <jobposcd/>
  162. <relacd/>
  163. <insucorpbrchcd/>
  164. <empid/>
  165. <insutrgtflag/>
  166. <insuflag/>
  167. <plceflag/>
  168. <scndhptstrgtyn/>
  169. <oraltestyn>N</oraltestyn>
  170. <freecncrtrgtyn/>
  171. <stmccncrflag/>
  172. <stmccncryn/>
  173. <largeintescncrflag/>
  174. <largeintescncryn/>
  175. <livcncrtrgtyn/>
  176. <livcncrflag/>
  177. <mamcncryn/>
  178. <mamcncrflag>2</mamcncrflag>
  179. <cervcncrflag/>
  180. <cervcncryn/>
  181. <healcntrcd/>
  182. <spclhealexamflag/>
  183. <schlgrde/>
  184. <clsid/>
  185. <studid/>
  186. <medicostyn/>
  187. <insuclamyn/>
  188. <judgdrid/>
  189. <statflag/>
  190. <calcyn/>
  191. <pkgcd/>
  192. <conseq/>
  193. <pkguncocd/>
  194. <ownuncoamt/>
  195. <cmpynm/>
  196. <bizoffcnm/>
  197. <deptnm/>
  198. <healcntrnm/>
  199. <insucorpbrchnm/>
  200. <livcncrtrgtyn2/>
  201. <pkgnm/>
  202. <EkgYN/>
  203. <cmpynm/>
  204. <bizoffcnm/>
  205. <armyhos/>
  206. <oldhopedd/>
  207. <oldrsrvno/>
  208. <oldhealexamflag/>
  209. <acpt_insuid/>
  210. <acpt_insucd/>
  211. </item>
  212. <pkglst>
  213. <sel/>
  214. <pkgcd/>
  215. <pkgnm/>
  216. <rsrvdd/>
  217. <acptdd/>
  218. <acpttm/>
  219. <uncocd/>
  220. <statflag/>
  221. <manamt/>
  222. <womamt/>
  223. <conseq/>
  224. <pkgflag/>
  225. <lastupdtrid/>
  226. <lastupdtdt/>
  227. <disccd/>
  228. <calcscorcd/>
  229. </pkglst>
  230. <addlst>
  231. <sel/>
  232. <testflag/>
  233. <testcd/>
  234. <testnm/>
  235. <uncocd/>
  236. <scoreamt/>
  237. <prcptims/>
  238. <cmpydiscamt/>
  239. <examseq/>
  240. <calcscorcd/>
  241. <prcpno/>
  242. <prcpdd/>
  243. <m/>
  244. </addlst>
  245. <historylst/>
  246. <firstrslt/>
  247. </rsrvacptinfo>
  248. <histlst>
  249. <item>
  250. <orddd/>
  251. <pkgcd/>
  252. <pkgnm/>
  253. <cmpyflag/>
  254. <rsrvdd/>
  255. <rsrvno/>
  256. <lastupdtrid/>
  257. <lastupdtdt/>
  258. </item>
  259. </histlst>
  260. <rcptinfo>
  261. <totamt/>
  262. <payinsubamt/>
  263. <payownbamt/>
  264. <payhealcntramt/>
  265. <paycmpyamt/>
  266. </rcptinfo>
  267. <curlst>
  268. <ordinfo>
  269. <ordlst>
  270. <rsrvdd/>
  271. <rsrvtm/>
  272. <prcpdd/>
  273. <testcd/>
  274. <testnm/>
  275. <uncocd/>
  276. <dcflag/>
  277. <testflag/>
  278. <prcpexecdeptcd/>
  279. <lastupdtrid/>
  280. <lastupdtdt/>
  281. <prcpno/>
  282. <execprcpno/>
  283. <rcptstat/>
  284. <scoreamt/>
  285. </ordlst>
  286. </ordinfo>
  287. </curlst>
  288. <judgone>
  289. <judgcd/>
  290. <judgdetlcd/>
  291. <etcdetlnm/>
  292. <dulppkgcd/>
  293. </judgone>
  294. </info>
  295. <prntinfo>
  296. <prntyn>Y</prntyn>
  297. <prntlang>K</prntlang>
  298. </prntinfo>
  299. <testcdlst>
  300. <item1>
  301. <sel/>
  302. <testcd/>
  303. <oldordcd/>
  304. <testnm/>
  305. <scoreamt/>
  306. <grupflag/>
  307. </item1>
  308. </testcdlst>
  309. </main>
  310. <send>
  311. <srchrsrvdd/>
  312. <srchrsrvno/>
  313. <srchfromdd/>
  314. <srchtodd/>
  315. <srchhealexamdetlflag/>
  316. <srchpid/>
  317. <srchpnm/>
  318. <srchpid2/>
  319. <srchpnm2/>
  320. <srchinstcd/>
  321. <srchmode/>
  322. <srchhealexamflag/>
  323. <srchpkgcd/>
  324. <srchcmpycd/>
  325. <srchconseq/>
  326. <srchsex/>
  327. <srchjobflag/>
  328. <save>
  329. <instcd/>
  330. <userid/>
  331. </save>
  332. <savercpt>
  333. <opmi_out/>
  334. </savercpt>
  335. <srchorddd/>
  336. <srchcretno/>
  337. <selpkgexam>
  338. <sel/>
  339. <pkgexam/>
  340. <pkgexamnm/>
  341. <pegubun/>
  342. </selpkgexam>
  343. <pkgcd/>
  344. <pkgnm/>
  345. <exmcd/>
  346. <exmnm/>
  347. <prtgubun/>
  348. </send>
  349. <init>
  350. <srchmode>4</srchmode>
  351. <emailkind/>
  352. <srchhealexamdetlflag/>
  353. <srchhealexamflag/>
  354. <baseinfo>
  355. <healexamdetlflag/>
  356. <insutrgtflag/>
  357. <insuflag/>
  358. <plceflag/>
  359. <jobkindflag/>
  360. <spclhealexamflag/>
  361. <emailkind/>
  362. <cmpydetlcdlst/>
  363. <testflag/>
  364. <statlst/>
  365. <rsrvflaglst/>
  366. <ordstatlst/>
  367. </baseinfo>
  368. </init>
  369. <hidden>
  370. <save/>
  371. <item/>
  372. <saveacpt>
  373. <rsrvdd/>
  374. <rsrvno/>
  375. </saveacpt>
  376. </hidden>
  377. <source/>
  378. <temp>
  379. <addr>
  380. <zipcd/>
  381. <addrdetl/>
  382. </addr>
  383. <templst/>
  384. <rcptinfo>
  385. <hidden/>
  386. </rcptinfo>
  387. <cdlst/>
  388. <acptdtl>
  389. <addlist/>
  390. </acptdtl>
  391. <rcptno_out/>
  392. </temp>
  393. </root>
  394. </instance>
  395. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  396. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  397. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  398. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  399. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  400. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  401. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  402. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  403. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  404. <script type="javascript" ev:event="xforms-ready">
  405. <![CDATA[
  406. fGetBaseInfo();
  407. fSrchDtInit();
  408. fInitInfo();
  409. fInitList();
  410. model.toggle("case_acpt");
  411. button1.selected= true ;
  412. fSetBtnStat();
  413. fGetList();
  414. model.makeValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag","G01");
  415. chk_healexamdetlflag.refresh();
  416. ]]>
  417. </script>
  418. <submission id="TRZBC00101"/>
  419. <submission id="TXAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  420. <submission id="TXAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
  421. <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
  422. <submission id="TRAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/info"/>
  423. <submission id="TRAHA00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  424. <submission id="TRAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/pkgtestcdlst"/>
  425. <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
  426. <submission id="TRAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/histlst"/>
  427. <submission id="TRAHA00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/cmpydetlcdlst"/>
  428. <submission id="TXAHA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
  429. <submission id="TXAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savercpt" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
  430. <submission id="TRAHA00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/curlst/ordinfo"/>
  431. <submission id="TRAHA00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rsrvacptkey"/>
  432. <submission id="TRAHA00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/cdlst"/>
  433. <submission id="TRAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/acptdtl"/>
  434. <submission id="TRAHA02105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptno_out"/>
  435. <submission id="TXAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/tmp"/>
  436. <submission id="TXAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp" resultref="/root/hidden"/>
  437. <submission id="TXAHA00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="root/main/info/rcptinfo"/>
  438. <submission id="TRAHB00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/pkgaddlst"/>
  439. <submission id="TRAHA00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testcdlst"/>
  440. <submission id="TXAHA00012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
  441. <submission id="TRAHA00509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/priceamt" replace="instance" resultref="/root/temp/priceamt"/>
  442. <submission id="TRAHA00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/sytsrsrvchk"/>
  443. <submission id="TRAHA00014" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/test" replace="instance" resultref="/root/tmp"/>
  444. <submission id="TXAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  445. </model>
  446. <script type="javascript">
  447. <![CDATA[
  448. /**
  449. *기본정보 가져오기
  450. */
  451. function fGetBaseInfo(){
  452. //일반건진상세구분, 직역구분, 대상구분, 장소구분, 직종구분, 특검구분, EMAIL계정
  453. zbcfGetCodeList( new Array("A0070","A0108" ,"A0109", "A0110", "A0112" ,"A0111","A0120", "A0117" , "A0107" , "A0115", "M0011"),
  454. new Array("/root/init/baseinfo/healexamdetlflag" // 일반건진상세구분
  455. , "/root/init/baseinfo/insutrgtflag" // 직역구분
  456. , "/root/init/baseinfo/insuflag" // 대상구분
  457. , "/root/init/baseinfo/plceflag" // 장소구분
  458. , "/root/init/baseinfo/jobkindflag" //직종구분
  459. , "/root/init/baseinfo/spclhealexamflag" //특검구분
  460. , "/root/init/baseinfo/emailkind" //email 계정
  461. , "/root/init/baseinfo/testflag"
  462. , "/root/init/baseinfo/statlst"
  463. , "/root/init/baseinfo/rsrvflaglst"
  464. ,"/root/init/baseinfo/ordstatlst"
  465. ) );
  466. submit("TRZBC00101");
  467. model.makeValue("/root/send/srchpkgflag", "P");
  468. model.makeValue("/root/send/srchhealexamflag", "G");
  469. model.makeValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag","G01");
  470. model.makeValue("/root/send/srchhealexamdetlflag" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag"));
  471. model.makeValue("/root/send/srchpkgflag", "");
  472. submit("TRAHB00303");//프로파일 뛰우기
  473. submit("TRAHA00109");//검사항목 뛰우기
  474. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  475. submit("TRAHA00104");
  476. }
  477. /**
  478. *입력항목 초기화
  479. */
  480. function fInitInfo(){
  481. model.resetInstanceNode("/root/main/info/patinfo");
  482. model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
  483. model.resetInstanceNode("/root/send/selpkgexam");
  484. model.resetInstanceNode("/root/main/info/judgone");
  485. fInitRsrvAcptInfo();
  486. //model.refresh();
  487. //fSetBtnStat();
  488. }
  489. /**
  490. * 접수 정보 초기화
  491. */
  492. function fInitRsrvAcptInfo(){
  493. model.resetInstanceNode("/root/main/info/rsrvacptinfo");
  494. model.resetInstanceNode("/root/main/info/rcptinfo");
  495. model.removeNodeset("/root/main/info/rsrvacptinfo/pkglst");
  496. model.removeNodeset("/root/main/info/rsrvacptinfo/addlst");
  497. model.removeNodeset("/root/main/info/rsrvacptinfo/histlst");
  498. model.removeNodeset("/root/main/info/rsrvacptinfo/curlst");
  499. var curDD = getCurrentDate();
  500. model.makeValue("/root/main/info/rsrvacptinfo/item/orddd" , curDD );
  501. model.makeValue("/root/main/info/rsrvacptinfo/item/hopedd" , curDD);
  502. // model.makeValue("/root/main/info/rsrvacptinfo/item/entcodd" , curDD);
  503. //cmb_healexamdetlflag.refresh();
  504. // model.makeValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag" , )
  505. // model.setValue( cmb_healexamdetlflag.attribute("ref"), cmb_srchhealexamdetlflag.value );
  506. model.makeValue("/root/main/info/rsrvacptinfo/item/plceflag" , "2");//내원
  507. model.makeValue("/root/main/info/rsrvacptinfo/item/insutrgtflag" , "K");//직장
  508. model.makeValue("/root/main/info/rsrvacptinfo/item/insuflag" , "1");//직장
  509. model.makeValue("/root/main/info/rsrvacptinfo/item/scndhptstrgtyn" , "N");//2차간염대상
  510. model.makeValue("/root/main/info/rsrvacptinfo/item/oraltestyn" , "Y");//구강검사대상여부
  511. model.makeValue("/root/main/info/rsrvacptinfo/item/freecncrtrgtyn" , "N");//무료암대상여부
  512. model.makeValue("/root/main/info/rsrvacptinfo/item/livcncrtrgtyn" , "N");//간암검사대상여부
  513. model.makeValue("/root/main/info/rsrvacptinfo/item/livcncrtrgtyn" , "N");//간암검사대상여부
  514. if(model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag")=="G05"){
  515. model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd" , "V01");//청구구분 -개인
  516. }else{
  517. model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd" , "V03");//청구구분 -공단
  518. }
  519. model.makeValue("/root/main/info/rsrvacptinfo/item/cmpyflag" , "N"); //청구구분 -공단
  520. model.makeValue("/root/main/info/rsrvacptinfo/item/disccd" , "-");//할인코드
  521. model.makeValue("/root/main/info/rsrvacptinfo/item/rsrvflag" , "01")//예약구분
  522. // model.setValue(rdo_insutrgtflag.attribute("ref") , "K"); //직장
  523. // model.setValue(cmb_insuflag.attribute("ref") , "1"); //직장
  524. // model.setValue(rdo_scndhptstrgtyn.attribute("ref") , "N"); //2차간염대상
  525. // model.setValue(rdo_oraltestyn.attribute("ref") , "Y"); //구강검사대상여부
  526. // model.setValue(rdo_freecncrtrgtyn.attribute("ref") , "N"); //무료암대상여부
  527. // model.setValue(rdo_livcncrtrgtyn.attribute("ref") , "N"); //간암검사대상여부
  528. // model.setValue(cmb_uncocd.attribute("ref") , "V03"); //청구구분 -공단
  529. // model.setValue(cmb_disccd.attribute("ref") , "-"); //할인코드
  530. // model.setValue(cmb_rsrvflag.attribute("ref") , "01"); //예약구분
  531. // model.setValue("/root/main/info/rsrvacptinfo/item/cmpyflag" , "N"); //청구구분 -공단
  532. // model.toggle("case_pkg");
  533. // btn_pkglst.selected= true;
  534. // model.setFocus("ipt_rgstno1");
  535. model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
  536. }
  537. //예약시간 선택
  538. function fGetRsrvDateTime(vMode, rsrvddObj, rsrvtmObj){
  539. setParameter ("SPAHA00100_PARAM1", vMode);
  540. setParameter ("SPAHA00100_PARAM2", ipt_rsrvdd.value );
  541. setParameter ("SPAHA00100_PARAM3", opt_sex.value );
  542. if( rsrvddObj != null ) setParameter ("SPAHA00100_PARAM4", rsrvddObj.attribute("ref") );
  543. if( rsrvtmObj != null ) setParameter ("SPAHA00100_PARAM5", rsrvtmObj.attribute("ref") );
  544. setParameter ("SPAHA00100_PARAM6", "G" );
  545. setParameter ("SPAHA00100_PARAM7", "/root/main/info/rsrvacptinfo/item/rsltcnstdrid" );
  546. // 건진상세구분 추가 (손범성 추가)
  547. var idate = model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag");
  548. idate = idate.substr(0,3);
  549. setParameter ("SPAHA00100_PARAM8", idate);
  550. modal("SPAHA00100", "", "", "", "SPAHA00100", "/root/source","/root/target");
  551. }
  552. /**
  553. *조회List초기회
  554. */
  555. function fInitList(){
  556. model.removeNodeset("/root/main/list/rsrvlst");
  557. model.removeNodeset("/root/main/list/acptlst");
  558. model.removeNodeset("/root/main/list/cncllst");
  559. model.removeNodeset("/root/main/list/sndlst");
  560. model.resetInstanceNode("/root/main/list/listinfo");
  561. }
  562. /**
  563. *조회Date초기화
  564. */
  565. function fSrchDtInit(){
  566. var curDD = getCurrentDate();770925
  567. model.setValue(ipt_srchfromdd.attribute("ref") , curDD );
  568. model.setValue(ipt_srchtodd.attribute("ref") , curDD );
  569. model.setValue(cmb_srchhealexamdetlflag.attribute("ref") , "G01");
  570. // model.setValue(cmb_healexamdetlflag.attribute("ref") , "G01");
  571. }
  572. function fSaveRsrvInfo(){
  573. if( messageBox("건진예약정보를 ", "Q002") != 6 ) return ;
  574. var vHealExamFg = fGetHealExamFlag();
  575. var vRsrvdd = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
  576. var vRsrvno = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
  577. if( (vHealExamFg == "") || (vRsrvdd == "") || (vRsrvno == "") || (vRsrvno == "0") ) {
  578. messageBox("건진내역을 저장", "E001");
  579. return ;
  580. }
  581. model.resetInstanceNode("/root/send/save");
  582. model.copyNode("/root/send/save", "/root/main/info/rsrvacptinfo/item");
  583. model.makeNode("/root/send/save/healexamflag" );
  584. model.setValue("/root/send/save/healexamflag", vHealExamFg );
  585. if( submit("TXAHA00104") == true ){
  586. ahafGetRsrvAcpDetltInfo(vRsrvdd, vRsrvno);
  587. }
  588. }
  589. function fOperGrdRow(bAdd){
  590. var swt_idx = swt_acptlst.selectedIndex ;
  591. switch(swt_idx) {
  592. case 0:
  593. if( bAdd ) {
  594. grd_pkglst.addRow();
  595. grd_pkglst.valueMatrix(grd_pkglst.row, 1) = "Y";
  596. grd_pkglst.col = 2;
  597. grd_pkglst.editCell();
  598. }
  599. else grd_pkglst.addStatus(grd_pkglst.row,"delete");
  600. break;
  601. case 1 :
  602. if( bAdd ) {
  603. grd_addlst.addRow();
  604. grd_addlst.valueMatrix(grd_addlst.row, 1) = "Y";
  605. grd_addlst.col = 2;
  606. grd_addlst.editCell();
  607. }
  608. else grd_addlst.addStatus(grd_addlst.row,"delete");
  609. break;
  610. case 2 :
  611. if( bAdd ) {
  612. grd_curlst.addRow();
  613. grd_curlst.editCell();
  614. }
  615. else grd_curlst.addStatus(grd_curlst.row,"delete");
  616. break;
  617. default:
  618. break;
  619. }
  620. }
  621. /**
  622. * 업체별 영업소 및 부서정보 조회
  623. */ function fGetCmpyDetlCdList(){
  624. if( ipt_cmpycd.value == "" ) return ;
  625. fCheckNodeExist("/root/send/srchcmpycd", true);
  626. model.setValue("/root/send/srchcmpycd", ipt_cmpycd.value );
  627. model.setValue("/root/send/srchinstcd" ,getUserInfo("dutplceinstcd"));
  628. submit("TRAHA00108");
  629. var node = instance1.selectSingleNode("/root/init/baseinfo/cmpydetlcdlst/info/insucorpbrchcd");
  630. if( node != null ) {
  631. ipt_insucorpbrchcd.value = model.getValue("/root/init/baseinfo/cmpydetlcdlst/info/insucorpbrchcd");
  632. opt_insucorpbrchnm.value = model.getValue("/root/init/baseinfo/cmpydetlcdlst/info/insucorpbrchnm");
  633. }
  634. }
  635. /**
  636. * 검사 및 패키지 코드
  637. */
  638. function fAddSingleTestCd(){
  639. var idx = 0;
  640. var sDest = "";
  641. var swt_idx = swt_acptlst.selectedIndex ;
  642. var sCond = "";
  643. switch( swt_idx){
  644. case 0:
  645. idx = grd_pkglst.row ;
  646. sDest = grd_pkglst.attribute("nodeset") + "[" + idx + "]" ;
  647. sCond = grd_pkglst.valueMatrix(idx, 2);
  648. break;
  649. case 1:
  650. idx = grd_addlst.row ;
  651. sDest = grd_addlst.attribute("nodeset") + "[" + idx + "]" ;
  652. sCond = grd_addlst.valueMatrix(idx, 2);
  653. break;
  654. default :
  655. return ;
  656. break;
  657. }
  658. if( idx < 1) return ;
  659. fGetPkgCd("SMAHA01500", "P", "N","nm" , sCond, cmb_healexamdetlflag.value, opt_sex.value, sDest );
  660. }
  661. /**
  662. * 예약/접수/취소/보류 리스트 조회 .
  663. */
  664. function fGetList(){
  665. fInitList();
  666. fsetDgFlag();
  667. if( isXPathTextNull( "/root/send/srchhealexamdetlflag") ||
  668. isXPathTextNull( "/root/send/srchtodd") ||
  669. isXPathTextNull( "/root/send/srchfromdd")) return ;
  670. model.setValue("/root/send/srchhealexamflag", "G");
  671. var vMode = fGetGnrlSrchMode();
  672. if( vMode == "") return ;
  673. model.setValue("/root/send/srchmode", vMode );
  674. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  675. openLoadingBar("건진자 리스트를 가져오는 중입니다..") ;//처리중 화면을 오픈한다.
  676. submit("TRAHA00103");
  677. closeLoadingBar() ;//처리중 화면을 close한다.
  678. }
  679. /**
  680. * 예약접수 건진자 리스트 조회 모드 설정
  681. * 예약1/예약등록2/접수3/취소4~6/2차대상자 8
  682. */
  683. function fGetGnrlSrchMode(){
  684. var idx = swt_acptlst.selectedIndex ;
  685. if(idx == 3){
  686. idx= 2 ;
  687. }
  688. idx++;
  689. return idx;
  690. }
  691. /**
  692. * 예약/접수정보를 저장
  693. * Mode : 공통코드A0107참조
  694. **A 예약
  695. **B 예약보류
  696. **C 예약확인
  697. **D 예약취소
  698. **E 접수
  699. **F 접수취소
  700. **G 결과
  701. **H 판정
  702. */
  703. /**
  704. * 예약/접수정보 check.
  705. */
  706. function fCheckAcpt(vMode){
  707. var vRsvdd = "";
  708. var vStatus = model.getValue("/main/info/rsrvacptinfo/item/status");
  709. var vHealExamFlag = fGetHealExamFlag();
  710. var age = model.getValue(opt_age.attribute("ref") ) ;
  711. /* if( (age == "16") || (age == "44") || (age == "66") ){
  712. if(messageBox("생애전환기건진 대상자 입니다!\n정보를 ", "Q002" ) !== 6) return false;
  713. }
  714. */
  715. /* if( model.getValue( cmb_uncocd.attribute("ref") ) == "" ){
  716. messageBox(" 청구방법을 ", "C001") ;
  717. model.setFocus("cmb_uncocd");
  718. return false;
  719. }*/
  720. //예약의 경우 예약일 입력 필수
  721. if( vStatus == "C" ) {
  722. if( !isRequiredGroup("ipt_rsrvdd") ) return false;
  723. vRsvdd = model.getValue("/root/main/info/rsrvacptinfo/item/hopedd");
  724. vRsvdd = vRsvdd.toDate("YYYYMMDD");
  725. if( vRsvdd < getCurrentDate() ){
  726. messageBox("예약일자가 현재일자 전으로 ", "E005");
  727. model.setFocus("ipt_rsrvdd");
  728. return false;
  729. }
  730. }
  731. //접수
  732. else
  733. if( vMode == "E" ){
  734. var i = 0;
  735. var cnt = 0;
  736. var selrows = 0;/*grd_pkglst.rows;
  737. var selrows = 0;
  738. for( i = 1; i < cnt ; i++){
  739. if( grd_pkglst.valueMatrix(i, 1) == "Y" ) selrows++;
  740. }
  741. */
  742. var vData = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd") ;
  743. if( vData == "" ) {
  744. messageBox(" 패키지를 ", "C001") ;
  745. return false;
  746. }
  747. /*grd_pkglst.getUpdateData();
  748. if( (selrows < 1) || (vData == "" )) {
  749. alert(" 패키지를 입력하세요.");
  750. return false;
  751. } */
  752. //직역구분
  753. /* if( rdo_insutrgtflag.value == "" ) {
  754. messageBox(" 직역구분을 ", "C002") ;
  755. return false ;
  756. }
  757. //대상
  758. if( cmb_insuflag.value == "" ) {
  759. messageBox(" 대상구분을 ", "C002") ;
  760. return false ;
  761. }
  762. var freecncryn = rdo_freecncrtrgtyn.value;
  763. if( freecncryn == "Y" ){
  764. if( ipt_healcntrcd.value == "" ) {
  765. messageBox("무료암 대상자입니다.\r\n관할 보건소를 ", "C001");
  766. model.setFocus("ipt_healcntrcd");
  767. return false;
  768. }
  769. } */
  770. }
  771. /* if( ipt_insuid.value = "" ) {
  772. alert("증번호를 입력하세요");
  773. model.setFocus("ipt_insuid");
  774. return false ;
  775. }*/
  776. return true;
  777. }
  778. /**
  779. * 버튼 상태 변경
  780. */
  781. function fSetBtnStat(){
  782. btn_rsrvcfm.disabled = true;
  783. btn_acpt.disabled = true;
  784. // btn_rcpt.disabled = false;
  785. btn_acptcncl.disabled = true;
  786. btn_rsrvcncl.disabled = true;
  787. var vStat = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  788. if ( vStat == "C" ){ //예약
  789. btn_rsrvcncl.disabled = false;
  790. btn_rsrvcfm.disabled = false;
  791. btn_acpt.disabled = false;
  792. }
  793. else
  794. if( vStat == "D"){ //예약취소
  795. btn_rsrvcncl.disabled = true;
  796. btn_rsrvcfm.disabled = false;
  797. btn_acpt.disabled = false;
  798. }
  799. else
  800. if( vStat == "E" ){//접수
  801. btn_acptcncl.disabled = false;
  802. }
  803. else
  804. if( vStat == "F" ){ //접수취소
  805. btn_rsrvcfm.disabled = false;
  806. btn_acpt.disabled = false;
  807. }
  808. else {
  809. btn_rsrvcfm.disabled = false;
  810. btn_acpt.disabled = false;
  811. }
  812. model.refresh();
  813. }
  814. function fPrntChrt(){
  815. // var pkgcd = ipt_pkgcd.value;
  816. var pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  817. if( pkgcd !="") {
  818. pkgcd = pkgcd.substr(4,1);
  819. if( pkgcd == "1" ){
  820. exeReportPreview("RPAHA01501", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true");
  821. }
  822. else
  823. if( pkgcd == "2" ) {
  824. // exeReportPreview("RPAHR00310", "XMLSTR", "", "", "false","","","","","true", "", "");
  825. exeReportPreview("RPAHA01502", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true");
  826. }
  827. }
  828. }
  829. /**
  830. * 증번호 11자리수중 첫 자리가 1~4 : 지역(J), 5~6 : 공.교(G), 7~8 직장(K)
  831. */ function fSetInsuTrgtFg(){
  832. var insuid = ipt_insuid.value;
  833. if( insuid != "" ) {
  834. insuid = insuid.substr(0,1);
  835. if( (insuid == "5" ) || (insuid == "6") ) insuid = "G";
  836. else
  837. if( (insuid == "7" ) || (insuid == "8") ) insuid = "K";
  838. else insuid = "J";
  839. rdo_insutrgtflag.value = insuid;
  840. }
  841. }
  842. /**
  843. * 무료암대상일 경우 관할 보건소 입력 필수
  844. * 비대상일 경우 무료암구분 disable
  845. * 대상구분 check 필요. 나이에따라 다름.
  846. * 위암검사 :만 40세이상인 자로서 희망자
  847. * 유방암검사 :만 40세이상인 여성희망자
  848. * 대장암검사 :만 50세이상인 자로서 희망자
  849. * 간암검사 :○ 당해연도전 2년간 2차검진결과 간장
  850. 질환 유질환자 및 간암발생고위험군
  851. 중 만40세 이상의 희망자
  852. ○ 당해연도 2차검진결과 간장질환 유질환자 중 만40세 미만의 희망자
  853. - 이 경우 간초음파 검사만 실시
  854. * 자궁경부암검사 :만 30세 이상인 여성희망자
  855. */ function fSetCncrCtrl(){
  856. /* chx_stmccncryn.disabled = true;
  857. chx_largeintescncryn.disabled = true;
  858. chx_livcncrtrgtyn.disabled = true;
  859. chx_mamcncryn.disabled = true;
  860. chx_cervcncryn.disabled = true;
  861. var freecncryn = rdo_freecncrtrgtyn.value;
  862. if( freecncryn == "N" ){
  863. return ;
  864. }
  865. chx_stmccncryn.disabled = false;
  866. chx_largeintescncryn.disabled = false;
  867. chx_livcncrtrgtyn.disabled = false;
  868. chx_mamcncryn.disabled = false;
  869. chx_cervcncryn.disabled = false; */
  870. }
  871. function fCheckFreeCncrTrgt(vMode) {
  872. var freecncryn = rdo_freecncrtrgtyn.value;
  873. if( freecncryn == "Y" ){
  874. var sex = opt_sex.value;
  875. var age = 0;
  876. if( opt_age.value != "" ) age = parseInt(opt_age.value);
  877. //위암검사 :만 40세이상인 자로서 희망자
  878. switch (vMode) {
  879. case 1:
  880. if( chx_stmccncryn.value == "Y" ){
  881. if( age < 40 ) {
  882. messageBox("위암검사는 만 40세이상인 자로서 희망자에 한합니다." , "E999");
  883. return false ;
  884. }
  885. model.setValue(cmb_stmccncrflag.attribute("ref"), "V12" );
  886. cmb_stmccncrflag.refresh();
  887. }
  888. case 2:
  889. if( chx_mamcncryn.value == "Y" ) {
  890. if( ( sex != "F" ) || ( (sex == "F" ) && (age < 40) ) ) {
  891. messageBox("유방암은 만 40세이상인 여성희망자에 한합니다." , "E999");
  892. return false ;
  893. }
  894. model.setValue(cmb_mamcncrflag.attribute("ref"), "V12" );
  895. cmb_mamcncrflag.refresh();
  896. }
  897. break;
  898. case 3:
  899. //대장암검사 :만 50세이상인 자로서 희망자
  900. if( (chx_largeintescncryn.value == "Y" )&& ( age < 50 ) ){
  901. messageBox("대장암검사는 만 50세이상인 자로서 희망자에 한합니다." , "E999");
  902. return false;
  903. model.setValue(cmb_mamcncrflag.attribute("ref"), "V12" );
  904. cmb_mamcncrflag.refresh();
  905. }
  906. break;
  907. case 4:
  908. //자궁경부암 : 만 30세이상인 여성희망자
  909. if( (chx_cervcncryn.value == "Y") &&
  910. ( (sex != "F" ) || ( (sex == "F") && ( age < 30 ) ) ) ) {
  911. alert("자궁경부암은 만 30세이상인 여성희망자에 한합니다.");
  912. return false;
  913. model.setValue(cmb_cervcncrflag.attribute("ref"), "V12" );
  914. cmb_cervcncrflag.refresh();
  915. }
  916. break;
  917. default :
  918. break;
  919. }
  920. }
  921. return true;
  922. }
  923. /**
  924. * 건진내역 계산
  925. 건진구분 :srchhealexamflag
  926. 예약일자 :srchrsrvdd
  927. 예약번호 :srchrsrvno
  928. 등록번호 :srchpid
  929. 기관코드 :srchinstcd
  930. */ function fCalcAmt(vJobFlag){
  931. var ret = -1;
  932. // var vTmp = fGetHealExamFlag();
  933. var vTmp = "G";
  934. model.copyNode("/root/main/info/rsrvacptinfo/item","/root/tmp/reqacpt");
  935. if( vTmp == "" ) return ret;
  936. model.setValue("/root/send/srchhealexamflag", vTmp );
  937. // vTmp = model.getValue(ipt_pid.attribute("ref"));
  938. vTmp = model.getValue("/root/tmp/reqacpt/pid");
  939. if( vTmp == "" ) return ret;
  940. model.setValue("/root/send/srchpid", vTmp );
  941. vTmp = model.getValue("/root/tmp/reqacpt/rsrvdd");
  942. if( vTmp== "" ) return ret;
  943. model.setValue("/root/send/srchrsrvdd", vTmp );
  944. vTmp = model.getValue("/root/tmp/reqacpt/rsrvno");
  945. if( vTmp == "" ) return ret;
  946. model.setValue("/root/send/srchrsrvno", vTmp );
  947. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd"));
  948. model.setValue("/root/send/srchjobflag" ,vJobFlag);
  949. var sNd = "/root/temp/rcptinfo/hidden/opmi_out";
  950. model.resetInstanceNode(sNd);
  951. sNd = sNd + "/";
  952. openLoadingBar("수납예상내역 계산 중입니다..") ;//처리중 화면을 오픈한다.
  953. if( submit("TXAHA02101") == true ){
  954. model.makeValue(opt_payinsubamt.attribute("ref") , model.getValue( sNd + "opmi_payinsubamt"));
  955. // model.makeValue(opt_payhealcntramt.attribute("ref") , model.getValue( sNd + "opmi_payhealcntramt"));
  956. model.makeValue(opt_paycmpyamt.attribute("ref") , model.getValue( sNd + "opmi_paycmpyamt"));
  957. model.makeValue(opt_payownbamt.attribute("ref") , model.getValue( sNd + "opmi_ownbamt"));
  958. model.makeValue(opt_totamt.attribute("ref") , model.getValue( sNd + "opmi_totamt"));
  959. model.makeNode("/root/main/info/rsrvacptinfo/item");
  960. model.refresh();
  961. ret = 1;
  962. }
  963. closeLoadingBar() ;//처리중 화면을 close한다.
  964. return ret;
  965. }
  966. /**
  967. * 처방내역 및 현황조회
  968. */
  969. function fGetOrdInfo(){
  970. model.removeNodeset(grd_curlst.nodeset);
  971. model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() ); //건진구분
  972. var sNd = "/root/main/info/rsrvacptinfo/item/";
  973. model.setValue("/root/send/srchpid" , model.getValue(sNd + "pid") ); //등록번호
  974. if( model.getValue("/root/send/srchpid") == "" ){
  975. messageBox("건진내역이 없습니다.", "E999");
  976. return ;
  977. }
  978. model.setValue("/root/send/srchrsrvdd" , model.getValue(sNd + "rsrvdd") ); //건진예약등록일자
  979. model.setValue("/root/send/srchrsrvno" , model.getValue(sNd + "rsrvno") ); //건진예약등록번호
  980. model.setValue("/root/send/srchorddd" , model.getValue(sNd + "orddd") ); //진료일자
  981. model.setValue("/root/send/srchcretno" , model.getValue(sNd + "cretno") ); //원무생성번호
  982. submit("TRAHA00701");
  983. }
  984. /**
  985. **건진자번호로 예약/접수 상세정보
  986. */
  987. function fGetDetlInfoHid(){
  988. model.makeNode("/root/main/info/rsrvacptinfo/item/rsrvdd");
  989. model.setValue("/root/main/info/rsrvacptinfo/item/rsrvdd", "");
  990. model.makeNode("/root/main/info/rsrvacptinfo/item/rsrvno");
  991. model.setValue("/root/main/info/rsrvacptinfo/item/rsrvno", "");
  992. var sHealExamPid = model.getValue("/root/main/info/patinfo/item/healexampid");
  993. if( sHealExamPid != "" ){
  994. var vHealExamDetlFg = model.getValue(cmb_healexamdetlflag.attribute("ref") );
  995. ahafGetRsrvAcpDetltInfoWithPid(vHealExamDetlFg, sHealExamPid);
  996. }
  997. }
  998. function fsetDgFlag(){
  999. var idx = swt_acptlst.selectedIndex ;
  1000. if(idx == 3){
  1001. model.makeValue("/root/send/dgflag", "2" );
  1002. } else
  1003. if(idx == 2){
  1004. model.makeValue("/root/send/dgflag", "1" );
  1005. } else {
  1006. model.makeValue("/root/send/dgflag", "" );
  1007. }
  1008. }
  1009. ]]>
  1010. </script>
  1011. </xhtml:head>
  1012. <xhtml:body guideline="1,1195;2,784;2,757;1,851;1,385;1,486;1,566;1,745;1,1186;2,245;">
  1013. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  1014. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1194px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  1015. <caption id="caption48" class="search_name" style="left:636px; top:13px; width:89px; height:17px; ">환자검색 :</caption>
  1016. <button id="btn_acptlst" class="btn1_letter2" style="left:1122px; top:12px; width:56px; height:22px; ">
  1017. <caption>조회</caption>
  1018. <script type="javascript" ev:event="onclick">
  1019. <![CDATA[
  1020. fGetList();
  1021. ]]>
  1022. </script>
  1023. </button>
  1024. <line id="line29" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  1025. <caption id="caption49" class="search_name" style="left:5px; top:14px; width:86px; height:17px; ">건진일자 :</caption>
  1026. <caption id="caption50" class="search_n_b" style="left:196px; top:14px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1027. <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:13px; width:100px; height:19px; "/>
  1028. <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:13px; width:100px; height:19px; "/>
  1029. <input id="input18" ref="/root/send/srchpid2" class="input_search" maxlength="10" style="left:725px; top:13px; width:135px; height:19px; "/>
  1030. <button id="button6" class="icon_search" style="left:865px; top:15px; width:16px; height:16px; ">
  1031. <caption/>
  1032. </button>
  1033. <output id="output3" ref="/root/send/srchpnm2" class="output_fix" style="left:885px; top:13px; width:200px; height:19px; "/>
  1034. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" appearance="minimal" style="left:420px; top:13px; width:190px; height:19px; ">
  1035. <choices>
  1036. <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
  1037. <label ref="cdnm"/>
  1038. <value ref="cdid"/>
  1039. </itemset>
  1040. </choices>
  1041. <script type="javascript" ev:event="xforms-select">
  1042. <![CDATA[
  1043. // cmb_healexamdetlflag.value = cmb_srchhealexamdetlflag.value;
  1044. ]]>
  1045. </script>
  1046. </select1>
  1047. <choices>
  1048. <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
  1049. <label ref="cdnm"/>
  1050. <value ref="cdid"/>
  1051. </itemset>
  1052. </choices>
  1053. <caption id="caption51" class="search_name" style="left:331px; top:13px; width:86px; height:17px; ">검진구분 :</caption>
  1054. </group>
  1055. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  1056. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:13px; ">예약/접수</caption>
  1057. </group>
  1058. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  1059. <button id="btn_rsrvcfm" class="btn4_letter2" style="left:755px; top:4px; width:56px; height:22px; ">
  1060. <caption>예약</caption>
  1061. <script type="javascript" ev:event="onclick">
  1062. <![CDATA[
  1063. if (model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag")=="")
  1064. {
  1065. messageBox("건진종류를 ", "C002" );
  1066. return;
  1067. }
  1068. if (model.getValue("root/main/info/rsrvacptinfo/item/rsrvtm") == ""){
  1069. messageBox("예약일자를 ", "C002");
  1070. model.setFocus("btn_totrsrvdt");
  1071. fGetRsrvDateTime("T", ipt_rsrvdd , ipt_rsrvtm);
  1072. return false;
  1073. }
  1074. if(model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd")==""){
  1075. messageBox("패키지를 ", "C002");
  1076. return;
  1077. }
  1078. model.makeValue("/root/main/info/rsrvacptinfo/item/brthdd", model.getValue("/root/main/info/patinfo/item/brthdd"));
  1079. model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
  1080. finsuCheck();
  1081. model.makeValue("/root/main/info/rsrvacptinfo/item/dgflag" , "1");
  1082. if(model.getValue("/root/main/info/patinfo/item/pid") == ""){
  1083. //alert("20080830");
  1084. // fSavePtbs();
  1085. }
  1086. //copyNodesetType("/root/main/info/rsrvacptinfo/addlst","/root/send/selpkgexam", "replace");
  1087. //model.refresh();
  1088. fSaveRsrvAcptPro("C","1");
  1089. ]]>
  1090. </script>
  1091. </button>
  1092. <button id="btn_clear" class="btn4_letter3" style="left:684px; top:4px; width:68px; height:22px; ">
  1093. <caption>초기화</caption>
  1094. <script type="javascript" ev:event="onclick">
  1095. <![CDATA[
  1096. var vhf = model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag");
  1097. fInitInfo();
  1098. model.makeValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag",vhf);
  1099. fSetBtnStat();
  1100. ]]>
  1101. </script>
  1102. </button>
  1103. <button id="btn_rsrvcncl" class="btn4_letter4" style="left:814px; top:4px; width:80px; height:22px; ">
  1104. <caption>예약취소</caption>
  1105. <script type="javascript" ev:event="onclick">
  1106. <![CDATA[
  1107. model.makeValue("/root/main/info/rsrvacptinfo/item/brthdd", model.getValue("/root/main/info/patinfo/item/brthdd"));
  1108. model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
  1109. finsuCheck();
  1110. fSaveRsrvAcptPro("D","1");
  1111. ]]>
  1112. </script>
  1113. </button>
  1114. <button id="btn_acpt" class="btn4_letter2" style="left:915px; top:4px; width:56px; height:22px; ">
  1115. <caption>접수</caption>
  1116. <script type="javascript" ev:event="onclick">
  1117. <![CDATA[
  1118. if (model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag")=="")
  1119. {
  1120. messageBox("건진종류를 ", "C002" );
  1121. return;
  1122. }
  1123. model.makeValue("/root/main/info/rsrvacptinfo/item/brthdd", model.getValue("/root/main/info/patinfo/item/brthdd"));
  1124. model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
  1125. finsuCheck();
  1126. var cur_date = getCurrentDate();
  1127. model.makeValue("/root/main/info/rsrvacptinfo/item/hopedd",cur_date);
  1128. // model.makeValue("/root/main/info/rsrvacptinfo/item/orddd",cur_date);
  1129. model.makeValue("/root/main/info/rsrvacptinfo/item/dgflag" , "1");
  1130. if(model.getValue("/root/main/info/patinfo/item/pid") == ""){
  1131. //alert("20080830");
  1132. // fSavePtbs();
  1133. }
  1134. fSaveRsrvAcptPro("E","1");
  1135. model.resetInstanceNode("/root/send/selpkgexam");
  1136. ]]>
  1137. </script>
  1138. </button>
  1139. <button id="btn_acptcncl" class="btn4_letter4" style="left:1046px; top:4px; width:80px; height:22px; ">
  1140. <caption>접수취소</caption>
  1141. <script type="javascript" ev:event="onclick">
  1142. <![CDATA[
  1143. model.makeValue("/root/main/info/rsrvacptinfo/item/brthdd", model.getValue("/root/main/info/patinfo/item/brthdd"));
  1144. model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
  1145. finsuCheck();
  1146. fSaveRsrvAcptPro("F","1");
  1147. ]]>
  1148. </script>
  1149. </button>
  1150. <button id="btn_prntseq" class="btn6_letter5" style="left:0px; top:4px; width:92px; height:22px; ">
  1151. <caption>순서표출력</caption>
  1152. </button>
  1153. <button id="button2" class="btn4_letter3" style="left:975px; top:4px; width:68px; height:22px; ">
  1154. <caption>2차접수</caption>
  1155. <script type="javascript" ev:event="onclick">
  1156. <![CDATA[
  1157. if (model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag")=="")
  1158. {
  1159. messageBox("건진종류를 ", "C002" );
  1160. return;
  1161. }
  1162. model.makeValue("/root/main/info/rsrvacptinfo/item/brthdd", model.getValue("/root/main/info/patinfo/item/brthdd"));
  1163. model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
  1164. finsuCheck();
  1165. model.makeValue("/root/main/info/rsrvacptinfo/item/dgflag" , "2");
  1166. model.makeValue("/root/main/info/rsrvacptinfo/item/rsrvdd" , getCurrentDate());
  1167. model.makeValue("/root/main/info/rsrvacptinfo/item/orddd" , getCurrentDate());
  1168. var nodeCount = getNodesetCount("/root/main/info/judgone");
  1169. var pkgi =1;
  1170. var grd_i = getNodesetCount("/root/send/selpkgexam");
  1171. model.copyNode("/root/main/info/rsrvacptinfo/addlst","/root/send/selpkgexam");
  1172. for (var k = 0 ;k< grd_i;k++){
  1173. gi = k + 1;
  1174. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+gi+"]/m","u");
  1175. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+gi+"]/testcd", model.getValue("/root/send/selpkgexam["+gi+"]/testcd"));
  1176. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+gi+"]/testnm",model.getValue("/root/send/selpkgexam["+gi+"]/testcd"));
  1177. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+gi+"]/pegubun","P");
  1178. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+gi+"]/uncocd","V03");
  1179. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+gi+"]/testflag","G");
  1180. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+gi+"]/grupflag","Y");
  1181. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+gi+"]/calcscorcd",model.getValue("/root/send/selpkgexam["+gi+"]/testcd"));
  1182. // model.setValue("/root/main/info/rsrvacptinfo/addlst["+ i + "]/m ", "u");
  1183. // grd_addlst.removeRow();
  1184. }
  1185. // grd_addlst.addRow();
  1186. /* for(var i=0 ;i<=nodeCount;i++){
  1187. // alert(model.getValue("/root/main/info/judgone["+i+"]/dulppkgcd"));
  1188. if (model.getValue("/root/main/info/judgone["+i+"]/dulppkgcd") != ""){
  1189. if (pkgi==1){
  1190. model.makeValue("/root/main/info/rsrvacptinfo/item/pkgcd",model.getValue("/root/main/info/judgone["+i+"]/dulppkgcd"));
  1191. model.makeValue("/root/main/info/rsrvacptinfo/item/pkgnm","2차검진");
  1192. } else{
  1193. // model.removeNode("/root/send/selpkgexam");
  1194. // if(grd_addlst.valueMatrix(grd_addlst.bottomRow,grd_addlst.colRef("sel"))=="Y"){
  1195. grd_addlst.addRow();
  1196. // }
  1197. grd_addlst.valueMatrix(grd_addlst.bottomRow,grd_addlst.colRef("sel")) = "Y";
  1198. grd_addlst.valueMatrix(grd_addlst.bottomRow,grd_addlst.colRef("testcd")) = model.getValue("/root/main/info/judgone["+i+"]/dulppkgcd");
  1199. grd_addlst.valueMatrix(grd_addlst.bottomRow,grd_addlst.colRef("testnm")) = "";
  1200. grd_addlst.valueMatrix(grd_addlst.bottomRow,grd_addlst.colRef("pegubun")) = "P";
  1201. grd_addlst.valueMatrix(grd_addlst.bottomRow,grd_addlst.colRef("uncocd")) = "V03";
  1202. grd_addlst.valueMatrix(grd_addlst.bottomRow,grd_addlst.colRef("testflag")) = "A";
  1203. grd_addlst.valueMatrix(grd_addlst.bottomRow,grd_addlst.colRef("grupflag")) = "Y";
  1204. grd_addlst.valueMatrix(grd_addlst.bottomRow,grd_addlst.colRef("calcscorcd")) = model.getValue("/root/main/info/judgone["+i+"]/dulppkgcd");
  1205. }
  1206. pkgi = pkgi+1;
  1207. }
  1208. }
  1209. model.makeNode("/root/main/info/rsrvacptinfo/addlst");
  1210. nodeCount = getNodesetCount("/root/send/selpkgexam");
  1211. for(var c=1;c<=nodeCount;c++){
  1212. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+"]/m","u");
  1213. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+"]/testcd",grd_addlst.valueMatrix(c,grd_addlst.colRef("testcd")));
  1214. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+"]/testnm",grd_addlst.valueMatrix(c,grd_addlst.colRef("testnm")));
  1215. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+"]/pegubun","P");
  1216. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+"]/uncocd","V03");
  1217. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+"]/testflag","A");
  1218. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+"]/grupflag","Y");
  1219. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+"]/calcscorcd",grd_addlst.valueMatrix(c,grd_addlst.colRef("dulppkgcd")));
  1220. }
  1221. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+1+"]/m","u");
  1222. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+1+"]/testcd",model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd"));
  1223. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+1+"]/testnm","");
  1224. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+1+"]/pegubun","P");
  1225. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+1+"]/uncocd","V03");
  1226. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+1+"]/testflag","A");
  1227. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+1+"]/grupflag","Y");
  1228. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+c+1+"]/calcscorcd",model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd"));
  1229. */
  1230. if(model.getValue("/root/main/info/patinfo/item/pid") == ""){
  1231. //alert("20080830");
  1232. // fSavePtbs();
  1233. }
  1234. fSaveRsrvAcptPro("E","1");
  1235. ]]>
  1236. </script>
  1237. </button>
  1238. <button id="btn_rcpt" class="btn4_letter2" style="left:1129px; top:4px; width:56px; height:22px; ">
  1239. <caption>수납</caption>
  1240. <script type="javascript" ev:event="DOMActivate">
  1241. <![CDATA[
  1242. //alert(model.getValue("/root/main/info/rsrvacptinfo/item/statflag") );
  1243. ahafOpenRcpt( fGetHealExamFlag()
  1244. , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd")
  1245. , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno")
  1246. , model.getValue("/root/main/info/patinfo/item/pid")
  1247. , model.getValue("/root/main/info/rsrvacptinfo/item/rcptstat")
  1248. , model.getValue("/root/main/info/rsrvacptinfo/item/orddd" ) );
  1249. ]]>
  1250. </script>
  1251. </button>
  1252. </group>
  1253. <button id="button15" class="btn2_letter4" style="left:860px; top:670px; width:64px; height:19px; ">
  1254. <caption>선택추가</caption>
  1255. <script type="javascript" ev:event="DOMActivate">
  1256. <![CDATA[
  1257. model.removenode("/root/send/selpkgexam");
  1258. var rowcount = 0;
  1259. for (i = 0; i < grd_pkglst.rows ; i++){
  1260. if (model.getValue("/root/main/pkgaddlst/item[" +i+ "]/sel") == "Y") {
  1261. if (rowcount != 0){
  1262. model.makeValue("/root/send/selpkgexam["+rowcount+"]/sel" , "true");
  1263. model.makeValue("/root/send/selpkgexam["+rowcount+"]/testcd" , model.getValue("/root/main/pkgaddlst/item[" +i+ "]/pkgcd"));
  1264. model.makeValue("/root/send/selpkgexam["+rowcount+"]/testnm" , model.getValue("/root/main/pkgaddlst/item[" +i+ "]/pkgnm"));
  1265. model.makeValue("/root/send/selpkgexam["+rowcount+"]/pegubun" , "P"); //패키지
  1266. model.makeValue("/root/send/selpkgexam["+rowcount+"]/uncocd" , "V03");
  1267. model.makeValue("/root/send/selpkgexam["+rowcount+"]/testflag" , "A");
  1268. model.makeValue("/root/send/selpkgexam["+rowcount+"]/grupflag" , model.getValue("/root/main/pkgaddlst/item[" +i+ "]/grupflag"));
  1269. model.makeValue("/root/send/selpkgexam["+rowcount+"]/calcscorcd" , model.getValue("/root/main/pkgaddlst/item[" +i+ "]/calcscorcd"));
  1270. model.makeValue("/root/send/selpkgexam["+rowcount+"]/m" , "i");
  1271. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+rowcount+"]/m" , "i");
  1272. /* model.makeValue("/root/main/info/rsrvacptinfo/item/pkgcd" , model.getValue("/root/main/pkgaddlst/item[" +i+ "]/pkgcd"));
  1273. model.makeValue("/root/main/info/rsrvacptinfo/item/pkgnm" , model.getValue("/root/main/pkgaddlst/item[" +i+ "]/pkgnm")); */
  1274. // rowcount = 1;
  1275. } else{
  1276. model.makeValue("/root/main/info/rsrvacptinfo/item/pkgcd" , model.getValue("/root/main/pkgaddlst/item["+i+"]/pkgcd"));
  1277. model.makeValue("/root/main/info/rsrvacptinfo/item/pkgnm" , model.getValue("/root/main/pkgaddlst/item["+i+"]/pkgnm"));
  1278. }
  1279. rowcount = rowcount + 1;
  1280. }
  1281. }
  1282. for (i = 0; i < datagrid4.rows ; i++){
  1283. if (model.getValue("/root/main/testcdlst/item1[" +i+ "]/sel") == "Y") {
  1284. if (rowcount==0){
  1285. rowcount = 1;
  1286. }
  1287. model.makeValue("/root/send/selpkgexam["+rowcount+"]/sel" , "true");
  1288. model.makeValue("/root/send/selpkgexam["+rowcount+"]/testcd" , model.getValue("/root/main/testcdlst/item1[" +i+ "]/testcd"));
  1289. model.makeValue("/root/send/selpkgexam["+rowcount+"]/testnm" , model.getValue("/root/main/testcdlst/item1[" +i+ "]/testnm"));
  1290. model.makeValue("/root/send/selpkgexam["+rowcount+"]/calcscorcd" , model.getValue("/root/main/testcdlst/item1[" +i+ "]/calcscorcd"));
  1291. model.makeValue("/root/send/selpkgexam["+rowcount+"]/uncocd" , "V03");
  1292. model.makeValue("/root/send/selpkgexam["+rowcount+"]/pegubun" , "E"); //추가검사
  1293. model.makeValue("/root/send/selpkgexam["+rowcount+"]/testflag" , "A");
  1294. model.makeValue("/root/send/selpkgexam["+rowcount+"]/grupflag" , model.getValue("/root/main/testcdlst/item1[" +i+ "]/grupflag"));
  1295. model.makeValue("/root/send/selpkgexam["+rowcount+"]/m" , "i");
  1296. model.makeValue("/root/main/info/rsrvacptinfo/addlst["+rowcount+"]/m" , "i");
  1297. rowcount = rowcount +1;
  1298. }
  1299. }
  1300. model.refresh();
  1301. ]]>
  1302. </script>
  1303. </button>
  1304. <select1 id="combo27" ref="/root/main/info/rsrvacptinfo/item/mamcncrflag" class="combo_default" navindex="57" appearance="minimal" style="left:749px; top:443px; width:103px; height:19px; ">
  1305. <choices>
  1306. <item>
  1307. <label>combo1</label>
  1308. <value>combo1</value>
  1309. </item>
  1310. </choices>
  1311. </select1>
  1312. <caption id="caption92" class="tit_2" style="left:585px; top:529px; width:144px; height:13px; ">1차판정조회</caption>
  1313. <line id="line51" class="line_3" style="x1:580px; y1:524px; x2:850px; y2:524px; "/>
  1314. <caption id="caption81" class="cell_1" style="left:492px; top:387px; width:70px; height:23px; vertical-align:middle; ">1차장소</caption>
  1315. <caption id="caption70" class="cell_1" style="left:676px; top:279px; width:70px; height:23px; vertical-align:middle; ">가입구분</caption>
  1316. <line id="line40" class="line_2" style="x1:314px; y1:250px; x2:854px; y2:250px; "/>
  1317. <output id="opt_paycmpyamt" ref="/root/main/info/rcptinfo/paycmpyamt" class="output_fix" format="#,###" style="left:939px; top:721px; width:80px; height:19px; text-align:right; "/>
  1318. <button id="button16" class="btn2_letter6" style="left:765px; top:200px; width:86px; height:19px; ">
  1319. <caption>수진자격조회</caption>
  1320. <script type="javascript" ev:event="onclick">
  1321. <![CDATA[
  1322. var sRgstNo1 = model.getValue("/root/main/info/patinfo/item/rgstno1" );
  1323. var sRgstNo2 = model.getValue("/root/main/info/patinfo/item/rgstno2" );
  1324. var sHngNm = model.getValue("/root/main/info/patinfo/item/hngnm");
  1325. /* var sOrdDD = model.getValue( ipt_rsrvdd.attribute("ref") );
  1326. if( sOrdDD == "" ) {
  1327. sOrdDD = model.getValue( ipt_orddd.attribute("ref") );
  1328. }
  1329. var vInsuKind = opt_insukind.attribute("ref") ;
  1330. var vInsuID = ipt_insuid.attribute("ref") ;
  1331. var vInsuCd = ipt_insucd.attribute("ref") ;
  1332. var vFromDD = "";
  1333. var vInsuNm = "";
  1334. var vInsuBranchCd = ipt_insucorpbrchcd.attribute("ref") ;
  1335. var vInsuBranchNm = opt_insucorpbrchnm.attribute("ref") ;*/
  1336. ahafGetInsuCnts(sRgstNo1, sRgstNo2, sHngNm);
  1337. ]]>
  1338. </script>
  1339. </button>
  1340. <caption id="caption93" class="cell_1" style="left:311px; top:723px; width:73px; height:23px; vertical-align:middle; ">기록지/문진</caption>
  1341. <select1 id="combo28" ref="/root/main/info/rsrvacptinfo/item/cervcncrflag" class="combo_default" navindex="59" appearance="minimal" style="left:385px; top:470px; width:105px; height:19px; ">
  1342. <choices>
  1343. <item>
  1344. <label>combo1</label>
  1345. <value>combo1</value>
  1346. </item>
  1347. </choices>
  1348. </select1>
  1349. <select1 id="combo17" ref="/root/main/info/rsrvacptinfo/item/insutrgtflag" class="combo_default" navindex="17" appearance="minimal" style="left:566px; top:281px; width:105px; height:19px; ">
  1350. <choices>
  1351. <itemset nodeset="/root/init/baseinfo/insutrgtflag/A0108">
  1352. <label ref="cdnm"/>
  1353. <value ref="cdid"/>
  1354. </itemset>
  1355. </choices>
  1356. </select1>
  1357. <line id="line52" class="line_1" style="x1:580px; y1:544px; x2:850px; y2:544px; "/>
  1358. <caption id="caption82" class="cell_1" style="left:676px; top:387px; width:70px; height:23px; vertical-align:middle; ">2차장소</caption>
  1359. <line id="line41" class="line_2" style="x1:314px; y1:276px; x2:854px; y2:276px; "/>
  1360. <caption id="caption60" class="tit_2" style="left:316px; top:529px; width:144px; height:13px; ">처방내역조회</caption>
  1361. <line id="line30" class="line_3" style="x1:310px; y1:748px; x2:1190px; y2:748px; "/>
  1362. <output id="opt_payownbamt" ref="/root/main/info/rcptinfo/payownbamt" class="output_fix" format="#,###" style="left:1093px; top:698px; width:95px; height:19px; text-align:right; "/>
  1363. <button id="button17" class="icon_search" style="left:492px; top:255px; width:16px; height:16px; ">
  1364. <caption/>
  1365. <script type="javascript" ev:event="onclick">
  1366. <![CDATA[
  1367. fGetComnCd("SMAHA01500", "08" , "nm", ipt_cmpycd.currentText ,ipt_cmpycd.attribute("ref"), opt_cmpynm.attribute("ref"));
  1368. fGetCmpyDetlCdList();
  1369. ]]>
  1370. </script>
  1371. </button>
  1372. <input id="input40" ref="/root/send/pkgnm" class="output_fix" appearance="input" style="left:975px; top:90px; width:211px; height:19px; ">
  1373. <script type="javascript" ev:event="onkeyup">
  1374. <![CDATA[
  1375. inputEnterKey("button1", "onclick");
  1376. ]]>
  1377. </script>
  1378. </input>
  1379. <caption id="caption94" class="tit_2" style="left:865px; top:68px; width:144px; height:13px; ">패키지 검사</caption>
  1380. <line id="line53" class="line_3" style="x1:860px; y1:88px; x2:1190px; y2:88px; "/>
  1381. <select1 id="combo29" ref="/root/main/info/rsrvacptinfo/item/disccd" class="combo_default" navindex="61" appearance="minimal" style="left:749px; top:470px; width:103px; height:19px; ">
  1382. <choices>
  1383. <itemset nodeset="/root/init/baseinfo/pamcdlst/disccdlst">
  1384. <label ref="nm"/>
  1385. <value ref="cd"/>
  1386. </itemset>
  1387. </choices>
  1388. </select1>
  1389. <select1 id="combo18" ref="/root/main/info/rsrvacptinfo/item/insuflag" class="combo_default" navindex="19" appearance="minimal" style="left:749px; top:281px; width:103px; height:19px; ">
  1390. <choices>
  1391. <itemset nodeset="/root/init/baseinfo/insuflag/A0109">
  1392. <label ref="cdnm"/>
  1393. <value ref="cdid"/>
  1394. </itemset>
  1395. </choices>
  1396. </select1>
  1397. <caption id="caption83" class="cell_1" style="left:310px; top:414px; width:70px; height:23px; vertical-align:middle; ">구강검진</caption>
  1398. <caption id="caption72" class="cell_1" style="left:676px; top:306px; width:70px; height:23px; vertical-align:middle; ">휴대전화</caption>
  1399. <caption id="caption61" class="tit_2" style="left:310px; top:130px; width:94px; height:13px; ">건진자 정보</caption>
  1400. <line id="line31" class="line_1" style="x1:310px; y1:83px; x2:850px; y2:83px; "/>
  1401. <output id="opt_totamt" ref="/root/main/info/rcptinfo/totamt" class="output_fix" format="#,###" style="left:1093px; top:722px; width:95px; height:19px; text-align:right; "/>
  1402. <input id="opt_cmpynm" ref="/root/main/info/rsrvacptinfo/item/cmpynm" class="input_default" navindex="11" imemode="alpha" style="left:510px; top:255px; width:160px; height:19px; "/>
  1403. <caption id="caption95" class="cell_1" style="left:857px; top:693px; width:79px; height:23px; vertical-align:middle; ">공단부담금</caption>
  1404. <input id="input41" ref="/root/send/exmcd" class="input_essential" visibility="hidden" style="left:935px; top:610px; width:85px; height:19px; ">
  1405. <script type="javascript" ev:event="onkeyup">
  1406. <![CDATA[
  1407. inputEnterKey("button2", "onclick");
  1408. ]]>
  1409. </script>
  1410. </input>
  1411. <line id="line54" class="line_1" style="x1:860px; y1:83px; x2:1190px; y2:83px; "/>
  1412. <select1 id="combo19" ref="/root/main/info/rsrvacptinfo/item/jobkindflag" class="combo_default" navindex="21" appearance="minimal" style="left:385px; top:308px; width:105px; height:19px; ">
  1413. <choices>
  1414. <itemset nodeset="/root/init/baseinfo/jobkindflag/A0112">
  1415. <label ref="cdnm"/>
  1416. <value ref="cdid"/>
  1417. </itemset>
  1418. </choices>
  1419. </select1>
  1420. <datagrid id="grd_addlst" nodeset="/root/send/selpkgexam" caption="선택^검사코드^검사명^검사구분" colsep="^" colwidth="34, 62, 140, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:310px; top:550px; width:260px; height:170px; ">
  1421. <col checkvalue="true,false" ref="sel" type="checkbox"/>
  1422. <col ref="testcd"/>
  1423. <col ref="testnm"/>
  1424. <col ref="pegubun"/>
  1425. <col ref="testflag"/>
  1426. <col ref="uncocd"/>
  1427. <col ref="scoreamt"/>
  1428. <col ref="prcptims"/>
  1429. <col ref="cmpydiscamt"/>
  1430. <col ref="examseq"/>
  1431. <col ref="calcscorcd"/>
  1432. <col ref="prcpno"/>
  1433. <col ref="prcpdd"/>
  1434. <col ref="m"/>
  1435. <col ref="grupflag"/>
  1436. </datagrid>
  1437. <caption id="caption84" class="cell_1" style="left:492px; top:414px; width:70px; height:23px; vertical-align:middle; ">2차감염</caption>
  1438. <input id="input30" ref="/root/main/info/patinfo/item/mpphon" navindex="25" imemode="hangul" style="left:749px; top:308px; width:103px; height:19px; "/>
  1439. <caption id="caption73" class="cell_1" style="left:310px; top:333px; width:70px; height:23px; vertical-align:middle; ">E-MAIL</caption>
  1440. <output id="opt_age" ref="/root/main/info/patinfo/item/age" class="output_fix" style="left:439px; top:200px; width:47px; height:19px; "/>
  1441. <caption id="caption62" class="cell_1" style="left:310px; top:176px; width:70px; height:23px; vertical-align:middle; ">성명</caption>
  1442. <line id="line32" class="line_3" style="x1:310px; y1:124px; x2:850px; y2:124px; "/>
  1443. <caption id="caption96" class="cell_1" style="left:492px; top:468px; width:70px; height:23px; vertical-align:middle; ">심전도</caption>
  1444. <input id="input42" ref="/root/send/exmnm" class="output_fix" visibility="hidden" appearance="input" style="left:975px; top:630px; width:211px; height:19px; ">
  1445. <script type="javascript" ev:event="onkeyup">
  1446. <![CDATA[
  1447. inputEnterKey("button2", "onclick");
  1448. ]]>
  1449. </script>
  1450. </input>
  1451. <line id="line55" class="line_2" style="x1:862px; y1:100px; x2:1192px; y2:100px; "/>
  1452. <datagrid id="datagrid6" nodeset="/root/main/info/judgone" caption="판정^판정코드^판정명^2차재검코드" colsep="^" colwidth="62, 19, 123, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:580px; top:550px; width:271px; height:170px; ">
  1453. <col ref="judgcd"/>
  1454. <col ref="judgdetlcd"/>
  1455. <col ref="etcdetlnm"/>
  1456. <col ref="dulppkgcd" type="input"/>
  1457. </datagrid>
  1458. <caption id="caption85" class="cell_1" style="left:676px; top:414px; width:70px; height:23px; vertical-align:middle; ">위암</caption>
  1459. <input id="input31" ref="/root/main/info/patinfo/item/telno" class="input_default" navindex="23" imemode="alpha" style="left:566px; top:308px; width:105px; height:19px; "/>
  1460. <caption id="caption74" class="cell_1" style="left:492px; top:306px; width:70px; height:23px; vertical-align:middle; ">전화번호</caption>
  1461. <input id="input20" ref="/root/main/info/patinfo/item/zipcd11" class="output_fix" format="999" style="left:385px; top:228px; width:47px; height:19px; "/>
  1462. <output id="opt_sex" ref="/root/main/info/patinfo/item/sex" class="output_fix" style="left:385px; top:201px; width:53px; height:19px; "/>
  1463. <caption id="caption63" class="cell_1" style="left:310px; top:225px; width:70px; height:24px; vertical-align:middle; ">주소</caption>
  1464. <caption id="caption52" class="cell_1" style="left:1020px; top:720px; width:69px; height:23px; vertical-align:middle; ">합계금액</caption>
  1465. <caption id="caption97" class="cell_1" style="left:580px; top:723px; width:73px; height:23px; vertical-align:middle; ">청구방법</caption>
  1466. <datagrid id="grd_pkglst" nodeset="/root/main/pkgaddlst/item" caption="선택^업체명^건진코드^명칭^단가(남)^단가(여)^계약기간^계약기간^conseq^pkgflag^uncocd" colsep="^" colwidth="35, 100, 80, 198, 70, 81, 59, 65, 60, 54, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:860px; top:110px; width:326px; height:545px; ">
  1467. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1468. <col ref="cmpynm" visibility="hidden"/>
  1469. <col ref="pkgcd"/>
  1470. <col ref="pkgnm"/>
  1471. <col ref="mancnfmamt" visibility="hidden" format="#,###" style="text-align:right; "/>
  1472. <col ref="womcnfmamt" visibility="hidden" format="#,###" style="text-align:right; "/>
  1473. <col ref="confromdd" visibility="hidden"/>
  1474. <col ref="contodd" visibility="hidden"/>
  1475. <col ref="conseq" visibility="hidden"/>
  1476. <col ref="pkgflag" visibility="hidden"/>
  1477. <col ref="uncocd" visibility="hidden"/>
  1478. <col ref="calcscorcd"/>
  1479. <col ref="grupflag"/>
  1480. <script type="javascript" ev:event="ondblclick">
  1481. <![CDATA[
  1482. fSetData();
  1483. var vMultiyn = model.getValue("/root/target/multiyn");
  1484. if( vMultiyn != "Y" ){
  1485. window.close();
  1486. }
  1487. ]]>
  1488. </script>
  1489. </datagrid>
  1490. <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" class="input_essential" navindex="3" imemode="hangul" format="9999999" style="left:625px; top:176px; width:75px; height:19px; ">
  1491. <script type="javascript" ev:event="xforms-value-changed">
  1492. <![CDATA[
  1493. if( (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno2")) > 6) && (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno1")) > 5) ){
  1494. //주민번호로 환자 검색
  1495. fSetBrthDD();
  1496. fGetPatInfo(1);
  1497. /*
  1498. fGetDetlInfoHid();
  1499. //직원정보관련 setting
  1500. fSetPsnWorkInfo();
  1501. model.makeValue("/root/main/info/rsrvacptinfo/item/choiflag",model.getValue("/root/main/info/patinfo/item/choiflag"));
  1502. */
  1503. model.refresh();
  1504. }
  1505. ]]>
  1506. </script>
  1507. </input>
  1508. <output id="opt_payinsubamt" ref="/root/main/info/rcptinfo/paycmpyamt" class="output_fix" format="#,###" style="left:939px; top:695px; width:80px; height:19px; text-align:right; "/>
  1509. <line id="line56" class="line_3" style="x1:856px; y1:660px; x2:1186px; y2:660px; "/>
  1510. <caption id="caption86" class="cell_1" style="left:310px; top:441px; width:70px; height:23px; vertical-align:middle; ">대장</caption>
  1511. <caption id="caption75" class="cell_1" style="left:676px; top:333px; width:70px; height:23px; vertical-align:middle; ">보건소</caption>
  1512. <input id="input32" ref="/root/main/info/rsrvacptinfo/item/armyhos" navindex="33" imemode="hangul" style="left:385px; top:362px; width:105px; height:19px; "/>
  1513. <select id="chk_healexamdetlflag" ref="/root/main/info/rsrvacptinfo/item/healexamdetlflag" overflow="visible" appearance="full" cols="5" sep="^" style="left:370px; top:90px; width:445px; height:20px; border-style:none; ">
  1514. <choices>
  1515. <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
  1516. <label ref="cdnm"/>
  1517. <value ref="cdid"/>
  1518. </itemset>
  1519. </choices>
  1520. <script type="javascript" ev:event="onclick">
  1521. <![CDATA[
  1522. if(model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag")=="G05"){
  1523. model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd" , "V01");//청구구분 -개인
  1524. }else{
  1525. model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd" , "V03");//청구구분 -공단
  1526. }
  1527. model.makeValue("/root/send/srchpkgflag", "");
  1528. model.makeValue("/root/send/srchhealexamflag", "G");
  1529. model.makeValue("/root/send/srchhealexamdetlflag" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag"));
  1530. submit("TRAHB00303");
  1531. ]]>
  1532. </script>
  1533. </select>
  1534. <input id="input21" ref="/root/main/info/patinfo/item/zipcd12" class="output_fix" format="999" style="left:443px; top:228px; width:47px; height:19px; "/>
  1535. <caption id="caption64" class="search_n_b" style="left:434px; top:228px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1536. <line id="line34" class="line_1" style="x1:311px; y1:544px; x2:570px; y2:544px; "/>
  1537. <caption id="caption53" class="cell_1" style="left:857px; top:719px; width:79px; height:23px; vertical-align:middle; ">사업체부담액</caption>
  1538. <datagrid id="datagrid4" nodeset="/root/main/testcdlst/item1" visibility="hidden" caption="선택^검사코드^건진코드^명칭^단가(남)^단가(여)^계약기간^계약기간^conseq^pkgflag^uncocd" colsep="^" colwidth="35, 100, 80, 198, 70, 81, 59, 65, 60, 54, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:857px; top:395px; width:329px; height:95px; ">
  1539. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1540. <col ref="testcd"/>
  1541. <col ref="oldordcd" visibility="hidden"/>
  1542. <col ref="testnm"/>
  1543. <col ref="scoreamt" visibility="hidden" format="#,###" style="text-align:right; "/>
  1544. <col ref="grupflag" visibility="hidden" format="#,###" style="text-align:right; "/>
  1545. <col ref="confromdd" visibility="hidden"/>
  1546. <col ref="contodd" visibility="hidden"/>
  1547. <col ref="conseq" visibility="hidden"/>
  1548. <col ref="pkgflag" visibility="hidden"/>
  1549. <col ref="uncocd" visibility="hidden"/>
  1550. <col ref="calcscorcd"/>
  1551. <col ref="grupflag"/>
  1552. <script type="javascript" ev:event="ondblclick">
  1553. <![CDATA[
  1554. fSetData();
  1555. var vMultiyn = model.getValue("/root/target/multiyn");
  1556. if( vMultiyn != "Y" ){
  1557. window.close();
  1558. }
  1559. ]]>
  1560. </script>
  1561. </datagrid>
  1562. <line id="line57" class="line_1" style="x1:856px; y1:660px; x2:1186px; y2:660px; "/>
  1563. <caption id="caption87" class="cell_1" style="left:676px; top:441px; width:70px; height:23px; vertical-align:middle; ">유방암</caption>
  1564. <caption id="caption76" class="cell_1" style="left:310px; top:360px; width:70px; height:23px; vertical-align:middle; ">군 병원</caption>
  1565. <input id="input33" ref="/root/main/info/rsrvacptinfo/item/healcntrcd" navindex="31" imemode="hangul" style="left:749px; top:335px; width:103px; height:19px; "/>
  1566. <caption id="caption65" class="cell_1" style="left:310px; top:279px; width:70px; height:23px; vertical-align:middle; ">증번호</caption>
  1567. <input id="input22" ref="/root/main/info/patinfo/item/addr1" class="output_fix" navindex="7" style="left:520px; top:228px; width:95px; height:19px; "/>
  1568. <line id="line35" class="line_1" style="x1:310px; y1:170px; x2:850px; y2:170px; "/>
  1569. <caption id="caption54" class="cell_1" style="left:1020px; top:696px; width:69px; height:23px; vertical-align:middle; ">개인부담액</caption>
  1570. <caption id="caption88" class="cell_1" style="left:310px; top:468px; width:70px; height:23px; vertical-align:middle; ">자궁경부</caption>
  1571. <caption id="caption77" class="cell_1" style="left:492px; top:333px; width:70px; height:23px; vertical-align:middle; ">소속지사</caption>
  1572. <input id="input34" ref="/root/main/info/rsrvacptinfo/item/insucorpbrchcd" class="input_default" navindex="29" imemode="alpha" style="left:566px; top:335px; width:105px; height:19px; "/>
  1573. <caption id="caption66" class="cell_1" style="left:310px; top:252px; width:70px; height:23px; vertical-align:middle; ">사업장코드</caption>
  1574. <input id="input23" ref="/root/main/info/patinfo/item/detladdr1" class="input_default" navindex="5" imemode="hangul" maxlength="100" style="left:620px; top:228px; width:231px; height:19px; "/>
  1575. <caption id="caption55" class="tit_2" style="left:310px; top:67px; width:144px; height:13px; ">예약/접수정보</caption>
  1576. <line id="line59" class="line_2" style="x1:860px; y1:717px; x2:1190px; y2:717px; "/>
  1577. <caption id="caption89" class="cell_1" style="left:492px; top:441px; width:70px; height:23px; vertical-align:middle; ">간암</caption>
  1578. <input id="input35" ref="/root/main/info/rsrvacptinfo/item/clntempid" navindex="39" imemode="hangul" style="left:385px; top:389px; width:105px; height:19px; "/>
  1579. <caption id="caption78" class="cell_1" style="left:492px; top:360px; width:70px; height:23px; vertical-align:middle; ">부서/계급</caption>
  1580. <caption id="caption67" class="cell_1" style="left:676px; top:254px; width:70px; height:23px; vertical-align:middle; ">영업소</caption>
  1581. <input id="input24" ref="/root/main/info/patinfo/item/hngnm" class="input_essential" navindex="1" imemode="hangul" style="left:385px; top:176px; width:105px; height:19px; ">
  1582. <script type="javascript" ev:event="onkeyup">
  1583. <![CDATA[
  1584. ]]>
  1585. </script>
  1586. </input>
  1587. <select1 id="prtgubun" ref="/root/send/prtgubun" class="combo_default" appearance="minimal" style="left:385px; top:725px; width:141px; height:19px; ">
  1588. <choices>
  1589. <item>
  1590. <label>기록지</label>
  1591. <value>1</value>
  1592. </item>
  1593. <item>
  1594. <label>문진표</label>
  1595. <value>2</value>
  1596. </item>
  1597. </choices>
  1598. </select1>
  1599. <line id="line49" class="line_3" style="x1:311px; y1:524px; x2:851px; y2:524px; "/>
  1600. <caption id="caption79" class="cell_1" style="left:676px; top:360px; width:70px; height:23px; vertical-align:middle; ">입사/병과</caption>
  1601. <input id="input36" ref="/root/main/info/rsrvacptinfo/item/entcodd" navindex="37" imemode="hangul" style="left:749px; top:362px; width:103px; height:19px; "/>
  1602. <caption id="caption68" class="cell_1" style="left:310px; top:306px; width:70px; height:23px; vertical-align:middle; ">직종구분</caption>
  1603. <input id="ipt_cmpycd" ref="/root/main/info/rsrvacptinfo/item/cmpycd" class="input_default" navindex="11" imemode="alpha" style="left:385px; top:254px; width:104px; height:19px; "/>
  1604. <line id="line38" class="line_3" style="x1:0px; y1:748px; x2:305px; y2:748px; "/>
  1605. <caption id="caption57" class="cell_1" style="left:310px; top:88px; width:55px; height:23px; vertical-align:middle; ">검진종류</caption>
  1606. <select1 id="combo31" ref="/root/main/info/rsrvacptinfo/item/EkgYN" class="combo_default" navindex="63" appearance="minimal" style="left:566px; top:470px; width:105px; height:19px; ">
  1607. <choices>
  1608. <item>
  1609. <label>대상</label>
  1610. <value>1</value>
  1611. </item>
  1612. <item>
  1613. <label>비대상</label>
  1614. <value>2</value>
  1615. </item>
  1616. </choices>
  1617. </select1>
  1618. <select1 id="combo20" ref="/root/main/info/rsrvacptinfo/item/plceflag" class="combo_default" navindex="41" appearance="minimal" style="left:566px; top:389px; width:105px; height:19px; ">
  1619. <choices>
  1620. <itemset nodeset="/root/init/baseinfo/plceflag/A0110">
  1621. <label ref="cdnm"/>
  1622. <value ref="cdid"/>
  1623. </itemset>
  1624. </choices>
  1625. </select1>
  1626. <caption id="caption69" class="cell_1" style="left:492px; top:279px; width:70px; height:23px; vertical-align:middle; ">직역구분</caption>
  1627. <caption id="caption58" class="cell_1" style="left:310px; top:200px; width:70px; height:23px; vertical-align:middle; ">성별/나이</caption>
  1628. <select1 id="combo32" ref="/root/main/info/rsrvacptinfo/item/pkguncocd" class="combo_default" appearance="minimal" style="left:655px; top:725px; width:196px; height:19px; ">
  1629. <choices>
  1630. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  1631. <label ref="nm"/>
  1632. <value ref="cd"/>
  1633. </itemset>
  1634. </choices>
  1635. <script type="javascript" ev:event="xforms-select">
  1636. <![CDATA[
  1637. /* var cnt = grd_addlst.rows ;
  1638. var i = 0;
  1639. var uncocd = "";
  1640. for( i = 1; i < cnt ; i++){
  1641. uncocd = grd_addlst.valueMatrix(i, 5);
  1642. if( ( uncocd == "") || (uncocd == "-" ) ){
  1643. grd_addlst.valueMatrix(i, 5) = cmb_pkguncocd.value ;
  1644. }
  1645. }
  1646. model.refresh(); */
  1647. ]]>
  1648. </script>
  1649. </select1>
  1650. <select1 id="combo21" class="combo_default" navindex="43" appearance="minimal" style="left:749px; top:389px; width:103px; height:19px; ">
  1651. <choices>
  1652. <itemset nodeset="/root/init/baseinfo/plceflag/A0110">
  1653. <label ref="cdnm"/>
  1654. <value ref="cdid"/>
  1655. </itemset>
  1656. </choices>
  1657. </select1>
  1658. <input id="input38" ref="/root/main/info/rsrvacptinfo/item/remcnts" class="input_essential" navindex="65" imemode="hangul" style="left:566px; top:497px; width:285px; height:19px; "/>
  1659. <caption id="caption59" class="cell_1" style="left:496px; top:176px; width:70px; height:23px; vertical-align:middle; ">주민번호</caption>
  1660. <select1 id="combo33" ref="/root/main/info/rsrvacptinfo/item/bizoffccd" navindex="13" appearance="minimal" style="left:749px; top:255px; width:103px; height:19px; ">
  1661. <choices>
  1662. <itemset nodeset="/root/init/baseinfo/cmpydetlcdlst/offclst">
  1663. <label ref="nm"/>
  1664. <value ref="cd"/>
  1665. </itemset>
  1666. </choices>
  1667. </select1>
  1668. <input id="input39" ref="/root/send/pkgcd" class="input_essential" style="left:860px; top:90px; width:85px; height:19px; ">
  1669. <script type="javascript" ev:event="onkeyup">
  1670. <![CDATA[
  1671. inputEnterKey("button1", "onclick");
  1672. ]]>
  1673. </script>
  1674. </input>
  1675. <select1 id="combo22" ref="/root/main/info/rsrvacptinfo/item/oraltestyn" class="combo_default" navindex="45" appearance="minimal" style="left:385px; top:416px; width:105px; height:19px; ">
  1676. <choices>
  1677. <item>
  1678. <label>대상</label>
  1679. <value>Y</value>
  1680. </item>
  1681. <item>
  1682. <label>비대상</label>
  1683. <value>N</value>
  1684. </item>
  1685. </choices>
  1686. </select1>
  1687. <input id="input28" ref="/root/main/info/rsrvacptinfo/item/acpt_insuid" class="input_essential" visibility="15" imemode="hangul" style="left:385px; top:281px; width:105px; height:19px; "/>
  1688. <select1 id="combo34" ref="/root/main/info/rsrvacptinfo/item/deptcd" navindex="35" appearance="minimal" style="left:566px; top:362px; width:105px; height:19px; ">
  1689. <choices>
  1690. <itemset nodeset="/root/init/baseinfo/cmpydetlcdlst/deptlst">
  1691. <label ref="nm"/>
  1692. <value ref="cd"/>
  1693. </itemset>
  1694. </choices>
  1695. </select1>
  1696. <select1 id="combo23" ref="/root/main/info/rsrvacptinfo/item/scndhptstrgtyn" class="combo_default" navindex="49" appearance="minimal" style="left:566px; top:416px; width:105px; height:19px; ">
  1697. <choices>
  1698. <item>
  1699. <label>대상</label>
  1700. <value>Y</value>
  1701. </item>
  1702. <item>
  1703. <label>비대상</label>
  1704. <value>N</value>
  1705. </item>
  1706. </choices>
  1707. </select1>
  1708. <input id="input29" ref="/root/main/info/patinfo/item/emailid" navindex="27" imemode="hangul" style="left:385px; top:335px; width:105px; height:19px; "/>
  1709. <button id="button11" class="icon_search" style="left:502px; top:229px; width:16px; height:16px; ">
  1710. <caption/>
  1711. <script type="javascript" ev:event="onclick">
  1712. <![CDATA[
  1713. ahafSetAddr(1, "/root/main/info/patinfo/item");
  1714. ]]>
  1715. </script>
  1716. </button>
  1717. <button id="button12" class="btn2_letter2" style="left:527px; top:725px; width:42px; height:19px; ">
  1718. <caption>출력</caption>
  1719. <script type="javascript" ev:event="onclick">
  1720. <![CDATA[
  1721. if (prtgubun.value =="1"){
  1722. fPrntChrt();
  1723. }
  1724. ]]>
  1725. </script>
  1726. </button>
  1727. <select1 id="combo24" ref="/root/main/info/rsrvacptinfo/item/stmccncrflag" class="combo_default" navindex="51" appearance="minimal" style="left:749px; top:416px; width:103px; height:19px; ">
  1728. <choices>
  1729. <item>
  1730. <label>combo1</label>
  1731. <value>combo1</value>
  1732. </item>
  1733. </choices>
  1734. </select1>
  1735. <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" class="input_essential" navindex="2" imemode="hangul" format="999999" style="left:569px; top:176px; width:51px; height:19px; ">
  1736. <script type="javascript" ev:event="onkeyup">
  1737. <![CDATA[
  1738. ]]>
  1739. </script>
  1740. </input>
  1741. <line id="line60" class="line_2" style="x1:860px; y1:723px; x2:1190px; y2:723px; "/>
  1742. <button id="button13" class="icon_search" style="left:950px; top:91px; width:16px; height:16px; ">
  1743. <caption/>
  1744. <script type="javascript" ev:event="onclick">
  1745. <![CDATA[
  1746. fGetPro();
  1747. ]]>
  1748. </script>
  1749. </button>
  1750. <select1 id="combo25" ref="/root/main/info/rsrvacptinfo/item/largeintescncrflag" class="combo_default" navindex="53" appearance="minimal" style="left:385px; top:443px; width:105px; height:19px; ">
  1751. <choices>
  1752. <item>
  1753. <label>combo1</label>
  1754. <value>combo1</value>
  1755. </item>
  1756. </choices>
  1757. </select1>
  1758. <caption id="caption90" class="cell_1" style="left:492px; top:495px; width:70px; height:23px; vertical-align:middle; ">특이사항</caption>
  1759. <button id="button14" class="icon_search" visibility="hidden" style="left:950px; top:666px; width:16px; height:16px; ">
  1760. <caption/>
  1761. <script type="javascript" ev:event="onclick">
  1762. <![CDATA[
  1763. model.makeValue("/root/send/srchpkgflag" , "");
  1764. model.makeValue("/root/send/srchhealexamflag" , "G");
  1765. model.makeValue("/root/send/srchcond" , "");
  1766. model.makeValue("/root/send/srchcdnm" , "");
  1767. if (model.getValue("/root/send/exmcd") == ""){
  1768. model.makeValue("/root/send/srchcond" , "");
  1769. model.makeValue("/root/send/srchcdnm" , "");
  1770. } else{
  1771. model.makeValue("/root/send/srchcond" , "cd");
  1772. model.makeValue("/root/send/srchcdnm" , model.getValue("/root/send/exmcd"));
  1773. }
  1774. if (model.getValue("/root/send/srchcond") == ""){
  1775. if (model.getValue("/root/send/exmnm") == ""){
  1776. model.makeValue("/root/send/srchcond" , "");
  1777. model.makeValue("/root/send/srchcdnm" , "");
  1778. } else{
  1779. model.makeValue("/root/send/srchcond" , "nm");
  1780. model.makeValue("/root/send/srchcdnm" , model.getValue("/root/send/exmnm"));
  1781. }
  1782. }
  1783. submit("TRAHA00109");
  1784. ]]>
  1785. </script>
  1786. </button>
  1787. <select1 id="combo26" ref="/root/main/info/rsrvacptinfo/item/livcncrtrgtyn" class="combo_default" navindex="55" appearance="minimal" style="left:566px; top:443px; width:105px; height:19px; ">
  1788. <choices>
  1789. <item>
  1790. <label>combo1</label>
  1791. <value>combo1</value>
  1792. </item>
  1793. </choices>
  1794. </select1>
  1795. <line id="line50" class="line_3" style="x1:311px; y1:524px; x2:570px; y2:524px; "/>
  1796. <caption id="caption91" class="cell_1" style="left:676px; top:468px; width:70px; height:23px; vertical-align:middle; ">할인계정</caption>
  1797. <caption id="caption80" class="cell_1" style="left:310px; top:387px; width:70px; height:23px; vertical-align:middle; ">사번/군번</caption>
  1798. <input id="ipt_brthdd" ref="/root/main/info/patinfo/item/brthdd" class="input_essential" navindex="5" visibility="hidden" imemode="alpha" style="left:560px; top:55px; width:55px; height:19px; ">
  1799. <script type="javascript" ev:event="xforms-value-changed">
  1800. <![CDATA[
  1801. if( (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno2")) > 6) && (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno1")) > 5) ){
  1802. //주민번호로 환자 검색
  1803. fSetBrthDD();
  1804. fGetPatInfo(1);
  1805. /*
  1806. fGetDetlInfoHid();
  1807. //직원정보관련 setting
  1808. fSetPsnWorkInfo();
  1809. model.makeValue("/root/main/info/rsrvacptinfo/item/choiflag",model.getValue("/root/main/info/patinfo/item/choiflag"));
  1810. */
  1811. model.refresh(); ;
  1812. }
  1813. ]]>
  1814. </script>
  1815. </input>
  1816. <input id="ipt_pid1" ref="/root/main/info/patinfo/item/pid" class="input_essential" navindex="5" visibility="hidden" imemode="hangul" style="left:505px; top:55px; width:55px; height:19px; ">
  1817. <script type="javascript" ev:event="xforms-value-changed">
  1818. <![CDATA[
  1819. if( (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno2")) > 6) && (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno1")) > 5) ){
  1820. //주민번호로 환자 검색
  1821. fSetBrthDD();
  1822. fGetPatInfo(1);
  1823. /*
  1824. fGetDetlInfoHid();
  1825. //직원정보관련 setting
  1826. fSetPsnWorkInfo();
  1827. model.makeValue("/root/main/info/rsrvacptinfo/item/choiflag",model.getValue("/root/main/info/patinfo/item/choiflag"));
  1828. */
  1829. model.refresh(); ;
  1830. }
  1831. ]]>
  1832. </script>
  1833. </input>
  1834. <input id="ipt_pnm" class="input_essential" navindex="5" visibility="hidden" imemode="hangul" style="left:450px; top:55px; width:55px; height:19px; ">
  1835. <script type="javascript" ev:event="xforms-value-changed">
  1836. <![CDATA[
  1837. if( (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno2")) > 6) && (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno1")) > 5) ){
  1838. //주민번호로 환자 검색
  1839. fSetBrthDD();
  1840. fGetPatInfo(1);
  1841. /*
  1842. fGetDetlInfoHid();
  1843. //직원정보관련 setting
  1844. fSetPsnWorkInfo();
  1845. model.makeValue("/root/main/info/rsrvacptinfo/item/choiflag",model.getValue("/root/main/info/patinfo/item/choiflag"));
  1846. */
  1847. model.refresh(); ;
  1848. }
  1849. ]]>
  1850. </script>
  1851. </input>
  1852. <button id="button1" class="btn_sw" group="tab" style="left:124px; top:59px; width:60px; height:22px; ">
  1853. <caption>접수</caption>
  1854. <script type="javascript" ev:event="DOMActivate">
  1855. <![CDATA[
  1856. model.toggle("case_acpt");
  1857. model.makeValue("/root/send/dgflag", "1" );
  1858. fGetList();
  1859. ]]>
  1860. </script>
  1861. </button>
  1862. <button id="btn_cncllst" class="btn_sw" group="tab" style="left:184px; top:59px; width:70px; height:22px; ">
  1863. <caption>2차검진</caption>
  1864. <script type="javascript" ev:event="DOMActivate">
  1865. <![CDATA[
  1866. model.toggle("case_cncl");
  1867. model.makeValue("/root/send/dgflag", "2" );
  1868. fGetList();
  1869. ]]>
  1870. </script>
  1871. </button>
  1872. <switch id="swt_acptlst" style="left:0px; top:82px; width:300px; height:660px; border-color:#c7a3cf; border-style:solid; ">
  1873. <case id="case_rsrv">
  1874. <datagrid id="grd_rsrvlst" nodeset="/root/main/list/rsrvlst" caption="성명^등록번호^나이/성별^사업체명^구분^예약일시^예약등록일자^최종수정자^최종수정일시^패키지명^rsrvno^engnm^hopedd^rgstno1^rgstno2^pkgcd^brthareacnts" colsep="^" colwidth="52, 56, 66, 65, 55, 90, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:285px; height:645px; ">
  1875. <col explorerbar="sortshow" ref="pnm"/>
  1876. <col explorerbar="sortshow" ref="pid"/>
  1877. <col ref="sexage"/>
  1878. <col explorerbar="sortshow" ref="cmpynm"/>
  1879. <col disabled="true" ref="statflag" type="combo">
  1880. <choices>
  1881. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  1882. <label ref="cdnm"/>
  1883. <value ref="cdid"/>
  1884. </itemset>
  1885. </choices>
  1886. </col>
  1887. <col ref="rsrvdttm" format="yyyy-mm-dd hh:nn"/>
  1888. <col ref="rsrvdd" format="yyyy-mm-dd"/>
  1889. <col ref="lastupdtrid"/>
  1890. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  1891. <col ref="pkgnm"/>
  1892. <col ref="rsrvno" visibility="hidden"/>
  1893. <col ref="engnm" visibility="hidden"/>
  1894. <col ref="hopedd" visibility="hidden"/>
  1895. <col ref="rgstno1" visibility="hidden"/>
  1896. <col ref="rgstno2" visibility="hidden"/>
  1897. <col ref="pkgcd" visibility="hidden"/>
  1898. <col ref="brthareacnts" visibility="hidden"/>
  1899. <script type="javascript" ev:event="ondblclick">
  1900. <![CDATA[
  1901. ahafGetRsrvAcptDetl(1);
  1902. ]]>
  1903. </script>
  1904. <script type="javascript" ev:event="oncopy">
  1905. <![CDATA[
  1906. grid_oncopy();
  1907. ]]>
  1908. </script>
  1909. <script type="javascript" ev:event="onaftersort">
  1910. <![CDATA[
  1911. grd_rsrvlst.gridToInstance();
  1912. ]]>
  1913. </script>
  1914. </datagrid>
  1915. </case>
  1916. <case id="case_rsrvent">
  1917. <datagrid id="grd_rsrventlst" nodeset="/root/main/list/rsrvlst" caption="성명^등록번호^나이/성별^사업체명^구분^예약일시^예약등록일자^최종수정자^최종수정일시^패키지명^rsrvno^engnm^hopped^rgstno1^rgstno2^pkgcd^brthareacnts" colsep="^" colwidth="52, 56, 66, 65, 55, 90, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:285px; height:645px; ">
  1918. <col ref="pnm"/>
  1919. <col ref="pid"/>
  1920. <col ref="sexage"/>
  1921. <col ref="cmpynm"/>
  1922. <col disabled="true" ref="statflag" type="combo">
  1923. <choices>
  1924. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  1925. <label ref="cdnm"/>
  1926. <value ref="cdid"/>
  1927. </itemset>
  1928. </choices>
  1929. </col>
  1930. <col ref="rsrvdttm" format="yyyy-mm-dd hh:nn"/>
  1931. <col ref="rsrvdd" format="yyyy-mm-dd"/>
  1932. <col ref="lastupdtrid"/>
  1933. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  1934. <col ref="pkgnm"/>
  1935. <col ref="rsrvno" visibility="hidden"/>
  1936. <col ref="engnm" visibility="hidden"/>
  1937. <col ref="hopedd" visibility="hidden"/>
  1938. <col ref="rgstno1" visibility="hidden"/>
  1939. <col ref="rgstno2" visibility="hidden"/>
  1940. <col ref="pkgcd" visibility="hidden"/>
  1941. <col ref="brthareacnts"/>
  1942. <script type="javascript" ev:event="ondblclick">
  1943. <![CDATA[
  1944. ahafGetRsrvAcptDetl(2);
  1945. ]]>
  1946. </script>
  1947. <script type="javascript" ev:event="oncopy">
  1948. <![CDATA[
  1949. grid_oncopy();
  1950. ]]>
  1951. </script>
  1952. </datagrid>
  1953. </case>
  1954. <case id="case_acpt" selected="true">
  1955. <datagrid id="grd_acptlst" nodeset="/root/main/list/acptlst" caption="성명^등록번호^나이/성별^접수구분^수납상태^사업체명^접수일시^최종수정자^최종수정일시^패키지명^rsrvdd^rsrvno^engnm^hopedd^rgstno1^rgstno2^pkgcd^brthareacnts" colsep="^" colwidth="52, 56, 66, 54, 56, 65, 68, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:285px; height:645px; ">
  1956. <col explorerbar="sortshow" ref="pnm"/>
  1957. <col explorerbar="sortshow" ref="pid"/>
  1958. <col ref="sexage"/>
  1959. <col disabled="true" ref="statflag" type="combo">
  1960. <choices>
  1961. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  1962. <label ref="cdnm"/>
  1963. <value ref="cdid"/>
  1964. </itemset>
  1965. </choices>
  1966. </col>
  1967. <col ref="rcptstatyn" type="combo">
  1968. <choices>
  1969. <item>
  1970. <label>수납</label>
  1971. <value>Y</value>
  1972. </item>
  1973. <item>
  1974. <label>미수납</label>
  1975. <value>N</value>
  1976. </item>
  1977. </choices>
  1978. </col>
  1979. <col explorerbar="sortshow" ref="cmpynm"/>
  1980. <col ref="rsrvdttm" format="yyyy-mm-dd hh:nn"/>
  1981. <col ref="lastupdtrid"/>
  1982. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  1983. <col ref="pkgnm"/>
  1984. <col ref="rsrvdd" visibility="hidden"/>
  1985. <col ref="rsrvno" visibility="hidden"/>
  1986. <col ref="engnm" visibility="hidden"/>
  1987. <col ref="hopedd" visibility="hidden"/>
  1988. <col ref="rgstno1" visibility="hidden"/>
  1989. <col ref="rgstno2" visibility="hidden"/>
  1990. <col ref="pkgcd" visibility="hidden"/>
  1991. <col ref="brthareacnts" visibility="hidden"/>
  1992. <script type="javascript" ev:event="ondblclick">
  1993. <![CDATA[
  1994. datagrid6.removeRow(false);
  1995. model.makeNode("/root/main/info/judgone");
  1996. ahafGetRsrvAcptDetl(3);
  1997. datagrid6.rebuild();
  1998. ]]>
  1999. </script>
  2000. <script type="javascript" ev:event="oncopy">
  2001. <![CDATA[
  2002. grid_oncopy();
  2003. ]]>
  2004. </script>
  2005. <script type="javascript" ev:event="onaftersort">
  2006. <![CDATA[
  2007. grd_acptlst.gridToInstance();
  2008. ]]>
  2009. </script>
  2010. </datagrid>
  2011. </case>
  2012. <case id="case_cncl">
  2013. <datagrid id="grd_cncllst" nodeset="/root/main/list/cncllst" caption="성명^등록번호^나이/성별^사업체명^취소시간^구분^최종수정자^최종수정일시^패키지명^rsrvdd^rsrvno^engnm^hopedd^rgstno1^rgstno2^pkgcd^brthareacnts" colsep="^" colwidth="69, 68, 66, 100, 78, 59, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:285px; height:645px; ">
  2014. <col ref="pnm"/>
  2015. <col ref="pid"/>
  2016. <col ref="sexage"/>
  2017. <col ref="cmpynm"/>
  2018. <col ref="cncldttm" format="yyyy-mm-dd hh:nn"/>
  2019. <col ref="statflag" type="combo">
  2020. <choices>
  2021. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  2022. <label ref="cdnm"/>
  2023. <value ref="cdid"/>
  2024. </itemset>
  2025. </choices>
  2026. </col>
  2027. <col ref="lastupdtrid"/>
  2028. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  2029. <col ref="pkgnm"/>
  2030. <col ref="rsrvdd"/>
  2031. <col ref="rsrvno"/>
  2032. <col ref="engnm"/>
  2033. <col ref="hopedd"/>
  2034. <col ref="rgstno1"/>
  2035. <col ref="rgstno2"/>
  2036. <col ref="pkgcd"/>
  2037. <col ref="brthareacnts"/>
  2038. <script type="javascript" ev:event="ondblclick">
  2039. <![CDATA[
  2040. datagrid6.removeRow(false);
  2041. model.makeNode("/root/main/info/judgone");
  2042. ahafGetRsrvAcptDetl(4);
  2043. datagrid6.rebuild();
  2044. ]]>
  2045. </script>
  2046. <script type="javascript" ev:event="oncopy">
  2047. <![CDATA[
  2048. grid_oncopy();
  2049. ]]>
  2050. </script>
  2051. </datagrid>
  2052. </case>
  2053. </switch>
  2054. <button id="btn_rsrventlst" class="btn_sw" group="tab" selected="true" style="left:60px; top:59px; width:65px; height:22px; ">
  2055. <caption>예약등록</caption>
  2056. <script type="javascript" ev:event="DOMActivate">
  2057. <![CDATA[
  2058. model.toggle("case_rsrvent");
  2059. fGetList();
  2060. ]]>
  2061. </script>
  2062. </button>
  2063. <button id="btn_rsrvlst" class="btn_sw" group="tab" selected="true" style="left:0px; top:59px; width:60px; height:22px; ">
  2064. <caption>예약</caption>
  2065. <script type="javascript" ev:event="DOMActivate">
  2066. <![CDATA[
  2067. model.toggle("case_rsrv");
  2068. fGetList();
  2069. ]]>
  2070. </script>
  2071. </button>
  2072. <button id="btn_tag" class="btn2_letter6" visibility="hidden" style="left:620px; top:55px; width:86px; height:19px; ">
  2073. <caption>수진자격조회</caption>
  2074. <script type="javascript" ev:event="onclick">
  2075. <![CDATA[
  2076. ]]>
  2077. </script>
  2078. </button>
  2079. <caption id="cap_rsrvtm" class="cell_1" style="left:651px; top:145px; width:70px; height:23px; vertical-align:middle; ">예약시간</caption>
  2080. <input id="ipt_rsrvtm" ref="/root/main/info/rsrvacptinfo/item/rsrvtm" class="input_default" disabled="true" format="hh:nn" style="left:724px; top:147px; width:56px; height:19px; ">
  2081. <script type="javascript" ev:event="onkeyup">
  2082. <![CDATA[
  2083. fMoveFocus("ipt_pnm");
  2084. ]]>
  2085. </script>
  2086. </input>
  2087. <caption id="cap_orddd" class="cell_1" style="left:310px; top:145px; width:70px; height:23px; vertical-align:middle; ">접수일자</caption>
  2088. <caption id="caption2" class="cell_1" style="left:490px; top:145px; width:70px; height:23px; vertical-align:middle; ">예약일자</caption>
  2089. <input id="ipt_orddd" ref="/root/main/info/rsrvacptinfo/item/orddd" class="input_essential" disabled="true" inputtype="date" style="left:388px; top:147px; width:98px; height:19px; ">
  2090. <script type="javascript" ev:event="onkeyup">
  2091. <![CDATA[
  2092. fMoveFocus("ipt_rsrvdd");
  2093. ]]>
  2094. </script>
  2095. </input>
  2096. <input id="ipt_rsrvdd" ref="/root/main/info/rsrvacptinfo/item/hopedd" class="input_essential" disabled="true" inputtype="date" style="left:561px; top:147px; width:87px; height:19px; ">
  2097. <script type="javascript" ev:event="onkeyup">
  2098. <![CDATA[
  2099. fMoveFocus("ipt_rsrvtm");
  2100. ]]>
  2101. </script>
  2102. </input>
  2103. <button id="btn_totrsrvdt" class="btn2_letter4" style="left:785px; top:147px; width:64px; height:19px; ">
  2104. <caption>예약시간</caption>
  2105. <script type="javascript" ev:event="DOMActivate">
  2106. <![CDATA[
  2107. //예약시간선택 버튼 클릭시 성별이없으면 조회 조건이 맞지 않아 예약인원이 정상적으로 나오지 않으므로 주민번호 입력유도
  2108. var chk = model.getValue("/root/main/info/patinfo/item/sex");
  2109. if(chk == ""){
  2110. messageBox("주민번호를 ", "C001");
  2111. return false;
  2112. }else{
  2113. fGetRsrvDateTime("T", ipt_rsrvdd , ipt_rsrvtm);
  2114. }
  2115. ]]>
  2116. </script>
  2117. </button>
  2118. <caption id="caption1" class="cell_1" style="left:311px; top:494px; width:70px; height:23px; vertical-align:middle; ">PKG</caption>
  2119. <input id="ipt_pkgcd" ref="/root/main/info/rsrvacptinfo/item/pkgnm" navindex="31" imemode="hangul" style="left:385px; top:496px; width:105px; height:19px; "/>
  2120. <select1 id="cmb_brthareacnts" visibility="hidden" appearance="minimal" style="left:265px; top:50px; width:100px; height:20px; ">
  2121. <choices>
  2122. <item>
  2123. <label>combo1</label>
  2124. <value>combo1</value>
  2125. </item>
  2126. </choices>
  2127. </select1>
  2128. <button id="btn_savepatinfo" class="btn5_letter6" visibility="visible" style="left:1090px; top:50px; width:86px; height:19px; ">
  2129. <caption>인적사항저장</caption>
  2130. <script type="javascript" ev:event="DOMActivate">
  2131. <![CDATA[
  2132. var chkpid = model.getValue("/root/main/info/patinfo/item/pid");
  2133. if(chkpid == ""){ messageBox("등록번호가 없으므로 인적사항을 저장", "E001"); return false;
  2134. }else{
  2135. if( messageBox("건진자 인적사항을 ", "Q002") == 6 ) {
  2136. fSavePatInfo("N");
  2137. }
  2138. }//else end
  2139. ]]>
  2140. </script>
  2141. </button>
  2142. <button id="btn_saversrvinfo" class="btn5_letter6" visibility="visible" style="left:995px; top:50px; width:86px; height:19px; ">
  2143. <caption>예약정보저장</caption>
  2144. <script type="javascript" ev:event="DOMActivate">
  2145. <![CDATA[
  2146. fSaveRsrvInfo();
  2147. ]]>
  2148. </script>
  2149. </button>
  2150. <caption id="caption3" class="cell_1" style="left:705px; top:175px; width:70px; height:23px; vertical-align:middle; ">등록번호</caption>
  2151. <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" class="input_essential" navindex="4" imemode="hangul" style="left:780px; top:175px; width:71px; height:19px; ">
  2152. <script type="javascript" ev:event="onkeyup">
  2153. <![CDATA[
  2154. if( event.keyCode == 13) {
  2155. fGetPatInfo(2);
  2156. fGetDetlInfoHid();
  2157. // fDcAmtCalc();
  2158. }
  2159. ]]>
  2160. </script>
  2161. </input>
  2162. <select1 id="cmb_healexamdetlflag" visibility="hidden" appearance="minimal" style="left:755px; top:55px; width:100px; height:20px; ">
  2163. <choices>
  2164. <item>
  2165. <label>combo1</label>
  2166. <value>combo1</value>
  2167. </item>
  2168. </choices>
  2169. </select1>
  2170. <output id="opt_realamt" ref="/root/main/info/rcptinfo/realamt" class="font_pid" visibility="hidden" format="(-,+)#,###" style="left:744px; top:640px; width:82px; height:65px; text-align:right; vertical-align:bottom; "/>
  2171. </xhtml:body>
  2172. </xhtml:html>