SMPID20400_외래사후심사대상자조회.xrw 119 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SMPID20400_외래사후심사대상자조회.xrw
  4. * 수정이력
  5. * - 2007.07.11 / 최초작성 / 정주미
  6. * - opener 에서 전달받는 조건 경로
  7. opener.root.hidden.smpid20400.cond.pid
  8. * - opener 로 전달하는 결과값 경로
  9. opener.root.hidden.smpid20400.rslt.clamkey
  10. opener.root.hidden.smpid20400.rslt.selectedRow
  11. opener.root.hidden.smpid20400.rslt.oldPid
  12. * - opener 로 호출하는 메소드
  13. fGetOutAftJudgMngt()
  14. -->
  15. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  16. <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">
  17. <xhtml:head>
  18. <xhtml:title>외래사후심사대상자조회</xhtml:title>
  19. <model id="model1">
  20. <instance id="instance1">
  21. <root xmlns="">
  22. <main>
  23. <list1>
  24. <clbs/>
  25. </list1>
  26. <!-- SPPMC02500_환자조회 화면에서 선택된 검색결과를 받는 경로임 -->
  27. <patinfo>
  28. <patinfolist/>
  29. </patinfo>
  30. <popupendflag/>
  31. <list2>
  32. <judgcnt/>
  33. </list2>
  34. </main>
  35. <send>
  36. <item1>
  37. <ioflag/>
  38. <clamym/>
  39. <clamdg/>
  40. <ordfildcd/>
  41. <clamflagcd/>
  42. <judgendyn/>
  43. <insukindcd/>
  44. <suppkindcd/>
  45. <clamdeptcd/>
  46. <acptno/>
  47. <docuseqno1/>
  48. <docuseqno2/>
  49. <patunitsrch1/>
  50. <patunitsrch2/>
  51. <judgrid/>
  52. <orddrid/>
  53. <totordamt/>
  54. <cmbtotordamt>2</cmbtotordamt>
  55. <ownbamt/>
  56. <cmbownbamt>3</cmbownbamt>
  57. <choicdsrch1>4</choicdsrch1>
  58. <choicdsrch2/>
  59. <chkspcljudg/>
  60. <chkcncr/>
  61. <chkcrf/>
  62. <chkhomecare/>
  63. <chkoneover/>
  64. <chkonetimesover/>
  65. <chktrnpt/>
  66. <chkretdocu/>
  67. <lastclamym/>
  68. <lastclamdg/>
  69. <lastjudgno/>
  70. <lastpid/>
  71. <lastpidsn/>
  72. <lastordcd/>
  73. <lastclamkey/>
  74. <lastedilnno/>
  75. <orddeptcd/>
  76. <diagcdfr/>
  77. <diagcdto/>
  78. <spclmark/>
  79. <surecd/>
  80. <patmode/>
  81. <inoutflag/>
  82. <drugcnt/>
  83. <aftjudgerrid>00</aftjudgerrid>
  84. <allcnt/>
  85. <cutprcp/>
  86. <cutviewyn/>
  87. <cutprcpsel/>
  88. <chkerdeptyn/>
  89. <selpiduseyn/>
  90. <chktwoday/>
  91. <mpsnouseyn/>
  92. <clamsameyn/>
  93. <srchcnt>500</srchcnt>
  94. <diagcdall/>
  95. <virusb/>
  96. <insucmno/>
  97. <clamtoym/>
  98. </item1>
  99. <list1>
  100. <clbs>
  101. <clamym/>
  102. <clamdg/>
  103. <pid/>
  104. <pidsn/>
  105. <judgendyn/>
  106. </clbs>
  107. </list1>
  108. <item2/>
  109. <item3/>
  110. <listval>
  111. <uuee>
  112. <flag/>
  113. <scrnid/>
  114. <compsnm/>
  115. <compscnts/>
  116. <compsrefcnts/>
  117. <compssizecnts/>
  118. </uuee>
  119. </listval>
  120. <item4>
  121. <clbs>
  122. <clamym/>
  123. <clamdg/>
  124. <pid/>
  125. <pidsn/>
  126. <clamkey/>
  127. <ioflag/>
  128. <instcd/>
  129. </clbs>
  130. </item4>
  131. <item5>
  132. <judgid/>
  133. </item5>
  134. <item6>
  135. <clbs>
  136. <clamym/>
  137. <clamdg>0</clamdg>
  138. <clamfromdd/>
  139. <clamtodd/>
  140. <insutype/>
  141. <ordfildcd/>
  142. <clamflag/>
  143. <predata/>
  144. <ownb100/>
  145. <datacretflag/>
  146. <pid/>
  147. <name/>
  148. <orddeptcd/>
  149. <weekflag>S</weekflag>
  150. <chk/>
  151. <ioflag/>
  152. </clbs>
  153. </item6>
  154. <item7>
  155. <vall/>
  156. </item7>
  157. <saveclsp/>
  158. </send>
  159. <init>
  160. <listval>
  161. <uuee>
  162. <scrnid/>
  163. <compsnm/>
  164. <compscnts/>
  165. <compsrefcnts/>
  166. <compssizecnts/>
  167. </uuee>
  168. </listval>
  169. <!-- 보험유형 -->
  170. <P0008list>
  171. <P0008>
  172. <cdnm/>
  173. <cdid/>
  174. <cdnm>보험+급여</cdnm>
  175. <cdid>1</cdid>
  176. <cdnm>급여전체</cdnm>
  177. <cdid>2</cdid>
  178. </P0008>
  179. </P0008list>
  180. <!-- 보조유형 -->
  181. <P0010list>
  182. <P0010>
  183. <cdnm/>
  184. <cdid/>
  185. </P0010>
  186. </P0010list>
  187. <!-- 심사상태 / 심사완료여부 -->
  188. <P0151list>
  189. <P0151>
  190. <cdengabbrnm/>
  191. <cdnm/>
  192. <cdid/>
  193. </P0151>
  194. </P0151list>
  195. <!-- 청구분야(진료분야) -->
  196. <P0291list>
  197. <P0291>
  198. <cdnm/>
  199. <cdid/>
  200. </P0291>
  201. </P0291list>
  202. <!-- 명세서구분코드(청구구분) -->
  203. <P0428list>
  204. <P0428>
  205. <cdnm/>
  206. <cdid/>
  207. </P0428>
  208. </P0428list>
  209. <!-- 특정기호코드 -->
  210. <P0319list>
  211. <P0319>
  212. <cdnm/>
  213. <cdid/>
  214. </P0319>
  215. </P0319list>
  216. <!-- 청구구분 -->
  217. <P0155list>
  218. <P0155>
  219. <cdengabbrnm/>
  220. <cdnm/>
  221. <cdid/>
  222. </P0155>
  223. </P0155list>
  224. <!-- 청구완료여무(명세서상태) -->
  225. <P0430list>
  226. <P0430>
  227. <cdnm/>
  228. <cdid/>
  229. </P0430>
  230. </P0430list>
  231. <P0486list>
  232. <P0486>
  233. <cdnm/>
  234. <cdid/>
  235. </P0486>
  236. </P0486list>
  237. <P0201sublist/>
  238. <PK032list>
  239. <PK032>
  240. <cdnm/>
  241. <cdid/>
  242. </PK032>
  243. </PK032list>
  244. </init>
  245. <hidden>
  246. <clbs>
  247. <judgendyn/>
  248. <totcnt/>
  249. <endcnt/>
  250. <unjudgcnt/>
  251. <retecnt/>
  252. <autodelcnt/>
  253. <delcnt/>
  254. <judgprcscnt/>
  255. <rptclamcnt/>
  256. <basedd/>
  257. <judgmemo/>
  258. <srchmode/>
  259. </clbs>
  260. <sppmc02500>
  261. <cond>
  262. <!-- SPPMC02500_환자조회 화면으로 검색조건을 보내는 경로임 -->
  263. <srchcond/>
  264. <pid/>
  265. <hngnm/>
  266. <rrgstno1/>
  267. <rrgstno2/>
  268. </cond>
  269. </sppmc02500>
  270. <smpic00200>
  271. <judgsrch>
  272. <con1_dd/>
  273. <con2_gsflag/>
  274. <con3_search1/>
  275. <con4_search2/>
  276. <con5_insu/>
  277. <con6_calcscorcd/>
  278. <con7_todd/>
  279. <con8_instcd/>
  280. </judgsrch>
  281. <rslt>
  282. <engnm/>
  283. <hngnm/>
  284. <calcscorcd/>
  285. <insuedicd/>
  286. <procedicd/>
  287. <inducsedicd/>
  288. <autmbedicd/>
  289. </rslt>
  290. </smpic00200>
  291. <sppiz00900>
  292. <cond>
  293. <judgrid/>
  294. </cond>
  295. <rslt/>
  296. </sppiz00900>
  297. <sppiz00400>
  298. <cond>
  299. <!-- 상병코드 Grid '상병코드' 컬럼 에서 SPPIZ00400_상병코드조회 에 전달하기 위한 조건 값 -->
  300. <basedd/>
  301. <diagcd/>
  302. <diagnm/>
  303. <selectedrdodiagkind/>
  304. </cond>
  305. <rslt>
  306. <diagcd/>
  307. <diaghngnm/>
  308. <diagengnm/>
  309. </rslt>
  310. </sppiz00400>
  311. <sppiz01400>
  312. <cond>
  313. <srchcond/>
  314. </cond>
  315. <rslt>
  316. <spclcd/>
  317. <cdnm/>
  318. <spclspec/>
  319. <spclformat/>
  320. <detldesc/>
  321. </rslt>
  322. </sppiz01400>
  323. <smpid20600>
  324. <cond>
  325. <makeflag/>
  326. <copyflag/>
  327. <ioflag/>
  328. <clamym/>
  329. <clamdg/>
  330. <pid/>
  331. <pidsn/>
  332. <t_clamym/>
  333. <t_clamdg/>
  334. <t_clamflagcd/>
  335. </cond>
  336. <rslt>
  337. </rslt>
  338. </smpid20600>
  339. <smpid22200>
  340. <cond>
  341. <ioflag/>
  342. <clamym/>
  343. <clamdg/>
  344. <pid/>
  345. <pidsn/>
  346. </cond>
  347. <rslt>
  348. </rslt>
  349. </smpid22200>
  350. <smpid23200>
  351. <cond>
  352. <ioflag/>
  353. <clamym/>
  354. <clamdg/>
  355. <pid/>
  356. <pidsn/>
  357. <patnm/>
  358. <insukind/>
  359. <suppkind/>
  360. <orddeptcd/>
  361. </cond>
  362. <rslt>
  363. </rslt>
  364. </smpid23200>
  365. <smpid23000>
  366. <cond>
  367. <ioflag/>
  368. <clamym/>
  369. <clamdg/>
  370. <pid/>
  371. <pidsn/>
  372. </cond>
  373. <rslt>
  374. </rslt>
  375. </smpid23000>
  376. <smpis00400>
  377. <cond>
  378. <pid/>
  379. <clamymfrom/>
  380. <clamymto/>
  381. <ioflag/>
  382. <insukind/>
  383. <orddeptcd/>
  384. <diagcond/>
  385. <diagcdfr/>
  386. <diagcdto/>
  387. </cond>
  388. <rslt>
  389. </rslt>
  390. </smpis00400>
  391. <smpis00600>
  392. <cond>
  393. <patunitsrch/>
  394. <clamymfrom/>
  395. <clamdgfrom/>
  396. <clamflag/>
  397. <ioflag/>
  398. <insukind/>
  399. <clamdeptid/>
  400. <orddeptcd/>
  401. <orddrid/>
  402. <codecond/>
  403. <code/>
  404. <clamym/>
  405. </cond>
  406. <rslt>
  407. </rslt>
  408. </smpis00600>
  409. <smpis00500>
  410. <cond>
  411. <patunitsrch/>
  412. <datecond/>
  413. <fromdd/>
  414. <todd/>
  415. <ioflag/>
  416. <orddeptcd/>
  417. <orddrid/>
  418. <codecond/>
  419. <code/>
  420. </cond>
  421. <rslt>
  422. </rslt>
  423. </smpis00500>
  424. <item1/>
  425. <item2>
  426. <ioflag>O</ioflag>
  427. </item2>
  428. <item3>
  429. <judgidyn/>
  430. </item3>
  431. <item_all>
  432. <clamym/>
  433. <ioflag/>
  434. <judgid/>
  435. <ordflag>J</ordflag>
  436. <clamtoym/>
  437. </item_all>
  438. <list1>
  439. <clbs/>
  440. </list1>
  441. <sppiz00200>
  442. <cond>
  443. <clsp>
  444. <spclcd/>
  445. <seqno/>
  446. <spclspec/>
  447. <rowstat/>
  448. </clsp>
  449. </cond>
  450. <rslt>
  451. <clsp>
  452. <unitflag/>
  453. <spclcd/>
  454. <seqno/>
  455. <calcscorcd/>
  456. <spclspec/>
  457. <rowstat/>
  458. </clsp>
  459. </rslt>
  460. </sppiz00200>
  461. </hidden>
  462. <popupdata>
  463. <popupmenu>
  464. <gridspecclbs>
  465. <item>
  466. <name>결과조회</name>
  467. <func>pidfOrderRsltSrch2</func>
  468. </item>
  469. </gridspecclbs>
  470. <gridclbs>
  471. <item>
  472. <name>명세서 합철</name>
  473. <func>pidfDocuMerge</func>
  474. </item>
  475. <item>
  476. <name>명세서 복사</name>
  477. <func>pidfDocuCopy</func>
  478. </item>
  479. <item>
  480. <name>명세서 이동</name>
  481. <func>pidfDocuMove</func>
  482. </item>
  483. <!--
  484. <item>
  485. <name>명세서 처방이동</name>
  486. <func>pidfDocuOrderMove</func>
  487. </item>
  488. !-->
  489. <item>
  490. <name>명세서처방 이동/복사</name>
  491. <func>pidfDocuCopyMove</func>
  492. </item>
  493. <item>
  494. <name>-</name>
  495. <func/>
  496. </item>
  497. <item>
  498. <name>명세서 추가청구</name>
  499. <func>pidfDocuAddClam</func>
  500. </item>
  501. <item>
  502. <name>명세서 자격수정</name>
  503. <func>pidfDocuChange</func>
  504. </item>
  505. <item>
  506. <name>공여자명세서 생성</name>
  507. <func>pidfDocuDonor</func>
  508. </item>
  509. <item>
  510. <name>-</name>
  511. <func/>
  512. </item>
  513. <item>
  514. <name>심사자변경</name>
  515. <func>pidfJudgridChange</func>
  516. </item>
  517. <item>
  518. <name>-</name>
  519. <func/>
  520. </item>
  521. <item>
  522. <name>결과조회</name>
  523. <func>pidfOrderRsltSrch</func>
  524. </item>
  525. <item>
  526. <name>약제누적조회</name>
  527. <func>fGetDurginfo</func>
  528. </item>
  529. <item>
  530. <name>진료정보조회</name>
  531. <func>fGetEmrInformation</func>
  532. </item>
  533. <item>
  534. <name>통합기록전체조회</name>
  535. <func>fGetAllEmrInformation</func>
  536. </item>
  537. <item>
  538. <name>항암제투여현황조회</name>
  539. <func>fMOpenSMPIJ02900</func>
  540. </item>
  541. <item>
  542. <name>-</name>
  543. <func/>
  544. </item>
  545. <item>
  546. <name>전체선택</name>
  547. <func>fsetAllClbslist</func>
  548. </item>
  549. <item>
  550. <name>-</name>
  551. <func/>
  552. </item>
  553. <item>
  554. <name>일괄소명자료입력</name>
  555. <func>fsetAllClsplist</func>
  556. </item>
  557. <item>
  558. <name>일괄소명자료삭제</name>
  559. <func>fdelAllClsplist</func>
  560. </item>
  561. <item>
  562. <name>-</name>
  563. <func/>
  564. </item>
  565. <item>
  566. <name>유형변경등록</name>
  567. <func>fInsKindUpdtTrgtList</func>
  568. </item>
  569. </gridclbs>
  570. </popupmenu>
  571. </popupdata>
  572. <temp>
  573. <tootpopupyn/>
  574. <optlist>
  575. <allcnt/>
  576. <allend/>
  577. <allunjudg/>
  578. <allreservation/>
  579. <alldelete/>
  580. <alljudgprcs/>
  581. <autodelete/>
  582. <beforeend/>
  583. <batchend/>
  584. <batchunjudg/>
  585. <batchreservation/>
  586. </optlist>
  587. <reloadyn/>
  588. </temp>
  589. </root>
  590. </instance>
  591. <bind id="bind_clbsmemo" ref="/root/main/list1/clbs/judgmemo" readonly="../pid != ''"/>
  592. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  593. <submission id="TRPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/item_all" resultref="/root/init/tmp"/>
  594. <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/item2/ioflag" resultref="root/hidden/tmp"/>
  595. <submission id="TRPID20401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" replace="instance" resultref="/root/hidden/tmp"/>
  596. <submission id="TRPID20402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" add="bottom" resultref="/root/main/list1/clbs"/>
  597. <submission id="TRPID20404" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send/item5" resultref="root/hidden/item3"/>
  598. <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" resultref="/root/init/clamdg"/>
  599. <submission id="TRPID21602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/init/listval"/>
  600. <submission id="TRPID20408" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1" add="bottom" resultref="/root/main/list2/judgcnt"/>
  601. <!-- 생성삭제 -->
  602. <submission id="TXPID10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item6/clbs" replace="instance" resultref="/root/hidden/item1/result"/>
  603. <submission id="TXPID21601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/listval" resultref="/root/init/listval"/>
  604. <submission id="TXPID20201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item2/clsp"/>
  605. <submission id="TXPID20302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/list1/endclbs"/>
  606. <submission id="TXPID20303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item4/clbs" resultref="/root/tmp/tmp"/>
  607. <submission id="TXPID20308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/saveclsp" resultref="/root/tmp/tmp"/>
  608. <submission id="TXPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/saveclsp" resultref="/root/tmp/tmp"/>
  609. <script type="javascript" ev:event="xforms-model-construct-done">
  610. <![CDATA[
  611. fInitialize(); // 화면을 초기화한다.
  612. fCheckAuth(); // 화면 권한을 설정한다..
  613. model.setfocus("ipt_clamym");
  614. ]]>
  615. </script>
  616. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  617. </model>
  618. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  619. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  620. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  621. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  622. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  623. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  624. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  625. <script type="javascript" src="../../../pam/aftjudgweb/js/SMPID20000.js"/>
  626. <script type="javascript" src="../../../pam/aftjudgweb/js/SMPID20400.js"/>
  627. <script type="javascript" src="../../../pam/insucomweb/js/PAM.js"/>
  628. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  629. <script type="javascript" src="../../../com/commonweb/js/tfHelperAsync.js"/>
  630. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  631. <script type="javascript">
  632. <![CDATA[
  633. ]]>
  634. </script>
  635. </xhtml:head>
  636. <xhtml:body pagewidth="1210" pageheight="810" guideline="1,1210;2,824;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  637. <group id="grp_tle" style="left:0px; top:0px; width:1190px; height:13px; ">
  638. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:163px; height:13px; ">외래사후심사대상자 조회</caption>
  639. </group>
  640. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1190px; height:795px; ">
  641. <datagrid id="grd_specclbs" nodeset="/root/main/list1/clbs" class="datagrid2" caption="명일련^청구&#xA;구분^진료과^등록번호^순&#xA;번^환자명^성&#xA;별^나이^보험&#xA;유형^보조&#xA;유형^요율^주상병^특정&#xA;기호^처방코드^처방명^급&#xA;비^수량^일&#xA;수^총진료비^처방일자^실시일자^예약시간^Stage^메모^진료의^심사자^최종&#xA;심사자^심사상태^선별^clamkey^lockyn" colsep="^" colwidth="52, 35, 43, 66, 20, 43, 20, 30, 30, 30, 30, 85, 39, 70, 90, 28, 43, 20, 70, 70, 68, 76, 55, 42, 42, 42, 62, 65, 50, 60, 60, 80, 80, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" frozencols="4" mergecellsfixedcols="bycol" mergecellsfixedrows="bycol" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:205px; width:1190px; height:520px; ">
  642. <col ref="docuseqno" style="text-align:right; "/>
  643. <col disabled="true" ref="clamflagcd" type="combo" style="text-align:center; ">
  644. <choices>
  645. <itemset nodeset="/root/init/P0155list/P0155">
  646. <label ref="cdengabbrnm"/>
  647. <value ref="cdid"/>
  648. </itemset>
  649. </choices>
  650. </col>
  651. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
  652. <choices>
  653. <itemset nodeset="/root/init/orddeptcd2/orddeptcdlist">
  654. <label ref="deptengabbr"/>
  655. <value ref="cd"/>
  656. </itemset>
  657. </choices>
  658. </col>
  659. <col ref="pid"/>
  660. <col ref="pidsn" style="text-align:center; "/>
  661. <col ref="patnm" style="text-align:center; "/>
  662. <col ref="gender" style="text-align:center; "/>
  663. <col ref="patage" style="text-align:center; "/>
  664. <col ref="insukindcd" style="text-align:center; "/>
  665. <col ref="suppkindcd" style="text-align:center; "/>
  666. <col ref="payownbrate" style="text-align:center; "/>
  667. <col ref="diagnm" style="text-align:left; "/>
  668. <col ref="spclmark" style="text-align:center; "/>
  669. <col ref="ordcd"/>
  670. <col ref="ordnm"/>
  671. <col disabled="true" ref="payflag" type="combo" style="text-align:center; ">
  672. <choices>
  673. <item>
  674. <label>급</label>
  675. <value>0</value>
  676. </item>
  677. <item>
  678. <label>100</label>
  679. <value>1</value>
  680. </item>
  681. <item>
  682. <label>비</label>
  683. <value>2</value>
  684. </item>
  685. <item>
  686. <label>선</label>
  687. <value>8</value>
  688. </item>
  689. <item>
  690. <label>선</label>
  691. <value>9</value>
  692. </item>
  693. </choices>
  694. </col>
  695. <col ref="drugqtytims" format="#,###.00" maxlength="12.2" style="text-align:right; "/>
  696. <col ref="dayno" style="text-align:right; "/>
  697. <col ref="totordamt" format="#,###" style="text-align:right; "/>
  698. <col ref="orddd" format="yyyy-mm-dd"/>
  699. <col ref="ordfromdd" format="yyyy-mm-dd"/>
  700. <col ref="rsrvdt" format="yyyy-mm-dd hh:nn"/>
  701. <col ref="stage" style="text-align:left; "/>
  702. <col ref="judgmemo" type="inputbutton"/>
  703. <col disabled="true" ref="orddrid" type="combo">
  704. <choices>
  705. <itemset nodeset="/root/init/orddrid/orddridlist">
  706. <label ref="nm"/>
  707. <value ref="cd"/>
  708. </itemset>
  709. </choices>
  710. </col>
  711. <col disabled="true" ref="judgrid" type="combo" style="text-align:center; ">
  712. <choices>
  713. <itemset nodeset="/root/init/judgrid/judgridlist">
  714. <label ref="nm"/>
  715. <value ref="cd"/>
  716. </itemset>
  717. </choices>
  718. </col>
  719. <col disabled="true" ref="lastupdtrid" type="combo" style="text-align:center; ">
  720. <choices>
  721. <itemset nodeset="/root/init/judgrid/judgridlist">
  722. <label ref="nm"/>
  723. <value ref="cd"/>
  724. </itemset>
  725. </choices>
  726. </col>
  727. <col disabled="true" ref="judgendyn" type="combo" style="text-align:center; ">
  728. <choices>
  729. <itemset nodeset="/root/init/P0151list/P0151">
  730. <label ref="cdengabbrnm"/>
  731. <value ref="cdid"/>
  732. </itemset>
  733. </choices>
  734. </col>
  735. <col ref="spcljudgyn"/>
  736. <col ref="clamkey" visibility="hidden" style="background-color:#c0c0c0; "/>
  737. <col ref="lockyn" visibility="hidden" style="background-color:#c0c0c0; "/>
  738. <col ref="clamym" visibility="hidden" style="background-color:#c0c0c0; "/>
  739. <col ref="clamdg" visibility="hidden" style="background-color:#c0c0c0; "/>
  740. <col ref="ordtodd" visibility="hidden" style="background-color:#c0c0c0; "/>
  741. <col ref="ordfildcd" visibility="hidden" style="background-color:#c0c0c0; "/>
  742. <script type="javascript" ev:event="onmousedown">
  743. <![CDATA[
  744. if (event.button == 3) { // 3 : 오른쪽 버튼
  745. setPopupMenu("grd_specclbs", false, "/root/popupdata/popupmenu/gridspecclbs/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
  746. }
  747. // setPopupMenu("grd_specclbs", false, "/root/hidden/popupmenu/gridclbs/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
  748. // Grid 상에 inputButton 은 표시하지만, input으로 직접 입력하는 것은 막기 위해
  749. // <script type="javascript" ev:event="onbuttonclick"> 대신 ev:event="onmousedown" 으로 처리함.
  750. if (grd_specclbs.isCell(event.target) && grd_specclbs.row >= grd_specclbs.fixedRows) {
  751. var col = grd_specclbs.mouseCol;
  752. if (col == grd_specclbs.colRef("judgmemo")) { // 메모
  753. if (grp_judgmemo.visible) {
  754. //model.setFocus("tar_judgmemo");
  755. grp_judgmemo.visible = false;
  756. } else {
  757. grd_specclbs.toprow = grd_specclbs.mouseRow;
  758. model.setValue("/root/hidden/clbs/judgmemo", model.getValue("/root/main/list1/clbs[" + grd_specclbs.mouseRow + "]/judgmemo"));
  759. model.refreshpart("/root/hidden/clbs/judgmemo");
  760. grp_judgmemo.attribute("top") = 251; // 20091214 작업에 방해되서 추가
  761. grp_judgmemo.attribute("left") = 1; // 20091214 작업에 방해되서 추가
  762. grp_judgmemo.visible = true;
  763. model.setFocus("tar_judgmemo");
  764. }
  765. }
  766. }
  767. ]]>
  768. </script>
  769. <script type="javascript" ev:event="ondblclick">
  770. <![CDATA[
  771. grp_judgmemo.visible = false; // 대상자 Grid의 메모 필드의 Btn 클릭시 보여지는 메모 저장용 Group을 감춘다.
  772. if (!isPopup()) { // (common.js) 자신이 팝업인지 아닌지를 리턴한다.
  773. return;
  774. }
  775. var row = grd_specclbs.row;
  776. if (grd_specclbs.isCell(event.target) && row >= grd_specclbs.fixedRows) {
  777. var clamym = model.getValue("/root/main/list1/clbs["+ row +"]/clamym");
  778. var clamdg = model.getValue("/root/main/list1/clbs["+ row +"]/clamdg");
  779. var pid = model.getValue("/root/main/list1/clbs["+ row +"]/pid");
  780. var pidsn = model.getValue("/root/main/list1/clbs["+ row +"]/pidsn");
  781. var clamkey = model.getValue("/root/main/list1/clbs["+ row +"]/clamkey");
  782. if (clamym != "") {
  783. if ( checkOpener() ) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
  784. model.setValue(opener.root.hidden.smpid20400.rslt.selectedRow, row); // 대상자 리스트에서 몇번째 row인지 (대상자조회 pre/next 에서 사용)
  785. model.setValue(opener.root.hidden.smpid20400.rslt.clamkey, clamkey);
  786. model.setValue(opener.root.hidden.smpid20400.rslt.clamym, clamym);
  787. model.setValue(opener.root.hidden.smpid20400.rslt.clamdg, clamdg);
  788. model.setValue(opener.root.hidden.smpid20400.rslt.pid, pid);
  789. model.setValue(opener.root.hidden.smpid20400.rslt.pidsn, pidsn);
  790. model.setValue(opener.root.hidden.smpid20400.rslt.oldPid, pid); // 현재 조회된 환자의 등록번호를 저장
  791. opener.javascript.fGetOutAftJudgMngt();
  792. // activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
  793. } else {
  794. messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004"); ///상위화면이 변경되어 데이터를 전달할 수 없습니다.
  795. }
  796. } else {
  797. messageBox("조회된 대상자가", "I004"); ///조회된 대상자가 없습니다.
  798. }
  799. }
  800. ]]>
  801. </script>
  802. <script type="javascript" ev:event="onaftersort">
  803. <![CDATA[
  804. grd_specclbs.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  805. grd_specclbs.row = grd_specclbs.selectedRow(0);
  806. ]]>
  807. </script>
  808. <script type="javascript" ev:event="oncopy">
  809. <![CDATA[
  810. grid_oncopy();
  811. ]]>
  812. </script>
  813. <!-- <script type="javascript" ev:event="onscroll">
  814. <![CDATA[
  815. if (grd_specclbs.vscroll.attribute("max") == grd_specclbs.vscroll.attribute("pos")) {
  816. // end of scroll
  817. model.setValue("/root/send/item1/offset", grd_specclbs.rows - grd_specclbs.fixedRows); // grid의 header row는 제외
  818. submit("TRPID20402");
  819. }
  820. ]]>
  821. </script>
  822. -->
  823. <script type="javascript" ev:event="DOMFocusOut">
  824. <![CDATA[
  825. initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
  826. ]]>
  827. </script>
  828. </datagrid>
  829. <datagrid id="grd_clbsmast" nodeset="/root/main/list1/clbs" class="datagrid2" caption="명일련^청구년월^차수^청구&#xA;구분^진료과^등록번호^순&#xA;번^환자명^성&#xA;별^나이^보험&#xA;유형^보조&#xA;유형^요율^주상병^특정&#xA;기호^진료개시일^진료종료일^총진료비^메모^진료의^심사자^최종&#xA;심사자^선&#xA;별^수&#xA;술^R.T&#xA;심사^응&#xA;급^원&#xA;내^원&#xA;외^원&#xA;외^상&#xA;병^심사일자^심사&#xA;상태^청구&#xA;상태^Stage^장&#xA;애^조합기호^청구번호^접수번호^심사차수^준비&#xA;자료^본인&#xA;부담금^생성일자^clamkey^rowstat^lockyn^cutprcpyn^자보회사^자보접수번호^지급보증번호^진료분야^반송코드^반송코드명^반송사유^MT014" colsep="^" colwidth="42, 57, 33, 35, 43, 67, 18, 43, 20, 30, 30, 30, 30, 51, 38, 67, 67, 67, 65, 42, 42, 42, 20, 20, 30, 20, 20, 20, 20, 20, 66, 44, 72, 55, 20, 75, 78, 54, 54, 30, 67, 67, 37, 56, 100, 100, 120, 140, 110, 100, 58, 70, 75, 92" dataheight="23" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" frozencols="8" mergecellsfixedcols="bycol" mergecellsfixedrows="bycol" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:205px; width:1190px; height:520px; ">
  830. <col ref="docuseqno" style="text-align:right; "/>
  831. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  832. <col ref="clamdg" style="text-align:center; "/>
  833. <col disabled="true" ref="clamflagcd" type="combo" style="text-align:center; ">
  834. <choices>
  835. <itemset nodeset="/root/init/P0155list/P0155">
  836. <label ref="cdengabbrnm"/>
  837. <value ref="cdid"/>
  838. </itemset>
  839. </choices>
  840. </col>
  841. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
  842. <choices>
  843. <itemset nodeset="/root/init/orddeptcd2/orddeptcdlist">
  844. <label ref="deptengabbr"/>
  845. <value ref="cd"/>
  846. </itemset>
  847. </choices>
  848. </col>
  849. <col ref="pid" style="text-align:center; "/>
  850. <col ref="pidsn" style="text-align:center; "/>
  851. <col ref="patnm" style="text-align:center; "/>
  852. <col ref="gender" style="text-align:center; "/>
  853. <col ref="patage" style="text-align:center; "/>
  854. <col ref="insukindcd" style="text-align:center; "/>
  855. <col ref="suppkindcd" style="text-align:center; "/>
  856. <col ref="payownbrate" style="text-align:center; "/>
  857. <col ref="diagnm" style="text-align:left; "/>
  858. <col ref="spclmark" style="text-align:center; "/>
  859. <col ref="ordfromdd" format="yyyy-mm-dd"/>
  860. <col ref="ordtodd" format="yyyy-mm-dd"/>
  861. <col ref="totordamt" format="#,###" style="text-align:right; "/>
  862. <col ref="judgmemo" type="inputbutton"/>
  863. <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
  864. <choices>
  865. <itemset nodeset="/root/init/orddrid2/orddridlist">
  866. <label ref="nm"/>
  867. <value ref="cd"/>
  868. </itemset>
  869. </choices>
  870. </col>
  871. <col disabled="true" ref="judgrid" type="combo" style="text-align:center; ">
  872. <choices>
  873. <itemset nodeset="/root/init/judgrid/judgridlist">
  874. <label ref="nm"/>
  875. <value ref="cd"/>
  876. </itemset>
  877. </choices>
  878. </col>
  879. <col disabled="true" ref="lastupdtrid" type="combo" style="text-align:center; ">
  880. <choices>
  881. <itemset nodeset="/root/init/judgrid/judgridlist">
  882. <label ref="nm"/>
  883. <value ref="cd"/>
  884. </itemset>
  885. </choices>
  886. </col>
  887. <col ref="spcljudgyn" style="text-align:center; "/>
  888. <col ref="opyn" style="text-align:center; "/>
  889. <col ref="realtmjudg" visibility="hidden" style="left:805px; top:32px; width:42px; height:21px; text-align:center; "/>
  890. <col disabled="true" ref="stsioflag" type="combo" style="text-align:center; ">
  891. <choices>
  892. <item>
  893. <label>C</label>
  894. <value>C</value>
  895. </item>
  896. <item>
  897. <label>E</label>
  898. <value>E</value>
  899. </item>
  900. </choices>
  901. </col>
  902. <col ref="iprcp" style="text-align:center; "/>
  903. <col ref="oprcp" style="text-align:center; "/>
  904. <col ref="oprcpyn" style="text-align:center; "/>
  905. <col ref="cldicnt" style="text-align:center; "/>
  906. <col ref="judgenddd" format="yyyy/mm/dd" style="left:1050px; top:32px; width:66px; height:23px; text-align:left; "/>
  907. <col disabled="true" ref="judgendyn" type="combo" style="text-align:center; ">
  908. <choices>
  909. <itemset nodeset="/root/init/P0151list/P0151">
  910. <label ref="cdengabbrnm"/>
  911. <value ref="cdid"/>
  912. </itemset>
  913. </choices>
  914. </col>
  915. <col disabled="true" ref="clamendyn" type="combo" style="text-align:left; ">
  916. <choices>
  917. <itemset nodeset="/root/init/P0430list/P0430">
  918. <label ref="cdnm"/>
  919. <value ref="cdid"/>
  920. </itemset>
  921. </choices>
  922. </col>
  923. <col ref="stage" style="text-align:center; "/>
  924. <col ref="prockindflagyn"/>
  925. <col ref="insuno"/>
  926. <col ref="clamno" style="text-align:center; "/>
  927. <col ref="acptno" style="text-align:center; "/>
  928. <col ref="judgdg" style="text-align:center; "/>
  929. <col ref="prepdata"/>
  930. <col ref="ownbamt" format="#,###" style="text-align:right; "/>
  931. <col ref="fstrgstdt" format="yyyy-mm-dd"/>
  932. <col ref="clamkey" visibility="hidden" style="background-color:#c0c0c0; "/>
  933. <col ref="rowstat" visibility="hidden" style="background-color:#c0c0c0; "/>
  934. <col ref="lockyn" visibility="hidden" style="background-color:#c0c0c0; "/>
  935. <col ref="cutprcpyn" visibility="hidden" style="background-color:#c0c0c0; "/>
  936. <col disabled="true" ref="insucmno" type="combo">
  937. <choices>
  938. <itemset nodeset="/root/init/PK032list/PK032">
  939. <label ref="cdnm"/>
  940. <value ref="cdid"/>
  941. </itemset>
  942. </choices>
  943. </col>
  944. <col ref="certno"/>
  945. <col ref="paygrntno"/>
  946. <col ref="ordfildcd"/>
  947. <col ref="preresncd"/>
  948. <col ref="preresncdnm"/>
  949. <col ref="preresntext"/>
  950. <col ref="mt014"/>
  951. <script type="javascript" ev:event="onmousedown">
  952. <![CDATA[
  953. if (event.button == 3) { // 3 : 오른쪽 버튼
  954. setPopupMenu("grd_clbsmast", false, "/root/popupdata/popupmenu/gridclbs/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
  955. }
  956. ]]>
  957. </script>
  958. <script type="javascript" ev:event="ondblclick">
  959. <![CDATA[
  960. grp_judgmemo.visible = false; // 대상자 Grid의 메모 필드의 Btn 클릭시 보여지는 메모 저장용 Group을 감춘다.
  961. if (!isPopup()) { // (common.js) 자신이 팝업인지 아닌지를 리턴한다..
  962. return;
  963. }
  964. var row = grd_clbsmast.row;
  965. var cutprcpsel = model.getValue("/root/send/item1/cutprcpsel");
  966. var tootpopupyn = model.getValue("/root/temp/tootpopupyn");
  967. if (grd_clbsmast.isCell(event.target) && row >= grd_clbsmast.fixedRows) {
  968. var gridclbs_clamym = model.getValue("/root/main/list1/clbs["+ row +"]/clamym");
  969. var gridclbs_clamdg = model.getValue("/root/main/list1/clbs["+ row +"]/clamdg");
  970. var gridclbs_pid = model.getValue("/root/main/list1/clbs["+ row +"]/pid");
  971. var gridclbs_pidsn = model.getValue("/root/main/list1/clbs["+ row +"]/pidsn");
  972. var gridclbs_judgenddd = model.getValue("/root/main/list1/clbs["+ row +"]/judgenddd");
  973. if (gridclbs_clamym != "") {
  974. if ( checkOpener() ) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
  975. //심사자여부를 opener에 넘겨준다.
  976. model.setValue(opener.root.init.item3.judgidyn, model.getValue("/root/init/item3/judgidyn")); // 심사자여부
  977. model.setValue(opener.root.hidden.smpid20400.rslt.selectedRow, row); // 대상자 리스트에서 몇번째 row인지 (대상자조회 pre/next 에서 사용)
  978. model.setValue(opener.root.hidden.smpid20400.rslt.clamym, gridclbs_clamym); // 선택된 대상자의 청구키로 심사정보를 조회한다.
  979. model.setValue(opener.root.hidden.smpid20400.rslt.clamdg, gridclbs_clamdg);
  980. model.setValue(opener.root.hidden.smpid20400.rslt.pid, gridclbs_pid);
  981. model.setValue(opener.root.hidden.smpid20400.rslt.pidsn, gridclbs_pidsn);
  982. model.setValue(opener.root.hidden.smpid20400.rslt.oldPid, model.getValue("/root/main/list1/clbs["+ row +"]/pid")); // 현재 조회된 환자의 등록번호를 저장
  983. // 20100302 변경
  984. //model.setValue(opener.root.hidden.smpid20400.rslt.cutprcpyn, model.getValue("/root/main/list1/clbs["+ row +"]/cutprcpyn")); //현재 조회된 환자의 삭감처방여부를 저장
  985. model.setValue(opener.root.hidden.smpid20400.rslt.cutprcpyn, model.getValue("/root/send/item1/cutprcpsel")); //현재 조회된 환자의 삭감처방여부를 저장
  986. model.setValue(opener.root.hidden.smpid20400.rslt.judgendyn, model.getValue("/root/main/list1/clbs["+ row +"]/judgendyn")); //현재 조회된 환자의 심사상태
  987. model.setValue(opener.root.hidden.smpid20400.rslt.tootpopupyn, model.getValue("/root/temp/tootpopupyn")); //치식자동팝업사용여부
  988. //model.setValue(opener.root.hidden.smpid20400.rslt.ordfildcd, model.getValue("/root/main/list1/clbs["+ row +"]/ordfildcd")); //해당진료분야
  989. //20120523 plet2 심사완료일자 추가
  990. model.setValue(opener.root.hidden.smpid20400.rslt.judgenddd, gridclbs_judgenddd);
  991. opener.javascript.fGetOutAftJudgMngt();
  992. setPopupRefresh(model.getValue("/root/main/list1/clbs["+ row +"]/pid"));
  993. /*
  994. if(model.getValue("/root/temp/tootpopupyn") == "Y" && model.getValue("/root/main/list1/clbs["+ row +"]/ordfildcd")){
  995. opener.javascript.toothclick();
  996. }
  997. */
  998. // activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
  999. //청구삭감조회팝업호출(삭감처방 팝업조회체크시) -- 20091130 김상민
  1000. // 20100228 삭제
  1001. /*
  1002. if(cutprcpsel == "2"){
  1003. setParameter("openflag", 'O');
  1004. setParameter("pid", model.getvalue("/root/main/list1/clbs["+ row +"]/pid"));
  1005. open("SMPIS00600", "", "50", "50" ,"SMPIS00600", "", "");
  1006. }
  1007. */
  1008. } else {
  1009. messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004"); ///상위화면이 변경되어 데이터를 전달할 수 없습니다.
  1010. }
  1011. } else {
  1012. messageBox("조회된 대상자가", "I004"); ///조회된 대상자가 없습니다.
  1013. }
  1014. }
  1015. ]]>
  1016. </script>
  1017. <script type="javascript" ev:event="onaftersort">
  1018. <![CDATA[
  1019. grd_clbsmast.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  1020. grd_clbsmast.row = grd_clbsmast.selectedRow(0);
  1021. ]]>
  1022. </script>
  1023. <script type="javascript" ev:event="onmouseup">
  1024. <![CDATA[
  1025. // Grid 상에 inputButton 은 표시하지만, input으로 직접 입력하는 것은 막기 위해
  1026. // <script type="javascript" ev:event="onbuttonclick"> 대신 ev:event="onmousedown" 으로 처리함.
  1027. if (grd_clbsmast.isCell(event.target) && grd_clbsmast.row >= grd_clbsmast.fixedRows) {
  1028. var col = grd_clbsmast.mouseCol;
  1029. if (col == grd_clbsmast.colRef("judgmemo")) { // 메모
  1030. if (grp_judgmemo.visible) {
  1031. //model.setFocus("tar_judgmemo");
  1032. grp_judgmemo.visible = false;
  1033. } else {
  1034. grd_clbsmast.toprow = grd_clbsmast.mouseRow;
  1035. grp_judgmemo.attribute("top") = 251; // 20091214 작업에 방해되서 추가
  1036. grp_judgmemo.attribute("left") = 1; // 20091214 작업에 방해되서 추가
  1037. model.setValue("/root/hidden/clbs/judgmemo", model.getValue("/root/main/list1/clbs[" + grd_clbsmast.mouseRow + "]/judgmemo"));
  1038. //model.refresh();
  1039. tar_judgmemo.refresh();
  1040. grp_judgmemo.visible = true;
  1041. model.setFocus("tar_judgmemo");
  1042. }
  1043. }
  1044. }
  1045. ]]>
  1046. </script>
  1047. <script type="javascript" ev:event="onbuttonclick">
  1048. <![CDATA[
  1049. ]]>
  1050. </script>
  1051. <script type="javascript" ev:event="DOMFocusOut">
  1052. <![CDATA[
  1053. initPopupMenu(); // (tfHelper.js) 사용자 팝업 설정 초기화
  1054. ]]>
  1055. </script>
  1056. <script type="javascript" ev:event="onkeydown">
  1057. <![CDATA[
  1058. // Ctrl + C 키를 누른경우
  1059. if (event.ctrlKey == "1" && event.keyCode == "67") {
  1060. var srchmode = model.getValue("/root/hidden/clbs/srchmode");
  1061. if (srchmode == "specclbs") { // 선별심사 모드인 경우
  1062. if (grd_specclbs.selectedRows == 1) { // 한줄
  1063. var row = grd_specclbs.row;
  1064. var col = grd_specclbs.col;
  1065. var clip = grd_specclbs.labelMatrix(row, col);
  1066. window.clipBoardData = clip;
  1067. }
  1068. } else {
  1069. if (grd_clbsmast.selectedRows == 1) { // 한줄
  1070. var row = grd_clbsmast.row;
  1071. var col = grd_clbsmast.col;
  1072. var clip = grd_clbsmast.labelMatrix(row, col);
  1073. window.clipBoardData = clip;
  1074. }
  1075. }
  1076. }
  1077. ]]>
  1078. </script>
  1079. <script type="javascript" ev:event="oncopy">
  1080. <![CDATA[
  1081. grid_oncopy();
  1082. ]]>
  1083. </script>
  1084. </datagrid>
  1085. <caption id="cap_judgtrgtman" class="tit_2" style="left:5px; top:185px; width:140px; height:13px; ">심사 대상자</caption>
  1086. <line id="line1" class="line_1" style="x1:0px; y1:200px; x2:1190px; y2:200px; "/>
  1087. <group id="group1" style="left:0px; top:4px; width:1190px; height:172px; vertical-align:top; ">
  1088. <shape id="roundrect3" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:169px; "/>
  1089. <caption id="caption30" class="search_name" style="left:3px; top:11px; width:85px; height:17px; ">청구년월</caption>
  1090. <input id="ipt_clamym" ref="/root/send/item1/clamym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:84px; top:10px; width:73px; height:19px; text-align:center; ">
  1091. <script type="javascript" ev:event="xforms-value-changed">
  1092. <![CDATA[
  1093. var nowym = model.getValue("/root/send/item1/clamym");
  1094. model.setValue("/root/send/item1/clamtoym", nowym);
  1095. ipt_clamym.refresh();
  1096. ipt_clamtoym.refresh();
  1097. pidfGetClamdg();
  1098. addComboItem("cmb_clamdg", "전체", "", "above");
  1099. ]]>
  1100. </script>
  1101. </input>
  1102. <caption id="caption31" class="search_name" style="left:447px; top:35px; width:86px; height:17px; ">진료분야</caption>
  1103. <!-- 기존 ID : 1214 => P0235 => P0291 -->
  1104. <select1 id="cmb_ordfildcd" ref="/root/send/item1/ordfildcd" class="combo_search" navindex="13" appearance="minimal" style="left:526px; top:34px; width:95px; height:19px; ">
  1105. <choices>
  1106. <itemset nodeset="/root/init/P0291list/P0291">
  1107. <label ref="cdnm"/>
  1108. <value ref="cdid"/>
  1109. </itemset>
  1110. </choices>
  1111. <script type="javascript" ev:event="xforms-value-changed">
  1112. <![CDATA[
  1113. model.setValue("/root/send/item1/clamdeptcd", "");
  1114. cmb_clamdeptcd.disabled = false;
  1115. cmb_orddrid.disabled = true;
  1116. var ordfildcd = model.getValue("/root/send/item1/ordfildcd");
  1117. if (ordfildcd) {
  1118. cmb_clamdeptcd.choices.itemset.attribute("nodeset") = "/root/init/clamdept/clamdeptlist[cdval='" + ordfildcd + "']";
  1119. } else {
  1120. cmb_clamdeptcd.choices.itemset.attribute("nodeset") = "/root/init/clamdept/clamdeptlist";
  1121. }
  1122. cmb_clamdeptcd.refresh();
  1123. ]]>
  1124. </script>
  1125. </select1>
  1126. <caption id="caption32" class="search_name" style="left:260px; top:35px; width:86px; height:17px; ">청구구분</caption>
  1127. <select1 id="cmb_clamflagcd" ref="/root/send/item1/clamflagcd" class="combo_search" navindex="9" appearance="minimal" showvalue="true" style="left:340px; top:34px; width:99px; height:19px; ">
  1128. <choices>
  1129. <itemset nodeset="/root/init/P0155list/P0155">
  1130. <label ref="cdnm"/>
  1131. <value ref="cdid"/>
  1132. </itemset>
  1133. </choices>
  1134. </select1>
  1135. <caption id="caption33" class="search_name" style="left:260px; top:58px; width:86px; height:17px; ">심사상태</caption>
  1136. <select1 id="cmb_judgendyn" ref="/root/send/item1/judgendyn" class="combo_search" navindex="10" appearance="minimal" showvalue="true" style="left:340px; top:58; width:99px; height:19px; ">
  1137. <choices>
  1138. <itemset nodeset="/root/init/P0151list/P0151">
  1139. <label ref="cdnm"/>
  1140. <value ref="cdid"/>
  1141. </itemset>
  1142. </choices>
  1143. </select1>
  1144. <caption id="caption34" class="search_name" style="left:627px; top:11px; width:82px; height:17px; ">보험유형</caption>
  1145. <select1 id="cmb_insukind" ref="/root/send/item1/insukindcd" class="combo_search" navindex="16" appearance="minimal" style="left:705px; top:10px; width:82px; height:19px; ">
  1146. <choices>
  1147. <itemset nodeset="/root/init/P0008list/P0008">
  1148. <label ref="cdnm"/>
  1149. <value ref="cdid"/>
  1150. </itemset>
  1151. </choices>
  1152. <script type="javascript" ev:event="xforms-value-changed">
  1153. <![CDATA[
  1154. var insukindcd = model.getValue("/root/send/item1/insukindcd");
  1155. if (insukindcd) {
  1156. if (insukindcd == "1") {
  1157. cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/suppkind/suppkindlist[up='11' or up='21' or up='22']";
  1158. } else if (insukindcd == "2") {
  1159. cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/suppkind/suppkindlist[up='21' or up='22']";
  1160. } else {
  1161. cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/suppkind/suppkindlist[up='" + insukindcd + "']";
  1162. }
  1163. } else {
  1164. cmb_suppkind.choices.itemset.attribute("nodeset") = "/root/init/P0010list/P0010";
  1165. }
  1166. model.refreshpart("/root/send/item1/suppkindcd");
  1167. if (cmb_suppkind.label) {
  1168. } else { // 기존 선택된 보조유형을 선택할 수 없는 보험유형이 선택된 경우이므로
  1169. model.setValue("/root/send/item1/suppkindcd", ""); // 보조유형 선택을 초기화한다.
  1170. model.refreshpart("/root/send/item1/suppkindcd");
  1171. }
  1172. ]]>
  1173. </script>
  1174. </select1>
  1175. <caption id="caption35" class="search_name" style="left:447px; top:58px; width:73px; height:17px; ">청구과</caption>
  1176. <!-- 기존 : /root/InitData2/comccodem => P0287 확인해볼 것 -->
  1177. <select1 id="cmb_clamdeptcd" ref="/root/send/item1/clamdeptcd" class="combo_search" navindex="14" appearance="minimal" style="left:526px; top:58; width:95px; height:19px; ">
  1178. <!-- <itemset nodeset="/root/init/P0287list[P0287 or P0288]">-->
  1179. <choices>
  1180. <itemset nodeset="/root/init/clamdept/clamdeptlist">
  1181. <label ref="cdnm"/>
  1182. <value ref="cdid"/>
  1183. </itemset>
  1184. </choices>
  1185. <script type="javascript" ev:event="xforms-value-changed">
  1186. <![CDATA[
  1187. /*
  1188. var clamdeptcd = model.getValue("/root/send/item1/clamdeptcd");
  1189. if (clamdeptcd) {
  1190. cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[reqdp='" + clamdeptcd + "']";
  1191. cmb_orddrid.disabled = false;
  1192. cmd_orddeptcd.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd/orddeptcdlist[reqdeptno='" + clamdeptcd + "']";
  1193. cmd_orddeptcd.disabled = false;
  1194. } else {
  1195. cmb_orddrid.disabled = true;
  1196. cmd_orddeptcd.disabled = true;
  1197. }
  1198. model.setValue("/root/send/item1/orddrid", ""); // 주치의 선택을 초기화한다.
  1199. model.setValue("/root/send/item1/orddeptcd", ""); // 진료과 선택을 초기화한다.
  1200. cmb_orddrid.refresh();
  1201. cmd_orddeptcd.refresh();
  1202. */
  1203. ]]>
  1204. </script>
  1205. </select1>
  1206. <caption id="caption36" class="search_name" style="left:627px; top:58px; width:82px; height:17px; ">접수번호</caption>
  1207. <input id="ipt_acptno" ref="/root/send/item1/acptno" class="input_search" navindex="18" maxlength="8" style="left:705px; top:58; width:97px; height:19px; "/>
  1208. <caption id="caption37" class="search_name" style="left:627px; top:82px; width:73px; height:17px; ">명번호</caption>
  1209. <input id="ipt_docuseqno1" ref="/root/send/item1/docuseqno1" class="input_search" navindex="19" imemode="alpha" maxlength="5" style="left:705px; top:82px; width:39px; height:19px; ">
  1210. <hint>
  1211. <![CDATA[시작번호]]>
  1212. </hint>
  1213. <script type="javascript" ev:event="xforms-value-changed">
  1214. <![CDATA[
  1215. var docuseqno1 = model.getValue("/root/send/item1/docuseqno1");
  1216. //docuseqno1 = fPaddingData(docuseqno1,"L","0", 5 );
  1217. //model.setValue("/root/send/item1/docuseqno1", docuseqno1 );
  1218. model.setValue("/root/send/item1/docuseqno2", docuseqno1 );
  1219. //model.refreshpart("/root/send/item1/docuseqno1");
  1220. model.refreshpart("/root/send/item1/docuseqno2");
  1221. ]]>
  1222. </script>
  1223. <script type="javascript" ev:event="onkeypress">
  1224. <![CDATA[
  1225. if (event.keyCode == "13") { // Enter 입력 시에
  1226. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  1227. ipt_docuseqno1.dispatch("xforms-value-changed");
  1228. model.setFocus("ipt_docuseqno2");
  1229. }
  1230. ]]>
  1231. </script>
  1232. </input>
  1233. <input id="ipt_docuseqno2" ref="/root/send/item1/docuseqno2" class="input_search" navindex="20" imemode="alpha" maxlength="5" style="left:763px; top:82px; width:39px; height:19px; ">
  1234. <hint>
  1235. <![CDATA[끝번호]]>
  1236. </hint>
  1237. <script type="javascript" ev:event="onkeypress">
  1238. <![CDATA[
  1239. if (event.keyCode == "13") { // Enter 입력 시에
  1240. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  1241. fGetOutAftJudgTrgtManList("docuSrch");
  1242. // model.removeNodeset("/root/main/list1/clbs");
  1243. // submit("TRPID20402");
  1244. }
  1245. ]]>
  1246. </script>
  1247. </input>
  1248. <caption id="caption38" class="search_name" style="left:3px; top:82px; width:84px; height:17px; ">환자조회</caption>
  1249. <input id="ipt_patunitsrch" ref="/root/send/item1/patunitsrch1" class="input_search" navindex="3" imemode="hangul" inputtype="button" maxlength="10" style="left:84px; top:82px; width:85px; height:19px; ">
  1250. <hint>
  1251. <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
  1252. </hint>
  1253. <script type="javascript" ev:event="onkeypress">
  1254. <![CDATA[
  1255. if (event.keyCode == "13") { // Enter 입력 시에
  1256. if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
  1257. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  1258. fGetOutAftJudgTrgtManList("pidSrch");
  1259. }
  1260. }
  1261. ]]>
  1262. </script>
  1263. <script type="javascript" ev:event="onbuttonclick">
  1264. <![CDATA[
  1265. //환자조회
  1266. fGetPatinfo("1");
  1267. ]]>
  1268. </script>
  1269. <script type="javascript" ev:event="xforms-value-changed">
  1270. <![CDATA[
  1271. ]]>
  1272. </script>
  1273. </input>
  1274. <caption id="caption39" class="search_name" style="left:448px; top:11px; width:73px; height:17px; ">심사자</caption>
  1275. <select1 id="cmb_judgrid" ref="/root/send/item1/judgrid" class="combo_search" navindex="8" appearance="minimal" style="left:526px; top:10px; width:95px; height:19px; ">
  1276. <choices>
  1277. <itemset nodeset="/root/init/judgrid/judgridlist">
  1278. <label ref="nm"/>
  1279. <value ref="cd"/>
  1280. </itemset>
  1281. </choices>
  1282. </select1>
  1283. <caption id="caption40" class="search_name" style="left:447px; top:105px; width:73px; height:17px; ">진료의</caption>
  1284. <select1 id="cmb_orddrid" ref="/root/send/item1/orddrid" class="combo_search" navindex="15" appearance="minimal" itemcount="20" style="left:526px; top:105px; width:95px; height:19px; ">
  1285. <choices>
  1286. <itemset nodeset="/root/init/orddrid/orddridlist">
  1287. <label ref="nm"/>
  1288. <value ref="cd"/>
  1289. </itemset>
  1290. </choices>
  1291. </select1>
  1292. <caption id="caption41" class="search_name" style="left:3px; top:35px; width:85px; height:17px; ">총진료비</caption>
  1293. <input id="ipt_totordamt" ref="/root/send/item1/totordamt" class="input_search" navindex="4" maxlength="10" format="#,###" style="left:84px; top:34px; width:85px; height:19px; "/>
  1294. <select1 id="cmb_totordamt" ref="/root/send/item1/cmbtotordamt" class="combo_search" navindex="5" appearance="minimal" style="left:172px; top:34px; width:62px; height:19px; ">
  1295. <choices>
  1296. <item>
  1297. <label>원미만</label>
  1298. <value>2</value>
  1299. </item>
  1300. <item>
  1301. <label>원이상</label>
  1302. <value>3</value>
  1303. </item>
  1304. </choices>
  1305. </select1>
  1306. <caption id="caption42" class="search_name" style="left:812px; top:11px; width:73px; height:17px; ">처방별</caption>
  1307. <select1 id="rdo_mchrgcode" ref="/root/send/item1/choicdsrch1" class="radio_search" navindex="11" appearance="full" cols="4" overflow="visible" style="left:890px; top:9px; width:125px; height:18px; ">
  1308. <choices>
  1309. <item>
  1310. <label>수가</label>
  1311. <value>3</value>
  1312. </item>
  1313. <item>
  1314. <label>EDI</label>
  1315. <value>4</value>
  1316. </item>
  1317. <item>
  1318. <label>List</label>
  1319. <value>5</value>
  1320. </item>
  1321. </choices>
  1322. <script type="javascript" ev:event="xforms-select">
  1323. <![CDATA[
  1324. // model.resetInstanceNode("/root/send/item1/choicdsrch2");
  1325. model.setValue("/root/send/item1/choicdsrch2", "");
  1326. ipt_choicdsrch.refresh();
  1327. //if (model.getValue("/root/send/item1/choicdsrch1") == "1") {
  1328. // fGetSnglcalcscorcd();
  1329. //}
  1330. ]]>
  1331. </script>
  1332. </select1>
  1333. <input id="ipt_choicdsrch" ref="/root/send/item1/choicdsrch2" class="input_search" navindex="12" imemode="alpha" inputtype="button" _chartype="upper" style="left:1017px; top:9px; width:164px; height:19px; ">
  1334. <script type="javascript" ev:event="onkeypress">
  1335. <![CDATA[
  1336. if (event.keyCode == "13") { // Enter 입력 시에
  1337. if (ipt_choicdsrch.currentText.length > 1) { // 2글자 이상이면
  1338. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  1339. fGetOutAftJudgTrgtManList("spcSrch");
  1340. }
  1341. }
  1342. ]]>
  1343. </script>
  1344. <script type="javascript" ev:event="onbuttonclick">
  1345. <![CDATA[
  1346. // var choicdsrch1 = model.getValue("/root/send/item1/choicdsrch1");
  1347. // var choicdsrch2 = model.getValue("/root/send/item1/choicdsrch2").getTrim();
  1348. // model.setValue("/root/hidden/smpic00200/judgsrch/con4_search2", choicdsrch2);
  1349. //
  1350. // var clamfromdd = model.getValue("/root/send/item1/clamfromdd");
  1351. // if (clamfromdd) {
  1352. // model.setValue("/root/hidden/smpic00200/judgsrch/con1_dd", clamfromdd);
  1353. // } else {
  1354. // model.setValue("/root/hidden/smpic00200/judgsrch/con1_dd", getCurrentDate()); // (dateHelper.js) 현재날짜 반환
  1355. // }
  1356. //
  1357. // if (choicdsrch1 == "1") { // 명칭인 경우
  1358. // model.setValue("/root/hidden/smpic00200/judgsrch/con3_search1", "engnm");
  1359. // for (var i=0; i < choicdsrch2.length; i++) {
  1360. // if (choicdsrch2.charCodeAt(i) > 255) { // 한글이 들어오면 255보다 크다.
  1361. // choicdsrch1 = "2";
  1362. // model.setValue("/root/hidden/smpic00200/judgsrch/con3_search1", "hngnm");
  1363. // }
  1364. // }
  1365. // }
  1366. // else if (choicdsrch1 == "3") { // 수가
  1367. // model.setValue("/root/hidden/smpic00200/judgsrch/con3_search1", "calcscorcd");
  1368. // }
  1369. // else if (choicdsrch1 == "4") { // EDI
  1370. // model.setValue("/root/hidden/smpic00200/judgsrch/con3_search1", "edicd");
  1371. // }
  1372. //
  1373. // model.removeNodeset("/root/hidden/smpic00200/rslt"); // SMPIC00200_수가조회 에서 선택된 결과가 copyNode되는 경로임
  1374. // modal("SMPIC00200", 1,150, 150, "SMPIC00200", "/root/hidden/smpic00200", "/root/temp", "", "");
  1375. //
  1376. // var mechSelect = instance1.selectSingleNode("/root/temp/mech");
  1377. // if (mechSelect == null) { // 선택한 코드가 없는 경우
  1378. // messageBox("수가조회 화면에서 선택한 결과가", "I004"); ///수가조회 화면에서 선택한 결과가 없습니다.
  1379. // return;
  1380. // }
  1381. // // SMPIC00200_수가조회 화면에서 보낸 결과 값에 대한 처리
  1382. // model.makeNode("/root/hidden/smpic00200/rslt");
  1383. // model.copyNode("/root/hidden/smpic00200/rslt", "/root/temp/mech");
  1384. // model.removeNodeset("/root/temp"); // SMPIC00200_수가조회 에서 선택된 결과가 직접 전달되는 경로임
  1385. //
  1386. // if (choicdsrch1 == "1") { // 영문 명칭인 경우
  1387. // model.setValue("/root/send/item1/choicdsrch2", model.getValue("/root/hidden/smpic00200/rslt/engnm"));
  1388. // }
  1389. // else if (choicdsrch1 == "2") { // 한글 명칭인 경우
  1390. // model.setValue("/root/send/item1/choicdsrch2", model.getValue("/root/hidden/smpic00200/rslt/hngnm"));
  1391. // }
  1392. // else if (choicdsrch1 == "3") { // 수가
  1393. // model.setValue("/root/send/item1/choicdsrch2", model.getValue("/root/hidden/smpic00200/rslt/calcscorcd"));
  1394. // }
  1395. // else if (choicdsrch1 == "4") { // EDI
  1396. // // [2007.05.17] 추후 보험유형 EDI 코드 뿐만 아니라 의료급여, 산재, 자보에 따라 각 EDI코드로 설정하는 기능을 부여한다.
  1397. // model.setValue("/root/send/item1/choicdsrch2", model.getValue("/root/hidden/smpic00200/rslt/insuedicd"));
  1398. // }
  1399. // else {
  1400. // model.setValue("/root/send/item1/choicdsrch2", model.getValue("/root/hidden/smpic00200/rslt/calcscorcd"));
  1401. // model.setValue ("/root/send/item1/choicdsrch1", "3");
  1402. // }
  1403. // model.refresh();
  1404. var userid = getUserId(); // (common.js) 현재 로그인한 사용자 번호(ID)
  1405. if (userid) {
  1406. model.setValue("/root/hidden/sppiz00900/cond/judgrid", userid);
  1407. } else {
  1408. // SPPIZ00900 에서 테스트용으로 입력된 data의 심사자 ID를 설정한다.
  1409. model.setValue("/root/hidden/sppiz00900/cond/judgrid", "87040221");
  1410. }
  1411. model.removeNodeset("/root/hidden/sppiz00900/rslt");
  1412. modal("SPPIZ00900" ,"1", "150", "150", "SPPIZ00900", "/root/hidden/sppiz00900/cond", "/root/hidden/sppiz00900/cond", "", ""); // SPPIZ00900_선별심사CheckList
  1413. var pchkSelect = instance1.selectSingleNode("/root/hidden/sppiz00900/rslt");
  1414. if (pchkSelect == null) { // 선택한 선별심사 List가 없는 경우
  1415. return;
  1416. }
  1417. var pchkNodes = pchkSelect.childNodes;
  1418. var pchkList = "";
  1419. for (var i = 1; i <= pchkNodes.length; i++) {
  1420. var pchk = model.getValue("/root/hidden/sppiz00900/rslt/pchk[" + i + "]/calcscorcd");
  1421. if (pchkList == "") {
  1422. pchkList = pchk;
  1423. } else {
  1424. pchkList += "|" + pchk;
  1425. }
  1426. }
  1427. model.setValue("/root/send/item1/choicdsrch1", "5"); // 5: List
  1428. model.setValue("/root/send/item1/choicdsrch2", pchkList);
  1429. model.refresh();
  1430. ]]>
  1431. </script>
  1432. </input>
  1433. <caption id="caption43" class="search_name" style="left:3px; top:58px; width:85px; height:17px; ">본인부담</caption>
  1434. <input id="ipt_ownbamt" ref="/root/send/item1/ownbamt" class="input_search" navindex="6" maxlength="10" format="#,###" style="left:84px; top:58; width:85px; height:19px; "/>
  1435. <select1 id="cmb_ownbamt" ref="/root/send/item1/cmbownbamt" class="combo_search" navindex="7" appearance="minimal" style="left:172px; top:58; width:62px; height:19px; ">
  1436. <choices>
  1437. <item>
  1438. <label>원미만</label>
  1439. <value>2</value>
  1440. </item>
  1441. <item>
  1442. <label>원이상</label>
  1443. <value>3</value>
  1444. </item>
  1445. </choices>
  1446. </select1>
  1447. <button id="button1" class="btn1_letter2" navindex="32" style="left:1130px; top:80px; width:56px; height:22px; ">
  1448. <caption>조회</caption>
  1449. <script type="javascript" ev:event="DOMActivate">
  1450. <![CDATA[
  1451. fGetOutAftJudgTrgtManList("listSrch");
  1452. fGetResetOptList();
  1453. ]]>
  1454. </script>
  1455. </button>
  1456. <select id="checkbox1" ref="/root/send/item1/chkspcljudg" class="checkbox_search" navindex="26" overflow="visible" appearance="full" style="left:890px; top:106px; width:45px; height:19px; border-style:none; ">
  1457. <choices>
  1458. <item>
  1459. <label>선별</label>
  1460. <value>Y</value>
  1461. </item>
  1462. </choices>
  1463. </select>
  1464. <!-- 2007.09.06 수정 박재형 보조유형 combo data 공통안쓰고 가져옴.-->
  1465. <select1 id="cmb_suppkind" ref="/root/send/item1/suppkindcd" class="combo_search" navindex="17" appearance="minimal" style="left:705px; top:34px; width:82px; height:19px; ">
  1466. <choices>
  1467. <!--<itemset nodeset="/root/init/suppkind/suppkindlist">-->
  1468. <itemset nodeset="/root/init/P0010list/P0010">
  1469. <label ref="cdnm"/>
  1470. <value ref="cdid"/>
  1471. </itemset>
  1472. </choices>
  1473. </select1>
  1474. <caption id="caption44" class="search_name" style="left:627px; top:35px; width:82px; height:17px; ">보조유형</caption>
  1475. <!-- 2007.09.19 수정 박재형 :: 보험유형을 선택시 해당하는 보조유형을 선택하기 위해 필요 (재원심사 참고하여 동일하게 구성) 추가:opt_insukind, opt_suppkind
  1476. ==표시기능만있으므로 추후논의후 표시시 위치배열다시하고 제거시 그냥제거.
  1477. <output id="opt_insukind" style="left:875px; top:8px; width:17px; height:19px; font-size:8pt; background-color:#ececec; border-color:transparent; "/>
  1478. <output id="opt_suppkind" style="left:875px; top:32px; width:17px; height:19px; font-size:8pt; background-color:#ececec; border-color:transparent; "/> -->
  1479. <output id="output1" ref="/root/send/item1/insukindcd" class="output_search" style="left:786px; top:10px; width:17px; height:19px; "/>
  1480. <output id="opt_suppkind" ref="/root/send/item1/suppkindcd" class="output_search" style="left:786px; top:34px; width:17px; height:19px; "/>
  1481. <caption id="caption45" style="left:748px; top:82px; width:11px; height:16px; ">~</caption>
  1482. <select id="checkbox2" ref="/root/send/item1/chkcrf" class="checkbox_search" navindex="23" overflow="visible" appearance="full" style="left:890px; top:146px; width:45px; height:19px; ">
  1483. <choices>
  1484. <item>
  1485. <label>CRF</label>
  1486. <value>Y</value>
  1487. </item>
  1488. </choices>
  1489. </select>
  1490. <select id="checkbox3" ref="/root/send/item1/chkcncr" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:939px; top:146px; width:56px; height:19px; ">
  1491. <choices>
  1492. <item>
  1493. <label>등록암</label>
  1494. <value>Y</value>
  1495. </item>
  1496. </choices>
  1497. </select>
  1498. <select id="checkbox4" ref="/root/send/item1/chkhomecare" class="checkbox_search" navindex="24" overflow="visible" appearance="full" style="left:819px; top:106px; width:65px; height:19px; ">
  1499. <choices>
  1500. <item>
  1501. <label>가정간호</label>
  1502. <value>Y</value>
  1503. </item>
  1504. </choices>
  1505. </select>
  1506. <select id="checkbox5" ref="/root/send/item1/chktrnpt" class="checkbox_search" navindex="25" overflow="visible" appearance="full" style="left:819px; top:126px; width:65px; height:19px; ">
  1507. <choices>
  1508. <item>
  1509. <label>희귀난치</label>
  1510. <value>Y</value>
  1511. </item>
  1512. </choices>
  1513. </select>
  1514. <caption id="caption46" class="search_name" style="left:447px; top:82px; width:73px; height:17px; ">진료과</caption>
  1515. <select1 id="cmd_orddeptcd" ref="/root/send/item1/orddeptcd" class="combo_search" navindex="14" appearance="minimal" itemcount="20" showvalue="false" style="left:526px; top:82px; width:95px; height:19px; ">
  1516. <!-- <itemset nodeset="/root/init/P0287list[P0287 or P0288]">-->
  1517. <choices>
  1518. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  1519. <label ref="nm"/>
  1520. <value ref="cd"/>
  1521. </itemset>
  1522. </choices>
  1523. <script type="javascript" ev:event="xforms-value-changed">
  1524. <![CDATA[
  1525. var orddeptcd = model.getValue("/root/send/item1/orddeptcd");
  1526. if (orddeptcd) {
  1527. cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp='" + orddeptcd + "' or dp='-']";
  1528. cmb_orddrid.disabled = false;
  1529. } else {
  1530. cmb_orddrid.disabled = true;
  1531. }
  1532. model.setValue("/root/send/item1/orddrid", ""); // 주치의 선택을 초기화한다.
  1533. model.refresh();
  1534. ]]>
  1535. </script>
  1536. </select1>
  1537. <caption id="caption48" class="search_name" style="left:812px; top:82px; width:84px; height:17px; ">상병조회</caption>
  1538. <caption id="caption49" class="search_name" style="left:812px; top:35px; width:84px; height:17px; ">특정기호</caption>
  1539. <input id="input12" ref="/root/send/item1/diagcdto" class="input_search" navindex="4" imemode="disabled" _chartype="upper" style="left:1040px; top:82px; width:85px; height:19px; "/>
  1540. <caption id="caption50" style="left:1026px; top:85px; width:11px; height:16px; ">~</caption>
  1541. <select1 id="combo12" ref="/root/send/item1/spclmark" class="combo_search" navindex="14" appearance="minimal" editmode="search" itemcount="20" style="left:941px; top:34px; width:55px; height:19px; ">
  1542. <!-- <itemset nodeset="/root/init/P0287list[P0287 or P0288]">-->
  1543. <choices>
  1544. <itemset nodeset="/root/init/P0319list/P0319">
  1545. <label ref="cdid"/>
  1546. <value ref="cdid"/>
  1547. </itemset>
  1548. </choices>
  1549. </select1>
  1550. <select1 id="combo14" ref="/root/send/item1/spclmark" class="combo_search" navindex="14" appearance="minimal" editmode="search" itemcount="20" style="left:1000px; top:34px; width:180px; height:19px; color:#99cc00; ">
  1551. <!-- <itemset nodeset="/root/init/P0287list[P0287 or P0288]">-->
  1552. <choices>
  1553. <itemset nodeset="/root/init/P0319list/P0319">
  1554. <label ref="cdnm"/>
  1555. <value ref="cdid"/>
  1556. </itemset>
  1557. </choices>
  1558. </select1>
  1559. <select id="checkbox6" ref="/root/send/item1/chkretdocu" class="checkbox_search" navindex="25" overflow="visible" appearance="full" style="left:890px; top:126px; width:45px; height:19px; ">
  1560. <choices>
  1561. <item>
  1562. <label>반송</label>
  1563. <value>Y</value>
  1564. </item>
  1565. </choices>
  1566. </select>
  1567. <button id="button116" class="icon_up" style="left:159px; top:10px; width:10px; height:9px; ">
  1568. <caption/>
  1569. <script type="javascript" ev:event="onclick">
  1570. <![CDATA[
  1571. // 2008.06.05 neverdie 청구년월 다음월 클릭
  1572. // 현재청구월에서 다음달을 구한다.
  1573. var nowym = model.getValue("/root/send/item1/clamym");
  1574. var upym;
  1575. upym = pidfCalMonth(1, nowym);
  1576. model.setValue("/root/send/item1/clamym", upym);
  1577. model.setValue("/root/send/item1/clamtoym", upym);
  1578. ipt_clamym.refresh();
  1579. ipt_clamtoym.refresh();
  1580. pidfGetClamdg();
  1581. addComboItem("cmb_clamdg", "전체", "", "above");
  1582. ]]>
  1583. </script>
  1584. </button>
  1585. <button id="button73" class="icon_down" style="left:159px; top:20px; width:10px; height:9px; ">
  1586. <caption/>
  1587. <script type="javascript" ev:event="onclick">
  1588. <![CDATA[
  1589. // 2008.06.05 neverdie 청구년월 이전월 클릭
  1590. // 현재청구월에서 이전달을 구한다.
  1591. var nowym = model.getValue("/root/send/item1/clamym");
  1592. var downym;
  1593. downym = pidfCalMonth(-1, nowym);
  1594. model.setValue("/root/send/item1/clamym", downym);
  1595. model.setValue("/root/send/item1/clamtoym", downym);
  1596. ipt_clamym.refresh();
  1597. ipt_clamtoym.refresh();
  1598. pidfGetClamdg();
  1599. addComboItem("cmb_clamdg", "전체", "", "above");
  1600. ]]>
  1601. </script>
  1602. </button>
  1603. <input id="input10" ref="/root/send/item1/diagcdfr" class="input_search" navindex="12" imemode="disabled" inputtype="button" _chartype="upper" style="left:940px; top:82px; width:83px; height:19px; ">
  1604. <script type="javascript" ev:event="onkeypress">
  1605. <![CDATA[
  1606. //if (event.keyCode == "13") { // Enter 입력 시에
  1607. // if (input10.currentText.length > 1) { // 2글자 이상이면
  1608. // setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  1609. // fGetOutAftJudgTrgtManList();
  1610. // }
  1611. //}
  1612. ]]>
  1613. </script>
  1614. <script type="javascript" ev:event="onbuttonclick">
  1615. <![CDATA[
  1616. model.removeNodeset("/root/hidden/sppiz00400/rslt");
  1617. model.makeNode("/root/hidden/sppiz00400/rslt/diagcd");
  1618. model.makeNode("/root/hidden/sppiz00400/rslt/diaghngnm");
  1619. model.makeNode("/root/hidden/sppiz00400/rslt/diagengnm");
  1620. model.resetInstanceNode("/root/hidden/sppiz00400/cond");
  1621. model.setValue("/root/hidden/sppiz00400/cond/basedd", getCurrentDate()); // (dateHelper.js) 현재날짜 반환
  1622. model.setValue("/root/hidden/sppiz00400/cond/diagcd", model.getValue("/root/send/item1/diagcd"));
  1623. model.setValue("/root/hidden/sppiz00400/cond/diagnm", "");
  1624. model.setValue("/root/hidden/sppiz00400/cond/selectedrdodiagkind","3"); // 사용자가 직접검색하여 입력 할수 있도록 임의의 값(3)을 넣어줌
  1625. modal("SPPIZ00400", "1", "10", "10", "SPPIZ00400", "/root/hidden/sppiz00400/cond", "/root/init", "", ""); // SPPIZ00400_상병코드조회.xrw
  1626. /*
  1627. var clamkey = model.getValue("/root/main/item1/clbs/clamkey");
  1628. if (clamkey) { // 조회된 심사대상자가 있음
  1629. fSortDiagNo(true);
  1630. } */
  1631. ]]>
  1632. </script>
  1633. <script type="javascript" ev:event="xforms-value-changed">
  1634. <![CDATA[
  1635. model.setValue("/root/send/item1/diagcdto", model.getValue("/root/send/item1/diagcdfr"));
  1636. model.refresh();
  1637. ]]>
  1638. </script>
  1639. </input>
  1640. <select1 id="cmb_clamdg" ref="/root/send/item1/clamdg" appearance="minimal" style="left:257px; top:10px; width:62px; height:19px; ">
  1641. <choices>
  1642. <itemset nodeset="/root/init/clamdg/clamdglist">
  1643. <label ref="clamdgnm"/>
  1644. <value ref="clamdgcd"/>
  1645. </itemset>
  1646. </choices>
  1647. </select1>
  1648. <select1 id="combo1" ref="/root/send/item1/surecd" class="combo_search" navindex="10" appearance="minimal" showvalue="true" style="left:340px; top:82px; width:99px; height:19px; ">
  1649. <choices>
  1650. <itemset nodeset="/root/init/P0486list/P0486">
  1651. <label ref="cdnm"/>
  1652. <value ref="cdid"/>
  1653. </itemset>
  1654. </choices>
  1655. </select1>
  1656. <caption id="caption3" class="search_name" style="left:260px; top:82px; width:86px; height:17px; ">필수심사</caption>
  1657. <select1 id="cmb_patmode" ref="/root/send/item1/patmode" class="radio_search" navindex="11" appearance="full" cols="2" rows="2" vcellspacing="0" overflow="visible" style="left:172px; top:82px; width:88px; height:19px; ">
  1658. <choices>
  1659. <item>
  1660. <label>번호</label>
  1661. <value>1</value>
  1662. </item>
  1663. <item>
  1664. <label>성명</label>
  1665. <value>2</value>
  1666. </item>
  1667. </choices>
  1668. <script type="javascript" ev:event="xforms-select">
  1669. <![CDATA[
  1670. model.setValue("/root/send/item1/choicdsrch2", "");
  1671. ipt_choicdsrch.refresh();
  1672. if (model.getValue("/root/send/item1/choicdsrch1") == "1") {
  1673. fGetSnglcalcscorcd();
  1674. }
  1675. ]]>
  1676. </script>
  1677. </select1>
  1678. <select id="chk_vall" ref="/root/send/item7/vall" class="checkbox_search" navindex="25" overflow="visible" appearance="full" style="left:890px; top:34px; width:45px; height:19px; ">
  1679. <choices>
  1680. <item>
  1681. <label>전체</label>
  1682. <value>Y</value>
  1683. </item>
  1684. </choices>
  1685. </select>
  1686. <caption id="caption7" class="search_name" style="left:3px; top:127px; width:84px; height:17px; ">오류체크</caption>
  1687. <select1 id="cmb_afterr" ref="/root/send/item1/aftjudgerrid" disabled="true" appearance="minimal" style="left:84px; top:127px; width:537px; height:19px; ">
  1688. <choices>
  1689. <itemset nodeset="/root/init/tmp/aftjudgerr/aftjudgerrlist">
  1690. <label ref="nm"/>
  1691. <value ref="cd"/>
  1692. </itemset>
  1693. </choices>
  1694. </select1>
  1695. <caption id="caption11" class="search_name" style="left:812px; top:58px; width:84px; height:17px; ">약품목수</caption>
  1696. <caption id="caption28" class="search_name" style="left:3px; top:151px; width:84px; height:17px; ">삭감처방</caption>
  1697. <select id="checkbox7" ref="/root/send/item1/cutprcp" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:82px; top:151px; width:115px; height:19px; ">
  1698. <choices>
  1699. <item>
  1700. <label>삭감확인(대상자)</label>
  1701. <value>Y</value>
  1702. </item>
  1703. </choices>
  1704. </select>
  1705. <select id="checkbox8" ref="/root/send/item1/chkerdeptyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:939px; top:106px; width:78px; height:19px; ">
  1706. <choices>
  1707. <item>
  1708. <label>응급실외퇴</label>
  1709. <value>Y</value>
  1710. </item>
  1711. </choices>
  1712. </select>
  1713. <select id="checkbox9" ref="/root/send/item1/cutviewyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:200px; top:151px; width:115px; height:19px; ">
  1714. <choices>
  1715. <item>
  1716. <label>삭감확인(명세서)</label>
  1717. <value>Y</value>
  1718. </item>
  1719. </choices>
  1720. <script type="javascript" ev:event="xforms-value-changed">
  1721. <![CDATA[
  1722. if(model.getValue("/root/send/item1/cutviewyn") == "Y"){
  1723. radio2.disabled = false;
  1724. model.setValue("/root/send/item1/cutprcpsel", "1");
  1725. model.refreshpart("/root/send/item1/cutprcpsel");
  1726. //model.refresh();
  1727. }else{
  1728. radio2.disabled = true;
  1729. model.setValue("/root/send/item1/cutprcpsel", "");
  1730. model.refreshpart("/root/send/item1/cutprcpsel");
  1731. //model.refresh();
  1732. }
  1733. ]]>
  1734. </script>
  1735. </select>
  1736. <caption id="caption29" class="hand" style="left:500px; top:150px; width:236px; height:18px; vertical-align:middle; ">과거 6개월간의 삭감을 조회합니다.</caption>
  1737. <select id="checkbox11" ref="/root/send/item1/selpiduseyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:1020px; top:146px; width:161px; height:19px; ">
  1738. <choices>
  1739. <item>
  1740. <label>등록번호 타조건 AND검색</label>
  1741. <value>Y</value>
  1742. </item>
  1743. </choices>
  1744. </select>
  1745. <caption id="caption47" class="search_name" style="left:3px; top:105px; width:84px; height:17px; ">행위처방</caption>
  1746. <select id="chkOneday" ref="/root/send/item1/chkoneover" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:82px; top:105px; width:63px; height:19px; ">
  1747. <choices>
  1748. <item>
  1749. <label>1일이상</label>
  1750. <value>Y</value>
  1751. </item>
  1752. </choices>
  1753. </select>
  1754. <select id="chkonetimes" ref="/root/send/item1/chkonetimesover" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:150px; top:105px; width:65px; height:19px; ">
  1755. <choices>
  1756. <item>
  1757. <label>1회이상</label>
  1758. <value>Y</value>
  1759. </item>
  1760. </choices>
  1761. </select>
  1762. <caption id="caption51" class="search_name" style="left:260px; top:105px; width:84px; height:17px; ">내원일수</caption>
  1763. <select id="checkbox12" ref="/root/send/item1/chktwoday" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:338px; top:105px; width:65px; height:19px; ">
  1764. <choices>
  1765. <item>
  1766. <label>2일이상</label>
  1767. <value>Y</value>
  1768. </item>
  1769. </choices>
  1770. </select>
  1771. <select id="checkbox13" ref="/root/send/item1/clamsameyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:1020px; top:106px; width:123px; height:19px; ">
  1772. <choices>
  1773. <item>
  1774. <label>진료개시일 불일치</label>
  1775. <value>Y</value>
  1776. </item>
  1777. </choices>
  1778. </select>
  1779. <select id="checkbox14" ref="/root/send/item1/mpsnouseyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:1020px; top:126px; width:150px; height:19px; ">
  1780. <choices>
  1781. <item>
  1782. <label>처방전 교부번호 불일치</label>
  1783. <value>Y</value>
  1784. </item>
  1785. </choices>
  1786. </select>
  1787. <select id="chk_reloadyn" ref="/root/temp/reloadyn" class="checkbox_search" navindex="22" overflow="visible" appearance="full" style="left:939px; top:126px; width:70px; height:19px; ">
  1788. <choices>
  1789. <item>
  1790. <label>완료제외</label>
  1791. <value>Y</value>
  1792. </item>
  1793. </choices>
  1794. </select>
  1795. <select id="chk_diagcdall" ref="/root/send/item1/diagcdall" class="checkbox_search" navindex="26" overflow="visible" appearance="full" style="left:890px; top:82px; width:45px; height:19px; ">
  1796. <choices>
  1797. <item>
  1798. <label>전체</label>
  1799. <value>Y</value>
  1800. </item>
  1801. </choices>
  1802. </select>
  1803. <select id="checkbox15" ref="/root/send/item1/virusb" class="checkbox_search" navindex="25" overflow="visible" appearance="full" style="left:819px; top:146px; width:65px; height:19px; ">
  1804. <choices>
  1805. <item>
  1806. <label>B형간염</label>
  1807. <value>Y</value>
  1808. </item>
  1809. </choices>
  1810. </select>
  1811. <caption id="caption52" class="search_name" style="left:627px; top:105px; width:82px; height:17px; ">자보회사</caption>
  1812. <select1 id="cmb_insucmno" ref="/root/send/item1/insucmno" class="combo_search" navindex="21" appearance="minimal" showvalue="true" style="left:705px; top:106px; width:97px; height:19px; ">
  1813. <choices>
  1814. <itemset nodeset="/root/init/PK032list/PK032">
  1815. <label ref="cdnm"/>
  1816. <value ref="cdid"/>
  1817. </itemset>
  1818. </choices>
  1819. </select1>
  1820. <button id="button9" class="icon_up" style="left:243px; top:10px; width:10px; height:9px; ">
  1821. <caption/>
  1822. <script type="javascript" ev:event="onclick">
  1823. <![CDATA[
  1824. // 2008.06.05 neverdie 청구년월 다음월 클릭
  1825. // 현재청구월에서 다음달을 구한다.
  1826. var nowym = model.getValue("/root/send/item1/clamtoym");
  1827. var upym;
  1828. upym = pidfCalMonth(1, nowym);
  1829. model.setValue("/root/send/item1/clamtoym", upym);
  1830. ipt_clamtoym.refresh();
  1831. pidfGetClamdg();
  1832. addComboItem("cmb_clamdg", "전체", "", "above");
  1833. ]]>
  1834. </script>
  1835. </button>
  1836. <button id="button10" class="icon_down" style="left:243px; top:20px; width:10px; height:9px; ">
  1837. <caption/>
  1838. <script type="javascript" ev:event="onclick">
  1839. <![CDATA[
  1840. // 2008.06.05 neverdie 청구년월 이전월 클릭
  1841. // 현재청구월에서 이전달을 구한다.
  1842. var nowym = model.getValue("/root/send/item1/clamtoym");
  1843. var downym;
  1844. downym = pidfCalMonth(-1, nowym);
  1845. model.setValue("/root/send/item1/clamtoym", downym);
  1846. ipt_clamtoym.refresh();
  1847. pidfGetClamdg();
  1848. addComboItem("cmb_clamdg", "전체", "", "above");
  1849. ]]>
  1850. </script>
  1851. </button>
  1852. <input id="ipt_clamtoym" ref="/root/send/item1/clamtoym" class="input_search" navindex="1" inputtype="date" format="yyyy-mm" style="left:172px; top:10px; width:69px; height:19px; text-align:center; ">
  1853. <script type="javascript" ev:event="xforms-value-changed">
  1854. <![CDATA[
  1855. pidfGetClamdg();
  1856. addComboItem("cmb_clamdg", "전체", "", "above");
  1857. ]]>
  1858. </script>
  1859. </input>
  1860. </group>
  1861. <group id="grp_judgmemo" visibility="hidden" style="left:0px; top:270px; width:1186px; height:435px; border-color:#333333; border-style:solid; ">
  1862. <line id="line4" class="line_1" style="x1:0px; y1:20px; x2:1184px; y2:20px; "/>
  1863. <caption id="caption26" class="tit_2" style="left:5px; top:5px; width:113px; height:14px; ">심사대상자 메모</caption>
  1864. <textarea id="tar_judgmemo" ref="/root/hidden/clbs/judgmemo" style="left:2px; top:25px; width:1180px; height:374px; ">
  1865. <script type="javascript" ev:event="DOMFocusIn">
  1866. <![CDATA[
  1867. ]]>
  1868. </script>
  1869. </textarea>
  1870. <button id="btn_memocancel" class="btn4_letter2" style="left:1114px; top:409px; width:56px; height:22px; ">
  1871. <caption>취소</caption>
  1872. <script type="javascript" ev:event="DOMActivate">
  1873. <![CDATA[
  1874. grp_judgmemo.visible = false;
  1875. ]]>
  1876. </script>
  1877. </button>
  1878. <button id="btn_memosave" class="btn4_letter2" style="left:1055px; top:409px; width:56px; height:22px; ">
  1879. <caption>저장</caption>
  1880. <script type="javascript" ev:event="DOMActivate">
  1881. <![CDATA[
  1882. if (grd_specclbs.visible == true) { // 선별심사 모드인 경우
  1883. messageBox("선별심사 모드에서는 심사메모를 저장할 수", "I004"); ///없습니다.
  1884. return;
  1885. }
  1886. model.removeNodeset("/root/send/item2");
  1887. model.makeNode("/root/send/item2");
  1888. var row = grd_clbsmast.row;
  1889. var clamkey = model.getValue("/root/main/list1/clbs[" + row + "]/clamkey");
  1890. var clamym = model.getValue("/root/main/list1/clbs[" + row + "]/clamym");
  1891. var clamdg = model.getValue("/root/main/list1/clbs[" + row + "]/clamdg");
  1892. var pid = model.getValue("/root/main/list1/clbs[" + row + "]/pid");
  1893. var pidsn = model.getValue("/root/main/list1/clbs[" + row + "]/pidsn");
  1894. var judgmemo = model.getValue("/root/hidden/clbs/judgmemo"); // 현재 창에 입력된 내용
  1895. if (judgmemo == model.getValue("/root/main/list1/clbs[" + row + "]/judgmemo")) {
  1896. messageBox("변경된 내용이", "I004"); ///변경된 내용이 없습니다.
  1897. return;
  1898. }
  1899. model.makeValue("/root/send/item2/clsp/status", "d");
  1900. model.makeValue("/root/send/item2/clsp/clamym", clamym);
  1901. model.makeValue("/root/send/item2/clsp/clamdg", clamdg);
  1902. model.makeValue("/root/send/item2/clsp/pid", pid);
  1903. model.makeValue("/root/send/item2/clsp/pidsn", pidsn);
  1904. model.makeValue("/root/send/item2/clsp/spclcd", "MX999");
  1905. model.makeValue("/root/send/item2/clsp/spclspec", "");
  1906. model.makeValue("/root/send/item2/clsp/unitflag", "M");
  1907. model.makeValue("/root/send/item2/clsp/usermemoyn", "Y");
  1908. var insCnt = 1;
  1909. var spclspec = judgmemo;
  1910. var iSpclCdTotLength = getStringLength(spclspec); // (stringHelper.js) 문자열의 길이를 구한다.
  1911. var insCharTotCnt = 0; // 특정내역으로 잘라진 총 글자 수
  1912. if (iSpclCdTotLength > 350) { // 새로 입력된 특정코드가 700byte를 넘는다.
  1913. // 영문(700자), 한글(350자) 길이로 잘라서 n개의 특정코드를 만든다.
  1914. var iLen = 0; // 특정내역 길이가 700 byte가 되었는지 계산
  1915. var iStartInx = 0; // 특정내역 시작 index
  1916. var iCharCnt = 0; // 몇글자로 구성되는지 계산
  1917. for (var j=0; j < spclspec.length; j++) {
  1918. var sBit = spclspec.charAt(j);
  1919. iCharCnt++;
  1920. if (escape(sBit).length > 4) {
  1921. iLen = iLen + 2;
  1922. } else {
  1923. iLen = iLen + 1;
  1924. }
  1925. if (iLen == 350 || iLen > 350) { // 영문(700자), 한글(350자)
  1926. insCnt++;
  1927. if (iLen == 350) { // 700byte로 길이가 끝난 경우
  1928. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/status", "i");
  1929. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamym", clamym);
  1930. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamdg", clamdg);
  1931. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pid", pid);
  1932. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pidsn", pidsn);
  1933. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclcd", "MX999");
  1934. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclspec", spclspec.substr(iStartInx, iCharCnt));
  1935. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/unitflag", "M");
  1936. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/usermemoyn", "Y");
  1937. iStartInx += iCharCnt;
  1938. insCharTotCnt += 350;
  1939. }
  1940. else if (iLen > 350) { // 영문(700자), 한글(350자)를 넘는 경우
  1941. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/status", "i");
  1942. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamym", clamym);
  1943. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamdg", clamdg);
  1944. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pid", pid);
  1945. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pidsn", pidsn);
  1946. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclcd", "MX999");
  1947. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclspec", spclspec.substr(iStartInx, iCharCnt - 1));
  1948. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/unitflag", "M");
  1949. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/usermemoyn", "Y");
  1950. iStartInx += (iCharCnt - 1);
  1951. j--;
  1952. insCharTotCnt += 349;
  1953. }
  1954. iCharCnt = 0;
  1955. iLen = 0;
  1956. }
  1957. }
  1958. if (iSpclCdTotLength != insCharTotCnt) {
  1959. insCnt++;
  1960. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/status", "i");
  1961. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamym", clamym);
  1962. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamdg", clamdg);
  1963. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pid", pid);
  1964. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pidsn", pidsn);
  1965. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclcd", "MX999");
  1966. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclspec", spclspec.substring(iStartInx, spclspec.length));
  1967. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/unitflag", "M");
  1968. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/usermemoyn", "Y");
  1969. }
  1970. var rsltNode = instance1.selectSingleNode("/root/send/item3");
  1971. if (rsltNode != null) {
  1972. insCnt = 1;
  1973. for (var i = 1; i <= rsltNode.childNodes.length; i++) {
  1974. model.makeNode("/root/send/item2/clsp[" + ++insCnt + "]");
  1975. model.copyNode("/root/send/item2/clsp[" + insCnt + "]", "/root/send/item3/clsp[" + i + "]");
  1976. }
  1977. }
  1978. }
  1979. // else { // 새로 입력된 특정코드는 700byte를 넘지 않는다.
  1980. else if (iSpclCdTotLength > 0) { // 새로 추가된 내용이 있다.
  1981. insCnt = 2;
  1982. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/status", "i");
  1983. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamym", clamym);
  1984. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/clamdg", clamdg);
  1985. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pid", pid);
  1986. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/pidsn", pidsn);
  1987. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclcd", "MX999");
  1988. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/spclspec", spclspec);
  1989. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/unitflag", "M");
  1990. model.makeValue("/root/send/item2/clsp[" + insCnt + "]/usermemoyn", "Y");
  1991. }
  1992. var clspList = instance1.selectSingleNode("/root/send/item2/clsp");
  1993. if (clspList != null) {
  1994. //if (grd_specclbs.visible == true) { // 선별심사 모드인 경우
  1995. // model.setValue("/root/main/list1/clbs[" + grd_specclbs.row + "]/judgmemo", model.getValue("/root/hidden/clbs/judgmemo"));
  1996. //} else {
  1997. model.setValue("/root/main/list1/clbs[" + grd_clbsmast.row + "]/judgmemo", model.getValue("/root/hidden/clbs/judgmemo"));
  1998. //}
  1999. //alert(instance1.selectNodesXml("/root/send/item2"));
  2000. submit("TXPID20201");
  2001. grp_judgmemo.visible = false;
  2002. } else {
  2003. messageBox("심사자 메모를", "C001"); ///심사자 메모를 입력하십시오.
  2004. }
  2005. model.removeNodeset("/root/send/item2");
  2006. model.makeNode("/root/send/item2");
  2007. ////////////////////////////////////////////////////////////////////////////////////
  2008. /*
  2009. if (judgmemo.isByteSize(200)) { // (stringHelper.js) 문자열의 Byte 크기가 제한값을 벗어나는지 체크 (벗어나면 false 리턴)
  2010. model.setValue("/root/send/clsp/clamkey", model.getValue("/root/main/list1/clbs[" + grd_clbsmast.row + "]/clamkey"));
  2011. if (submit("TXPID20401")) {
  2012. model.resetInstanceNode("/root/send/clsp");
  2013. model.setValue("/root/main/list1/clbs[" + grd_clbsmast.row + "]/judgmemo", judgmemo);
  2014. model.refresh();
  2015. grp_judgmemo.visible = false;
  2016. }
  2017. } else {
  2018. messageBox("제한길이(영문 1332자, 한글 666자)를", "E003"); ///제한길이(영문 1332자, 한글 666자)를 초과하였습니다
  2019. }
  2020. */
  2021. ]]>
  2022. </script>
  2023. </button>
  2024. </group>
  2025. <button id="button3" class="btn2_letter5" style="left:1113px; top:180px; width:75px; height:19px; ">
  2026. <caption>환경초기화</caption>
  2027. <script type="javascript" ev:event="DOMActivate">
  2028. <![CDATA[
  2029. var srchmode = model.getValue("/root/hidden/clbs/srchmode");
  2030. if (srchmode == "specclbs") { // 선별심사 모드인 경우
  2031. var selrow = grd_specclbs.selectedRow(0); // row 선택 후 타이틀 부분 조정시 row = 0으로 바뀌므로 selectedRow로 체크함
  2032. var compsnm = "grd_specclbs";
  2033. //var refdata = "^judgendyn^orddeptcd^pid^patnm^diagnm^spclmark^stage^orddrid^ordcd^ordnm^payflag^drugqtytims^dayno^judgmemo^orddt^execdt^rsrvdt^gender^patage^insukindcd^suppkindcd^payownbrate^spcljudgyn^clamkey^lockyn"; // Grid의 칼럼명
  2034. //var sizedata = "^62^43^66^43^85^39^55^42^70^90^28^43^20^70^70^70^104^20^30^30^30^30^0^0^0"; // Grid의 칼럼Size
  2035. var refdata = gSpecclbs_refdata; // 20100420 초기설정 담아둔 글로벌 변수에서 가져온다. Grid의 칼럼명
  2036. var sizedata = gSpecclbs_sizedata; // 20100420 초기설정 담아둔 글로벌 변수에서 가져온다. Grid의 칼럼Size
  2037. var grdobj = document.controls.item(compsnm);
  2038. var refarr = refdata.split("^");
  2039. var sizearr = sizedata.split("^");
  2040. for (var i = 0; i < refarr.length; i++) {
  2041. var colcnt = grdobj.colref("" + refarr[i] + "");
  2042. grdobj.colMove(i, colcnt, "before", false);
  2043. var size = sizearr[i];
  2044. grdobj.colWidth(i) = eval(size);
  2045. }
  2046. grdobj.rebuild();
  2047. model.setFocus("grd_specclbs");
  2048. grd_specclbs.select(selrow, 1) = true;
  2049. grd_specclbs.row = selrow; // 환경초기화 이후 row = -1로 설정되므로
  2050. grd_clbsmast.visible = false;
  2051. grd_specclbs.visible = true;
  2052. cap_judgtrgtman.text = "선별심사 대상자";
  2053. } else {
  2054. var selrow = grd_clbsmast.selectedRow(0); // row 선택 후 타이틀 부분 조정시 row = 0으로 바뀌므로 selectedRow로 체크함
  2055. var compsnm = "grd_clbsmast";
  2056. //var refdata = "^docuseqno^clamym^clamdg^clamflagcd^orddeptcd^pid^pidsn^patnm^gender^patage^insukindcd^suppkindcd^payownbrate^diagnm^spclmark^stage^judgmemo^orddrid^judgrid^lastupdtrid^spcljudgyn^opyn^realtmjudg^oprcp^totordamt^judgenddd^judgendyn^clamendyn^ordfromdd^ordtodd^prockindflagyn^insuno^clamno^acptno^judgdg^prepdata^ownbamt^fstrgstdt^clamkey^rowstat^lockyn"; // Grid의 칼럼명
  2057. //var sizedata = "^42^57^33^35^43^67^18^43^20^30^30^30^30^51^38^55^65^42^42^42^20^20^42^20^67^67^52^72^67^67^^20^75^78^54^54^30^67^67^37^56^100"; // Grid의 칼럼Size
  2058. var refdata = gClbsmast_refdata; // 20100420 초기설정 담아둔 글로벌 변수에서 가져온다. Grid의 칼럼명
  2059. var sizedata = gClbsmast_sizedata; // 20100420 초기설정 담아둔 글로벌 변수에서 가져온다. Grid의 칼럼Size
  2060. var grdobj = document.controls.item(compsnm);
  2061. var refarr = refdata.split("^");
  2062. var sizearr = sizedata.split("^");
  2063. for (var i = 0; i < refarr.length; i++) {
  2064. var colcnt = grdobj.colref("" + refarr[i] + "");
  2065. grdobj.colMove(i, colcnt, "before", false);
  2066. var size = sizearr[i];
  2067. grdobj.colWidth(i) = eval(size);
  2068. }
  2069. grdobj.rebuild();
  2070. model.setFocus("grd_clbsmast");
  2071. grd_clbsmast.select(selrow, 1) = true;
  2072. grd_clbsmast.row = selrow; // 환경초기화 이후 row = -1로 설정되므로
  2073. grd_clbsmast.visible = true;
  2074. grd_specclbs.visible = false;
  2075. cap_judgtrgtman.text = "사후심사 대상자";
  2076. }
  2077. ]]>
  2078. </script>
  2079. </button>
  2080. <button id="btn_logview" class="btn2_letter8" style="left:617px; top:180px; width:108px; height:19px; ">
  2081. <caption>생성삭제로그확인</caption>
  2082. <script type="javascript" ev:event="DOMActivate">
  2083. <![CDATA[
  2084. var todd = getCurrentDate();
  2085. todd = todd.toDate().getAddDate(+1, 'D');
  2086. zsbfOpenBatchLogPopup("clamcretmngtmgr.ClamDataCretMain",getCurrentDate(),todd.getDateFormat());
  2087. ]]>
  2088. </script>
  2089. </button>
  2090. <button id="btn_judgprcsremv" class="btn2_letter5" style="left:954px; top:180px; width:75px; height:19px; ">
  2091. <caption>심사중해제</caption>
  2092. <script type="javascript" ev:event="DOMActivate">
  2093. <![CDATA[
  2094. fSetJudgEndYN("A");
  2095. ]]>
  2096. </script>
  2097. </button>
  2098. <button id="btn_excelsave" class="btn2_letter4" style="left:1048px; top:180px; width:64px; height:19px; ">
  2099. <caption>엑셀저장</caption>
  2100. <script type="javascript" ev:event="DOMActivate">
  2101. <![CDATA[
  2102. if (grd_specclbs.visible == true) { // 선별심사 모드인 경우
  2103. if (grd_specclbs.rows > 1) {
  2104. var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  2105. if (fileName != "") {
  2106. //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
  2107. grd_specclbs.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
  2108. }
  2109. } else {
  2110. messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
  2111. }
  2112. } else {
  2113. if (grd_clbsmast.rows > 1) {
  2114. var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  2115. if (fileName != "") {
  2116. //datagrid.saveExcel의 7번째 인자 값(boolean) : 그리드의 col type=combo일 경우 엑셀저장내용이 lable 또는 value로 설정 함
  2117. grd_clbsmast.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
  2118. }
  2119. } else {
  2120. messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
  2121. }
  2122. }
  2123. ]]>
  2124. </script>
  2125. </button>
  2126. <button id="button4" class="btn2_letter3" style="left:310px; top:180px; width:53px; height:19px; ">
  2127. <caption>셀카피</caption>
  2128. <script type="javascript" ev:event="onclick">
  2129. <![CDATA[
  2130. var srchmode = model.getValue("/root/hidden/clbs/srchmode");
  2131. if (srchmode == "specclbs") { // 선별심사 모드인 경우
  2132. grd_specclbs.attribute("selectionmode") = "free";
  2133. } else {
  2134. grd_clbsmast.attribute("selectionmode") = "free";
  2135. }
  2136. ]]>
  2137. </script>
  2138. </button>
  2139. <button id="button5" class="btn2_letter3" style="left:364px; top:180px; width:53px; height:19px; ">
  2140. <caption>열카피</caption>
  2141. <script type="javascript" ev:event="onclick">
  2142. <![CDATA[
  2143. var srchmode = model.getValue("/root/hidden/clbs/srchmode");
  2144. if (srchmode == "specclbs") { // 선별심사 모드인 경우
  2145. grd_specclbs.attribute("selectionmode") = "bycol";
  2146. } else {
  2147. grd_clbsmast.attribute("selectionmode") = "bycol";
  2148. }
  2149. ]]>
  2150. </script>
  2151. </button>
  2152. <button id="btn_cretdel" class="btn2_letter4" _auth="X" style="left:552px; top:180px; width:64px; height:19px; ">
  2153. <caption>생성삭제</caption>
  2154. <script type="javascript" ev:event="DOMActivate">
  2155. <![CDATA[
  2156. var srchmode = model.getValue("/root/hidden/clbs/srchmode");
  2157. var deptcd = "";
  2158. if (srchmode == "specclbs") { // 선별심사 모드인 경우
  2159. deptcd = grd_specclbs.labelMatrix(grd_specclbs.row, grd_specclbscolRef("orddeptcd"));
  2160. } else {
  2161. deptcd = grd_clbsmast.labelMatrix(grd_clbsmast.row, grd_clbsmast.colRef("orddeptcd"));
  2162. }
  2163. pidfDelClamData("O", deptcd); // SMPID20000.js
  2164. ]]>
  2165. </script>
  2166. <hint>
  2167. <![CDATA[청구생성 자료삭제]]>
  2168. </hint>
  2169. </button>
  2170. <button id="btn_judgendyn" class="btn2_letter4" _auth="X" style="left:824px; top:180px; width:64px; height:19px; ">
  2171. <caption>일괄완료</caption>
  2172. <script type="javascript" ev:event="DOMActivate">
  2173. <![CDATA[
  2174. // "일괄완료"
  2175. // 20090921 박창원 일괄완료의 플레그 값을 변경
  2176. fSetJudgEndYN("Z");
  2177. ]]>
  2178. </script>
  2179. <hint>
  2180. <![CDATA[심사완료]]>
  2181. </hint>
  2182. </button>
  2183. <button id="button6" class="btn2_letter3" style="left:418px; top:180px; width:53px; height:19px; ">
  2184. <caption>행카피</caption>
  2185. <script type="javascript" ev:event="onclick">
  2186. <![CDATA[
  2187. var srchmode = model.getValue("/root/hidden/clbs/srchmode");
  2188. if (srchmode == "specclbs") { // 선별심사 모드인 경우
  2189. grd_specclbs.attribute("selectionmode") = "byrow";
  2190. } else {
  2191. grd_clbsmast.attribute("selectionmode") = "byrow";
  2192. }
  2193. ]]>
  2194. </script>
  2195. </button>
  2196. <button id="button2" class="btn2_letter4" _auth="X" style="left:472px; top:180px; width:64px; height:19px; ">
  2197. <caption>제출자료</caption>
  2198. <script type="javascript" ev:event="DOMActivate">
  2199. <![CDATA[
  2200. open("SPPID25000", "","","","ccc","","","","");
  2201. ]]>
  2202. </script>
  2203. </button>
  2204. <select1 id="radio1" ref="/root/send/item1/inoutflag" class="radio_search" navindex="11" appearance="full" cols="3" overflow="visible" style="left:891px; top:62px; width:164px; height:21px; ">
  2205. <choices>
  2206. <item>
  2207. <label>원내만</label>
  2208. <value>1</value>
  2209. </item>
  2210. <item>
  2211. <label>원외</label>
  2212. <value>2</value>
  2213. </item>
  2214. <item>
  2215. <label>미적용</label>
  2216. <value>3</value>
  2217. </item>
  2218. </choices>
  2219. <script type="javascript" ev:event="xforms-select">
  2220. <![CDATA[
  2221. // model.resetInstanceNode("/root/send/item1/choicdsrch2");
  2222. model.setValue("/root/send/item1/choicdsrch2", "");
  2223. ipt_choicdsrch.refresh();
  2224. if (model.getValue("/root/send/item1/choicdsrch1") == "1") {
  2225. fGetSnglcalcscorcd();
  2226. }
  2227. ]]>
  2228. </script>
  2229. </select1>
  2230. <input id="input1" ref="/root/send/item1/drugcnt" style="left:1110px; top:62px; width:30px; height:19px; "/>
  2231. <caption id="caption4" style="left:1058px; top:62px; width:55px; height:20px; ">약품목수</caption>
  2232. <caption id="caption5" style="left:1141px; top:62px; width:44px; height:20px; ">개 이상</caption>
  2233. <group id="group2" scroll="auto" style="left:0px; top:727px; width:1190px; height:44px; ">
  2234. <output id="opt_allunjudg" ref="/root/temp/optlist/allunjudg" class="output_fix" style="left:232px; top:22px; width:50px; height:19px; text-align:right; "/>
  2235. <output id="opt_alldelete" ref="/root/temp/optlist/alldelete" class="output_fix" style="left:383px; top:22px; width:34px; height:19px; text-align:right; "/>
  2236. <output id="opt_allcnt" ref="/root/temp/optlist/allcnt" class="output_fix" style="left:49px; top:22px; width:50px; height:19px; text-align:right; "/>
  2237. <caption id="caption8" class="cell_1" style="left:348px; top:22px; width:35px; height:19px; background-color:#fcd2c1; ">삭제</caption>
  2238. <caption id="caption9" class="cell_1" style="left:1px; top:22px; width:47px; height:19px; background-color:#fcd2c1; ">총건수</caption>
  2239. <caption id="caption13" class="cell_1" style="left:282px; top:22px; width:35px; height:19px; background-color:#fcd2c1; ">보류</caption>
  2240. <caption id="caption14" class="cell_1" style="left:185px; top:22px; width:47px; height:19px; background-color:#fcd2c1; ">미심사</caption>
  2241. <caption id="caption16" class="cell_1" style="left:99px; top:22px; width:35px; height:19px; background-color:#fcd2c1; ">완료</caption>
  2242. <output id="opt_allend" ref="/root/temp/optlist/allend" class="output_fix" style="left:135px; top:22px; width:50px; height:19px; text-align:right; "/>
  2243. <output id="opt_allreservation" ref="/root/temp/optlist/allreservation" class="output_fix" style="left:316px; top:22px; width:34px; height:19px; text-align:right; "/>
  2244. <line id="line3" class="line_3" style="x1:0px; y1:42px; x2:1189px; y2:42px; "/>
  2245. <caption id="caption12" class="cell_1" style="left:417px; top:22px; width:47px; height:19px; background-color:#fcd2c1; ">심사중</caption>
  2246. <output id="opt_alljudgprcs" ref="/root/temp/optlist/alljudgprcs" class="output_fix" style="left:464px; top:22px; width:50px; height:19px; text-align:right; "/>
  2247. <output id="opt_autodelete" ref="/root/temp/optlist/autodelete" class="output_fix" style="left:601px; top:22px; width:50px; height:19px; text-align:right; "/>
  2248. <caption id="caption15" class="cell_1" style="left:546px; top:22px; width:55px; height:19px; background-color:#ffe79d; ">자동삭제</caption>
  2249. <output id="opt_beforeend" ref="/root/temp/optlist/beforeend" class="output_fix" style="left:706px; top:22px; width:50px; height:19px; text-align:right; "/>
  2250. <caption id="caption17" class="cell_1" style="left:651px; top:22px; width:55px; height:19px; background-color:#ffe79d; ">통합완료</caption>
  2251. <output id="opt_batchend" ref="/root/temp/optlist/batchend" class="output_fix" style="left:811px; top:22px; width:50px; height:19px; text-align:right; "/>
  2252. <caption id="caption18" class="cell_1" style="left:756px; top:22px; width:55px; height:19px; background-color:#ffe79d; ">일괄완료</caption>
  2253. <output id="opt_batchunjudg" ref="/root/temp/optlist/batchunjudg" class="output_fix" style="left:916px; top:22px; width:50px; height:19px; text-align:right; "/>
  2254. <caption id="caption25" class="cell_1" style="left:861px; top:22px; width:55px; height:19px; background-color:#ffe79d; ">일괄미심</caption>
  2255. <output id="opt_batchreservation" ref="/root/temp/optlist/batchreservation" class="output_fix" style="left:1021px; top:22px; width:50px; height:19px; text-align:right; "/>
  2256. <caption id="caption27" class="cell_1" style="left:966px; top:22px; width:55px; height:19px; background-color:#ffe79d; ">일괄보류</caption>
  2257. <output id="opt_unjudgcnt" ref="/root/hidden/clbs/unjudgcnt" class="output_fix" style="left:202px; top:2px; width:34px; height:19px; text-align:right; "/>
  2258. <output id="opt_delcnt" ref="/root/hidden/clbs/delcnt" class="output_fix" style="left:343px; top:2px; width:34px; height:19px; text-align:right; "/>
  2259. <output id="opt_totcnt" ref="/root/hidden/clbs/totcnt" class="output_fix" style="left:49px; top:2px; width:34px; height:19px; text-align:right; "/>
  2260. <caption id="caption20" class="cell_1" style="left:308px; top:2px; width:35px; height:19px; ">삭제</caption>
  2261. <caption id="caption10" class="cell_1" style="left:1px; top:2px; width:47px; height:19px; ">현건수</caption>
  2262. <caption id="caption1" class="cell_1" style="left:378px; top:2px; width:55px; height:19px; ">자동삭제</caption>
  2263. <caption id="caption21" class="hand" style="left:820px; top:2px; width:365px; height:18px; vertical-align:middle; ">총건수는 조회조건에서 심사상태 제외(환자조회는미적용)</caption>
  2264. <caption id="caption22" class="cell_1" style="left:237px; top:2px; width:35px; height:19px; ">보류</caption>
  2265. <caption id="caption2" class="hand" style="left:555px; top:2px; width:345px; height:18px; vertical-align:middle; ">[차수]원:1보완:1001추가:2001누락:9001</caption>
  2266. <caption id="caption23" class="cell_1" style="left:155px; top:2px; width:47px; height:19px; ">미심사</caption>
  2267. <caption id="caption24" class="cell_1" style="left:468px; top:2px; width:47px; height:19px; ">심사중</caption>
  2268. <output id="opt_judgprcscnt" ref="/root/hidden/clbs/judgprcscnt" class="output_fix" style="left:514px; top:2px; width:34px; height:19px; text-align:right; "/>
  2269. <caption id="caption19" class="cell_1" style="left:84px; top:2px; width:35px; height:19px; ">완료</caption>
  2270. <output id="output2" ref="/root/hidden/clbs/autodelcnt" class="output_fix" style="left:433px; top:2px; width:34px; height:19px; text-align:right; "/>
  2271. <output id="opt_endcnt" ref="/root/hidden/clbs/endcnt" class="output_fix" style="left:120px; top:2px; width:34px; height:19px; text-align:right; "/>
  2272. <output id="opt_retecnt" ref="/root/hidden/clbs/retecnt" class="output_fix" style="left:273px; top:2px; width:34px; height:19px; text-align:right; "/>
  2273. <button id="btn_allcnt" class="btn1_letter5" style="left:1098px; top:20px; width:92px; height:22px; ">
  2274. <caption>총건수보기</caption>
  2275. <script type="javascript" ev:event="DOMActivate">
  2276. <![CDATA[
  2277. model.setValue("/root/send/item1/allcnt","Y");
  2278. fGetOutAftJudgTrgtManList("listSrch");
  2279. model.setValue("/root/send/item1/allcnt","N");
  2280. // 총건수부분을 세팅 - 20091126 박창원 - 일괄보류,일괄미심 기능 추가시 추가코딩필요
  2281. var Rcnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'R']/cnt"); // 자동삭제
  2282. var Dcnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'D']/cnt"); // 삭제
  2283. var Ccnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'C']/cnt"); // 심사완료
  2284. var Acnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'A']/cnt"); // 미심
  2285. var Bcnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'B']/cnt"); // 심사중
  2286. var Zcnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'Z']/cnt"); // 일괄완료
  2287. var Ncnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'N']/cnt"); // 보류
  2288. var Ecnt = model.getValue("/root/main/list2/judgcnt[judgendyn = 'E']/cnt"); // 통합완료
  2289. if (Rcnt == "") { Rcnt = 0; }
  2290. if (Dcnt == "") { Dcnt = 0; }
  2291. if (Ccnt == "") { Ccnt = 0; }
  2292. if (Acnt == "") { Acnt = 0; }
  2293. if (Bcnt == "") { Bcnt = 0; }
  2294. if (Zcnt == "") { Zcnt = 0; }
  2295. if (Ncnt == "") { Ncnt = 0; }
  2296. if (Ecnt == "") { Ecnt = 0; }
  2297. var totcnt = parseInt(Rcnt) +parseInt(Dcnt) + parseInt(Ccnt) + parseInt(Acnt) +parseInt(Bcnt) + parseInt(Zcnt) + parseInt(Ncnt) + parseInt(Ecnt); // 총건수
  2298. var allendcnt = parseInt(Ccnt) + parseInt(Zcnt) + parseInt(Ecnt); // 완료
  2299. var allunjudgcnt = parseInt(Acnt); // 미심사 추후에 일괄미심 포함해야함
  2300. var allreservation = parseInt(Ncnt); // 보류 추후에 일괄보류 포함해야함
  2301. var alldelete = parseInt(Dcnt); // 삭제
  2302. var alljudgprcs = parseInt(Bcnt); // 미심
  2303. /*.value로 값 셋팅 화면느림. setvalue로함. plet2*/
  2304. model.setValue(opt_allcnt.attribute("ref"), totcnt);// opt_allcnt.value= totcnt;
  2305. model.setValue(opt_allend.attribute("ref"), allendcnt);//opt_allend.value= allendcnt;
  2306. model.setValue(opt_allunjudg.attribute("ref"), allunjudgcnt);//opt_allunjudg.value= allunjudgcnt;
  2307. model.setValue(opt_allreservation.attribute("ref"), allreservation);//opt_allreservation.value= allreservation;
  2308. model.setValue(opt_alldelete.attribute("ref"), alldelete);//opt_alldelete.value= alldelete;
  2309. model.setValue(opt_alljudgprcs.attribute("ref"), alljudgprcs);// opt_alljudgprcs.value= alljudgprcs;
  2310. model.setValue(opt_autodelete.attribute("ref"),Rcnt);//opt_autodelete.value= parseInt(Rcnt);
  2311. model.setValue(opt_beforeend.attribute("ref"), Ecnt);//opt_beforeend.value= parseInt(Ecnt);
  2312. model.setValue(opt_batchend.attribute("ref"), Zcnt);// opt_batchend.value= parseInt(Zcnt);
  2313. model.refresh();
  2314. ]]>
  2315. </script>
  2316. </button>
  2317. <line id="line2" class="line_3" style="x1:0px; y1:0px; x2:1189px; y2:0px; "/>
  2318. </group>
  2319. <select1 id="radio2" ref="/root/send/item1/cutprcpsel" class="radio_search" disabled="true" navindex="11" appearance="full" cols="2" overflow="visible" style="left:316px; top:155px; width:185px; height:18px; ">
  2320. <choices>
  2321. <item>
  2322. <label>버튼색만 변경</label>
  2323. <value>1</value>
  2324. </item>
  2325. <item>
  2326. <label>삭감창 팝업</label>
  2327. <value>2</value>
  2328. </item>
  2329. </choices>
  2330. <script type="javascript" ev:event="xforms-select">
  2331. <![CDATA[
  2332. // model.resetInstanceNode("/root/send/item1/choicdsrch2");
  2333. model.setValue("/root/send/item1/choicdsrch2", "");
  2334. ipt_choicdsrch.refresh();
  2335. if (model.getValue("/root/send/item1/choicdsrch1") == "1") {
  2336. fGetSnglcalcscorcd();
  2337. }
  2338. ]]>
  2339. </script>
  2340. </select1>
  2341. <select id="checkbox10" ref="/root/temp/tootpopupyn" overflow="visible" appearance="full" style="left:120px; top:184px; width:175px; height:15px; font-weight:bold; border-style:none; ">
  2342. <choices>
  2343. <item>
  2344. <label>치식자동팝업(치과만해당)</label>
  2345. <value>Y</value>
  2346. </item>
  2347. </choices>
  2348. </select>
  2349. <button id="button7" class="btn2_letter5" _auth="X" style="left:726px; top:180px; width:75px; height:19px; ">
  2350. <caption>명세서삭제</caption>
  2351. <script type="javascript" ev:event="DOMActivate">
  2352. <![CDATA[
  2353. var srchmode = model.getValue("/root/hidden/clbs/srchmode");
  2354. var deptcd = "";
  2355. if (srchmode == "specclbs") { // 선별심사 모드인 경우
  2356. deptcd = grd_specclbs.labelMatrix(grd_specclbs.row, grd_specclbscolRef("orddeptcd"));
  2357. } else {
  2358. deptcd = grd_clbsmast.labelMatrix(grd_clbsmast.row, grd_clbsmast.colRef("orddeptcd"));
  2359. }
  2360. pidfDelClbsData("O", deptcd); // SMPID20000.js
  2361. ]]>
  2362. </script>
  2363. <hint>
  2364. <![CDATA[청구생성 자료삭제]]>
  2365. </hint>
  2366. </button>
  2367. <button id="button8" class="btn2_letter4" _auth="X" style="left:889px; top:180px; width:64px; height:19px; ">
  2368. <caption>일괄보류</caption>
  2369. <script type="javascript" ev:event="DOMActivate">
  2370. <![CDATA[
  2371. // 일괄보류
  2372. // 20111122 박황백 추가
  2373. fSetJudgEndYN("N");
  2374. ]]>
  2375. </script>
  2376. <hint>
  2377. <![CDATA[일괄보류]]>
  2378. </hint>
  2379. </button>
  2380. <select1 id="cmb_srchcnt" ref="/root/send/item1/srchcnt" appearance="minimal" style="left:742px; top:774px; width:90px; height:19px; ">
  2381. <choices>
  2382. <itemset nodeset="/root/init/P0201sublist/P0201">
  2383. <label ref="cdnm"/>
  2384. <value ref="cdid"/>
  2385. </itemset>
  2386. </choices>
  2387. <script type="javascript" ev:event="xforms-value-changed">
  2388. <![CDATA[
  2389. //setInputNodeCurText();
  2390. model.makeValue("/root/hidden/item1/srchcnt", model.getValue("/root/send/item1/srchcnt"));
  2391. ]]>
  2392. </script>
  2393. </select1>
  2394. </group>
  2395. <button id="btn_cancel" class="btn4_letter2" style="left:1134px; top:786px; width:56px; height:22px; ">
  2396. <caption>취소</caption>
  2397. <close ev:event="DOMActivate"/>
  2398. </button>
  2399. <button id="btn_envsave" class="btn4_letter4" style="left:927px; top:786px; width:80px; height:22px; ">
  2400. <caption>환경저장</caption>
  2401. <script type="javascript" ev:event="DOMActivate">
  2402. <![CDATA[
  2403. var captiondata = ""; // caption
  2404. var refdata = ""; // ref
  2405. var sizedata = ""; // size
  2406. var gridkind = "grd_clbsmast";
  2407. if (grd_clbsmast.visible == false) { // 선별심사 모드인 경우
  2408. gridkind = "grd_specclbs";
  2409. }
  2410. var scrnid = model.getValue("/root/init/listval/uuee/scrnid"); // 화면(xrw)의 ID
  2411. var compscnts = "";
  2412. var compssizecnts = "";
  2413. var flag = "";
  2414. if (scrnid == "") {
  2415. flag = "I";
  2416. compscnts = model.getValue("/root/init/listval/uuee/compscnts"); // Grid의 칼럼명
  2417. compssizecnts = model.getValue("/root/init/listval/uuee/compssizecnts"); // Grid의 칼럼Size
  2418. } else {
  2419. var uueeList = instance1.selectSingleNode("/root/init/listval");
  2420. var uueeNode = uueeList.childNodes;
  2421. for (var j = 1; j <= uueeNode.length; j++) {
  2422. var compsnm = model.getValue("/root/init/listval/uuee["+ j +"]/compsnm");
  2423. if (compsnm == gridkind) { // Grid ID 정보
  2424. flag = "U";
  2425. compscnts = model.getValue("/root/init/listval/uuee["+ j +"]/compscnts"); // Grid의 칼럼명
  2426. compssizecnts = model.getValue("/root/init/listval/uuee["+ j +"]/compssizecnts"); // Grid의 칼럼Size
  2427. }
  2428. }
  2429. if (flag == "") {
  2430. flag = "I";
  2431. compscnts = model.getValue("/root/init/listval/uuee/compscnts"); // Grid의 칼럼명
  2432. compssizecnts = model.getValue("/root/init/listval/uuee/compssizecnts"); // Grid의 칼럼Size
  2433. }
  2434. }
  2435. var grdobj = document.controls.item(gridkind);
  2436. for (var i = 0; i < grdobj.cols; i++) {
  2437. var refval = grdobj.colAttribute(i, "ref");
  2438. refdata += refval + "^";
  2439. var sizeval = grdobj.colWidth(i);
  2440. sizedata += sizeval + "^";
  2441. }
  2442. refdata = refdata.substring(0, refdata.length-1);
  2443. sizedata = sizedata.substring(0, sizedata.length-1);
  2444. if (flag == "U" && refdata == compscnts && sizedata == compssizecnts) {
  2445. messageBox("변경된 데이터가", "I004"); ///변경된 데이터가 없습니다.
  2446. return;
  2447. }
  2448. model.setValue("/root/send/listval/uuee/flag", flag);
  2449. model.setValue("/root/send/listval/uuee/scrnid", "SMPID20400"); // 화면(xrw)의 ID - SMPID20400_외래사후심사대상자조회
  2450. model.setValue("/root/send/listval/uuee/compsnm", gridkind); // Grid ID 정보
  2451. model.setValue("/root/send/listval/uuee/compscnts", refdata); // Grid의 칼럼명
  2452. model.setValue("/root/send/listval/uuee/compsrefcnts", ""); // Grid의 reference명
  2453. model.setValue("/root/send/listval/uuee/compssizecnts", sizedata); // Grid의 칼럼Size
  2454. if (submit("TXPID21601")) {
  2455. messageBox("사용자 환경 저장이", "I002"); ///사용자 환경 저장이 완료되었습니다.
  2456. //그리드 caption 재지정
  2457. var caption = ""
  2458. for( var i = 1; i < grdobj.cols ; i++ ){
  2459. if (caption == "") {
  2460. caption = grdobj.textMatrix(0,i);
  2461. } else {
  2462. caption += "^" + grdobj.textMatrix(0,i);
  2463. }
  2464. }
  2465. grdobj.caption = caption;
  2466. }
  2467. ]]>
  2468. </script>
  2469. </button>
  2470. <button id="btn_confirm" class="btn4_letter2" style="left:1077px; top:786px; width:56px; height:22px; ">
  2471. <caption>확인</caption>
  2472. <script type="javascript" ev:event="DOMActivate">
  2473. <![CDATA[
  2474. grp_judgmemo.visible = false; // 대상자 Grid의 메모 필드의 Btn 클릭시 보여지는 메모 저장용 Group을 감춘다.
  2475. if ( checkOpener() ) { // (common.js) 자신을 Open한 opener의 현재 UID가 자신을 open한 시점의 UID와 비교하여 변경되었는지 여부를 반환
  2476. if (grd_specclbs.visible == true) { // 선별심사 모드인 경우
  2477. var row = grd_specclbs.row;
  2478. if (row > 0) {
  2479. var gridclbs_clamym = model.getValue("/root/main/list1/clbs["+ row +"]/clamym");
  2480. var gridclbs_clamdg = model.getValue("/root/main/list1/clbs["+ row +"]/clamdg");
  2481. var gridclbs_pid = model.getValue("/root/main/list1/clbs["+ row +"]/pid");
  2482. var gridclbs_pidsn = model.getValue("/root/main/list1/clbs["+ row +"]/pidsn");
  2483. if (gridclbs_clamym != "") {
  2484. model.setValue(opener.root.hidden.smpid20400.rslt.selectedRow, row); // 대상자 리스트에서 몇번째 row인지 (대상자조회 pre/next 에서 사용)
  2485. model.setValue(opener.root.hidden.smpid20400.rslt.clamym, gridclbs_clamym); // 선택된 대상자의 청구키로 심사정보를 조회한다.
  2486. model.setValue(opener.root.hidden.smpid20400.rslt.clamdg, gridclbs_clamdg); // 선택된 대상자의 청구키로 심사정보를 조회한다.
  2487. model.setValue(opener.root.hidden.smpid20400.rslt.pid, gridclbs_pid); // 선택된 대상자의 청구키로 심사정보를 조회한다.
  2488. model.setValue(opener.root.hidden.smpid20400.rslt.pidsn, gridclbs_pidsn); // 선택된 대상자의 청구키로 심사정보를 조회한다.
  2489. model.setValue(opener.root.hidden.smpid20400.rslt.oldPid, model.getValue("/root/main/list1/clbs["+ row +"]/pid")); // 현재 조회된 환자의 등록번호를 저장
  2490. opener.javascript.fGetOutAftJudgMngt();
  2491. } else {
  2492. messageBox("조회된 대상자가", "I004"); ///조회된 대상자가 없습니다.
  2493. activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
  2494. }
  2495. } else {
  2496. messageBox("선택된 대상자가", "I004"); ///선택된 대상자가 없습니다.
  2497. activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
  2498. }
  2499. } else {
  2500. var row = grd_clbsmast.row;
  2501. if (row > 0) {
  2502. var gridclbs = model.getValue("/root/main/list1/clbs["+ row +"]/clamkey");
  2503. if (gridclbs != "") {
  2504. model.setValue(opener.root.hidden.smpid20400.rslt.selectedRow, row); // 대상자 리스트에서 몇번째 row인지 (대상자조회 pre/next 에서 사용)
  2505. model.setValue(opener.root.hidden.smpid20400.rslt.clamkey, gridclbs); // 선택된 대상자의 청구키로 심사정보를 조회한다.
  2506. model.setValue(opener.root.hidden.smpid20400.rslt.oldPid, model.getValue("/root/main/list1/clbs["+ row +"]/pid")); // 현재 조회된 환자의 등록번호를 저장
  2507. opener.javascript.fGetOutAftJudgMngt();
  2508. } else {
  2509. messageBox("조회된 대상자가", "I004"); ///조회된 대상자가 없습니다.
  2510. activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
  2511. }
  2512. } else {
  2513. messageBox("선택된 대상자가", "I004"); ///선택된 대상자가 없습니다.
  2514. activateOpener(); // (common.js)에서 제공하는 함수로 opener를 activate한다.
  2515. }
  2516. }
  2517. } else {
  2518. messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004"); ///상위화면이 변경되어 데이터를 전달할 수 없습니다.
  2519. window.close(); // F5 실행시 IE를 종료시킨다.
  2520. }
  2521. ]]>
  2522. </script>
  2523. </button>
  2524. <button id="btn_init" class="btn4_letter3" style="left:1008px; top:786px; width:68px; height:22px; ">
  2525. <caption>초기화</caption>
  2526. <script type="javascript" ev:event="DOMActivate">
  2527. <![CDATA[
  2528. grd_clbsmast.visible = true;
  2529. grd_specclbs.visible = false;
  2530. cap_judgtrgtman.text = "심사 대상자";
  2531. // main / send / hidden 데이터를 초기화한다.
  2532. fInitSrchData();
  2533. model.refresh();
  2534. ]]>
  2535. </script>
  2536. </button>
  2537. <button id="btn_smpis00400" class="btn3_letter9" style="left:57px; top:786px; width:140px; height:22px; ">
  2538. <caption>상병별 청구환자조회</caption>
  2539. <script type="javascript" ev:event="DOMActivate">
  2540. <![CDATA[
  2541. pidfOpenSMPIS00400("O");
  2542. ]]>
  2543. </script>
  2544. </button>
  2545. <button id="btn_smpis00600" class="btn3_letter10" style="left:198px; top:786px; width:152px; height:22px; ">
  2546. <caption>처방별 환자조회(삭감)</caption>
  2547. <script type="javascript" ev:event="DOMActivate">
  2548. <![CDATA[
  2549. pidfOpenSMPIS00600("O", "M");
  2550. ]]>
  2551. </script>
  2552. </button>
  2553. <button id="btn_smpis00500" class="btn3_letter10" visibility="visible" style="left:351px; top:786px; width:152px; height:22px; ">
  2554. <caption>처방별 환자조회(계산)</caption>
  2555. <script type="javascript" ev:event="DOMActivate">
  2556. <![CDATA[
  2557. pidfOpenSMPIS00500("O", "M");
  2558. ]]>
  2559. </script>
  2560. </button>
  2561. <button id="btn_nextpage" class="btn4_letter5" style="left:834px; top:786px; width:92px; height:22px; ">
  2562. <caption>다음페이지</caption>
  2563. <script type="javascript" ev:event="DOMActivate">
  2564. <![CDATA[
  2565. if (fCheckSrchCond()) {
  2566. // // 조회버튼으로 조회 시 offset은 "0"으로 설정하고 submit() 을 수행한다.
  2567. var initcond = instance1.selectNodesXml("/root/hidden/item1");
  2568. var currentcond = instance1.selectNodesXml("/root/send/item1");
  2569. if (initcond == currentcond) {
  2570. } else {
  2571. model.setValue("/root/send/item1/lastclamym", "");
  2572. model.setValue("/root/send/item1/lastclamdg", "");
  2573. model.setValue("/root/send/item1/lastjudgno", "");
  2574. model.setValue("/root/send/item1/lastpid", "");
  2575. model.setValue("/root/send/item1/lastpidsn", "");
  2576. model.setValue("/root/send/item1/lastordcd", "");
  2577. model.setValue("/root/send/item1/lastclamkey", "");
  2578. model.setValue("/root/send/item1/lastedilnno", "");
  2579. grp_judgmemo.visible = false; // 대상자 Grid의 메모 필드의 Btn 클릭시 보여지는 메모 저장용 Group을 감춘다.
  2580. model.removeNodeset("/root/main/list1/clbs");
  2581. }
  2582. var sWindowMsg = "데이터 조회 중입니다...";
  2583. callLoadingWindow(sWindowMsg);
  2584. asyncSend("TRPID20402", "/root/send/item1", "/root/hidden/list1/clbs", "responseHandlerTRPID20402");
  2585. //submit("TRPID20402");
  2586. // 검색 결과를 표시한다.
  2587. //fSetSrchJudgTrgtMan();
  2588. //model.refresh();
  2589. }
  2590. ]]>
  2591. </script>
  2592. </button>
  2593. <button id="btn_print" class="btn6_letter2" style="left:0px; top:786px; width:56px; height:22px; ">
  2594. <caption>출력</caption>
  2595. <script type="javascript" ev:event="DOMActivate">
  2596. <![CDATA[
  2597. // 2008.05.13. / PJH / ( 요청자:윤영옥) / 대상자 그리드 출력
  2598. if (grd_clbsmast.rows > 1) {
  2599. // 선택 : 부분출력(예6), 전체출력(아니오7), 취소(취소7)
  2600. var ret = messageBox("데이터를 부분출력", "S001"); ///데이터를 부분출력 하시려면 예(Yes)\n아니면 아니오(No)
  2601. if (ret == 6) {
  2602. // 1. 부분출력 (그리드에 선택된 행만 보고서로 전달한다.)
  2603. model.removeNodeset("/root/main/rpt1");
  2604. model.makeNode("/root/main/rpt1");
  2605. var idx = 1;
  2606. for (var i = 0; i < grd_clbsmast.selectedRows; i++) {
  2607. var row = grd_clbsmast.selectedRow(i);
  2608. // 리스트
  2609. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/docuseqno", model.getValue("/root/main/list1/clbs["+ row +"]/docuseqno"));
  2610. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/clamym", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("clamym"))); //
  2611. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/clamdg", model.getValue("/root/main/list1/clbs["+ row +"]/clamdg"));
  2612. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/orddeptcd", model.getValue("/root/main/list1/clbs["+ row +"]/orddeptcd"));
  2613. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/pid", model.getValue("/root/main/list1/clbs["+ row +"]/pid"));
  2614. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/patnm", model.getValue("/root/main/list1/clbs["+ row +"]/patnm"));
  2615. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/insukindcd", model.getValue("/root/main/list1/clbs["+ row +"]/insukindcd"));
  2616. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/suppkindcd", model.getValue("/root/main/list1/clbs["+ row +"]/suppkindcd"));
  2617. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/payownbrate", model.getValue("/root/main/list1/clbs["+ row +"]/payownbrate"));
  2618. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/diagnm", model.getValue("/root/main/list1/clbs["+ row +"]/diagnm"));
  2619. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/orddrid", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("orddrid")));
  2620. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/judgrid", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("judgrid")));
  2621. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/oprcp", model.getValue("/root/main/list1/clbs["+ row +"]/oprcp"));
  2622. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/judgendyn", model.getValue("/root/main/list1/clbs["+ row +"]/judgendyn"));
  2623. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/insuno", model.getValue("/root/main/list1/clbs["+ row +"]/insuno"));
  2624. idx++;
  2625. }
  2626. exeReportPreview("RPPID20400", "XMLSTR", "", "", "false", "", "", "", "", "false");
  2627. } else if (ret == 7) {
  2628. // 2. 전체출력 (그리드에 보여지는 내용 전체를 보고서로 전달한다.)
  2629. var isPrint = false;
  2630. model.removeNodeset("/root/main/rpt1");
  2631. model.makeNode("/root/main/rpt1");
  2632. var idx = 1;
  2633. for (var i = grd_clbsmast.fixedRows; i < grd_clbsmast.rows; i ++ ) {
  2634. if (grd_clbsmast.rowHidden(i) == false) {
  2635. isPrint = true;
  2636. var row = i;
  2637. // 리스트
  2638. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/docuseqno", model.getValue("/root/main/list1/clbs["+ row +"]/docuseqno"));
  2639. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/clamym", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("clamym")));
  2640. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/clamdg", model.getValue("/root/main/list1/clbs["+ row +"]/clamdg")); //
  2641. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/orddeptcd", model.getValue("/root/main/list1/clbs["+ row +"]/orddeptcd")); //
  2642. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/pid", model.getValue("/root/main/list1/clbs["+ row +"]/pid")); //
  2643. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/patnm", model.getValue("/root/main/list1/clbs["+ row +"]/patnm")); //
  2644. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/insukindcd", model.getValue("/root/main/list1/clbs["+ row +"]/insukindcd")); //
  2645. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/suppkindcd", model.getValue("/root/main/list1/clbs["+ row +"]/suppkindcd")); //
  2646. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/payownbrate", model.getValue("/root/main/list1/clbs["+ row +"]/payownbrate")); //
  2647. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/diagnm", model.getValue("/root/main/list1/clbs["+ row +"]/diagnm")); //
  2648. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/orddrid", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("orddrid")));
  2649. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/judgrid", grd_clbsmast.labelMatrix(row, grd_clbsmast.colRef("judgrid")));
  2650. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/oprcp", model.getValue("/root/main/list1/clbs["+ row +"]/oprcp")); //
  2651. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/judgendyn", model.getValue("/root/main/list1/clbs["+ row +"]/judgendyn")); //
  2652. model.makeValue("/root/main/rpt1/clbs["+ idx +"]/insuno", model.getValue("/root/main/list1/clbs["+ row +"]/insuno")); //
  2653. idx++;
  2654. }
  2655. }
  2656. if (isPrint == false) {
  2657. messageBox("처방 필터를 변경하세요. 출력할 처방이", "I004"); ///처방 필터를 변경하세요. 출력할 처방이 없습니다.
  2658. return;
  2659. }
  2660. exeReportPreview("RPPID20400", "XMLSTR", "", "", "false", "", "", "", "", "false");
  2661. } else {
  2662. // 3. 취소
  2663. return;
  2664. }
  2665. } else {
  2666. messageBox("출력할 처방이", "I004"); ///출력할 처방이 없습니다.
  2667. }
  2668. ]]>
  2669. </script>
  2670. </button>
  2671. </xhtml:body>
  2672. </xhtml:html>