SMAHS01700_일일수납마감.xfdl 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHS01700" position="absolute 0 0 1201 793" titletext="건진일평균인원현황" oninit="SMAHS01700_oninit" onload="SMAHS01700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 25 1195 65" id="group2" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static text="일자 :" position="absolute 405 13 478 30" id="caption2" class="search_name"/>
  11. <Shape position="absolute 1118 11 1124 33" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
  12. <Button position="absolute 1128 11 1184 33" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group2_btn_search_onclick"/>
  13. <Calendar position="absolute 466 11 571 30" id="ipt_fromdd" class="input_search" taborder="7" autoselect="true" autoskip="true"/>
  14. <Button position="absolute 1059 11 1115 33" id="btn_prt" class="btn6" text="출력" anchor="top right" onclick="group2_btn_prt_onclick"/>
  15. <Shape position="absolute 1049 11 1055 33" linetype="vertical" id="line3" class="line_4" visible="false" anchor="top right"/>
  16. <Static text="환자ID :" position="absolute 713 13 799 30" id="caption1" class="search_name"/>
  17. <Edit position="absolute 789 11 894 30" id="input1" autoselect="true" autoskip="true"/>
  18. <Combo position="absolute 98 12 203 31" id="cmb_healexamflag" class="combo_search" innerdataset="@ds_init_baseinfo_healexamflag_A0068" datacolumn="cdnm" codecolumn="cdid"/>
  19. <Static text="건진구분 :" position="absolute 16 13 102 30" id="caption3" class="search_name"/>
  20. <Combo position="absolute 286 11 391 30" id="cmb_orddeptcd" class="combo_search" innerdataset="@ds_init_baseinfo_orddeptcdlst" datacolumn="cdnm" codecolumn="cdid"/>
  21. <Static text="진료과 :" position="absolute 215 13 301 30" id="caption4" class="search_name"/>
  22. <Calendar id="ipt_todd" taborder="8" class="input_search" position="absolute 596 12 701 31" autoselect="true" autoskip="true"/>
  23. <Static id="anfruf" text="~" position="absolute 577 12 588 31"/>
  24. </Layout>
  25. </Layouts>
  26. </Div>
  27. <Grid position="absolute 0 79 1195 759" align="align:center middle;" id="grd_dyrcptlst" binddataset="ds_main_dyrcptlst_item" autoenter="select" cellsizingtype="col" anchor="all">
  28. <Formats>
  29. <Format id="default">
  30. <Columns>
  31. <Column size="0"/>
  32. <Column size="110"/>
  33. <Column size="0"/>
  34. <Column size="90"/>
  35. <Column size="70"/>
  36. <Column size="75"/>
  37. <Column size="70"/>
  38. <Column size="88"/>
  39. <Column size="80"/>
  40. <Column size="80"/>
  41. <Column size="80"/>
  42. <Column size="80"/>
  43. <Column size="80"/>
  44. <Column size="80"/>
  45. <Column size="80"/>
  46. <Column size="80"/>
  47. <Column size="80"/>
  48. <Column size="70"/>
  49. <Column size="70"/>
  50. <Column size="0"/>
  51. <Column size="70"/>
  52. <Column size="90"/>
  53. </Columns>
  54. <Rows>
  55. <Row size="24" band="head"/>
  56. <Row size="24" band="head"/>
  57. <Row size="24"/>
  58. <Row size="24" band="summ"/>
  59. </Rows>
  60. <Band id="head">
  61. <Cell text="기관코드"/>
  62. <Cell col="1" rowspan="2" text="건진구분" taborder="undefined"/>
  63. <Cell col="2" text="진료과코드"/>
  64. <Cell col="3" rowspan="2" text="진료과" taborder="undefined"/>
  65. <Cell col="4" rowspan="2" text="등록번호" taborder="undefined"/>
  66. <Cell col="5" rowspan="2" text="수납일자" taborder="undefined"/>
  67. <Cell col="6" rowspan="2" text="영수증번호" taborder="undefined"/>
  68. <Cell col="7" rowspan="2" text="총진료비" taborder="undefined"/>
  69. <Cell col="8" colspan="6" text="부담금" taborder="undefined"/>
  70. <Cell col="14" rowspan="2" text="할인/감액" taborder="undefined"/>
  71. <Cell col="15" rowspan="2" text="카드금액" taborder="undefined"/>
  72. <Cell col="16" rowspan="2" text="현금금액" taborder="undefined"/>
  73. <Cell col="17" rowspan="2" text="개인미수금" taborder="undefined"/>
  74. <Cell col="18" rowspan="2" text="중간금" taborder="undefined"/>
  75. <Cell col="19" text="감액"/>
  76. <Cell col="20" rowspan="2" text="절사액" taborder="undefined"/>
  77. <Cell col="21" rowspan="2" text="수납자" taborder="undefined"/>
  78. <Cell row="1" text="기관코드"/>
  79. <Cell row="1" col="2" text="진료과코드"/>
  80. <Cell row="1" col="8" text="공단(1,2차)"/>
  81. <Cell row="1" col="9" text="공단(암)"/>
  82. <Cell row="1" col="10" text="공단(구강)"/>
  83. <Cell row="1" col="11" text="공단(기타)"/>
  84. <Cell row="1" col="12" text="보건소부담금"/>
  85. <Cell row="1" col="13" text="사업체부담금"/>
  86. <Cell row="1" col="19" text="감액"/>
  87. </Band>
  88. <Band id="body">
  89. <Cell displaytype="text" edittype="text" text="bind:instcd"/>
  90. <Cell col="1" displaytype="expr:expr:getRowLevel(currow) == 0 ? 'combo' : 'text'" edittype="combo" style="align:center middle;background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:healexamdetlflag" combodataset="ds_init_baseinfo_healexamdetlflaglist_A0069" combocodecol="cdid" combodatacol="cdnm"/>
  91. <Cell col="2" displaytype="text" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:orddeptcd"/>
  92. <Cell col="3" displaytype="text" edittype="text" style="align:center middle;background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:orddeptnm"/>
  93. <Cell col="4" displaytype="text" edittype="text" style="align:center middle;background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:pid"/>
  94. <Cell col="5" displaytype="text" edittype="text" style="align:center middle;background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:rcptdd"/>
  95. <Cell col="6" displaytype="text" edittype="text" style="align:center middle;background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:rcptno"/>
  96. <Cell col="7" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:totamt"/>
  97. <Cell col="8" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:payinsubamt"/>
  98. <Cell col="9" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:payinsucncramt"/>
  99. <Cell col="10" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:payinsuoralamt"/>
  100. <Cell col="11" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:payinsuetcamt"/>
  101. <Cell col="12" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:payhealcntramt"/>
  102. <Cell col="13" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:cmpyamt"/>
  103. <Cell col="14" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:discamt"/>
  104. <Cell col="15" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:cardamt"/>
  105. <Cell col="16" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:cashamt"/>
  106. <Cell col="17" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:ownuncoamt"/>
  107. <Cell col="18" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:mdlrcptamt"/>
  108. <Cell col="19" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:reduamt"/>
  109. <Cell col="20" displaytype="number" edittype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:restamt"/>
  110. <Cell col="21" style="background:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#7CBBDD' : '');color:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');color2:EXPR(getRowLevel(currow) == 1 ? '#ffffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:rcptrid"/>
  111. </Band>
  112. <Band id="summary">
  113. <Cell/>
  114. <Cell col="1" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="총 계"/>
  115. <Cell col="2" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;"/>
  116. <Cell col="3" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;"/>
  117. <Cell col="4" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;"/>
  118. <Cell col="5" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;"/>
  119. <Cell col="6" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;"/>
  120. <Cell col="7" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('totamt')"/>
  121. <Cell col="8" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('payinsubamt')"/>
  122. <Cell col="9" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('payinsucncramt')"/>
  123. <Cell col="10" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('payinsuoralamt')"/>
  124. <Cell col="11" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('payinsuetcamt')"/>
  125. <Cell col="12" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('payhealcntramt')"/>
  126. <Cell col="13" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('cmpyamt')"/>
  127. <Cell col="14" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('discamt')"/>
  128. <Cell col="15" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('cardamt')"/>
  129. <Cell col="16" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('cashamt')"/>
  130. <Cell col="17" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('ownuncoamt')"/>
  131. <Cell col="18" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('mdlrcptamt')"/>
  132. <Cell col="19" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('reduamt')"/>
  133. <Cell col="20" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;" text="expr:getSum('restamt')"/>
  134. <Cell col="21" displaytype="number" style="background:#99ff99ff;background2:#99ff99ff;color:black;color2:black;font:arial,9,bold;"/>
  135. </Band>
  136. </Format>
  137. </Formats>
  138. </Grid>
  139. <Button position="absolute 1031 763 1087 785" id="btn_save" class="btn4" enable="true" text="저장" anchor="right bottom" onclick="btn_save_onclick"/>
  140. <Button position="absolute 1095 763 1195 785" id="btn_clear" class="btn4" text="실자료 조회" anchor="right bottom" onclick="btn_clear_onclick"/>
  141. <Button position="absolute 1094 62 1147 81" id="button52" class="btn2" taborder="8" text="행추가" anchor="top right" onclick="button52_onclick" visible="false"/>
  142. <Button position="absolute 1149 62 1202 81" id="button53" class="btn5" taborder="9" visible="false" text="행삭제" anchor="top right"/>
  143. <Static id="caption60" text="일일수납마감" class="tit_1" position="absolute 0 0 183 25"/>
  144. </Layout>
  145. </Layouts>
  146. <Objects>
  147. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  148. <srchinstcd/>
  149. <srchhealexamflag/>
  150. <srchorddeptcd/>
  151. <srchpid/>
  152. <srchfromdd/>
  153. <srchtodd/>
  154. <ColumnInfo>
  155. <Column id="srchinstcd" type="STRING" size="256"/>
  156. <Column id="srchhealexamflag" type="STRING" size="256"/>
  157. <Column id="srchorddeptcd" type="STRING" size="256"/>
  158. <Column id="srchpid" type="STRING" size="256"/>
  159. <Column id="srchfromdd" type="STRING" size="256"/>
  160. <Column id="srchtodd" type="STRING" size="256"/>
  161. <Column id="srchdd" type="STRING" size="256"/>
  162. </ColumnInfo>
  163. <Rows>
  164. <Row>
  165. <Col id="srchinstcd"/>
  166. <Col id="srchhealexamflag"/>
  167. <Col id="srchorddeptcd"/>
  168. <Col id="srchpid"/>
  169. <Col id="srchfromdd"/>
  170. <Col id="srchtodd"/>
  171. </Row>
  172. </Rows>
  173. </Dataset>
  174. <Dataset id="ds_main_dyrcptlst_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  175. <ColumnInfo>
  176. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  177. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="소계" prop="TEXT"/>
  178. <Column id="pid" type="STRING" size="256" sumtext="환자의 고유ID"/>
  179. <Column id="rcptdd" type="STRING" size="256" sumtext="영수증 처리일자"/>
  180. <Column id="rcptno" type="STRING" size="256" sumtext="영수증번호"/>
  181. <Column id="totamt" type="INT" size="256" sumtext="총액"/>
  182. <Column id="payinsubamt" type="INT" size="256" sumtext="공단부담금"/>
  183. <Column id="payhealcntramt" type="INT" size="256" sumtext="보건소부담금"/>
  184. <Column id="cmpyamt" type="INT" size="256" sumtext="사업체부담금"/>
  185. <Column id="discamt" type="INT" size="256" sumtext="할인액"/>
  186. <Column id="cardamt" type="INT" size="256" sumtext="카드금액"/>
  187. <Column id="cashamt" type="INT" size="256" sumtext="현금금액"/>
  188. <Column id="ownuncoamt" type="INT" size="256" sumtext="개인미수처리금액"/>
  189. <Column id="mdlrcptamt" type="INT" size="256" sumtext="중간금"/>
  190. <Column id="reduamt" type="INT" size="256" sumtext="감액"/>
  191. <Column id="restamt" type="INT" size="256" sumtext="절사액"/>
  192. <Column id="rcptrid" type="STRING" size="256" sumtext="수납자"/>
  193. <Column id="rntamt" type="INT" size="256" sumtext=""/>
  194. <Column id="payinsucncramt" type="INT" size="256" sumtext="공단암 부담금"/>
  195. <Column id="payinsuoralamt" type="INT" size="256" sumtext="공단구강 부담금"/>
  196. <Column id="payinsuetcamt" type="INT" size="256" sumtext="공단기타 부담금"/>
  197. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  198. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  199. <Column id="onlinecash" type="INT" size="256"/>
  200. </ColumnInfo>
  201. </Dataset>
  202. <Dataset id="ds_init_baseinfo_healexamflag_A0068" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  203. <Dataset id="ds_init_baseinfo_healexamdetlflaglist_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  204. <Dataset id="ds_init_baseinfo_healexamdetlflaglist2_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  205. <Dataset id="ds_init_baseinfo_orddeptcdlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  206. </Objects>
  207. <Bind>
  208. <BindItem id="item0" compid="group2.cmb_healexamflag" propid="value" datasetid="ds_send" columnid="srchhealexamflag"/>
  209. <BindItem id="item1" compid="group2.cmb_orddeptcd" propid="value" datasetid="ds_send" columnid="srchorddeptcd"/>
  210. <BindItem id="item2" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  211. <BindItem id="item3" compid="group2.ipt_todd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  212. <BindItem id="item4" compid="group2.input1" propid="value" datasetid="ds_send" columnid="srchpid"/>
  213. </Bind>
  214. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  215. * System Name :
  216. * Job Name :
  217. * Creator :
  218. * Make Date : 2015-11-13
  219. * Description :
  220. *---------------------------------------------------------------------------------------
  221. * Modify Date Modifier Modify Description
  222. *---------------------------------------------------------------------------------------
  223. * 2015-11-13 Live Converter TF->XP
  224. *
  225. *---------------------------------------------------------------------------------------
  226. ****************************************************************************************/
  227. include "com_commonxp::comm_main.xjs";
  228. include "ast_healthexambasexp::healcombolist.xjs";
  229. function SMAHS01700_oninit(obj:Form, e:InitEventInfo)
  230. {
  231. frmf_initForm(obj);
  232. }
  233. function SMAHS01700_onload(obj:Form, e:LoadEventInfo)
  234. {
  235. grdf_initGrid(grd_dyrcptlst);
  236. ds_send.setColumn(0, "srchinstcd" , sysf_getUserInfo("posinstcd"));
  237. ds_send.setColumn(0, "srchfromdd" , utlf_getCurrentDate());
  238. ds_send.setColumn(0, "srchtodd" , utlf_getCurrentDate());
  239. var arrParam = [{dsNm: "ds_init_baseinfo_healexamflag_A0068", cdGrpId: "A0068"}
  240. ,{dsNm: "ds_init_baseinfo_healexamdetlflaglist_A0069", cdGrpId: "A0069"}
  241. ,{dsNm: "ds_init_baseinfo_healexamdetlflaglist2_A0070", cdGrpId: "A0070"}]
  242. appf_getCodeList(arrParam);
  243. ds_init_baseinfo_healexamflag_A0068.insertRow(0);
  244. for(var i = 0; i < 14; i++)
  245. {
  246. var addRow = ds_init_baseinfo_healexamdetlflaglist_A0069.addRow();
  247. ds_init_baseinfo_healexamdetlflaglist_A0069.setColumn(parseInt(addRow-1), "cdid", ds_init_baseinfo_healexamdetlflaglist2_A0070.getColumn(i, "cdid"));
  248. ds_init_baseinfo_healexamdetlflaglist_A0069.setColumn(parseInt(addRow-1), "cdnm", ds_init_baseinfo_healexamdetlflaglist2_A0070.getColumn(i, "cdnm"));
  249. }
  250. var arrParam2 = [{dsNm: "ds_init_baseinfo_orddeptcdlst", cdGrpId: "G", cdId:"G26"}];
  251. healGetComboList(arrParam2);
  252. ds_send.setColumn(0, "srchhealexamflag", frmf_getMenuParam());
  253. var sUserDeptCd = sysf_getUserInfo("dutplcecd");
  254. if(sUserDeptCd == "2370100000" || sUserDeptCd == "2230000000" || sUserDeptCd == "2110000000" || sUserDeptCd == "2241700000")
  255. {
  256. if(sUserDeptCd == "2370100000")
  257. {
  258. dsf_makeValue(ds_send, "srchhealexamflag", "string", "C", 0);
  259. }
  260. else
  261. {
  262. dsf_makeValue(ds_send, "srchhealexamflag", "string", "G", 0);
  263. }
  264. ds_send.setColumn(0, "srchorddeptcd", sUserDeptCd);
  265. }
  266. else
  267. {
  268. ds_send.setColumn(0, "srchorddeptcd", "ALL");
  269. dsf_makeValue(ds_send, "srchhealexamflag", "string", "G", 0);
  270. }
  271. }
  272. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  273. {
  274. var oParam = {};
  275. oParam.id = "TRAHS00501";
  276. oParam.service = "healexamstatapp.StatRef";
  277. oParam.method = "reqGetRcptEndList";
  278. oParam.inds = "req=ds_send";
  279. oParam.outds = "ds_main_dyrcptlst_item=item";
  280. oParam.async = false;
  281. //oParam.callback = "cf_TRAHS00501";
  282. tranf_submit(oParam);
  283. ds_main_dyrcptlst_item.keystring = "G:healexamdetlflag"
  284. }
  285. function group2_btn_prt_onclick(obj:Button, e:ClickEventInfo)
  286. {
  287. var objDOM = rptf_createDOM();
  288. rptf_setNodeListToDOM(objDOM, "/root/main/dyrcptlst/item", ds_main_dyrcptlst_item);
  289. var objParam = new Object();
  290. objParam.xml_data_XML1 = objDOM.documentElement.source;
  291. objParam.weeknm = String(ds_send.getColumn(0, "srchdd")).toDate().getDayOfWeek("k");
  292. objParam.srchdd = String(ds_send.getColumn(0, "srchdd")).toDate("YYYYMMDD").getDateFormat("YYYY/MM/DD");
  293. var option = "";
  294. rptf_exeReportPreview30(["RPAHS00501"],[objParam], option);
  295. }
  296. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  297. {
  298. var dyrcpt = grdf_getGridUpdateData(grd_dyrcptlst).rowcount;
  299. if(dyrcpt == 0)
  300. {
  301. sysf_messageBox("수정 된 내역이", "I004");
  302. return;
  303. }
  304. var oParam = {};
  305. oParam.id = "TRAHS00501";
  306. oParam.service = "healexamstatapp.StatRef";
  307. oParam.method = "reqExeRcptEndList";
  308. oParam.inds = "req=ds_main_dyrcptlst_item:u";
  309. oParam.outds = "";
  310. oParam.typeStr = "m";
  311. oParam.async = false;
  312. //oParam.callback = "cf_TRAHS00501";
  313. tranf_submit(oParam);
  314. }
  315. function btn_clear_onclick(obj:Button, e:ClickEventInfo)
  316. {
  317. var oParam = {};
  318. oParam.id = "TRAHS00501";
  319. oParam.service = "healexamstatapp.StatRef";
  320. oParam.method = "reqGetDailyRcptList";
  321. oParam.inds = "req=ds_send";
  322. oParam.outds = "ds_main_dyrcptlst_item=item";
  323. oParam.async = false;
  324. oParam.callback = "cf_TRAHS00501";
  325. tranf_submit(oParam);
  326. }
  327. function cf_TRAHS00501(sSvcId, nErrorCode, sErrorMsg)
  328. {
  329. if(nErrorCode < 0) return;
  330. else
  331. {
  332. for(var i = 0; i < ds_main_dyrcptlst_item.rowcount; i++)
  333. {
  334. ds_main_dyrcptlst_item.updatecontrol = false;
  335. ds_main_dyrcptlst_item.setRowType(i, "i");
  336. ds_main_dyrcptlst_item.updatecontrol = true;
  337. }
  338. }
  339. }
  340. function button52_onclick(obj:Button, e:ClickEventInfo)
  341. {
  342. var addRow = ds_main_dyrcptlst_item.addRow()
  343. ds_main_dyrcptlst_item.setColumn(addRow, "rcptdd", ds_send.getColumn(0, "srchdd"));
  344. }
  345. ]]></Script>
  346. </Form>
  347. </FDL>