SMPIF50100_원외처방개인별심결내역및지급관리.xfdl 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIF50100" position="absolute 0 0 1201 786" titletext="원외처방 개인별 심결내역 및 지급관리(SMPIF50100)" oninit="SMPIF50100_oninit" onload="SMPIF50100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 1 13 1195 757" id="group3" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Static text="원외처방 심사결정사항 및 지급관리" position="absolute 0 453 235 474" id="caption16" class="tit_2" anchor="default"/>
  11. <Shape position="absolute 0 469 1194 475" linetype="horizontal" id="line9" class="line_10" anchor="left top right"/>
  12. <Button position="absolute 1121 17 1177 39" id="button1" class="btn1" text="조회" anchor="default"/>
  13. <Shape position="absolute 1102 17 1108 39" linetype="vertical" id="line13" anchor="default"/>
  14. <Static text="심사결정사항" position="absolute 0 55 111 77" id="caption7" class="tit_2" anchor="default"/>
  15. <Shape position="absolute 0 71 1194 77" linetype="horizontal" id="line8" class="line_10" anchor="left top right"/>
  16. <Button position="absolute 1151 450 1193 469" id="button2" class="btn5" text="저장" anchor="top right" onclick="group3_button2_onclick"/>
  17. <Button position="absolute 1108 450 1150 469" id="button7" class="btn5" text="삭제" anchor="top right" onclick="group3_button7_onclick"/>
  18. <Div position="absolute 0 11 1194 46" align="align:center top;" id="group2" class="div_SA" anchor="left top right">
  19. <Layouts>
  20. <Layout>
  21. <Shape position="absolute 1102 7 1108 29" linetype="vertical" id="line43" class="line_4" anchor="top right"/>
  22. <Static text="통보심사차수 :" position="absolute 251 9 363 26" id="caption3" class="search_name" anchor="default"/>
  23. <Static text="접수번호 :" position="absolute 13 9 99 26" id="caption4" class="search_name" anchor="default"/>
  24. <Static text="명세서일련번호 :" position="absolute 659 9 784 26" id="caption5" class="search_name" anchor="default"/>
  25. <Combo position="absolute 357 7 447 26" id="cmb_judgdg" class="combo_s_essential" innerdataset="@ds_init_U0001list" datacolumn="judgdg" codecolumn="judgdg" anchor="default" onitemchanged="group3_group2_cmb_judgdg_onitemchanged"/>
  26. <Edit position="absolute 98 6 203 25" id="ipt_acptno" class="input_s_essential" anchor="default" onkeyup="group3_group2_ipt_acptno_onkeyup"/>
  27. <Edit position="absolute 781 7 876 26" id="ipt_docuseqno" class="input_search" anchor="default" onkeyup="group3_group2_ipt_docuseqno_onkeyup"/>
  28. <Button position="absolute 1121 7 1177 29" id="btn_srch" class="btn1" text="조회" anchor="top right" onclick="group3_group2_btn_srch_onclick"/>
  29. <Static text="바로가기 ==&gt;" position="absolute 575 6 655 31" id="caption1" anchor="default" style="color:#ff6600ff;"/>
  30. <CheckBox position="absolute 453 9 498 24" id="chk_flag" text="F808" anchor="default" truevalue="Y" onclick="group3_group2_chk_flag_onclick"/>
  31. <Button id="btn" taborder="1" onclick="group3_group2_btn_onclick" class="icon_search" position="absolute 207 8 223 27" anchor="default"/>
  32. </Layout>
  33. </Layouts>
  34. </Div>
  35. <Grid position="absolute 0 76 1194 410" id="grd_judgdecidetl" class="datagrid2" scrollbars="autoboth" binddataset="ds_main_list01_gridjudgdecidetl" anchor="left top right" autofittype="col" oncellclick="group3_grd_judgdecidetl_oncellclick" onkeydown="group3_grd_judgdecidetl_onkeydown" cellsizingtype="col">
  36. <Formats>
  37. <Format id="default">
  38. <Columns>
  39. <Column size="25"/>
  40. <Column size="80"/>
  41. <Column size="70"/>
  42. <Column size="61"/>
  43. <Column size="75"/>
  44. <Column size="60"/>
  45. <Column size="60"/>
  46. <Column size="70"/>
  47. <Column size="0"/>
  48. <Column size="70"/>
  49. <Column size="70"/>
  50. <Column size="80"/>
  51. <Column size="80"/>
  52. <Column size="80"/>
  53. <Column size="80"/>
  54. <Column size="80"/>
  55. <Column size="80"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. </Columns>
  60. <Rows>
  61. <Row size="33" band="head"/>
  62. <Row size="24"/>
  63. </Rows>
  64. <Band id="head">
  65. <Cell/>
  66. <Cell col="1" text="심결도착일"/>
  67. <Cell col="2" text="미수발생월"/>
  68. <Cell col="3" text="명세서&#10;일련번호"/>
  69. <Cell col="4" text="등록번호"/>
  70. <Cell col="5" text="수진자명"/>
  71. <Cell col="6" text="진료과"/>
  72. <Cell col="7" text="진료의"/>
  73. <Cell col="8" text="이의신청&#10;여부"/>
  74. <Cell col="9" text="접수번호"/>
  75. <Cell col="10" text="심사차수"/>
  76. <Cell col="11" text="총진료비"/>
  77. <Cell col="12" text="본인부담금"/>
  78. <Cell col="13" text="청구액"/>
  79. <Cell col="14" text="상한액"/>
  80. <Cell col="15" text="지원금"/>
  81. <Cell col="16" text="장애인"/>
  82. <Cell col="17"/>
  83. <Cell col="18"/>
  84. <Cell col="19"/>
  85. </Band>
  86. <Band id="body">
  87. <Cell celltype="head" expr="currow+1"/>
  88. <Cell col="1" displaytype="date" text="bind:notidd" mask="yyyy-MM-dd"/>
  89. <Cell col="2" displaytype="date" text="bind:clamym" mask="yyyy-MM"/>
  90. <Cell col="3" displaytype="text" style="align:center middle;" text="bind:docuseqno"/>
  91. <Cell col="4" text="bind:pid"/>
  92. <Cell col="5" text="bind:patnm"/>
  93. <Cell col="6" text="bind:orddeptcd"/>
  94. <Cell col="7" text="bind:orddrid"/>
  95. <Cell col="8" text="bind:obtappyn"/>
  96. <Cell col="9" text="bind:acptno"/>
  97. <Cell col="10" text="bind:judgdg"/>
  98. <Cell col="11" displaytype="number" text="bind:edimedcaretotamt"/>
  99. <Cell col="12" displaytype="number" text="bind:ediownbamt"/>
  100. <Cell col="13" displaytype="number" text="bind:ediinsuclamamt"/>
  101. <Cell col="14" displaytype="number" text="bind:ediownbmaxexamt"/>
  102. <Cell col="15" displaytype="number" text="bind:edisuppamt"/>
  103. <Cell col="16" displaytype="number" text="bind:edihandicaprfund"/>
  104. <Cell col="17" text="bind:clamseqno"/>
  105. <Cell col="18" text="bind:clamno"/>
  106. <Cell col="19" text="bind:f080yn"/>
  107. </Band>
  108. </Format>
  109. </Formats>
  110. </Grid>
  111. <Grid position="absolute 0 474 1194 742" id="grd_rtndetl" class="datagrid2" scrollbars="autoboth" binddataset="ds_main_list02_gridrtndetl" anchor="all" autofittype="col" cellsizingtype="col">
  112. <Formats>
  113. <Format id="default">
  114. <Columns>
  115. <Column size="26"/>
  116. <Column size="65"/>
  117. <Column size="95"/>
  118. <Column size="50"/>
  119. <Column size="80"/>
  120. <Column size="90"/>
  121. <Column size="40"/>
  122. <Column size="80"/>
  123. <Column size="130"/>
  124. <Column size="80"/>
  125. <Column size="80"/>
  126. <Column size="80"/>
  127. <Column size="80"/>
  128. <Column size="80"/>
  129. <Column size="75"/>
  130. <Column size="50"/>
  131. <Column size="0"/>
  132. <Column size="0"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. </Columns>
  140. <Rows>
  141. <Row size="38" band="head"/>
  142. <Row size="24"/>
  143. </Rows>
  144. <Band id="head">
  145. <Cell/>
  146. <Cell col="1" text="통보&#10;심사차수"/>
  147. <Cell col="2" text="처방전&#10;교부번호"/>
  148. <Cell col="3" text="줄번호"/>
  149. <Cell col="4" text="약국코드"/>
  150. <Cell col="5" text="약국명"/>
  151. <Cell col="6" text="조정&#10;사유"/>
  152. <Cell col="7" text="약품코드"/>
  153. <Cell col="8" text="약품명"/>
  154. <Cell col="9" text="이의신청액"/>
  155. <Cell col="10" text="부적정부담금"/>
  156. <Cell col="11" text="부적정본인&#10;부담환급금"/>
  157. <Cell col="12" text="부적정공단&#10;부담환수액"/>
  158. <Cell col="13" text="조정액"/>
  159. <Cell col="14" text="심결&#10;도착일자"/>
  160. <Cell col="15" text="구분"/>
  161. <Cell col="16" text="caption1"/>
  162. <Cell col="17"/>
  163. <Cell col="18"/>
  164. <Cell col="19"/>
  165. <Cell col="20"/>
  166. <Cell col="21"/>
  167. <Cell col="22"/>
  168. <Cell col="23"/>
  169. </Band>
  170. <Band id="body">
  171. <Cell celltype="head"/>
  172. <Cell col="1" text="bind:judgdg"/>
  173. <Cell col="2" text="bind:mpsno"/>
  174. <Cell col="3" text="bind:lnno"/>
  175. <Cell col="4" displaytype="text" edittype="text" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:prcpcorpmark"/>
  176. <Cell col="5" displaytype="text" edittype="text" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:prcpcorpnm"/>
  177. <Cell col="6" displaytype="text" edittype="text" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:adjtresncd"/>
  178. <Cell col="7" text="bind:calcscorcd"/>
  179. <Cell col="8" displaytype="number" text="bind:hngnm" mask="9,999"/>
  180. <Cell col="9" displaytype="number" text="bind:obtappamt"/>
  181. <Cell col="10" displaytype="number" edittype="normal" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:inappbamt"/>
  182. <Cell col="11" displaytype="number" edittype="normal" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:inappownbrtnamt"/>
  183. <Cell col="12" displaytype="number" edittype="normal" style="background:#ffff00ff;background2:#ffff00ff;" text="bind:inappcorpbrtnamt"/>
  184. <Cell col="13" displaytype="number" text="bind:adjtamt"/>
  185. <Cell col="14" displaytype="date" text="bind:oprcpnotidd" mask="yyyy-MM-dd"/>
  186. <Cell col="15" text="bind:dataflag"/>
  187. <Cell col="16" text="bind:clamno"/>
  188. <Cell col="17" text="bind:acptno"/>
  189. <Cell col="18" text="bind:docuseqno"/>
  190. <Cell col="19" text="bind:instcd"/>
  191. <Cell col="20" text="bind:adjtdayqty"/>
  192. <Cell col="21" text="bind:adjttotqty"/>
  193. <Cell col="22" text="bind:obtappflag"/>
  194. <Cell col="23" text="bind:adjtamtflag"/>
  195. </Band>
  196. </Format>
  197. </Formats>
  198. </Grid>
  199. <Button position="absolute 30 140 217 159" id="button108" class="btn2" visible="false" text="[콤보박스]심사차수 내려받기" anchor="default" onclick="group3_button108_onclick"/>
  200. <Button position="absolute 30 175 193 194" id="button109" class="btn2" visible="false" text="조회버튼 엔터키로 클릭시" anchor="default"/>
  201. <Button position="absolute 1039 52 1114 71" id="button3" class="btn2" text="줄번호500" anchor="top right" onclick="group3_button3_onclick"/>
  202. <Button position="absolute 1027 450 1107 469" id="button5" class="btn7" text="엑셀저장" anchor="top right" onclick="group3_button5_onclick"/>
  203. <Button position="absolute 944 52 1038 71" id="button6" class="btn7" text="Open Excel" anchor="top right" onclick="group3_button6_onclick"/>
  204. <Button position="absolute 834 52 887 71" id="button10" class="btn2" text="열카피" anchor="top right" onclick="group3_button10_onclick"/>
  205. <Button position="absolute 889 52 942 71" id="button11" class="btn2" text="행카피" anchor="top right" onclick="group3_button11_onclick"/>
  206. <Button position="absolute 779 52 832 71" id="button13" class="btn2" text="셀카피" anchor="top right" onclick="group3_button13_onclick"/>
  207. <Grid position="absolute 645 411 971 468" id="datagrid1" class="datagrid2" scrollbars="autoboth" binddataset="ds_main_f090list_grdrtnf903" anchor="default" autofittype="col">
  208. <Formats>
  209. <Format id="default">
  210. <Columns>
  211. <Column size="85"/>
  212. <Column size="79"/>
  213. <Column size="80"/>
  214. <Column size="80"/>
  215. </Columns>
  216. <Rows>
  217. <Row size="29" band="head"/>
  218. <Row size="24"/>
  219. </Rows>
  220. <Band id="head">
  221. <Cell text="처방별 &#10;부적정부담금"/>
  222. <Cell col="1" text="요양기관&#10;환수금"/>
  223. <Cell col="2" text="본인부담&#10;환수금"/>
  224. <Cell col="3" text="부적정공단&#10;부담환수액"/>
  225. </Band>
  226. <Band id="body">
  227. <Cell displaytype="number" text="bind:suminappbamt" mask="9,999"/>
  228. <Cell col="1" displaytype="number" text="bind:corpramt" mask="9,999"/>
  229. <Cell col="2" displaytype="number" text="bind:ownbrtnamt" mask="9,999"/>
  230. <Cell col="3" displaytype="number" text="bind:insubramt" mask="9,999"/>
  231. </Band>
  232. </Format>
  233. </Formats>
  234. </Grid>
  235. </Layout>
  236. </Layouts>
  237. </Div>
  238. <Div position="absolute 1 753 1195 780" id="group4" scrollbars="autoboth" anchor="left right bottom">
  239. <Layouts>
  240. <Layout>
  241. <Button position="absolute 1066 4 1194 26" id="button17" class="btn4" visible="false" text="원외이신자료생성" anchor="right bottom"/>
  242. <Shape position="absolute 0 0 1194 6" linetype="horizontal" id="line32" class="line_6" anchor="left right bottom"/>
  243. </Layout>
  244. </Layouts>
  245. </Div>
  246. <Button position="absolute 1116 65 1196 84" id="button4" class="btn7" text="엑셀저장" anchor="top right" onclick="button4_onclick"/>
  247. <Static id="caption6" text="원외처방 개인별 심결내역 및 지급관리" class="tit_1" position="absolute 1 0 305 23"/>
  248. </Layout>
  249. </Layouts>
  250. <Objects>
  251. <Dataset id="ds_init_P0287list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  252. <Dataset id="ds_send_send01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  253. <ColumnInfo>
  254. <Column id="acptno" type="STRING" size="256"/>
  255. <Column id="judgdg" type="STRING" size="256"/>
  256. <Column id="f080yn" type="STRING" size="256"/>
  257. <Column id="termflag" type="STRING" size="256"/>
  258. <Column id="fromdd" type="STRING" size="256"/>
  259. <Column id="todd" type="STRING" size="256"/>
  260. <Column id="insukind" type="STRING" size="256"/>
  261. </ColumnInfo>
  262. <Rows>
  263. <Row/>
  264. </Rows>
  265. </Dataset>
  266. <Dataset id="ds_init_U0001list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  267. <ColumnInfo>
  268. <Column id="judgdg" type="STRING" size="256"/>
  269. </ColumnInfo>
  270. </Dataset>
  271. <Dataset id="ds_init_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  272. <ColumnInfo>
  273. <Column id="docuseqno" type="STRING" size="256"/>
  274. </ColumnInfo>
  275. <Rows>
  276. <Row/>
  277. </Rows>
  278. </Dataset>
  279. <Dataset id="ds_main_list01_gridjudgdecidetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  280. <ColumnInfo>
  281. <Column id="notidd" type="STRING" size="256" sumtext="심결도착일자"/>
  282. <Column id="docuseqrem" type="STRING" size="256" sumtext="비고"/>
  283. <Column id="clamym" type="STRING" size="256" sumtext="미수발생월"/>
  284. <Column id="docuseqno" type="STRING" size="256" sumtext="명일련"/>
  285. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  286. <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
  287. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  288. <Column id="orddrid" type="STRING" size="256" sumtext="주치의"/>
  289. <Column id="obtappyn" type="STRING" size="256" sumtext="이의신청여부"/>
  290. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  291. <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
  292. <Column id="edimedcaretotamt" type="STRING" size="256" sumtext="총진료비"/>
  293. <Column id="ediownbamt" type="STRING" size="256" sumtext="본인부담금"/>
  294. <Column id="ediinsuclamamt" type="STRING" size="256" sumtext="청구액"/>
  295. <Column id="ediownbmaxexamt" type="STRING" size="256" sumtext="상한액"/>
  296. <Column id="edisuppamt" type="STRING" size="256" sumtext="지원금"/>
  297. <Column id="edihandicaprfund" type="STRING" size="256" sumtext="장애인기금"/>
  298. <Column id="clamseqno" type="STRING" size="256" sumtext="청구일련번호"/>
  299. <Column id="clamno" type="STRING" size="256" sumtext="청구번호"/>
  300. <Column id="f080yn" type="STRING" size="256" sumtext="정산심결조회여부"/>
  301. </ColumnInfo>
  302. </Dataset>
  303. <Dataset id="ds_main_f090list_grdrtnf903" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  304. <ColumnInfo>
  305. <Column id="suminappbamt" type="STRING" size="256" sumtext="처방 부적정 부담금 합계"/>
  306. <Column id="corpramt" type="STRING" size="256" sumtext="요양기관환수금"/>
  307. <Column id="ownbrtnamt" type="STRING" size="256" sumtext="본인부담환수금"/>
  308. <Column id="insubramt" type="STRING" size="256" sumtext="부적정공단환수금"/>
  309. </ColumnInfo>
  310. </Dataset>
  311. <Dataset id="ds_main_list02_gridrtndetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  312. <Dataset id="ds_send_send02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  313. <ColumnInfo>
  314. <Column id="judgdg" type="STRING" size="256"/>
  315. <Column id="acptno" type="STRING" size="256"/>
  316. <Column id="clamseqno" type="STRING" size="256"/>
  317. <Column id="docuseqno" type="STRING" size="256"/>
  318. <Column id="clamno" type="STRING" size="256"/>
  319. <Column id="f080yn" type="STRING" size="256"/>
  320. <Column id="notidd" type="STRING" size="256"/>
  321. </ColumnInfo>
  322. <Rows>
  323. <Row>
  324. <Col id="judgdg"/>
  325. <Col id="acptno"/>
  326. <Col id="clamseqno"/>
  327. <Col id="docuseqno"/>
  328. <Col id="clamno"/>
  329. <Col id="f080yn"/>
  330. <Col id="notidd"/>
  331. </Row>
  332. </Rows>
  333. </Dataset>
  334. <Dataset id="ds_send_send03" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  335. <ColumnInfo>
  336. <Column id="srchcond" type="STRING" size="256"/>
  337. <Column id="srchcond1" type="STRING" size="256"/>
  338. <Column id="scrflag" type="STRING" size="256"/>
  339. <Column id="srchcond2" type="STRING" size="256"/>
  340. </ColumnInfo>
  341. <Rows>
  342. <Row/>
  343. </Rows>
  344. </Dataset>
  345. </Objects>
  346. <Bind>
  347. <BindItem id="item0" compid="group3.group2.ipt_acptno" propid="value" datasetid="ds_send_send01" columnid="acptno"/>
  348. <BindItem id="item1" compid="group3.group2.cmb_judgdg" propid="value" datasetid="ds_send_send01" columnid="judgdg"/>
  349. <BindItem id="item2" compid="group3.group2.chk_flag" propid="value" datasetid="ds_send_send01" columnid="f080yn"/>
  350. <BindItem id="item3" compid="group3.group2.ipt_docuseqno" propid="value" datasetid="ds_init_temp" columnid="docuseqno"/>
  351. </Bind>
  352. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  353. * System Name :
  354. * Job Name :
  355. * Creator :
  356. * Make Date : 2016-05-24
  357. * Description :
  358. *---------------------------------------------------------------------------------------
  359. * Modify Date Modifier Modify Description
  360. *---------------------------------------------------------------------------------------
  361. * 2016-05-24 Live Converter TF->XP
  362. *
  363. *---------------------------------------------------------------------------------------
  364. ****************************************************************************************/
  365. include "com_commonxp::comm_main.xjs";
  366. include "pam_pamcomnxp::PAM001.xjs";
  367. include "pam_pamcomnxp::PAM.xjs";
  368. var col = "N";
  369. function SMPIF50100_oninit(obj:Form, e:InitEventInfo)
  370. {
  371. frmf_initForm(obj);
  372. }
  373. function SMPIF50100_onload(obj:Form, e:LoadEventInfo)
  374. {
  375. grdf_initGrid(group3.grd_rtndetl);
  376. grdf_setRowTypeIcon(group3.grd_rtndetl, 0);
  377. CommCode_Load();
  378. }
  379. function CommCode_Load()
  380. {
  381. var arrParam = [{dsNm: "ds_init_P0287list", cdGrpId: "P0287"}]
  382. appf_getCodeList(arrParam);
  383. group3.group2.ipt_acptno.setFocus();
  384. }
  385. function group3_group2_ipt_acptno_onkeyup(obj:Edit, e:KeyEventInfo)
  386. {
  387. if(e.keycode == 13)
  388. {
  389. ds_send_send01.setColumn(0, "acptno", obj.value);
  390. group3_button108_onclick();
  391. }
  392. }
  393. function group3_button108_onclick(obj:Button, e:ClickEventInfo)
  394. {
  395. ds_send_send01.setColumn(0, "judgdg", "");
  396. ds_init_U0001list.clearData();
  397. ds_main_list01_gridjudgdecidetl.clearData();
  398. ds_main_list02_gridrtndetl.clearData();
  399. var oParam = {};
  400. oParam.id = "TRPIF50103";
  401. oParam.service = "clamuncoapp.ClamUnco";
  402. oParam.method = "reqGetJudgdgByOPrcp";
  403. oParam.inds = "req=ds_send_send01";
  404. oParam.outds = "ds_init_U0001list=U0001";
  405. oParam.async = false;
  406. //oParam.callback = "cf_TRPIF50103";
  407. tranf_submit(oParam);
  408. if(ds_init_U0001list.rowcount == 1)
  409. {
  410. ds_send_send01.setColumn(0, "judgdg", ds_init_U0001list.getColumn(0, "judgdg"));
  411. group3.group2.btn_srch.setFocus();
  412. var oParam = {};
  413. oParam.id = "TRPIF50101";
  414. oParam.service = "clamuncoapp.ClamUnco";
  415. oParam.method = "reqGetJudgDeciDetl";
  416. oParam.inds = "req=ds_send_send01";
  417. oParam.outds = "ds_main_list01_gridjudgdecidetl=gridjudgdecidetl";
  418. oParam.async = false;
  419. //oParam.callback = "cf_TRPIF50101";
  420. tranf_submit(oParam);
  421. }
  422. else
  423. {
  424. group3.group2.cmb_judgdg.setFocus();
  425. }
  426. }
  427. function group3_group2_btn_onclick(obj:Button, e:ClickEventInfo)
  428. {
  429. ds_send_send01.setColumn(0, "insukind", "11");
  430. frmf_setParameter("SPPIF30302_RTNTYPE", "P");
  431. var objArg = new Object();
  432. objArg.arg_ds_send= ds_send_send01;
  433. frmf_modal("SPPIF30302", "SPPIF30302", objArg, "", "", "", "", "", "", "", "", "", "M");
  434. ds_send_send01.setColumn(0, "acptno", frmf_getParameter("SPPIF30302_acptno"));
  435. frmf_clearParameter("SPPIF30302_RTNTYPE");
  436. frmf_clearParameter("SPPIF30302_acptno");
  437. if(!utlf_isNull(ds_send_send01.getColumn(0, "acptno")))
  438. {
  439. group3_button108_onclick();
  440. }
  441. }
  442. function group3_group2_cmb_judgdg_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  443. {
  444. ds_main_list01_gridjudgdecidetl.clearData();
  445. ds_main_list02_gridrtndetl.clearData();
  446. var oParam = {};
  447. oParam.id = "TRPIF50101";
  448. oParam.service = "clamuncoapp.ClamUnco";
  449. oParam.method = "reqGetJudgDeciDetl";
  450. oParam.inds = "req=ds_send_send01";
  451. oParam.outds = "ds_main_list01_gridjudgdecidetl=gridjudgdecidetl";
  452. oParam.async = false;
  453. //oParam.callback = "cf_TRPIF50101";
  454. tranf_submit(oParam);
  455. }
  456. function group3_group2_chk_flag_onclick(obj:CheckBox, e:ClickEventInfo)
  457. {
  458. if(!utlf_isNull(ds_send_send01.getColumn(0, "acptno")))
  459. {
  460. var oParam = {};
  461. oParam.id = "TRPIF50103";
  462. oParam.service = "clamuncoapp.ClamUnco";
  463. oParam.method = "reqGetJudgdgByOPrcp";
  464. oParam.inds = "req=ds_send_send01";
  465. oParam.outds = "ds_init_U0001list=U0001";
  466. oParam.async = false;
  467. oParam.callback = "cf_TRPIF50103";
  468. tranf_submit(oParam);
  469. }
  470. }
  471. function cf_TRPIF50103(sSvcId, nErrorCode, sErrorMsg)
  472. {
  473. if(nErrorCode < 0)
  474. {
  475. return;
  476. }
  477. else
  478. {
  479. if(ds_init_U0001list.rowcount == 1)
  480. {
  481. group3.group2.cmb_judgdg.index = 0;
  482. }
  483. group3.group2.cmb_judgdg.setFocus();
  484. }
  485. }
  486. function group3_group2_ipt_docuseqno_onkeyup(obj:Edit, e:KeyEventInfo)
  487. {
  488. if(e.keycode == 13)
  489. {
  490. var docuseqno = obj.value;
  491. if(String(docuseqno).length == 0)
  492. {
  493. return false;
  494. }
  495. else if(String(docuseqno).length > 5)
  496. {
  497. sysf_messageBox("명세서일련번호는 최대 5자리","E008");
  498. ds_init_temp.setColumn(0, "docuseqno", "");
  499. return false;
  500. }
  501. var rows = ds_main_list01_gridjudgdecidetl.rowcount;
  502. for(var i = 0; i < rows; i++)
  503. {
  504. if(ds_main_list01_gridjudgdecidetl.getColumn(i, "docuseqno") == docuseqno)
  505. {
  506. ds_main_list01_gridjudgdecidetl.rowposition = i;
  507. }
  508. }
  509. }
  510. }
  511. function group3_group2_btn_srch_onclick(obj:Button, e:ClickEventInfo)
  512. {
  513. ds_main_list01_gridjudgdecidetl.clearData();
  514. ds_main_list02_gridrtndetl.clearData();
  515. ds_main_f090list_grdrtnf903.clearData();
  516. if(utlf_isNull(ds_send_send01.getColumn(0, "acptno")))
  517. {
  518. sysf_messageBox("접수번호를","C001");
  519. group3.group2.ipt_acptno.setFocus();
  520. return false;
  521. }
  522. if(utlf_isNull(ds_send_send01.getColumn(0, "judgdg")))
  523. {
  524. sysf_messageBox("심사차수를","C002");
  525. group3.group2.cmb_judgdg.setFocus();
  526. return false;
  527. }
  528. var oParam = {};
  529. oParam.id = "TRPIF50101";
  530. oParam.service = "clamuncoapp.ClamUnco";
  531. oParam.method = "reqGetJudgDeciDetl";
  532. oParam.inds = "req=ds_send_send01";
  533. oParam.outds = "ds_main_list01_gridjudgdecidetl=gridjudgdecidetl";
  534. oParam.async = false;
  535. //oParam.callback = "cf_TRPIF50101";
  536. tranf_submit(oParam);
  537. }
  538. function group3_grd_judgdecidetl_oncellclick(obj:Grid, e:GridClickEventInfo)
  539. {
  540. if(e.row > -1)
  541. {
  542. ds_main_list02_gridrtndetl.clearData();
  543. ds_main_f090list_grdrtnf903.clearData();
  544. if(ds_main_list01_gridjudgdecidetl.rowcount < 0)
  545. {
  546. return false;
  547. }
  548. var row = e.row;
  549. ds_send_send02.setColumn(0, "docuseqno", ds_main_list01_gridjudgdecidetl.getColumn(row, "docuseqno"));
  550. ds_send_send02.setColumn(0, "acptno", ds_main_list01_gridjudgdecidetl.getColumn(row, "acptno"));
  551. ds_send_send02.setColumn(0, "judgdg", ds_main_list01_gridjudgdecidetl.getColumn(row, "judgdg"));
  552. ds_send_send02.setColumn(0, "clamseqno", ds_main_list01_gridjudgdecidetl.getColumn(row, "clamseqno"));
  553. ds_send_send02.setColumn(0, "clamno", ds_main_list01_gridjudgdecidetl.getColumn(row, "clamno"));
  554. ds_send_send02.setColumn(0, "f080yn", ds_main_list01_gridjudgdecidetl.getColumn(row, "f080yn"));
  555. ds_send_send02.setColumn(0, "notidd", ds_main_list01_gridjudgdecidetl.getColumn(row, "notidd"));
  556. var oParam = {};
  557. oParam.id = "TRPIF50102";
  558. oParam.service = "clamuncoapp.ClamUnco";
  559. oParam.method = "reqGetRtnF903";
  560. oParam.inds = "req=ds_send_send02";
  561. oParam.outds = "ds_main_f090list_grdrtnf903=grdrtnf903";
  562. oParam.async = false;
  563. //oParam.callback = "cf_TRPIF50102";
  564. tranf_submit(oParam);
  565. var oParam = {};
  566. oParam.id = "TRPIF50102";
  567. oParam.service = "clamuncoapp.ClamUnco";
  568. oParam.method = "reqGetRtnDetl";
  569. oParam.inds = "req=ds_send_send02";
  570. oParam.outds = "ds_main_list02_gridrtndetl=gridrtndetl";
  571. oParam.async = false;
  572. oParam.callback = "cf_TRPIF50102";
  573. tranf_submit(oParam);
  574. }
  575. var lv_nAreaStartRow;
  576. var lv_nAreaEndRow;
  577. var lv_nAreaStartCol;
  578. var lv_nAreaEndCol;
  579. if(col == "Y")
  580. {
  581. lv_nAreaStartRow = 0;
  582. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  583. lv_nAreaStartCol = parseInt(obj.currentcol);
  584. lv_nAreaEndCol = parseInt(obj.currentcol);
  585. grdf_initGridStyle(obj);
  586. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  587. {
  588. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  589. {
  590. obj.setCellProperty("body",nCell,"background","#FFE7E5");
  591. obj.setCellProperty("body",nCell,"background2","#FFE7E5");
  592. }
  593. }
  594. }
  595. else
  596. {
  597. grdf_initGridStyle(obj);
  598. }
  599. }
  600. function cf_TRPIF50102(sSvcId, nErrorCode, sErrorMsg)
  601. {
  602. if(nErrorCode < 0)
  603. {
  604. return;
  605. }
  606. else
  607. {
  608. // model.makeNode("/root/main/list04/gridrtndetl");
  609. // model.makeNode("/root/main/list04/grdrtnf903");
  610. // model.copyNode("/root/main/list04","/root/main/list02");
  611. }
  612. }
  613. function group3_button13_onclick(obj:Button, e:ClickEventInfo)
  614. {
  615. col = "N";
  616. group3.grd_judgdecidetl.selecttype = "multiarea";
  617. }
  618. function group3_button10_onclick(obj:Button, e:ClickEventInfo)
  619. {
  620. col = "Y";
  621. group3.grd_judgdecidetl.selecttype = "multiarea";
  622. }
  623. function group3_button11_onclick(obj:Button, e:ClickEventInfo)
  624. {
  625. col = "N";
  626. group3.grd_judgdecidetl.selecttype = "multirow";
  627. }
  628. function group3_button6_onclick(obj:Button, e:ClickEventInfo)
  629. {
  630. system.execShell("excel");
  631. }
  632. function group3_button3_onclick(obj:Button, e:ClickEventInfo)
  633. {
  634. var row = ds_main_list01_gridjudgdecidetl.rowposition;
  635. ds_send_send03.setColumn(0, "srchcond", "2");
  636. ds_send_send03.setColumn(0, "srchcond1", ds_send_send01.getColumn(0, "judgdg"));
  637. ds_send_send03.setColumn(0, "scrflag", "");
  638. ds_send_send03.setColumn(0, "srchcond2", "");
  639. var objArg = new Object();
  640. objArg.arg_ds_send_send_clamkey= ds_send_send03;
  641. frmf_modal("SPPIE01210", "SPPIE01210", objArg, "", "", "", "", "", "", "", "", "", "M");
  642. }
  643. function button4_onclick(obj:Button, e:ClickEventInfo)
  644. {
  645. var today = new Date();
  646. var yy = today.getYear()+"";
  647. var mm = today.getMonth()+1;
  648. var dd = today.getDate();
  649. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  650. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  651. var tmp = yy+mm+dd;
  652. if(ds_main_list01_gridjudgdecidetl.rowcount == 0)
  653. {
  654. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  655. }
  656. else
  657. {
  658. grdf_exportExcel(group3.grd_judgdecidetl, "원외처방개인별심결내역및지급관리Grid01_"+tmp, "see");
  659. }
  660. }
  661. function group3_grd_judgdecidetl_onkeydown(obj:Grid, e:KeyEventInfo)
  662. {
  663. if(col == "Y")
  664. {
  665. var CONST_SEPARATOR = " "; //컬럼별 구분자
  666. var lv_oBindDs = eval(obj.binddataset);
  667. var lv_sColID;
  668. var lv_sVal;
  669. var lv_sClipboard = "";
  670. var lv_nAreaStartRow;
  671. var lv_nAreaEndRow;
  672. var lv_nAreaStartCol;
  673. var lv_nAreaEndCol;
  674. if(obj.selecttype == "multiarea")
  675. {
  676. lv_nAreaStartRow = 0;
  677. lv_nAreaEndRow = parseInt(obj.rowcount-1);
  678. lv_nAreaStartCol = parseInt(obj.currentcol);
  679. lv_nAreaEndCol = parseInt(obj.currentcol);
  680. }
  681. for(var nRow = lv_nAreaStartRow; nRow <= lv_nAreaEndRow; nRow++)
  682. {
  683. for(var nCell = lv_nAreaStartCol; nCell <= lv_nAreaEndCol; nCell++)
  684. {
  685. lv_sColID = obj.getCellProperty("body",nCell,"text");
  686. lv_sVal = obj.getCellValue(nRow,nCell);
  687. lv_sClipboard = lv_sClipboard + lv_sVal + CONST_SEPARATOR;
  688. }
  689. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  690. lv_sClipboard = lv_sClipboard +String.fromCharCode(10);
  691. }
  692. lv_sClipboard = lv_sClipboard.substr(0,lv_sClipboard.length-1);
  693. iv_sClipboard = lv_sClipboard;
  694. system.setClipboard("CF_TEXT",lv_sClipboard);
  695. }
  696. else
  697. {
  698. if (e.ctrlKey == true && e.keycode == 67 )
  699. {
  700. grdf_clipboardCopy(obj, "PAM");
  701. }
  702. }
  703. }
  704. function group3_button5_onclick(obj:Button, e:ClickEventInfo)
  705. {
  706. var today = new Date();
  707. var yy = today.getYear()+"";
  708. var mm = today.getMonth()+1;
  709. var dd = today.getDate();
  710. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  711. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  712. var tmp = yy+mm+dd;
  713. if(ds_main_list02_gridrtndetl.rowcount == 0)
  714. {
  715. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  716. }
  717. else
  718. {
  719. grdf_exportExcel(group3.grd_rtndetl, "원외처방개인별심결내역및지급관리Grid02_"+tmp, "see");
  720. }
  721. }
  722. function group3_button7_onclick(obj:Button, e:ClickEventInfo)
  723. {
  724. var row = ds_main_list02_gridrtndetl.rowcount;
  725. if(ds_main_list02_gridrtndetl.getRowType(row) != 2 && ds_main_list02_gridrtndetl.getRowType(row) != 4)
  726. {
  727. ds_main_list02_gridrtndetl.deleteRow(row);
  728. }
  729. }
  730. function group3_button2_onclick(obj:Button, e:ClickEventInfo)
  731. {
  732. var rows = ds_main_list02_gridrtndetl.rowcount;
  733. if(rows > 0)
  734. {
  735. for(var i = 0; i < rows; i++)
  736. {
  737. var adjtamt1 = ds_main_list02_gridrtndetl.getColumn(i, "adjtamt");
  738. //var adjtamt2 = model.getValue("/root/main/list04/gridrtndetl["+i+"]/adjtamt"); // 최초 이신데이터 생성화면에서 내려받은 조정금액
  739. // if(adjtamt1 == adjtamt2) {
  740. // grd_rtndetl.valueMatrix(i,23) = "N";
  741. // } else {
  742. // grd_rtndetl.valueMatrix(i,23) = "Y";
  743. // }
  744. }
  745. var oParam = {};
  746. oParam.id = "TXPIF50101";
  747. oParam.service = "clamuncoapp.ClamUnco";
  748. oParam.method = "reqPutPirhobtd";
  749. oParam.inds = "req=ds_main_list02_gridrtndetl:U";
  750. oParam.outds = "";
  751. oParam.async = false;
  752. oParam.callback = "cf_TXPIF50101";
  753. tranf_submit(oParam);
  754. }
  755. }
  756. function cf_TXPIF50101(sSvcId, nErrorCode, sErrorMsg)
  757. {
  758. if(nErrorCode < 0)
  759. {
  760. return;
  761. }
  762. else
  763. {
  764. var oParam = {};
  765. oParam.id = "TRPIF50102";
  766. oParam.service = "clamuncoapp.ClamUnco";
  767. oParam.method = "reqGetRtnF903";
  768. oParam.inds = "req=ds_send_send02";
  769. oParam.outds = "ds_main_f090list_grdrtnf903=grdrtnf903";
  770. oParam.async = false;
  771. //oParam.callback = "cf_TRPIF50102";
  772. tranf_submit(oParam);
  773. var oParam = {};
  774. oParam.id = "TRPIF50102";
  775. oParam.service = "clamuncoapp.ClamUnco";
  776. oParam.method = "reqGetRtnDetl";
  777. oParam.inds = "req=ds_send_send02";
  778. oParam.outds = "ds_main_list01_gridjudgdecidetl=gridrtndetl";
  779. oParam.async = false;
  780. //oParam.callback = "cf_TRPIF50102";
  781. tranf_submit(oParam);
  782. }
  783. }]]></Script>
  784. </Form>
  785. </FDL>