SPPID29100_타병원처방조회.xfdl 57 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPID29100" position="absolute 0 0 1194 640" titletext="타병원처방조회" oninit="SPPID29100_oninit" onload="SPPID29100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 1 18 1191 610" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout width="1190" height="592">
  10. <Static text="타병원처방 리스트" position="absolute 0 57 136 78" id="cap_judgtrgtman" class="tit_2" anchor="default"/>
  11. <Div position="absolute 0 6 1185 46" align="align:center top;" id="group1" class="div_SA" anchor="left top right">
  12. <Layouts>
  13. <Layout width="1185" height="40">
  14. <Button position="absolute 1120 9 1176 31" id="btn_select" class="btn1" taborder="32" text="조회" anchor="top right" onclick="grp_biz_group1_btn_select_onclick"/>
  15. <Shape position="absolute 1102 4 1108 37" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
  16. <Static id="caption1" text="등록번호 :" class="search_name" position="absolute 11 11 101 28" style="align:center middle;" anchor="default"/>
  17. <Edit id="ipt_pid" taborder="33" onkeydown="ipt_pid_onkeydown" class="input_default" position="absolute 96 9 175 28" onkeypress="ipt_pid_onkeypress" style="align:right middle;" readonly="true" anchor="default" enable="false"/>
  18. <Static id="caption00" text="진료기간 :" class="search_name" position="absolute 317 11 407 28" style="align:center middle;" anchor="default" onclick="grp_biz_group1_caption00_onclick"/>
  19. <Calendar id="ipt_fromcretdd" taborder="34" dateformat="yyyy-MM-dd" editformat="yyyy-MM-dd" onchanged="group2_ipt_fromcretdd_onchanged" oneditclick="group2_ipt_fromcretdd_oneditclick" class="input_search" position="absolute 401 9 509 28" anchor="top right" mask="yyyy-MM" value="null"/>
  20. <Static id="caption7" text="~" position="absolute 514 9 529 28" anchor="top right"/>
  21. <Calendar id="ipt_tocretdd" taborder="35" dateformat="yyyy-MM-dd" editformat="yyyy-MM-dd" onchanged="group2_ipt_tocretdd_onchanged" oneditclick="group2_ipt_tocretdd_oneditclick" class="input_search" position="absolute 528 9 635 28" anchor="top right" mask="yyyy-mm-dd" value="null"/>
  22. <Combo id="dutplceinstcd" taborder="36" innerdataset="ds_item" codecolumn="value" datacolumn="label" position="absolute 929 7 1099 30" onitemchanged="grp_biz_group1_dutplceinstcd_onitemchanged"/>
  23. <Static id="caption02" text="기관 :" onclick="grp_biz_group1_caption00_onclick" class="search_name" position="absolute 879 10 932 27" style="align:center middle;"/>
  24. <Static id="caption03" text="환자명 :" class="search_name" position="absolute 183 10 247 27" style="align:center middle;"/>
  25. <Edit id="ipt_pid00" taborder="37" readonly="true" onkeydown="ipt_pid_onkeydown" class="input_default" enable="false" position="absolute 252 9 305 28" style="align:right middle;" onkeypress="ipt_pid_onkeypress"/>
  26. </Layout>
  27. </Layouts>
  28. </Div>
  29. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 73 300 79" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  30. <Grid id="grd_otpt" taborder="2" useinputpanel="false" position="absolute 0 78 300 577" binddataset="ds_grd_otpt" oncellclick="grp_biz_grd_otpt_oncellclick" cellmovingtype="col">
  31. <Formats>
  32. <Format id="default">
  33. <Columns>
  34. <Column size="70"/>
  35. <Column size="70"/>
  36. <Column size="60"/>
  37. <Column size="59"/>
  38. <Column size="58"/>
  39. </Columns>
  40. <Rows>
  41. <Row size="24" band="head"/>
  42. <Row size="24"/>
  43. </Rows>
  44. <Band id="head">
  45. <Cell text="진료일자"/>
  46. <Cell col="1" text="보험유형"/>
  47. <Cell col="2" text="보조유형"/>
  48. <Cell col="3" text="진료과"/>
  49. <Cell col="4" text="진료의"/>
  50. </Band>
  51. <Band id="body">
  52. <Cell displaytype="date" text="bind:orddd"/>
  53. <Cell col="1" text="bind:insukindnm"/>
  54. <Cell col="2" style="align:left middle;" text="bind:suppkindnm"/>
  55. <Cell col="3" text="bind:orddeptcd"/>
  56. <Cell col="4" displaytype="normal" text="bind:orddrnm" combodataset="ds_init_orddridlist" combocodecol="cd" combodatacol="nm"/>
  57. </Band>
  58. </Format>
  59. </Formats>
  60. </Grid>
  61. <Shape id="line00" class="line_1" position="absolute 307 73 1185 79" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  62. <Grid id="grd_clodhist" class="datagrid2" taborder="3" binddataset="ds_grd_clodhist" useinputpanel="false" selecttype="multirow" cellsizingtype="col" treeusecheckbox="false" treeuseimage="false" treeinitstatus="collapse,all" onrbuttondown="grd_clodhist_onrbuttondown" oncellclick="grd_clodhist_oncellclick" onheadclick="grd_clodhist_onheadclick" oncelldblclick="grd_clodhist_oncelldblclick" position="absolute 308 78 1186 578" anchor="left top right" style="align:center middle;" cellmovingtype="col">
  63. <Formats>
  64. <Format id="default">
  65. <Columns>
  66. <Column size="0"/>
  67. <Column size="0"/>
  68. <Column size="0"/>
  69. <Column size="26"/>
  70. <Column size="20"/>
  71. <Column size="97"/>
  72. <Column size="30"/>
  73. <Column size="97"/>
  74. <Column size="97"/>
  75. <Column size="0"/>
  76. <Column size="30"/>
  77. <Column size="0"/>
  78. <Column size="18"/>
  79. <Column size="230"/>
  80. <Column size="56"/>
  81. <Column size="42"/>
  82. <Column size="22"/>
  83. <Column size="42"/>
  84. <Column size="22"/>
  85. <Column size="54"/>
  86. <Column size="51"/>
  87. <Column size="60"/>
  88. <Column size="30"/>
  89. <Column size="0"/>
  90. <Column size="0"/>
  91. <Column size="0"/>
  92. <Column size="35"/>
  93. <Column size="24"/>
  94. <Column size="23"/>
  95. <Column size="26"/>
  96. <Column size="30"/>
  97. <Column size="80"/>
  98. <Column size="80"/>
  99. <Column size="60"/>
  100. <Column size="60"/>
  101. <Column size="120"/>
  102. <Column size="120"/>
  103. <Column size="120"/>
  104. <Column size="0"/>
  105. <Column size="20"/>
  106. <Column size="70"/>
  107. <Column size="70"/>
  108. <Column size="70"/>
  109. <Column size="70"/>
  110. <Column size="70"/>
  111. <Column size="70"/>
  112. <Column size="70"/>
  113. <Column size="70"/>
  114. <Column size="70"/>
  115. <Column size="70"/>
  116. <Column size="70"/>
  117. <Column size="30"/>
  118. <Column size="0"/>
  119. <Column size="30"/>
  120. <Column size="0"/>
  121. <Column size="20"/>
  122. <Column size="20"/>
  123. <Column size="70"/>
  124. <Column size="0"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. <Column size="0"/>
  128. <Column size="0"/>
  129. <Column size="0"/>
  130. <Column size="0"/>
  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. <Column size="0"/>
  140. <Column size="0"/>
  141. <Column size="0"/>
  142. <Column size="0"/>
  143. <Column size="0"/>
  144. <Column size="0"/>
  145. <Column size="0"/>
  146. <Column size="0"/>
  147. <Column size="0"/>
  148. <Column size="0"/>
  149. <Column size="0"/>
  150. <Column size="0"/>
  151. <Column size="0"/>
  152. <Column size="0"/>
  153. <Column size="0"/>
  154. <Column size="0"/>
  155. <Column size="0"/>
  156. <Column size="0"/>
  157. <Column size="0"/>
  158. <Column size="0"/>
  159. <Column size="0"/>
  160. <Column size="0"/>
  161. <Column size="0"/>
  162. <Column size="0"/>
  163. <Column size="0"/>
  164. <Column size="0"/>
  165. <Column size="0"/>
  166. <Column size="0"/>
  167. <Column size="0"/>
  168. <Column size="0"/>
  169. <Column size="0"/>
  170. <Column size="0"/>
  171. <Column size="0"/>
  172. <Column size="0"/>
  173. <Column size="0"/>
  174. <Column size="0"/>
  175. <Column size="0"/>
  176. <Column size="0"/>
  177. <Column size="0"/>
  178. <Column size="0"/>
  179. <Column size="0"/>
  180. <Column size="0"/>
  181. <Column size="0"/>
  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. <Column size="0"/>
  194. <Column size="0"/>
  195. <Column size="0"/>
  196. <Column size="0"/>
  197. <Column size="0"/>
  198. <Column size="0"/>
  199. <Column size="0"/>
  200. <Column size="0"/>
  201. <Column size="0"/>
  202. <Column size="0"/>
  203. <Column size="0"/>
  204. </Columns>
  205. <Rows>
  206. <Row size="34" band="head"/>
  207. <Row size="20"/>
  208. <Row size="24" band="summ"/>
  209. </Rows>
  210. <Band id="head">
  211. <Cell text="선별"/>
  212. <Cell col="1"/>
  213. <Cell col="2" text="X"/>
  214. <Cell col="3" displaytype="checkbox" edittype="checkbox"/>
  215. <Cell col="4" text="G"/>
  216. <Cell col="5" text="그룹코드"/>
  217. <Cell col="6" text="행위&#10;재료"/>
  218. <Cell col="7" text="수가코드"/>
  219. <Cell col="8" text="EDI코드"/>
  220. <Cell col="9" text="산정&#10;분류"/>
  221. <Cell col="10" text="산정&#10;코드"/>
  222. <Cell col="11" text="@"/>
  223. <Cell col="12" text="예&#10;외"/>
  224. <Cell col="13" text="한글명"/>
  225. <Cell col="14" text="단가"/>
  226. <Cell col="15" text="1회량"/>
  227. <Cell col="16" text="횟&#10;수"/>
  228. <Cell col="17" text="1일량&#10;(일투)"/>
  229. <Cell col="18" text="일&#10;수"/>
  230. <Cell col="19" text="용법/검체"/>
  231. <Cell col="20" text="금액"/>
  232. <Cell col="21" text="확인&#10;코드"/>
  233. <Cell col="22" text="줄&#10;메모"/>
  234. <Cell col="23" text="JX999제외 &#10;줄메모"/>
  235. <Cell col="24" text="선&#10;택"/>
  236. <Cell col="25" text="치식EDI"/>
  237. <Cell col="26" text="치식"/>
  238. <Cell col="27" text="급&#10;비"/>
  239. <Cell col="28" text="시&#10;행"/>
  240. <Cell col="29" text="요&#10;율"/>
  241. <Cell col="30" text="산정&#10;의미"/>
  242. <Cell col="31" text="상한가"/>
  243. <Cell col="32" text="약제&#10;상한차액"/>
  244. <Cell col="33" text="처방과"/>
  245. <Cell col="34" text="처방의"/>
  246. <Cell col="35" text="처방일시"/>
  247. <Cell col="36" text="시행일시"/>
  248. <Cell col="37" text="예약일시"/>
  249. <Cell col="38" text="선택의"/>
  250. <Cell col="39" text="수&#10;납"/>
  251. <Cell col="40" text="병원가산&#10;단가"/>
  252. <Cell col="41" text="가산단가"/>
  253. <Cell col="42" text="급여총액"/>
  254. <Cell col="43" text="본인&#10;부담금"/>
  255. <Cell col="44" text="청구액"/>
  256. <Cell col="45" text="선택단가"/>
  257. <Cell col="46" text="병원가산&#10;SUM"/>
  258. <Cell col="47" text="가산&#10;SUM"/>
  259. <Cell col="48" text="선택진료&#10;SUM"/>
  260. <Cell col="49" text="진료비&#10;총액"/>
  261. <Cell col="50" text="본인부담&#10;총액"/>
  262. <Cell col="51" text="CP"/>
  263. <Cell col="52" text="처방명"/>
  264. <Cell col="53" text="코드&#10;구분"/>
  265. <Cell col="54" text="처방번호"/>
  266. <Cell col="55" text="항"/>
  267. <Cell col="56" text="목"/>
  268. <Cell col="57" text="의사&#13;&#10;면허번호"/>
  269. <Cell col="58" text="orddd"/>
  270. <Cell col="59" text="estmcdnm"/>
  271. <Cell col="60" text="pid"/>
  272. <Cell col="61" text="cretno"/>
  273. <Cell col="62" text="calcseqno"/>
  274. <Cell col="63" text="calcscorseqno"/>
  275. <Cell col="64" text="calcstat"/>
  276. <Cell col="65" text="clamtrgtstat"/>
  277. <Cell col="66" text="acptseqno"/>
  278. <Cell col="67" text="mskind"/>
  279. <Cell col="68" text="ordtype"/>
  280. <Cell col="69" text="grupcalcscorcls"/>
  281. <Cell col="70" text="snglcalcscorcls"/>
  282. <Cell col="71" text="grupearncls"/>
  283. <Cell col="72" text="snglearncls"/>
  284. <Cell col="73" text="ordqty"/>
  285. <Cell col="74" text="ordtims"/>
  286. <Cell col="75" text="orddays"/>
  287. <Cell col="76" text="prcppayflag"/>
  288. <Cell col="77" text="calcscorpayflag"/>
  289. <Cell col="78" text="freeflag"/>
  290. <Cell col="79" text="opflag"/>
  291. <Cell col="80" text="ansttm"/>
  292. <Cell col="81" text="pntunitcost"/>
  293. <Cell col="82" text="calcscorpnt"/>
  294. <Cell col="83" text="estmpnt"/>
  295. <Cell col="84" text="estmamt"/>
  296. <Cell col="85" text="hospaddamt"/>
  297. <Cell col="86" text="specamt"/>
  298. <Cell col="87" text="payamt"/>
  299. <Cell col="88" text="allownbamt"/>
  300. <Cell col="89" text="nopyamt"/>
  301. <Cell col="90" text="payinsubamt"/>
  302. <Cell col="91" text="payownbamt"/>
  303. <Cell col="92" text="paydiscamt"/>
  304. <Cell col="93" text="nopydiscamt"/>
  305. <Cell col="94" text="specdiscamt"/>
  306. <Cell col="95" text="hosoutdrugno"/>
  307. <Cell col="96" text="execdeptcd"/>
  308. <Cell col="97" text="execdd"/>
  309. <Cell col="98" text="exectm"/>
  310. <Cell col="99" text="execrid"/>
  311. <Cell col="100" text="pamexecdd"/>
  312. <Cell col="101" text="earnenddd"/>
  313. <Cell col="102" text="actcnclresn"/>
  314. <Cell col="103" text="clamspclcd"/>
  315. <Cell col="104" text="clamkey"/>
  316. <Cell col="105" text="clamcretdd"/>
  317. <Cell col="106" text="clamcretyn"/>
  318. <Cell col="107" text="readdrid"/>
  319. <Cell col="108" text="clincstdyno"/>
  320. <Cell col="109" text="exitprvntdrugyn"/>
  321. <Cell col="110" text="exitprvntdrugamt"/>
  322. <Cell col="111" text="trustaddrate"/>
  323. <Cell col="112" text="bothaddyn"/>
  324. <Cell col="113" text="prcpdd"/>
  325. <Cell col="114" text="prcphistno"/>
  326. <Cell col="115" text="execprcpseqno"/>
  327. <Cell col="116" text="prnprcpflag"/>
  328. <Cell col="117" text="portprcpflag"/>
  329. <Cell col="118" text="anamneflag"/>
  330. <Cell col="119" text="judgflag"/>
  331. <Cell col="120" text="cvrtinprcpdeptcd"/>
  332. <Cell col="121" text="cvrtinprcpdrid"/>
  333. <Cell col="122" text="rcptdd"/>
  334. <Cell col="123" text="rcptno"/>
  335. <Cell col="124" text="rcptseqno"/>
  336. <Cell col="125" text="rcptexecdd"/>
  337. <Cell col="126" text="rcpttm"/>
  338. <Cell col="127" text="probordyn"/>
  339. <Cell col="128" text="nopyinsubamt"/>
  340. <Cell col="129" text="nopyownbamt"/>
  341. <Cell col="130" text="allowninsubamt"/>
  342. <Cell col="131" text="allownownbamt"/>
  343. <Cell col="132" text="specinsubamt"/>
  344. <Cell col="133" text="specownbamt"/>
  345. <Cell col="134" text="judgendflag"/>
  346. <Cell col="135" text="drugmthdspccd"/>
  347. <Cell col="136"/>
  348. </Band>
  349. <Band id="body">
  350. <Cell text="bind:spcljudgyn"/>
  351. <Cell col="1" text="currow" expr="currow+1"/>
  352. <Cell col="2" style="align:center middle;" text="bind:rowstat"/>
  353. <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:chk" treestartlevel="1" treelevel="bind:hidden"/>
  354. <Cell col="4" style="align:center middle;" text="bind:grupflag"/>
  355. <Cell col="5" style="align:left middle;" text="bind:grupcalcscorcd"/>
  356. <Cell col="6" displaytype="combo" edittype="combo" style="align:left middle;" class="cell_nopadding" text="bind:matractflag" combodataset="ds_cmb_matractflag" combocodecol="cd" combodatacol="nm"/>
  357. <Cell col="7" style="align:left middle;" text="bind:snglcalcscorcd"/>
  358. <Cell col="8" style="align:left middle;background:EXPR(utlf_isNull(lnunitspclspecyn) == false ? '#ffff00' : '#ffffff');background2:EXPR(utlf_isNull(lnunitspclspecyn) == false ? '#ffff00' : '#ffffff');" text="bind:basecd"/>
  359. <Cell col="9" style="align:center middle;" text="bind:estmcls"/>
  360. <Cell col="10" style="align:center middle;background:EXPR((estmmeancd=='1' || estmmeancd=='5') ? '#ffff00' : '#ffffff');background2:EXPR((estmmeancd=='1' || estmmeancd=='5') ? '#ffff00' : '#ffffff');" text="bind:estmcd"/>
  361. <Cell col="11" style="align:center middle;" text="bind:pay100"/>
  362. <Cell col="12" style="align:center middle;" text="bind:hosoutexptresncd"/>
  363. <Cell col="13" style="align:left middle;background:EXPR((limtordyn == 'Y') ? '#ff99cc' : '#ffffff');background2:EXPR((limtordyn == 'Y') ? '#ff99cc' : '#ffffff');color:EXPR((hidden == '1' &amp;&amp; grupflag== 'G') ? '#ff3300' : '#444444ff');color2:EXPR((hidden == '1' &amp;&amp; grupflag == 'G') ? '#ff3300' : '#444444ff');" text="bind:hngnm"/>
  364. <Cell col="14" displaytype="normal" style="align:right middle;" text="bind:appunitcost" mask="#,##0"/>
  365. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:calcqty"/>
  366. <Cell col="16" displaytype="number" style="align:right middle;" text="bind:calctims"/>
  367. <Cell col="17" displaytype="number" style="align:right middle;" text="bind:daydrugqty"/>
  368. <Cell col="18" displaytype="number" style="align:right middle;" text="bind:calcdays"/>
  369. <Cell col="19" text="bind:spccd"/>
  370. <Cell col="20" displaytype="normal" style="align:right middle;" text="bind:calcamt" mask="#,##0"/>
  371. <Cell col="21" displaytype="text" edittype="text" style="align:left middle;" class="cell_nopadding" text="bind:cnfmcd" expandshow="show" expandsize="18"/>
  372. <Cell col="22" style="align:center middle;" text="bind:jx999lnunitspclspecyn"/>
  373. <Cell col="23" text="bind:lnunitspclspecyn"/>
  374. <Cell col="24" style="align:center middle;" text="bind:specordyn"/>
  375. <Cell col="25" style="align:center middle;" text="bind:tootfact"/>
  376. <Cell col="26" style="align:center middle;" text="bind:tootfact1"/>
  377. <Cell col="27" displaytype="combo" edittype="combo" style="align:center middle;background:EXPR((calcpayflag == &quot;1&quot;) ? &quot;#00ff00&quot; : (calcpayflag == &quot;2&quot;) ? &quot;#ff00ff&quot; : &quot;#ffffff&quot;);background2:EXPR((calcpayflag == &quot;1&quot;) ? &quot;#00ff00&quot; : (calcpayflag == &quot;2&quot;) ? &quot;#ff00ff&quot; : &quot;#ffffff&quot;);" class="cell_nopadding" text="bind:calcpayflag" combodataset="ds_init_calcpayflag" combocodecol="cd" combodatacol="nm"/>
  378. <Cell col="28" style="align:center middle;background:EXPR(execprcpstatcd=='N' ? '#ff0000' : '#ffffff');background2:EXPR(execprcpstatcd=='N' ? '#ff0000' : '#ffffff');" text="bind:execprcpstatcd"/>
  379. <Cell col="29" style="align:center middle;" text="bind:payownbrate"/>
  380. <Cell col="30" style="align:center middle;" text="bind:estmmeancd" tooltiptext="expr:&quot;[산정의미코드: &quot; + estmmncd + &quot;] &quot; + estmcdnm"/>
  381. <Cell col="31" displaytype="normal" style="align:right middle;" text="bind:druglimitamt" mask="#,##0"/>
  382. <Cell col="32" displaytype="normal" style="align:right middle;" text="bind:limitdiffamt" mask="#,##0"/>
  383. <Cell col="33" style="align:center middle;" text="bind:orddeptcd"/>
  384. <Cell col="34" displaytype="normal" edittype="none" style="align:center middle;" text="bind:orddrnm" combodataset="ds_init_orddridlist" combocodecol="cd" combodatacol="nm"/>
  385. <Cell col="35" displaytype="normal" style="align:center middle;" text="bind:rgstts" mask="@@@@-@@-@@ @@:@@:@@" calendardisplaynulltype="none"/>
  386. <Cell col="36" displaytype="normal" style="align:center middle;" text="bind:exects" mask="@@@@-@@-@@ @@:@@:@@" calendardisplaynulltype="none"/>
  387. <Cell col="37" displaytype="normal" style="align:center middle;" text="bind:rsrvtm" mask="@@@@-@@-@@ @@:@@:@@" calendardisplaynulltype="none"/>
  388. <Cell col="38" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:specdrid"/>
  389. <Cell col="39" style="align:center middle;" text="bind:rcptyn"/>
  390. <Cell col="40" displaytype="normal" style="align:right middle;" text="bind:edihospaddamt" mask="#,##0"/>
  391. <Cell col="41" displaytype="normal" style="align:right middle;" text="bind:ediaddamt" mask="#,##0"/>
  392. <Cell col="42" displaytype="normal" style="align:right middle;" text="bind:paytotamt" mask="#,##0"/>
  393. <Cell col="43" displaytype="normal" style="align:right middle;" text="bind:ownbamt" mask="#,##0"/>
  394. <Cell col="44" displaytype="normal" style="align:right middle;" text="bind:clamamt" mask="#,##0"/>
  395. <Cell col="45" displaytype="normal" style="align:right middle;" text="bind:choiordamt" mask="#,##0"/>
  396. <Cell col="46" displaytype="normal" style="align:right middle;" text="bind:edihospaddtotamt" mask="#,##0"/>
  397. <Cell col="47" displaytype="normal" style="align:right middle;" text="bind:ediaddtotamt" mask="#,##0"/>
  398. <Cell col="48" displaytype="normal" style="align:right middle;" text="bind:choiordtotamt" expr="expr:grupflag.toString() == 'G' ? '0' : choiordtotamt" mask="#,##0"/>
  399. <Cell col="49" displaytype="normal" style="align:right middle;" text="bind:totordamt" mask="#,##0"/>
  400. <Cell col="50" displaytype="normal" style="align:right middle;" text="bind:ownbtotamt" mask="#,##0"/>
  401. <Cell col="51" style="align:center middle;" text="bind:cpflag"/>
  402. <Cell col="52" style="align:left middle;" text="bind:ordnm"/>
  403. <Cell col="53" style="align:center middle;" text="bind:edicdflag"/>
  404. <Cell col="54" style="align:center middle;" text="bind:prcpno"/>
  405. <Cell col="55" style="align:center middle;" text="bind:ediitem1"/>
  406. <Cell col="56" style="align:center middle;" text="bind:ediitem2"/>
  407. <Cell col="57" style="align:center middle;" text="bind:licnsno"/>
  408. <Cell col="58" text="bind:orddd"/>
  409. <Cell col="59" text="bind:estmcdnm"/>
  410. <Cell col="60" text="bind:pid"/>
  411. <Cell col="61" text="bind:cretno"/>
  412. <Cell col="62" text="bind:calcseqno"/>
  413. <Cell col="63" text="bind:calcscorseqno"/>
  414. <Cell col="64" text="bind:calcstat"/>
  415. <Cell col="65" text="bind:clamtrgtstat"/>
  416. <Cell col="66" text="bind:acptseqno"/>
  417. <Cell col="67" text="bind:mskind"/>
  418. <Cell col="68" text="bind:ordtype"/>
  419. <Cell col="69" text="bind:grupcalcscorcls"/>
  420. <Cell col="70" text="bind:snglcalcscorcls"/>
  421. <Cell col="71" text="bind:grupearncls"/>
  422. <Cell col="72" text="bind:snglearncls"/>
  423. <Cell col="73" text="bind:ordqty"/>
  424. <Cell col="74" text="bind:ordtims"/>
  425. <Cell col="75" text="bind:orddays"/>
  426. <Cell col="76" text="bind:prcppayflag"/>
  427. <Cell col="77" text="bind:calcscorpayflag"/>
  428. <Cell col="78" text="bind:freeflag"/>
  429. <Cell col="79" text="bind:opflag"/>
  430. <Cell col="80" text="bind:ansttm"/>
  431. <Cell col="81" text="bind:pntunitcost"/>
  432. <Cell col="82" text="bind:calcscorpnt"/>
  433. <Cell col="83" text="bind:estmpnt"/>
  434. <Cell col="84" text="bind:estmamt"/>
  435. <Cell col="85" text="bind:hospaddamt"/>
  436. <Cell col="86" text="bind:specamt"/>
  437. <Cell col="87" text="bind:payamt"/>
  438. <Cell col="88" text="bind:allownbamt"/>
  439. <Cell col="89" text="bind:nopyamt"/>
  440. <Cell col="90" text="bind:payinsubamt"/>
  441. <Cell col="91" text="bind:payownbamt"/>
  442. <Cell col="92" text="bind:paydiscamt"/>
  443. <Cell col="93" text="bind:nopydiscamt"/>
  444. <Cell col="94" text="bind:specdiscamt"/>
  445. <Cell col="95" text="bind:hosoutdrugno"/>
  446. <Cell col="96" text="bind:execdeptcd"/>
  447. <Cell col="97" text="bind:execdd"/>
  448. <Cell col="98" text="bind:exectm"/>
  449. <Cell col="99" text="bind:execrid"/>
  450. <Cell col="100" text="bind:pamexecdd"/>
  451. <Cell col="101" text="bind:earnenddd"/>
  452. <Cell col="102" text="bind:actcnclresn"/>
  453. <Cell col="103" text="bind:clamspclcd"/>
  454. <Cell col="104" text="bind:clamkey"/>
  455. <Cell col="105" text="bind:clamcretdd"/>
  456. <Cell col="106" text="bind:clamcretyn"/>
  457. <Cell col="107" text="bind:readdrid"/>
  458. <Cell col="108" text="bind:clincstdyno"/>
  459. <Cell col="109" text="bind:exitprvntdrugyn"/>
  460. <Cell col="110" text="bind:exitprvntdrugamt"/>
  461. <Cell col="111" text="bind:trustaddrate"/>
  462. <Cell col="112" text="bind:bothaddyn"/>
  463. <Cell col="113" text="bind:prcpdd"/>
  464. <Cell col="114" text="bind:prcphistno"/>
  465. <Cell col="115" text="bind:execprcpseqno"/>
  466. <Cell col="116" text="bind:prnprcpflag"/>
  467. <Cell col="117" text="bind:portprcpflag"/>
  468. <Cell col="118" text="bind:anamneflag"/>
  469. <Cell col="119" text="bind:judgflag"/>
  470. <Cell col="120" text="bind:cvrtinprcpdeptcd"/>
  471. <Cell col="121" text="bind:cvrtinprcpdrid"/>
  472. <Cell col="122" text="bind:rcptdd"/>
  473. <Cell col="123" text="bind:rcptno"/>
  474. <Cell col="124" text="bind:rcptseqno"/>
  475. <Cell col="125" text="bind:rcptexecdd"/>
  476. <Cell col="126" text="bind:rcpttm"/>
  477. <Cell col="127" text="bind:probordyn"/>
  478. <Cell col="128" text="bind:nopyinsubamt"/>
  479. <Cell col="129" text="bind:nopyownbamt"/>
  480. <Cell col="130" text="bind:allowninsubamt"/>
  481. <Cell col="131" text="bind:allownownbamt"/>
  482. <Cell col="132" text="bind:specinsubamt"/>
  483. <Cell col="133" text="bind:specownbamt"/>
  484. <Cell col="134" text="bind:judgendflag"/>
  485. <Cell col="135" text="bind:drugmthdspccd"/>
  486. <Cell col="136" text="bind:limtordyn"/>
  487. <Cell col="137"/>
  488. <Cell col="138"/>
  489. <Cell col="139"/>
  490. <Cell col="140"/>
  491. <Cell col="141"/>
  492. <Cell col="142"/>
  493. <Cell col="143"/>
  494. <Cell col="144"/>
  495. <Cell col="145"/>
  496. <Cell col="146"/>
  497. </Band>
  498. <Band id="summary">
  499. <Cell/>
  500. <Cell col="1"/>
  501. <Cell col="2"/>
  502. <Cell col="3"/>
  503. <Cell col="4"/>
  504. <Cell col="5"/>
  505. <Cell col="6"/>
  506. <Cell col="7"/>
  507. <Cell col="8"/>
  508. <Cell col="9"/>
  509. <Cell col="10"/>
  510. <Cell col="11"/>
  511. <Cell col="12"/>
  512. <Cell col="13"/>
  513. <Cell col="14" displaytype="number" expr="expr:ds_grd_clodhist.getSum('appunitcost')"/>
  514. <Cell col="15"/>
  515. <Cell col="16"/>
  516. <Cell col="17"/>
  517. <Cell col="18"/>
  518. <Cell col="19"/>
  519. <Cell col="20" displaytype="number" expr="expr:ds_grd_clodhist.getSum('calcamt')"/>
  520. <Cell col="21"/>
  521. <Cell col="22"/>
  522. <Cell col="23"/>
  523. <Cell col="24"/>
  524. <Cell col="25"/>
  525. <Cell col="26"/>
  526. <Cell col="27"/>
  527. <Cell col="28"/>
  528. <Cell col="29"/>
  529. <Cell col="30"/>
  530. <Cell col="31"/>
  531. <Cell col="32"/>
  532. <Cell col="33"/>
  533. <Cell col="34"/>
  534. <Cell col="35"/>
  535. <Cell col="36"/>
  536. <Cell col="37"/>
  537. <Cell col="38"/>
  538. <Cell col="39"/>
  539. <Cell col="40" displaytype="number" expr="expr:ds_grd_clodhist.getSum('edihospaddamt')"/>
  540. <Cell col="41" displaytype="number" expr="expr:ds_grd_clodhist.getSum('ediaddamt')"/>
  541. <Cell col="42" displaytype="number" expr="expr:ds_grd_clodhist.getSum('paytotamt')"/>
  542. <Cell col="43" displaytype="number" expr="expr:ds_grd_clodhist.getSum('ownbamt')"/>
  543. <Cell col="44" displaytype="number" expr="expr:ds_grd_clodhist.getSum('clamamt')"/>
  544. <Cell col="45" displaytype="number" expr="expr:ds_grd_clodhist.getSum('choiordamt')"/>
  545. <Cell col="46" displaytype="number" expr="expr:ds_grd_clodhist.getSum('edihospaddtotamt')"/>
  546. <Cell col="47" displaytype="number" expr="expr:ds_grd_clodhist.getSum('ediaddtotamt')"/>
  547. <Cell col="48" displaytype="number" expr="expr:ds_grd_clodhist.getSum('choiordtotamt')"/>
  548. <Cell col="49" displaytype="number" expr="expr:ds_grd_clodhist.getSum('totordamt')"/>
  549. <Cell col="50" displaytype="number" expr="expr:ds_grd_clodhist.getSum('ownbtotamt')"/>
  550. <Cell col="51"/>
  551. <Cell col="52"/>
  552. <Cell col="53"/>
  553. <Cell col="54"/>
  554. <Cell col="55"/>
  555. <Cell col="56"/>
  556. <Cell col="57"/>
  557. <Cell col="58"/>
  558. <Cell col="59"/>
  559. <Cell col="60"/>
  560. <Cell col="61"/>
  561. <Cell col="62"/>
  562. <Cell col="63"/>
  563. <Cell col="64"/>
  564. <Cell col="65"/>
  565. <Cell col="66"/>
  566. <Cell col="67"/>
  567. <Cell col="68"/>
  568. <Cell col="69"/>
  569. <Cell col="70"/>
  570. <Cell col="71"/>
  571. <Cell col="72"/>
  572. <Cell col="73"/>
  573. <Cell col="74"/>
  574. <Cell col="75"/>
  575. <Cell col="76"/>
  576. <Cell col="77"/>
  577. <Cell col="78"/>
  578. <Cell col="79"/>
  579. <Cell col="80"/>
  580. <Cell col="81"/>
  581. <Cell col="82"/>
  582. <Cell col="83"/>
  583. <Cell col="84"/>
  584. <Cell col="85"/>
  585. <Cell col="86"/>
  586. <Cell col="87"/>
  587. <Cell col="88"/>
  588. <Cell col="89"/>
  589. <Cell col="90"/>
  590. <Cell col="91"/>
  591. <Cell col="92"/>
  592. <Cell col="93"/>
  593. <Cell col="94"/>
  594. <Cell col="95"/>
  595. <Cell col="96"/>
  596. <Cell col="97"/>
  597. <Cell col="98"/>
  598. <Cell col="99"/>
  599. <Cell col="100"/>
  600. <Cell col="101"/>
  601. <Cell col="102"/>
  602. <Cell col="103"/>
  603. <Cell col="104"/>
  604. <Cell col="105"/>
  605. <Cell col="106"/>
  606. <Cell col="107"/>
  607. <Cell col="108"/>
  608. <Cell col="109"/>
  609. <Cell col="110"/>
  610. <Cell col="111"/>
  611. <Cell col="112"/>
  612. <Cell col="113"/>
  613. <Cell col="114"/>
  614. <Cell col="115"/>
  615. <Cell col="116"/>
  616. <Cell col="117"/>
  617. <Cell col="118"/>
  618. <Cell col="119"/>
  619. <Cell col="120"/>
  620. <Cell col="121"/>
  621. <Cell col="122"/>
  622. <Cell col="123"/>
  623. <Cell col="124"/>
  624. <Cell col="125"/>
  625. <Cell col="126"/>
  626. <Cell col="127"/>
  627. <Cell col="128"/>
  628. <Cell col="129"/>
  629. <Cell col="130"/>
  630. <Cell col="131"/>
  631. <Cell col="132"/>
  632. <Cell col="133"/>
  633. <Cell col="134"/>
  634. <Cell col="135"/>
  635. <Cell col="136"/>
  636. <Cell col="137"/>
  637. </Band>
  638. </Format>
  639. <Format id="format_copy"/>
  640. </Formats>
  641. </Grid>
  642. </Layout>
  643. </Layouts>
  644. </Div>
  645. <Button position="absolute 1083 610 1139 632" id="btn_cancel" class="btn3" text="확인" anchor="right bottom" onclick="btn_cancel_onclick"/>
  646. <Static id="cap_title" text="타병원처방조회" class="tit_1" position="absolute 1 0 209 23"/>
  647. <Button id="btn_cancel00" taborder="1" text="닫기" class="btn2" position="absolute 1140 610 1186 632" anchor="right bottom" onclick="btn_cancel00_onclick"/>
  648. </Layout>
  649. </Layouts>
  650. <Objects>
  651. <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  652. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  653. <ColumnInfo>
  654. <Column id="instcd" type="STRING" size="256"/>
  655. <Column id="clamym" type="STRING" size="256"/>
  656. <Column id="pid" type="STRING" size="256"/>
  657. <Column id="clamdg" type="STRING" size="256"/>
  658. <Column id="pidsn" type="STRING" size="256"/>
  659. <Column id="orddeptcd" type="STRING" size="256"/>
  660. <Column id="orddrid" type="STRING" size="256"/>
  661. <Column id="fromdd" type="STRING" size="256"/>
  662. <Column id="todd" type="STRING" size="256"/>
  663. <Column id="dutplceinstcd" type="STRING" size="256"/>
  664. <Column id="patnm" type="STRING" size="256"/>
  665. <Column id="hospnm" type="STRING" size="256"/>
  666. </ColumnInfo>
  667. <Rows>
  668. <Row>
  669. <Col id="instcd">031</Col>
  670. </Row>
  671. </Rows>
  672. </Dataset>
  673. <Dataset id="ds_grd_clodhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  674. <ColumnInfo>
  675. <Column id="pid" type="STRING" size="255"/>
  676. <Column id="orddd" type="STRING" size="255"/>
  677. <Column id="cretno" type="BIGDECIMAL" size="255"/>
  678. <Column id="calcseqno" type="BIGDECIMAL" size="255"/>
  679. <Column id="calcscorseqno" type="BIGDECIMAL" size="255"/>
  680. <Column id="instcd" type="STRING" size="255"/>
  681. <Column id="calcstat" type="STRING" size="255"/>
  682. <Column id="clamtrgtstat" type="STRING" size="255"/>
  683. <Column id="acptseqno" type="BIGDECIMAL" size="255"/>
  684. <Column id="orddeptcd" type="STRING" size="255"/>
  685. <Column id="orddrid" type="STRING" size="255"/>
  686. <Column id="mskind" type="STRING" size="255"/>
  687. <Column id="ordtype" type="STRING" size="255"/>
  688. <Column id="grupflag" type="STRING" size="255"/>
  689. <Column id="grupcalcscorcd" type="STRING" size="255"/>
  690. <Column id="snglcalcscorcd" type="STRING" size="255"/>
  691. <Column id="grupcalcscorcls" type="STRING" size="255"/>
  692. <Column id="snglcalcscorcls" type="STRING" size="255"/>
  693. <Column id="sort1" type="STRING" size="255"/>
  694. <Column id="grupseqno" type="BIGDECIMAL" size="255"/>
  695. <Column id="grupearncls" type="STRING" size="255"/>
  696. <Column id="snglearncls" type="STRING" size="255"/>
  697. <Column id="ordqty" type="BIGDECIMAL" size="255"/>
  698. <Column id="ordtims" type="BIGDECIMAL" size="255"/>
  699. <Column id="orddays" type="BIGDECIMAL" size="255"/>
  700. <Column id="calcqty" type="BIGDECIMAL" size="255"/>
  701. <Column id="calctims" type="BIGDECIMAL" size="255"/>
  702. <Column id="daydrugqty" type="BIGDECIMAL" size="255"/>
  703. <Column id="calcdays" type="BIGDECIMAL" size="255"/>
  704. <Column id="matractflag" type="STRING" size="255"/>
  705. <Column id="calcpayflag" type="STRING" size="255"/>
  706. <Column id="prcppayflag" type="STRING" size="255"/>
  707. <Column id="calcscorpayflag" type="STRING" size="255"/>
  708. <Column id="freeflag" type="STRING" size="255"/>
  709. <Column id="opflag" type="STRING" size="255"/>
  710. <Column id="ansttm" type="STRING" size="255"/>
  711. <Column id="spccd" type="STRING" size="255"/>
  712. <Column id="pntunitcost" type="BIGDECIMAL" size="255"/>
  713. <Column id="calcscorpnt" type="BIGDECIMAL" size="255"/>
  714. <Column id="estmpnt" type="BIGDECIMAL" size="255"/>
  715. <Column id="appunitcost" type="BIGDECIMAL" size="255"/>
  716. <Column id="estmamt" type="BIGDECIMAL" size="255"/>
  717. <Column id="calcamt" type="BIGDECIMAL" size="255"/>
  718. <Column id="hospaddamt" type="BIGDECIMAL" size="255"/>
  719. <Column id="specamt" type="BIGDECIMAL" size="255"/>
  720. <Column id="payamt" type="BIGDECIMAL" size="255"/>
  721. <Column id="allownbamt" type="BIGDECIMAL" size="255"/>
  722. <Column id="nopyamt" type="BIGDECIMAL" size="255"/>
  723. <Column id="payownbrate" type="BIGDECIMAL" size="255"/>
  724. <Column id="payinsubamt" type="BIGDECIMAL" size="255"/>
  725. <Column id="payownbamt" type="BIGDECIMAL" size="255"/>
  726. <Column id="paydiscamt" type="BIGDECIMAL" size="255"/>
  727. <Column id="nopydiscamt" type="BIGDECIMAL" size="255"/>
  728. <Column id="specdiscamt" type="BIGDECIMAL" size="255"/>
  729. <Column id="hosoutexptresncd" type="STRING" size="255"/>
  730. <Column id="hosoutdrugno" type="BIGDECIMAL" size="255"/>
  731. <Column id="specordyn" type="STRING" size="255"/>
  732. <Column id="execdeptcd" type="STRING" size="255"/>
  733. <Column id="execdd" type="STRING" size="255"/>
  734. <Column id="exectm" type="STRING" size="255"/>
  735. <Column id="exects" type="STRING" size="255"/>
  736. <Column id="rsrvtm" type="STRING" size="255"/>
  737. <Column id="rgstts" type="STRING" size="255"/>
  738. <Column id="execrid" type="STRING" size="255"/>
  739. <Column id="pamexecdd" type="STRING" size="255"/>
  740. <Column id="earnenddd" type="STRING" size="255"/>
  741. <Column id="actcnclresn" type="STRING" size="255"/>
  742. <Column id="clamspclcd" type="STRING" size="255"/>
  743. <Column id="clamkey" type="STRING" size="255"/>
  744. <Column id="clamcretdd" type="STRING" size="255"/>
  745. <Column id="clamcretyn" type="STRING" size="255"/>
  746. <Column id="estmcls" type="STRING" size="255"/>
  747. <Column id="estmmeancd" type="STRING" size="255"/>
  748. <Column id="estmcd" type="STRING" size="255"/>
  749. <Column id="readdrid" type="STRING" size="255"/>
  750. <Column id="clincstdyno" type="STRING" size="255"/>
  751. <Column id="exitprvntdrugyn" type="STRING" size="255"/>
  752. <Column id="exitprvntdrugamt" type="BIGDECIMAL" size="255"/>
  753. <Column id="trustaddrate" type="BIGDECIMAL" size="255"/>
  754. <Column id="bothaddyn" type="STRING" size="255"/>
  755. <Column id="prcpdd" type="STRING" size="255"/>
  756. <Column id="prcpno" type="BIGDECIMAL" size="255"/>
  757. <Column id="prcphistno" type="BIGDECIMAL" size="255"/>
  758. <Column id="execprcpseqno" type="BIGDECIMAL" size="255"/>
  759. <Column id="cnfmcd" type="STRING" size="255"/>
  760. <Column id="cpflag" type="STRING" size="255"/>
  761. <Column id="prnprcpflag" type="STRING" size="255"/>
  762. <Column id="portprcpflag" type="STRING" size="255"/>
  763. <Column id="anamneflag" type="STRING" size="255"/>
  764. <Column id="spcljudgyn" type="STRING" size="255"/>
  765. <Column id="judgflag" type="STRING" size="255"/>
  766. <Column id="cvrtinprcpdeptcd" type="STRING" size="255"/>
  767. <Column id="cvrtinprcpdrid" type="STRING" size="255"/>
  768. <Column id="rcptdd" type="STRING" size="255"/>
  769. <Column id="rcptno" type="BIGDECIMAL" size="255"/>
  770. <Column id="rcptseqno" type="BIGDECIMAL" size="255"/>
  771. <Column id="rcptexecdd" type="STRING" size="255"/>
  772. <Column id="rcpttm" type="STRING" size="255"/>
  773. <Column id="judgadjtresncd" type="STRING" size="255"/>
  774. <Column id="probordyn" type="STRING" size="255"/>
  775. <Column id="nopyinsubamt" type="BIGDECIMAL" size="255"/>
  776. <Column id="nopyownbamt" type="BIGDECIMAL" size="255"/>
  777. <Column id="allowninsubamt" type="BIGDECIMAL" size="255"/>
  778. <Column id="allownownbamt" type="BIGDECIMAL" size="255"/>
  779. <Column id="specinsubamt" type="BIGDECIMAL" size="255"/>
  780. <Column id="specownbamt" type="BIGDECIMAL" size="255"/>
  781. <Column id="judgendflag" type="STRING" size="255"/>
  782. <Column id="tootfact" type="STRING" size="255"/>
  783. <Column id="drugmthdspccd" type="STRING" size="255"/>
  784. <Column id="rowstat" type="STRING" size="255"/>
  785. <Column id="ediitem1" type="STRING" size="255"/>
  786. <Column id="ediitem2" type="STRING" size="255"/>
  787. <Column id="basecd" type="STRING" size="255"/>
  788. <Column id="hngnm" type="STRING" size="255"/>
  789. <Column id="rcptyn" type="STRING" size="255"/>
  790. <Column id="lnunitspclspecyn" type="STRING" size="255"/>
  791. <Column id="execdt" type="STRING" size="255"/>
  792. <Column id="ordnm" type="STRING" size="255"/>
  793. <Column id="edicdflag" type="STRING" size="255"/>
  794. <Column id="estmcdnm" type="STRING" size="255"/>
  795. <Column id="edihospaddamt" type="BIGDECIMAL" size="255"/>
  796. <Column id="ediaddamt" type="BIGDECIMAL" size="255"/>
  797. <Column id="paytotamt" type="BIGDECIMAL" size="255"/>
  798. <Column id="ownbamt" type="BIGDECIMAL" size="255"/>
  799. <Column id="clamamt" type="BIGDECIMAL" size="255"/>
  800. <Column id="choiordamt" type="BIGDECIMAL" size="255"/>
  801. <Column id="edihospaddtotamt" type="BIGDECIMAL" size="255"/>
  802. <Column id="ediaddtotamt" type="BIGDECIMAL" size="255"/>
  803. <Column id="choiordtotamt" type="BIGDECIMAL" size="255"/>
  804. <Column id="totordamt" type="BIGDECIMAL" size="255"/>
  805. <Column id="ownbtotamt" type="BIGDECIMAL" size="255"/>
  806. <Column id="calcscorcd" type="STRING" size="255"/>
  807. <Column id="execprcpstatcd" type="STRING" size="255"/>
  808. <Column id="pay100" type="STRING" size="255"/>
  809. <Column id="druglimitamt" type="BIGDECIMAL" size="255"/>
  810. <Column id="limitdiffamt" type="BIGDECIMAL" size="255"/>
  811. <Column id="specdrid" type="STRING" size="255"/>
  812. <Column id="chk" type="STRING" size="256"/>
  813. </ColumnInfo>
  814. </Dataset>
  815. <Dataset id="ds_grd_otpt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  816. <Dataset id="ds_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  817. <ColumnInfo>
  818. <Column id="label" type="STRING" size="256"/>
  819. <Column id="value" type="STRING" size="256"/>
  820. </ColumnInfo>
  821. <Rows>
  822. <Row>
  823. <Col id="label">경북대학교병원</Col>
  824. <Col id="value">031</Col>
  825. </Row>
  826. <Row>
  827. <Col id="value">032</Col>
  828. <Col id="label">칠곡경북대학교병원</Col>
  829. </Row>
  830. </Rows>
  831. </Dataset>
  832. <Dataset id="ds_send_clod" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  833. <ColumnInfo>
  834. <Column id="instcd" type="STRING" size="256"/>
  835. <Column id="orddd" type="STRING" size="256"/>
  836. <Column id="cretno" type="STRING" size="256"/>
  837. <Column id="Column3" type="STRING" size="256"/>
  838. <Column id="pid" type="STRING" size="256"/>
  839. <Column id="calcstat" type="STRING" size="256"/>
  840. </ColumnInfo>
  841. <Rows>
  842. <Row/>
  843. </Rows>
  844. </Dataset>
  845. <Dataset id="ds_init_calcpayflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  846. <ColumnInfo>
  847. <Column id="cd" type="STRING" size="256"/>
  848. <Column id="nm" type="STRING" size="256"/>
  849. </ColumnInfo>
  850. <Rows>
  851. <Row>
  852. <Col id="cd">0</Col>
  853. <Col id="nm">급</Col>
  854. </Row>
  855. <Row>
  856. <Col id="cd">1</Col>
  857. <Col id="nm">100</Col>
  858. </Row>
  859. <Row>
  860. <Col id="cd">2</Col>
  861. <Col id="nm">비</Col>
  862. </Row>
  863. </Rows>
  864. </Dataset>
  865. <Dataset id="ds_init_orddridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  866. <Dataset id="ds_init_orddeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  867. <Dataset id="ds_cmb_matractflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  868. <ColumnInfo>
  869. <Column id="nm" type="STRING" size="256"/>
  870. <Column id="cd" type="STRING" size="256"/>
  871. </ColumnInfo>
  872. <Rows>
  873. <Row>
  874. <Col id="nm">재</Col>
  875. <Col id="cd">1</Col>
  876. </Row>
  877. <Row>
  878. <Col id="nm">가O</Col>
  879. <Col id="cd">2</Col>
  880. </Row>
  881. <Row>
  882. <Col id="nm">가X</Col>
  883. <Col id="cd">3</Col>
  884. </Row>
  885. <Row>
  886. <Col id="nm">약</Col>
  887. <Col id="cd">4</Col>
  888. </Row>
  889. </Rows>
  890. </Dataset>
  891. </Objects>
  892. <Bind>
  893. <BindItem id="item3" compid="grp_biz.group1.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
  894. <BindItem id="item7" compid="grp_biz.group1.ipt_fromcretdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  895. <BindItem id="item8" compid="grp_biz.group1.ipt_tocretdd" propid="value" datasetid="ds_send" columnid="todd"/>
  896. <BindItem id="item0" compid="grp_biz.group1.dutplceinstcd" propid="value" datasetid="ds_send" columnid="dutplceinstcd"/>
  897. <BindItem id="item1" compid="grp_biz.group1.ipt_pid00" propid="value" datasetid="ds_send" columnid="patnm"/>
  898. </Bind>
  899. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  900. * System Name :
  901. * Job Name :
  902. * Creator :
  903. * Make Date : 2016-05-24
  904. * Description :
  905. *---------------------------------------------------------------------------------------
  906. * Modify Date Modifier Modify Description
  907. *---------------------------------------------------------------------------------------
  908. * 2016-05-24 Live Converter TF->XP
  909. *
  910. *---------------------------------------------------------------------------------------
  911. ****************************************************************************************/
  912. include "com_commonxp::comm_main.xjs";
  913. include "pam_pamcomnxp::PAM001.xjs";
  914. include "pam_pamcomnxp::PAM.xjs";
  915. var gToday = new Date();
  916. var gBaseyear = gToday.getDateFormat("YYYY");
  917. var gBasemonth = gToday.getDateFormat("MM");
  918. var gBaseday = gToday.getDateFormat("DD");
  919. var gCurrentdd = gBaseyear + gBasemonth + gBaseday;
  920. var gCurrentym = gBaseyear + gBasemonth;
  921. var addrate = 0;
  922. var insukind = "";
  923. function SPPID29100_oninit(obj:Form, e:InitEventInfo)
  924. {
  925. frmf_initForm(obj);
  926. }
  927. function SPPID29100_onload(obj:Form, e:LoadEventInfo)
  928. {
  929. grdf_initGrid(grp_biz.grd_clodhist);
  930. grdf_initGrid(grp_biz.grd_otpt);
  931. //grdf_setRowTypeIcon(grp_biz.grd_drgclist, 0);
  932. pamGetDeptCDDrIDList();
  933. fInitialize();
  934. }
  935. function fInitialize()
  936. {
  937. // var arrParam = new Array();
  938. // arrParam = [{dsNm: "ds_init_PK110list", cdGrpId: "PK110", showValue: false}];
  939. //
  940. // pamfGetCodeList(arrParam, true, "");
  941. //
  942. // var arrParam = [ {dsNm: "ds_init_COM_P0553list", cdGrpId: "P0553"}
  943. // ,{dsNm: "ds_init_COM_P0131list", cdGrpId: "P0131"}
  944. // ,{dsNm: "ds_init_COM_P0091list", cdGrpId: "P0091"}]
  945. //
  946. // appf_getCodeList(arrParam);
  947. if (frmf_isPopup())
  948. {
  949. ds_tmp.copyData(arg_ds_temp)
  950. var dutplceinstcd = sysf_getUserInfo("dutplceinstcd");
  951. ds_send.setColumn(0, "dutplceinstcd", dutplceinstcd == "031" ? "032" : dutplceinstcd == "032" ? "031" : dutplceinstcd );
  952. ds_send.setColumn(0, "pid", ds_tmp.getColumn(0, "pid"));
  953. ds_send.setColumn(0, "fromdd", ds_tmp.getColumn(0, "ordfromdd"));
  954. ds_send.setColumn(0, "todd", ds_tmp.getColumn(0, "ordtodd"));
  955. ds_send.setColumn(0, "patnm", ds_tmp.getColumn(0, "patnm"));
  956. ds_send.setColumn(0, "hospnm", grp_biz.group1.dutplceinstcd.text);
  957. }
  958. grp_biz_group1_btn_select_onclick();
  959. }
  960. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
  961. {
  962. fGetDocuList();
  963. }
  964. function fGetDocuList()
  965. {
  966. ds_grd_clodhist.clearData();
  967. var oParam = {};
  968. oParam.id = "TRPID28000";
  969. oParam.service = "bfjudgapp.OutDayJudg";
  970. oParam.method = "reqGetOutJudgOtptList";
  971. oParam.inds = "req=ds_send";
  972. oParam.outds = "ds_grd_otpt=rslt";
  973. oParam.async = false;
  974. //oParam.callback = "cf_TRPID28000";
  975. tranf_submit(oParam);
  976. }
  977. function grp_biz_grd_otpt_oncellclick(obj:Grid, e:GridClickEventInfo)
  978. {
  979. ds_send_clod.clearData();
  980. ds_send_clod.addRow();
  981. ds_grd_clodhist.clearData();
  982. var obj_ds = eval(obj.binddataset);
  983. ds_send_clod.copyRow(0, obj_ds, obj_ds.rowposition);
  984. ds_send_clod.setColumn(0,"instcd", grp_biz.group1.dutplceinstcd.value)
  985. ds_send_clod.setColumn(0,"calcstat", "Y")
  986. var oParam = {};
  987. oParam.id = "TRPID28000";
  988. oParam.service = "bfjudgapp.OutDayJudg";
  989. oParam.method = "reqGetOutDayJudgOrderData";
  990. oParam.inds = "req=ds_send_clod";
  991. oParam.outds = "ds_grd_clodhist=rslt";
  992. oParam.async = false;
  993. //oParam.callback = "cf_TRPID28000";
  994. tranf_submit(oParam);
  995. dsf_setDefaultVal(ds_grd_clodhist, "chk:1");
  996. for (var i=0; i < ds_grd_clodhist.rowcount; i++) {
  997. if (ds_grd_clodhist.getColumn(i,"calcqty") != 0
  998. && ds_grd_clodhist.getColumn(i,"calcscorpayflag") != 3
  999. && ds_grd_clodhist.getColumn(i,"calcscorpayflag") != 4
  1000. && ds_grd_clodhist.getColumn(i,"calcscorpayflag") != 5) {
  1001. ds_grd_clodhist.setColumn(i,"chk", "1");
  1002. } else {
  1003. ds_grd_clodhist.setColumn(i,"chk", "0");
  1004. }
  1005. }
  1006. }
  1007. function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  1008. {
  1009. //ds_grd_clodhist.appendData
  1010. ds_grd_clodhist.filterstr = "chk==1";
  1011. opener.ds_oscl_tmp.copyData(ds_grd_clodhist, true)
  1012. opener.ds_ord_tmp.copyRow(0, ds_grd_otpt, ds_grd_otpt.rowposition)
  1013. this.close();
  1014. }
  1015. function btn_cancel00_onclick(obj:Button, e:ClickEventInfo)
  1016. {
  1017. this.close();
  1018. }
  1019. function grp_biz_group1_dutplceinstcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1020. {
  1021. ds_send.setColumn(0, "hospnm", obj.text);
  1022. grp_biz_group1_btn_select_onclick();
  1023. }
  1024. ]]></Script>
  1025. </Form>
  1026. </FDL>