SMPIR30900_이의신청결과상세조회.xrw 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>이의신청 결과상세 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list01>
  11. <gridobtrsltspec>
  12. <orddeptcd/>
  13. <orddeptabbr/>
  14. <atdoct/>
  15. <docuseqno/>
  16. <pid/>
  17. <patnm/>
  18. <maindiag/>
  19. <dschdd/>
  20. <obtappid/>
  21. <lnno/>
  22. <item/>
  23. <division/>
  24. <division2/>
  25. <adjtresncd/>
  26. <matractflag/>
  27. <snglcalcscorcd/>
  28. <edicd/>
  29. <hngnm/>
  30. <unitcost/>
  31. <clamqty/>
  32. <clamonesqty/>
  33. <clamone/>
  34. <clamtot/>
  35. <adjtrdqty/>
  36. <adjtonesqty/>
  37. <adjtone/>
  38. <adjttot/>
  39. <adjtrdtotamt/>
  40. <adjtrdamt/>
  41. <oprcpadjtrdamt/>
  42. <obtappqty/>
  43. <obtapponesqty/>
  44. <obtappdayqty/>
  45. <obtapptotqty/>
  46. <obtapptotamt/>
  47. <obtappamt/>
  48. <oprcpobtappamt/>
  49. <recogonesqty/>
  50. <recogdayqty/>
  51. <recogtotqty/>
  52. <recogtotamt/>
  53. <recogamt/>
  54. <oprcprecogamt/>
  55. <nrecogtotamt/>
  56. <nrecogamt/>
  57. <noprcprecogamt/>
  58. <retetotamt/>
  59. <reteamt/>
  60. <oprcpreteamt/>
  61. <calconesqty/>
  62. <calcdayqty/>
  63. <calctotqty/>
  64. <calcdecitotamt/>
  65. <calcdeciamt/>
  66. <oprcpcalcdeciamt/>
  67. <calcdecidifamt/>
  68. <oprcpcalcdecidifamt/>
  69. <reclamyn/>
  70. <ordmemo/>
  71. <clamym/>
  72. <ordym/>
  73. <insukind/>
  74. <chosflag/>
  75. <ordfildcd/>
  76. <clamfalg/>
  77. <clamdg/>
  78. <obtappflag/>
  79. <acptno/>
  80. <judgdg/>
  81. <setno/>
  82. <clamno/>
  83. <clclamamt/>
  84. <obtappdd/>
  85. <obtappdocuno/>
  86. <decirepldd/>
  87. <decidocuno/>
  88. <obtappendyn/>
  89. <endyn/>
  90. <calcnotidd/>
  91. <oprccalcnotidd/>
  92. <oprcjrjudgdegree/>
  93. <oprcnotidd/>
  94. </gridobtrsltspec>
  95. <obtappdecispec>
  96. <obtappcnt/>
  97. <obtappamt/>
  98. <obtapprate/>
  99. <oprcpobtappamt/>
  100. <oprcpobtapprate/>
  101. <decicnt/>
  102. <deciamt/>
  103. <decirate/>
  104. <oprcpdeciamt/>
  105. <oprcpdecirate/>
  106. <retecnt/>
  107. <reteamt/>
  108. <oprcpreteamt/>
  109. </obtappdecispec>
  110. <acptinfo>
  111. <claminfo/>
  112. <obtappamt/>
  113. <recogamt/>
  114. <nrecogamt/>
  115. </acptinfo>
  116. <deptinfo>
  117. <orddeptcd/>
  118. <cd/>
  119. <nm/>
  120. <deptengabbr/>
  121. <reqdeptno/>
  122. <reqfild/>
  123. </deptinfo>
  124. <doctinfo>
  125. <atdoct/>
  126. <nm/>
  127. </doctinfo>
  128. <judgrinfo>
  129. <judgrid/>
  130. <nm/>
  131. </judgrinfo>
  132. <iteminfo>
  133. <item/>
  134. <nm/>
  135. </iteminfo>
  136. <adjtresninfo>
  137. <adjtresncd/>
  138. <nm/>
  139. </adjtresninfo>
  140. </list01>
  141. <list02>
  142. <gridobtrsltspec/>
  143. </list02>
  144. <result/>
  145. </main>
  146. <temp>
  147. <deciinfo>
  148. <decidocuno/>
  149. <decirepldd/>
  150. </deciinfo>
  151. </temp>
  152. <send>
  153. <send_find>
  154. <clamno/>
  155. <acptno/>
  156. <judgdg/>
  157. <setno/>
  158. <notidd/>
  159. <rejudgflag>1</rejudgflag>
  160. <obtappflag/>
  161. <obtappdocuno/>
  162. <obtappdd/>
  163. <decidocuno/>
  164. <decirepldd/>
  165. <endyn/>
  166. </send_find>
  167. <orddeptcd/>
  168. <codegubun/>
  169. <cd/>
  170. <item/>
  171. <orddrid/>
  172. <judgrid/>
  173. <adjtresncd/>
  174. <amtgubun/>
  175. <adjtamt/>
  176. <send_clamno>
  177. <judgdg/>
  178. <acptno/>
  179. </send_clamno>
  180. <send_memo>
  181. <send_savememo>
  182. <status/>
  183. <judgdg/>
  184. <clamno/>
  185. <acptno/>
  186. <docuseqno/>
  187. <obtappflag/>
  188. <mpsno/>
  189. <lnno/>
  190. <adjtresncd/>
  191. <memoflag/>
  192. <memo/>
  193. </send_savememo>
  194. </send_memo>
  195. <send_deciinfo/>
  196. </send>
  197. <send_end>
  198. <batch_end/>
  199. </send_end>
  200. <popupdata>
  201. <popupmenu>
  202. <gridobtrsltspec>
  203. <item>
  204. <name>이의신청 결과</name>
  205. <func>fObtAppDeciRgst</func>
  206. </item>
  207. </gridobtrsltspec>
  208. </popupmenu>
  209. </popupdata>
  210. <init>
  211. <P0264list>
  212. <P0264>
  213. <cdid/>
  214. <cdnm/>
  215. </P0264>
  216. </P0264list>
  217. <P0277list>
  218. <P0277>
  219. <cdid/>
  220. <cdnm/>
  221. </P0277>
  222. </P0277list>
  223. <P0287list>
  224. <P0287>
  225. <cdid/>
  226. <cdnm/>
  227. </P0287>
  228. </P0287list>
  229. <P0123list>
  230. <P0123>
  231. <cdid/>
  232. <cdnm/>
  233. </P0123>
  234. </P0123list>
  235. </init>
  236. <hidden>
  237. <list01>
  238. <claminfo>
  239. <clamno/>
  240. </claminfo>
  241. </list01>
  242. <memo/>
  243. <filterlist>
  244. <filter>
  245. <orddeptcd/>
  246. <orddrid/>
  247. <judgrid/>
  248. <item/>
  249. <adjtresn/>
  250. <cdgubun/>
  251. <cd/>
  252. <amtgubun/>
  253. <adjtamt/>
  254. </filter>
  255. </filterlist>
  256. </hidden>
  257. <source_CutOrdRgst/>
  258. <source_ObtAppRsltSpec>
  259. <judgdg/>
  260. <clamno/>
  261. <acptno/>
  262. <obtappflag/>
  263. <rejudgflag/>
  264. </source_ObtAppRsltSpec>
  265. <source_obtappqry>
  266. <judgdg/>
  267. <clamno/>
  268. <acptno/>
  269. <docuseqno/>
  270. <obtappflag/>
  271. </source_obtappqry>
  272. <source>
  273. <judgdg/>
  274. <clamno/>
  275. <acptno/>
  276. <docuseqno/>
  277. <mpsno/>
  278. <lnno/>
  279. <adjtresn/>
  280. <workflag/>
  281. </source>
  282. </root>
  283. </instance>
  284. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  285. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  286. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  287. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  288. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  289. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  290. <submission id="TRPIR30901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_find" resultref="/root/main/list01"/>
  291. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  292. <submission id="TXPIR30901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_deciinfo"/>
  293. <submission id="TXPIR30902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list02" resultref="/root/main/result"/>
  294. <submission id="TRPIR30902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_clamno" resultref="/root/hidden/list01"/>
  295. <submission id="TXPIR30903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_end/batch_end"/>
  296. <submission id="TXPIR30304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_memo/send_savememo"/>
  297. </model>
  298. <script type="javascript" ev:event="xforms-ready">
  299. <![CDATA[
  300. CommCode_Load();
  301. // 다른화면에서 팝업으로 이 화면을 열었을때 넘어온 파라미터로 대상목록을 조회한다.
  302. // 조회필수 항목인 심사차수, 접수번호로 CHECK한다.
  303. if (ipt_judgdg.value != '' && ipt_acptno.value != '' ) {
  304. submit("TRPIR30901");
  305. }
  306. rdo_rejudgflag.select(0);
  307. // 이것은 무조건 이의신청결과조회에서 팝업으로 열렸을때 적용된다.
  308. // 임의로 그냥 메인으로 열리면 안된다. 왜냐면 결과조회에서 값을 넘겨주기때문에...
  309. // endyn(이의신청결과마감여부)값을 받아서 Y면 수정할수 있는 모든 버튼 및 메뉴를 hidden시키고, N이면 그냥 놔둔다.
  310. fEndYn();
  311. ]]>
  312. </script>
  313. <script type="javascript">
  314. <![CDATA[
  315. // 공통코드 Load작업
  316. function CommCode_Load() {
  317. // 관련 Control 초기화
  318. zbcfGetCodeList(new Array("P0264","P0277","P0287","P0123"), new Array("/root/init/P0264list", "/root/init/P0277list","/root/init/P0287list","/root/init/P0123list"));
  319. // model.refresh();
  320. }
  321. // 이의신청결과마감여부 체크
  322. function fEndYn(){
  323. var endyn = model.getValue("/root/send/send_find/endyn");
  324. if(endyn == 'Y'){
  325. button3.disabled = true; //결정정보 저장버튼
  326. button6.disabled = true; //일괄0월마감 버튼
  327. button5.disabled = true; //저장버튼
  328. btn_savememo.disabled = true; // 처방별 비고 저장 버튼
  329. }else {
  330. button3.disabled = false; //결정정보 저장버튼
  331. button6.disabled = false; //일괄0월마감 버튼
  332. button5.disabled = false; //저장버튼
  333. btn_savememo.disabled = false; // 처방별 비고 저장 버튼
  334. model.refresh();
  335. }
  336. }
  337. ]]>
  338. </script>
  339. <script type="javascript">
  340. <![CDATA[
  341. // 이의신청 결과
  342. function fObtAppDeciRgst() {
  343. var curr_row = grd_pirhobtspec.row ;
  344. model.setValue("/root/source_obtappqry/judgdg", model.getValue("/root/main/list01/gridobtrsltspec[" + curr_row + "]/judgdg"));
  345. model.setValue("/root/source_obtappqry/clamno", model.getValue("/root/main/list01/gridobtrsltspec[" + curr_row + "]/clamno"));
  346. model.setValue("/root/source_obtappqry/acptno", model.getValue("/root/main/list01/gridobtrsltspec[" + curr_row + "]/acptno"));
  347. model.setValue("/root/source_obtappqry/docuseqno", model.getValue("/root/main/list01/gridobtrsltspec[" + curr_row + "]/docuseqno"));
  348. model.setValue("/root/source_obtappqry/obtappflag", model.getValue("/root/main/list01/gridobtrsltspec[" + curr_row + "]/obtappflag"));
  349. // alert("judgdg : " + model.getValue("/root/main/list01/gridobtrsltspec[" + curr_row + "]/judgdg"));
  350. // alert("clamno : " + model.getValue("/root/main/list01/gridobtrsltspec[" + curr_row + "]/clamno"));
  351. modal("SMPIR30800", 1, 1, 1, "SMPIR30800", "/root/source_obtappqry", "/root/send/send_obtmlist");
  352. }
  353. // 필터
  354. function fGetSelectedData() {
  355. var orddeptcd = model.getValue("/root/hidden/filterlist/filter/orddeptcd");
  356. var orddrid = model.getValue("/root/hidden/filterlist/filter/orddrid");
  357. var judgrid = model.getValue("/root/hidden/filterlist/filter/judgrid");
  358. var item = model.getValue("/root/hidden/filterlist/filter/item");
  359. var adjtresn = model.getValue("/root/hidden/filterlist/filter/adjtresn");
  360. var cdgubun = model.getValue("/root/hidden/filterlist/filter/cdgubun");
  361. var cd = model.getValue("/root/hidden/filterlist/filter/cd");
  362. var amtgubun = model.getValue("/root/hidden/filterlist/filter/amtgubun");
  363. var adjtamt = model.getValue("/root/hidden/filterlist/filter/adjtamt");
  364. //alert(orddeptcd+"--"+orddrid+"--"+judgrid+"--"+item+"--"+adjtresn+"--"+cdgubun+"--"+cd+"--"+amtgubun+"--"+adjtamt);
  365. for(var i = grd_pirhobtspec.fixedRows; i < grd_pirhobtspec.rows; i++) {
  366. grd_pirhobtspec.rowHidden(i) = false;
  367. // alert(orddeptcd+ " 줄번호는" + i);
  368. // 진료과 필터
  369. if (orddeptcd == "" && orddrid == "" && judgrid == "" && item == "" && adjtresn == "" && cdgubun == "" && cd == "" && amtgubun == "" && adjtamt == "") {
  370. } else {
  371. if(orddeptcd != ""){
  372. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("orddeptabbr")) != orddeptcd) {
  373. grd_pirhobtspec.rowHidden(i) = true;
  374. }
  375. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("orddeptabbr")) == orddeptcd) {
  376. grd_pirhobtspec.rowHidden(i) = false;
  377. }
  378. }
  379. }
  380. // 주치의 필터
  381. if (orddeptcd == "" && orddrid == "" && judgrid == "" && item == "" && adjtresn == "" && cdgubun == "" && cd == "" && amtgubun == "" && adjtamt == "") {
  382. } else {
  383. if(orddrid != ""){
  384. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("atdoct")) != orddrid) {
  385. grd_pirhobtspec.rowHidden(i) = true;
  386. }
  387. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("atdoct")) == orddrid) {
  388. grd_pirhobtspec.rowHidden(i) = false;
  389. }
  390. }
  391. }
  392. // 심사자 필터
  393. if (orddeptcd == "" && orddrid == "" && judgrid == "" && item == "" && adjtresn == "" && cdgubun == "" && cd == "" && amtgubun == "" && adjtamt == "") {
  394. } else {
  395. if(judgrid != ""){
  396. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("obtappid")) != judgrid) {
  397. grd_pirhobtspec.rowHidden(i) = true;
  398. }
  399. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("obtappid")) == judgrid) {
  400. grd_pirhobtspec.rowHidden(i) = false;
  401. }
  402. }
  403. }
  404. // 항 필터
  405. if (orddeptcd == "" && orddrid == "" && judgrid == "" && item == "" && adjtresn == "" && cdgubun == "" && cd == "" && amtgubun == "" && adjtamt == "") {
  406. } else {
  407. if(item != ""){
  408. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("item")) != item) {
  409. grd_pirhobtspec.rowHidden(i) = true;
  410. }
  411. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("item")) == item) {
  412. grd_pirhobtspec.rowHidden(i) = false;
  413. }
  414. }
  415. }
  416. // 조정사유 필터
  417. if (orddeptcd == "" && orddrid == "" && judgrid == "" && item == "" && adjtresn == "" && cdgubun == "" && cd == "" && amtgubun == "" && adjtamt == "") {
  418. } else {
  419. if(adjtresn != ""){
  420. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("adjtresncd")) != adjtresn) {
  421. grd_pirhobtspec.rowHidden(i) = true;
  422. }
  423. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("adjtresncd")) == adjtresn) {
  424. grd_pirhobtspec.rowHidden(i) = false;
  425. }
  426. }
  427. }
  428. // 코드 필터
  429. if (orddeptcd == "" && orddrid == "" && judgrid == "" && item == "" && adjtresn == "" && cdgubun == "" && cd == "" && amtgubun == "" && adjtamt == "") {
  430. } else {
  431. if(cdgubun == "1"){
  432. if(cd != ""){
  433. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("snglcalcscorcd")) <= cd) {
  434. grd_pirhobtspec.rowHidden(i) = true;
  435. }
  436. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("snglcalcscorcd")) >= cd) {
  437. grd_pirhobtspec.rowHidden(i) = false;
  438. }
  439. }
  440. } else {
  441. if(cd != ""){
  442. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("edicd")) <= cd) {
  443. grd_pirhobtspec.rowHidden(i) = true;
  444. }
  445. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("edicd")) >= cd) {
  446. grd_pirhobtspec.rowHidden(i) = false;
  447. }
  448. }
  449. }
  450. }
  451. // 금액 필터
  452. if (orddeptcd == "" && orddrid == "" && judgrid == "" && item == "" && adjtresn == "" && cdgubun == "" && cd == "" && amtgubun == "" && adjtamt == "") {
  453. } else {
  454. if(amtgubun == "1"){
  455. if(adjtamt != ""){
  456. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("adjtrdtotamt")) <= adjtamt) {
  457. grd_pirhobtspec.rowHidden(i) = true;
  458. }
  459. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("adjtrdtotamt")) >= adjtamt) {
  460. grd_pirhobtspec.rowHidden(i) = false;
  461. }
  462. }
  463. } else {
  464. if(adjtamt != ""){
  465. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("recogtotamt")) <= adjtamt) {
  466. grd_pirhobtspec.rowHidden(i) = true;
  467. }
  468. if (grd_pirhobtspec.valueMatrix(i, grd_pirhobtspec.colRef("recogtotamt")) >= adjtamt) {
  469. grd_pirhobtspec.rowHidden(i) = false;
  470. }
  471. }
  472. }
  473. }
  474. }
  475. return true;
  476. }
  477. // 필터 초기화
  478. function fInitFilter() {
  479. // 조회부의 Radio 초기값을 "전체"로 설정한다.
  480. model.setValue("/root/hidden/filterlist/filter/orddeptcd", "");
  481. model.setValue("/root/hidden/filterlist/filter/orddrid", "");
  482. model.setValue("/root/hidden/filterlist/filter/judgrid", "");
  483. model.setValue("/root/hidden/filterlist/filter/item", "");
  484. model.setValue("/root/hidden/filterlist/filter/adjtresn", "");
  485. model.setValue("/root/hidden/filterlist/filter/cdgubun", "");
  486. model.setValue("/root/hidden/filterlist/filter/cd", "");
  487. model.setValue("/root/hidden/filterlist/filter/adjtamt", "");
  488. //model.resetInstanceNode("/root/main/list01/gridobtrsltspec,"");
  489. model.refresh();
  490. fGetSelectedData();
  491. }
  492. // 결정정보저장시 보류건인지 확인하고 값넣기
  493. function fChkDeciInfoRete(){
  494. // 상세조회에서의 결정문서번호저장은 주로 보류처방건에 대해 결정문서번호를 저장하는 것으로 해당하는 것을 다중선택하여
  495. // 일괄 결정문서번호를 저장한다.
  496. var decidocuno = model.getValue("/root/temp/deciinfo/decidocuno");
  497. var decirepldd = model.getValue("/root/temp/deciinfo/decirepldd");
  498. var rows = grd_pirhobtspec.selectedRows;
  499. for (var i = 0; i < rows; i++) {
  500. var sel = grd_pirhobtspec.selectedRow(i) - 1;
  501. var row = grd_pirhobtspec.selectedRow(i);
  502. var reteseqno = grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("seqno"));
  503. if(reteseqno >1) {
  504. grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("decidocuno")) = decidocuno;
  505. grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("decirepldd")) = decirepldd;
  506. grd_pirhobtspec.rowStatus(row) = 2;
  507. } else {
  508. var judgdg = grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("judgdg"));
  509. var acptno = grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("acptno"));
  510. var clamno = grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("clamno"));
  511. var docuseqno = grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("docuseqno"));
  512. var obtappflag = grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("obtappflag"));
  513. var mpsno = grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("mpsno"));
  514. var lnno = grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("lnno"));
  515. var adjtresncd = grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("adjtresncd"));
  516. alert(" 심사차수 : '" + judgdg +
  517. "',\n 접수번호 : '" + acptno +
  518. "',\n 청구번호 : '" + clamno +
  519. "',\n 명일련 : '" + docuseqno +
  520. "',\n 이신구분 : '" + obtappflag +
  521. "',\n 처방전교부번호 : '" + mpsno +
  522. "',\n 줄번호 : '" + lnno +
  523. "',\n 조정사유코드 : '" + adjtresncd +
  524. "',\n 는 보류순번이 " + reteseqno + "(정상) 이므로 결정정보 저장에서 제외됩니다.");
  525. }
  526. }
  527. }
  528. ]]>
  529. </script>
  530. </xhtml:head>
  531. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  532. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  533. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:161px; height:14px; ">이의신청 결과상세 조회</caption>
  534. </group>
  535. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  536. <caption id="caption1" class="tit_2" style="left:5px; top:157px; width:131px; height:13px; ">이의신청 처방</caption>
  537. <line id="line1" class="line_1" style="x1:0px; y1:172px; x2:1194px; y2:172px; "/>
  538. <datagrid id="grd_pirhobtspec" nodeset="/root/main/list01/gridobtrsltspec" class="datagrid2" caption="진료과코드^진료과^주치의코드^주치의^명일련^등록번호^환자이름^상병코드^퇴원일자^이의&#xA;신청자코드^이의&#xA;신청자^줄번호^항^구분^구분2^조정&#xA;사유^I, II&#xA;구분^처방코드^EDI코드^처방명칭^단가^청구&#xA;수량^청구&#xA;1회량^청구&#xA;일투^청구&#xA;총투^조정&#xA;삭감&#xA;수량^조정&#xA;1회량^조정&#xA;일투^조정&#xA;총투^조정삭감액^조정삭감액^조정삭감액^이신&#xA;수량^이신&#xA;1회량^이의&#xA;일투^이의&#xA;총투^이의신청액^이의신청액^이의신청액^인정&#xA;1회량^인정&#xA;일투^인정&#xA;총투^인정액^인정액^인정액^불인정액^불인정액^불인정액^보류액^보류액^보류액^정산&#xA;1회량^정산&#xA;일투^정산&#xA;총투^정산결정차액^정산결정차액^정산결정차액^인정액_정산결정차액^인정액_정산결정차액^다음&#xA;단계^비고란^청구&#xA;년월^진료&#xA;년월^보험&#xA;유형^내원&#xA;유형^청구&#xA;분야^청구&#xA;구분^청구&#xA;차수^이신&#xA;구분^접수&#xA;번호^심사&#xA;차수^묶음&#xA;번호^청구&#xA;번호^총&#xA;진료비^이의&#xA;신청&#xA;일자^문서번호&#xA;가의강^결정문서&#xA;도착일자^결정&#xA;문서&#xA;번호^이신&#xA;완료&#xA;여부^완료&#xA;여부^정산내역서&#xA;도착일자^정산내역서&#xA;도착일자^원외심결&#xA;심사차수^원외&#xA;통보일자^처방전교부번호^보류&#xA;순번|진료과코드^진료과^주치의코드^주치의^명일련^등록번호^환자이름^상병코드^퇴원일자^이의&#xA;신청자코드^이의&#xA;신청자^줄번호^항^구분^구분2^조정&#xA;사유^I, II&#xA;구분^처방코드^EDI코드^처방명칭^단가^청구&#xA;수량^청구&#xA;1회량^청구&#xA;일투^청구&#xA;총투^조정&#xA;삭감&#xA;수량^조정&#xA;1회량^조정&#xA;일투^조정&#xA;총투^계^원내^원외^이신&#xA;수량^이신&#xA;1회량^이의&#xA;일투^이의&#xA;총투^계^원내^원외^인정&#xA;1회량^인정&#xA;일투^인정&#xA;총투^계^원내^원외^계^원내^원외^계^원내^원외^정산&#xA;1회량^정산&#xA;일투^정산&#xA;총투^계^원내^원외^원내^원외^다음&#xA;단계^비고란^청구&#xA;년월^진료&#xA;년월^보험&#xA;유형^내원&#xA;유형^청구&#xA;분야^청구&#xA;구분^청구&#xA;차수^이신&#xA;구분^접수&#xA;번호^심사&#xA;차수^묶음&#xA;번호^청구&#xA;번호^총&#xA;진료비^이의&#xA;신청&#xA;일자^문서번호&#xA;가의강^결정문서&#xA;도착일자^결정&#xA;문서&#xA;번호^이신&#xA;완료&#xA;여부^완료&#xA;여부^원내^원외^원외심결&#xA;심사차수^원외&#xA;통보일자^처방전교부번호^보류&#xA;순번" colsep="^" colwidth="74, 60, 70, 80, 60, 60, 60, 70, 70, 67, 60, 40, 30, 40, 40, 40, 40, 70, 70, 200, 60, 50, 50, 50, 50, 50, 50, 50, 50, 63, 63, 63, 40, 40, 35, 35, 64, 64, 64, 40, 35, 35, 63, 63, 63, 63, 63, 63, 63, 63, 63, 40, 35, 35, 80, 63, 63, 63, 63, 59, 128, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 71, 75, 50, 50, 50, 50, 100, 100, 100, 37" dataheight="25" defaultrows="1" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:1px; top:175px; width:1194px; height:507px; ">
  539. <col ref="orddeptcd" visibility="hidden" style="left:20px; top:52px; width:74px; height:23px; text-align:center; "/>
  540. <col ref="orddeptabbr" style="left:94px; top:52px; width:60px; height:23px; text-align:center; "/>
  541. <col ref="atdoct" visibility="hidden" style="text-align:center; "/>
  542. <col ref="atdoctnm" style="text-align:center; "/>
  543. <col ref="docuseqno" style="text-align:center; "/>
  544. <col ref="pid" style="text-align:center; "/>
  545. <col ref="patnm" style="text-align:center; "/>
  546. <col ref="maindiag" style="text-align:center; "/>
  547. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  548. <col ref="obtappid" style="text-align:center; "/>
  549. <col ref="judgrnm" style="text-align:center; "/>
  550. <col ref="lnno" style="text-align:center; "/>
  551. <col ref="item" style="text-align:center; "/>
  552. <col ref="division" visibility="hidden" style="text-align:center; "/>
  553. <col ref="division2" visibility="hidden" style="text-align:center; "/>
  554. <col ref="adjtresncd" style="text-align:center; "/>
  555. <col ref="matractflag" style="text-align:center; "/>
  556. <col ref="snglcalcscorcd" style="text-align:center; "/>
  557. <col ref="edicd" style="text-align:center; "/>
  558. <col ref="hngnm" style="left:850px; top:52px; width:200px; height:23px; text-align:left; padding-left:5; "/>
  559. <col ref="unitcost" format="(-)#,###" style="text-align:right; "/>
  560. <col ref="clamqty" visibility="hidden" style="text-align:center; "/>
  561. <col ref="clamonesqty" visibility="hidden" style="text-align:center; "/>
  562. <col ref="clamone" visibility="hidden" style="text-align:center; "/>
  563. <col ref="clamtot" visibility="hidden" style="text-align:center; "/>
  564. <col ref="adjtrdqty" visibility="hidden" style="text-align:center; "/>
  565. <col ref="adjtonesqty" visibility="hidden" style="text-align:center; "/>
  566. <col ref="adjtone" visibility="hidden" style="text-align:center; "/>
  567. <col ref="adjttot" visibility="hidden" style="text-align:center; "/>
  568. <col ref="adjtrdtotamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  569. <col ref="adjtrdamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  570. <col ref="oprcpadjtrdamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  571. <col ref="obtappqty" style="text-align:center; "/>
  572. <col ref="obtapponesqty" type="input" style="text-align:center; "/>
  573. <col ref="obtappdayqty" type="input" style="text-align:center; "/>
  574. <col ref="obtapptotqty" type="input" style="text-align:center; "/>
  575. <col ref="obtapptotamt" format="(-)#,###" style="text-align:right; "/>
  576. <col ref="obtappamt" format="(-)#,###" style="text-align:right; "/>
  577. <col ref="oprcpobtappamt" format="(-)#,###" style="text-align:right; "/>
  578. <col ref="recogonesqty" format="#,###" style="text-align:center; "/>
  579. <col ref="recogdayqty" style="text-align:center; "/>
  580. <col ref="recogtotqty" style="text-align:center; "/>
  581. <col ref="recogtotamt" format="(-)#,###" style="text-align:right; "/>
  582. <col ref="recogamt" format="(-)#,###" style="text-align:right; "/>
  583. <col ref="oprcprecogamt" format="(-)#,###" style="text-align:right; "/>
  584. <col ref="nrecogtotamt" format="(-)#,###" style="text-align:right; "/>
  585. <col ref="nrecogamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  586. <col ref="noprcprecogamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  587. <col ref="retetotamt" format="(-)#,###" style="text-align:right; "/>
  588. <col ref="reteamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  589. <col ref="oprcpreteamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  590. <col ref="calconesqty" style="text-align:center; "/>
  591. <col ref="calcdayqty" style="text-align:center; "/>
  592. <col ref="calctotqty" style="text-align:center; "/>
  593. <col ref="calcdecitotamt" format="(-)#,###" style="text-align:right; "/>
  594. <col ref="calcdeciamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  595. <col ref="oprcpcalcdeciamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  596. <col ref="calcdecidifamt" format="(-)#,###" style="text-align:right; "/>
  597. <col ref="oprcpcalcdecidifamt" format="(-)#,###" style="text-align:right; "/>
  598. <col ref="reclamyn" style="text-align:center; "/>
  599. <col ref="ordmemo" type="inputbutton" style="text-align:left; padding-left:5; "/>
  600. <col ref="clamym" visibility="hidden" format="yyyy-mm" style="text-align:center; "/>
  601. <col ref="ordym" visibility="hidden" format="yyyy-mm" style="text-align:center; "/>
  602. <col ref="insukind" visibility="hidden" style="text-align:center; "/>
  603. <col ref="chosflag" visibility="hidden" style="text-align:center; "/>
  604. <col ref="ordfildcd" visibility="hidden" style="text-align:center; "/>
  605. <col ref="clamflag" visibility="hidden" style="text-align:center; "/>
  606. <col ref="clamdg" visibility="hidden" style="text-align:center; "/>
  607. <col ref="obtappflag" visibility="hidden" style="text-align:center; "/>
  608. <col ref="acptno" visibility="hidden" style="text-align:center; "/>
  609. <col ref="judgdg" visibility="hidden" style="text-align:center; "/>
  610. <col ref="setno" visibility="hidden" style="text-align:center; "/>
  611. <col ref="clamno" visibility="hidden" style="text-align:center; "/>
  612. <col ref="clclamamt" visibility="hidden" format="(-)#,###" style="text-align:right; "/>
  613. <col ref="obtappdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  614. <col ref="obtappdocuno" visibility="hidden" style="text-align:center; "/>
  615. <col ref="decirepldd" format="yyyy-mm-dd" style="text-align:center; "/>
  616. <col ref="decidocuno" style="text-align:center; "/>
  617. <col ref="obtappendyn" visibility="hidden" style="text-align:center; "/>
  618. <col ref="endyn" visibility="hidden" style="text-align:center; "/>
  619. <col ref="calcnotidd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  620. <col ref="oprccalcnotidd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  621. <col ref="oprcjrjudgdegree" visibility="hidden" style="text-align:center; "/>
  622. <col ref="oprcnotidd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  623. <col ref="mpsno" visibility="hidden" style="text-align:center; "/>
  624. <col ref="seqno" style="text-align:center; "/>
  625. <script type="javascript" ev:event="onmousedown">
  626. <![CDATA[
  627. // 이의신청결과 팝업
  628. if (event.button == 3) {
  629. if (grd_pirhobtspec.isCell(event.target) && grd_pirhobtspec.mouseRow >= grd_pirhobtspec.fixedrows) {
  630. window.setPopupMenu(true, "/root/popupdata/popupmenu/gridobtrsltspec/item", "name", "func", false);
  631. }
  632. else {
  633. window.setPopupMenu(false);
  634. }
  635. }
  636. ]]>
  637. </script>
  638. <script type="javascript" ev:event="DOMFocusOut">
  639. <![CDATA[
  640. //포커스 벋어나면 오른메뉴 없어지기
  641. window.setPopupMenu(false);
  642. ]]>
  643. </script>
  644. <script type="javascript" ev:event="onclick">
  645. <![CDATA[
  646. // row에 해당하는 결정문서번호, 결정문서도착일자 위에 보여주기
  647. var curr_row = grd_pirhobtspec.row;
  648. var decidocuno = model.getValue( "/root/main/list01/gridobtrsltspec[" + curr_row + "]/decidocuno");
  649. var decirepldd = model.getValue( "/root/main/list01/gridobtrsltspec[" + curr_row + "]/decirepldd");
  650. model.setValue("/root/temp/deciinfo/decidocuno",decidocuno);
  651. model.setValue("/root/temp/deciinfo/decirepldd",decirepldd);
  652. model.refresh();
  653. ]]>
  654. </script>
  655. <script type="javascript" ev:event="xforms-value-changed">
  656. <![CDATA[
  657. var curr_row = grd_pirhobtspec.row;
  658. //var obtappone = Number(grd_pirhobtspec.valueMatrix(curr_row,grd_pirhobtspec.colRef("obtapponesqty"))); // 이신1회량
  659. var obtappday = Number(grd_pirhobtspec.valueMatrix(curr_row,grd_pirhobtspec.colRef("obtappdayqty"))); // 이신일투
  660. var obtapptot = Number(grd_pirhobtspec.valueMatrix(curr_row,grd_pirhobtspec.colRef("obtapptotqty"))); // 이신총투
  661. var unitcost = Number(grd_pirhobtspec.valueMatrix(curr_row,grd_pirhobtspec.colRef("unitcost"))); // 처방단가
  662. var matract = Number(grd_pirhobtspec.valueMatrix(curr_row,grd_pirhobtspec.colRef("matractflag"))); // 재료행위구분
  663. grd_pirhobtspec.valueMatrix(curr_row, grd_pirhobtspec.colRef("obtappqty")) = obtapptot * obtappday; // 이신수량 계산(이신일투*이신총투)
  664. var obtappqty = grd_pirhobtspec.valueMatrix(curr_row, grd_pirhobtspec.colRef("obtappqty")); // 이신수량
  665. if (matract == "2") {
  666. grd_pirhobtspec.valueMatrix(curr_row,grd_pirhobtspec.colRef("obtappamt")) = (obtappday * obtapptot * unitcost) + ((obtappday * obtapptot * unitcost)*0.3); // 이의신청액계산(행위일때_종별가산금추가)
  667. } else {
  668. grd_pirhobtspec.valueMatrix(curr_row,grd_pirhobtspec.colRef("obtappamt")) = obtappday * obtapptot * unitcost; // 이의신청액(재료일때)
  669. }
  670. grd_pirhobtspec.rowStatus(curr_row) = 2; // row update
  671. grd_pirhobtspec.valueMatrix(curr_row,grd_pirhobtspec.colRef("obtapptotamt")) = Number(grd_pirhobtspec.valueMatrix(curr_row,grd_pirhobtspec.colRef("obtappamt"))) +
  672. Number(grd_pirhobtspec.valueMatrix(curr_row,grd_pirhobtspec.colRef("oprcpobtappamt"))); // 이신액계 계산
  673. // 수정건이 있다는 것을 보여주기 위하여 수정시 빽컬러변경.
  674. grd_pirhobtspec.rowstyle(curr_row, "data", "background-color") = "#FFFF99";
  675. grd_pirhobtspec.rowstyle(curr_row, "data", "color") = "#FF0000";
  676. model.refreshpart("/root/main/list01/gridobtrsltspec");
  677. ]]>
  678. </script>
  679. <script type="javascript" ev:event="onbuttonclick">
  680. <![CDATA[
  681. // 버튼 클릭시 메모 입력 창 보여주기
  682. var col = grd_pirhobtspec.colRef("ordmemo");
  683. var row = grd_pirhobtspec.row;
  684. if(col == '61')
  685. {
  686. grp_memo.visible = true;
  687. var memo = grd_pirhobtspec.valueMatrix(row, grd_pirhobtspec.colRef("ordmemo"));
  688. txt_text.value = memo;
  689. }
  690. // model.resetInstanceNode("/root/source");
  691. // model.refresh();
  692. // var curr_row = grd_pirhobtspec.row - 1 ;
  693. // model.setValue("/root/source/judgdg", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/judgdg"));
  694. // model.setValue("/root/source/clamno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/clamno"));
  695. // model.setValue("/root/source/acptno", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/acptno"));
  696. // model.setValue("/root/source/obtappflag", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/obtappflag"));
  697. // model.setValue("/root/source/rem", model.getValue("/root/main/list01/gridpirmobth[" + curr_row + "]/rem"));
  698. // // 메모 입력창 팝업 화면
  699. // modal("SPPIR30210", 1,300, 300, "SPPIR30210", "/root/source", "/root/send");
  700. ]]>
  701. </script>
  702. </datagrid>
  703. <button id="button2" class="btn2_letter4" style="left:1130px; top:151px; width:64px; height:19px; ">
  704. <caption>엑셀저장</caption>
  705. <script type="javascript" ev:event="DOMActivate">
  706. <![CDATA[
  707. var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
  708. // 그리드 제목을 선택하면 저장이 안된다.
  709. if (grd_pirhobtspec.rows == 2) {
  710. return;
  711. }
  712. var fileName = window.fileDialog("save", ",", false, "이의신청결과상세조회-이의신청처방_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  713. if (fileName != "") {
  714. grd_pirhobtspec.saveExcel(fileName, "이의신청처방", true, true, "", "", "");
  715. }
  716. ]]>
  717. </script>
  718. </button>
  719. <caption id="caption50" class="cell_1" style="left:366px; top:694px; width:91px; height:23px; text-align:left; vertical-align:middle; ">원외이의신청율</caption>
  720. <line id="line10" class="line_3" style="x1:0px; y1:741px; x2:455px; y2:741px; "/>
  721. <input id="input42" ref="/root/main/list01/obtappdecispec/obtapprate" class="input_default" style="left:198px; top:720px; width:73px; height:19px; text-align:center; "/>
  722. <line id="line44" class="line_2" style="x1:0px; y1:716px; x2:455px; y2:716px; "/>
  723. <input id="input43" ref="/root/main/list01/obtappdecispec/obtappamt" class="input_default" format="(-)#,###" style="left:123px; top:720px; width:73px; height:19px; text-align:right; "/>
  724. <caption id="caption10" class="cell_1" style="left:198px; top:694px; width:73px; height:23px; text-align:left; vertical-align:middle; ">이의신청율</caption>
  725. <caption id="caption53" class="cell_1" style="left:75px; top:694px; width:45px; height:23px; text-align:left; vertical-align:middle; ">건수</caption>
  726. <input id="input44" ref="/root/main/list01/obtappdecispec/oprcpobtappamt" class="input_default" format="(-)#,###" style="left:273px; top:720px; width:91px; height:19px; text-align:right; "/>
  727. <caption id="caption54" class="cell_1" style="left:123px; top:694px; width:73px; height:23px; text-align:left; vertical-align:middle; ">이의신청액</caption>
  728. <input id="input45" ref="/root/main/list01/obtappdecispec/obtappcnt" class="input_default" style="left:75px; top:720px; width:45px; height:19px; text-align:center; "/>
  729. <caption id="caption44" class="cell_1" style="left:0px; top:694px; width:73px; height:23px; vertical-align:middle; "/>
  730. <caption id="caption47" class="cell_1" style="left:0px; top:718px; width:73px; height:23px; text-align:left; vertical-align:middle; ">이의신청</caption>
  731. <input id="input49" ref="/root/main/list01/obtappdecispec/oprcpobtapprate" class="input_default" style="left:366px; top:720px; width:91px; height:19px; text-align:center; "/>
  732. <caption id="caption29" class="cell_1" style="left:273px; top:694px; width:91px; height:23px; text-align:left; vertical-align:middle; ">원외이의신청액</caption>
  733. <line id="line6" class="line_3" style="x1:0px; y1:691px; x2:455px; y2:691px; "/>
  734. <caption id="caption11" class="cell_1" style="left:805px; top:694px; width:70px; height:23px; text-align:left; vertical-align:middle; ">원외인정율</caption>
  735. <line id="line2" class="line_3" style="x1:460px; y1:741px; x2:875px; y2:741px; "/>
  736. <input id="input8" ref="/root/main/list01/obtappdecispec/decirate" class="input_default" style="left:639px; top:720px; width:71px; height:19px; text-align:center; "/>
  737. <line id="line3" class="line_2" style="x1:460px; y1:716px; x2:875px; y2:716px; "/>
  738. <input id="input9" ref="/root/main/list01/obtappdecispec/deciamt" class="input_default" format="(-)#,###" style="left:564px; top:720px; width:73px; height:19px; text-align:right; "/>
  739. <caption id="caption12" class="cell_1" style="left:517px; top:694px; width:45px; height:23px; text-align:left; vertical-align:middle; ">건수</caption>
  740. <input id="input10" ref="/root/main/list01/obtappdecispec/oprcpdeciamt" class="input_default" format="(-)#,###" style="left:712px; top:720px; width:91px; height:19px; text-align:right; "/>
  741. <caption id="caption13" class="cell_1" style="left:639px; top:694px; width:71px; height:23px; text-align:left; vertical-align:middle; ">인정율</caption>
  742. <caption id="caption14" class="cell_1" style="left:564px; top:694px; width:73px; height:23px; text-align:left; vertical-align:middle; ">결정액</caption>
  743. <input id="input14" ref="/root/main/list01/obtappdecispec/decicnt" class="input_default" style="left:517px; top:720px; width:45px; height:19px; text-align:center; "/>
  744. <caption id="caption15" class="cell_1" style="left:460px; top:694px; width:55px; height:23px; vertical-align:middle; "/>
  745. <caption id="caption28" class="cell_1" style="left:460px; top:718px; width:55px; height:23px; text-align:left; vertical-align:middle; ">결 정</caption>
  746. <input id="input15" ref="/root/main/list01/obtappdecispec/oprcpdecirate" class="input_default" style="left:805px; top:720px; width:70px; height:19px; text-align:center; "/>
  747. <caption id="caption30" class="cell_1" style="left:712px; top:694px; width:91px; height:23px; text-align:left; vertical-align:middle; ">원외결정액</caption>
  748. <line id="line4" class="line_3" style="x1:460px; y1:691px; x2:875px; y2:691px; "/>
  749. <input id="input16" ref="/root/main/list01/obtappdecispec/reteamt" class="input_default" format="(-)#,###" style="left:1029px; top:720px; width:73px; height:19px; text-align:right; "/>
  750. <caption id="caption31" class="cell_1" style="left:954px; top:694px; width:73px; height:23px; text-align:left; vertical-align:middle; ">건수</caption>
  751. <input id="input17" ref="/root/main/list01/obtappdecispec/retecnt" class="input_default" style="left:954px; top:720px; width:73px; height:19px; text-align:center; "/>
  752. <caption id="caption32" class="cell_1" style="left:1029px; top:694px; width:73px; height:23px; text-align:left; vertical-align:middle; ">보류액</caption>
  753. <line id="line5" class="line_3" style="x1:879px; y1:741px; x2:1178px; y2:741px; "/>
  754. <caption id="caption33" class="cell_1" style="left:879px; top:694px; width:73px; height:23px; vertical-align:middle; "/>
  755. <line id="line7" class="line_2" style="x1:879px; y1:716px; x2:1178px; y2:716px; "/>
  756. <caption id="caption34" class="cell_1" style="left:879px; top:718px; width:73px; height:23px; text-align:left; vertical-align:middle; ">보 류</caption>
  757. <line id="line8" class="line_3" style="x1:879px; y1:691px; x2:1178px; y2:691px; "/>
  758. <caption id="caption35" class="cell_1" style="left:1105px; top:694px; width:73px; height:23px; text-align:left; vertical-align:middle; ">원외보류액</caption>
  759. <input id="input18" ref="/root/main/list01/obtappdecispec/oprcpreteamt" class="input_default" format="(-)#,###" style="left:1105px; top:720px; width:73px; height:19px; text-align:right; "/>
  760. <line id="line9" class="line_3" style="x1:0px; y1:114px; x2:1194px; y2:114px; "/>
  761. <caption id="caption38" class="cell_1" style="left:0px; top:115px; width:91px; height:23px; text-align:left; vertical-align:middle; ">결정문서번호</caption>
  762. <input id="ipt_decidocuno" ref="/root/temp/deciinfo/decidocuno" class="input_default" style="left:93px; top:117px; width:90px; height:19px; text-align:right; "/>
  763. <line id="line11" class="line_3" style="x1:0px; y1:138px; x2:1194px; y2:138px; "/>
  764. <input id="ipt_decirepldd" ref="/root/temp/deciinfo/decirepldd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:301px; top:117px; width:119px; height:19px; text-align:right; "/>
  765. <caption id="caption39" class="cell_1" style="left:186px; top:115px; width:113px; height:23px; text-align:left; vertical-align:middle; ">결정문서도착일자</caption>
  766. <button id="button3" class="btn2_letter2" style="left:424px; top:117px; width:42px; height:19px; ">
  767. <caption>저장</caption>
  768. <script type="javascript" ev:event="DOMActivate">
  769. <![CDATA[
  770. // 상세조회에서의 결정문서번호저장은 주로 보류처방건에 대해 결정문서번호를 저장하는 것으로 해당하는 것을 다중선택하여
  771. // 일괄 결정문서번호를 저장한다.
  772. // 선택된 row에 결정정보 넣고 보류건인지(seqno >1) 확인
  773. fChkDeciInfoRete();
  774. var updtdata = getGridUpdateData(grd_pirhobtspec); // (tfHelper.js) 그리드 업데이트 데이터 반환, 업데이트 정보가 없을경우 "" 반환
  775. if (updtdata != "") {
  776. model.setValue("/root/send/send_deciinfo", updtdata);
  777. submit("TXPIR30901");
  778. grd_pirhobtspec.rebuildStyle();
  779. submit("TRPIR30901");
  780. }
  781. ]]>
  782. </script>
  783. </button>
  784. <button id="button5" class="btn2_letter2" style="left:1086px; top:151px; width:42px; height:19px; ">
  785. <caption>저장</caption>
  786. <script type="javascript" ev:event="DOMActivate">
  787. <![CDATA[
  788. model.setValue("/root/main/list02/gridobtrsltspec", grd_pirhobtspec.getUpdateData());
  789. submit("TXPIR30902");
  790. submit("TRPIR30901");
  791. grd_pirhobtspec.rebuildStyle();
  792. // model.setValue("/root/main/temp/gridadjtorder", grd_adjtord.getUpdateData());
  793. // submit("TXPIR30801");
  794. ]]>
  795. </script>
  796. </button>
  797. <button id="button6" class="btn2_letter7" style="left:987px; top:151px; width:97px; height:19px; ">
  798. <caption>일괄 0원 마감</caption>
  799. <script type="javascript" ev:event="DOMActivate">
  800. <![CDATA[
  801. // [[ 일괄0원마감 ]]
  802. // 명일련별로 결정일투, 결정총투, 결정액을 0으로 Setting 한다.
  803. // 이의신청마감구분은 마감(Y)으로 처리한다.
  804. // 최종마감은 별도로 접수번호별로 처리한다.
  805. var selectedrows = grd_pirhobtspec.selectedRows;
  806. for(var i=0; i < selectedrows; i++){
  807. var row = grd_pirhobtspec.selectedRow(i);
  808. grd_pirhobtspec.rowStatus(row) = 2; // row상태를 update로 만든다.
  809. }
  810. model.setValue("/root/send_end/batch_end", grd_pirhobtspec.getUpdateData());
  811. submit("TXPIR30903");
  812. //submit("TRPIR30901");
  813. // var curr_row = grd_pirhobtspec.row;
  814. // var status = "update";
  815. // var judgdg = model.getValue("/root/main/list1/gridobtrsltspec[" + curr_row + "]/judgdg");
  816. // var clamno = model.getValue("/root/main/list1/gridobtrsltspec[" + curr_row + "]/clamno");
  817. // var acptno = model.getValue("/root/main/list1/gridobtrsltspec[" + curr_row + "]/acptno");
  818. // var docuseqno = model.getValue("/root/main/list1/gridobtrsltspec[" + curr_row + "]/docuseqno");
  819. // var obtappflag = model.getValue("/root/main/list1/gridobtrsltspec[" + curr_row + "]/obtappflag");
  820. // model.setValue("/root/send_end/status", status);
  821. // model.setValue("/root/send_end/judgdg", judgdg);
  822. // model.setValue("/root/send_end/clamno", clamno);
  823. // model.setValue("/root/send_end/acptno", acptno);
  824. // model.setValue("/root/send_end/docuseqno", docuseqno);
  825. // model.setValue("/root/send_end/obtappflag", obtappflag);
  826. // submit("TXPIR30903");
  827. // model.refresh();
  828. // submit("TRPIR30901");
  829. ]]>
  830. </script>
  831. </button>
  832. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:65px; vertical-align:top; ">
  833. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:63px; background-color:#fffbf2; border-color:#ffd799; "/>
  834. <caption id="caption2" class="search_name" style="left:2px; top:9px; width:88px; height:17px; ">청구번호:</caption>
  835. <button id="button1" class="btn1_letter2" style="left:1130px; top:8px; width:56px; height:22px; ">
  836. <caption>조회</caption>
  837. <script type="javascript" ev:event="onclick">
  838. <![CDATA[
  839. if (ipt_judgdg.value == "") {
  840. alert("심사차수를 입력해 주세요");
  841. model.setFocus("ipt_judgdg");
  842. return false;
  843. }
  844. if (ipt_acptno.value == "") {
  845. alert("접수번호를 입력해 주세요");
  846. model.setFocus("ipt_acptno");
  847. return false;
  848. }
  849. model.resetInstanceNode("/root/main/list01");
  850. model.resetInstanceNode("/root/main/list02");
  851. // 재조회시
  852. // 결정문서번호, 결정문서도착일자를 초기화한다.
  853. // ipt_decidocuno.value = "";
  854. // ipt_decirepldd.value = "";
  855. model.resetInstanceNode("/root/temp/deciinfo");
  856. model.refresh();
  857. submit("TRPIR30901");
  858. grd_pirhobtspec.rebuildStyle();
  859. ]]>
  860. </script>
  861. </button>
  862. <line id="line13" class="line_4" style="x1:1120px; y1:8px; x2:1120px; y2:30px; "/>
  863. <caption id="caption3" class="search_name" style="left:158px; top:9px; width:87px; height:17px; ">접수번호:</caption>
  864. <caption id="caption4" class="search_name" style="left:315px; top:9px; width:88px; height:17px; ">심사차수:</caption>
  865. <caption id="caption21" class="search_name" style="left:473px; top:9px; width:88px; height:17px; ">묶음번호:</caption>
  866. <input id="input7" ref="/root/send/send_find/setno" class="input_search" disabled="true" style="left:555px; top:8px; width:73px; height:19px; text-align:left; "/>
  867. <output id="output8" ref="/root/main/list01/acptinfo/claminfo" class="output_search" style="left:589px; top:38px; width:255px; height:19px; "/>
  868. <caption id="caption22" class="search_name" style="left:848px; top:39px; width:142px; height:17px; ">이신/인정/불인정액</caption>
  869. <input id="ipt_clamno" ref="/root/send/send_find/clamno" class="input_search" navindex="3" style="left:82px; top:8px; width:73px; height:19px; text-align:left; "/>
  870. <input id="ipt_acptno" ref="/root/send/send_find/acptno" class="input_s_essential" navindex="1" inputtype="button" style="left:238px; top:8px; width:73px; height:19px; text-align:left; "/>
  871. <output id="output1" ref="/root/main/list01/acptinfo/obtappamt" class="output_search" format="(-)#,###" style="left:991px; top:38px; width:64px; height:19px; text-align:right; "/>
  872. <output id="output2" ref="/root/main/list01/acptinfo/nrecogamt" class="output_search" format="(-)#,###" style="left:1121px; top:38px; width:64px; height:19px; text-align:right; "/>
  873. <output id="output3" ref="/root/main/list01/acptinfo/recogamt" class="output_search" format="(-)#,###" style="left:1056px; top:38px; width:64px; height:19px; text-align:right; "/>
  874. <input id="input19" ref="/root/send/send_find/obtappdocuno" class="input_search" style="left:82px; top:38px; width:89px; height:19px; text-align:left; "/>
  875. <caption id="caption36" class="search_name" style="left:2px; top:39px; width:82px; height:17px; ">문서번호:</caption>
  876. <input id="input20" ref="/root/send/send_find/obtappdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:172px; top:38px; width:98px; height:19px; text-align:left; "/>
  877. <input id="ipt_judgdg" ref="/root/send/send_find/judgdg" class="input_s_essential" navindex="2" style="left:396px; top:8px; width:73px; height:19px; text-align:left; ">
  878. <script type="javascript" ev:event="DOMFocusOut">
  879. <![CDATA[
  880. var retVal = null;
  881. // 접수번호와 심사차수로 청구번호(ClamNo)정보를 조회한다.
  882. var judgdg = model.getValue("/root/send/send_find/judgdg");
  883. var acptno = model.getValue("/root/send/send_find/acptno");
  884. model.setValue("/root/send/send_clamno/judgdg", judgdg);
  885. model.setValue("/root/send/send_clamno/acptno", acptno);
  886. model.refresh();
  887. // 심사차수, 접수번호로 청구번호를 조회하는 Sub.....
  888. submit("TRPIR30902");
  889. // alert("1111 : " + model.getValue("/root/hidden/list01/claminfo/clamno"));
  890. model.setValue("/root/send/send_find/clamno", model.getValue("/root/hidden/list01/claminfo/clamno"));
  891. model.refresh();
  892. // var node = instance1.selectSingleNode("/root/hidden/list01");
  893. // node.replaceChild(instance1.root.hidden.list01.claminfo, instance1.root.send);
  894. ]]>
  895. </script>
  896. </input>
  897. <select1 id="cmb_obtappflag" ref="/root/send/send_find/obtappflag" class="combo_search" appearance="minimal" style="left:1013px; top:8px; width:95px; height:19px; text-align:left; ">
  898. <choices>
  899. <itemset nodeset="/root/init/P0264list/P0264">
  900. <label ref="cdnm"/>
  901. <value ref="cdid"/>
  902. </itemset>
  903. </choices>
  904. <script type="javascript" ev:event="xforms-select">
  905. <![CDATA[
  906. rdo_rejudgflag.deselect(1);
  907. rdo_rejudgflag.deselect(2);
  908. ]]>
  909. </script>
  910. </select1>
  911. <caption id="caption41" class="search_name" style="left:803px; top:9px; width:86px; height:17px; ">이신구분:</caption>
  912. <select1 id="rdo_rejudgflag" ref="/root/send/send_find/rejudgflag" class="radio_search" overflow="visible" appearance="full" cellspacing="5" cols="4" style="left:885px; top:10px; width:125px; height:15px; border-style:none; ">
  913. <choices>
  914. <item>
  915. <label>전체</label>
  916. <value>1</value>
  917. </item>
  918. <item>
  919. <label>재심사제외</label>
  920. <value>2</value>
  921. </item>
  922. </choices>
  923. <script type="javascript" ev:event="onclick">
  924. <![CDATA[
  925. cmb_obtappflag.deselect(1);
  926. ]]>
  927. </script>
  928. </select1>
  929. <caption id="caption20" class="search_name" style="left:276px; top:39px; width:110px; height:17px; ">결정문서번호:</caption>
  930. <input id="input11" ref="/root/send/send_find/decidocuno" class="input_search" style="left:384px; top:38px; width:104px; height:19px; text-align:left; "/>
  931. <input id="input23" ref="/root/send/send_find/decirepldd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:489px; top:38px; width:87px; height:19px; text-align:left; "/>
  932. <input id="input4" ref="/root/send/send_find/notidd" class="input_search" inputtype="date" style="left:715px; top:8px; width:84px; height:19px; text-align:left; "/>
  933. <caption id="caption5" class="search_name" style="left:632px; top:9px; width:84px; height:17px; ">도착일자:</caption>
  934. </group>
  935. <group id="group1" style="left:1px; top:76px; width:1194px; height:36px; vertical-align:top; ">
  936. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1194px; height:33px; background-color:#fffbf2; border-color:#ffd799; "/>
  937. <button id="button7" class="btn1_letter2" style="left:1130px; top:8px; width:56px; height:22px; ">
  938. <caption>필터</caption>
  939. <script type="javascript" ev:event="onclick">
  940. <![CDATA[
  941. // 필터
  942. fGetSelectedData();
  943. model.refresh();
  944. ]]>
  945. </script>
  946. </button>
  947. <line id="line12" class="line_4" style="x1:1125px; y1:8px; x2:1125px; y2:30px; "/>
  948. <input id="input1" ref="/root/hidden/filterlist/filter/cd" class="input_search" style="left:739px; top:9px; width:72px; height:19px; text-align:left; "/>
  949. <select1 id="combo1" ref="/root/hidden/filterlist/filter/orddeptcd" class="combo_search" appearance="minimal" style="left:74px; top:9px; width:58px; height:19px; text-align:left; ">
  950. <choices>
  951. <itemset nodeset="/root/main/list01/deptinfo">
  952. <label ref="nm"/>
  953. <value ref="cd"/>
  954. </itemset>
  955. </choices>
  956. </select1>
  957. <caption id="caption8" class="search_name" style="left:139px; top:10px; width:70px; height:17px; ">주치의:</caption>
  958. <caption id="caption19" class="search_name" style="left:263px; top:10px; width:94px; height:17px; ">이의신청자:</caption>
  959. <caption id="caption46" class="search_name" style="left:413px; top:10px; width:43px; height:17px; ">항:</caption>
  960. <!-- 원래 공통코드는 P0277-->
  961. <select1 id="combo5" ref="/root/hidden/filterlist/filter/adjtresn" class="combo_search" appearance="minimal" style="left:600px; top:9px; width:42px; height:19px; text-align:left; ">
  962. <choices>
  963. <itemset nodeset="/root/main/list01/adjtresninfo">
  964. <label ref="nm"/>
  965. <value ref="adjtresncd"/>
  966. </itemset>
  967. </choices>
  968. </select1>
  969. <caption id="caption48" class="search_name" style="left:516px; top:10px; width:81px; height:17px; ">조정사유:</caption>
  970. <!-- 공통은 P0123 -->
  971. <select1 id="combo6" ref="/root/hidden/filterlist/filter/item" class="combo_search" appearance="minimal" style="left:455px; top:9px; width:52px; height:19px; text-align:left; ">
  972. <choices>
  973. <itemset nodeset="/root/main/list01/iteminfo">
  974. <label ref="nm"/>
  975. <value ref="item"/>
  976. </itemset>
  977. </choices>
  978. </select1>
  979. <input id="input25" ref="/root/hidden/filterlist/filter/adjtamt" class="input_search" format="#,###" style="left:931px; top:9px; width:73px; height:19px; text-align:left; "/>
  980. <caption id="caption49" style="left:1005px; top:11px; width:30px; height:17px; font-weight:bold; ">이상</caption>
  981. <select1 id="radio4" ref="/root/hidden/filterlist/filter/cdgubun" class="radio_search" overflow="visible" appearance="full" cellspacing="5" cols="4" style="left:648px; top:11px; width:90px; height:15px; border-style:none; ">
  982. <choices>
  983. <item>
  984. <label>처방</label>
  985. <value>1</value>
  986. </item>
  987. <item>
  988. <label>EDI</label>
  989. <value>2</value>
  990. </item>
  991. </choices>
  992. <script type="javascript" ev:event="onclick">
  993. <![CDATA[
  994. cmb_obtappflag.deselect(1);
  995. ]]>
  996. </script>
  997. </select1>
  998. <select1 id="radio5" ref="/root/hidden/filterlist/filter/amtgubun" class="radio_search" overflow="visible" appearance="full" cellspacing="5" cols="4" style="left:815px; top:11px; width:115px; height:15px; border-style:none; ">
  999. <choices>
  1000. <item>
  1001. <label>삭감액</label>
  1002. <value>1</value>
  1003. </item>
  1004. <item>
  1005. <label>인정액</label>
  1006. <value>2</value>
  1007. </item>
  1008. </choices>
  1009. <script type="javascript" ev:event="onclick">
  1010. <![CDATA[
  1011. cmb_obtappflag.deselect(1);
  1012. ]]>
  1013. </script>
  1014. </select1>
  1015. <button id="btn_initfilter" class="btn2_letter5" style="left:1041px; top:9px; width:75px; height:19px; ">
  1016. <caption>필터초기화</caption>
  1017. <script type="javascript" ev:event="DOMActivate">
  1018. <![CDATA[
  1019. // 필터용 조회조건을 초기화한다.
  1020. fInitFilter();
  1021. ]]>
  1022. </script>
  1023. </button>
  1024. <select1 id="combo2" ref="/root/hidden/filterlist/filter/orddrid" class="combo_search" appearance="minimal" style="left:206px; top:9px; width:48px; height:19px; text-align:left; ">
  1025. <choices>
  1026. <itemset nodeset="/root/main/list01/doctinfo">
  1027. <label ref="nm"/>
  1028. <value ref="atdoct"/>
  1029. </itemset>
  1030. </choices>
  1031. </select1>
  1032. <select1 id="combo3" ref="/root/hidden/filterlist/filter/judgrid" class="combo_search" appearance="minimal" style="left:357px; top:9px; width:50px; height:19px; text-align:left; ">
  1033. <choices>
  1034. <itemset nodeset="/root/main/list01/judgrinfo">
  1035. <label ref="nm"/>
  1036. <value ref="judgrid"/>
  1037. </itemset>
  1038. </choices>
  1039. </select1>
  1040. <caption id="caption6" class="search_name" style="left:4px; top:10px; width:70px; height:17px; ">진료과:</caption>
  1041. </group>
  1042. <group id="grp_memo" visibility="hidden" style="left:715px; top:295px; width:418px; height:310px; border-color:#c7a3cf; border-style:solid; ">
  1043. <caption id="cpt_text" class="tit_2" style="left:5px; top:0px; width:118px; height:14px; ">처방별 비고</caption>
  1044. <line id="line14" class="line_1" style="x1:0px; y1:15px; x2:415px; y2:15px; "/>
  1045. <textarea id="txt_text" ref="/root/hidden/memo" scroll="vertical" imemode="hangul" maxlength="1750" style="left:5px; top:30px; width:409px; height:249px; vertical-align:top; "/>
  1046. <button id="btn_closememo" class="btn4_letter2" style="left:354px; top:284px; width:56px; height:22px; ">
  1047. <caption>
  1048. <![CDATA[닫기]]>
  1049. </caption>
  1050. <script type="javascript" ev:event="DOMActivate">
  1051. <![CDATA[
  1052. // model.removeNodeset("/root/hidden/savememo");
  1053. model.destroy("/root/hidden/memo");
  1054. model.makeNode("/root/hidden/memo");
  1055. grp_memo.visible = false;
  1056. ]]>
  1057. </script>
  1058. </button>
  1059. <button id="btn_savememo" class="btn4_letter2" style="left:294px; top:284px; width:56px; height:22px; ">
  1060. <caption>
  1061. <![CDATA[저장]]>
  1062. </caption>
  1063. <script type="javascript" ev:event="DOMActivate">
  1064. <![CDATA[
  1065. var cur_row = grd_pirhobtspec.row -1
  1066. // 메모를 변경후 저장버튼을 클릭하며 변경된 메모내역을 저장한다.
  1067. var memo = txt_text.value; //model.getValue( "/root/hidden/memo");
  1068. var judgdg = model.getValue( "/root/main/list01/gridobtrsltspec[" + cur_row + "]/judgdg");
  1069. var clamno = model.getValue( "/root/main/list01/gridobtrsltspec[" + cur_row + "]/clamno");
  1070. var acptno = model.getValue( "/root/main/list01/gridobtrsltspec[" + cur_row + "]/acptno");
  1071. var docuseqno = model.getValue( "/root/main/list01/gridobtrsltspec[" + cur_row + "]/docuseqno");
  1072. var obtappflag = model.getValue( "/root/main/list01/gridobtrsltspec[" + cur_row + "]/obtappflag");
  1073. var mpsno = model.getValue( "/root/main/list01/gridobtrsltspec[" + cur_row + "]/mpsno");
  1074. var lnno = model.getValue( "/root/main/list01/gridobtrsltspec[" + cur_row + "]/lnno");
  1075. var adjtresncd = model.getValue( "/root/main/list01/gridobtrsltspec[" + cur_row + "]/adjtresncd");
  1076. var status = "update"
  1077. //var memoflag = model.getValue("/root/hidden/memoflag");
  1078. var memoflag = "ordmemo";
  1079. // alert(memo);
  1080. // if (memoflag == "ordmemo") {
  1081. // model.setValue("/root/main/list01/gridpirhobtspec[" + grd_pirhobtspec.row + "]/ordmemo",memo);
  1082. // }
  1083. // else {
  1084. // model.setValue("/root/main/list01/gridpirhobtspec[" + grd_pirhobtspec.row + "]/rem",memo);
  1085. // }
  1086. model.setValue("/root/send/send_memo/send_savememo/judgdg",judgdg);
  1087. model.setValue("/root/send/send_memo/send_savememo/clamno",clamno);
  1088. model.setValue("/root/send/send_memo/send_savememo/acptno",acptno);
  1089. model.setValue("/root/send/send_memo/send_savememo/docuseqno",docuseqno);
  1090. model.setValue("/root/send/send_memo/send_savememo/obtappflag",obtappflag);
  1091. model.setValue("/root/send/send_memo/send_savememo/mpsno",mpsno);
  1092. model.setValue("/root/send/send_memo/send_savememo/lnno",lnno);
  1093. model.setValue("/root/send/send_memo/send_savememo/adjtresncd",adjtresncd);
  1094. model.setValue("/root/send/send_memo/send_savememo/status",status);
  1095. model.setValue("/root/send/send_memo/send_savememo/memoflag",memoflag); // 처방별/환자별메모를 구분하기위한 구분자
  1096. model.setValue("/root/send/send_memo/send_savememo/memo", memo);
  1097. var rtn = submit("TXPIR30304");
  1098. if (rtn = "true") {
  1099. grd_pirhobtspec.valueMatrix(grd_pirhobtspec.row,grd_pirhobtspec.colRef("ordmemo")) = memo;
  1100. model.destroy("/root/hidden/memo");
  1101. model.makeNode("/root/hidden/memo");
  1102. grp_memo.visible = false;
  1103. }
  1104. ]]>
  1105. </script>
  1106. </button>
  1107. </group>
  1108. </group>
  1109. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  1110. <button id="button12" class="btn3_letter9" style="left:0px; top:5px; width:120px; height:22px; ">
  1111. <caption>이의신청 상세 조회</caption>
  1112. <script type="javascript" ev:event="DOMActivate">
  1113. <![CDATA[
  1114. model.setValue("/root/source_ObtAppRsltSpec/judgdg", model.getValue("/root/send/send_find/judgdg"));
  1115. model.setValue("/root/source_ObtAppRsltSpec/clamno", model.getValue("/root/send/send_find/clamno"));
  1116. model.setValue("/root/source_ObtAppRsltSpec/acptno", model.getValue("/root/send/send_find/acptno"));
  1117. model.setValue("/root/source_ObtAppRsltSpec/obtappflag", model.getValue("/root/send/send_find/obtappflag"));
  1118. model.setValue("/root/source_ObtAppRsltSpec/rejudgflag", model.getValue("/root/send/send_find/rejudgflag"));
  1119. modal("SMPIR30300", 1, 1, 1, "SMPIR30300", "/root/source_ObtAppRsltSpec", "/root/send");
  1120. // model.setValue("/root/source_ObtAppRsltSpec/judgdg", model.getValue("/root/send/judgdg"));
  1121. // model.setValue("/root/source_ObtAppRsltSpec/clamno", model.getValue("/root/send/clamno"));
  1122. // model.setValue("/root/source_ObtAppRsltSpec/acptno", model.getValue("/root/send/acptno"));
  1123. // model.setValue("/root/source_ObtAppRsltSpec/docuseqno", model.getValue("/root/send/docuseqno"));
  1124. // model.setValue("/root/source_ObtAppRsltSpec/orddeptcd", model.getValue("/root/send/orddeptcd"));
  1125. // model.setValue("/root/source_ObtAppRsltSpec/obtappflag", model.getValue("/root/send/obtappflag"));
  1126. // model.setValue("/root/source_ObtAppRsltSpec/snglcalcscorcd", model.getValue("/root/send/snglcalcscorcd"));
  1127. // model.setValue("/root/source_ObtAppRsltSpec/edicd", model.getValue("/root/send/edicd"));
  1128. // model.setValue("/root/source_ObtAppRsltSpec/item", model.getValue("/root/send/item"));
  1129. // model.setValue("/root/source_ObtAppRsltSpec/orddrid", model.getValue("/root/send/orddrid"));
  1130. // model.setValue("/root/source_ObtAppRsltSpec/judgrid", model.getValue("/root/send/judgrid"));
  1131. //
  1132. // model.setValue("/root/source_ObtAppRsltSpec/adjtresncd", model.getValue("/root/send/adjtresncd"));
  1133. // model.setValue("/root/source_ObtAppRsltSpec/rejudgflag", model.getValue("/root/send/rejudgflag"));
  1134. //
  1135. // modal("SMPIR30300", 1, 1, 1, "SMPIR30300", "/root/source_ObtAppRsltSpec", "/root/send");
  1136. ]]>
  1137. </script>
  1138. </button>
  1139. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  1140. </group>
  1141. </xhtml:body>
  1142. </xhtml:html>