SMMNF00800_가정간호통계.xfdl 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNF00800" position="absolute 0 0 750 620" titletext="가정간호 통계" onload="SMMNF00800_onload" scrollbars="none" oninit="SMMNF00800_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" taborder="2" position="absolute 0 24 740 64" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption5" text="집계기간 :" class="search_name" position="absolute 5 12 95 29"/>
  11. <Static id="caption6" text="담당간호사 :" class="search_name" position="absolute 311 12 408 29"/>
  12. <Shape id="line3" linetype="vertical" position="absolute 661 5 664 34" class="line_4"/>
  13. <Button id="btn_req" taborder="1" text="조회" onclick="btn_req_onclick" class="btn1" position="absolute 674 9 730 31"/>
  14. <Calendar id="input1" taborder="2" autoselect="true" onkillfocus="input1_onkillfocus" position="absolute 81 11 182 30" style="align:center ;" autoskip="true"/>
  15. <Calendar id="input2" taborder="3" autoselect="true" onkillfocus="input2_onkillfocus" position="absolute 197 11 298 30" style="align:center ;"/>
  16. <Static id="caption2" text="~" position="absolute 184 12 204 32"/>
  17. <Button id="button3" taborder="4" text="엑셀저장" onclick="button3_onclick" class="btn7" position="absolute 564 10 644 30"/>
  18. <Button id="button4" taborder="5" text="출력" onclick="button4_onclick" class="btn6" visible="false" position="absolute 513 10 563 30"/>
  19. <Combo id="combo1" taborder="6" innerdataset="ds_item_chargenurse_nurselist" codecolumn="userid" datacolumn="usernm" onitemchanged="combo1_onitemchanged" enable="false" position="absolute 403 10 498 29" columncount="-1" rowcount="-1"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Static id="cpt_title" class="tit_1" position="absolute 0 0 150 24" style="" text="가정간호 통계"/>
  24. <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 70 740 664" onchanged="switch1_onchanged">
  25. <Tabpages>
  26. <Tabpage id="case1" text="일자별 현황">
  27. <Layouts>
  28. <Layout width="727" height="463">
  29. <Shape id="line4" class="line_10" position="absolute 0 3 740 14"/>
  30. <Grid id="grd_daily" taborder="1" binddataset="ds_main_daily_dailyinfo" useinputpanel="false" position="absolute 0 10 740 511" style="font:,,normal;" autoenter="select" cellsizingtype="col">
  31. <Formats>
  32. <Format id="default">
  33. <Columns>
  34. <Column size="140"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="100"/>
  45. </Columns>
  46. <Rows>
  47. <Row size="24" band="head"/>
  48. <Row size="24"/>
  49. </Rows>
  50. <Band id="head">
  51. <Cell text="조회 일자 "/>
  52. <Cell col="1" text="user1"/>
  53. <Cell col="2" text="user2"/>
  54. <Cell col="3" text="user3"/>
  55. <Cell col="4" text="user4"/>
  56. <Cell col="5" text="user5"/>
  57. <Cell col="6" text="user6"/>
  58. <Cell col="7" text="user7"/>
  59. <Cell col="8" text="user8"/>
  60. <Cell col="9" text="user9"/>
  61. <Cell col="10" text="계"/>
  62. </Band>
  63. <Band id="body">
  64. <Cell text="bind:visitdd"/>
  65. <Cell col="1" style="align:right middle;" text="bind:user1"/>
  66. <Cell col="2" style="align:right middle;" text="bind:user2"/>
  67. <Cell col="3" style="align:right middle;" text="bind:user3"/>
  68. <Cell col="4" style="align:right middle;" text="bind:user4"/>
  69. <Cell col="5" style="align:right middle;" text="bind:user5"/>
  70. <Cell col="6" style="align:right middle;" text="bind:user6"/>
  71. <Cell col="7" style="align:right middle;" text="bind:user7"/>
  72. <Cell col="8" style="align:right middle;" text="bind:user8"/>
  73. <Cell col="9" style="align:right middle;" text="bind:user9"/>
  74. <Cell col="10" style="align:right middle;font:Dotum,9,bold;" text="bind:total"/>
  75. </Band>
  76. </Format>
  77. </Formats>
  78. </Grid>
  79. </Layout>
  80. </Layouts>
  81. </Tabpage>
  82. <Tabpage id="case2" text="과별 현황">
  83. <Layouts>
  84. <Layout>
  85. <Grid id="grd_dept" taborder="1" binddataset="ds_main_caredept_caredeptinfo" useinputpanel="false" position="absolute 0 10 740 511" style="font:,,normal;" autoenter="select" cellsizingtype="col">
  86. <Formats>
  87. <Format id="default">
  88. <Columns>
  89. <Column size="140"/>
  90. <Column size="0"/>
  91. <Column size="0"/>
  92. <Column size="0"/>
  93. <Column size="0"/>
  94. <Column size="0"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. <Column size="0"/>
  98. <Column size="0"/>
  99. <Column size="100"/>
  100. </Columns>
  101. <Rows>
  102. <Row size="24" band="head"/>
  103. <Row size="24"/>
  104. </Rows>
  105. <Band id="head">
  106. <Cell text="조회 일자 "/>
  107. <Cell col="1" text="user1"/>
  108. <Cell col="2" text="user2"/>
  109. <Cell col="3" text="user3"/>
  110. <Cell col="4" text="user4"/>
  111. <Cell col="5" text="user5"/>
  112. <Cell col="6" text="user6"/>
  113. <Cell col="7" text="user7"/>
  114. <Cell col="8" text="user8"/>
  115. <Cell col="9" text="user9"/>
  116. <Cell col="10" text="계"/>
  117. </Band>
  118. <Band id="body">
  119. <Cell style="align:left middle;padding:0 0 0 3;" text="bind:visitdd"/>
  120. <Cell col="1" displaytype="number" text="bind:user1"/>
  121. <Cell col="2" displaytype="number" text="bind:user2"/>
  122. <Cell col="3" displaytype="number" text="bind:user3"/>
  123. <Cell col="4" displaytype="number" text="bind:user4"/>
  124. <Cell col="5" displaytype="number" text="bind:user5"/>
  125. <Cell col="6" displaytype="number" text="bind:user6"/>
  126. <Cell col="7" displaytype="number" text="bind:user7"/>
  127. <Cell col="8" displaytype="number" text="bind:user8"/>
  128. <Cell col="9" displaytype="number" text="bind:user9"/>
  129. <Cell col="10" style="font:arial,9,bold;" text="bind:total"/>
  130. </Band>
  131. </Format>
  132. </Formats>
  133. </Grid>
  134. <Shape id="line5" class="line_10" position="absolute 0 3 740 14"/>
  135. </Layout>
  136. </Layouts>
  137. </Tabpage>
  138. <Tabpage id="case3" text="교통 및 간호시간">
  139. <Layouts>
  140. <Layout>
  141. <Grid id="grd_caretm" taborder="5" binddataset="ds_main_caretm_caretmnrs" useinputpanel="false" position="absolute 0 41 740 217" style="font:,,normal;" autoenter="select" cellsizingtype="col">
  142. <Formats>
  143. <Format id="default">
  144. <Columns>
  145. <Column size="120"/>
  146. <Column size="150"/>
  147. <Column size="100"/>
  148. <Column size="200"/>
  149. </Columns>
  150. <Rows>
  151. <Row size="24" band="head"/>
  152. <Row size="24"/>
  153. </Rows>
  154. <Band id="head">
  155. <Cell text="간호사 명"/>
  156. <Cell col="1" text="총 간호 시간"/>
  157. <Cell col="2" text="일수"/>
  158. <Cell col="3" text="일일 평균 간호시간(%)"/>
  159. </Band>
  160. <Band id="body">
  161. <Cell text="bind:hngnm"/>
  162. <Cell col="1" displaytype="text" style="align:right middle;" text="bind:totsum"/>
  163. <Cell col="2" style="align:right middle;" text="bind:totcnt"/>
  164. <Cell col="3" style="align:right middle;font:arial,9,bold;" text="bind:nurseavg"/>
  165. </Band>
  166. </Format>
  167. </Formats>
  168. </Grid>
  169. <Static id="caption22" text="&lt; 간호시간 &gt;" class="tit_2" position="absolute 0 20 120 41"/>
  170. <Shape id="line1" class="line_10" position="absolute 0 34 740 45"/>
  171. <Shape id="line2" class="line_10" position="absolute 0 298 740 309"/>
  172. <Static id="caption3" text="&lt; 교통시간 &gt;" class="tit_2" position="absolute 0 284 120 305"/>
  173. <Grid id="grd_caremove" taborder="6" binddataset="ds_main_caretm_caretmmove" useinputpanel="false" position="absolute 0 305 740 481" style="font:,,normal;" autoenter="select" cellsizingtype="col">
  174. <Formats>
  175. <Format id="default">
  176. <Columns>
  177. <Column size="120"/>
  178. <Column size="150"/>
  179. <Column size="100"/>
  180. <Column size="200"/>
  181. </Columns>
  182. <Rows>
  183. <Row size="24" band="head"/>
  184. <Row size="24"/>
  185. </Rows>
  186. <Band id="head">
  187. <Cell text="간호사 명"/>
  188. <Cell col="1" text="총 교통소요 시간"/>
  189. <Cell col="2" text="일수"/>
  190. <Cell col="3" text="일일 평균 교통소요 시간(%)"/>
  191. </Band>
  192. <Band id="body">
  193. <Cell text="bind:hngnm"/>
  194. <Cell col="1" displaytype="text" style="align:right middle;padding:1 2 1 2;" text="bind:totmove"/>
  195. <Cell col="2" style="align:right middle;padding:1 2 1 2;" text="bind:totcnt"/>
  196. <Cell col="3" style="align:right middle;padding:1 2 1 2;font:arial,9,bold;" text="bind:moveavg"/>
  197. </Band>
  198. </Format>
  199. </Formats>
  200. </Grid>
  201. <Button id="button2" taborder="7" text="엑셀저장" onclick="switch1_case3_button2_onclick" class="btn7" position="absolute 135 17 215 36"/>
  202. <Button id="button5" taborder="8" text="엑셀저장" onclick="switch1_case3_button5_onclick" class="btn7" position="absolute 135 281 215 300"/>
  203. </Layout>
  204. </Layouts>
  205. </Tabpage>
  206. <Tabpage id="case4" text="간호 활동">
  207. <Layouts>
  208. <Layout>
  209. <Grid id="grd_nursecare" taborder="1" binddataset="ds_main_nursecare" useinputpanel="false" position="absolute 0 10 740 511" style="font:,,normal;" autoenter="select" cellsizingtype="col">
  210. <Formats>
  211. <Format id="default">
  212. <Columns>
  213. <Column size="120"/>
  214. <Column size="60"/>
  215. <Column size="90"/>
  216. <Column size="90"/>
  217. <Column size="107"/>
  218. <Column size="90"/>
  219. <Column size="90"/>
  220. <Column size="50"/>
  221. </Columns>
  222. <Rows>
  223. <Row size="24" band="head"/>
  224. <Row size="24"/>
  225. </Rows>
  226. <Band id="head">
  227. <Cell text="간호사 명"/>
  228. <Cell col="1" text="구분"/>
  229. <Cell col="2" text="기본적 간호"/>
  230. <Cell col="3" text="처치적 간호"/>
  231. <Cell col="4" text="교육 및 상담"/>
  232. <Cell col="5" text="검체"/>
  233. <Cell col="6" text="연계 및 의뢰"/>
  234. <Cell col="7" text="계"/>
  235. </Band>
  236. <Band id="body">
  237. <Cell text="bind:hngnm" suppress="1" suppressalign="middle,over"/>
  238. <Cell col="1" style="align:right middle;" text="bind:gubun"/>
  239. <Cell col="2" style="align:right middle;" text="bind:basiccare"/>
  240. <Cell col="3" style="align:right middle;" text="bind:actcare"/>
  241. <Cell col="4" style="align:right middle;" text="bind:educoncare"/>
  242. <Cell col="5" style="align:right middle;" text="bind:cdiscare"/>
  243. <Cell col="6" style="align:right middle;" text="bind:cnsltcare"/>
  244. <Cell col="7" style="font:arial,9,bold;" text="bind:total" suppress="2" suppressalign="middle,over"/>
  245. </Band>
  246. </Format>
  247. </Formats>
  248. </Grid>
  249. <Shape id="line6" class="line_10" position="absolute 0 3 740 14"/>
  250. </Layout>
  251. </Layouts>
  252. </Tabpage>
  253. <Tabpage id="case5" text="관리환자 현황" selected="true">
  254. <Layouts>
  255. <Layout width="727" height="463">
  256. <Grid id="grd_pat" taborder="1" binddataset="ds_main_patlist" useinputpanel="false" position="absolute 0 10 740 511" style="font:,,normal;" autoenter="select" cellsizingtype="col">
  257. <Formats>
  258. <Format id="default">
  259. <Columns>
  260. <Column size="150"/>
  261. <Column size="120"/>
  262. <Column size="120"/>
  263. <Column size="120"/>
  264. </Columns>
  265. <Rows>
  266. <Row size="24" band="head"/>
  267. <Row size="24"/>
  268. </Rows>
  269. <Band id="head">
  270. <Cell text="일자 "/>
  271. <Cell col="1" text="신규 등록자"/>
  272. <Cell col="2" text="종결자"/>
  273. <Cell col="3" text="관리환자"/>
  274. </Band>
  275. <Band id="body">
  276. <Cell style="font:arial,9,bold;" text="bind:visitdd"/>
  277. <Cell col="1" style="align:right middle;font:arial,9,bold;" text="bind:firtvisit"/>
  278. <Cell col="2" style="align:right middle;font:arial,9,bold;" text="bind:endvisit"/>
  279. <Cell col="3" style="align:right middle;font:arial,9,bold;" text="bind:ongvisit"/>
  280. </Band>
  281. </Format>
  282. </Formats>
  283. </Grid>
  284. <Shape id="line7" class="line_10" position="absolute 0 3 740 14"/>
  285. </Layout>
  286. </Layouts>
  287. </Tabpage>
  288. </Tabpages>
  289. </Tab>
  290. <Button id="button1" class="btn2" position="absolute 653 73 739 92" style="" text="진료내역조회" onclick="button1_onclick"/>
  291. </Layout>
  292. </Layouts>
  293. <Objects>
  294. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  295. <ColumnInfo>
  296. <Column id="fromdd" type="STRING" size="256"/>
  297. <Column id="todd" type="STRING" size="256"/>
  298. <Column id="careflag" type="STRING" size="256"/>
  299. <Column id="churchcd" type="STRING" size="256"/>
  300. <Column id="chrgnursid" type="STRING" size="256"/>
  301. <Column id="kindflag" type="STRING" size="256"/>
  302. <Column id="pid" type="STRING" size="256"/>
  303. <Column id="inptdt" type="STRING" size="256"/>
  304. <Column id="instcd" type="STRING" size="256"/>
  305. <Column id="patflag" type="STRING" size="256"/>
  306. <Column id="kind" type="STRING" size="256"/>
  307. <Column id="savedata" type="STRING" size="256"/>
  308. <Column id="patcareflag" type="STRING" size="256"/>
  309. </ColumnInfo>
  310. <Rows>
  311. <Row>
  312. <Col id="fromdd"/>
  313. <Col id="todd"/>
  314. <Col id="careflag">H</Col>
  315. <Col id="churchcd">-</Col>
  316. <Col id="chrgnursid">%</Col>
  317. <Col id="kindflag"/>
  318. <Col id="pid"/>
  319. <Col id="inptdt"/>
  320. <Col id="instcd"/>
  321. <Col id="patflag">1</Col>
  322. <Col id="kind"/>
  323. <Col id="savedata"/>
  324. <Col id="patcareflag"/>
  325. </Row>
  326. </Rows>
  327. </Dataset>
  328. <Dataset id="ds_main_daily_dailyinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  329. <ColumnInfo>
  330. <Column id="visitdd" type="STRING" size="256" sumtext="조회 일자"/>
  331. <Column id="user1" type="STRING" size="256" sumtext="사용자1"/>
  332. <Column id="user2" type="STRING" size="256" sumtext="사용자2"/>
  333. <Column id="user3" type="STRING" size="256" sumtext="사용자3"/>
  334. <Column id="user4" type="STRING" size="256" sumtext="사용자4"/>
  335. <Column id="user5" type="STRING" size="256" sumtext="사용자5"/>
  336. <Column id="user6" type="STRING" size="256" sumtext="사용자6"/>
  337. <Column id="user7" type="STRING" size="256" sumtext="사용자7"/>
  338. <Column id="user8" type="STRING" size="256" sumtext="사용자8"/>
  339. <Column id="user9" type="STRING" size="256" sumtext="사용자9"/>
  340. <Column id="total" type="STRING" size="256" sumtext="총 합계"/>
  341. </ColumnInfo>
  342. </Dataset>
  343. <Dataset id="ds_main_caredept_caredeptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  344. <ColumnInfo>
  345. <Column id="visitdd" type="STRING" size="256" sumtext="조회 일자"/>
  346. <Column id="user1" type="STRING" size="256" sumtext="사용자1"/>
  347. <Column id="user2" type="STRING" size="256" sumtext="사용자2"/>
  348. <Column id="user3" type="STRING" size="256" sumtext="사용자3"/>
  349. <Column id="user4" type="STRING" size="256" sumtext="사용자4"/>
  350. <Column id="user5" type="STRING" size="256" sumtext="사용자5"/>
  351. <Column id="user6" type="STRING" size="256" sumtext="사용자6"/>
  352. <Column id="user7" type="STRING" size="256" sumtext="사용자7"/>
  353. <Column id="user8" type="STRING" size="256" sumtext="사용자8"/>
  354. <Column id="user9" type="STRING" size="256" sumtext="사용자9"/>
  355. <Column id="total" type="STRING" size="256" sumtext="총 합계"/>
  356. </ColumnInfo>
  357. </Dataset>
  358. <Dataset id="ds_main_caretm_caretmnrs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  359. <ColumnInfo>
  360. <Column id="hngnm" type="STRING" size="256" sumtext="간호사명"/>
  361. <Column id="totsum" type="STRING" size="256" sumtext="총간호시간"/>
  362. <Column id="totcnt" type="STRING" size="256" sumtext="일수"/>
  363. <Column id="nurseavg" type="STRING" size="256" sumtext="평균 간호시간"/>
  364. </ColumnInfo>
  365. </Dataset>
  366. <Dataset id="ds_main_caretm_caretmmove" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  367. <ColumnInfo>
  368. <Column id="hngnm" type="STRING" size="256" sumtext="간호사명"/>
  369. <Column id="totcnt" type="STRING" size="256" sumtext="일수"/>
  370. <Column id="totmove" type="STRING" size="256" sumtext="총교통시간"/>
  371. <Column id="moveavg" type="STRING" size="256" sumtext="평균 교통시간"/>
  372. </ColumnInfo>
  373. </Dataset>
  374. <Dataset id="ds_main_nursecare" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  375. <ColumnInfo>
  376. <Column id="hngnm" type="STRING" size="256" sumtext="간호사명"/>
  377. <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
  378. <Column id="basiccare" type="STRING" size="256" sumtext="기본적 간호"/>
  379. <Column id="actcare" type="STRING" size="256" sumtext="처치적 간호"/>
  380. <Column id="educoncare" type="STRING" size="256" sumtext="교육 및 상담"/>
  381. <Column id="cdiscare" type="STRING" size="256" sumtext="검체"/>
  382. <Column id="cnsltcare" type="STRING" size="256" sumtext="연계 및 의뢰"/>
  383. <Column id="total" type="STRING" size="256" sumtext="계"/>
  384. </ColumnInfo>
  385. </Dataset>
  386. <Dataset id="ds_main_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  387. <ColumnInfo>
  388. <Column id="visitdd" type="STRING" size="256" sumtext="일자"/>
  389. <Column id="firtvisit" type="STRING" size="256" sumtext="신규 등록자"/>
  390. <Column id="endvisit" type="STRING" size="256" sumtext="종결자"/>
  391. <Column id="ongvisit" type="STRING" size="256" sumtext="관리환자"/>
  392. </ColumnInfo>
  393. </Dataset>
  394. <Dataset id="ds_item_chargenurse_nurselist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  395. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  396. <ColumnInfo>
  397. <Column id="year" type="STRING" size="256"/>
  398. <Column id="month" type="STRING" size="256"/>
  399. <Column id="orddeptcd" type="STRING" size="256"/>
  400. <Column id="orddrid" type="STRING" size="256"/>
  401. <Column id="pid" type="STRING" size="256"/>
  402. <Column id="hngnm" type="STRING" size="256"/>
  403. <Column id="fromdd" type="STRING" size="256"/>
  404. <Column id="todd" type="STRING" size="256"/>
  405. <Column id="prid" type="STRING" size="256"/>
  406. <Column id="orddeptnm" type="STRING" size="256"/>
  407. <Column id="orddridnm" type="STRING" size="256"/>
  408. <Column id="prestimportid" type="STRING" size="256"/>
  409. </ColumnInfo>
  410. <Rows>
  411. <Row>
  412. <Col id="year"/>
  413. <Col id="month"/>
  414. <Col id="orddeptcd"/>
  415. <Col id="orddrid"/>
  416. <Col id="pid"/>
  417. <Col id="hngnm"/>
  418. <Col id="fromdd"/>
  419. <Col id="todd"/>
  420. <Col id="prid"/>
  421. <Col id="orddeptnm"/>
  422. <Col id="orddridnm"/>
  423. <Col id="prestimportid"/>
  424. </Row>
  425. </Rows>
  426. </Dataset>
  427. <Dataset id="ds_main_daily_titleinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  428. <ColumnInfo>
  429. <Column id="visitdd" type="STRING" size="256" sumtext="조회 일자"/>
  430. <Column id="user1" type="STRING" size="256" sumtext="사용자1"/>
  431. <Column id="user2" type="STRING" size="256" sumtext="사용자2"/>
  432. <Column id="user3" type="STRING" size="256" sumtext="사용자3"/>
  433. <Column id="user4" type="STRING" size="256" sumtext="사용자4"/>
  434. <Column id="user5" type="STRING" size="256" sumtext="사용자5"/>
  435. <Column id="user6" type="STRING" size="256" sumtext="사용자6"/>
  436. <Column id="user7" type="STRING" size="256" sumtext="사용자7"/>
  437. <Column id="user8" type="STRING" size="256" sumtext="사용자8"/>
  438. <Column id="user9" type="STRING" size="256" sumtext="사용자9"/>
  439. <Column id="total" type="STRING" size="256" sumtext="총 합계"/>
  440. </ColumnInfo>
  441. </Dataset>
  442. <Dataset id="ds_main_caredept_titleinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  443. <ColumnInfo>
  444. <Column id="visitdd" type="STRING" size="256" sumtext="조회 일자"/>
  445. <Column id="user1" type="STRING" size="256" sumtext="사용자1"/>
  446. <Column id="user2" type="STRING" size="256" sumtext="사용자2"/>
  447. <Column id="user3" type="STRING" size="256" sumtext="사용자3"/>
  448. <Column id="user4" type="STRING" size="256" sumtext="사용자4"/>
  449. <Column id="user5" type="STRING" size="256" sumtext="사용자5"/>
  450. <Column id="user6" type="STRING" size="256" sumtext="사용자6"/>
  451. <Column id="user7" type="STRING" size="256" sumtext="사용자7"/>
  452. <Column id="user8" type="STRING" size="256" sumtext="사용자8"/>
  453. <Column id="user9" type="STRING" size="256" sumtext="사용자9"/>
  454. <Column id="total" type="STRING" size="256" sumtext="총 합계"/>
  455. </ColumnInfo>
  456. </Dataset>
  457. </Objects>
  458. <Bind>
  459. <BindItem id="item0" compid="grp_sea.input1" propid="value" datasetid="ds_send" columnid="fromdd"/>
  460. <BindItem id="item1" compid="grp_sea.input2" propid="value" datasetid="ds_send" columnid="todd"/>
  461. <BindItem id="item2" compid="grp_sea.combo1" propid="value" datasetid="ds_send" columnid="chrgnursid"/>
  462. </Bind>
  463. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  464. * System Name :
  465. * Job Name :
  466. * Creator :
  467. * Make Date : 2015-11-13
  468. * Description :
  469. *---------------------------------------------------------------------------------------
  470. * Modify Date Modifier Modify Description
  471. *---------------------------------------------------------------------------------------
  472. * 2015-11-13 Live Converter TF->XP
  473. *
  474. *---------------------------------------------------------------------------------------
  475. ****************************************************************************************/
  476. include "com_commonxp::comm_main.xjs";
  477. include "emr_homecarexp::SMMNF00100.xjs";
  478. include "com_basiccodexp::ZBC001.xjs";
  479. include "emr_prcpmngtxp::MMO001.xjs";
  480. include "com_userdeptinfoxp::ZSU001.xjs";
  481. include "com_departmentcodexp::ZSD001.xjs";
  482. include "emr_carecomxp::CareCom.xjs";
  483. include "emr_carecomxp::ENRSignEngine.xjs";
  484. function SMMNF00800_oninit(obj:Form, e:InitEventInfo)
  485. {
  486. frmf_initForm(obj);
  487. }
  488. function SMMNF00800_onload(obj:Form, e:LoadEventInfo)
  489. {
  490. grdf_initGrid(switch1.case1.grd_daily);
  491. grdf_initGrid(switch1.case2.grd_dept);
  492. grdf_initGrid(switch1.case3.grd_caremove);
  493. grdf_initGrid(switch1.case3.grd_caretm);
  494. grdf_initGrid(switch1.case4.grd_nursecare);
  495. grdf_initGrid(switch1.case5.grd_pat);
  496. ds_send.setColumn( 0, "fromdd", utlf_getCurrentDate());
  497. ds_send.setColumn( 0, "todd" , utlf_getCurrentDate());
  498. switch1.tabindex = 0;
  499. frmf_inputEnterKey("switch1", "onchanged", new TabIndexChangeEventInfo );
  500. // -- 가정간호 간호사 조회 -----------------
  501. ds_send.setColumn( 0, "kind", "1"); // 병원 세팅
  502. ds_send.setColumn( 0, "patflag", "1" );
  503. ds_send.setColumn( 0, "churchcd", '-');
  504. var oParam = {};
  505. oParam.id = "TRMNF00106";
  506. oParam.service = "homecareapp.HomeCare";
  507. oParam.method = "reqGetChargeNurseList";
  508. oParam.inds = "req=ds_send";
  509. oParam.outds = "ds_item_chargenurse_nurselist=nurselist";
  510. oParam.async = false;
  511. //oParam.callback = "cf_TRMNF00106";
  512. tranf_submit(oParam);
  513. //김홍점 20080124 세션에서 정보를 읽어온다.
  514. var userid = sysf_getUserId();
  515. if ( ds_item_chargenurse_nurselist.findRow("userid", userid) < 0)
  516. {
  517. ds_send.setColumn( 0, "chrgnursid", '%');
  518. ds_send.setColumn( 0, "churchcd",'-');
  519. }
  520. else
  521. {
  522. ds_send.setColumn( 0, "chrgnursid", userid );
  523. ds_send.setColumn( 0, "churchcd", sysf_getUserInfo("dutplcecd"));
  524. }
  525. }
  526. function button3_onclick(obj:Button, e:ClickEventInfo)
  527. {
  528. //엑셀저장
  529. var title;
  530. switch(ds_main_cond.getColumn(0, "prestimportid"))
  531. {
  532. case "daily":
  533. title = "일자별 현황";
  534. grdf_exportExcel(switch1.case1.grd_daily, title, "SheetName", "true", "", "");
  535. case "dept":
  536. title = "과별 현황";
  537. grdf_exportExcel(switch1.case2.grd_dept, title, "SheetName", "true", "", "");
  538. case "care":
  539. title = "간호활동";
  540. grdf_exportExcel(switch1.case4.grd_nursecare, title, "SheetName", "true", "", "");
  541. break;
  542. case "pat":
  543. title = "관리환자 현황";
  544. grdf_exportExcel(switch1.case5.grd_pat, title, "SheetName", "true", "", "");
  545. break;
  546. }
  547. }
  548. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  549. {
  550. if(obj.tabindex == 0)
  551. {
  552. fNurseSch("all");
  553. ds_main_cond.setColumn(0, "prestimportid", "daily");
  554. }
  555. else if(obj.tabindex == 1)
  556. {
  557. fNurseSch("all");
  558. ds_main_cond.setColumn(0, "prestimportid", "dept");
  559. }
  560. else if(obj.tabindex == 2)
  561. {
  562. fNurseSch("ind");
  563. ds_main_cond.setColumn(0, "prestimportid", "caretm");
  564. }
  565. else if(obj.tabindex == 3)
  566. {
  567. fNurseSch("ind");
  568. ds_main_cond.setColumn(0, "prestimportid", "care");
  569. }
  570. else if(obj.tabindex == 4)
  571. {
  572. fNurseSch("all");
  573. ds_main_cond.setColumn(0, "prestimportid", "pat");
  574. }
  575. }
  576. function fNurseSch(chk)
  577. {
  578. if (chk == "all")
  579. {
  580. grp_sea.combo1.value = "%" ;
  581. grp_sea.combo1.enable = false;
  582. }
  583. else
  584. {
  585. grp_sea.combo1.enable = true;
  586. }
  587. }
  588. function btn_req_onclick(obj:Button, e:ClickEventInfo)
  589. {
  590. switch(ds_main_cond.getColumn(0, "prestimportid"))
  591. {
  592. case "daily":
  593. var oParam = {};
  594. oParam.id = "TRMNF00810";
  595. oParam.service = "homecareapp.HomeCare";
  596. oParam.method = "reqGetDailyStats";
  597. oParam.inds = "req=ds_send";
  598. oParam.outds = "ds_main_daily_titleinfo=titleinfo ds_main_daily_dailyinfo=dailyinfo";
  599. oParam.async = false;
  600. //oParam.callback = "cf_TRMNF00810";
  601. tranf_submit(oParam);
  602. var path = "ds_main_daily_titleinfo";
  603. var data;
  604. for(var i = 1; i < 10; i++)
  605. {
  606. var user = "user" + i
  607. switch1.case1.grd_daily.setCellProperty("Head", i, "text", eval(path).getColumn(0, user));
  608. data = eval(path).getColumn(0, user);
  609. if(data == 0 || utlf_isNull(data))
  610. {
  611. switch1.case1.grd_daily.setFormatColProperty(i, "size", 0);
  612. }
  613. else
  614. {
  615. switch1.case1.grd_daily.setFormatColProperty(i, "size", 80);
  616. }
  617. }
  618. break;
  619. case "dept":
  620. var oParam = {};
  621. oParam.id = "TRMNF00820";
  622. oParam.service = "homecareapp.HomeCare";
  623. oParam.method = "reqGetDeptStats";
  624. oParam.inds = "req=ds_send";
  625. oParam.outds = "ds_main_caredept_titleinfo=titleinfo ds_main_caredept_caredeptinfo=caredeptinfo";
  626. oParam.async = false;
  627. //oParam.callback = "cf_TRMNF00820";
  628. tranf_submit(oParam);
  629. var path = "ds_main_caredept_titleinfo";
  630. var data;
  631. for(var i = 1; i < 10; i++)
  632. {
  633. var user = "user" + i ;
  634. switch1.case2.grd_dept.setCellProperty("Head", i, "text", eval(path).getColumn(0, user));
  635. data = eval(path).getColumn(0, user)
  636. if(data == 0 || utlf_isNull(data))
  637. {
  638. switch1.case2.grd_dept.setFormatColProperty(i, "size", 0);
  639. }
  640. else
  641. {
  642. switch1.case2.grd_dept.setFormatColProperty(i, "size", 80);
  643. }
  644. }
  645. break;
  646. case "caretm":
  647. var oParam = {};
  648. oParam.id = "TRMNF00830";
  649. oParam.service = "homecareapp.HomeCare";
  650. oParam.method = "reqGetCareTmStats";
  651. oParam.inds = "req=ds_send";
  652. oParam.outds = "ds_main_caretm_caretmnrs=caretm ds_main_caretm_caretmmove=caretm";
  653. oParam.async = false;
  654. //oParam.callback = "cf_TRMNF00830";
  655. tranf_submit(oParam);
  656. ds_main_caretm_caretmmove.copyData(ds_main_caretm_caretmnrs);
  657. break;
  658. case "care":
  659. var oParam = {};
  660. oParam.id = "TRMNF00840";
  661. oParam.service = "homecareapp.HomeCare";
  662. oParam.method = "reqGetNurseCareStats";
  663. oParam.inds = "req=ds_send";
  664. oParam.outds = "ds_main_nursecare=nursecare";
  665. oParam.async = false;
  666. //oParam.callback = "cf_TRMNF00840";
  667. tranf_submit(oParam);
  668. break;
  669. case "pat":
  670. var oParam = {};
  671. oParam.id = "TRMNF00850";
  672. oParam.service = "homecareapp.HomeCare";
  673. oParam.method = "reqGetPatStats";
  674. oParam.inds = "req=ds_send";
  675. oParam.outds = "ds_main_patlist=patlist";
  676. oParam.async = false;
  677. //oParam.callback = "cf_TRMNF00850";
  678. tranf_submit(oParam);
  679. break;
  680. }
  681. }
  682. function button1_onclick(obj:Button, e:ClickEventInfo)
  683. {
  684. frmf_modal("SMMNF00801", "SMMNF00801", "", "", "", "", "", "", "", "", "", "", "M");
  685. }
  686. function switch1_case3_button2_onclick(obj:Button, e:ClickEventInfo)
  687. {
  688. //엑셀저장
  689. var fileName = "간호시간";
  690. grdf_exportExcel(switch1.case3.grd_caretm, fileName, "SheetName", "true", "", "");
  691. }
  692. function switch1_case3_button5_onclick(obj:Button, e:ClickEventInfo)
  693. {
  694. //엑셀저장
  695. var fileName = "교통시간";
  696. grdf_exportExcel(switch1.case3.grd_caremove, fileName, "SheetName", "true", "", "");
  697. }
  698. ]]></Script>
  699. </Form>
  700. </FDL>