SPPIJ04700_재원기간중외퇴조회.xfdl 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIJ04300" position="absolute 0 0 895 910" titletext="재원기간 중 외퇴조회" oninit="SPPIJ04300_oninit" onload="SPPIJ04300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="cap_title" text="재원기간 중 외퇴조회" class="tit_1" position="absolute 0 0 219 23"/>
  8. <Div id="group2" anchor="left top right" taborder="1" style="align: top;" class="div_SA" position="absolute 0 23 895 64">
  9. <Layouts>
  10. <Layout>
  11. <Button id="btn_select" taborder="34" text="조회" onclick="group2_btn_select_onclick" class="btn1" position="absolute 834 10 890 32" anchor="top right"/>
  12. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 825 5 828 38" anchor="top right"/>
  13. <Edit id="ipt_patunitsrch" taborder="35" onkeydown="group2_ipt_patunitsrch_onkeydown" class="input_search" position="absolute 478 10 568 29" onkeypress="group2_ipt_patunitsrch_onkeypress"/>
  14. <Static id="caption18" text="환자조회" class="search_name" position="absolute 400 12 483 29"/>
  15. <Button id="btn_cd" taborder="36" onclick="group2_btn_cd_onclick" class="icon_search" position="absolute 569 10 585 29"/>
  16. <Static id="caption00" text="퇴원일자" class="search_name" position="absolute 7 13 75 30"/>
  17. <Calendar id="ipt_dschdd" taborder="37" position="absolute 76 10 176 30" onkeydown="group2_ipt_dschdd_onkeydown" autoselect="true"/>
  18. <Static id="caption01" text="진료과" class="search_name" position="absolute 192 13 275 30"/>
  19. <Combo id="Combo00" taborder="38" position="absolute 248 10 383 30" index="-1" innerdataset="@ds_init_orddeptcd2_orddeptcdlist" codecolumn="cd" datacolumn="nm"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Button id="button3" taborder="2" text="종료" onclick="button3_onclick" class="btn4" position="absolute 839 888 895 910"/>
  24. <Tab id="Tab00" taborder="3" tabindex="0" scrollbars="autoboth" position="absolute 0 68 895 874" anchor="all">
  25. <Tabpages>
  26. <Tabpage id="tabpage1" text="재원기간 중 외퇴리스트">
  27. <Layouts>
  28. <Layout width="895" height="779">
  29. <Shape id="line1" class="line_10" position="absolute 0 15 895 26" anchor="left top right"/>
  30. <Button id="btn_excelsave" taborder="4" text="엑셀저장" onclick="btn_excelsave_onclick" class="btn7" position="absolute 815 0 895 17" anchor="top right"/>
  31. <Static id="caption1" text="대상리스트" class="tit_2" position="absolute 0 0 110 23"/>
  32. <Grid id="grd_kdrglist" class="datagrid3" taborder="5" binddataset="ds_main_drginfo" useinputpanel="false" cellsizingtype="col" oncelldblclick="Tab00_tabpage1_grd_kdrglist_oncelldblclick" position="absolute 0 22 895 779" anchor="all" style="align:center ;" onscrollpos="grd_kdrglist_onscrollpos" onscroll="grd_kdrglist_onscroll">
  33. <Formats>
  34. <Format id="default">
  35. <Columns>
  36. <Column size="25"/>
  37. <Column size="66"/>
  38. <Column size="50"/>
  39. <Column size="31"/>
  40. <Column size="52"/>
  41. <Column size="100"/>
  42. <Column size="72"/>
  43. <Column size="74"/>
  44. <Column size="81"/>
  45. <Column size="40"/>
  46. <Column size="75"/>
  47. <Column size="75"/>
  48. <Column size="37"/>
  49. <Column size="229"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. </Columns>
  54. <Rows>
  55. <Row size="44" band="head"/>
  56. <Row size="24"/>
  57. </Rows>
  58. <Band id="head">
  59. <Cell/>
  60. <Cell col="1" text="환자번호"/>
  61. <Cell col="2" text="환자명"/>
  62. <Cell col="3" text="나이"/>
  63. <Cell col="4" text="주민번호" taborder="undefined"/>
  64. <Cell col="5" text="진료과"/>
  65. <Cell col="6" text="진료의"/>
  66. <Cell col="7" text="보험유형"/>
  67. <Cell col="8" text="보조유형"/>
  68. <Cell col="9" text="주"/>
  69. <Cell col="10" text="입원일자"/>
  70. <Cell col="11" text="퇴원일자"/>
  71. <Cell col="12" text="입원&#10;일수"/>
  72. <Cell col="13" text="주상병"/>
  73. <Cell col="14" text="caption1"/>
  74. <Cell col="15" text="caption2"/>
  75. <Cell col="16" text="caption3"/>
  76. </Band>
  77. <Band id="body">
  78. <Cell celltype="head" expr="currow+1"/>
  79. <Cell col="1" displaytype="text" edittype="readonly" style="align:center;" text="bind:pid"/>
  80. <Cell col="2" text="bind:hngnm"/>
  81. <Cell col="3" text="bind:age"/>
  82. <Cell col="4" text="bind:rrgstno2"/>
  83. <Cell col="5" displaytype="combo" style="align:center middle;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd2_orddeptcdlist" combocodecol="cd" combodatacol="nm"/>
  84. <Cell col="6" text="bind:orddrnm" combodataset="ds_init_P0008list"/>
  85. <Cell col="7" displaytype="combo" style="align:center;" text="bind:insukind" combodataset="ds_init_P0008list" combocodecol="cdid" combodatacol="cdnm"/>
  86. <Cell col="8" displaytype="combo" style="align:center;" text="bind:suppkind" combodataset="ds_init_P0010list" combocodecol="cdid" combodatacol="cdnm"/>
  87. <Cell col="9" text="bind:mskind"/>
  88. <Cell col="10" displaytype="date" text="bind:indd"/>
  89. <Cell col="11" displaytype="date" text="bind:dschdd"/>
  90. <Cell col="12" displaytype="number" text="bind:indaycnt"/>
  91. <Cell col="13" style="align:left middle;" text="bind:diag"/>
  92. <Cell col="14" text="bind:seqno"/>
  93. <Cell col="15" text="bind:ordfromdd"/>
  94. <Cell col="16" text="bind:tdrgnm"/>
  95. </Band>
  96. </Format>
  97. </Formats>
  98. </Grid>
  99. </Layout>
  100. </Layouts>
  101. </Tabpage>
  102. <Tabpage id="tabpage2" text="처방상세내역">
  103. <Layouts>
  104. <Layout>
  105. <Shape id="line1" class="line_10" position="absolute 0 15 895 26" anchor="left top right"/>
  106. <Grid id="grd_detllist" taborder="1" binddataset="ds_main_detl" useinputpanel="false" position="absolute 0 22 895 779" anchor="all" style="align:center ;" onscrollpos="grd_kdrglist_onscrollpos" onscroll="grd_kdrglist_onscroll" selecttype="row" onkeydown="Tab00_tabpage2_grd_detllist_onkeydown">
  107. <Formats>
  108. <Format id="default">
  109. <Columns>
  110. <Column size="30"/>
  111. <Column size="35"/>
  112. <Column size="60"/>
  113. <Column size="70"/>
  114. <Column size="75"/>
  115. <Column size="0"/>
  116. <Column size="95"/>
  117. <Column size="75"/>
  118. <Column size="80"/>
  119. <Column size="80"/>
  120. <Column size="177"/>
  121. <Column size="80"/>
  122. <Column size="35"/>
  123. <Column size="75"/>
  124. <Column size="40"/>
  125. <Column size="40"/>
  126. <Column size="40"/>
  127. <Column size="75"/>
  128. <Column size="75"/>
  129. </Columns>
  130. <Rows>
  131. <Row size="44" band="head"/>
  132. <Row size="24"/>
  133. </Rows>
  134. <Band id="head">
  135. <Cell/>
  136. <Cell col="1" displaytype="normal" text="구분"/>
  137. <Cell col="2" displaytype="normal" text="환자번호"/>
  138. <Cell col="3" text="환자명"/>
  139. <Cell col="4" displaytype="normal" text="진료일자"/>
  140. <Cell col="5" displaytype="normal" text="cretno"/>
  141. <Cell col="6" displaytype="normal" text="진료과"/>
  142. <Cell col="7" displaytype="normal" text="실시일자"/>
  143. <Cell col="8" displaytype="normal" text="그룹코드"/>
  144. <Cell col="9" displaytype="normal" text="수가코드"/>
  145. <Cell col="10" text="수가명"/>
  146. <Cell col="11" displaytype="normal" text="EDI코드"/>
  147. <Cell col="12" displaytype="normal" text="산정&#13;&#10;코드"/>
  148. <Cell col="13" displaytype="normal" text="단가"/>
  149. <Cell col="14" displaytype="normal" text="1회량"/>
  150. <Cell col="15" displaytype="normal" text="횟수"/>
  151. <Cell col="16" displaytype="normal" text="일수"/>
  152. <Cell col="17" displaytype="normal" text="총진료비"/>
  153. <Cell col="18" displaytype="normal" text="선택진료"/>
  154. </Band>
  155. <Band id="body">
  156. <Cell celltype="head" expr="currow+1"/>
  157. <Cell col="1" displaytype="normal" text="bind:gbn"/>
  158. <Cell col="2" displaytype="normal" edittype="readonly" text="bind:pid"/>
  159. <Cell col="3" text="bind:hngnm"/>
  160. <Cell col="4" displaytype="date" text="bind:orddd"/>
  161. <Cell col="5" displaytype="normal" text="bind:cretno"/>
  162. <Cell col="6" displaytype="combo" style="align:center;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd2_orddeptcdlist" combocodecol="cd" combodatacol="nm"/>
  163. <Cell col="7" displaytype="date" text="bind:execdd"/>
  164. <Cell col="8" displaytype="normal" style="align:left middle;" text="bind:grupcalcscorcd"/>
  165. <Cell col="9" displaytype="normal" style="align:left middle;" text="bind:snglcalcscorcd"/>
  166. <Cell col="10" style="align:left middle;" text="bind:snglcalcscorcdnm"/>
  167. <Cell col="11" displaytype="normal" style="align:left middle;" text="bind:edicd"/>
  168. <Cell col="12" displaytype="normal" text="bind:estmcd"/>
  169. <Cell col="13" displaytype="number" text="bind:appunitcost"/>
  170. <Cell col="14" displaytype="number" text="bind:calcqty"/>
  171. <Cell col="15" displaytype="number" text="bind:calctims"/>
  172. <Cell col="16" displaytype="number" text="bind:calcdays"/>
  173. <Cell col="17" displaytype="number" text="bind:totamt"/>
  174. <Cell col="18" displaytype="number" text="bind:specamt"/>
  175. </Band>
  176. </Format>
  177. </Formats>
  178. </Grid>
  179. <Button id="btn_excelsave" taborder="2" text="엑셀저장" class="btn7" position="absolute 815 0 895 17" anchor="top right" onclick="Tab00_tabpage2_btn_excelsave_onclick"/>
  180. </Layout>
  181. </Layouts>
  182. </Tabpage>
  183. </Tabpages>
  184. </Tab>
  185. </Layout>
  186. </Layouts>
  187. <Objects>
  188. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  189. <ColumnInfo>
  190. <Column id="pid" type="STRING" size="256"/>
  191. <Column id="dschdd" type="STRING" size="256"/>
  192. <Column id="instcd" type="STRING" size="256"/>
  193. <Column id="orddeptcd" type="STRING" size="256"/>
  194. </ColumnInfo>
  195. <Rows>
  196. <Row>
  197. <Col id="pid"/>
  198. </Row>
  199. </Rows>
  200. </Dataset>
  201. <Dataset id="ds_init_P0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  202. <ColumnInfo>
  203. <Column id="cdnm" type="STRING" size="256"/>
  204. <Column id="cdid" type="STRING" size="256"/>
  205. </ColumnInfo>
  206. </Dataset>
  207. <Dataset id="ds_init_P0155list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  208. <ColumnInfo>
  209. <Column id="cdnm" type="STRING" size="256"/>
  210. <Column id="cdid" type="STRING" size="256"/>
  211. </ColumnInfo>
  212. </Dataset>
  213. <Dataset id="ds_init_P0010list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  214. <ColumnInfo>
  215. <Column id="cdnm" type="STRING" size="256"/>
  216. <Column id="cdid" type="STRING" size="256"/>
  217. </ColumnInfo>
  218. </Dataset>
  219. <Dataset id="ds_init_P0110list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  220. <ColumnInfo>
  221. <Column id="cdnm" type="STRING" size="256"/>
  222. <Column id="cdid" type="STRING" size="256"/>
  223. </ColumnInfo>
  224. </Dataset>
  225. <Dataset id="ds_init_orddeptcd2_orddeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  226. <ColumnInfo>
  227. <Column id="cd" type="STRING" size="256"/>
  228. <Column id="nm" type="STRING" size="256"/>
  229. </ColumnInfo>
  230. </Dataset>
  231. <Dataset id="ds_hidden_sppmc02500_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  232. <ColumnInfo>
  233. <Column id="srchcond" type="STRING" size="256"/>
  234. <Column id="pid" type="STRING" size="256"/>
  235. </ColumnInfo>
  236. <Rows>
  237. <Row/>
  238. </Rows>
  239. </Dataset>
  240. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  241. <Dataset id="ds_main_drginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  242. <ColumnInfo>
  243. <Column id="seqno" type="STRING" size="256" sumtext="작업회차"/>
  244. <Column id="ordfromdd" type="STRING" size="256" sumtext="요양개시일자"/>
  245. <Column id="orddeptcd" type="STRING" size="256" sumtext="부서"/>
  246. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  247. <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
  248. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  249. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  250. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  251. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  252. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  253. <Column id="histstat" type="STRING" size="256" sumtext="이력상태"/>
  254. <Column id="proccorpcd" type="STRING" size="256" sumtext="요양기관번호"/>
  255. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
  256. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
  257. <Column id="chosindayno" type="STRING" size="256" sumtext="입원일수"/>
  258. <Column id="ordrsltcd" type="STRING" size="256" sumtext="퇴원진료결과"/>
  259. <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원확정구분"/>
  260. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  261. <Column id="diagcd1" type="STRING" size="256" sumtext="진단코드1"/>
  262. <Column id="diagcd2" type="STRING" size="256" sumtext="진단코드2"/>
  263. <Column id="diagcd3" type="STRING" size="256" sumtext="진단코드3"/>
  264. <Column id="diagcd4" type="STRING" size="256" sumtext="진단코드4"/>
  265. <Column id="diagcd5" type="STRING" size="256" sumtext="진단코드5"/>
  266. <Column id="diagcd6" type="STRING" size="256" sumtext="진단코드6"/>
  267. <Column id="diagcd7" type="STRING" size="256" sumtext="진단코드7"/>
  268. <Column id="diagcd8" type="STRING" size="256" sumtext="진단코드8"/>
  269. <Column id="diagcd9" type="STRING" size="256" sumtext="진단코드9"/>
  270. <Column id="diagcd10" type="STRING" size="256" sumtext="진단코드10"/>
  271. <Column id="opcd1" type="STRING" size="256" sumtext="시술코드1"/>
  272. <Column id="opcd2" type="STRING" size="256" sumtext="시술코드2"/>
  273. <Column id="opcd3" type="STRING" size="256" sumtext="시술코드3"/>
  274. <Column id="opcd4" type="STRING" size="256" sumtext="시술코드4"/>
  275. <Column id="opcd5" type="STRING" size="256" sumtext="시술코드5"/>
  276. <Column id="opcd6" type="STRING" size="256" sumtext="시술코드6"/>
  277. <Column id="opcd7" type="STRING" size="256" sumtext="시술코드7"/>
  278. <Column id="opcd8" type="STRING" size="256" sumtext="시술코드8"/>
  279. <Column id="opcd9" type="STRING" size="256" sumtext="시술코드9"/>
  280. <Column id="opcd10" type="STRING" size="256" sumtext="시술코드10"/>
  281. <Column id="excd1" type="STRING" size="256" sumtext="검사코드1"/>
  282. <Column id="excd2" type="STRING" size="256" sumtext="검사코드2"/>
  283. <Column id="excd3" type="STRING" size="256" sumtext="검사코드3"/>
  284. <Column id="excd4" type="STRING" size="256" sumtext="검사코드4"/>
  285. <Column id="excd5" type="STRING" size="256" sumtext="검사코드5"/>
  286. <Column id="rgcd1" type="STRING" size="256" sumtext="방사선코드1"/>
  287. <Column id="rgcd2" type="STRING" size="256" sumtext="방사선코드2"/>
  288. <Column id="rgcd3" type="STRING" size="256" sumtext="방사선코드3"/>
  289. <Column id="rgcd4" type="STRING" size="256" sumtext="방사선코드4"/>
  290. <Column id="rgcd5" type="STRING" size="256" sumtext="방사선코드5"/>
  291. <Column id="ibcd1" type="STRING" size="256" sumtext="주사및혈액제제코드1"/>
  292. <Column id="ibcd2" type="STRING" size="256" sumtext="주사및혈액제제코드2"/>
  293. <Column id="ibcd3" type="STRING" size="256" sumtext="주사및혈액제제코드3"/>
  294. <Column id="ibcd4" type="STRING" size="256" sumtext="주사및혈액제제코드4"/>
  295. <Column id="ibcd5" type="STRING" size="256" sumtext="주사및혈액제제코드5"/>
  296. <Column id="arcd1" type="STRING" size="256" sumtext="마취및호흡치료코드1"/>
  297. <Column id="arcd2" type="STRING" size="256" sumtext="마취및호흡치료코드2"/>
  298. <Column id="arcd3" type="STRING" size="256" sumtext="마취및호흡치료코드3"/>
  299. <Column id="arcd4" type="STRING" size="256" sumtext="마취및호흡치료코드4"/>
  300. <Column id="arcd5" type="STRING" size="256" sumtext="마취및호흡치료코드5"/>
  301. <Column id="ncvcd" type="STRING" size="256" sumtext="알콜및약물중독재활치료코드"/>
  302. <Column id="detailcd1" type="STRING" size="256" sumtext="부가코드1"/>
  303. <Column id="detailcd2" type="STRING" size="256" sumtext="부가코드2"/>
  304. <Column id="detailcd3" type="STRING" size="256" sumtext="부가코드3"/>
  305. <Column id="detailcd4" type="STRING" size="256" sumtext="부가코드4"/>
  306. <Column id="detailcd5" type="STRING" size="256" sumtext="부가코드5"/>
  307. <Column id="bw" type="STRING" size="256" sumtext="입원시체중(만1세미만)"/>
  308. <Column id="vtl" type="STRING" size="256" sumtext="인공호흡시간(hour, 만1세미만)"/>
  309. <Column id="mdcno" type="STRING" size="256" sumtext="MDC번호"/>
  310. <Column id="adrg" type="STRING" size="256" sumtext="adrg"/>
  311. <Column id="pccl" type="STRING" size="256" sumtext="pccl"/>
  312. <Column id="drgno" type="STRING" size="256" sumtext="DRG분류번호"/>
  313. <Column id="drggbn" type="STRING" size="256" sumtext="DRG구분"/>
  314. <Column id="version" type="STRING" size="256" sumtext="버젼"/>
  315. <Column id="drgnm" type="STRING" size="256" sumtext="DRG명칭"/>
  316. <Column id="nightflag" type="STRING" size="256" sumtext="야간,공휴가산"/>
  317. <Column id="totalamt" type="STRING" size="256" sumtext="행위별 총진료비"/>
  318. <Column id="nopyamt" type="STRING" size="256" sumtext="행위별 비급여액"/>
  319. <Column id="allownbamt" type="STRING" size="256" sumtext="DRG 전액본인부담액"/>
  320. <Column id="payamt" type="STRING" size="256" sumtext="DRG열외군보상금액"/>
  321. <Column id="specamt" type="STRING" size="256" sumtext="행위별 선택진료비"/>
  322. <Column id="totownbamt" type="STRING" size="256" sumtext="행위별 본인부담총액 (급여본인부담+전액본인부담+비급여+선택진료)"/>
  323. <Column id="payownbamt" type="STRING" size="256" sumtext="행위별 급여본인부담금"/>
  324. <Column id="payinsubamt" type="STRING" size="256" sumtext="행위별 급여보험자부담금"/>
  325. <Column id="drgnopyamt" type="STRING" size="256" sumtext="DRG 법정비급여액"/>
  326. <Column id="drgpayamt" type="STRING" size="256" sumtext="DRG 급여액"/>
  327. <Column id="drgeatamt" type="STRING" size="256" sumtext="DRG 식대"/>
  328. <Column id="drggsaddamt" type="STRING" size="256" sumtext="DRG 외과가산"/>
  329. <Column id="drgtotalamt" type="STRING" size="256" sumtext="DRG 총진료비 (DRG급여액+DRG식대+DRG외과가산+DRG법정비급여액)"/>
  330. <Column id="drgownbamt" type="STRING" size="256" sumtext="DRG 본인부담금"/>
  331. <Column id="drginsubamt" type="STRING" size="256" sumtext="DRG 보험자부담금"/>
  332. <Column id="drggapamt" type="STRING" size="256" sumtext="DRG 차액"/>
  333. <Column id="grupgbn" type="STRING" size="256" sumtext="열외군 구분 (N:정상군,H:상단열외군,L:하단열외군)"/>
  334. <Column id="tdrgno" type="STRING" size="256" sumtext="임시 DRG 분류번호"/>
  335. <Column id="tdrgnm" type="STRING" size="256" sumtext="임시 DRG 명칭"/>
  336. <Column id="drgeatownbamt" type="STRING" size="256" sumtext="DRG 식대 본인부담"/>
  337. <Column id="drgeatinsubamt" type="STRING" size="256" sumtext="DRG 식대 보험자부담"/>
  338. <Column id="drggsaddownbamt" type="STRING" size="256" sumtext="DRG 외과가산 본인부담"/>
  339. <Column id="drggsaddinsubamt" type="STRING" size="256" sumtext="DRG 외과가산 보험자부담"/>
  340. <Column id="drgpaydiscamt" type="STRING" size="256" sumtext="DRG급여할인금액"/>
  341. <Column id="drgnopydiscamt" type="STRING" size="256" sumtext="DRG비급여할인금액"/>
  342. <Column id="drgspecdiscamt" type="STRING" size="256" sumtext="DRG선택진료할인금액"/>
  343. <Column id="drgeatdiscamt" type="STRING" size="256" sumtext="DRG식대할인금액"/>
  344. <Column id="drggsadddiscamt" type="STRING" size="256" sumtext="DRG외과가산할인금액"/>
  345. <Column id="drgallownbamt" type="STRING" size="256" sumtext="DRG 전액본인부담액"/>
  346. <Column id="drgoverpayinsubamt" type="STRING" size="256" sumtext="DRG열외군보상보험자부담"/>
  347. <Column id="drgoverpayamt" type="STRING" size="256" sumtext="DRG열외군보상금액"/>
  348. <Column id="drgoverpayownbamt" type="STRING" size="256" sumtext="DRG열외군보상본인부담"/>
  349. <Column id="nodata" type="STRING" size="256" sumtext="임시DRG생성유무"/>
  350. <Column id="accnopyamt" type="STRING" size="256" sumtext="행위별법정비급여액"/>
  351. <Column id="drgpayownbamt" type="STRING" size="256" sumtext="DRG 급여본인부담총"/>
  352. <Column id="obgaaddyn" type="STRING" size="256" sumtext="산부인과가산 유무"/>
  353. <Column id="drgaccpayamt" type="STRING" size="256" sumtext="DRG 인정급여총액"/>
  354. <Column id="drgaccpayownbamt" type="STRING" size="256" sumtext="DRG 인정급여본인부담금"/>
  355. <Column id="drgaccpayinsubamt" type="STRING" size="256" sumtext="DRG 인정급여보험자부담금"/>
  356. <Column id="drgaccpaydiscamt" type="STRING" size="256" sumtext="DRG 인정급여할인금액"/>
  357. <Column id="accnopygapamt" type="STRING" size="256" sumtext="DRG 행위별비급여단기차액"/>
  358. <Column id="robotyn" type="STRING" size="256" sumtext="DRG 로봇수술유무"/>
  359. <Column id="drgrobotamt" type="STRING" size="256" sumtext="DRG 로봇수술제외금액"/>
  360. <Column id="drgrobotinsubamt" type="STRING" size="256" sumtext="DRG 로봇수술보험자부담제외금액"/>
  361. <Column id="drgrobotownbamt" type="STRING" size="256" sumtext="DRG 로봇수술본인부담제외금액"/>
  362. <Column id="drgtype" type="STRING" size="256" sumtext="drgtype"/>
  363. <Column id="opnm1" type="STRING" size="256" sumtext="opnm1"/>
  364. <Column id="opnm2" type="STRING" size="256" sumtext="opnm2"/>
  365. <Column id="diagnm1" type="STRING" size="256" sumtext="diagnm1"/>
  366. <Column id="diagnm2" type="STRING" size="256" sumtext="diagnm2"/>
  367. <Column id="rgnm1" type="STRING" size="256" sumtext="rgnm1"/>
  368. <Column id="orddrnm" type="STRING" size="256" sumtext="orddrnm"/>
  369. </ColumnInfo>
  370. </Dataset>
  371. <Dataset id="ds_main_chklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  372. <ColumnInfo>
  373. <Column id="dschyn" type="STRING" size="256" sumtext="퇴원여부"/>
  374. <Column id="indayyn" type="STRING" size="256" sumtext="재원30일여부"/>
  375. <Column id="drgyn" type="STRING" size="256" sumtext="DRG여부"/>
  376. </ColumnInfo>
  377. </Dataset>
  378. <Dataset id="ds_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  379. <ColumnInfo>
  380. <Column id="attfilecnts" type="STRING" size="256"/>
  381. </ColumnInfo>
  382. <Rows>
  383. <Row/>
  384. </Rows>
  385. </Dataset>
  386. <Dataset id="ds_attachfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  387. <ColumnInfo>
  388. <Column id="filedata" type="STRING" size="256"/>
  389. </ColumnInfo>
  390. </Dataset>
  391. <Dataset id="ds_drginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  392. <Dataset id="ds_send_attach" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  393. <ColumnInfo>
  394. <Column id="filenm" type="STRING" size="256" sumtext="첨부파일명"/>
  395. <Column id="filedata" type="" size="256" sumtext="첨부파일데이터"/>
  396. <Column id="filesize" type="STRING" size="256" sumtext="첨부파일크기"/>
  397. <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
  398. <Column id="file" type="STRING" size="256"/>
  399. </ColumnInfo>
  400. <Rows>
  401. <Row/>
  402. </Rows>
  403. </Dataset>
  404. <Dataset id="ds_tmp_attach" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  405. <ColumnInfo>
  406. <Column id="filenm" type="STRING" size="256"/>
  407. <Column id="filesize" type="INT" size="256"/>
  408. <Column id="filetype" type="STRING" size="256"/>
  409. <Column id="filedata" type="BLOB" size="256"/>
  410. </ColumnInfo>
  411. <Rows>
  412. <Row/>
  413. </Rows>
  414. </Dataset>
  415. <Dataset id="ds_send_detl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  416. <ColumnInfo>
  417. <Column id="pid" type="STRING" size="256"/>
  418. <Column id="orddeptcd" type="STRING" size="256"/>
  419. <Column id="fromdd" type="STRING" size="256"/>
  420. <Column id="todd" type="STRING" size="256"/>
  421. <Column id="instcd" type="STRING" size="256"/>
  422. <Column id="hngnm" type="STRING" size="256"/>
  423. </ColumnInfo>
  424. <Rows>
  425. <Row/>
  426. </Rows>
  427. </Dataset>
  428. <Dataset id="ds_main_detl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  429. <ColumnInfo>
  430. <Column id="gbn" type="STRING" size="255"/>
  431. <Column id="pid" type="STRING" size="255"/>
  432. <Column id="orddd" type="STRING" size="255"/>
  433. <Column id="cretno" type="BIGDECIMAL" size="255"/>
  434. <Column id="orddeptcd" type="STRING" size="255"/>
  435. <Column id="execdd" type="STRING" size="255"/>
  436. <Column id="grupcalcscorcd" type="STRING" size="255"/>
  437. <Column id="snglcalcscorcd" type="STRING" size="255"/>
  438. <Column id="edicd" type="STRING" size="255"/>
  439. <Column id="estmcd" type="STRING" size="255"/>
  440. <Column id="appunitcost" type="BIGDECIMAL" size="255"/>
  441. <Column id="calcqty" type="BIGDECIMAL" size="255"/>
  442. <Column id="calctims" type="BIGDECIMAL" size="255"/>
  443. <Column id="calcdays" type="BIGDECIMAL" size="255"/>
  444. <Column id="totamt" type="BIGDECIMAL" size="255"/>
  445. <Column id="specamt" type="BIGDECIMAL" size="255"/>
  446. </ColumnInfo>
  447. </Dataset>
  448. </Objects>
  449. <Bind>
  450. <BindItem id="item0" compid="group2.ipt_dschdd" propid="value" datasetid="ds_send" columnid="dschdd"/>
  451. <BindItem id="item1" compid="group2.ipt_patunitsrch" propid="value" datasetid="ds_send" columnid="pid"/>
  452. <BindItem id="item2" compid="group2.Combo00" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
  453. </Bind>
  454. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  455. * System Name :
  456. * Job Name :
  457. * Creator :
  458. * Make Date : 2016-07-22
  459. * Description :
  460. *---------------------------------------------------------------------------------------
  461. * Modify Date Modifier Modify Description
  462. *---------------------------------------------------------------------------------------
  463. * 2016-07-22 Live Converter TF->XP
  464. *
  465. *---------------------------------------------------------------------------------------
  466. ****************************************************************************************/
  467. include "com_commonxp::comm_main.xjs";
  468. include "pam_pamcomnxp::PAM001.xjs";
  469. var fldr = "";
  470. var infile = "";
  471. var outfile = "";
  472. function SPPIJ04300_oninit(obj:Form, e:InitEventInfo)
  473. {
  474. frmf_initForm(obj);
  475. }
  476. function SPPIJ04300_onload(obj:Form, e:LoadEventInfo)
  477. {
  478. grdf_initGrid(Tab00.tabpage1.grd_kdrglist);
  479. grdf_initGrid(Tab00.tabpage2.grd_detllist);
  480. grdf_setToolTipBind(Tab00.tabpage1.grd_kdrglist);
  481. grdf_setToolTipBind(Tab00.tabpage2.grd_detllist);
  482. var arrParam = [{dsNm: "ds_init_P0008list", cdGrpId: "P0008"}
  483. ,{dsNm: "ds_init_P0155list", cdGrpId: "P0155"}
  484. ,{dsNm: "ds_init_P0010list", cdGrpId: "P0010"}// 보조유형
  485. ,{dsNm: "ds_init_P0110list", cdGrpId: "P0110"}]
  486. appf_getCodeList(arrParam);
  487. //var arrParam = new Array();
  488. //arrParam = [ ];
  489. //pamfGetCodeList(arrParam, true, "");
  490. dsf_createDsRow("ds_send_req", [{col:"ioflag", val:""}]);
  491. var oParam = {};
  492. oParam.id = "TRPID20309";
  493. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  494. oParam.method = "reqGetDeptCDDrID";
  495. oParam.inds = "req=ds_send_req";
  496. oParam.outds = "ds_init_orddeptcd2_orddeptcdlist=orddeptcd2";
  497. oParam.async = true;
  498. //oParam.callback = "cf_TRPID20309";
  499. tranf_submit(oParam);
  500. fInitialize();
  501. }
  502. function fInitialize()
  503. {
  504. var gToday = new Date();
  505. var gBaseyear = gToday.getDateFormat("YYYY"); // (dateHelper.js)에서 제공하는 함수를 사용하여 해당 년를 구한다.
  506. var gBasemonth = gToday.getDateFormat("MM");
  507. var gBaseday = gToday.getDateFormat("DD");
  508. var gCurrentdd = gBaseyear + gBasemonth + gBaseday;
  509. var gCurrentym = gBaseyear + gBasemonth;
  510. var gUserid = sysf_getUserId();
  511. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  512. ds_send.setColumn(0, "dschdd", utlf_getCurrentDate());
  513. }
  514. function group2_ipt_patunitsrch_onkeydown(obj:Edit, e:KeyEventInfo)
  515. {
  516. if(e.keycode == 13)
  517. {
  518. obj.updateToDataset();
  519. fGetDocuList();
  520. }
  521. }
  522. function group2_btn_cd_onclick(obj:Button, e:ClickEventInfo)
  523. {
  524. var ipt_pid = Tab00.tabpage1.group2.ipt_patunitsrch.value;
  525. ds_hidden_sppmc02500_cond.setColumn(0, "srchcond", "1");
  526. ds_hidden_sppmc02500_cond.setColumn(0, "pid", ipt_pid);
  527. var objArg = new Object();
  528. objArg.arg_ds_send = ds_hidden_sppmc02500_cond;
  529. frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
  530. var srch_pid = ds_patinfolist.getColumn(0, "pid");
  531. if (!utlf_isNull(srch_pid))
  532. {
  533. ds_patinfolist.clearData();
  534. ds_send.setColumn(0, "pid", srch_pid);
  535. }
  536. }
  537. function group2_btn_select_onclick(obj:Button, e:ClickEventInfo)
  538. {
  539. fGetDocuList();
  540. }
  541. function fGetDocuList()
  542. {
  543. group2.btn_select.setFocus();
  544. var oParam = {};
  545. oParam.id = "TRPIJ04211";
  546. oParam.service = "bfjudgapp.InHospJudg";
  547. oParam.method = "reqGetInptAOtptList";
  548. oParam.inds = "req=ds_send";
  549. oParam.outds = "ds_main_drginfo=rsltlist";
  550. oParam.async = false;
  551. //oParam.callback = "cf_TRPIJ04211";
  552. tranf_submit(oParam);
  553. Tab00.tabindex = 0;
  554. }
  555. function btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  556. {
  557. if(ds_main_drginfo.rowcount == 0)
  558. {
  559. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  560. }
  561. else
  562. {
  563. grdf_exportExcel(Tab00.tabpage1.grd_kdrglist, "", "see");
  564. }
  565. }
  566. function button3_onclick(obj:Button, e:ClickEventInfo)
  567. {
  568. this.close();
  569. }
  570. function Tab00_tabpage1_grd_kdrglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  571. {
  572. ds_send_detl.setColumn(0,"pid", ds_main_drginfo.getColumn(e.row, "pid"));
  573. ds_send_detl.setColumn(0,"orddeptcd", ds_main_drginfo.getColumn(e.row, "orddeptcd"));
  574. ds_send_detl.setColumn(0,"fromdd", ds_main_drginfo.getColumn(e.row, "indd"));
  575. ds_send_detl.setColumn(0,"todd", ds_main_drginfo.getColumn(e.row, "dschdd"));
  576. ds_send_detl.setColumn(0,"hngnm", ds_main_drginfo.getColumn(e.row, "hngnm"));
  577. var oParam = {};
  578. oParam.id = "TRPIJ04211";
  579. oParam.service = "bfjudgapp.InHospJudg";
  580. oParam.method = "reqGetInptAOtptDetlList";
  581. oParam.inds = "req=ds_send_detl";
  582. oParam.outds = "ds_main_detl=rsltlist";
  583. oParam.async = false;
  584. oParam.callback = "cf_TRPIJ04211";
  585. tranf_submit(oParam);
  586. }
  587. function cf_TRPIJ04211(sSvcId, nErrorCode, sErrorMsg) {
  588. if(nErrorCode < 0) return;
  589. Tab00.tabindex = 1;
  590. ds_send_detl.clearData();
  591. ds_send_detl.addRow();
  592. }
  593. function Tab00_tabpage2_grd_detllist_onkeydown(obj:Grid, e:KeyEventInfo)
  594. {
  595. if(e.ctrlKey == true && e.keycode == 67) {
  596. grdf_clipboardCopy(obj);
  597. }
  598. }
  599. function Tab00_tabpage2_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  600. {
  601. if(ds_main_detl.rowcount == 0)
  602. {
  603. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  604. }
  605. else
  606. {
  607. grdf_exportExcel(Tab00.tabpage2.grd_detllist, "", "see");
  608. }
  609. }
  610. function group2_ipt_dschdd_onkeydown(obj:Calendar, e:KeyEventInfo)
  611. {
  612. if (e.keycode == 13){
  613. group2.btn_select.click();
  614. }
  615. }
  616. ]]></Script>
  617. </Form>
  618. </FDL>