SMSDT13000_의료협력진료의뢰회신통계.xfdl 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMSDT13000" position="absolute 0 0 1199 793" titletext="의료협력진료의뢰회신통계" oninit="SMSDT13000_oninit" onload="SMSDT13000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid id="grd_brgstincmexpsprescond2" class="datagrid2" taborder="3" binddataset="ds_main_brgstincmexpspres_brgstincmexpsprescond" useinputpanel="false" position="absolute 0 96 1195 760" autoenter="select" cellsizingtype="col" anchor="all">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="25"/>
  12. <Column size="0"/>
  13. <Column size="200"/>
  14. <Column size="65"/>
  15. <Column size="80"/>
  16. <Column size="65"/>
  17. <Column size="75"/>
  18. <Column size="60"/>
  19. <Column size="65"/>
  20. <Column size="80"/>
  21. <Column size="65"/>
  22. <Column size="75"/>
  23. <Column size="60"/>
  24. <Column size="62"/>
  25. <Column size="80"/>
  26. <Column size="62"/>
  27. <Column size="49"/>
  28. </Columns>
  29. <Rows>
  30. <Row size="24" band="head"/>
  31. <Row size="24" band="head"/>
  32. <Row size="24"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell rowspan="2" taborder="undefined"/>
  36. <Cell col="1" text="caption1"/>
  37. <Cell col="2" rowspan="2" text="병(의)원명" taborder="undefined"/>
  38. <Cell col="3" colspan="5" text="전기간실적" taborder="undefined"/>
  39. <Cell col="8" colspan="5" text="조회기간실적" taborder="undefined"/>
  40. <Cell col="13" colspan="4" text="증감" taborder="undefined"/>
  41. <Cell row="1" col="1" text="caption1"/>
  42. <Cell row="1" col="3" text="의뢰건수"/>
  43. <Cell row="1" col="4" text="회신대상건수"/>
  44. <Cell row="1" col="5" text="회신건수"/>
  45. <Cell row="1" col="6" text="회신율(%)"/>
  46. <Cell row="1" col="7" text="N회신"/>
  47. <Cell row="1" col="8" text="의뢰건수"/>
  48. <Cell row="1" col="9" text="회신대상건수"/>
  49. <Cell row="1" col="10" text="회신건수"/>
  50. <Cell row="1" col="11" text="회신율(%)"/>
  51. <Cell row="1" col="12" text="N회신"/>
  52. <Cell row="1" col="13" text="의뢰건수"/>
  53. <Cell row="1" col="14" text="회신대상건수"/>
  54. <Cell row="1" col="15" text="회신건수"/>
  55. <Cell row="1" col="16" text="N회신"/>
  56. </Band>
  57. <Band id="body">
  58. <Cell celltype="head" expr="currow+1"/>
  59. <Cell col="1" text="bind:coophospcd"/>
  60. <Cell col="2" style="align:left middle;padding:2 2 2 2;" text="bind:coophospnm"/>
  61. <Cell col="3" displaytype="number" style="align:center middle;" text="bind:lstreqpcnt"/>
  62. <Cell col="4" displaytype="number" style="align:center middle;" text="bind:lstrepltrgtcnt"/>
  63. <Cell col="5" displaytype="number" style="align:center middle;" text="bind:lstreplcnt"/>
  64. <Cell col="6" displaytype="number" style="align:center middle;" text="bind:lstreplpet" expr="expr:utlf_isNull(lstreplpet) ? 0 : lstreplpet"/>
  65. <Cell col="7" displaytype="number" style="align:center middle;" text="bind:lstreplncnt"/>
  66. <Cell col="8" displaytype="number" style="align:center middle;" text="bind:reqpcnt"/>
  67. <Cell col="9" displaytype="number" style="align:center middle;" text="bind:repltrgtcnt"/>
  68. <Cell col="10" displaytype="number" style="align:center middle;" text="bind:replcnt"/>
  69. <Cell col="11" displaytype="number" style="align:center middle;" text="bind:replpet" expr="expr:utlf_isNull(replpet) ? 0 : replpet"/>
  70. <Cell col="12" displaytype="number" style="align:center middle;" text="bind:replncnt"/>
  71. <Cell col="13" displaytype="number" style="align:center middle;" text="bind:diffreqpcnt"/>
  72. <Cell col="14" displaytype="number" style="align:center middle;" text="bind:diffrepltrgtcnt"/>
  73. <Cell col="15" displaytype="number" style="align:center middle;" text="bind:diffreplcnt"/>
  74. <Cell col="16" displaytype="number" style="align:center middle;" text="bind:diffreplncnt"/>
  75. </Band>
  76. </Format>
  77. </Formats>
  78. </Grid>
  79. <Grid id="grd_brgstincmexpsprescond" class="datagrid2" taborder="4" binddataset="ds_main_brgstincmexpspres_brgstincmexpsprescond" useinputpanel="false" position="absolute 0 96 1195 760" autoenter="select" cellsizingtype="col" anchor="all">
  80. <Formats>
  81. <Format id="default">
  82. <Columns>
  83. <Column size="25"/>
  84. <Column size="0"/>
  85. <Column size="166"/>
  86. <Column size="65"/>
  87. <Column size="80"/>
  88. <Column size="77"/>
  89. <Column size="77"/>
  90. <Column size="43"/>
  91. <Column size="65"/>
  92. <Column size="80"/>
  93. <Column size="77"/>
  94. <Column size="77"/>
  95. <Column size="49"/>
  96. <Column size="62"/>
  97. <Column size="80"/>
  98. <Column size="77"/>
  99. <Column size="45"/>
  100. </Columns>
  101. <Rows>
  102. <Row size="24" band="head"/>
  103. <Row size="24" band="head"/>
  104. <Row size="24"/>
  105. </Rows>
  106. <Band id="head">
  107. <Cell rowspan="2" taborder="undefined"/>
  108. <Cell col="1" text="caption1"/>
  109. <Cell col="2" rowspan="2" text="협력병(의)원명" taborder="undefined"/>
  110. <Cell col="3" colspan="5" text="전기간실적" taborder="undefined"/>
  111. <Cell col="8" colspan="5" text="조회기간실적" taborder="undefined"/>
  112. <Cell col="13" colspan="4" text="증감" taborder="undefined"/>
  113. <Cell row="1" col="1" text="caption1"/>
  114. <Cell row="1" col="3" text="의뢰건수"/>
  115. <Cell row="1" col="4" text="회신대상건수"/>
  116. <Cell row="1" col="5" text="회신건수"/>
  117. <Cell row="1" col="6" text="회신율(%)"/>
  118. <Cell row="1" col="7" text="N회신"/>
  119. <Cell row="1" col="8" text="의뢰건수"/>
  120. <Cell row="1" col="9" text="회신대상건수"/>
  121. <Cell row="1" col="10" text="회신건수"/>
  122. <Cell row="1" col="11" text="회신율(%)"/>
  123. <Cell row="1" col="12" text="N회신"/>
  124. <Cell row="1" col="13" text="의뢰건수"/>
  125. <Cell row="1" col="14" text="회신대상건수"/>
  126. <Cell row="1" col="15" text="회신건수"/>
  127. <Cell row="1" col="16" text="N회신"/>
  128. </Band>
  129. <Band id="body">
  130. <Cell celltype="head" expr="currow+1"/>
  131. <Cell col="1" text="bind:coophospcd"/>
  132. <Cell col="2" style="align:left top;padding:5 2 3 2;" text="bind:coophospnm" wordwrap="word"/>
  133. <Cell col="3" displaytype="number" style="align:center middle;" text="bind:lstreqpcnt"/>
  134. <Cell col="4" displaytype="number" style="align:center middle;" text="bind:lstrepltrgtcnt"/>
  135. <Cell col="5" displaytype="number" style="align:center middle;" text="bind:lstreplcnt"/>
  136. <Cell col="6" displaytype="number" style="align:center middle;" text="bind:lstreplpet" expr="expr:utlf_isNull(lstreplpet) ? 0 : lstreplpet"/>
  137. <Cell col="7" displaytype="number" style="align:center middle;" text="bind:lstreplncnt"/>
  138. <Cell col="8" displaytype="number" style="align:center middle;" text="bind:reqpcnt"/>
  139. <Cell col="9" displaytype="number" style="align:center middle;" text="bind:repltrgtcnt"/>
  140. <Cell col="10" displaytype="number" style="align:center middle;" text="bind:replcnt"/>
  141. <Cell col="11" displaytype="number" style="align:center middle;" text="bind:replpet" expr="expr:utlf_isNull(replpet) ? 0 : replpet"/>
  142. <Cell col="12" displaytype="number" style="align:center middle;" text="bind:replncnt"/>
  143. <Cell col="13" displaytype="number" style="align:center middle;" text="bind:diffreqpcnt"/>
  144. <Cell col="14" displaytype="number" style="align:center middle;" text="bind:diffrepltrgtcnt"/>
  145. <Cell col="15" displaytype="number" style="align:center middle;" text="bind:diffreplcnt"/>
  146. <Cell col="16" displaytype="number" style="align:center middle;" text="bind:diffreplncnt"/>
  147. </Band>
  148. </Format>
  149. </Formats>
  150. </Grid>
  151. <Grid id="grd_brgstincmexpsprescond3" class="datagrid2" taborder="2" binddataset="ds_main_brgstincmexpspres_brgstincmexpsprescond" useinputpanel="false" position="absolute 0 96 1195 760" autoenter="select" cellsizingtype="col" anchor="all">
  152. <Formats>
  153. <Format id="default">
  154. <Columns>
  155. <Column size="25"/>
  156. <Column size="0"/>
  157. <Column size="158"/>
  158. <Column size="0"/>
  159. <Column size="72"/>
  160. <Column size="70"/>
  161. <Column size="83"/>
  162. <Column size="65"/>
  163. <Column size="70"/>
  164. <Column size="55"/>
  165. <Column size="70"/>
  166. <Column size="83"/>
  167. <Column size="65"/>
  168. <Column size="70"/>
  169. <Column size="55"/>
  170. <Column size="59"/>
  171. <Column size="83"/>
  172. <Column size="60"/>
  173. <Column size="43"/>
  174. </Columns>
  175. <Rows>
  176. <Row size="24" band="head"/>
  177. <Row size="24" band="head"/>
  178. <Row size="24"/>
  179. </Rows>
  180. <Band id="head">
  181. <Cell rowspan="2" taborder="undefined"/>
  182. <Cell col="1" text="caption1"/>
  183. <Cell col="2" rowspan="2" text="진료과" taborder="undefined"/>
  184. <Cell col="3" text="caption2"/>
  185. <Cell col="4" rowspan="2" text="의사명" taborder="undefined"/>
  186. <Cell col="5" colspan="5" text="전기간실적" taborder="undefined"/>
  187. <Cell col="10" colspan="5" text="조회기간실적" taborder="undefined"/>
  188. <Cell col="15" colspan="4" text="증감" taborder="undefined"/>
  189. <Cell row="1" col="1" text="caption1"/>
  190. <Cell row="1" col="3" text="caption2"/>
  191. <Cell row="1" col="5" text="의뢰건수"/>
  192. <Cell row="1" col="6" text="회신대상건수"/>
  193. <Cell row="1" col="7" text="회신건수"/>
  194. <Cell row="1" col="8" text="회신율(%)"/>
  195. <Cell row="1" col="9" text="N회신"/>
  196. <Cell row="1" col="10" text="의뢰건수"/>
  197. <Cell row="1" col="11" text="회신대상건수"/>
  198. <Cell row="1" col="12" text="회신건수"/>
  199. <Cell row="1" col="13" text="회신율(%)"/>
  200. <Cell row="1" col="14" text="N회신"/>
  201. <Cell row="1" col="15" text="의뢰건수"/>
  202. <Cell row="1" col="16" text="회신대상건수"/>
  203. <Cell row="1" col="17" text="회신건수"/>
  204. <Cell row="1" col="18" text="N회신"/>
  205. </Band>
  206. <Band id="body">
  207. <Cell celltype="head" expr="currow+1"/>
  208. <Cell col="1" text="bind:orddeptcd"/>
  209. <Cell col="2" style="align:left middle;padding:2 2 2 2;" text="bind:depthngnm" suppress="1" suppressalign="middle,over"/>
  210. <Cell col="3" text="bind:orddrid"/>
  211. <Cell col="4" text="bind:orddrnm"/>
  212. <Cell col="5" displaytype="number" style="align:center middle;" text="bind:lstreqpcnt"/>
  213. <Cell col="6" displaytype="number" style="align:center middle;" text="bind:lstrepltrgtcnt"/>
  214. <Cell col="7" displaytype="number" style="align:center middle;" text="bind:lstreplcnt"/>
  215. <Cell col="8" displaytype="number" style="align:center middle;" text="bind:lstreplpet" expr="expr:utlf_isNull(lstreplpet) ? 0 : lstreplpet"/>
  216. <Cell col="9" displaytype="number" style="align:center middle;" text="bind:lstreplncnt"/>
  217. <Cell col="10" displaytype="number" style="align:center middle;" text="bind:reqpcnt"/>
  218. <Cell col="11" displaytype="number" style="align:center middle;" text="bind:repltrgtcnt"/>
  219. <Cell col="12" displaytype="number" style="align:center middle;" text="bind:replcnt"/>
  220. <Cell col="13" displaytype="number" style="align:center middle;" text="bind:replpet" expr="expr:utlf_isNull(replpet) ? 0 : replpet"/>
  221. <Cell col="14" displaytype="number" style="align:center middle;" text="bind:replncnt"/>
  222. <Cell col="15" displaytype="number" style="align:center middle;" text="bind:diffreqpcnt"/>
  223. <Cell col="16" displaytype="number" style="align:center middle;" text="bind:diffrepltrgtcnt"/>
  224. <Cell col="17" displaytype="number" style="align:center middle;" text="bind:diffreplcnt"/>
  225. <Cell col="18" displaytype="number" style="align:center middle;" text="bind:diffreplncnt"/>
  226. </Band>
  227. </Format>
  228. </Formats>
  229. </Grid>
  230. <Static id="caption6" text="의료협력진료의뢰/회신통계" class="tit_1" position="absolute 0 0 230 24"/>
  231. <Static id="caption21" text="의료협력진료의뢰회신통계" class="tit_2" position="absolute 0 75 232 97"/>
  232. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 90 1195 99" anchor="left top right"/>
  233. <Div id="group4" taborder="5" class="div_SA" position="absolute 0 24 1195 64" anchor="left top right">
  234. <Layouts>
  235. <Layout>
  236. <cp_monthCal id="ipt_fromdd" titletext="monthCalendar" taborder="14" text="cp_monthCal00" scrollbars="none" position="absolute 80 10 148 30"/>
  237. <cp_monthCal id="ipt_todd" titletext="monthCalendar" taborder="15" text="cp_monthCal00" scrollbars="none" position="absolute 169 10 237 30"/>
  238. <Button id="button2" taborder="6" text="조회" class="btn1" position="absolute 1125 9 1181 31" anchor="top right" onclick="group4_button2_onclick"/>
  239. <Shape id="line2" linetype="vertical" position="absolute 1112 9 1118 31" anchor="top right"/>
  240. <Radio id="rdo_achivflag" taborder="7" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 482 9 922 32" onitemchanged="group4_rdo_achivflag_onitemchanged" index="-1">
  241. <Dataset id="innerdataset">
  242. <ColumnInfo>
  243. <Column id="codecolumn" size="256"/>
  244. <Column id="datacolumn" size="256"/>
  245. </ColumnInfo>
  246. <Rows>
  247. <Row>
  248. <Col id="codecolumn">6</Col>
  249. <Col id="datacolumn">협력병의원별</Col>
  250. </Row>
  251. <Row>
  252. <Col id="codecolumn">1</Col>
  253. <Col id="datacolumn">협력병원별</Col>
  254. </Row>
  255. <Row>
  256. <Col id="codecolumn">5</Col>
  257. <Col id="datacolumn">협력의원별</Col>
  258. </Row>
  259. <Row>
  260. <Col id="codecolumn">2</Col>
  261. <Col id="datacolumn">병의원별</Col>
  262. </Row>
  263. <Row>
  264. <Col id="codecolumn">3</Col>
  265. <Col id="datacolumn">진료과별</Col>
  266. </Row>
  267. <Row>
  268. <Col id="codecolumn">4</Col>
  269. <Col id="datacolumn">의사별</Col>
  270. </Row>
  271. </Rows>
  272. </Dataset>
  273. </Radio>
  274. <Static id="caption23" text="조회구분 :" class="search_name" position="absolute 256 8 342 32"/>
  275. <Combo id="cmb_reqflag" taborder="8" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 335 11 403 30" onitemchanged="group4_cmb_reqflag_onitemchanged">
  276. <Dataset id="innerdataset">
  277. <ColumnInfo>
  278. <Column id="codecolumn"/>
  279. <Column id="datacolumn"/>
  280. </ColumnInfo>
  281. <Rows>
  282. <Row>
  283. <Col id="codecolumn">1</Col>
  284. <Col id="datacolumn">월별</Col>
  285. </Row>
  286. <Row>
  287. <Col id="codecolumn">2</Col>
  288. <Col id="datacolumn">년도별</Col>
  289. </Row>
  290. </Rows>
  291. </Dataset>
  292. </Combo>
  293. <Static id="cap1" text="~" position="absolute 152 10 169 30"/>
  294. <Static id="caption2" text="조회기간" class="search_name" position="absolute 9 5 77 35"/>
  295. <Static id="caption3" text="분류 :" class="search_name" position="absolute 422 8 483 34"/>
  296. <Combo id="cmb_hospgrade" taborder="11" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 1002 11 1109 30" onitemchanged="group4_cmb_hospgrade_onitemchanged">
  297. <Dataset id="innerdataset">
  298. <ColumnInfo>
  299. <Column id="codecolumn"/>
  300. <Column id="datacolumn"/>
  301. </ColumnInfo>
  302. <Rows>
  303. <Row>
  304. <Col id="codecolumn">1</Col>
  305. <Col id="datacolumn">회신건수기준</Col>
  306. </Row>
  307. <Row>
  308. <Col id="codecolumn">2</Col>
  309. <Col id="datacolumn">의뢰등록일기준</Col>
  310. </Row>
  311. </Rows>
  312. </Dataset>
  313. </Combo>
  314. <CheckBox id="chk_dentalyn" taborder="12" text="치과제외" truevalue="Y" position="absolute 918 11 991 31" onclick="group4_chk_dentalyn_onclick"/>
  315. <Calendar id="ipt_fromentryy" taborder="13" class="input_search" position="absolute 90 10 148 30" mask="yyyy" autoselect="true" dateformat="yyyy" value="null" editformat="yyyy" onchanged="group4_ipt_fromentryy_onchanged"/>
  316. </Layout>
  317. </Layouts>
  318. </Div>
  319. <Button id="btn_excel" taborder="6" text="엑셀저장" class="btn7" position="absolute 1115 72 1195 91" anchor="top right" onclick="btn_excel_onclick"/>
  320. <Static id="caption1" text="기준" position="absolute 184 77 1014 89"/>
  321. <Shape id="line37" linetype="horizontal" class="line_6" position="absolute 0 761 1195 767" anchor="left right bottom"/>
  322. <Button id="btn_search0" taborder="7" text="초기화" class="btn4" position="absolute 1127 766 1195 788" anchor="right bottom" onclick="btn_search0_onclick"/>
  323. </Layout>
  324. </Layouts>
  325. <Objects>
  326. <Dataset id="ds_main_brgstincmexpspres_brgstincmexpsprescond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  327. <ColumnInfo>
  328. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  329. <Column id="depthngnm" type="STRING" size="256" sumtext="진료과명"/>
  330. <Column id="ordclsdeptflag" type="STRING" size="256" sumtext="분과표시"/>
  331. <Column id="orddrid" type="STRING" size="256" sumtext="의사id"/>
  332. <Column id="orddrnm" type="STRING" size="256" sumtext="의사명"/>
  333. <Column id="coophospcd" type="STRING" size="256" sumtext="병원코드"/>
  334. <Column id="coophospnm" type="STRING" size="256" sumtext="병원명"/>
  335. <Column id="lstreqpcnt" type="INT" size="256" sumtext="전월의뢰건수"/>
  336. <Column id="lstrepltrgtcnt" type="INT" size="256" sumtext="전월회신대상건수"/>
  337. <Column id="lstreplcnt" type="INT" size="256" sumtext="전월회신건수"/>
  338. <Column id="lstreplncnt" type="INT" size="256" sumtext="전월간호사회신건수"/>
  339. <Column id="lstreplpet" type="INT" size="256" sumtext="전월회신율"/>
  340. <Column id="reqpcnt" type="FLOAT" size="256" sumtext="당월의뢰건수"/>
  341. <Column id="repltrgtcnt" type="INT" size="256" sumtext="당월회신대상건수"/>
  342. <Column id="replcnt" type="INT" size="256" sumtext="당월회신건수"/>
  343. <Column id="replncnt" type="INT" size="256" sumtext="당월간호사회신건수"/>
  344. <Column id="replpet" type="INT" size="256" sumtext="당월회신율"/>
  345. <Column id="diffreqpcnt" type="INT" size="256" sumtext="증감의뢰건수"/>
  346. <Column id="diffrepltrgtcnt" type="INT" size="256" sumtext="증감회신대상건수"/>
  347. <Column id="diffreplcnt" type="INT" size="256" sumtext="증감회신건수"/>
  348. <Column id="diffreplncnt" type="INT" size="256" sumtext="증감간호사회신건수"/>
  349. <Column id="diffreplpet" type="INT" size="256" sumtext="증감회신율"/>
  350. </ColumnInfo>
  351. </Dataset>
  352. <Dataset id="ds_main_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  353. <ColumnInfo>
  354. <Column id="reqflag" type="STRING" size="256"/>
  355. <Column id="fromdd" type="STRING" size="256"/>
  356. <Column id="todd" type="STRING" size="256"/>
  357. <Column id="hospgrade" type="STRING" size="256"/>
  358. <Column id="achivflag" type="STRING" size="256"/>
  359. <Column id="fromentryy" type="STRING" size="256"/>
  360. <Column id="flag" type="STRING" size="256"/>
  361. <Column id="dentalyn" type="STRING" size="256"/>
  362. </ColumnInfo>
  363. <Rows>
  364. <Row>
  365. <Col id="reqflag">1</Col>
  366. <Col id="fromdd"/>
  367. <Col id="todd"/>
  368. <Col id="hospgrade"/>
  369. <Col id="achivflag">6</Col>
  370. <Col id="fromentryy"/>
  371. <Col id="flag"/>
  372. <Col id="dentalyn"/>
  373. </Row>
  374. </Rows>
  375. </Dataset>
  376. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  377. </Objects>
  378. <Bind>
  379. <BindItem id="item2" compid="group4.ipt_fromentryy" propid="value" datasetid="ds_main_search" columnid="fromentryy"/>
  380. <BindItem id="item3" compid="group4.cmb_reqflag" propid="value" datasetid="ds_main_search" columnid="reqflag"/>
  381. <BindItem id="item4" compid="group4.rdo_achivflag" propid="value" datasetid="ds_main_search" columnid="achivflag"/>
  382. <BindItem id="item5" compid="group4.chk_dentalyn" propid="value" datasetid="ds_main_search" columnid="dentalyn"/>
  383. <BindItem id="item6" compid="group4.cmb_hospgrade" propid="value" datasetid="ds_main_search" columnid="hospgrade"/>
  384. </Bind>
  385. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  386. * System Name :
  387. * Job Name :
  388. * Creator :
  389. * Make Date : 2016-05-24
  390. * Description :
  391. *---------------------------------------------------------------------------------------
  392. * Modify Date Modifier Modify Description
  393. *---------------------------------------------------------------------------------------
  394. * 2016-05-24 Live Converter TF->XP
  395. *
  396. *---------------------------------------------------------------------------------------
  397. ****************************************************************************************/
  398. include "com_commonxp::comm_main.xjs";
  399. function SMSDT13000_oninit(obj:Form, e:InitEventInfo)
  400. {
  401. frmf_initForm(obj);
  402. }
  403. function SMSDT13000_onload(obj:Form, e:LoadEventInfo)
  404. {
  405. grdf_initGrid(grd_brgstincmexpsprescond);
  406. grdf_initGrid(grd_brgstincmexpsprescond2);
  407. grdf_initGrid(grd_brgstincmexpsprescond3);
  408. fInit();
  409. }
  410. function fn_Cal_fromdd()
  411. {
  412. var fromdd = group4.ipt_fromdd.getData();
  413. ds_main_search.setColumn(0, "fromdd", fromdd);
  414. }
  415. function fn_Cal_todd()
  416. {
  417. var todd = group4.ipt_todd.getData();
  418. ds_main_search.setColumn(0, "todd", todd);
  419. }
  420. function fInit()
  421. {
  422. group4.ipt_fromdd.setCallEvent("fn_Cal_fromdd");
  423. group4.ipt_todd.setCallEvent("fn_Cal_todd");
  424. grd_brgstincmexpsprescond.visible = true;
  425. grd_brgstincmexpsprescond2.visible = false;
  426. grd_brgstincmexpsprescond3.visible = false;
  427. ds_main_brgstincmexpspres_brgstincmexpsprescond.clearData();
  428. var CurrentDate = utlf_getCurrentDate();
  429. var LastDate = CurrentDate.toDate().getAddDate(-1,"M").getDateFormat();
  430. var LastDateYM = LastDate.substr(0,6);
  431. var CurrentDateYY = CurrentDate.substring(0,4);
  432. dsf_makeValue(ds_main_search, "fromentryy", "string", CurrentDateYY);
  433. dsf_makeValue(ds_main_search, "toentryy", "string", CurrentDateYY);
  434. dsf_makeValue(ds_main_search, "fromdd", "string", LastDateYM);
  435. dsf_makeValue(ds_main_search, "todd", "string", LastDateYM);
  436. group4.ipt_fromdd.setData(LastDateYM);
  437. group4.ipt_todd.setData(LastDateYM);
  438. group4.ipt_fromentryy.visible = false;
  439. group4.cmb_hospgrade.index = 0;
  440. ds_main_search.setColumn(0, "reqflag", "1");
  441. frmf_inputEnterKey("group4.cmb_hospgrade", "onitemchanged", new ItemChangeEventInfo);
  442. }
  443. function group4_ipt_fromentryy_onchanged(obj:Calendar, e:ChangeEventInfo)
  444. {
  445. ds_main_search.setColumn(0, "fromentryy", String(obj.value).substr(0,4));
  446. }
  447. function group4_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  448. {
  449. ds_main_search.setColumn(0, "fromdd", String(obj.value).substr(0,6));
  450. }
  451. function group4_ipt_todd_onchanged(obj:Calendar, e:ChangeEventInfo)
  452. {
  453. ds_main_search.setColumn(0, "todd", String(obj.value).substr(0,6));
  454. }
  455. function group4_cmb_reqflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  456. {
  457. var CurrentDate = utlf_getCurrentDate();
  458. if(obj.value == "1")
  459. {
  460. group4.ipt_fromdd.visible = true;
  461. group4.ipt_todd.visible = true;
  462. group4.ipt_fromentryy.visible = false;
  463. group4.cap1.visible = true;
  464. }
  465. else
  466. {
  467. group4.ipt_fromdd.visible = false;
  468. group4.ipt_todd.visible = false;
  469. group4.ipt_fromentryy.visible = true;
  470. group4.cap1.visible = false;
  471. }
  472. ds_send_reqdata.clearData();
  473. fReqBrgstIncmExpsCond(); //조회함수
  474. }
  475. function fReqBrgstIncmExpsCond()
  476. {
  477. ds_send_reqdata.clearData();
  478. var fromdd = ds_main_search.getColumn(0, "fromdd");
  479. var todd = ds_main_search.getColumn(0, "todd");
  480. var reqflag = ds_main_search.getColumn(0, "reqflag");
  481. var fromentryy = ds_main_search.getColumn(0, "fromentryy");
  482. var achivflag = ds_main_search.getColumn(0, "achivflag");
  483. var hospgrade = ds_main_search.getColumn(0, "hospgrade");
  484. dsf_makeValue(ds_send_reqdata, "hospgrade", "string", hospgrade);
  485. dsf_makeValue(ds_send_reqdata, "reqflag", "string", reqflag);
  486. dsf_makeValue(ds_send_reqdata, "dentalyn", "string", ds_main_search.getColumn(0, "dentalyn"));
  487. if(achivflag != "4")
  488. {
  489. dsf_makeValue(ds_send_reqdata, "achivflag", "string", achivflag);
  490. }
  491. if(group4.cmb_hospgrade.value == "1")
  492. {
  493. dsf_makeValue(ds_send_reqdata, "flag", "string", "1");//플래그 셋팅
  494. }
  495. else
  496. {
  497. dsf_makeValue(ds_send_reqdata, "flag", "string", "2");//플래그 셋팅
  498. }
  499. if(reqflag == "1")
  500. {
  501. if(utlf_isNull(fromdd))
  502. {
  503. sysf_messageBox("조회시작일자는","I003");
  504. group4.ipt_fromdd.setFocus();
  505. return;
  506. }
  507. if(utlf_isNull(todd))
  508. {
  509. sysf_messageBox("조회종료일자는","I003");
  510. group4.ipt_todd.setFocus();
  511. return;
  512. }
  513. var dateintval = utlf_getDateInterval(fromdd+"01",todd+"31");
  514. if(fromdd>todd)
  515. {
  516. sysf_messageBox("조회시작일보다 큰 조회종료일을 입력하십시요.","I");
  517. group4.ipt_todd.setFocus();
  518. return;
  519. }
  520. if(dateintval > "370")
  521. {
  522. sysf_messageBox("조회기간은 최대 1년까지 할 수 있습니다","I");
  523. group4.ipt_fromdd.setFocus();
  524. return;
  525. }
  526. if(fromdd==todd)
  527. {
  528. dsf_makeValue(ds_send_reqdata, "dateflag", "string","1"); // 조회월이 같으면 전기간을 전월로 하기 위해 dateflag셋팅
  529. }
  530. else
  531. {
  532. dsf_makeValue(ds_send_reqdata, "dateflag", "string","2");
  533. }
  534. dsf_makeValue(ds_send_reqdata, "fromdd", "string", fromdd);
  535. dsf_makeValue(ds_send_reqdata, "todd", "string", todd);
  536. dsf_makeValue(ds_send_reqdata, "fromentryy", "string", "");
  537. }
  538. else
  539. {
  540. if(utlf_isNull(fromentryy))
  541. {
  542. sysf_messageBox("조회시작연도는","I003");
  543. group4.ipt_fromentryy.setFocus();
  544. return;
  545. }
  546. dsf_makeValue(ds_send_reqdata, "fromdd", "string", "");
  547. dsf_makeValue(ds_send_reqdata, "todd", "string", "");
  548. dsf_makeValue(ds_send_reqdata, "fromentryy", "string", fromentryy);
  549. dsf_makeValue(ds_send_reqdata, "dateflag", "string", ""); //년도로 조회시 전기간을 전월로 하기 위한 dateflag 삭제
  550. }
  551. var oParam = {};
  552. oParam.id = "TRSDT13001";
  553. oParam.service = "stscmcnwapp.CoopEndStats";
  554. oParam.method = "reqGetHealCareCoopRepl";
  555. oParam.inds = "req=ds_send_reqdata";
  556. oParam.outds = "ds_main_brgstincmexpspres_brgstincmexpsprescond=brgstincmexpsprescond";
  557. oParam.async = false;
  558. oParam.callback = "cf_TRSDT13001";
  559. tranf_submit(oParam);
  560. if(achivflag == "3")
  561. {
  562. // 진료과별 실적 일때 합계 구한다.
  563. var idxRow = ds_main_brgstincmexpspres_brgstincmexpsprescond.rowcount;
  564. var fixRow = 0;
  565. if(idxRow > 0)
  566. {
  567. var totallstreqpcnt = 0;
  568. var totallstrepltrgtcnt = 0;
  569. var totallstreplcnt = 0;
  570. var totallstreplncnt = 0;
  571. var totalreqpcnt = 0;
  572. var totalrepltrgtcnt = 0;
  573. var totalreplcnt = 0;
  574. var totalreplncnt = 0;
  575. var totaldiffreqpcnt = 0;
  576. var totaldiffrepltrgtcnt = 0;
  577. var totaldiffreplcnt = 0;
  578. var totaldiffreplncnt = 0;
  579. for(var i = 0; i < idxRow; i++)
  580. {
  581. var ordclsdeptflag = ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "ordclsdeptflag");
  582. // 분과가 있는 것을 제외하고 합계 구함 (분과 플래그 C)
  583. var tlstreqpcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstreqpcnt")) + parseInt(totallstreqpcnt);
  584. var tlstrepltrgtcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstrepltrgtcnt")) + parseInt(totallstrepltrgtcnt);
  585. var tlstreplcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstreplcnt")) + parseInt(totallstreplcnt);
  586. var tlstreplncnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstreplncnt")) + parseInt(totallstreplncnt);
  587. var treqpcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "reqpcnt")) + parseInt(totalreqpcnt);
  588. var trepltrgtcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "repltrgtcnt")) + parseInt(totalrepltrgtcnt);
  589. var treplcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "replcnt")) + parseInt(totalreplcnt);
  590. var treplncnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "replncnt")) + parseInt(totalreplncnt);
  591. var tdiffreqpcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "diffreqpcnt")) + parseInt(totaldiffreqpcnt);
  592. var tdiffrepltrgtcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "diffrepltrgtcnt")) + parseInt(totaldiffrepltrgtcnt);
  593. var tdiffreplcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "diffreplcnt")) + parseInt(totaldiffreplcnt);
  594. var tdiffreplncnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "diffreplncnt")) + parseInt(totaldiffreplncnt);
  595. var totallstreqpcnt = tlstreqpcnt;
  596. var totallstrepltrgtcnt = tlstrepltrgtcnt;
  597. var totallstreplcnt = tlstreplcnt;
  598. var totallstreplncnt = tlstreplncnt;
  599. var totalreqpcnt = treqpcnt;
  600. var totalrepltrgtcnt = trepltrgtcnt;
  601. var totalreplcnt = treplcnt;
  602. var totalreplncnt = treplncnt;
  603. var totaldiffreqpcnt = tdiffreqpcnt;
  604. var totaldiffrepltrgtcnt = tdiffrepltrgtcnt;
  605. var totaldiffreplcnt = tdiffreplcnt;
  606. var totaldiffreplncnt = tdiffreplncnt;
  607. }
  608. //회신율 구함 (회신건수/회신대상건수*100)
  609. var totallstreplpet = totallstreplcnt/(totallstrepltrgtcnt*100);
  610. var totalreplpet = totalreplcnt/(totalrepltrgtcnt*100);
  611. var totaldiffreplpet = totalreplpet-totallstreplpet;
  612. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "depthngnm", "string", "합계", i);
  613. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstreqpcnt", "string", totallstreqpcnt, i);
  614. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstrepltrgtcnt", "string", totallstrepltrgtcnt, i);
  615. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstreplcnt", "string", totallstreplcnt, i);
  616. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstreplpet", "string", totallstreplpet, i);
  617. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstreplncnt", "string", totallstreplncnt, i);
  618. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "reqpcnt", "string", totalreqpcnt, i);
  619. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "repltrgtcnt", "string", totalrepltrgtcnt, i);
  620. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "replcnt", "string", totalreplcnt, i);
  621. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "replpet", "string", totalreplpet, i);
  622. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "diffreqpcnt", "string", totaldiffreqpcnt, i);
  623. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "diffrepltrgtcnt", "string", totaldiffrepltrgtcnt, i);
  624. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "diffreplcnt", "string", totaldiffreplcnt, i);
  625. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "diffreplpet", "string", totaldiffreplpet, i);
  626. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "diffreplncnt", "string", totaldiffreplncnt, i);
  627. }
  628. }
  629. }
  630. function cf_TRSDT13001(sSvcId, nErrorCode, sErrorMsg)
  631. {
  632. if(nErrorCode < 0)
  633. {
  634. return;
  635. }
  636. else
  637. {
  638. for(var i = 0; i < ds_main_brgstincmexpspres_brgstincmexpsprescond.rowcount; i++)
  639. {
  640. // if(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, 1) != "합계")
  641. // {
  642. //회신율 구함 (회신건수/회신대상건수*100)
  643. var lstreplcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstreplcnt"));
  644. var lstrepltrgtcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "lstrepltrgtcnt"));
  645. var lstper = Math.round((lstreplcnt/lstrepltrgtcnt) * 100 , 2);
  646. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "lstreplpet", "float", lstper > 100 ? 100 : lstper, i);
  647. var replcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "replcnt"));
  648. var repltrgtcnt = parseInt(ds_main_brgstincmexpspres_brgstincmexpsprescond.getColumn(i, "repltrgtcnt"));
  649. var repper = Math.round((replcnt / repltrgtcnt) * 100, 2);
  650. dsf_makeValue(ds_main_brgstincmexpspres_brgstincmexpsprescond, "replpet", "float", repper > 100 ? 100 : repper, i);
  651. // }
  652. }
  653. }
  654. }
  655. function group4_rdo_achivflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  656. {
  657. var achivflag = obj.value;
  658. if(achivflag == "1" || achivflag == "5" || achivflag == "6" ) //협력병원/협력의원
  659. {
  660. dsf_makeValue(ds_send_reqdata, "achivflag", "string", "3");
  661. grd_brgstincmexpsprescond.visible = true;
  662. grd_brgstincmexpsprescond2.visible = false;
  663. grd_brgstincmexpsprescond3.visible = false;
  664. }
  665. else if(achivflag == "2") // 병의원 실적 일 때
  666. {
  667. grd_brgstincmexpsprescond.visible = false;
  668. grd_brgstincmexpsprescond2.visible = true;
  669. grd_brgstincmexpsprescond3.visible = false;
  670. }
  671. else if(achivflag == "3" ) // 진료과별 실적 일 때
  672. {
  673. grd_brgstincmexpsprescond.visible = false;
  674. grd_brgstincmexpsprescond2.visible = false;
  675. grd_brgstincmexpsprescond3.visible = true;
  676. grd_brgstincmexpsprescond3.setFormatColProperty(4, "size", 0); //의사명 컬럼 숨김
  677. }
  678. else // 의사별 실적 일 때
  679. {
  680. grd_brgstincmexpsprescond.visible = false;
  681. grd_brgstincmexpsprescond2.visible = false;
  682. grd_brgstincmexpsprescond3.visible = true;
  683. grd_brgstincmexpsprescond3.setFormatColProperty(4, "size", 72); //의사명 컬럼 보임
  684. }
  685. ds_main_brgstincmexpspres_brgstincmexpsprescond.clearData();
  686. fReqBrgstIncmExpsCond();
  687. }
  688. function group4_chk_dentalyn_onclick(obj:CheckBox, e:ClickEventInfo)
  689. {
  690. if(obj.value == "Y")
  691. {
  692. }
  693. else
  694. {
  695. ds_main_search.setColumn(0, "dentalyn", "");
  696. }
  697. ds_main_brgstincmexpspres_brgstincmexpsprescond.clearData();
  698. fReqBrgstIncmExpsCond();
  699. }
  700. function group4_cmb_hospgrade_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  701. {
  702. if (obj.value == "2")
  703. {
  704. caption1.text = "의뢰등록일기준:마감자료 중 조회기간에 의뢰등록된 건 기준(회신서는 날짜에 상관없이 출력되어야 함)";
  705. }
  706. else
  707. {
  708. caption1.text = "회신건수기준:마감자료 중 조회기간에 의뢰등록 및 회신서 출력건 대상 ";
  709. }
  710. fReqBrgstIncmExpsCond();
  711. }
  712. function group4_button2_onclick(obj:Button, e:ClickEventInfo)
  713. {
  714. fReqBrgstIncmExpsCond();
  715. }
  716. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  717. {
  718. fExcel();
  719. }
  720. function fExcel()
  721. {
  722. var achivflag = ds_main_search.getColumn(0, "achivflag");
  723. var title = "Excel";
  724. var gridID = grd_brgstincmexpsprescond;
  725. if (ds_main_brgstincmexpspres_brgstincmexpsprescond.rowcount == 0)
  726. {
  727. sysf_messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
  728. return;
  729. }
  730. if(achivflag == '1' || achivflag == '5' || achivflag == '6') // 협력병원/협력의원 실적
  731. {
  732. title = "의료협력진료의뢰회신통계";
  733. gridID = grd_brgstincmexpsprescond;
  734. }
  735. else if(achivflag == '2') // 병의원 실적
  736. {
  737. title = "의료협력진료의뢰회신통계";
  738. gridID = grd_brgstincmexpsprescond2;
  739. }
  740. else // 진료과별 실적 및 의사별 실적
  741. {
  742. title = "의료협력진료의뢰회신통계";
  743. gridID = grd_brgstincmexpsprescond3;
  744. }
  745. grdf_exportExcel(gridID, title, "SheetName", "true", "", "");
  746. }
  747. function btn_search0_onclick(obj:Button, e:ClickEventInfo)
  748. {
  749. ds_main_brgstincmexpspres_brgstincmexpsprescond.clearData();
  750. }
  751. ]]></Script>
  752. </Form>
  753. </FDL>