SMPIR32000_과별의사별삭감자료(처방별).xfdl 103 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIR32000" position="absolute 0 0 1199 781" titletext="과별 의사별 삭감자료(처방별)" oninit="SMPIR32000_oninit" onload="SMPIR32000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 13 1195 755" id="group6" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 10 1195 52" align="align:center top;" id="group2" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Shape position="absolute 1107 9 1113 31" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
  14. <Button position="absolute 1117 9 1185 31" id="btn_search" class="btn1" taborder="3" text="조 회" anchor="top right" onclick="group6_group2_btn_search_onclick"/>
  15. <Static text="내원유형" position="absolute 299 12 392 29" id="caption7" class="search_name" anchor="default"/>
  16. <Static text="심사확인" position="absolute 526 11 611 28" id="caption11" class="search_name" anchor="default"/>
  17. <Radio position="absolute 597 8 761 31" id="rdo_endyn" class="radio_search" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  18. <Dataset id="innerdataset">
  19. <ColumnInfo>
  20. <Column id="codecolumn"/>
  21. <Column id="datacolumn"/>
  22. </ColumnInfo>
  23. <Rows>
  24. <Row>
  25. <Col id="codecolumn">1</Col>
  26. <Col id="datacolumn">전체</Col>
  27. </Row>
  28. <Row>
  29. <Col id="codecolumn">2</Col>
  30. <Col id="datacolumn">완료</Col>
  31. </Row>
  32. <Row>
  33. <Col id="codecolumn">3</Col>
  34. <Col id="datacolumn">미완료</Col>
  35. </Row>
  36. </Rows>
  37. </Dataset>
  38. </Radio>
  39. <Radio position="absolute 368 8 509 31" id="rdo_chosflag" class="radio_search" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  40. <Dataset id="innerdataset">
  41. <ColumnInfo>
  42. <Column id="codecolumn"/>
  43. <Column id="datacolumn"/>
  44. </ColumnInfo>
  45. <Rows>
  46. <Row>
  47. <Col id="codecolumn">1</Col>
  48. <Col id="datacolumn">전체</Col>
  49. </Row>
  50. <Row>
  51. <Col id="codecolumn">2</Col>
  52. <Col id="datacolumn">입원</Col>
  53. </Row>
  54. <Row>
  55. <Col id="codecolumn">3</Col>
  56. <Col id="datacolumn">외래</Col>
  57. </Row>
  58. </Rows>
  59. </Dataset>
  60. </Radio>
  61. <Static text="~" position="absolute 186 11 198 28" id="caption2" class="search_no_b" anchor="default"/>
  62. <Calendar position="absolute 96 9 182 28" id="ipt_fromobtappdd" class="input_search" taborder="10" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  63. <Calendar position="absolute 199 10 285 29" id="ipt_toobtappdd" class="input_search" taborder="11" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  64. <Static text="심결통보일" position="absolute 9 10 108 27" id="caption1" class="search_name" anchor="default"/>
  65. <Static text="최종 확인된 통보일자 :" position="absolute 781 12 951 29" id="caption3" class="search_name" anchor="default"/>
  66. <MaskEdit position="absolute 940 11 1035 30" align="align:center middle;" id="confirm_maxday" enable="false" mask="yyyy-mm-dd" anchor="default" style=":disabled {align:center middle;}"/>
  67. <Button position="absolute 1037 11 1101 30" id="button1" class="btn2" visible="true" text="확인내역" anchor="default" onclick="group6_group2_button1_onclick"/>
  68. </Layout>
  69. </Layouts>
  70. </Div>
  71. </Layout>
  72. </Layouts>
  73. </Div>
  74. <Div position="absolute 0 749 1194 776" id="grp_btn" anchor="left right bottom">
  75. <Layouts>
  76. <Layout>
  77. <Shape position="absolute 0 0 1194 6" linetype="horizontal" id="line32" class="line_6" style="strokepen:1 solid #9ebed4ff;" anchor="left right bottom"/>
  78. <Button position="absolute 1136 4 1192 26" id="button4" class="btn4" text="닫기" anchor="right bottom" onclick="grp_btn_button4_onclick"/>
  79. <Button position="absolute 1066 4 1134 26" id="btn_init" class="btn4" taborder="22" text="초기화" anchor="right bottom" onclick="grp_btn_btn_init_onclick"/>
  80. <Button position="absolute 969 4 1061 26" id="button2" class="btn4" taborder="22" text="의사개인별" anchor="right bottom" onclick="grp_btn_button2_onclick"/>
  81. <Button id="button00" taborder="23" text="삭감관리회신" class="btn4" position="absolute 0 4 112 26" anchor="left bottom" onclick="grp_btn_button00_onclick"/>
  82. <Button id="button01" taborder="24" text="의사 테스트 삭감관리회신" class="btn4" position="absolute 136 4 338 26" anchor="left bottom" onclick="grp_btn_button01_onclick" visible="false"/>
  83. </Layout>
  84. </Layouts>
  85. </Div>
  86. <Static id="cap_title" text="과별 의사별 삭감자료(처방별)" class="tit_1" position="absolute 0 0 265 23"/>
  87. <Tab id="swt_aipmmngt" taborder="1" tabindex="0" position="absolute 0 91 1195 751" anchor="all" onchanged="swt_aipmmngt_onchanged">
  88. <Tabpages>
  89. <Tabpage id="case3" text="과별 의사별 삭감">
  90. <Layouts>
  91. <Layout>
  92. <Grid id="grd_rsltqry" class="datagrid2" taborder="5" binddataset="ds_main_list01_gridrsltqry" useinputpanel="false" position="absolute 0 8 1193 631" autofittype="col" anchor="all" oncelldblclick="swt_aipmmngt_case3_grd_rsltqry_oncelldblclick" onsummdblclick="swt_aipmmngt_case3_grd_rsltqry_onsummdblclick" cellsizingtype="col">
  93. <Formats>
  94. <Format id="default">
  95. <Columns>
  96. <Column size="18"/>
  97. <Column size="59"/>
  98. <Column size="0"/>
  99. <Column size="130"/>
  100. <Column size="0"/>
  101. <Column size="91"/>
  102. <Column size="99"/>
  103. <Column size="89"/>
  104. <Column size="100"/>
  105. <Column size="106"/>
  106. <Column size="123"/>
  107. <Column size="71"/>
  108. <Column size="61"/>
  109. <Column size="100"/>
  110. </Columns>
  111. <Rows>
  112. <Row size="33" band="head"/>
  113. <Row size="24"/>
  114. <Row size="24" band="summ"/>
  115. </Rows>
  116. <Band id="head">
  117. <Cell/>
  118. <Cell col="1" text="통보월"/>
  119. <Cell col="2" text="진료과코드"/>
  120. <Cell col="3" text="진료과명"/>
  121. <Cell col="4" text="현소속과"/>
  122. <Cell col="5" text="교수명"/>
  123. <Cell col="6" text="원내삭감액&#10;①"/>
  124. <Cell col="7" text="원외삭감액&#10;②"/>
  125. <Cell col="8" text="총삭감액&#10;①+②"/>
  126. <Cell col="9" text="이의신청회수액&#10;③"/>
  127. <Cell col="10" text="실삭감액&#10;①+②-③"/>
  128. <Cell col="11" text="확인일자"/>
  129. <Cell col="12" text="사번"/>
  130. <Cell col="13" text="교수구분"/>
  131. </Band>
  132. <Band id="body">
  133. <Cell celltype="head" expr="currow+1"/>
  134. <Cell col="1" displaytype="expr:getRowLevel(currow) == 1 ? 'normal' : 'date'" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:notimm" mask="expr:getRowLevel(currow) == 1 ? '' : 'yyyy-MM'"/>
  135. <Cell col="2" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:orddeptcd"/>
  136. <Cell col="3" displaytype="expr:normal" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="expr:getRowLevel(currow) == 1 ? '소계' : orddeptnm"/>
  137. <Cell col="4" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:orddeptnm1"/>
  138. <Cell col="5" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:orddridnm"/>
  139. <Cell col="6" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:adjtamt_in"/>
  140. <Cell col="7" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:adjtamt_out"/>
  141. <Cell col="8" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:adjtamt"/>
  142. <Cell col="9" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:deciamt"/>
  143. <Cell col="10" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:realcutamt"/>
  144. <Cell col="11" displaytype="expr:getRowLevel(currow) == 1 ? 'normal' : 'date'" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:confirmdd" mask="expr:getRowLevel(currow) == 1 ? '' : 'yyyy-MM-dd'"/>
  145. <Cell col="12" displaytype="text" style="align:center;font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:orddrid"/>
  146. <Cell col="13" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:jobposcd"/>
  147. </Band>
  148. <Band id="summary">
  149. <Cell/>
  150. <Cell col="1"/>
  151. <Cell col="2"/>
  152. <Cell col="3" style="color:black;color2:black;font:arial,9,bold;" text="총합계"/>
  153. <Cell col="4"/>
  154. <Cell col="5"/>
  155. <Cell col="6" displaytype="number" style="color:black;color2:black;font:arial,9,bold;" text="expr:getSum('adjtamt_in')"/>
  156. <Cell col="7" displaytype="number" style="color:black;color2:black;font:arial,9,bold;" text="expr:getSum('adjtamt_out')"/>
  157. <Cell col="8" displaytype="number" style="color:black;color2:black;font:arial,9,bold;" text="expr:getSum('adjtamt')"/>
  158. <Cell col="9" displaytype="number" style="color:black;color2:black;font:arial,9,bold;" text="expr:getSum('deciamt')"/>
  159. <Cell col="10" displaytype="number" style="color:black;color2:black;font:arial,9,bold;" text="expr:getSum('realcutamt')"/>
  160. <Cell col="11"/>
  161. <Cell col="12"/>
  162. <Cell col="13"/>
  163. </Band>
  164. </Format>
  165. </Formats>
  166. </Grid>
  167. <Shape id="line12" linetype="horizontal" class="line_1" position="absolute 0 3 1193 9" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  168. <Div id="group4" taborder="6" visible="true" position="absolute 40 80 600 305" style="background:#ffffffff;border:1 solid #808080ff ;">
  169. <Layouts>
  170. <Layout>
  171. <Grid id="datagrid1" taborder="7" binddataset="ds_main2_confirm_rslt" useinputpanel="false" position="absolute 1 1 556 196" autofittype="col" cellsizingtype="col">
  172. <Formats>
  173. <Format id="default">
  174. <Columns>
  175. <Column size="82"/>
  176. <Column size="100"/>
  177. <Column size="76"/>
  178. <Column size="76"/>
  179. <Column size="100"/>
  180. <Column size="61"/>
  181. <Column size="57"/>
  182. <Column size="0"/>
  183. <Column size="0"/>
  184. <Column size="0"/>
  185. <Column size="0"/>
  186. <Column size="0"/>
  187. <Column size="0"/>
  188. <Column size="0"/>
  189. <Column size="0"/>
  190. <Column size="0"/>
  191. <Column size="0"/>
  192. <Column size="0"/>
  193. </Columns>
  194. <Rows>
  195. <Row size="24" band="head"/>
  196. <Row size="24"/>
  197. </Rows>
  198. <Band id="head">
  199. <Cell text="통보일자"/>
  200. <Cell col="1" text="청구번호"/>
  201. <Cell col="2" text="명일련"/>
  202. <Cell col="3" text="심사차수"/>
  203. <Cell col="4" text="접수번호"/>
  204. <Cell col="5" text="문서번호"/>
  205. <Cell col="6" text="줄번호"/>
  206. <Cell col="7" text="caption1"/>
  207. <Cell col="8" text="caption2"/>
  208. <Cell col="9" text="caption3"/>
  209. <Cell col="10" text="caption4"/>
  210. <Cell col="11" text="caption5"/>
  211. <Cell col="12" text="caption7"/>
  212. <Cell col="13" text="caption8"/>
  213. <Cell col="14" text="caption9"/>
  214. <Cell col="15" text="caption10"/>
  215. <Cell col="16" text="caption6"/>
  216. <Cell col="17" text="caption11"/>
  217. </Band>
  218. <Band id="body">
  219. <Cell displaytype="date" text="bind:notidd" mask="yyyy-MM-dd"/>
  220. <Cell col="1" text="bind:clamno"/>
  221. <Cell col="2" text="bind:docuseqno"/>
  222. <Cell col="3" text="bind:judgdg"/>
  223. <Cell col="4" text="bind:acptno"/>
  224. <Cell col="5" text="bind:docuno"/>
  225. <Cell col="6" displaytype="text" edittype="text" text="bind:lnno"/>
  226. <Cell col="7" text="bind:calcseqno"/>
  227. <Cell col="8" text="bind:calcnotidd"/>
  228. <Cell col="9" text="bind:clamseqno"/>
  229. <Cell col="10" text="bind:jradjtresn"/>
  230. <Cell col="11" text="bind:instcd"/>
  231. <Cell col="12" text="bind:clamno"/>
  232. <Cell col="13" text="bind:itemlnno"/>
  233. <Cell col="14" text="bind:calcjudgdg"/>
  234. <Cell col="15" text="bind:caadjtresn"/>
  235. <Cell col="16" text="bind:tbnm"/>
  236. <Cell col="17" text="bind:calcyearseqno"/>
  237. </Band>
  238. </Format>
  239. </Formats>
  240. </Grid>
  241. <Button id="button3" taborder="8" text="닫기" class="btn1" position="absolute 436 198 492 220" onclick="swt_aipmmngt_case3_group4_button3_onclick"/>
  242. <Button id="button6" taborder="9" text="저장" class="btn4" position="absolute 496 198 552 220" onclick="swt_aipmmngt_case3_group4_button6_onclick"/>
  243. </Layout>
  244. </Layouts>
  245. </Div>
  246. <Div id="grp_sms" anchor="all" taborder="7" style="background:white;border:1 solid #808080ff ;" text="Div00" position="absolute 400 23 641 586" visible="false">
  247. <Layouts>
  248. <Layout>
  249. <Grid id="grd_smslist" taborder="3" binddataset="ds_main_smslist" useinputpanel="false" autofittype="col" position="absolute 2 25 237 534" anchor="all" cellclickbound="cell">
  250. <Formats>
  251. <Format id="default">
  252. <Columns>
  253. <Column size="39"/>
  254. <Column size="25"/>
  255. <Column size="80"/>
  256. <Column size="80"/>
  257. </Columns>
  258. <Rows>
  259. <Row size="24" band="head"/>
  260. <Row size="24"/>
  261. </Rows>
  262. <Band id="head">
  263. <Cell displaytype="normal" text="No"/>
  264. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  265. <Cell col="2" displaytype="normal" text="의사명"/>
  266. <Cell col="3" displaytype="normal" text="실삭감액"/>
  267. </Band>
  268. <Band id="body">
  269. <Cell celltype="head" displaytype="normal" expr="currow+1"/>
  270. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  271. <Cell col="2" displaytype="normal" text="bind:orddridnm"/>
  272. <Cell col="3" displaytype="number" text="bind:realcutamt"/>
  273. </Band>
  274. </Format>
  275. </Formats>
  276. </Grid>
  277. <Static id="caption31" text="의사별 삭감 SMS전송(교수)" class="tit_2" position="absolute 2 4 196 24"/>
  278. <Shape id="line12" class="line_1" position="absolute 2 20 237 26" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  279. <Button id="Button00" taborder="4" text="닫기" onclick="swt_aipmmngt_case3_grp_sms_Button00_onclick" class="btn4" position="absolute 183 537 237 557" anchor="right bottom"/>
  280. <Button id="Button01" taborder="5" text="SMS 전송" onclick="swt_aipmmngt_case3_grp_sms_Button01_onclick" class="btn3" position="absolute 2 537 102 557" anchor="left bottom"/>
  281. </Layout>
  282. </Layouts>
  283. </Div>
  284. </Layout>
  285. </Layouts>
  286. </Tabpage>
  287. <Tabpage id="case4" text="환자별 삭감" class="sw_box">
  288. <Layouts>
  289. <Layout>
  290. <Grid id="griddocu" class="datagrid2" taborder="1" binddataset="ds_main_list02_griddocu" useinputpanel="false" position="absolute 0 8 1193 631" anchor="all" cellsizingtype="col">
  291. <Formats>
  292. <Format id="default">
  293. <Columns>
  294. <Column size="26"/>
  295. <Column size="114"/>
  296. <Column size="0"/>
  297. <Column size="66"/>
  298. <Column size="38"/>
  299. <Column size="76"/>
  300. <Column size="63"/>
  301. <Column size="234"/>
  302. <Column size="71"/>
  303. <Column size="69"/>
  304. <Column size="59"/>
  305. <Column size="94"/>
  306. <Column size="69"/>
  307. <Column size="58"/>
  308. <Column size="94"/>
  309. <Column size="95"/>
  310. <Column size="96"/>
  311. <Column size="100"/>
  312. <Column size="100"/>
  313. <Column size="73"/>
  314. <Column size="75"/>
  315. <Column size="75"/>
  316. <Column size="67"/>
  317. <Column size="27"/>
  318. <Column size="37"/>
  319. <Column size="237"/>
  320. <Column size="0"/>
  321. <Column size="336"/>
  322. <Column size="100"/>
  323. </Columns>
  324. <Rows>
  325. <Row size="33" band="head"/>
  326. <Row size="24"/>
  327. <Row size="24" band="summ"/>
  328. </Rows>
  329. <Band id="head">
  330. <Cell/>
  331. <Cell col="1" text="진료과명"/>
  332. <Cell col="2" text="사번"/>
  333. <Cell col="3" text="교수명"/>
  334. <Cell col="4" text="구분"/>
  335. <Cell col="5" text="환자번호"/>
  336. <Cell col="6" text="수진자명"/>
  337. <Cell col="7" text="삭감처방"/>
  338. <Cell col="8" text="단가&#10;①"/>
  339. <Cell col="9" text="청구일투량&#13;&#10;②"/>
  340. <Cell col="10" text="청구일수&#10;③"/>
  341. <Cell col="11" text="청구액&#10;①×②×③"/>
  342. <Cell col="12" text="조정일투량"/>
  343. <Cell col="13" text="조정일수"/>
  344. <Cell col="14" text="원내삭감액&#10;④"/>
  345. <Cell col="15" text="원외삭감액&#10;⑤"/>
  346. <Cell col="16" text="이의신청회수액&#10;⑥"/>
  347. <Cell col="17" text="회수액&#10;원 삭감통보월"/>
  348. <Cell col="18" text="실삭감액&#10;④+⑤-⑥"/>
  349. <Cell col="19" text="보험유형"/>
  350. <Cell col="20" text="청구번호"/>
  351. <Cell col="21" text="접수번호"/>
  352. <Cell col="22" text="명일련"/>
  353. <Cell col="23" text="줄"/>
  354. <Cell col="24" text="사유"/>
  355. <Cell col="25" text="삭감사유"/>
  356. <Cell col="26" text="구분"/>
  357. <Cell col="27" text="참조란"/>
  358. <Cell col="28" text="현 소속과"/>
  359. </Band>
  360. <Band id="body">
  361. <Cell celltype="head" expr="currow+1"/>
  362. <Cell col="1" text="bind:orddeptcd"/>
  363. <Cell col="2" text="bind:orddrid"/>
  364. <Cell col="3" text="bind:orddridnm"/>
  365. <Cell col="4" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:ioflag" combodataset="ds_cmb_ioflag" combocodecol="value" combodatacol="label"/>
  366. <Cell col="5" displaytype="text" style="align:center;" text="bind:pid"/>
  367. <Cell col="6" text="bind:patnm"/>
  368. <Cell col="7" style="align:left middle;font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="expr:getRowLevel(currow) == 1 ? '의사별 소계' : calcscorcdnm"/>
  369. <Cell col="8" displaytype="number" text="bind:ediunitcost"/>
  370. <Cell col="9" displaytype="number" text="bind:drugqty"/>
  371. <Cell col="10" displaytype="number" text="bind:dayno"/>
  372. <Cell col="11" displaytype="number" text="bind:ediamt"/>
  373. <Cell col="12" displaytype="number" text="bind:adjtqty"/>
  374. <Cell col="13" displaytype="number" text="bind:adjttotqty"/>
  375. <Cell col="14" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:adjtamt_in"/>
  376. <Cell col="15" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:adjtamt_out"/>
  377. <Cell col="16" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:deciamt"/>
  378. <Cell col="17" text="bind:decinotiym"/>
  379. <Cell col="18" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:realcutamt"/>
  380. <Cell col="19" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_cmb_insukind" combocodecol="value" combodatacol="label"/>
  381. <Cell col="20" text="bind:clamno"/>
  382. <Cell col="21" displaytype="text" style="align:center;" text="bind:acptno"/>
  383. <Cell col="22" displaytype="text" style="align:center;" text="bind:docuseqno"/>
  384. <Cell col="23" text="bind:edilnno"/>
  385. <Cell col="24" text="bind:adjtresncd" combodataset="ds_init_P0277list" combocodecol="cdid" combodatacol="cdnm"/>
  386. <Cell col="25" displaytype="combo" edittype="combo" text="bind:adjtresncd" combodataset="ds_init_P0277list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  387. <Cell col="26" displaytype="combo" edittype="combo" text="bind:jobposcd"/>
  388. <Cell col="27" displaytype="text" edittype="text" text="bind:rem"/>
  389. <Cell col="28" text="bind:orddeptcd1"/>
  390. </Band>
  391. <Band id="summary">
  392. <Cell/>
  393. <Cell col="1"/>
  394. <Cell col="2"/>
  395. <Cell col="3"/>
  396. <Cell col="4"/>
  397. <Cell col="5"/>
  398. <Cell col="6"/>
  399. <Cell col="7" style="align:left middle;font:arial,9,bold;" text="총합계"/>
  400. <Cell col="8"/>
  401. <Cell col="9"/>
  402. <Cell col="10"/>
  403. <Cell col="11"/>
  404. <Cell col="12"/>
  405. <Cell col="13"/>
  406. <Cell col="14" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('adjtamt_in')"/>
  407. <Cell col="15" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('adjtamt_out')"/>
  408. <Cell col="16" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('deciamt')"/>
  409. <Cell col="17"/>
  410. <Cell col="18" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('realcutamt')"/>
  411. <Cell col="19"/>
  412. <Cell col="20"/>
  413. <Cell col="21"/>
  414. <Cell col="22"/>
  415. <Cell col="23"/>
  416. <Cell col="24"/>
  417. <Cell col="25"/>
  418. <Cell col="26"/>
  419. <Cell col="27"/>
  420. <Cell col="28"/>
  421. </Band>
  422. </Format>
  423. </Formats>
  424. </Grid>
  425. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 3 1193 9" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  426. </Layout>
  427. </Layouts>
  428. </Tabpage>
  429. <Tabpage id="case1" text="진료과별 환자별 삭감">
  430. <Layouts>
  431. <Layout>
  432. <Shape id="line2" linetype="horizontal" class="line_1" position="absolute 0 42 1193 48" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  433. <Grid id="griddocuall" class="datagrid2" taborder="1" binddataset="ds_main_list04_griddocuall" useinputpanel="false" position="absolute 0 48 1193 628" anchor="all" cellsizingtype="col" onlbuttonup="swt_aipmmngt_case1_griddocuall_onlbuttonup" selecttype="multirow" autoenter="select" cellclickbound="cell">
  434. <Formats>
  435. <Format id="default">
  436. <Columns>
  437. <Column size="26"/>
  438. <Column size="28"/>
  439. <Column size="60"/>
  440. <Column size="60"/>
  441. <Column size="45"/>
  442. <Column size="115"/>
  443. <Column size="115"/>
  444. <Column size="38"/>
  445. <Column size="76"/>
  446. <Column size="63"/>
  447. <Column size="86"/>
  448. <Column size="234"/>
  449. <Column size="71"/>
  450. <Column size="69"/>
  451. <Column size="59"/>
  452. <Column size="94"/>
  453. <Column size="69"/>
  454. <Column size="58"/>
  455. <Column size="94"/>
  456. <Column size="95"/>
  457. <Column size="96"/>
  458. <Column size="100"/>
  459. <Column size="100"/>
  460. <Column size="73"/>
  461. <Column size="75"/>
  462. <Column size="75"/>
  463. <Column size="67"/>
  464. <Column size="27"/>
  465. <Column size="37"/>
  466. <Column size="237"/>
  467. </Columns>
  468. <Rows>
  469. <Row size="33" band="head"/>
  470. <Row size="24"/>
  471. <Row size="24" band="summ"/>
  472. </Rows>
  473. <Band id="head">
  474. <Cell/>
  475. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  476. <Cell col="2" text="통보월"/>
  477. <Cell col="3" text="교수명"/>
  478. <Cell col="4" text="사번"/>
  479. <Cell col="5" text="진료과"/>
  480. <Cell col="6" text="현 소속과"/>
  481. <Cell col="7" text="구분"/>
  482. <Cell col="8" text="환자번호"/>
  483. <Cell col="9" text="수진자명"/>
  484. <Cell col="10" text="처방코드"/>
  485. <Cell col="11" text="삭감처방"/>
  486. <Cell col="12" text="단가"/>
  487. <Cell col="13" text="청구일투량"/>
  488. <Cell col="14" text="청구일수"/>
  489. <Cell col="15" text="청구액"/>
  490. <Cell col="16" text="조정일투량"/>
  491. <Cell col="17" text="조정일수"/>
  492. <Cell col="18" text="원내삭감액&#10;①"/>
  493. <Cell col="19" text="원외삭감액&#10;②"/>
  494. <Cell col="20" text="이의신청회수액&#10;③"/>
  495. <Cell col="21" text="회수액&#10;원 삭감통보월"/>
  496. <Cell col="22" text="실삭감액&#10;①+②-③"/>
  497. <Cell col="23" text="보험유형"/>
  498. <Cell col="24" text="청구번호"/>
  499. <Cell col="25" text="접수번호"/>
  500. <Cell col="26" text="명일련"/>
  501. <Cell col="27" text="줄"/>
  502. <Cell col="28" text="사유"/>
  503. <Cell col="29" text="삭감사유"/>
  504. </Band>
  505. <Band id="body">
  506. <Cell celltype="head" expr="currow+1"/>
  507. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  508. <Cell col="2" displaytype="expr:getRowLevel(currow) == 1 ? 'normal' : 'date'" text="bind:notimm" mask="expr:getRowLevel(currow) == 1 ? '' : 'yyyy-MM'"/>
  509. <Cell col="3" text="bind:orddridnm"/>
  510. <Cell col="4" displaytype="text" style="align:center;" text="bind:orddrid"/>
  511. <Cell col="5" style="align:left middle;font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="expr:getRowLevel(currow) == 1 ? '의사별 소계' : orddeptnm"/>
  512. <Cell col="6" style="align:left middle;" text="bind:orddeptcd1"/>
  513. <Cell col="7" displaytype="combo" edittype="combo" text="bind:ioflag" combodataset="ds_cmb_ioflag" combocodecol="value" combodatacol="label"/>
  514. <Cell col="8" displaytype="text" style="align:center;" text="bind:pid"/>
  515. <Cell col="9" text="bind:patnm"/>
  516. <Cell col="10" style="align:left middle;" text="bind:snglcalcscorcd"/>
  517. <Cell col="11" style="align:left middle;" text="bind:calcscorcdnm"/>
  518. <Cell col="12" displaytype="number" text="bind:ediunitcost"/>
  519. <Cell col="13" displaytype="number" text="bind:drugqty"/>
  520. <Cell col="14" displaytype="number" text="bind:dayno"/>
  521. <Cell col="15" displaytype="number" text="bind:ediamt"/>
  522. <Cell col="16" displaytype="number" text="bind:adjtqty"/>
  523. <Cell col="17" displaytype="number" text="bind:adjttotqty"/>
  524. <Cell col="18" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:adjtamt_in"/>
  525. <Cell col="19" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:adjtamt_out"/>
  526. <Cell col="20" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:deciamt"/>
  527. <Cell col="21" text="bind:decinotiym"/>
  528. <Cell col="22" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:realcutamt"/>
  529. <Cell col="23" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_cmb_insukind" combocodecol="value" combodatacol="label"/>
  530. <Cell col="24" text="bind:clamno"/>
  531. <Cell col="25" displaytype="text" style="align:center;" text="bind:acptno"/>
  532. <Cell col="26" displaytype="text" style="align:center;" text="bind:docuseqno"/>
  533. <Cell col="27" text="bind:edilnno"/>
  534. <Cell col="28" text="bind:adjtresncd" combodataset="ds_init_P0277list" combocodecol="cdid" combodatacol="cdnm"/>
  535. <Cell col="29" displaytype="combo" edittype="combo" style="align:left middle;" text="bind:adjtresncd" combodataset="ds_init_P0277list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  536. </Band>
  537. <Band id="summary">
  538. <Cell/>
  539. <Cell col="1"/>
  540. <Cell col="2"/>
  541. <Cell col="3"/>
  542. <Cell col="4"/>
  543. <Cell col="5" style="align:left middle;font:arial,9,bold;" text="총합계"/>
  544. <Cell col="6"/>
  545. <Cell col="7"/>
  546. <Cell col="8"/>
  547. <Cell col="9"/>
  548. <Cell col="10"/>
  549. <Cell col="11"/>
  550. <Cell col="12"/>
  551. <Cell col="13"/>
  552. <Cell col="14"/>
  553. <Cell col="15"/>
  554. <Cell col="16"/>
  555. <Cell col="17"/>
  556. <Cell col="18" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('adjtamt_in')"/>
  557. <Cell col="19" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('adjtamt_out')"/>
  558. <Cell col="20" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('deciamt')"/>
  559. <Cell col="21"/>
  560. <Cell col="22" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('realcutamt')"/>
  561. <Cell col="23"/>
  562. <Cell col="24"/>
  563. <Cell col="25"/>
  564. <Cell col="26"/>
  565. <Cell col="27"/>
  566. <Cell col="28"/>
  567. <Cell col="29"/>
  568. </Band>
  569. </Format>
  570. </Formats>
  571. </Grid>
  572. <Div id="group2" anchor="left top right" taborder="2" position="absolute 0 0 1195 42" class="div_SA2">
  573. <Layouts>
  574. <Layout width="1091" height="42">
  575. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1107 9 1113 31" anchor="top right"/>
  576. <Button id="btn_search" taborder="12" text="조 회" class="btn1" position="absolute 1117 9 1185 31" anchor="top right" onclick="swt_aipmmngt_case1_group2_btn_search_onclick"/>
  577. <Combo id="cmb_orddrid" taborder="17" text="Combo00" position="absolute 1032 9 1100 29" innerdataset="@dsf_init_orddrid" codecolumn="cd" datacolumn="nm" anchor="top right"/>
  578. <Combo id="cmb_orddptcd" taborder="18" position="absolute 841 9 965 29" innerdataset="@ds_init_orddeptcd" codecolumn="cd" datacolumn="nm" index="-1" onitemchanged="swt_aipmmngt_case1_group2_cmb_orddptcd_onitemchanged" anchor="top right"/>
  579. <Static id="caption00" text="교수명" class="search_name" position="absolute 972 12 1029 29" anchor="top right"/>
  580. <Static id="caption03" text="진료과" class="search_name" position="absolute 778 12 837 29" anchor="top right"/>
  581. <Static id="caption02" text="처방코드( 다중검색 [,] )" class="search_name" position="absolute 317 12 480 29" anchor="left top"/>
  582. <Edit id="ipt_snglcalcscorcd" taborder="19" position="absolute 480 9 765 29" anchor="left right" useime="none" inputmode="upper" imemode="alpha"/>
  583. <Static id="caption01" text="심사자" class="search_name" position="absolute 8 12 65 29" anchor="left top"/>
  584. <Combo id="cmb_orddrid00" taborder="20" innerdataset="@ds_init_judgrid" codecolumn="judgrid" datacolumn="judgrnm" position="absolute 68 9 136 29" anchor="left top"/>
  585. <Static id="caption04" text="환자번호" class="search_name" position="absolute 150 12 220 29" anchor="left top"/>
  586. <Edit id="Edit00" taborder="21" position="absolute 218 9 304 29"/>
  587. </Layout>
  588. </Layouts>
  589. </Div>
  590. </Layout>
  591. </Layouts>
  592. </Tabpage>
  593. <Tabpage id="case5" text="진료과별 환자별 회수액">
  594. <Layouts>
  595. <Layout>
  596. <Shape id="line3" linetype="horizontal" class="line_1" position="absolute 0 3 1193 9" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  597. <Grid id="griddocuadjtamt" class="datagrid2" taborder="1" binddataset="ds_main_list05_griddocuall" useinputpanel="false" position="absolute 0 8 1193 628" autofittype="col" anchor="all" cellsizingtype="col">
  598. <Formats>
  599. <Format id="default">
  600. <Columns>
  601. <Column size="22"/>
  602. <Column size="60"/>
  603. <Column size="60"/>
  604. <Column size="45"/>
  605. <Column size="115"/>
  606. <Column size="115"/>
  607. <Column size="38"/>
  608. <Column size="76"/>
  609. <Column size="63"/>
  610. <Column size="86"/>
  611. <Column size="234"/>
  612. <Column size="0"/>
  613. <Column size="0"/>
  614. <Column size="96"/>
  615. <Column size="100"/>
  616. <Column size="0"/>
  617. <Column size="0"/>
  618. <Column size="0"/>
  619. <Column size="0"/>
  620. <Column size="0"/>
  621. <Column size="0"/>
  622. <Column size="0"/>
  623. <Column size="0"/>
  624. </Columns>
  625. <Rows>
  626. <Row size="33" band="head"/>
  627. <Row size="24"/>
  628. <Row size="24" band="summ"/>
  629. </Rows>
  630. <Band id="head">
  631. <Cell/>
  632. <Cell col="1" text="통보월"/>
  633. <Cell col="2" text="교수명"/>
  634. <Cell col="3" text="사번"/>
  635. <Cell col="4" text="진료과"/>
  636. <Cell col="5" text="현 소속과"/>
  637. <Cell col="6" text="구분"/>
  638. <Cell col="7" text="환자번호"/>
  639. <Cell col="8" text="수진자명"/>
  640. <Cell col="9" text="처방코드"/>
  641. <Cell col="10" text="삭감처방"/>
  642. <Cell col="11" text="원내삭감액&#10;①"/>
  643. <Cell col="12" text="원외삭감액&#10;②"/>
  644. <Cell col="13" text="이의신청회수액&#10;③"/>
  645. <Cell col="14" text="회수액&#10;원 삭감통보월"/>
  646. <Cell col="15" text="실삭감액&#10;①+②-③"/>
  647. <Cell col="16" text="보험유형"/>
  648. <Cell col="17" text="청구번호"/>
  649. <Cell col="18" text="접수번호"/>
  650. <Cell col="19" text="명일련"/>
  651. <Cell col="20" text="줄"/>
  652. <Cell col="21" text="사유"/>
  653. <Cell col="22" text="삭감사유"/>
  654. </Band>
  655. <Band id="body">
  656. <Cell celltype="head" expr="currow+1"/>
  657. <Cell col="1" displaytype="expr:getRowLevel(currow) == 1 ? 'normal' : 'date'" text="bind:notimm" mask="expr:getRowLevel(currow) == 1 ? '' : 'yyyy-MM'"/>
  658. <Cell col="2" text="bind:orddridnm"/>
  659. <Cell col="3" displaytype="text" style="align:center;" text="bind:orddrid"/>
  660. <Cell col="4" style="align:left middle;font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="expr:getRowLevel(currow) == 1 ? '의사별 소계' : orddeptnm"/>
  661. <Cell col="5" style="align:left middle;" text="bind:orddeptcd1"/>
  662. <Cell col="6" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:ioflag" combodataset="ds_cmb_ioflag" combocodecol="value" combodatacol="label"/>
  663. <Cell col="7" displaytype="text" style="align:center;" text="bind:pid"/>
  664. <Cell col="8" text="bind:patnm"/>
  665. <Cell col="9" style="align:left middle;" text="bind:snglcalcscorcd"/>
  666. <Cell col="10" style="align:left middle;" text="bind:calcscorcdnm"/>
  667. <Cell col="11" text="bind:adjtamt_in" mask="(-)#,###"/>
  668. <Cell col="12" text="bind:adjtamt_out" mask="(-)#,###"/>
  669. <Cell col="13" displaytype="number" style="font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:deciamt"/>
  670. <Cell col="14" text="bind:decinotiym"/>
  671. <Cell col="15" text="bind:realcutamt" mask="(-)#,###"/>
  672. <Cell col="16" displaytype="combo" edittype="combo" text="bind:insukind"/>
  673. <Cell col="17" text="bind:clamno"/>
  674. <Cell col="18" text="bind:acptno"/>
  675. <Cell col="19" text="bind:docuseqno"/>
  676. <Cell col="20" text="bind:edilnno"/>
  677. <Cell col="21" text="bind:adjtresncd"/>
  678. <Cell col="22" displaytype="combo" edittype="combo" text="bind:adjtresncd" enable="false"/>
  679. </Band>
  680. <Band id="summary">
  681. <Cell/>
  682. <Cell col="1"/>
  683. <Cell col="2"/>
  684. <Cell col="3"/>
  685. <Cell col="4" style="align:left middle;font:arial,9,bold;" text="총합계"/>
  686. <Cell col="5"/>
  687. <Cell col="6"/>
  688. <Cell col="7"/>
  689. <Cell col="8"/>
  690. <Cell col="9"/>
  691. <Cell col="10"/>
  692. <Cell col="11"/>
  693. <Cell col="12"/>
  694. <Cell col="13" displaytype="number" style="font:arial,9,bold;" text="expr:getSum('deciamt')"/>
  695. <Cell col="14"/>
  696. <Cell col="15"/>
  697. <Cell col="16"/>
  698. <Cell col="17"/>
  699. <Cell col="18"/>
  700. <Cell col="19"/>
  701. <Cell col="20"/>
  702. <Cell col="21"/>
  703. <Cell col="22"/>
  704. </Band>
  705. </Format>
  706. </Formats>
  707. </Grid>
  708. </Layout>
  709. </Layouts>
  710. </Tabpage>
  711. <Tabpage id="case6" text="진료과별 항목별">
  712. <Layouts>
  713. <Layout>
  714. <Shape id="line4" linetype="horizontal" class="line_1" position="absolute 0 3 1193 9" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  715. <Grid id="datagrid2" class="datagrid2" taborder="1" binddataset="ds_main_list07_deptitemcutamtlist" useinputpanel="false" position="absolute 0 8 1193 631" autofittype="col" anchor="all" oncellclick="swt_aipmmngt_case6_datagrid2_oncellclick" cellsizingtype="col">
  716. <Formats>
  717. <Format id="default">
  718. <Columns>
  719. <Column size="0"/>
  720. <Column size="141"/>
  721. <Column size="80"/>
  722. <Column size="100"/>
  723. <Column size="40"/>
  724. <Column size="85"/>
  725. <Column size="45"/>
  726. <Column size="0"/>
  727. <Column size="100"/>
  728. <Column size="40"/>
  729. <Column size="85"/>
  730. <Column size="45"/>
  731. <Column size="0"/>
  732. <Column size="100"/>
  733. <Column size="40"/>
  734. <Column size="85"/>
  735. <Column size="45"/>
  736. <Column size="0"/>
  737. </Columns>
  738. <Rows>
  739. <Row size="24" band="head"/>
  740. <Row size="24" band="head"/>
  741. <Row size="24" band="head"/>
  742. <Row size="24"/>
  743. <Row size="24" band="summ"/>
  744. </Rows>
  745. <Band id="head">
  746. <Cell text="부서코드"/>
  747. <Cell col="1" rowspan="3" text="부서명" taborder="undefined"/>
  748. <Cell col="2" rowspan="3" text="항목명" taborder="undefined"/>
  749. <Cell col="3" colspan="5" text="합계" taborder="undefined"/>
  750. <Cell col="8" colspan="5" text="입원" taborder="undefined"/>
  751. <Cell col="13" colspan="5" text="외래" taborder="undefined"/>
  752. <Cell row="1" text="부서코드"/>
  753. <Cell row="1" col="3" rowspan="2" text="청구진료비" taborder="undefined"/>
  754. <Cell row="1" col="4" rowspan="2" text="삭감&#10;건수" taborder="undefined"/>
  755. <Cell row="1" col="5" rowspan="2" text="삭감액" taborder="undefined"/>
  756. <Cell row="1" col="6" rowspan="2" text="삭감율" taborder="undefined"/>
  757. <Cell row="1" col="7" rowspan="2" text="삭감&#10;구성비" taborder="undefined"/>
  758. <Cell row="1" col="8" rowspan="2" text="청구진료비" taborder="undefined"/>
  759. <Cell row="1" col="9" rowspan="2" text="삭감&#10;건수" taborder="undefined"/>
  760. <Cell row="1" col="10" rowspan="2" text="삭감액" taborder="undefined"/>
  761. <Cell row="1" col="11" rowspan="2" text="삭감율" taborder="undefined"/>
  762. <Cell row="1" col="12" rowspan="2" text="삭감&#10;구성비" taborder="undefined"/>
  763. <Cell row="1" col="13" rowspan="2" text="청구진료비" taborder="undefined"/>
  764. <Cell row="1" col="14" rowspan="2" text="삭감&#10;건수" taborder="undefined"/>
  765. <Cell row="1" col="15" rowspan="2" text="삭감액" taborder="undefined"/>
  766. <Cell row="1" col="16" rowspan="2" text="삭감율" taborder="undefined"/>
  767. <Cell row="1" col="17" rowspan="2" text="삭감&#13;&#10;구성비" taborder="undefined"/>
  768. <Cell row="2" text="부서코드"/>
  769. </Band>
  770. <Band id="body">
  771. <Cell text="bind:orddeptcd"/>
  772. <Cell col="1" displaytype="expr:getRowLevel(currow) == 1 ? 'combo' : 'normal'" text="expr:getRowLevel(currow) == 1 ? orddeptcd : orddeptnm" suppress="1" suppressalign="middle,over" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
  773. <Cell col="2" displaytype="combo" edittype="combo" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:clinclrg" combodataset="ds_cmb_clinclrg" combocodecol="value" combodatacol="label" enable="false"/>
  774. <Cell col="3" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:ediamta"/>
  775. <Cell col="4" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:cutcnta"/>
  776. <Cell col="5" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:realcutamta"/>
  777. <Cell col="6" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:cutpera" expr="expr:getRowLevel(currow) == 1 ? ((realcutamta/ ediamta) * 100).toFixed(2) : cutpera"/>
  778. <Cell col="7" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="expr:ediamta == 0 ? 0 :( ediamta /getCaseSum(orddeptcd + '== orddeptcd', 'ediamta') * 100).toFixed(2)"/>
  779. <Cell col="8" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:ediamti"/>
  780. <Cell col="9" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:cutcnti"/>
  781. <Cell col="10" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:realcutamti"/>
  782. <Cell col="11" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:cutperi" expr="expr:getRowLevel(currow) == 1 ? (realcutamti/ ediamta * 100).toFixed(2) : cutperi"/>
  783. <Cell col="12" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="expr:ediamti == 0 ? 0 : (ediamti /getCaseSum(orddeptcd + '== orddeptcd', 'ediamti') * 100).toFixed(2)"/>
  784. <Cell col="13" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:ediamto"/>
  785. <Cell col="14" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:cutcnto"/>
  786. <Cell col="15" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:realcutamto"/>
  787. <Cell col="16" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:cutpero" expr="expr:getRowLevel(currow) == 1 ? (realcutamto/ ediamta * 100).toFixed(2) : cutpero"/>
  788. <Cell col="17" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="expr:ediamto == 0 ? 0 : (ediamto /getCaseSum(orddeptcd + '== orddeptcd', 'ediamto') * 100).toFixed(2)"/>
  789. </Band>
  790. <Band id="summary">
  791. <Cell/>
  792. <Cell col="1"/>
  793. <Cell col="2" style="align:left middle;" text="합계"/>
  794. <Cell col="3" displaytype="number" text="expr:getSum('ediamta')"/>
  795. <Cell col="4" displaytype="number" text="expr:getSum('cutcnta')"/>
  796. <Cell col="5" displaytype="number" text="expr:getSum('realcutamta')"/>
  797. <Cell col="6" displaytype="number" text="expr:((getSum('realcutamta') / getSum('ediamta')) * 100).toFixed(2)"/>
  798. <Cell col="7" displaytype="number" text="expr:getSum('cuttotpera')"/>
  799. <Cell col="8" displaytype="number" text="expr:getSum('ediamti')"/>
  800. <Cell col="9" displaytype="number" text="expr:getSum('cutcnti')"/>
  801. <Cell col="10" displaytype="number" text="expr:getSum('realcutamti')"/>
  802. <Cell col="11" displaytype="number" text="expr:((getSum('realcutamti') / getSum('ediamta')) * 100).toFixed(2)"/>
  803. <Cell col="12" displaytype="number" text="expr:getSum('cuttotperi')"/>
  804. <Cell col="13" displaytype="number" text="expr:getSum('ediamto')"/>
  805. <Cell col="14" displaytype="number" text="expr:getSum('cutcnto')"/>
  806. <Cell col="15" displaytype="number" text="expr:getSum('realcutamto')"/>
  807. <Cell col="16" displaytype="number" text="expr:((getSum('realcutamto') / getSum('ediamta')) * 100).toFixed(2)"/>
  808. <Cell col="17" displaytype="number" text="expr:getSum('cuttotpero')"/>
  809. </Band>
  810. </Format>
  811. </Formats>
  812. </Grid>
  813. </Layout>
  814. </Layouts>
  815. </Tabpage>
  816. </Tabpages>
  817. </Tab>
  818. <Static id="caption6" text="** 처방코드별 의사별(삭감처방 PIRHOBTD, 사후처방 PIDHCLOD)로 집계한 자료입니다. &#13;&#10;이의신청마감된 자료기준 **" position="absolute 596 68 1041 112" style="background:#f5feb8ff;color:#fa0413ff;font:Dotum,9,bold;"/>
  819. <Button id="btn_confirm" taborder="2" text="확인완료" class="btn2" position="absolute 1050 69 1114 88" anchor="top right" onclick="btn_confirm_onclick"/>
  820. <Button id="button7" taborder="3" text="엑셀저장" class="btn7" position="absolute 1115 69 1195 88" anchor="top right" onclick="button7_onclick"/>
  821. <Button id="btn_send_sms" taborder="4" text="의사별 SMS전송" class="btn3" position="absolute 1064 93 1194 112" anchor="top right" onclick="btn_send_sms_onclick"/>
  822. <Grid position="absolute 356 255 781 640" id="grd_confirmlist" visible="false" binddataset="ds_main_list03_confirmlist" autofittype="col" oncelldblclick="grd_confirmlist_oncelldblclick" cellsizingtype="col">
  823. <Formats>
  824. <Format id="default">
  825. <Columns>
  826. <Column size="100"/>
  827. <Column size="100"/>
  828. <Column size="120"/>
  829. <Column size="80"/>
  830. </Columns>
  831. <Rows>
  832. <Row size="24" band="head"/>
  833. <Row size="24"/>
  834. </Rows>
  835. <Band id="head">
  836. <Cell text="시작일자"/>
  837. <Cell col="1" text="종료일자"/>
  838. <Cell col="2" text="확인일자"/>
  839. <Cell col="3" text="확인심사자"/>
  840. </Band>
  841. <Band id="body">
  842. <Cell displaytype="date" text="bind:fromdd" mask="yyyy-MM-dd"/>
  843. <Cell col="1" displaytype="date" text="bind:todd" mask="yyyy-MM-dd"/>
  844. <Cell col="2" displaytype="date" text="bind:confirmdt" mask="yyyy-MM-dd"/>
  845. <Cell col="3" text="bind:confirmnm"/>
  846. </Band>
  847. </Format>
  848. </Formats>
  849. </Grid>
  850. </Layout>
  851. </Layouts>
  852. <Objects>
  853. <Dataset id="ds_send_dataqry" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  854. <ColumnInfo>
  855. <Column id="fromobtappdd" type="STRING" size="256"/>
  856. <Column id="toobtappdd" type="STRING" size="256"/>
  857. <Column id="chosflag" type="STRING" size="256"/>
  858. <Column id="obtapprsltendflag" type="STRING" size="256"/>
  859. <Column id="insukind3" type="STRING" size="256"/>
  860. <Column id="confirm_yn" type="STRING" size="256"/>
  861. <Column id="adjtyn" type="STRING" size="256"/>
  862. <Column id="orddrid" type="STRING" size="256"/>
  863. <Column id="orddeptcd" type="STRING" size="256"/>
  864. <Column id="snglcalcscorcd" type="STRING" size="256"/>
  865. <Column id="judgrid" type="STRING" size="256"/>
  866. <Column id="pid" type="STRING" size="256"/>
  867. </ColumnInfo>
  868. <Rows>
  869. <Row>
  870. <Col id="fromobtappdd"/>
  871. <Col id="toobtappdd"/>
  872. <Col id="chosflag">1</Col>
  873. <Col id="obtapprsltendflag">3</Col>
  874. <Col id="insukind3"/>
  875. <Col id="confirm_yn"/>
  876. </Row>
  877. </Rows>
  878. </Dataset>
  879. <Dataset id="ds_main2_confirm_confirmstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  880. <ColumnInfo>
  881. <Column id="confirm_maxday" type="STRING" size="256"/>
  882. <Column id="nfirm_yn" type="STRING" size="256"/>
  883. </ColumnInfo>
  884. </Dataset>
  885. <Dataset id="ds_main_list01_gridrsltqry" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  886. <ColumnInfo>
  887. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  888. <Column id="orddeptnm" type="STRING" size="256" sumtext="소계"/>
  889. <Column id="orddrid" type="STRING" size="256" sumtext="사번"/>
  890. <Column id="orddridnm" type="STRING" size="256" sumtext="의사명"/>
  891. <Column id="adjtamt_in" type="BIGDECIMAL" size="256" sumtext="원내삭감액"/>
  892. <Column id="adjtamt_out" type="BIGDECIMAL" size="256" sumtext="원외삭감액"/>
  893. <Column id="deciamt" type="BIGDECIMAL" size="256" sumtext="이의신청회수액"/>
  894. <Column id="realcutamt" type="BIGDECIMAL" size="256" sumtext="실삭감액"/>
  895. <Column id="petamt" type="BIGDECIMAL" size="256" sumtext="PET삭감액"/>
  896. <Column id="notimm" type="STRING" size="256"/>
  897. <Column id="confirmdd" type="STRING" size="256"/>
  898. <Column id="adjtamt" type="BIGDECIMAL" size="256"/>
  899. <Column id="jobposcd" type="STRING" size="256"/>
  900. <Column id="minfromdd" type="STRING" size="256"/>
  901. <Column id="maxtodd" type="STRING" size="256"/>
  902. </ColumnInfo>
  903. </Dataset>
  904. <Dataset id="ds_main2_confirm_rslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  905. <Dataset id="ds_main_list02_griddocu" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  906. <ColumnInfo>
  907. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  908. <Column id="orddeptcd1" type="STRING" size="256" sumtext="진료과"/>
  909. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  910. <Column id="orddrid" type="STRING" size="256" sumtext="사번"/>
  911. <Column id="orddridnm" type="STRING" size="256" sumtext="의사명"/>
  912. <Column id="ioflag" type="STRING" size="256" sumtext="구분"/>
  913. <Column id="clamno" type="STRING" size="256" sumtext="청구번호"/>
  914. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  915. <Column id="docuseqno" type="STRING" size="256" sumtext="명세서일련번호"/>
  916. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  917. <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
  918. <Column id="edilnno" type="STRING" size="256" sumtext="줄번호"/>
  919. <Column id="adjtresncd" type="STRING" size="256" sumtext="삭감사유"/>
  920. <Column id="snglcalcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  921. <Column id="calcscorcdnm" type="STRING" size="256" sumtext="수가명"/>
  922. <Column id="realcutamt" type="BIGDECIMAL" size="256" sumtext="실삭감액"/>
  923. <Column id="adjtamt_in" type="BIGDECIMAL" size="256" sumtext="원내삭감액"/>
  924. <Column id="adjtamt_out" type="BIGDECIMAL" size="256" sumtext="원외삭감액"/>
  925. <Column id="deciamt" type="BIGDECIMAL" size="256" sumtext="이의신청회수액"/>
  926. <Column id="decinotiym" type="STRING" size="256" sumtext="회수액 원 삭감통보월"/>
  927. <Column id="ediunitcost" type="STRING" size="256" sumtext="단가"/>
  928. <Column id="adjtqty" type="STRING" size="256" sumtext="조정 일투량"/>
  929. <Column id="adjttotqty" type="STRING" size="256" sumtext="조정 일수"/>
  930. <Column id="drugqty" type="STRING" size="256" sumtext="청구 일투량"/>
  931. <Column id="dayno" type="STRING" size="256" sumtext="청구 일수"/>
  932. <Column id="ediamt" type="STRING" size="256" sumtext="청구액"/>
  933. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  934. <Column id="jobposcd" type="STRING" size="256" sumtext="직무군"/>
  935. <Column id="rem" type="STRING" size="256" sumtext="직무군"/>
  936. </ColumnInfo>
  937. </Dataset>
  938. <Dataset id="ds_main_list04_griddocuall" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  939. <ColumnInfo>
  940. <Column id="notimm" type="STRING" size="256" sumtext="통보월"/>
  941. <Column id="orddridnm" type="STRING" size="256" sumtext="의사명"/>
  942. <Column id="orddrid" type="STRING" size="256" sumtext="사번"/>
  943. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  944. <Column id="orddeptcd1" type="STRING" size="256" sumtext="진료과"/>
  945. <Column id="ioflag" type="STRING" size="256" sumtext="구분"/>
  946. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  947. <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
  948. <Column id="snglcalcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  949. <Column id="calcscorcdnm" type="STRING" size="256" sumtext="수가명"/>
  950. <Column id="adjtamt_in" type="BIGDECIMAL" size="256" sumtext="원내삭감액"/>
  951. <Column id="adjtamt_out" type="BIGDECIMAL" size="256" sumtext="원외삭감액"/>
  952. <Column id="deciamt" type="BIGDECIMAL" size="256" sumtext="이의신청회수액"/>
  953. <Column id="decinotiym" type="STRING" size="256" sumtext="회수액 원 삭감통보월"/>
  954. <Column id="realcutamt" type="BIGDECIMAL" size="256" sumtext="실삭감액"/>
  955. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  956. <Column id="clamno" type="STRING" size="256" sumtext="청구번호"/>
  957. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  958. <Column id="docuseqno" type="STRING" size="256" sumtext="명세서일련번호"/>
  959. <Column id="edilnno" type="STRING" size="256" sumtext="줄번호"/>
  960. <Column id="adjtresncd" type="STRING" size="256" sumtext="삭감사유"/>
  961. <Column id="ediunitcost" type="STRING" size="256"/>
  962. <Column id="adjtqty" type="STRING" size="256"/>
  963. <Column id="adjttotqty" type="STRING" size="256"/>
  964. <Column id="drugqty" type="STRING" size="256"/>
  965. <Column id="dayno" type="STRING" size="256"/>
  966. <Column id="ediamt" type="STRING" size="256"/>
  967. <Column id="notidd" type="STRING" size="256"/>
  968. <Column id="judgdg" type="STRING" size="256"/>
  969. <Column id="obtappflag" type="STRING" size="256"/>
  970. <Column id="seqno" type="STRING" size="256"/>
  971. <Column id="orddd" type="STRING" size="256"/>
  972. <Column id="orddeptnm" type="STRING" size="256"/>
  973. </ColumnInfo>
  974. </Dataset>
  975. <Dataset id="ds_cmb_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  976. <ColumnInfo>
  977. <Column id="label" type="STRING" size="256"/>
  978. <Column id="value" type="STRING" size="256"/>
  979. </ColumnInfo>
  980. <Rows>
  981. <Row>
  982. <Col id="label">입원</Col>
  983. <Col id="value">I</Col>
  984. </Row>
  985. <Row>
  986. <Col id="label">외래</Col>
  987. <Col id="value">O</Col>
  988. </Row>
  989. </Rows>
  990. </Dataset>
  991. <Dataset id="ds_main_list05_griddocuall" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  992. <ColumnInfo>
  993. <Column id="notimm" type="STRING" size="256" sumtext="통보월"/>
  994. <Column id="orddridnm" type="STRING" size="256" sumtext="의사명"/>
  995. <Column id="orddrid" type="STRING" size="256" sumtext="사번"/>
  996. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  997. <Column id="orddeptcd1" type="STRING" size="256" sumtext="진료과"/>
  998. <Column id="ioflag" type="STRING" size="256" sumtext="구분"/>
  999. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1000. <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
  1001. <Column id="snglcalcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  1002. <Column id="calcscorcdnm" type="STRING" size="256" sumtext="수가명"/>
  1003. <Column id="adjtamt_in" type="BIGDECIMAL" size="256" sumtext="원내삭감액"/>
  1004. <Column id="adjtamt_out" type="BIGDECIMAL" size="256" sumtext="원외삭감액"/>
  1005. <Column id="deciamt" type="BIGDECIMAL" size="256" sumtext="이의신청회수액"/>
  1006. <Column id="decinotiym" type="STRING" size="256" sumtext="회수액 원 삭감통보월"/>
  1007. <Column id="realcutamt" type="BIGDECIMAL" size="256" sumtext="실삭감액"/>
  1008. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  1009. <Column id="clamno" type="STRING" size="256" sumtext="청구번호"/>
  1010. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  1011. <Column id="docuseqno" type="STRING" size="256" sumtext="명세서일련번호"/>
  1012. <Column id="edilnno" type="STRING" size="256" sumtext="줄번호"/>
  1013. <Column id="adjtresncd" type="STRING" size="256" sumtext="삭감사유"/>
  1014. <Column id="orddeptnm" type="STRING" size="256"/>
  1015. </ColumnInfo>
  1016. </Dataset>
  1017. <Dataset id="ds_main_list07_deptitemcutamtlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1018. <ColumnInfo>
  1019. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1020. <Column id="orddeptcd" type="STRING" size="256" sumtext="부서명" prop="KEY"/>
  1021. <Column id="orddeptnm" type="STRING" size="256" sumtext="부서명" prop="NONE"/>
  1022. <Column id="clinclrg" type="STRING" size="256" sumtext="항목명"/>
  1023. <Column id="ediamta" type="BIGDECIMAL" size="256" sumtext="총진료비"/>
  1024. <Column id="cutcnta" type="BIGDECIMAL" size="256" sumtext="삼감건수"/>
  1025. <Column id="realcutamta" type="BIGDECIMAL" size="256" sumtext="실삭감액"/>
  1026. <Column id="cutpera" type="BIGDECIMAL" size="256" sumtext="삭감율"/>
  1027. <Column id="cuttotpera" type="BIGDECIMAL" size="256" sumtext="삭감구성비"/>
  1028. <Column id="ediamti" type="BIGDECIMAL" size="256" sumtext="총진료비"/>
  1029. <Column id="cutcnti" type="BIGDECIMAL" size="256" sumtext="삼감건수"/>
  1030. <Column id="realcutamti" type="BIGDECIMAL" size="256" sumtext="실삭감액"/>
  1031. <Column id="cutperi" type="BIGDECIMAL" size="256" sumtext="삭감율"/>
  1032. <Column id="cuttotperi" type="BIGDECIMAL" size="256" sumtext="삭감구성비"/>
  1033. <Column id="ediamto" type="BIGDECIMAL" size="256" sumtext="총진료비"/>
  1034. <Column id="cutcnto" type="BIGDECIMAL" size="256" sumtext="삼감건수"/>
  1035. <Column id="realcutamto" type="BIGDECIMAL" size="256" sumtext="실삭감액"/>
  1036. <Column id="cutpero" type="BIGDECIMAL" size="256" sumtext="삭감율"/>
  1037. <Column id="cuttotpero" type="BIGDECIMAL" size="256" sumtext="삭감구성비"/>
  1038. </ColumnInfo>
  1039. </Dataset>
  1040. <Dataset id="ds_cmb_clinclrg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1041. <ColumnInfo>
  1042. <Column id="label" type="STRING" size="256"/>
  1043. <Column id="value" type="STRING" size="256"/>
  1044. </ColumnInfo>
  1045. <Rows>
  1046. <Row>
  1047. <Col id="label">전체</Col>
  1048. <Col id="value">-</Col>
  1049. </Row>
  1050. <Row>
  1051. <Col id="label">진찰</Col>
  1052. <Col id="value">01</Col>
  1053. </Row>
  1054. <Row>
  1055. <Col id="label">입원</Col>
  1056. <Col id="value">02</Col>
  1057. </Row>
  1058. <Row>
  1059. <Col id="label">투약</Col>
  1060. <Col id="value">03</Col>
  1061. </Row>
  1062. <Row>
  1063. <Col id="label">주사</Col>
  1064. <Col id="value">04</Col>
  1065. </Row>
  1066. <Row>
  1067. <Col id="label">마취</Col>
  1068. <Col id="value">05</Col>
  1069. </Row>
  1070. <Row>
  1071. <Col id="label">이학</Col>
  1072. <Col id="value">06</Col>
  1073. </Row>
  1074. <Row>
  1075. <Col id="label">정신</Col>
  1076. <Col id="value">07</Col>
  1077. </Row>
  1078. <Row>
  1079. <Col id="label">수술</Col>
  1080. <Col id="value">08</Col>
  1081. </Row>
  1082. <Row>
  1083. <Col id="label">검사</Col>
  1084. <Col id="value">09</Col>
  1085. </Row>
  1086. <Row>
  1087. <Col id="label">방사선</Col>
  1088. <Col id="value">10</Col>
  1089. </Row>
  1090. <Row>
  1091. <Col id="label">특수</Col>
  1092. <Col id="value">SS</Col>
  1093. </Row>
  1094. <Row>
  1095. <Col id="label">Pet CT</Col>
  1096. <Col id="value">PCT</Col>
  1097. </Row>
  1098. <Row>
  1099. <Col id="label">CT</Col>
  1100. <Col id="value">CT</Col>
  1101. </Row>
  1102. <Row>
  1103. <Col id="label">혈액</Col>
  1104. <Col id="value">BLD</Col>
  1105. </Row>
  1106. <Row>
  1107. <Col id="label">기타</Col>
  1108. <Col id="value">ETC</Col>
  1109. </Row>
  1110. <Row>
  1111. <Col id="label">정액</Col>
  1112. <Col id="value">ZZ</Col>
  1113. </Row>
  1114. <Row>
  1115. <Col id="label">소계</Col>
  1116. <Col id="value">소계</Col>
  1117. </Row>
  1118. </Rows>
  1119. </Dataset>
  1120. <Dataset id="ds_init_PK080list" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1121. <ColumnInfo>
  1122. <Column id="cdnm" type="STRING" size="256"/>
  1123. <Column id="cdid" type="STRING" size="256"/>
  1124. </ColumnInfo>
  1125. </Dataset>
  1126. <Dataset id="ds_init_P0277list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1127. <ColumnInfo>
  1128. <Column id="cdnm" type="STRING" size="256"/>
  1129. <Column id="cdid" type="STRING" size="256"/>
  1130. </ColumnInfo>
  1131. </Dataset>
  1132. <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1133. <ColumnInfo>
  1134. <Column id="nm" type="STRING" size="256"/>
  1135. <Column id="cd" type="STRING" size="256"/>
  1136. </ColumnInfo>
  1137. </Dataset>
  1138. <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1139. <Dataset id="ds_main_list03_confirmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1140. <ColumnInfo>
  1141. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
  1142. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  1143. <Column id="confirmdt" type="STRING" size="256" sumtext="확인일시"/>
  1144. <Column id="confirmnm" type="STRING" size="256" sumtext="확인심사자"/>
  1145. </ColumnInfo>
  1146. </Dataset>
  1147. <Dataset id="ds_send_docu" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1148. <ColumnInfo>
  1149. <Column id="fromobtappdd" type="STRING" size="256"/>
  1150. <Column id="toobtappdd" type="STRING" size="256"/>
  1151. <Column id="chosflag" type="STRING" size="256"/>
  1152. <Column id="obtapprsltendflag" type="STRING" size="256"/>
  1153. <Column id="insukind3" type="STRING" size="256"/>
  1154. <Column id="confirm_yn" type="STRING" size="256"/>
  1155. <Column id="selgubun" type="STRING" size="256"/>
  1156. <Column id="orddeptcd" type="STRING" size="256"/>
  1157. <Column id="orddrid" type="STRING" size="256"/>
  1158. </ColumnInfo>
  1159. <Rows>
  1160. <Row>
  1161. <Col id="fromobtappdd"/>
  1162. <Col id="toobtappdd"/>
  1163. <Col id="chosflag">1</Col>
  1164. <Col id="obtapprsltendflag">3</Col>
  1165. <Col id="insukind3"/>
  1166. <Col id="confirm_yn"/>
  1167. </Row>
  1168. </Rows>
  1169. </Dataset>
  1170. <Dataset id="ds_cmb_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1171. <ColumnInfo>
  1172. <Column id="label" type="STRING" size="256"/>
  1173. <Column id="value" type="STRING" size="256"/>
  1174. </ColumnInfo>
  1175. <Rows>
  1176. <Row>
  1177. <Col id="label">건강보험</Col>
  1178. <Col id="value">11</Col>
  1179. </Row>
  1180. <Row>
  1181. <Col id="label">의료급여</Col>
  1182. <Col id="value">21</Col>
  1183. </Row>
  1184. <Row>
  1185. <Col id="label">의료급여</Col>
  1186. <Col id="value">22</Col>
  1187. </Row>
  1188. <Row>
  1189. <Col id="label">산재</Col>
  1190. <Col id="value">41</Col>
  1191. </Row>
  1192. </Rows>
  1193. </Dataset>
  1194. <Dataset id="ds_cmb_jobposcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1195. <Dataset id="ds_main_smslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1196. <ColumnInfo>
  1197. <Column id="instcd" type="STRING" size="255"/>
  1198. <Column id="orddridnm" type="STRING" size="255"/>
  1199. <Column id="orddrid" type="STRING" size="255"/>
  1200. <Column id="realcutamt" type="BIGDECIMAL" size="255"/>
  1201. <Column id="mpphonno" type="STRING" size="255"/>
  1202. <Column id="sendym" type="STRING" size="256"/>
  1203. <Column id="replytelno" type="STRING" size="256"/>
  1204. </ColumnInfo>
  1205. </Dataset>
  1206. <Dataset id="ds_send_smslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1207. <ColumnInfo>
  1208. <Column id="instcd" type="STRING" size="255"/>
  1209. <Column id="orddridnm" type="STRING" size="255"/>
  1210. <Column id="orddrid" type="STRING" size="255"/>
  1211. <Column id="realcutamt" type="BIGDECIMAL" size="255"/>
  1212. <Column id="mpphonno" type="STRING" size="255"/>
  1213. <Column id="sendym" type="STRING" size="256"/>
  1214. <Column id="replytelno" type="STRING" size="256"/>
  1215. </ColumnInfo>
  1216. </Dataset>
  1217. <FilteredDataset id="dsf_init_orddrid" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_init_orddrid"/>
  1218. <Dataset id="ds_init_judgrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1219. <Dataset id="ds_send_tmplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1220. <Dataset id="ds_send_tmplist00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1221. </Objects>
  1222. <Bind>
  1223. <BindItem id="item0" compid="group6.group2.ipt_fromobtappdd" propid="value" datasetid="ds_send_dataqry" columnid="fromobtappdd"/>
  1224. <BindItem id="item1" compid="group6.group2.ipt_toobtappdd" propid="value" datasetid="ds_send_dataqry" columnid="toobtappdd"/>
  1225. <BindItem id="item2" compid="group6.group2.rdo_chosflag" propid="value" datasetid="ds_send_dataqry" columnid="chosflag"/>
  1226. <BindItem id="item3" compid="group6.group2.rdo_endyn" propid="value" datasetid="ds_send_dataqry" columnid="obtapprsltendflag"/>
  1227. <BindItem id="item4" compid="group6.group2.confirm_maxday" propid="value" datasetid="ds_main2_confirm_confirmstat" columnid="confirm_maxday"/>
  1228. <BindItem id="item7" compid="swt_aipmmngt.case1.group2.cmb_orddptcd" propid="value" datasetid="ds_send_dataqry" columnid="orddeptcd"/>
  1229. <BindItem id="item8" compid="swt_aipmmngt.case1.group2.cmb_orddrid" propid="value" datasetid="ds_send_dataqry" columnid="orddrid"/>
  1230. <BindItem id="item5" compid="swt_aipmmngt.case1.group2.ipt_snglcalcscorcd" propid="value" datasetid="ds_send_dataqry" columnid="snglcalcscorcd"/>
  1231. <BindItem id="item6" compid="swt_aipmmngt.case1.group2.cmb_orddrid00" propid="value" datasetid="ds_send_dataqry" columnid="judgrid"/>
  1232. <BindItem id="item9" compid="swt_aipmmngt.case1.group2.Edit00" propid="value" datasetid="ds_send_dataqry" columnid="pid"/>
  1233. </Bind>
  1234. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1235. * System Name :
  1236. * Job Name :
  1237. * Creator :
  1238. * Make Date : 2016-05-24
  1239. * Description :
  1240. *---------------------------------------------------------------------------------------
  1241. * Modify Date Modifier Modify Description
  1242. *---------------------------------------------------------------------------------------
  1243. * 2016-05-24 Live Converter TF->XP
  1244. *
  1245. *---------------------------------------------------------------------------------------
  1246. ****************************************************************************************/
  1247. include "com_commonxp::comm_main.xjs";
  1248. include "pam_pamcomnxp::PAM001.xjs";
  1249. include "pam_pamcomnxp::PAM.xjs";
  1250. function SMPIR32000_oninit(obj:Form, e:InitEventInfo)
  1251. {
  1252. frmf_initForm(obj);
  1253. }
  1254. function SMPIR32000_onload(obj:Form, e:LoadEventInfo)
  1255. {
  1256. grdf_initGrid(swt_aipmmngt.case3.grd_rsltqry);
  1257. grdf_initGrid(swt_aipmmngt.case3.group4.datagrid1);
  1258. grdf_initGrid(swt_aipmmngt.case3.grp_sms.grd_smslist);
  1259. grdf_initGrid(swt_aipmmngt.case4.griddocu);
  1260. grdf_initGrid(swt_aipmmngt.case1.griddocuall);
  1261. grdf_initGrid(swt_aipmmngt.case5.griddocuadjtamt);
  1262. grdf_initGrid(swt_aipmmngt.case6.datagrid2);
  1263. swt_aipmmngt.case3.group4.visible = false;
  1264. var arrParam = new Array();
  1265. arrParam = [{dsNm: "ds_init_PK080list", cdGrpId: "PK080", showValue: false}];
  1266. pamfGetCodeList(arrParam, false, "");
  1267. var arrParam = [{dsNm: "ds_init_P0277list", cdGrpId: "P0277"}]
  1268. appf_getCodeList(arrParam);
  1269. var userId = ds_init_PK080list.lookup("cdid", sysf_getUserId(), "cdnm");
  1270. if (!utlf_isNull(userId))
  1271. {
  1272. btn_confirm.enable = true;
  1273. }
  1274. else
  1275. {
  1276. btn_confirm.enable = false ;
  1277. }
  1278. dsf_createDsRow("ds_req", [{col:"ioflag", type:"STRING", size:256 , val : ds_send_dataqry.getColumn(0, "chosflag")}
  1279. ]);
  1280. var oParam = {};
  1281. oParam.id = "TRPID20201";
  1282. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  1283. oParam.method = "reqGetInitComCd";
  1284. oParam.inds = "req=ds_req";
  1285. oParam.outds = "ds_init_judgrid=judgrid ds_init_suppkind=suppkind ds_init_orddrid=orddrid ds_init_orddrid2=orddrid2 ds_init_clamdept=clamdept ds_init_orddeptcd=orddeptcd ds_init_orddeptcd2=orddeptcd2 ds_init_item3=item3 ds_init_clamdg=clamdg ds_init_aftjudgerr=aftjudgerr ds_init_uuee=uuee";
  1286. oParam.async = false;
  1287. //oParam.callback = "cf_TRPID20201";
  1288. tranf_submit(oParam);
  1289. // var oParam = {};
  1290. // oParam.id = "TRPID20309";
  1291. // oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  1292. // oParam.method = "reqGetDeptCDDrID";
  1293. // oParam.inds = "req=ds_req";
  1294. // oParam.outds = "ds_init_orddeptcd=orddeptcd ds_init_orddrid=orddrid";
  1295. // oParam.async = false;
  1296. // //oParam.callback = "cf_TRPID20309";
  1297. //
  1298. // tranf_submit(oParam);
  1299. if(!frmf_checkOpener())
  1300. {
  1301. group6.group2.rdo_chosflag.index = 0;
  1302. group6.group2.rdo_endyn.index = 0;
  1303. var today = utlf_getCurrentDate();
  1304. ds_send_dataqry.setColumn(0, "fromobtappdd", today);
  1305. ds_send_dataqry.setColumn(0, "toobtappdd", today);
  1306. }
  1307. else
  1308. {
  1309. }
  1310. }
  1311. function group6_group2_button1_onclick(obj:Button, e:ClickEventInfo)
  1312. {
  1313. if (grd_confirmlist.visible == true)
  1314. {
  1315. grd_confirmlist.visible = false;
  1316. }
  1317. else
  1318. {
  1319. var oParam = {};
  1320. oParam.id = "TRPIR32005";
  1321. oParam.service = "cutmngtapp.CutMngt";
  1322. oParam.method = "reqConfirmList";
  1323. oParam.inds = "req=ds_send_dataqry";
  1324. oParam.outds = "ds_main_list03_confirmlist=confirmlist";
  1325. oParam.async = false;
  1326. //oParam.callback = "cf_TRPIR32005";
  1327. tranf_submit(oParam);
  1328. grd_confirmlist.visible = true;
  1329. }
  1330. }
  1331. function group6_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1332. {
  1333. fObtAppList();
  1334. }
  1335. function fChkSend()
  1336. {
  1337. if (utlf_isNull(ds_send_dataqry.getColumn(0, "fromobtappdd")))
  1338. {
  1339. alert("심결통보시작일(From)을 입력해 주세요");
  1340. group6.group2.ipt_fromobtappdd.setFocus();
  1341. return false;
  1342. }
  1343. if (utlf_isNull(ds_send_dataqry.getColumn(0, "toobtappdd")))
  1344. {
  1345. alert("심결통보종료일(To)을 입력해 주세요");
  1346. group6.group2.ipt_toobtappdd.setFocus();
  1347. return false;
  1348. }
  1349. if (ds_send_dataqry.getColumn(0, "fromobtappdd") < "20120701" && ds_send_dataqry.getColumn(0, "toobtappdd") >= "20120701")
  1350. {
  1351. alert("2012년 7월 이전과 이후의 자료를 동시에 조회할 수 없습니다 ");
  1352. group6.group2.ipt_toobtappdd.setFocus();
  1353. return false;
  1354. }
  1355. return true;
  1356. }
  1357. function fObtAppList()
  1358. {
  1359. if(fChkSend())
  1360. {
  1361. ds_main_list01_gridrsltqry.clearData();
  1362. ds_main_list02_griddocu.clearData();
  1363. swt_aipmmngt.tabindex = 0;
  1364. if (ds_send_dataqry.getColumn(0, "fromobtappdd") < "20120101")
  1365. {
  1366. var oParam = {};
  1367. oParam.id = "TRPIR32000";
  1368. oParam.service = "cutmngtapp.CutMngt";
  1369. oParam.method = "reqObtdClodRsltList";
  1370. oParam.inds = "req=ds_send_dataqry";
  1371. oParam.outds = "ds_main_list01_gridrsltqry=gridrsltqry";
  1372. oParam.async = false;
  1373. //oParam.callback = "cf_TRPIR32000";
  1374. tranf_submit(oParam);
  1375. }
  1376. else
  1377. {
  1378. var oParam = {};
  1379. oParam.id = "TRPIR32002";
  1380. oParam.service = "cutmngtapp.CutMngt";
  1381. oParam.method = "reqObtdClodRsltConYn";
  1382. oParam.inds = "req=ds_send_dataqry";
  1383. oParam.outds = "ds_main2_confirm_confirmstat=confirmstat ds_main2_confirm_rslt=rslt";
  1384. oParam.async = false;
  1385. //oParam.callback = "cf_TRPIR32002";
  1386. tranf_submit(oParam);
  1387. var confirm_yn = ds_main2_confirm_confirmstat.getColumn(0, "confirm_yn");
  1388. var confirm_list = ds_main2_confirm_rslt.rowcount;
  1389. if (confirm_list > 0 )
  1390. {
  1391. alert("줄번호가 없는 처방 발생 되었습니다.");
  1392. swt_aipmmngt.case3.group4.visible = true;
  1393. return false;
  1394. }
  1395. if (confirm_yn == "X" )
  1396. {
  1397. alert("해당 조회 기간 내 확인 완료/미완료 건이 모두 포함되어 있습니다. 조회 기간을 변경하여 주십시요");
  1398. group6.group2.ipt_fromobtappdd.setFocus();
  1399. return false;
  1400. }
  1401. ds_send_dataqry.setColumn(0, "confirm_yn", confirm_yn);
  1402. var oParam = {};
  1403. oParam.id = "TRPIR32003";
  1404. oParam.service = "cutmngtapp.CutMngt";
  1405. oParam.method = "reqObtdClodRsltListNew";
  1406. oParam.inds = "req=ds_send_dataqry";
  1407. oParam.outds = "ds_main_list01_gridrsltqry=gridrsltqry";
  1408. oParam.async = false;
  1409. //oParam.callback = "cf_TRPIR32003";
  1410. tranf_submit(oParam);
  1411. }
  1412. if( ds_main_list01_gridrsltqry.rowcount > 0 )
  1413. {
  1414. ds_main_list01_gridrsltqry.keystring = "G:orddeptnm";
  1415. }
  1416. }
  1417. }
  1418. function swt_aipmmngt_case3_grd_rsltqry_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1419. {
  1420. ds_send_docu.setColumn(0, "selgubun", "D");
  1421. dbclick();
  1422. }
  1423. function swt_aipmmngt_case3_grd_rsltqry_onsummdblclick(obj:Grid, e:GridClickEventInfo)
  1424. {
  1425. ds_send_docu.setColumn(0, "selgubun", "A");
  1426. dbclick();
  1427. }
  1428. function dbclick()
  1429. {
  1430. var curr_row = ds_main_list01_gridrsltqry.rowposition;
  1431. var orddeptcd = ds_main_list01_gridrsltqry.getColumn(curr_row, "orddeptcd");
  1432. var orddrid = ds_main_list01_gridrsltqry.getColumn(curr_row, "orddrid");
  1433. ds_send_docu.setColumn(0, "orddeptcd", orddeptcd);
  1434. ds_send_docu.setColumn(0, "orddrid", orddrid);
  1435. ds_send_docu.setColumn(0, "fromobtappdd", ds_send_dataqry.getColumn(0, "fromobtappdd"));
  1436. ds_send_docu.setColumn(0, "toobtappdd", ds_send_dataqry.getColumn(0, "toobtappdd"));
  1437. ds_send_docu.setColumn(0, "chosflag", ds_send_dataqry.getColumn(0, "chosflag"));
  1438. ds_send_docu.setColumn(0, "obtapprsltendflag", ds_send_dataqry.getColumn(0, "obtapprsltendflag"));
  1439. ds_send_docu.setColumn(0, "insukind3", ds_send_dataqry.getColumn(0, "insukind3"));
  1440. if (!utlf_isNull(ds_send_docu.getColumn(0, "orddrid")))
  1441. {
  1442. swt_aipmmngt.tabindex = 1;
  1443. ds_main_list02_griddocu.clearData();
  1444. if(ds_send_dataqry.getColumn(0, "fromobtappdd") < "20120701")
  1445. {
  1446. var oParam = {};
  1447. oParam.id = "TRPIR32001";
  1448. oParam.service = "cutmngtapp.CutMngt";
  1449. oParam.method = "reqClodRsltList";
  1450. oParam.inds = "req=ds_send_docu";
  1451. oParam.outds = "ds_main_list02_griddocu=griddocu";
  1452. oParam.async = false;
  1453. //oParam.callback = "cf_TRPIR32001";
  1454. tranf_submit(oParam);
  1455. }
  1456. else
  1457. {
  1458. var oParam = {};
  1459. oParam.id = "TRPIR32004";
  1460. oParam.service = "cutmngtapp.CutMngt";
  1461. oParam.method = "reqClodRsltListNew";
  1462. oParam.inds = "req=ds_send_docu";
  1463. oParam.outds = "ds_main_list02_griddocu=griddocu";
  1464. oParam.async = false;
  1465. //oParam.callback = "cf_TRPIR32004";
  1466. tranf_submit(oParam);
  1467. }
  1468. if(ds_main_list02_griddocu.rowcount > 0)
  1469. {
  1470. ds_main_list02_griddocu.keystring = "G:+orddridnm-orddrid,S:-orddridnm";
  1471. }
  1472. }
  1473. }
  1474. function swt_aipmmngt_case6_datagrid2_oncellclick(obj:Grid, e:GridClickEventInfo)
  1475. {
  1476. swt_aipmmngt_case3_group4_button3_onclick();
  1477. }
  1478. function swt_aipmmngt_case3_group4_button3_onclick(obj:Button, e:ClickEventInfo)
  1479. {
  1480. swt_aipmmngt.case3.group4.visible = false;
  1481. }
  1482. function swt_aipmmngt_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1483. {
  1484. if(obj.tabindex == 2)
  1485. {
  1486. if( ds_main_list04_griddocuall.rowcount > 0)
  1487. {
  1488. var ans = sysf_messageBox("이미 조회된 자료가 있습니다. 재 조회", "S001");
  1489. if (ans == 6)
  1490. {
  1491. fGridDocuAll();
  1492. }
  1493. }
  1494. else
  1495. {
  1496. fGridDocuAll();
  1497. }
  1498. }
  1499. else if(obj.tabindex == 3)
  1500. {
  1501. if( ds_main_list05_griddocuall.rowcount > 0 )
  1502. {
  1503. var ans = sysf_messageBox("이미 조회된 자료가 있습니다. 재 조회", "S001");
  1504. if (ans == 6)
  1505. {
  1506. fGridDocuAdjtamt();
  1507. }
  1508. }
  1509. else
  1510. {
  1511. fGridDocuAdjtamt();
  1512. }
  1513. }
  1514. else if(obj.tabindex == 4)
  1515. {
  1516. if(ds_main_list07_deptitemcutamtlist.rowcount > 0 )
  1517. {
  1518. var ans = sysf_messageBox("이미 조회된 자료가 있습니다. 재 조회", "S001");
  1519. if (ans == 6)
  1520. {
  1521. fGridDocuItemamt();
  1522. }
  1523. }
  1524. else
  1525. {
  1526. fGridDocuItemamt();
  1527. }
  1528. }
  1529. }
  1530. function fGridDocuAll()
  1531. {
  1532. ds_send_dataqry.setColumn(0, "adjtyn","");
  1533. var oParam = {};
  1534. oParam.id = "TRPIR32006";
  1535. oParam.service = "cutmngtapp.CutMngt";
  1536. oParam.method = "reqObtdClodRsltAllList";
  1537. oParam.inds = "req=ds_send_dataqry";
  1538. oParam.outds = "ds_main_list04_griddocuall=griddocuall";
  1539. oParam.async = false;
  1540. //oParam.callback = "cf_TRPIR32006";
  1541. tranf_submit(oParam);
  1542. ds_main_list04_griddocuall.addColumn("chk","string");
  1543. if(ds_main_list04_griddocuall.rowcount > 0)
  1544. {
  1545. ds_main_list04_griddocuall.keystring = "G:+orddridnm-orddrid,S:-orddridnm";
  1546. }
  1547. }
  1548. function fGridDocuAdjtamt()
  1549. {
  1550. dsf_setDefaultVal(ds_send_dataqry, "adjtyn:Y");
  1551. var oParam = {};
  1552. oParam.id = "TRPIR32006";
  1553. oParam.service = "cutmngtapp.CutMngt";
  1554. oParam.method = "reqObtdClodRsltAllList";
  1555. oParam.inds = "req=ds_send_dataqry";
  1556. oParam.outds = "ds_main_list05_griddocuall=griddocuall";
  1557. oParam.async = false;
  1558. //oParam.callback = "cf_TRPIR32006";
  1559. tranf_submit(oParam);
  1560. if( ds_main_list05_griddocuall.rowcount > 0 )
  1561. {
  1562. ds_main_list05_griddocuall.keystring = "G:+orddridnm-orddrid,S:-orddridnm";
  1563. }
  1564. }
  1565. function fGridDocuItemamt()
  1566. {
  1567. dsf_setDefaultVal(ds_send_dataqry, "adjtyn:Y");
  1568. var oParam = {};
  1569. oParam.id = "TRPIR32006";
  1570. oParam.service = "cutmngtapp.CutMngt";
  1571. oParam.method = "reqObtdItemRsltAllList";
  1572. oParam.inds = "req=ds_send_dataqry";
  1573. oParam.outds = "ds_main_list07_deptitemcutamtlist=deptitemcutamtlist";
  1574. oParam.async = false;
  1575. //oParam.callback = "cf_TRPIR32006";
  1576. tranf_submit(oParam);
  1577. if(ds_main_list07_deptitemcutamtlist.rowcount > 0 )
  1578. {
  1579. var ediamta = 0;
  1580. var ediamti = 0;
  1581. var ediamto = 0;
  1582. var deptediamtatot = 0;
  1583. ds_main_list07_deptitemcutamtlist.keystring = "G:+orddeptnm-orddeptcd,S:-orddeptnm";
  1584. }
  1585. }
  1586. function grd_confirmlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1587. {
  1588. var row = e.row;
  1589. var fromdd = ds_main_list03_confirmlist.getColumn(row, "fromdd");
  1590. var todd = ds_main_list03_confirmlist.getColumn(row, "todd");
  1591. ds_send_dataqry.setColumn(0, "fromobtappdd", fromdd);
  1592. ds_send_dataqry.setColumn(0, "toobtappdd", todd);
  1593. ds_send_dataqry.setColumn(0, "chosflag", "1");
  1594. ds_send_dataqry.setColumn(0, "obtapprsltendflag", "1");
  1595. grd_confirmlist.visible = false;
  1596. fObtAppList();
  1597. }
  1598. function swt_aipmmngt_case3_group4_button6_onclick(obj:Button, e:ClickEventInfo)
  1599. {
  1600. var oParam = {};
  1601. oParam.id = "TXPIR32000";
  1602. oParam.service = "cutmngtapp.CutMngt";
  1603. oParam.method = "setLnnoConfirm";
  1604. oParam.inds = "req=ds_main2_confirm_rslt:U";
  1605. oParam.outds = "";
  1606. oParam.async = false;
  1607. //oParam.callback = "cf_TXPIR32000";
  1608. tranf_submit(oParam);
  1609. }
  1610. function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
  1611. {
  1612. if ( ds_main_list01_gridrsltqry.rowcount == 0 )
  1613. {
  1614. alert("삭감내역을 조회한 후 확인완료 하십시요");
  1615. group6.group2.btn_search.setFocus();
  1616. return false;
  1617. }
  1618. var confirm_yn = ds_main2_confirm_confirmstat.getColumn(0, "nfirm_yn"); //("/root/mamain2/confirm/confirmstat/nfirm_yn");
  1619. if (confirm_yn == "Y" )
  1620. {
  1621. alert("이미 확인 완료된 일자입니다. 확인하세요");
  1622. group6.group2.ipt_fromobtappdd.setFocus();
  1623. return false;
  1624. }
  1625. var fromdd = ds_send_dataqry.getColumn(0, "fromobtappdd");
  1626. var todd = ds_send_dataqry.getColumn(0, "toobtappdd");
  1627. var fromyear = String(fromdd).substr(0,4);
  1628. var frommonth = String(fromdd).substr(4,2);
  1629. var firstday = fromyear+frommonth+"01"
  1630. var lastday = fromyear+frommonth+new Date(new Date(fromyear, frommonth, 1)-86400000).getDate();
  1631. var minfromdd = ds_main_list01_gridrsltqry.getColumn(0, "minfromdd");//getValue("/root/main/list01/gridrsltqry[1]/minfromdd");
  1632. var maxtodd = ds_main_list01_gridrsltqry.getColumn(0, "maxtodd");//getValue("/root/main/list01/gridrsltqry[1]/maxtodd");
  1633. if (fromdd != firstday )
  1634. {
  1635. alert("확인 완료는 월단위로 가능합니다. 시작일자를 변경하세요");
  1636. group6.group2.ipt_fromobtappdd.setFocus();
  1637. return false;
  1638. }
  1639. if (todd != lastday )
  1640. {
  1641. alert("확인 완료는 월단위로 가능합니다. 종료일자를 변경하세요");
  1642. group6.group2.ipt_toobtappdd.setFocus();
  1643. return false;
  1644. }
  1645. if (minfromdd != firstday )
  1646. {
  1647. alert("실제 조회 결과값의 조회 시작일자가 확인 완료 조건과 다릅니다. 다시 조회하세요");
  1648. group6.group2.btn_search.setFocus();
  1649. return false;
  1650. }
  1651. if (maxtodd != lastday )
  1652. {
  1653. alert("실제 조회 결과값의 조회 종료일자가 확인 완료 조건과 다릅니다. 다시 조회하세요");
  1654. group6.group2.btn_search.setFocus();
  1655. return false;
  1656. }
  1657. var oParam = {};
  1658. oParam.id = "TXPIR32000";
  1659. oParam.service = "cutmngtapp.CutMngt";
  1660. oParam.method = "setObdtConfirm";
  1661. oParam.inds = "req=ds_send_dataqry";
  1662. oParam.outds = "";
  1663. oParam.async = false;
  1664. //oParam.callback = "cf_TXPIR32000";
  1665. tranf_submit(oParam);
  1666. fObtAppList();
  1667. }
  1668. function button7_onclick(obj:Button, e:ClickEventInfo)
  1669. {
  1670. var today = utlf_getCurrentDate();
  1671. if(swt_aipmmngt.tabindex == 0)
  1672. {
  1673. if(ds_main_list01_gridrsltqry.rowcount == 0)
  1674. {
  1675. sysf_messageBox("엑셀저장할 내역이", "I004");
  1676. }
  1677. else
  1678. {
  1679. grdf_exportExcel(swt_aipmmngt.case3.grd_rsltqry, "과별의사별 삭감자료", "see");
  1680. }
  1681. }
  1682. else if(swt_aipmmngt.tabindex == 1)
  1683. {
  1684. if(ds_main_list02_griddocu.rowcount == 0)
  1685. {
  1686. sysf_messageBox("엑셀저장할 내역이", "I004");
  1687. }
  1688. else
  1689. {
  1690. grdf_exportExcel(swt_aipmmngt.case4.griddocu, "의사별 삭감처방자료", "see");
  1691. }
  1692. }
  1693. else if(swt_aipmmngt.tabindex == 2)
  1694. {
  1695. if(ds_main_list04_griddocuall.rowcount == 0)
  1696. {
  1697. sysf_messageBox("엑셀저장할 내역이", "I004");
  1698. }
  1699. else
  1700. {
  1701. grdf_exportExcel(swt_aipmmngt.case1.griddocuall, "의사별 환자별 삭감자료", "see");
  1702. }
  1703. }
  1704. else if(swt_aipmmngt.tabindex == 3)
  1705. {
  1706. if(ds_main_list05_griddocuall.rowcount == 0)
  1707. {
  1708. sysf_messageBox("엑셀저장할 내역이", "I004");
  1709. }
  1710. else
  1711. {
  1712. grdf_exportExcel(swt_aipmmngt.case5.griddocuadjtamt, "의사별 삭감처방자료", "see");
  1713. }
  1714. }
  1715. else if(swt_aipmmngt.tabindex == 4)
  1716. {
  1717. if(ds_main_list07_deptitemcutamtlist.rowcount == 0)
  1718. {
  1719. sysf_messageBox("엑셀저장할 내역이", "I004");
  1720. }
  1721. else
  1722. {
  1723. grdf_exportExcel(swt_aipmmngt.case6.datagrid2, "의사별 삭감처방자료", "see");
  1724. }
  1725. }
  1726. }
  1727. function grp_btn_button4_onclick(obj:Button, e:ClickEventInfo)
  1728. {
  1729. this.close();
  1730. }
  1731. function grp_btn_btn_init_onclick(obj:Button, e:ClickEventInfo)
  1732. {
  1733. fInitialize();
  1734. }
  1735. function fInitialize()
  1736. {
  1737. var curDate = utlf_getCurrentDate();
  1738. ds_send_dataqry.setColumn(0, "fromobtappdd", curDate);
  1739. ds_send_dataqry.setColumn(0, "toobtappdd", curDate);
  1740. group6.group2.rdo_chosflag.index = 0;
  1741. group6.group2.rdo_endyn.index = 0;
  1742. ds_main_list01_gridrsltqry.clearData();
  1743. ds_main_list02_griddocu.clearData();
  1744. grd_confirmlist.visible = false;
  1745. }
  1746. function grp_btn_button2_onclick(obj:Button, e:ClickEventInfo)
  1747. {
  1748. var objArg = new Object();
  1749. objArg.arg_ds_send_docu = ds_send_docu;
  1750. frmf_modal("SMPIR32100", "SMPIR32100", objArg, "", "", "", "", "", "", "", "", "", "M");
  1751. }
  1752. function btn_send_sms_onclick(obj:Button, e:ClickEventInfo)
  1753. {
  1754. var oParam = {};
  1755. oParam.id = "TRPIR32000";
  1756. oParam.service = "cutmngtapp.CutMngt";
  1757. oParam.method = "reqGetOrdCutSendSms";
  1758. oParam.inds = "req=ds_send_dataqry";
  1759. oParam.outds = "ds_main_smslist=smslist";
  1760. oParam.async = false;
  1761. //oParam.callback = "cf_TXPIR32000";
  1762. tranf_submit(oParam);
  1763. ds_main_smslist.addColumn("chk", "string");
  1764. swt_aipmmngt.case3.grp_sms.visible = true;
  1765. }
  1766. function swt_aipmmngt_case3_grp_sms_Button00_onclick(obj:Button, e:ClickEventInfo)
  1767. {
  1768. swt_aipmmngt.case3.grp_sms.visible = false;
  1769. }
  1770. function swt_aipmmngt_case3_grp_sms_Button01_onclick(obj:Button, e:ClickEventInfo)
  1771. {
  1772. if (sysf_messageBox("SMS 전송", "S001") == 6) {
  1773. var oParam = {};
  1774. oParam.id = "TRPIR32000";
  1775. oParam.service = "cutmngtapp.CutMngt";
  1776. oParam.method = "reqExeOrdCutSendSms";
  1777. oParam.inds = "req=ds_send_smslist";
  1778. oParam.outds = "";
  1779. oParam.async = false;
  1780. //oParam.callback = "cf_TXPIR32000";
  1781. tranf_submit(oParam);
  1782. ds_main_smslist.filter("");
  1783. ds_send_smslist.clearData();
  1784. swt_aipmmngt.case3.grp_sms.visible = true;
  1785. }
  1786. }
  1787. function swt_aipmmngt_case1_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1788. {
  1789. fGridDocuAll()
  1790. }
  1791. function swt_aipmmngt_case1_group2_cmb_orddptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1792. {
  1793. if (!utlf_isNull(obj.value)) {
  1794. dsf_init_orddrid.filter("dp=='"+obj.value+"' || utlf_isNull(cd)");
  1795. } else {
  1796. dsf_init_orddrid.filter("");
  1797. }
  1798. }
  1799. function grp_btn_button00_onclick(obj:Button, e:ClickEventInfo)
  1800. {
  1801. ds_send_tmplist.filter("");
  1802. ds_send_tmplist.clearData();
  1803. ds_send_tmplist00.copyData(ds_main_list04_griddocuall);
  1804. ds_send_tmplist00.filter("chk==1");
  1805. ds_send_tmplist.copyData(ds_send_tmplist00, true);
  1806. var objArg = new Object();
  1807. objArg.arg_ds_send_docu = ds_send_tmplist;
  1808. frmf_modal("SMPIR35100", "SMPIR35100", objArg, "", "", "", "", "", "", "", "", "", "M");
  1809. }
  1810. function grp_btn_button01_onclick(obj:Button, e:ClickEventInfo)
  1811. {
  1812. var objArg = new Object();
  1813. objArg.arg_orddrid = ds_send_dataqry.getColumn(0,"orddrid");
  1814. objArg.arg_orddeptcd = ds_send_dataqry.getColumn(0,"orddeptcd");
  1815. frmf_modal("SMPIR35100", "SMPIR35100", objArg, "", "", "", "", "", "", "", "", "", "M");
  1816. }
  1817. function swt_aipmmngt_case1_griddocuall_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  1818. {
  1819. if(obj.currentcell == obj.getBindCellIndex("Body", "chk"))
  1820. {
  1821. var rows = grdf_getSelectedRows(obj);
  1822. if(rows.length > 1)
  1823. {
  1824. for(var i = 0; i < rows.length; i++)
  1825. {
  1826. var sel = rows[i];
  1827. ds_main_list04_griddocuall.setColumn(sel, "chk", "1");
  1828. }
  1829. }
  1830. }
  1831. }
  1832. ]]></Script>
  1833. </Form>
  1834. </FDL>