SMAHR00920_통합건진상세수익분류.xfdl 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHR00920" position="absolute 0 0 1207 740" titletext="통합건진 상세수익분류" onload="SMAHR00920_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group4" scrollbars="autoboth" position="absolute 0 13 1195 733" style="" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 76 1195 87" style="" anchor="left top right"/>
  11. <Div id="group5" position="absolute 0 12 1193 53" style="align: top;" class="div_SA" anchor="left top right">
  12. <Layouts>
  13. <Layout>
  14. <Static id="caption11" class="search_name" position="absolute 214 13 295 30" style="" text="기준일자 :" anchor="default"/>
  15. <Static id="caption12" class="search_name" position="absolute 536 12 614 29" style="" text="사업체 :" anchor="default"/>
  16. <Shape id="line7" linetype="vertical" position="absolute 1110 11 1113 31" anchor="top right" class="line_4"/>
  17. <Calendar id="ipt_srchfromdd" class="input_s_essential" position="absolute 291 11 396 30" style="" anchor="default" autoselect="true"/>
  18. <Calendar id="ipt_srchtodd" class="input_s_essential" position="absolute 414 12 519 31" style="" anchor="default" autoselect="true"/>
  19. <Edit id="ipt_srchcmpycd" class="input_search" position="absolute 596 11 686 30" style="" anchor="default" onkeydown="group4_group5_ipt_srchcmpycd_onkeydown" autoselect="true"/>
  20. <Button id="btn_selcmpy" class="icon_search" position="absolute 691 11 707 27" style="" text="" onclick="group4_group5_btn_selcmpy_onclick" anchor="default"/>
  21. <Edit id="opt_srchcmpynm" class="output_fix" position="absolute 713 11 829 30" style="" anchor="default" readonly="true" autoselect="true"/>
  22. <Button id="btn_search" class="btn1" position="absolute 1123 10 1179 32" style="" text="조회" onclick="group4_group5_btn_search_onclick" anchor="top right"/>
  23. <Static id="caption19" class="search_n_b" position="absolute 400 12 412 29" style="font:,,bolder;" text="~" anchor="default"/>
  24. <Static id="caption2" class="search_name" position="absolute 841 13 919 30" style="" text="건진장소 :" anchor="default"/>
  25. <Combo innerdataset="ds_init_baseinfo_plceflag_A0110" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="combo1" position="absolute 919 11 994 30" style="" onitemchanged="group4_group5_combo1_onitemchanged" anchor="default"/>
  26. <Combo innerdataset="@ds_init_baseinfo_healexamdetlflag_A0070" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_srchhealexamdetlflag" class="combo_search" position="absolute 110 12 200 31" style="" onitemchanged="group4_group5_cmb_srchhealexamdetlflag_onitemchanged" anchor="default"/>
  27. <Static id="caption9" class="search_name" position="absolute 5 12 122 29" style="" text="건진상세분류 :" anchor="default"/>
  28. </Layout>
  29. </Layouts>
  30. </Div>
  31. <Static id="caption1" class="tit_2" position="absolute 0 62 151 83" style="" text="상세현황" anchor="default"/>
  32. <Grid id="grd_prntlst" binddataset="ds_main_detlinfo_item" position="absolute 0 83 1195 717" style="" onaftersort="group4_grd_prntlst_onaftersort" cellsizingtype="col" anchor="all">
  33. <Formats>
  34. <Format id="default">
  35. <Columns>
  36. <Column size="23"/>
  37. <Column size="115"/>
  38. <Column size="115"/>
  39. <Column size="150"/>
  40. <Column size="90"/>
  41. <Column size="80"/>
  42. <Column size="110"/>
  43. <Column size="80"/>
  44. <Column size="70"/>
  45. <Column size="80"/>
  46. <Column size="80"/>
  47. <Column size="80"/>
  48. <Column size="80"/>
  49. <Column size="80"/>
  50. </Columns>
  51. <Rows>
  52. <Row size="24" band="head"/>
  53. <Row size="24"/>
  54. </Rows>
  55. <Band id="head">
  56. <Cell/>
  57. <Cell col="1" text="건진구분명"/>
  58. <Cell col="2" text="건진상세구분명"/>
  59. <Cell col="3" text="사업장명"/>
  60. <Cell col="4" text="환자번호"/>
  61. <Cell col="5" text="성명"/>
  62. <Cell col="6" text="주민등록번호"/>
  63. <Cell col="7" text="건진일자"/>
  64. <Cell col="8" text="수납구분"/>
  65. <Cell col="9" text="총발생금액"/>
  66. <Cell col="10" text="개인금액"/>
  67. <Cell col="11" text="공단금액"/>
  68. <Cell col="12" text="보건소금액"/>
  69. <Cell col="13" text="단체금액"/>
  70. <Cell col="14" text="A01"/>
  71. <Cell col="15" text="A02"/>
  72. <Cell col="16" text="A03"/>
  73. <Cell col="17" text="A04"/>
  74. <Cell col="18" text="A05"/>
  75. <Cell col="19" text="A06"/>
  76. <Cell col="20" text="A07"/>
  77. <Cell col="21" text="A08"/>
  78. <Cell col="22" text="A09"/>
  79. <Cell col="23" text="A10"/>
  80. <Cell col="24" text="A11"/>
  81. <Cell col="25" text="A12"/>
  82. <Cell col="26" text="A13"/>
  83. <Cell col="27" text="A14"/>
  84. <Cell col="28" text="A15"/>
  85. <Cell col="29" text="A16"/>
  86. <Cell col="30" text="A17"/>
  87. <Cell col="31" text="A18"/>
  88. <Cell col="32" text="A19"/>
  89. <Cell col="33" text="A20"/>
  90. <Cell col="34" text="A21"/>
  91. <Cell col="35" text="A22"/>
  92. <Cell col="36" text="A23"/>
  93. <Cell col="37" text="A24"/>
  94. <Cell col="38" text="A25"/>
  95. <Cell col="39" text="A26"/>
  96. <Cell col="40" text="A27"/>
  97. <Cell col="41" text="A28"/>
  98. <Cell col="42" text="A29"/>
  99. <Cell col="43" text="TESTNM"/>
  100. <Cell col="44" text="소견 및 조치사항내용"/>
  101. <Cell col="45" text="판정일정"/>
  102. <Cell col="46" text="판정의ID"/>
  103. <Cell col="47" text="의사명"/>
  104. <Cell col="48" text="의사면허번호"/>
  105. <Cell col="49" text="TBDD"/>
  106. <Cell col="50" text="관리기관코드"/>
  107. <Cell col="51" text="조합명"/>
  108. <Cell col="52" text="기관코드"/>
  109. <Cell col="53" text="건진구분"/>
  110. <Cell col="54" text="INSTCD_1"/>
  111. <Cell col="55" text="orddd"/>
  112. </Band>
  113. <Band id="body">
  114. <Cell celltype="head" expr="currow+1"/>
  115. <Cell col="1" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:cdnm1" suppress="1" suppressalign="middle,over"/>
  116. <Cell col="2" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:cdnm2" suppress="1" suppressalign="middle,over"/>
  117. <Cell col="3" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:cmpynm" suppress="1" suppressalign="middle,over"/>
  118. <Cell col="4" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:pid"/>
  119. <Cell col="5" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:hngnm"/>
  120. <Cell col="6" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:rrgstno"/>
  121. <Cell col="7" displaytype="date" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:hopedd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  122. <Cell col="8" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:sngbn"/>
  123. <Cell col="9" displaytype="number" edittype="masknumber" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:totpayamt"/>
  124. <Cell col="10" displaytype="number" edittype="masknumber" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:payownbamt"/>
  125. <Cell col="11" displaytype="number" edittype="masknumber" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:payinsubamt"/>
  126. <Cell col="12" displaytype="number" edittype="masknumber" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:payhealcntrbamt"/>
  127. <Cell col="13" displaytype="number" edittype="masknumber" style="background:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');background2:EXPR(pid == '환자수' ? '#7CBBDD' : pid == '총환자수' ? '#808080' : '');font:EXPR(pid == '환자수' ? 'dotum,9,bold' : pid == '총환자수' ? 'dotum,9,bold' : '');" text="bind:paycmpybamt"/>
  128. </Band>
  129. </Format>
  130. </Formats>
  131. </Grid>
  132. <Button id="btn_excelsave" class="btn7" visible="true" position="absolute 1021 21 1101 43" style="" text="엑셀저장" onclick="group4_btn_excelsave_onclick" anchor="top right"/>
  133. </Layout>
  134. </Layouts>
  135. </Div>
  136. <Div id="group2" scrollbars="autoboth" position="absolute 0 756 1195 784" style=""/>
  137. <Static id="caption6" text="통합건진 상세수익분류" class="tit_1" position="absolute 0 0 184 25"/>
  138. </Layout>
  139. </Layouts>
  140. <Objects>
  141. <Dataset id="ds_main_fstrsltinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  142. <ColumnInfo>
  143. <Column id="itemasso" type="STRING" size="256"/>
  144. <Column id="itemjudg" type="STRING" size="256"/>
  145. </ColumnInfo>
  146. <Rows>
  147. <Row>
  148. <Col id="itemasso"/>
  149. <Col id="itemjudg"/>
  150. </Row>
  151. </Rows>
  152. </Dataset>
  153. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  154. <ColumnInfo>
  155. <Column id="hidden" type="STRING" size="256"/>
  156. </ColumnInfo>
  157. <Rows>
  158. <Row>
  159. <Col id="hidden"/>
  160. </Row>
  161. </Rows>
  162. </Dataset>
  163. <Dataset id="ds_init_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  164. <ColumnInfo>
  165. <Column id="plceflag" type="STRING" size="256"/>
  166. </ColumnInfo>
  167. <Rows>
  168. <Row>
  169. <Col id="plceflag"/>
  170. </Row>
  171. </Rows>
  172. </Dataset>
  173. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  174. <ColumnInfo/>
  175. </Dataset>
  176. <Dataset id="ds_temp_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  177. <ColumnInfo>
  178. <Column id="pid" type="STRING" size="256"/>
  179. <Column id="hngnm" type="STRING" size="256"/>
  180. </ColumnInfo>
  181. </Dataset>
  182. <Dataset id="ds_init_baseinfo_healexamflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  183. <ColumnInfo/>
  184. </Dataset>
  185. <Dataset id="ds_init_baseinfo_healexamdetlflag_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  186. <ColumnInfo>
  187. <Column id="cdid" type="STRING" size="256"/>
  188. <Column id="cdnm" type="STRING" size="256"/>
  189. </ColumnInfo>
  190. <Rows>
  191. <Row>
  192. <Col id="cdid"/>
  193. <Col id="cdnm"/>
  194. </Row>
  195. </Rows>
  196. </Dataset>
  197. <Dataset id="ds_init_baseinfo_healexamdetlflag_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  198. <ColumnInfo/>
  199. </Dataset>
  200. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  201. <ColumnInfo/>
  202. </Dataset>
  203. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  204. <ColumnInfo>
  205. <Column id="preview" type="STRING" size="256"/>
  206. </ColumnInfo>
  207. </Dataset>
  208. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  209. <ColumnInfo>
  210. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  211. <Column id="srchhealexamflag" type="STRING" size="256"/>
  212. <Column id="srchfromdd" type="STRING" size="256"/>
  213. <Column id="srchtodd" type="STRING" size="256"/>
  214. <Column id="srchcmpycd" type="STRING" size="256"/>
  215. <Column id="srchcmpynm" type="STRING" size="256"/>
  216. <Column id="srchinstcd" type="STRING" size="256"/>
  217. <Column id="srchcondd" type="STRING" size="256"/>
  218. <Column id="srchcontype" type="STRING" size="256"/>
  219. <Column id="srchpkgcd" type="STRING" size="256"/>
  220. <Column id="srchstatflag" type="STRING" size="256"/>
  221. <Column id="srchpid" type="STRING" size="256"/>
  222. <Column id="srchhngnm" type="STRING" size="256"/>
  223. <Column id="srchrsrvdd" type="STRING" size="256"/>
  224. <Column id="srchrsrvno" type="STRING" size="256"/>
  225. <Column id="srchplceflag" type="STRING" size="256"/>
  226. </ColumnInfo>
  227. <Rows>
  228. <Row>
  229. <Col id="srchhealexamdetlflag"/>
  230. <Col id="srchhealexamflag"/>
  231. <Col id="srchfromdd"/>
  232. <Col id="srchtodd"/>
  233. <Col id="srchcmpycd"/>
  234. <Col id="srchcmpynm"/>
  235. <Col id="srchinstcd"/>
  236. <Col id="srchcondd"/>
  237. <Col id="srchcontype"/>
  238. <Col id="srchpkgcd"/>
  239. <Col id="srchstatflag"/>
  240. <Col id="srchpid"/>
  241. <Col id="srchhngnm"/>
  242. <Col id="srchrsrvdd"/>
  243. <Col id="srchrsrvno"/>
  244. <Col id="srchplceflag"/>
  245. </Row>
  246. </Rows>
  247. </Dataset>
  248. <Dataset id="ds_main_detlinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  249. <ColumnInfo/>
  250. </Dataset>
  251. <Dataset id="ds_main_detlinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  252. <ColumnInfo>
  253. <Column id="cdnm1" type="STRING" size="256"/>
  254. <Column id="cdnm2" type="STRING" size="256"/>
  255. <Column id="cmpynm" type="STRING" size="256"/>
  256. <Column id="pid" type="STRING" size="256"/>
  257. <Column id="hngnm" type="STRING" size="256"/>
  258. <Column id="rrgstno" type="STRING" size="256"/>
  259. <Column id="hopedd" type="STRING" size="256"/>
  260. <Column id="sngbn" type="STRING" size="256"/>
  261. <Column id="totpayamt" type="STRING" size="256"/>
  262. <Column id="payownbamt" type="STRING" size="256"/>
  263. <Column id="payinsubamt" type="STRING" size="256"/>
  264. <Column id="payhealcntrbamt" type="STRING" size="256"/>
  265. <Column id="paycmpybamt" type="STRING" size="256"/>
  266. <Column id="sel" type="STRING" size="256"/>
  267. <Column id="healexamdetlflag1" type="STRING" size="256"/>
  268. <Column id="healexamdetlflag2" type="STRING" size="256"/>
  269. <Column id="gubun" type="STRING" size="256"/>
  270. <Column id="cmpycd" type="STRING" size="256"/>
  271. </ColumnInfo>
  272. <Rows>
  273. <Row>
  274. <Col id="cdnm1"/>
  275. <Col id="cdnm2"/>
  276. <Col id="cmpynm"/>
  277. <Col id="pid"/>
  278. <Col id="hngnm"/>
  279. <Col id="rrgstno"/>
  280. <Col id="hopedd"/>
  281. <Col id="sngbn"/>
  282. <Col id="totpayamt"/>
  283. <Col id="payownbamt"/>
  284. <Col id="payinsubamt"/>
  285. <Col id="payhealcntrbamt"/>
  286. <Col id="paycmpybamt"/>
  287. <Col id="sel"/>
  288. <Col id="healexamdetlflag1"/>
  289. <Col id="healexamdetlflag2"/>
  290. <Col id="gubun"/>
  291. <Col id="cmpycd"/>
  292. </Row>
  293. </Rows>
  294. </Dataset>
  295. <Dataset id="ds_init_baseinfo_healexamdetlflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  296. <ColumnInfo>
  297. <Column id="cdid" type="STRING" size="256"/>
  298. <Column id="cdnm" type="STRING" size="256"/>
  299. </ColumnInfo>
  300. <Rows>
  301. <Row>
  302. <Col id="cdid"/>
  303. <Col id="cdnm"/>
  304. </Row>
  305. </Rows>
  306. </Dataset>
  307. <Dataset id="ds_init_baseinfo_plceflag_A0110" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  308. </Objects>
  309. <Bind>
  310. <BindItem id="item0" compid="group4.group5.ipt_srchfromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  311. <BindItem id="item1" compid="group4.group5.ipt_srchtodd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  312. <BindItem id="item2" compid="group4.group5.ipt_srchcmpycd" propid="value" datasetid="ds_send" columnid="srchcmpycd"/>
  313. <BindItem id="item3" compid="group4.group5.opt_srchcmpynm" propid="value" datasetid="ds_send" columnid="srchcmpynm"/>
  314. <BindItem id="item4" compid="group4.group5.combo1" propid="value" datasetid="ds_send" columnid="srchplceflag"/>
  315. <BindItem id="item5" compid="group4.group5.cmb_srchhealexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
  316. </Bind>
  317. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  318. * System Name :
  319. * Job Name :
  320. * Creator :
  321. * Make Date : 2015-11-13
  322. * Description :
  323. *---------------------------------------------------------------------------------------
  324. * Modify Date Modifier Modify Description
  325. *---------------------------------------------------------------------------------------
  326. * 2015-11-13 Live Converter TF->XP
  327. *
  328. *---------------------------------------------------------------------------------------
  329. ****************************************************************************************/
  330. include "com_commonxp::comm_main.xjs";
  331. include "emr_carecomxp::ENRSignEngine.xjs";
  332. include "ast_commonxp::AST.xjs";
  333. include "com_basiccodexp::ZBC001.xjs";
  334. include "ast_healexamxp::AHA001.xjs";
  335. include "ast_healthexambasexp::healcombolist.xjs";
  336. var vHealExamFlag = "";
  337. var vHealExamDetlFlag = "";
  338. function SMAHR00920_onload(obj:Form, e:LoadEventInfo) {
  339. frmf_initForm(obj);
  340. grdf_initGrid(group4.grd_prntlst);
  341. //grdf_setGridSort(grd_XXX);
  342. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  343. fGetBaseInfo();
  344. fInitInfo();
  345. }
  346. /**========================================================================================================================================
  347. * 초기화
  348. =========================================================================================================================================*/
  349. function fInitInfo(){
  350. var curDt = utlf_getCurrentDate();
  351. ds_send.setColumn(0,"srchfromdd" , curDt);
  352. ds_send.setColumn(0,"srchtodd" , curDt);
  353. //model.refresh();
  354. }
  355. function fGetBaseInfo(){
  356. vHealExamFlag = "G"
  357. //공통코드 조회
  358. var arrParam = [ {dsNm: "ds_init_baseinfo_healexamflag", cdGrpId: "A0068"}
  359. ,{dsNm: "ds_init_baseinfo_healexamdetlflag_A0069", cdGrpId: "A0069"}
  360. ,{dsNm: "ds_init_baseinfo_healexamdetlflag_A0070", cdGrpId: "A0070"}
  361. ,{dsNm: "ds_init_baseinfo_plceflag_A0110", cdGrpId: "A0110"} ];
  362. appf_getCodeList(arrParam);
  363. //건진구분 콤보에 전체가 들어가게 한다.
  364. frmf_addComboItem("group4.group5.combo1","전체","","above");
  365. }
  366. /**========================================================================================================================================
  367. * 상세현황조회
  368. =========================================================================================================================================*/
  369. function fGetRsrvAcptList(){
  370. ds_send.setColumn( 0, "srchinstcd", sysf_getUserInfo("dutplceinstcd") );
  371. var oParam = {};
  372. oParam.id = "TRAHR00931";
  373. oParam.service = "healexamrsltjudgapp.RsltRef";
  374. oParam.method = "reqGetDetlinfoList";
  375. oParam.inds = "req=ds_send";
  376. oParam.outds = "ds_main_detlinfo_item=item";
  377. oParam.async = false;
  378. //oParam.callback = "cf_TRAHR00931";
  379. tranf_submit(oParam);
  380. }
  381. /**========================================================================================================================================
  382. * 그리드 색 바꾸기
  383. =========================================================================================================================================*/
  384. function fSetRcptSum() {
  385. //그리드 merge 및 합계 초기화
  386. // group4.grd_prntlst.autoMerge = false;
  387. // group4.grd_prntlst.mergeCells = "byrestriccol";
  388. //
  389. // group4.grd_prntlst.subtotalPosition = "below";
  390. // group4.grd_prntlst.multiTotals = true;
  391. //
  392. // group4.grd_prntlst.subtotal("clear", 0, 0);
  393. // for(var i =0; i < group4.grd_prntlst.cols ; i++) {
  394. // // 소계
  395. // if(i >= group4.grd_prntlst.colRef("totpayamt") && i <= group4.grd_prntlst.colRef("paycmpybamt")) {
  396. // group4.grd_prntlst.subtotal("sum", group4.grd_prntlst.colRef("cdnm2") , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold ", group4.grd_prntlst.colRef("cdnm2") , "소계" );
  397. // group4.grd_prntlst.subtotal("sum", -1 , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", group4.grd_prntlst.colRef("cdnm1") , "총계" );
  398. // }
  399. // if(i >= group4.grd_prntlst.colRef("hngnm") && i <= group4.grd_prntlst.colRef("hngnm")) {
  400. // group4.grd_prntlst.subtotal("count", group4.grd_prntlst.colRef("cdnm2") , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#ffffff; font-weight:bold ", group4.grd_prntlst.colRef("pid") , "환자수" );
  401. // group4.grd_prntlst.subtotal("count", -1 , i ,"format:(-,+)#,###; roundmode:round; roundpostion:2", "background-color:#808080; color:#ffffff; font-weight:bold ", group4.grd_prntlst.colRef("pid") ,"총환자수" );
  402. // }
  403. //
  404. // /*if (group4.grd_prntlst.valueMatrix(i, group4.grd_prntlst.colRef("cdnm2")) == "소계") {
  405. // group4.grd_prntlst.setCellProprty("body", i, "background", "#7CBBDD"); grd_prntlst.setCellProperty("body", i, "background2", "#7CBBDD");
  406. // }
  407. // // 소계
  408. // if (group4.grd_prntlst.valueMatrix(i, group4.grd_prntlst.colRef("cdnm1")) == "총계") {
  409. // group4.grd_prntlst.setCellProprty("body", i, "background", "#808080"); grd_prntlst.setCellProperty("body", i, "background2", "#808080");
  410. // } */
  411. // }
  412. //
  413. // group4.grd_prntlst.merge();
  414. var sCnt = 0;
  415. var sTot1 = 0;
  416. var sTot2 = 0;
  417. var sTot3 = 0;
  418. var sTot4 = 0;
  419. var sTot5 = 0;
  420. var tCnt = 0;
  421. var tTot1 = 0;
  422. var tTot2 = 0;
  423. var tTot3 = 0;
  424. var tTot4 = 0;
  425. var tTot5 = 0;
  426. var nExamflag = "";
  427. var oExamflag = "";
  428. var tRow = ds_main_detlinfo_item.rowcount;
  429. var iRow = 0;
  430. var nRow = 0;
  431. for(var i=0; i < tRow ; i++) {
  432. if (i == 0) {
  433. nExamflag = ds_main_detlinfo_item.getColumn(iRow,"healexamdetlflag1")+ds_main_detlinfo_item.getColumn(iRow,"healexamdetlflag2");
  434. oExamflag = ds_main_detlinfo_item.getColumn(iRow,"healexamdetlflag1")+ds_main_detlinfo_item.getColumn(iRow,"healexamdetlflag2");
  435. }else{
  436. nExamflag = ds_main_detlinfo_item.getColumn(iRow,"healexamdetlflag1")+ds_main_detlinfo_item.getColumn(iRow,"healexamdetlflag2");
  437. }
  438. if (oExamflag != nExamflag) {
  439. nRow = ds_main_detlinfo_item.insertRow(iRow);
  440. ds_main_detlinfo_item.setColumn(nRow,"cdnm2", "소계");
  441. ds_main_detlinfo_item.setColumn(nRow,"pid", "환자수");
  442. ds_main_detlinfo_item.setColumn(nRow,"hngnm", sCnt);
  443. ds_main_detlinfo_item.setColumn(nRow,"totpayamt", sTot1);
  444. ds_main_detlinfo_item.setColumn(nRow,"payownbamt", sTot2);
  445. ds_main_detlinfo_item.setColumn(nRow,"payinsubamt", sTot3);
  446. ds_main_detlinfo_item.setColumn(nRow,"payhealcntrbamt", sTot4);
  447. ds_main_detlinfo_item.setColumn(nRow,"paycmpybamt", sTot5);
  448. sCnt = 0;
  449. sTot1 = 0;
  450. sTot2 = 0;
  451. sTot3 = 0;
  452. sTot4 = 0;
  453. sTot5 = 0;
  454. iRow++;
  455. }
  456. tCnt = tCnt + 1;
  457. sCnt = sCnt + 1;
  458. tTot1 = tTot1 + ds_main_detlinfo_item.getColumn(iRow,"totpayamt");
  459. tTot2 = tTot2 + ds_main_detlinfo_item.getColumn(iRow,"payownbamt");
  460. tTot3 = tTot3 + ds_main_detlinfo_item.getColumn(iRow,"payinsubamt");
  461. tTot4 = tTot4 + ds_main_detlinfo_item.getColumn(iRow,"payhealcntrbamt");
  462. tTot5 = tTot5 + ds_main_detlinfo_item.getColumn(iRow,"paycmpybamt");
  463. sTot1 = sTot1 + ds_main_detlinfo_item.getColumn(iRow,"totpayamt");
  464. sTot2 = sTot2 + ds_main_detlinfo_item.getColumn(iRow,"payownbamt");
  465. sTot3 = sTot3 + ds_main_detlinfo_item.getColumn(iRow,"payinsubamt");
  466. sTot4 = sTot4 + ds_main_detlinfo_item.getColumn(iRow,"payhealcntrbamt");
  467. sTot5 = sTot5 + ds_main_detlinfo_item.getColumn(iRow,"paycmpybamt");
  468. oExamflag = ds_main_detlinfo_item.getColumn(iRow,"healexamdetlflag1")+ds_main_detlinfo_item.getColumn(iRow,"healexamdetlflag2");
  469. iRow++;
  470. }
  471. nRow = ds_main_detlinfo_item.addRow();
  472. ds_main_detlinfo_item.setColumn(nRow,"cdnm2", "소계");
  473. ds_main_detlinfo_item.setColumn(nRow,"pid", "환자수");
  474. ds_main_detlinfo_item.setColumn(nRow,"hngnm", sCnt);
  475. ds_main_detlinfo_item.setColumn(nRow,"totpayamt", sTot1);
  476. ds_main_detlinfo_item.setColumn(nRow,"payownbamt", sTot2);
  477. ds_main_detlinfo_item.setColumn(nRow,"payinsubamt", sTot3);
  478. ds_main_detlinfo_item.setColumn(nRow,"payhealcntrbamt", sTot4);
  479. ds_main_detlinfo_item.setColumn(nRow,"paycmpybamt", sTot5);
  480. nRow = ds_main_detlinfo_item.addRow();
  481. ds_main_detlinfo_item.setColumn(nRow,"cdnm1", "총계");
  482. ds_main_detlinfo_item.setColumn(nRow,"pid", "총환자수");
  483. ds_main_detlinfo_item.setColumn(nRow,"hngnm", tCnt);
  484. ds_main_detlinfo_item.setColumn(nRow,"totpayamt", tTot1);
  485. ds_main_detlinfo_item.setColumn(nRow,"payownbamt", tTot2);
  486. ds_main_detlinfo_item.setColumn(nRow,"payinsubamt", tTot3);
  487. ds_main_detlinfo_item.setColumn(nRow,"payhealcntrbamt", tTot4);
  488. ds_main_detlinfo_item.setColumn(nRow,"paycmpybamt", tTot5);
  489. }
  490. function group4_group5_btn_selcmpy_onclick(obj:Button, e:ClickEventInfo) {
  491. fGetComnCd("SMAHA01500", "09" , "cd", group4.group5.ipt_srchcmpycd.value, group4.group5.ipt_srchcmpycd ,group4.group5.opt_srchcmpynm);
  492. }
  493. function group4_group5_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  494. ds_main_detlinfo_item.clearData();
  495. fGetRsrvAcptList();
  496. fSetRcptSum();
  497. }
  498. function group4_group5_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  499. fGetRsrvAcptList();
  500. fSetRcptSum();
  501. }
  502. function group4_group5_cmb_srchhealexamdetlflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  503. fGetRsrvAcptList();
  504. fSetRcptSum();
  505. }
  506. function group4_grd_prntlst_onaftersort() {
  507. group4.grd_prntlst.gridToInstance();
  508. }
  509. function group4_btn_excelsave_onclick(obj:Button, e:ClickEventInfo) {
  510. grdf_exportExcel(group4.grd_prntlst,"excel", "Sheet1", true, "" , "" , true);
  511. }
  512. function group4_group5_ipt_srchcmpycd_onkeydown(obj:Edit, e:KeyEventInfo)
  513. {
  514. if(e.keycode == "13") {
  515. group4.group5.btn_selcmpy.click();
  516. }
  517. }
  518. ]]></Script>
  519. </Form>
  520. </FDL>