SMSTP01200_인원통계실적.xfdl 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMSTP01200" position="absolute 0 0 1206 787" titletext="Untitle" oninit="SMSTP01200_oninit" onload="SMSTP01200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 25 1195 65" id="group4" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Button position="absolute 1053 10 1109 32" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group4_btn_search_onclick"/>
  11. <Button position="absolute 1114 10 1186 32" id="btn_excel" class="btn7" visible="true" text="EXCEL" anchor="top right" onclick="group4_btn_excel_onclick"/>
  12. <Static text="조회구분" position="absolute 216 12 314 29" id="caption2" class="search_name" anchor="default"/>
  13. <Shape position="absolute 1043 9 1049 33" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
  14. <Static text="조회기간" position="absolute 15 12 113 29" id="caption1" class="search_name" anchor="default"/>
  15. <Calendar position="absolute 100 11 190 30" align="align:center middle;" id="ipt_enddd" class="input_search" mask="yyyy-mm" anchor="default" autoselect="true" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="group4_ipt_enddd_onchanged" style="align:center middle;"/>
  16. <Radio position="absolute 294 10 957 28" id="rdo_dataflag" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" rowcount="-1">
  17. <Dataset id="innerdataset">
  18. <ColumnInfo>
  19. <Column id="codecolumn"/>
  20. <Column id="datacolumn"/>
  21. </ColumnInfo>
  22. <Rows>
  23. <Row>
  24. <Col id="codecolumn">1</Col>
  25. <Col id="datacolumn">입원실인원</Col>
  26. </Row>
  27. <Row>
  28. <Col id="codecolumn">2</Col>
  29. <Col id="datacolumn">입원연인원(재원환자)</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">3</Col>
  33. <Col id="datacolumn">퇴원실인원</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">4</Col>
  37. <Col id="datacolumn">퇴원연인원</Col>
  38. </Row>
  39. <Row>
  40. <Col id="codecolumn">5</Col>
  41. <Col id="datacolumn">외래신환</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">6</Col>
  45. <Col id="datacolumn">외래구환(재진)</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">7</Col>
  49. <Col id="datacolumn">외래연인원</Col>
  50. </Row>
  51. </Rows>
  52. </Dataset>
  53. </Radio>
  54. <CheckBox id="chk_child" taborder="1" text="어린이병원" truevalue="Y" position="absolute 919 12 1000 27" onclick="group4_chk_child_onclick"/>
  55. <Button id="caption4" taborder="2" text="[?]" position="absolute 1004 14 1021 27" style="background:transparent;border:0 double #808080ff ;color:#262626ff;font:Dotum,9;" ondblclick="group4_caption4_ondblclick"/>
  56. </Layout>
  57. </Layouts>
  58. </Div>
  59. <Tab position="absolute 0 80 1195 774" id="switch1" anchor="all" onchanged="switch1_onchanged">
  60. <Tabpages>
  61. <Tabpage text="일자별" id="case1">
  62. <Layouts>
  63. <Layout>
  64. <Shape position="absolute 0 0 1195 6" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
  65. <Grid position="absolute 0 5 1195 655" id="grd_daylist" class="datagrid2" binddataset="ds_main_day_daylist" autoenter="select" cellsizingtype="col" anchor="all" onheadclick="switch1_case1_grd_daylist_onheadclick">
  66. <Formats>
  67. <Format id="default">
  68. <Columns>
  69. <Column size="150" band="left"/>
  70. <Column size="100" band="left"/>
  71. <Column size="40"/>
  72. <Column size="40"/>
  73. <Column size="40"/>
  74. <Column size="40"/>
  75. <Column size="40"/>
  76. <Column size="40"/>
  77. <Column size="40"/>
  78. <Column size="40"/>
  79. <Column size="40"/>
  80. <Column size="40"/>
  81. <Column size="40"/>
  82. <Column size="40"/>
  83. <Column size="40"/>
  84. <Column size="40"/>
  85. <Column size="40"/>
  86. <Column size="40"/>
  87. <Column size="40"/>
  88. <Column size="40"/>
  89. <Column size="40"/>
  90. <Column size="40"/>
  91. <Column size="40"/>
  92. <Column size="40"/>
  93. <Column size="40"/>
  94. <Column size="40"/>
  95. <Column size="40"/>
  96. <Column size="40"/>
  97. <Column size="40"/>
  98. <Column size="40"/>
  99. <Column size="40"/>
  100. <Column size="40"/>
  101. <Column size="40"/>
  102. <Column size="60"/>
  103. <Column size="60"/>
  104. </Columns>
  105. <Rows>
  106. <Row size="24" band="head"/>
  107. <Row size="24" band="head"/>
  108. <Row size="24"/>
  109. </Rows>
  110. <Band id="head">
  111. <Cell rowspan="2" text="진료과" taborder="undefined"/>
  112. <Cell col="1" rowspan="2" text="진료의사" taborder="undefined"/>
  113. <Cell col="2" text="1"/>
  114. <Cell col="3" text="2"/>
  115. <Cell col="4" text="3"/>
  116. <Cell col="5" text="4"/>
  117. <Cell col="6" text="5"/>
  118. <Cell col="7" text="6"/>
  119. <Cell col="8" text="7"/>
  120. <Cell col="9" text="8"/>
  121. <Cell col="10" text="9"/>
  122. <Cell col="11" text="10"/>
  123. <Cell col="12" text="11"/>
  124. <Cell col="13" text="12"/>
  125. <Cell col="14" text="13"/>
  126. <Cell col="15" text="14"/>
  127. <Cell col="16" text="15"/>
  128. <Cell col="17" text="16"/>
  129. <Cell col="18" text="17"/>
  130. <Cell col="19" text="18"/>
  131. <Cell col="20" text="19"/>
  132. <Cell col="21" text="20"/>
  133. <Cell col="22" text="21"/>
  134. <Cell col="23" text="22"/>
  135. <Cell col="24" text="23"/>
  136. <Cell col="25" text="24"/>
  137. <Cell col="26" text="25"/>
  138. <Cell col="27" text="26"/>
  139. <Cell col="28" text="27"/>
  140. <Cell col="29" text="28"/>
  141. <Cell col="30" text="29"/>
  142. <Cell col="31" text="30"/>
  143. <Cell col="32" text="31"/>
  144. <Cell col="33" rowspan="2" text="합계" taborder="undefined"/>
  145. <Cell col="34" rowspan="2" text="일평균" taborder="undefined"/>
  146. <Cell row="1" col="2" text="월"/>
  147. <Cell row="1" col="3" text="화"/>
  148. <Cell row="1" col="4" text="수"/>
  149. <Cell row="1" col="5" text="목"/>
  150. <Cell row="1" col="6" text="금"/>
  151. <Cell row="1" col="7" text="토"/>
  152. <Cell row="1" col="8" text="일"/>
  153. <Cell row="1" col="9" text="월"/>
  154. <Cell row="1" col="10" text="화"/>
  155. <Cell row="1" col="11" text="수"/>
  156. <Cell row="1" col="12" text="목"/>
  157. <Cell row="1" col="13" text="금"/>
  158. <Cell row="1" col="14" text="토"/>
  159. <Cell row="1" col="15" text="일"/>
  160. <Cell row="1" col="16" text="월"/>
  161. <Cell row="1" col="17" text="화"/>
  162. <Cell row="1" col="18" text="수"/>
  163. <Cell row="1" col="19" text="목"/>
  164. <Cell row="1" col="20" text="금"/>
  165. <Cell row="1" col="21" text="토"/>
  166. <Cell row="1" col="22" text="일"/>
  167. <Cell row="1" col="23" text="월"/>
  168. <Cell row="1" col="24" text="화"/>
  169. <Cell row="1" col="25" text="수"/>
  170. <Cell row="1" col="26" text="목"/>
  171. <Cell row="1" col="27" text="금"/>
  172. <Cell row="1" col="28" text="토"/>
  173. <Cell row="1" col="29" text="일"/>
  174. <Cell row="1" col="30" text="월"/>
  175. <Cell row="1" col="31" text="화"/>
  176. <Cell row="1" col="32" text="수"/>
  177. </Band>
  178. <Band id="body">
  179. <Cell text="bind:orddeptnm" suppress="1" suppressalign="middle,over"/>
  180. <Cell col="1" text="bind:orddrnm" suppress="2" suppressalign="middle,over"/>
  181. <Cell col="2" displaytype="number" text="bind:pcnt_1"/>
  182. <Cell col="3" displaytype="number" text="bind:pcnt_2"/>
  183. <Cell col="4" displaytype="number" text="bind:pcnt_3"/>
  184. <Cell col="5" displaytype="number" text="bind:pcnt_4"/>
  185. <Cell col="6" displaytype="number" text="bind:pcnt_5"/>
  186. <Cell col="7" displaytype="number" text="bind:pcnt_6"/>
  187. <Cell col="8" displaytype="number" text="bind:pcnt_7"/>
  188. <Cell col="9" displaytype="number" text="bind:pcnt_8"/>
  189. <Cell col="10" displaytype="number" text="bind:pcnt_9"/>
  190. <Cell col="11" displaytype="number" text="bind:pcnt_10"/>
  191. <Cell col="12" displaytype="number" text="bind:pcnt_11"/>
  192. <Cell col="13" displaytype="number" text="bind:pcnt_12"/>
  193. <Cell col="14" displaytype="number" text="bind:pcnt_13"/>
  194. <Cell col="15" displaytype="number" text="bind:pcnt_14"/>
  195. <Cell col="16" displaytype="number" text="bind:pcnt_15"/>
  196. <Cell col="17" displaytype="number" text="bind:pcnt_16"/>
  197. <Cell col="18" displaytype="number" text="bind:pcnt_17"/>
  198. <Cell col="19" displaytype="number" text="bind:pcnt_18"/>
  199. <Cell col="20" displaytype="number" text="bind:pcnt_19"/>
  200. <Cell col="21" displaytype="number" text="bind:pcnt_20"/>
  201. <Cell col="22" displaytype="number" text="bind:pcnt_21"/>
  202. <Cell col="23" displaytype="number" text="bind:pcnt_22"/>
  203. <Cell col="24" displaytype="number" text="bind:pcnt_23"/>
  204. <Cell col="25" displaytype="number" text="bind:pcnt_24"/>
  205. <Cell col="26" displaytype="number" text="bind:pcnt_25"/>
  206. <Cell col="27" displaytype="number" text="bind:pcnt_26"/>
  207. <Cell col="28" displaytype="number" text="bind:pcnt_27"/>
  208. <Cell col="29" displaytype="number" text="bind:pcnt_28"/>
  209. <Cell col="30" displaytype="number" text="bind:pcnt_29"/>
  210. <Cell col="31" displaytype="number" text="bind:pcnt_30"/>
  211. <Cell col="32" displaytype="number" text="bind:pcnt_31"/>
  212. <Cell col="33" displaytype="number" text="bind:total"/>
  213. <Cell col="34" displaytype="number" text="bind:day_avg"/>
  214. </Band>
  215. </Format>
  216. </Formats>
  217. </Grid>
  218. </Layout>
  219. </Layouts>
  220. </Tabpage>
  221. <Tabpage text="월별" id="case2">
  222. <Layouts>
  223. <Layout>
  224. <Shape position="absolute 0 0 1195 6" linetype="horizontal" id="line3" class="line_10" anchor="left top right"/>
  225. <Grid position="absolute 0 5 1195 655" id="grd_monthlist" class="datagrid2" binddataset="ds_main_month_monthlist" autoenter="select" cellsizingtype="col" anchor="all">
  226. <Formats>
  227. <Format id="default">
  228. <Columns>
  229. <Column size="110"/>
  230. <Column size="90"/>
  231. <Column size="65"/>
  232. <Column size="65"/>
  233. <Column size="65"/>
  234. <Column size="65"/>
  235. <Column size="65"/>
  236. <Column size="65"/>
  237. <Column size="65"/>
  238. <Column size="65"/>
  239. <Column size="65"/>
  240. <Column size="65"/>
  241. <Column size="65"/>
  242. <Column size="65"/>
  243. <Column size="65"/>
  244. <Column size="65"/>
  245. <Column size="65"/>
  246. </Columns>
  247. <Rows>
  248. <Row size="24" band="head"/>
  249. <Row size="24"/>
  250. </Rows>
  251. <Band id="head">
  252. <Cell text="진료과"/>
  253. <Cell col="1" text="진료의사"/>
  254. <Cell col="2" text="1월"/>
  255. <Cell col="3" text="2월"/>
  256. <Cell col="4" text="3월"/>
  257. <Cell col="5" text="4월"/>
  258. <Cell col="6" text="5월"/>
  259. <Cell col="7" text="6월"/>
  260. <Cell col="8" text="7월"/>
  261. <Cell col="9" text="8월"/>
  262. <Cell col="10" text="9월"/>
  263. <Cell col="11" text="10월"/>
  264. <Cell col="12" text="11월"/>
  265. <Cell col="13" text="12월"/>
  266. <Cell col="14" text="합계"/>
  267. <Cell col="15" text="월평균"/>
  268. <Cell col="16" text="일평균"/>
  269. </Band>
  270. <Band id="body">
  271. <Cell text="bind:orddeptnm" suppress="1" suppressalign="middle,over"/>
  272. <Cell col="1" text="bind:orddrnm" suppress="2" suppressalign="middle,over"/>
  273. <Cell col="2" displaytype="number" text="bind:pcnt_jan"/>
  274. <Cell col="3" displaytype="number" text="bind:pcnt_feb"/>
  275. <Cell col="4" displaytype="number" text="bind:pcnt_mar"/>
  276. <Cell col="5" displaytype="number" text="bind:pcnt_apr"/>
  277. <Cell col="6" displaytype="number" text="bind:pcnt_may"/>
  278. <Cell col="7" displaytype="number" text="bind:pcnt_jun"/>
  279. <Cell col="8" displaytype="number" text="bind:pcnt_jul"/>
  280. <Cell col="9" displaytype="number" text="bind:pcnt_aug"/>
  281. <Cell col="10" displaytype="number" text="bind:pcnt_sep"/>
  282. <Cell col="11" displaytype="number" text="bind:pcnt_oct"/>
  283. <Cell col="12" displaytype="number" text="bind:pcnt_nov"/>
  284. <Cell col="13" displaytype="number" text="bind:pcnt_dec"/>
  285. <Cell col="14" displaytype="number" text="bind:total"/>
  286. <Cell col="15" displaytype="number" text="bind:month_avg"/>
  287. <Cell col="16" displaytype="number" text="bind:day_avg"/>
  288. </Band>
  289. </Format>
  290. </Formats>
  291. </Grid>
  292. </Layout>
  293. </Layouts>
  294. </Tabpage>
  295. <Tabpage text="연령별/성별" id="case3">
  296. <Layouts>
  297. <Layout>
  298. <Shape position="absolute 0 0 1195 6" linetype="horizontal" id="line4" class="line_10" anchor="left top right"/>
  299. <Grid position="absolute 0 5 1195 655" id="grd_agelist" class="datagrid4" binddataset="ds_main_age_agelist" autoenter="select" cellsizingtype="col" anchor="all">
  300. <Formats>
  301. <Format id="default">
  302. <Columns>
  303. <Column size="100"/>
  304. <Column size="50"/>
  305. <Column size="50"/>
  306. <Column size="50"/>
  307. <Column size="50"/>
  308. <Column size="50"/>
  309. <Column size="50"/>
  310. <Column size="50"/>
  311. <Column size="50"/>
  312. <Column size="50"/>
  313. <Column size="50"/>
  314. <Column size="50"/>
  315. <Column size="50"/>
  316. <Column size="50"/>
  317. <Column size="50"/>
  318. <Column size="50"/>
  319. <Column size="50"/>
  320. <Column size="50"/>
  321. <Column size="50"/>
  322. <Column size="50"/>
  323. <Column size="50"/>
  324. <Column size="50"/>
  325. <Column size="50"/>
  326. <Column size="50"/>
  327. <Column size="50"/>
  328. <Column size="50"/>
  329. <Column size="50"/>
  330. <Column size="50"/>
  331. <Column size="50"/>
  332. </Columns>
  333. <Rows>
  334. <Row size="24" band="head"/>
  335. <Row size="24" band="head"/>
  336. <Row size="24"/>
  337. </Rows>
  338. <Band id="head">
  339. <Cell rowspan="2" text="나이" taborder="undefined"/>
  340. <Cell col="1" colspan="2" text="1월" taborder="undefined"/>
  341. <Cell col="3" colspan="2" text="2월" taborder="undefined"/>
  342. <Cell col="5" colspan="2" text="3월" taborder="undefined"/>
  343. <Cell col="7" colspan="2" text="4월" taborder="undefined"/>
  344. <Cell col="9" colspan="2" text="5월" taborder="undefined"/>
  345. <Cell col="11" colspan="2" text="6월" taborder="undefined"/>
  346. <Cell col="13" colspan="2" text="7월" taborder="undefined"/>
  347. <Cell col="15" colspan="2" text="8월" taborder="undefined"/>
  348. <Cell col="17" colspan="2" text="9월" taborder="undefined"/>
  349. <Cell col="19" colspan="2" text="10월" taborder="undefined"/>
  350. <Cell col="21" colspan="2" text="11월" taborder="undefined"/>
  351. <Cell col="23" colspan="2" text="12월" taborder="undefined"/>
  352. <Cell col="25" colspan="2" text="월총합" taborder="undefined"/>
  353. <Cell col="27" colspan="2" text="비율" taborder="undefined"/>
  354. <Cell row="1" col="1" text="남"/>
  355. <Cell row="1" col="2" text="여"/>
  356. <Cell row="1" col="3" text="남"/>
  357. <Cell row="1" col="4" text="여"/>
  358. <Cell row="1" col="5" text="남"/>
  359. <Cell row="1" col="6" text="여"/>
  360. <Cell row="1" col="7" text="남"/>
  361. <Cell row="1" col="8" text="여"/>
  362. <Cell row="1" col="9" text="남"/>
  363. <Cell row="1" col="10" text="여"/>
  364. <Cell row="1" col="11" text="남"/>
  365. <Cell row="1" col="12" text="여"/>
  366. <Cell row="1" col="13" text="남"/>
  367. <Cell row="1" col="14" text="여"/>
  368. <Cell row="1" col="15" text="남"/>
  369. <Cell row="1" col="16" text="여"/>
  370. <Cell row="1" col="17" text="남"/>
  371. <Cell row="1" col="18" text="여"/>
  372. <Cell row="1" col="19" text="남"/>
  373. <Cell row="1" col="20" text="여"/>
  374. <Cell row="1" col="21" text="남"/>
  375. <Cell row="1" col="22" text="여"/>
  376. <Cell row="1" col="23" text="남"/>
  377. <Cell row="1" col="24" text="여"/>
  378. <Cell row="1" col="25" text="남"/>
  379. <Cell row="1" col="26" text="여"/>
  380. <Cell row="1" col="27" text="남"/>
  381. <Cell row="1" col="28" text="여"/>
  382. </Band>
  383. <Band id="body">
  384. <Cell text="bind:age_level"/>
  385. <Cell col="1" displaytype="number" text="bind:pcnt_jan_m"/>
  386. <Cell col="2" displaytype="number" text="bind:pcnt_jan_f"/>
  387. <Cell col="3" displaytype="number" text="bind:pcnt_feb_m"/>
  388. <Cell col="4" displaytype="number" text="bind:pcnt_feb_f"/>
  389. <Cell col="5" displaytype="number" text="bind:pcnt_mar_m"/>
  390. <Cell col="6" displaytype="number" text="bind:pcnt_mar_f"/>
  391. <Cell col="7" displaytype="number" text="bind:pcnt_apr_m"/>
  392. <Cell col="8" displaytype="number" text="bind:pcnt_apr_f"/>
  393. <Cell col="9" displaytype="number" text="bind:pcnt_may_m"/>
  394. <Cell col="10" displaytype="number" text="bind:pcnt_may_f"/>
  395. <Cell col="11" displaytype="number" text="bind:pcnt_jun_m"/>
  396. <Cell col="12" displaytype="number" text="bind:pcnt_jun_f"/>
  397. <Cell col="13" displaytype="number" text="bind:pcnt_jul_m"/>
  398. <Cell col="14" displaytype="number" text="bind:pcnt_jul_f"/>
  399. <Cell col="15" displaytype="number" text="bind:pcnt_aug_m"/>
  400. <Cell col="16" displaytype="number" text="bind:pcnt_aug_f"/>
  401. <Cell col="17" displaytype="number" text="bind:pcnt_sep_m"/>
  402. <Cell col="18" displaytype="number" text="bind:pcnt_sep_f"/>
  403. <Cell col="19" displaytype="number" text="bind:pcnt_oct_m"/>
  404. <Cell col="20" displaytype="number" text="bind:pcnt_oct_f"/>
  405. <Cell col="21" displaytype="number" text="bind:pcnt_nov_m"/>
  406. <Cell col="22" displaytype="number" text="bind:pcnt_nov_f"/>
  407. <Cell col="23" displaytype="number" text="bind:pcnt_dec_m"/>
  408. <Cell col="24" displaytype="number" text="bind:pcnt_decR"/>
  409. <Cell col="25" displaytype="number" text="bind:total_m"/>
  410. <Cell col="26" displaytype="number" text="bind:total_f"/>
  411. <Cell col="27" displaytype="number" text="bind:ratio_m"/>
  412. <Cell col="28" displaytype="number" text="bind:ratio_f"/>
  413. </Band>
  414. </Format>
  415. </Formats>
  416. </Grid>
  417. </Layout>
  418. </Layouts>
  419. </Tabpage>
  420. </Tabpages>
  421. </Tab>
  422. <Static id="caption60" text="입원/외래 인원통계실적" class="tit_1" position="absolute 0 0 183 25"/>
  423. <Div id="group1" taborder="1" style="background:#fffbf2ff;border:1 solid #ffd799ff ;bordertype:round 2 2 ;align:left middle;" text="[자료 집계 기준]&#13;&#10; - 외래환자 : 어린이병원 외래센터센터 접수, 응급실 소아환자&#13;&#10; - 입원환자 : 소아청소년과(세부분과포함)&#13;&#10; + 어린이병동(5동) 입원환자&#13;&#10; + 그 외 병동 만18세이하 환자로 집계(중복 제외)&#13;&#10;&#13;&#10; * 소아외과계 진료과&#13;&#10; 정형외과, 신경외과, 외과, 비뇨기과, 정신건강의의학과, 재활의학과, 피부과, 안과" visible="false" position="absolute 730 67 1195 175">
  424. <Layouts>
  425. <Layout>
  426. <Static id="Static00" text="[자료 집계 기준]&#13;&#10; - 외래환자 : 어린이병원 외래센터센터 접수, 응급실 소아환자&#13;&#10; - 입원환자 : 소아청소년과(세부분과포함)&#13;&#10; + 어린이병동(5동) 입원환자&#13;&#10; + 그 외 병동 만18세이하 환자로 집계(중복 제외)&#13;&#10;&#13;&#10; * 소아외과계 진료과&#13;&#10; 정형외과, 신경외과, 외과, 비뇨기과, 정신건강의의학과, 재활의학과, 피부과, 안과" position="absolute 3 4 460 104" style="align:left top;" anchor="default"/>
  427. </Layout>
  428. </Layouts>
  429. </Div>
  430. </Layout>
  431. </Layouts>
  432. <Objects>
  433. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  434. <ColumnInfo>
  435. <Column id="enddd" type="STRING" size="256"/>
  436. <Column id="dataflag" type="STRING" size="256"/>
  437. <Column id="caseflag" type="STRING" size="256"/>
  438. <Column id="childyn" type="STRING" size="256"/>
  439. </ColumnInfo>
  440. <Rows>
  441. <Row>
  442. <Col id="enddd"/>
  443. <Col id="dataflag">1</Col>
  444. <Col id="caseflag"/>
  445. <Col id="childyn"/>
  446. </Row>
  447. </Rows>
  448. </Dataset>
  449. <Dataset id="ds_main_day_daylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  450. <ColumnInfo>
  451. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  452. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의사"/>
  453. <Column id="pcnt_1" type="STRING" size="256" sumtext="1일"/>
  454. <Column id="pcnt_2" type="STRING" size="256" sumtext="2일"/>
  455. <Column id="pcnt_3" type="STRING" size="256" sumtext="3일"/>
  456. <Column id="pcnt_4" type="STRING" size="256" sumtext="4일"/>
  457. <Column id="pcnt_5" type="STRING" size="256" sumtext="5일"/>
  458. <Column id="pcnt_6" type="STRING" size="256" sumtext="6일"/>
  459. <Column id="pcnt_7" type="STRING" size="256" sumtext="7일"/>
  460. <Column id="pcnt_8" type="STRING" size="256" sumtext="8일"/>
  461. <Column id="pcnt_9" type="STRING" size="256" sumtext="9일"/>
  462. <Column id="pcnt_10" type="STRING" size="256" sumtext="10일"/>
  463. <Column id="pcnt_11" type="STRING" size="256" sumtext="11일"/>
  464. <Column id="pcnt_12" type="STRING" size="256" sumtext="12일"/>
  465. <Column id="pcnt_13" type="STRING" size="256" sumtext="13일"/>
  466. <Column id="pcnt_14" type="STRING" size="256" sumtext="14일"/>
  467. <Column id="pcnt_15" type="STRING" size="256" sumtext="15일"/>
  468. <Column id="pcnt_16" type="STRING" size="256" sumtext="16일"/>
  469. <Column id="pcnt_17" type="STRING" size="256" sumtext="17일"/>
  470. <Column id="pcnt_18" type="STRING" size="256" sumtext="18일"/>
  471. <Column id="pcnt_19" type="STRING" size="256" sumtext="19일"/>
  472. <Column id="pcnt_20" type="STRING" size="256" sumtext="20일"/>
  473. <Column id="pcnt_21" type="STRING" size="256" sumtext="21일"/>
  474. <Column id="pcnt_22" type="STRING" size="256" sumtext="22일"/>
  475. <Column id="pcnt_23" type="STRING" size="256" sumtext="23일"/>
  476. <Column id="pcnt_24" type="STRING" size="256" sumtext="24일"/>
  477. <Column id="pcnt_25" type="STRING" size="256" sumtext="25일"/>
  478. <Column id="pcnt_26" type="STRING" size="256" sumtext="26일"/>
  479. <Column id="pcnt_27" type="STRING" size="256" sumtext="27일"/>
  480. <Column id="pcnt_28" type="STRING" size="256" sumtext="28일"/>
  481. <Column id="pcnt_29" type="STRING" size="256" sumtext="29일"/>
  482. <Column id="pcnt_30" type="STRING" size="256" sumtext="30일"/>
  483. <Column id="pcnt_31" type="STRING" size="256" sumtext="31일"/>
  484. <Column id="total" type="STRING" size="256" sumtext="전체환자수"/>
  485. <Column id="day_avg" type="STRING" size="256" sumtext="일평균"/>
  486. </ColumnInfo>
  487. </Dataset>
  488. <Dataset id="ds_main_month_monthlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  489. <ColumnInfo>
  490. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  491. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의사"/>
  492. <Column id="pcnt_jan" type="STRING" size="256" sumtext="1월 환자수"/>
  493. <Column id="pcnt_feb" type="STRING" size="256" sumtext="2월 환자수"/>
  494. <Column id="pcnt_mar" type="STRING" size="256" sumtext="3월 환자수"/>
  495. <Column id="pcnt_apr" type="STRING" size="256" sumtext="4월 환자수"/>
  496. <Column id="pcnt_may" type="STRING" size="256" sumtext="5월 환자수"/>
  497. <Column id="pcnt_jun" type="STRING" size="256" sumtext="6월 환자수"/>
  498. <Column id="pcnt_jul" type="STRING" size="256" sumtext="7월 환자수"/>
  499. <Column id="pcnt_aug" type="STRING" size="256" sumtext="8월 환자수"/>
  500. <Column id="pcnt_sep" type="STRING" size="256" sumtext="9월 환자수"/>
  501. <Column id="pcnt_oct" type="STRING" size="256" sumtext="10월 환자수"/>
  502. <Column id="pcnt_nov" type="STRING" size="256" sumtext="11월 환자수"/>
  503. <Column id="pcnt_dec" type="STRING" size="256" sumtext="12월 환자수"/>
  504. <Column id="total" type="STRING" size="256" sumtext="전체환자수"/>
  505. <Column id="month_avg" type="STRING" size="256" sumtext="월평균"/>
  506. <Column id="day_avg" type="STRING" size="256" sumtext="일평균"/>
  507. </ColumnInfo>
  508. </Dataset>
  509. <Dataset id="ds_main_age_agelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  510. <ColumnInfo>
  511. <Column id="age_level" type="STRING" size="256" sumtext="나이"/>
  512. <Column id="pcnt_jan_m" type="STRING" size="256" sumtext="1월 환자수(남)"/>
  513. <Column id="pcnt_jan_f" type="STRING" size="256" sumtext="1월 환자수(여)"/>
  514. <Column id="pcnt_feb_m" type="STRING" size="256" sumtext="2월 환자수(남)"/>
  515. <Column id="pcnt_feb_f" type="STRING" size="256" sumtext="2월 환자수(여)"/>
  516. <Column id="pcnt_mar_m" type="STRING" size="256" sumtext="3월 환자수(남)"/>
  517. <Column id="pcnt_mar_f" type="STRING" size="256" sumtext="3월 환자수(여)"/>
  518. <Column id="pcnt_apr_m" type="STRING" size="256" sumtext="4월 환자수(남)"/>
  519. <Column id="pcnt_apr_f" type="STRING" size="256" sumtext="4월 환자수(여)"/>
  520. <Column id="pcnt_may_m" type="STRING" size="256" sumtext="5월 환자수(남)"/>
  521. <Column id="pcnt_may_f" type="STRING" size="256" sumtext="5월 환자수(여)"/>
  522. <Column id="pcnt_jun_m" type="STRING" size="256" sumtext="6월 환자수(남)"/>
  523. <Column id="pcnt_jun_f" type="STRING" size="256" sumtext="6월 환자수(여)"/>
  524. <Column id="pcnt_jul_m" type="STRING" size="256" sumtext="7월 환자수(남)"/>
  525. <Column id="pcnt_jul_f" type="STRING" size="256" sumtext="7월 환자수(여)"/>
  526. <Column id="pcnt_aug_m" type="STRING" size="256" sumtext="8월 환자수(남)"/>
  527. <Column id="pcnt_aug_f" type="STRING" size="256" sumtext="8월 환자수(여)"/>
  528. <Column id="pcnt_sep_m" type="STRING" size="256" sumtext="9월 환자수(남)"/>
  529. <Column id="pcnt_sep_f" type="STRING" size="256" sumtext="9월 환자수(여)"/>
  530. <Column id="pcnt_oct_m" type="STRING" size="256" sumtext="10월 환자수(남)"/>
  531. <Column id="pcnt_oct_f" type="STRING" size="256" sumtext="10월 환자수(여)"/>
  532. <Column id="pcnt_nov_m" type="STRING" size="256" sumtext="11월 환자수(남)"/>
  533. <Column id="pcnt_nov_f" type="STRING" size="256" sumtext="11월 환자수(여)"/>
  534. <Column id="pcnt_dec_m" type="STRING" size="256" sumtext="12월 환자수(남)"/>
  535. <Column id="pcnt_dec_f" type="STRING" size="256" sumtext="12월 환자수(여)"/>
  536. <Column id="total_m" type="STRING" size="256" sumtext="전체환자수(남)"/>
  537. <Column id="total_f" type="STRING" size="256" sumtext="전체환자수(여)"/>
  538. <Column id="ratio_m" type="STRING" size="256" sumtext="전체환자수(남)"/>
  539. <Column id="ratio_f" type="STRING" size="256" sumtext="전체환자수(여)"/>
  540. </ColumnInfo>
  541. </Dataset>
  542. </Objects>
  543. <Bind>
  544. <BindItem id="item2" compid="group4.chk_child" propid="value" datasetid="ds_send" columnid="childyn"/>
  545. <BindItem id="item0" compid="group4.rdo_dataflag" propid="value" datasetid="ds_send" columnid="dataflag"/>
  546. <BindItem id="item1" compid="group4.ipt_enddd" propid="value" datasetid="ds_send" columnid="enddd"/>
  547. </Bind>
  548. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  549. * System Name :
  550. * Job Name :
  551. * Creator :
  552. * Make Date : 2016-05-24
  553. * Description :
  554. *---------------------------------------------------------------------------------------
  555. * Modify Date Modifier Modify Description
  556. *---------------------------------------------------------------------------------------
  557. * 2016-05-24 Live Converter TF->XP
  558. *
  559. *---------------------------------------------------------------------------------------
  560. ****************************************************************************************/
  561. include "com_commonxp::comm_main.xjs";
  562. var arErrorCode = new HashArray();
  563. function SMSTP01200_oninit(obj:Form, e:InitEventInfo)
  564. {
  565. frmf_initForm(obj);
  566. }
  567. function SMSTP01200_onload(obj:Form, e:LoadEventInfo)
  568. {
  569. grdf_initGrid(switch1.case1.grd_daylist);
  570. grdf_initGrid(switch1.case2.grd_monthlist);
  571. grdf_initGrid(switch1.case3.grd_agelist);
  572. ds_send.setColumn(0, "enddd",utlf_getCurrentDate());
  573. ds_send.setColumn(0, "caseflag", "D");
  574. if (sysf_getUserInfo("dutplceinstcd") == "032")
  575. {
  576. group4.chk_child.visible = true;
  577. }
  578. fSetDayGridHead();
  579. }
  580. function fSetDayGridHead()
  581. {
  582. var enddd = String(ds_send.getColumn(0, "enddd"));
  583. var CellCount = switch1.case1.grd_daylist.getFormatColCount("Head");
  584. //말일 구하기
  585. var LastDay = utlf_getDayCountForMonth(enddd.substr(0,4), enddd.substr(4,2));
  586. //그리드 날짜 컬럼 상태
  587. for (var i = 0; i < CellCount; i++)
  588. {
  589. if ( i < (LastDay+2) || i == parseInt(CellCount-1) || i == parseInt(CellCount-2))
  590. {
  591. if(i == 0)
  592. {
  593. switch1.case1.grd_daylist.setFormatColProperty(0, "size", 100);
  594. }
  595. else if(i == 1)
  596. {
  597. switch1.case1.grd_daylist.setFormatColProperty(1, "size", 80);
  598. }
  599. else
  600. {
  601. switch1.case1.grd_daylist.setFormatColProperty(i, "size", 60);
  602. }
  603. }
  604. else
  605. {
  606. switch1.case1.grd_daylist.setFormatColProperty(i, "size", 0);
  607. }
  608. }
  609. var weekDay;
  610. for (var i = 0; i <= LastDay; i++)
  611. {
  612. enddd = String(enddd).substr(0,6) + parseInt(i+1).toString().getLeftPad(2, "0");
  613. if (enddd.toDate().getDay() == 0)
  614. {
  615. weekDay = "일";
  616. }
  617. else if (enddd.toDate().getDay() == 1)
  618. {
  619. weekDay = "월";
  620. }
  621. else if (enddd.toDate().getDay() == 2)
  622. {
  623. weekDay = "화";
  624. }
  625. else if (enddd.toDate().getDay() == 3)
  626. {
  627. weekDay = "수";
  628. }
  629. else if (enddd.toDate().getDay() == 4)
  630. {
  631. weekDay = "목";
  632. }
  633. else if (enddd.toDate().getDay() == 5)
  634. {
  635. weekDay = "금";
  636. }
  637. else if (enddd.toDate().getDay() == 6)
  638. {
  639. weekDay = "토";
  640. }
  641. switch1.case1.grd_daylist.setCellProperty("Head", parseInt(CellCount+i), "text", weekDay);
  642. }
  643. }
  644. function group4_ipt_enddd_onchanged(obj:Calendar, e:ChangeEventInfo)
  645. {
  646. if(switch1.tabindex == 0)
  647. {
  648. ds_send.setColumn(0, "enddd", String(obj.value).substr(0,6));
  649. }
  650. else
  651. {
  652. ds_send.setColumn(0, "enddd", String(obj.value).substr(0,4));
  653. }
  654. fSetDayGridHead();
  655. }
  656. function group4_chk_child_onclick(obj:CheckBox, e:ClickEventInfo)
  657. {
  658. if(obj.value == "Y")
  659. {}
  660. else
  661. {
  662. ds_send.setColumn(0, "childyn", "");
  663. }
  664. }
  665. function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
  666. {
  667. if (ds_send.getColumn(0, "caseflag") == "D")
  668. {
  669. var oParam = {};
  670. oParam.id = "TRSTP01202";
  671. oParam.service = "stspamapp.StsPam";
  672. oParam.method = "retGetDayPersonSTS";
  673. oParam.inds = "req=ds_send";
  674. oParam.outds = "ds_main_day_daylist=daylist";
  675. oParam.async = false;
  676. //oParam.callback = "cf_callback";
  677. tranf_submit(oParam);
  678. }
  679. else if (ds_send.getColumn(0, "caseflag") == "M")
  680. {
  681. var oParam = {};
  682. oParam.id = "TRSTP01201";
  683. oParam.service = "stspamapp.StsPam";
  684. oParam.method = "retGetMonthPersonSTS";
  685. oParam.inds = "req=ds_send";
  686. oParam.outds = "ds_main_month_monthlist=monthlist";
  687. oParam.async = false;
  688. //oParam.callback = "cf_callback";
  689. tranf_submit(oParam);
  690. }
  691. else if (ds_send.getColumn(0, "caseflag") == "S")
  692. {
  693. var oParam = {};
  694. oParam.id = "TRSTP01201";
  695. oParam.service = "stspamapp.StsPam";
  696. oParam.method = "retGetAgePersonSTS";
  697. oParam.inds = "req=ds_send";
  698. oParam.outds = "ds_main_age_agelist=agelist";
  699. oParam.async = false;
  700. oParam.callback = "cf_callback";
  701. tranf_submit(oParam);
  702. if(arErrorCode.pop("TRSTP01201") > -1)
  703. {
  704. var total_m = ds_main_age_agelist.getColumn(ds_main_age_agelist.rowcount-1, "total_m");
  705. var total_f = ds_main_age_agelist.getColumn(ds_main_age_agelist.rowcount-1, "total_f");
  706. var scount = ds_main_age_agelist.rowcount;
  707. for (var i = 0; i < scount ; i++)
  708. {
  709. var age_m = ds_main_age_agelist.getColumn(i, "total_m");
  710. var age_f = ds_main_age_agelist.getColumn(i, "total_f");
  711. var ratio_m = (age_m/total_m*100).toString();
  712. var ratio_f = (age_f/total_f*100).toString();
  713. ratio_m = ratio_m.getRound("-2", "HALF_UP");
  714. ratio_f = ratio_f.getRound("-2", "HALF_UP");
  715. ds_main_age_agelist.setColumn(i, "ratio_m", ratio_m);
  716. ds_main_age_agelist.setColumn(i, "ratio_f", ratio_f);
  717. }
  718. }
  719. }
  720. }
  721. function cf_callback(sSvcId, nErrorCode, sErrorMsg) {
  722. arErrorCode.push(sSvcId, nErrorCode);
  723. }
  724. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  725. {
  726. if(obj.tabindex == 0)
  727. {
  728. ds_send.setColumn(0, "caseflag", "D");
  729. group4.ipt_enddd.dateformat = "yyyy-MM";
  730. group4.ipt_enddd.editformat = "yyyy-MM";
  731. }
  732. else if(obj.tabindex == 1)
  733. {
  734. ds_send.setColumn(0, "caseflag", "M");
  735. group4.ipt_enddd.dateformat = "yyyy";
  736. group4.ipt_enddd.editformat = "yyyy";
  737. }
  738. else if(obj.tabindex == 2)
  739. {
  740. ds_send.setColumn(0, "caseflag", "S");
  741. group4.ipt_enddd.dateformat = "yyyy";
  742. group4.ipt_enddd.editformat = "yyyy";
  743. }
  744. }
  745. function group4_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  746. {
  747. var xlsTitle = "";
  748. if (ds_send.getColumn(0, "caseflag") == "D")
  749. {
  750. xlsTitle = "일자별 인원통계_" + group4.rdo_dataflag.text+"("+String(group4.ipt_enddd.value).substr(0,4) + "년" + String(group4.ipt_enddd.value).substr(4,2) + "월"+")";
  751. grdf_exportExcel(switch1.case1.grd_daylist, xlsTitle, xlsTitle, "true", "", "");
  752. }
  753. else if (ds_send.getColumn(0, "caseflag") == "M")
  754. {
  755. xlsTitle = "월별 인원통계_" + group4.rdo_dataflag.text+"("+String(group4.ipt_enddd.value).substr(0,4) + "년"+")";
  756. grdf_exportExcel(switch1.case2.grd_monthlist, xlsTitle, xlsTitle, "true", "", "");
  757. }
  758. else if (ds_send.getColumn(0, "caseflag") == "S")
  759. {
  760. xlsTitle = "연령별성별 인원통계_" + group4.rdo_dataflag.text+"("+String(group4.ipt_enddd.value).substr(0,4) + "년"+")";
  761. grdf_exportExcel(switch1.case3.grd_agelist, xlsTitle, xlsTitle, "true", "", "");
  762. }
  763. }
  764. function group4_caption4_ondblclick(obj:Button, e:MouseEventInfo)
  765. {
  766. if (group1.visible)
  767. {
  768. group1.visible = false;
  769. }
  770. else
  771. {
  772. group1.visible = true;
  773. }
  774. }
  775. ]]></Script>
  776. </Form>
  777. </FDL>