SMMNI01000_주사실 업무별 실적 통계.xfdl 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNI01000" position="absolute 0 0 1256 805" titletext="주사실 업무별 실적 통계" oninit="model1_oninit" onload="SMMNI01000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="switch1" position="absolute 0 77 1256 805" anchor="all" positiontype="position" onchanged="switch1_onchanged">
  8. <Tabpages>
  9. <Tabpage id="case1" position="absolute 0 0 1195 668" text="내원환자현황">
  10. <Layouts>
  11. <Layout>
  12. <Grid id="grd_chospat" class="datagrid2" taborder="0" binddataset="ds_grid_grd_chospat" useinputpanel="false" position="absolute 0 3 1256 704" cellmovingtype="col" cellsizingtype="both">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="103"/>
  17. <Column size="68"/>
  18. <Column size="68"/>
  19. <Column size="68"/>
  20. <Column size="68"/>
  21. <Column size="68"/>
  22. <Column size="68"/>
  23. <Column size="68"/>
  24. <Column size="68"/>
  25. <Column size="68"/>
  26. <Column size="68"/>
  27. <Column size="68"/>
  28. <Column size="68"/>
  29. <Column size="88"/>
  30. <Column size="88"/>
  31. <Column size="78"/>
  32. </Columns>
  33. <Rows>
  34. <Row size="24" band="head"/>
  35. <Row size="24"/>
  36. </Rows>
  37. <Band id="head">
  38. <Cell text="구분"/>
  39. <Cell col="1"/>
  40. <Cell col="2"/>
  41. <Cell col="3"/>
  42. <Cell col="4"/>
  43. <Cell col="5"/>
  44. <Cell col="6"/>
  45. <Cell col="7"/>
  46. <Cell col="8"/>
  47. <Cell col="9"/>
  48. <Cell col="10"/>
  49. <Cell col="11"/>
  50. <Cell col="12"/>
  51. <Cell col="13"/>
  52. <Cell col="14"/>
  53. <Cell col="15"/>
  54. </Band>
  55. <Band id="body">
  56. <Cell celltype="body" text="bind:flag"/>
  57. <Cell col="1" style="align:right;" text="bind:mar"/>
  58. <Cell col="2" style="align:right;" text="bind:apr"/>
  59. <Cell col="3" style="align:right;" text="bind:may"/>
  60. <Cell col="4" style="align:right;" text="bind:jun"/>
  61. <Cell col="5" style="align:right;" text="bind:jul"/>
  62. <Cell col="6" style="align:right;" text="bind:aug"/>
  63. <Cell col="7" style="align:right;" text="bind:sep"/>
  64. <Cell col="8" style="align:right;" text="bind:oct"/>
  65. <Cell col="9" style="align:right;" text="bind:nov"/>
  66. <Cell col="10" style="align:right;" text="bind:dec"/>
  67. <Cell col="11" style="align:right;" text="bind:jan"/>
  68. <Cell col="12" style="align:right;" text="bind:feb"/>
  69. <Cell col="13" style="align:right;" text="bind:total"/>
  70. <Cell col="14" style="align:right;" text="bind:prioryysum"/>
  71. <Cell col="15" displaytype="text" style="align:right;" text="bind:fluctuate"/>
  72. </Band>
  73. </Format>
  74. </Formats>
  75. </Grid>
  76. </Layout>
  77. </Layouts>
  78. </Tabpage>
  79. <Tabpage id="case2" text="예방접종현황">
  80. <Layouts>
  81. <Layout>
  82. <Grid id="grd_vacn" class="datagrid2" taborder="1" binddataset="ds_grid_grd_vacn" useinputpanel="false" position="absolute 2 2 1258 703">
  83. <Formats>
  84. <Format id="default">
  85. <Columns>
  86. <Column size="103"/>
  87. <Column size="68"/>
  88. <Column size="68"/>
  89. <Column size="68"/>
  90. <Column size="68"/>
  91. <Column size="68"/>
  92. <Column size="68"/>
  93. <Column size="68"/>
  94. <Column size="68"/>
  95. <Column size="68"/>
  96. <Column size="68"/>
  97. <Column size="68"/>
  98. <Column size="68"/>
  99. <Column size="88"/>
  100. <Column size="88"/>
  101. <Column size="78"/>
  102. </Columns>
  103. <Rows>
  104. <Row size="24" band="head"/>
  105. <Row size="24"/>
  106. </Rows>
  107. <Band id="head">
  108. <Cell/>
  109. <Cell col="1"/>
  110. <Cell col="2"/>
  111. <Cell col="3"/>
  112. <Cell col="4"/>
  113. <Cell col="5"/>
  114. <Cell col="6"/>
  115. <Cell col="7"/>
  116. <Cell col="8"/>
  117. <Cell col="9"/>
  118. <Cell col="10"/>
  119. <Cell col="11"/>
  120. <Cell col="12"/>
  121. <Cell col="13"/>
  122. <Cell col="14"/>
  123. <Cell col="15"/>
  124. </Band>
  125. <Band id="body">
  126. <Cell celltype="head" text="bind:flag"/>
  127. <Cell col="1" text="bind:mar"/>
  128. <Cell col="2" text="bind:apr"/>
  129. <Cell col="3" text="bind:may"/>
  130. <Cell col="4" text="bind:jun"/>
  131. <Cell col="5" text="bind:jul"/>
  132. <Cell col="6" text="bind:aug"/>
  133. <Cell col="7" text="bind:sep"/>
  134. <Cell col="8" text="bind:oct"/>
  135. <Cell col="9" text="bind:nov"/>
  136. <Cell col="10" text="bind:dec"/>
  137. <Cell col="11" text="bind:jan"/>
  138. <Cell col="12" text="bind:feb"/>
  139. <Cell col="13" text="bind:total"/>
  140. <Cell col="14" text="bind:prioryysum"/>
  141. <Cell col="15" text="bind:fluctuate"/>
  142. </Band>
  143. </Format>
  144. </Formats>
  145. </Grid>
  146. </Layout>
  147. </Layouts>
  148. </Tabpage>
  149. </Tabpages>
  150. </Tab>
  151. <Div id="grp_sea" anchor="left top right" taborder="1" style="align:center top;" class="div_SA" position="absolute 0 26 1256 68">
  152. <Layouts>
  153. <Layout>
  154. <Spin id="Spin00" taborder="0" value="2014" max="9999" min="1900" position="absolute 94 10 154 30" anchor="default"/>
  155. </Layout>
  156. </Layouts>
  157. </Div>
  158. <Static id="caption9" class="search_name" position="absolute 9 36 83 56" anchor="default" positiontype="position" text="조회연도"/>
  159. <Button id="button1" class="btn1" position="absolute 1189 36 1245 56" anchor="top right" positiontype="position" text="조회" onlbuttonup="button1_onlbuttonup" onclick="button1_onclick"/>
  160. <Shape id="line4" class="line_4" position="absolute 989 7 989 29" anchor="default" positiontype="position" linetype="vertical"/>
  161. <Button id="button2" class="btn6" position="absolute 1141 74 1197 94" anchor="top right" positiontype="position" text="출력" onlbuttonup="button2_onlbuttonup" onclick="button2_onclick"/>
  162. <Button id="button3" class="btn7" position="absolute 1200 74 1256 94" anchor="top right" positiontype="position" text="엑셀" onlbuttonup="button3_onlbuttonup" onclick="button3_onclick"/>
  163. <Static id="caption6" class="tit_1" position="absolute 0 0 424 26" anchor="default" positiontype="position" text="주사실 업무별 실적 통계"/>
  164. </Layout>
  165. </Layouts>
  166. <Objects>
  167. <Dataset id="ds_grid_grd_chospat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  168. <ColumnInfo>
  169. <Column id="flag" type="STRING"/>
  170. <Column id="mar" type="STRING"/>
  171. <Column id="apr" type="STRING"/>
  172. <Column id="may" type="STRING"/>
  173. <Column id="jun" type="STRING"/>
  174. <Column id="jul" type="STRING"/>
  175. <Column id="aug" type="STRING"/>
  176. <Column id="sep" type="STRING"/>
  177. <Column id="oct" type="STRING"/>
  178. <Column id="nov" type="STRING"/>
  179. <Column id="dec" type="STRING"/>
  180. <Column id="jan" type="STRING"/>
  181. <Column id="feb" type="STRING"/>
  182. <Column id="prioryysum" type="STRING" size="256"/>
  183. <Column id="total" type="STRING"/>
  184. <Column id="fluctuate" type="STRING"/>
  185. </ColumnInfo>
  186. </Dataset>
  187. <Dataset id="ds_grid_grd_vacn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  188. <ColumnInfo>
  189. <Column id="flag" type="STRING"/>
  190. <Column id="mar" type="INT"/>
  191. <Column id="apr" type="INT"/>
  192. <Column id="may" type="INT"/>
  193. <Column id="jun" type="INT"/>
  194. <Column id="jul" type="INT"/>
  195. <Column id="aug" type="INT"/>
  196. <Column id="sep" type="INT"/>
  197. <Column id="oct" type="INT"/>
  198. <Column id="nov" type="INT"/>
  199. <Column id="dec" type="INT"/>
  200. <Column id="jan" type="INT"/>
  201. <Column id="feb" type="INT"/>
  202. <Column id="prioryysum" type="INT"/>
  203. <Column id="total" type="INT"/>
  204. <Column id="fluctuate" type="STRING"/>
  205. </ColumnInfo>
  206. </Dataset>
  207. <Dataset id="ds_grid_data_chosdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  208. <ColumnInfo>
  209. <column id="sorder"/>
  210. <column id="smon"/>
  211. <column id="prvn" type="INT"/>
  212. <column id="anticncr" type="INT"/>
  213. <column id="antibio" type="INT"/>
  214. <column id="gnrl" type="INT"/>
  215. <column id="sap" type="INT"/>
  216. <column id="blod" type="INT"/>
  217. <column id="inj" type="INT"/>
  218. <column id="cure" type="INT"/>
  219. <column id="totcnt" type="INT"/>
  220. </ColumnInfo>
  221. </Dataset>
  222. <Dataset id="ds_grid_data_vacn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  223. <ColumnInfo>
  224. <column id="sorder"/>
  225. <column id="smon"/>
  226. <column id="drugcdname"/>
  227. <column id="drugcdseq"/>
  228. </ColumnInfo>
  229. </Dataset>
  230. <Dataset id="ds_grid_data_vacnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  231. <ColumnInfo>
  232. <column id="flag"/>
  233. <column id="mar"/>
  234. <column id="apr"/>
  235. <column id="may"/>
  236. <column id="jun"/>
  237. <column id="jul"/>
  238. <column id="aug"/>
  239. <column id="sep"/>
  240. <column id="oct"/>
  241. <column id="nov"/>
  242. <column id="dec"/>
  243. <column id="jan"/>
  244. <column id="feb"/>
  245. <column id="total"/>
  246. <column id="prioryysum"/>
  247. <column id="fluctuate"/>
  248. </ColumnInfo>
  249. </Dataset>
  250. <Dataset id="ds_print" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  251. <ColumnInfo>
  252. <Column id="switch" type="STRING" size="256"/>
  253. <Column id="yearrefday" type="STRING" size="256"/>
  254. </ColumnInfo>
  255. </Dataset>
  256. </Objects>
  257. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  258. * System Name : Himed
  259. * Job Name :
  260. * File Name : SMMNI01000_주사실 업무별 실적 통계.xfdl
  261. * Creator :
  262. * Make Date : 2014-07-03
  263. *
  264. * Description :
  265. *---------------------------------------------------------------------------------------
  266. * Modify Date Modifier Modify Description
  267. *---------------------------------------------------------------------------------------
  268. * 2014-07-03 Converting Program(TF->XP)
  269. *
  270. *---------------------------------------------------------------------------------------
  271. ****************************************************************************************/
  272. //=======================================================================================
  273. // xjs Include
  274. //---------------------------------------------------------------------------------------
  275. include "emr_injroomxp::SMMNI01000.xjs";
  276. include "com_commonxp::comm_main.xjs";
  277. //=======================================================================================
  278. // Function
  279. //---------------------------------------------------------------------------------------
  280. //=======================================================================================
  281. // Event
  282. //---------------------------------------------------------------------------------------
  283. /****************************************************************************************
  284. * Components :
  285. * Components ID : SMMNI01000
  286. * Event : onload
  287. * Argument : 01.obj : Object Event has occurred
  288. * : 02.e : Event Object
  289. * Description :
  290. ****************************************************************************************/
  291. function SMMNI01000_onload(obj:Form, e:LoadEventInfo)
  292. {
  293. frmf_initForm(obj); // 화면공통
  294. grp_sea.Spin00.value = utlf_getCurrentDate().substr(0,4);
  295. var next_year =utlf_getCurrentDate().toDate().getAddDate(+1, "Y").getDateFormat().substr(0,4);
  296. switch1.case1.grd_chospat.setCellProperty("Head",1,"text","3월");
  297. switch1.case1.grd_chospat.setCellProperty("Head",2,"text","4월");
  298. switch1.case1.grd_chospat.setCellProperty("Head",3,"text","5월");
  299. switch1.case1.grd_chospat.setCellProperty("Head",4,"text","6월");
  300. switch1.case1.grd_chospat.setCellProperty("Head",5,"text","7월");
  301. switch1.case1.grd_chospat.setCellProperty("Head",6,"text","8월");
  302. switch1.case1.grd_chospat.setCellProperty("Head",7,"text","9월");
  303. switch1.case1.grd_chospat.setCellProperty("Head",8,"text","10월");
  304. switch1.case1.grd_chospat.setCellProperty("Head",9,"text","11월");
  305. switch1.case1.grd_chospat.setCellProperty("Head",10,"text","12월");
  306. switch1.case1.grd_chospat.setCellProperty("Head",11,"text",next_year+"년 1월");
  307. switch1.case1.grd_chospat.setCellProperty("Head",12,"text",next_year+"년 2월");
  308. switch1.case1.grd_chospat.setCellProperty("Head",13,"text","Total");
  309. switch1.case1.grd_chospat.setCellProperty("Head",14,"text","전년도 합계");
  310. switch1.case1.grd_chospat.setCellProperty("Head",15,"text","증감(%)");
  311. switch1.case2.grd_vacn.setCellProperty("Head",0,"text","구분");
  312. switch1.case2.grd_vacn.setCellProperty("Head",1,"text","3월");
  313. switch1.case2.grd_vacn.setCellProperty("Head",2,"text","4월");
  314. switch1.case2.grd_vacn.setCellProperty("Head",3,"text","5월");
  315. switch1.case2.grd_vacn.setCellProperty("Head",4,"text","6월");
  316. switch1.case2.grd_vacn.setCellProperty("Head",5,"text","7월");
  317. switch1.case2.grd_vacn.setCellProperty("Head",6,"text","8월");
  318. switch1.case2.grd_vacn.setCellProperty("Head",7,"text","9월");
  319. switch1.case2.grd_vacn.setCellProperty("Head",8,"text","10월");
  320. switch1.case2.grd_vacn.setCellProperty("Head",9,"text","11월");
  321. switch1.case2.grd_vacn.setCellProperty("Head",10,"text","12월");
  322. switch1.case2.grd_vacn.setCellProperty("Head",11,"text",next_year+"년 1월");
  323. switch1.case2.grd_vacn.setCellProperty("Head",12,"text",next_year+"년 2월");
  324. switch1.case2.grd_vacn.setCellProperty("Head",13,"text","Total");
  325. switch1.case2.grd_vacn.setCellProperty("Head",14,"text","전년도 합계");
  326. switch1.case2.grd_vacn.setCellProperty("Head",15,"text","증감(%)");
  327. fchospatstat();
  328. }
  329. /****************************************************************************************
  330. * Components :
  331. * Components ID : button1
  332. * Event : onclick
  333. * Argument : 01.obj : Object Event has occurred
  334. * : 02.e : Event Object
  335. * Description :
  336. ****************************************************************************************/
  337. function button1_onclick(obj:Button, e:ClickEventInfo)
  338. {
  339. fchospatvacn();
  340. }
  341. /****************************************************************************************
  342. * Components :
  343. * Components ID : button2
  344. * Event : onclick
  345. * Argument : 01.obj : Object Event has occurred
  346. * : 02.e : Event Object
  347. * Description :
  348. ****************************************************************************************/
  349. function button2_onclick(obj:Button, e:ClickEventInfo)
  350. {
  351. frexpert();
  352. }
  353. /****************************************************************************************
  354. * Components :
  355. * Components ID : button3
  356. * Event : onclick
  357. * Argument : 01.obj : Object Event has occurred
  358. * : 02.e : Event Object
  359. * Description :
  360. ****************************************************************************************/
  361. function button3_onclick(obj:Button, e:ClickEventInfo)
  362. {
  363. fsavexls();
  364. }
  365. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  366. {
  367. fchospatvacn();
  368. }
  369. ]]></Script>
  370. </Form>
  371. </FDL>