SPASI04500_결핵환자진료대상자조회.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPASI04500" position="absolute 0 0 830 780" titletext="결핵환자진료대상자조회" oninit="SPASI04500_oninit" onload="SPASI04500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 830 775" id="group3">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 0 180 23" id="grp_tle">
  11. <Layouts>
  12. <Layout>
  13. <Static text="결핵환자진료대상자조회" position="absolute 0 0 178 23" id="caption7" class="tit_1" anchor="default"/>
  14. </Layout>
  15. </Layouts>
  16. </Div>
  17. <Div position="absolute 0 20 815 58" align="align:center top;" id="grp_sea" class="div_SA">
  18. <Layouts>
  19. <Layout>
  20. <Static text="검색일자 :" position="absolute 15 9 96 26" id="caption9" class="search_name"/>
  21. <Shape position="absolute 687 6 693 28" linetype="vertical" id="line5" class="line_4"/>
  22. <Calendar position="absolute 95 8 180 27" id="ipt_srchdd" class="input_search" autoselect="true"/>
  23. <Button position="absolute 695 6 751 28" id="btn_search" class="btn1" text="조회" onclick="group3_grp_sea_btn_search_onclick"/>
  24. <Button position="absolute 756 8 798 27" id="btn_excel" class="btn2" text="엑셀" onclick="group3_grp_sea_btn_excel_onclick"/>
  25. </Layout>
  26. </Layouts>
  27. </Div>
  28. <Tab position="absolute 0 68 815 760" id="switch1">
  29. <Tabpages>
  30. <Tabpage text="외래" position="absolute 0 0 813 668" id="out">
  31. <Layouts>
  32. <Layout>
  33. <Grid position="absolute 1 0 810 665" id="grd_outpatlist" binddataset="ds_main_outpatlist" extendsizetype="row" autosizingtype="row" cellsizingtype="col">
  34. <Formats>
  35. <Format id="default">
  36. <Columns>
  37. <Column size="77"/>
  38. <Column size="70"/>
  39. <Column size="126"/>
  40. <Column size="70"/>
  41. <Column size="388"/>
  42. <Column size="60"/>
  43. </Columns>
  44. <Rows>
  45. <Row size="24" band="head"/>
  46. <Row size="24"/>
  47. </Rows>
  48. <Band id="head">
  49. <Cell text="등록번호"/>
  50. <Cell col="1" text="환자명"/>
  51. <Cell col="2" text="진료과"/>
  52. <Cell col="3" text="담당의"/>
  53. <Cell col="4" text="진단명"/>
  54. <Cell col="5" text="예약시간"/>
  55. </Band>
  56. <Band id="body">
  57. <Cell text="bind:pid" suppress="1" suppressalign="middle,over"/>
  58. <Cell col="1" text="bind:hngnm" suppress="2" suppressalign="middle,over"/>
  59. <Cell col="2" style="align:left;" text="bind:depthngnm"/>
  60. <Cell col="3" style="align:left;" text="bind:orddrnm"/>
  61. <Cell col="4" style="align:left;padding:2 2 2 2;" text="bind:diagengnm" wordwrap="word" autosizerow="limitmin"/>
  62. <Cell col="5" text="bind:ordtm" mask="expr:utlf_isNull(ordtm) ? '' : '##:##'"/>
  63. </Band>
  64. </Format>
  65. </Formats>
  66. </Grid>
  67. </Layout>
  68. </Layouts>
  69. </Tabpage>
  70. <Tabpage text="입원" id="in">
  71. <Layouts>
  72. <Layout>
  73. <Grid position="absolute 0 0 809 665" id="grd_inpatlist" binddataset="ds_main_inpatlist" extendsizetype="row" autosizingtype="row" cellsizingtype="col">
  74. <Formats>
  75. <Format id="default">
  76. <Columns>
  77. <Column size="77"/>
  78. <Column size="71"/>
  79. <Column size="145"/>
  80. <Column size="71"/>
  81. <Column size="278"/>
  82. <Column size="79"/>
  83. <Column size="70"/>
  84. </Columns>
  85. <Rows>
  86. <Row size="24" band="head"/>
  87. <Row size="24"/>
  88. </Rows>
  89. <Band id="head">
  90. <Cell text="등록번호"/>
  91. <Cell col="1" text="환자명"/>
  92. <Cell col="2" text="진료과"/>
  93. <Cell col="3" text="담당의"/>
  94. <Cell col="4" text="진단명"/>
  95. <Cell col="5" text="입원병동"/>
  96. <Cell col="6" text="입원병실"/>
  97. </Band>
  98. <Band id="body">
  99. <Cell text="bind:pid"/>
  100. <Cell col="1" text="bind:hngnm"/>
  101. <Cell col="2" style="align:left;" text="bind:depthngnm"/>
  102. <Cell col="3" text="bind:orddrnm"/>
  103. <Cell col="4" style="align:left;padding:2 2 2 2;" text="bind:diagengnm" wordwrap="word" autosizerow="limitmin"/>
  104. <Cell col="5" style="align:left;" text="bind:wardnm"/>
  105. <Cell col="6" style="align:left;" text="bind:roomcd"/>
  106. </Band>
  107. </Format>
  108. </Formats>
  109. </Grid>
  110. </Layout>
  111. </Layouts>
  112. </Tabpage>
  113. </Tabpages>
  114. </Tab>
  115. </Layout>
  116. </Layouts>
  117. </Div>
  118. </Layout>
  119. </Layouts>
  120. <Objects>
  121. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  122. <ColumnInfo>
  123. <Column id="srchdd" type="STRING" size="256" sumtext="검색일"/>
  124. </ColumnInfo>
  125. <Rows>
  126. <Row/>
  127. </Rows>
  128. </Dataset>
  129. <Dataset id="ds_main_outpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  130. <ColumnInfo>
  131. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  132. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  133. <Column id="depthngnm" type="STRING" size="256" sumtext="과명"/>
  134. <Column id="diagengnm" type="STRING" size="256" sumtext="진단명"/>
  135. <Column id="ordtm" type="STRING" size="256" sumtext="진료시간"/>
  136. <Column id="orddrnm" type="STRING" size="256" sumtext="담당의"/>
  137. </ColumnInfo>
  138. </Dataset>
  139. <Dataset id="ds_main_inpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  140. <ColumnInfo>
  141. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  142. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  143. <Column id="depthngnm" type="STRING" size="256" sumtext="과명"/>
  144. <Column id="orddrnm" type="STRING" size="256" sumtext="담당의"/>
  145. <Column id="diagengnm" type="STRING" size="256" sumtext="진단명"/>
  146. <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
  147. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  148. </ColumnInfo>
  149. </Dataset>
  150. </Objects>
  151. <Bind>
  152. <BindItem id="item0" compid="group3.grp_sea.ipt_srchdd" propid="value" datasetid="ds_send_reqdata" columnid="srchdd"/>
  153. </Bind>
  154. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  155. * System Name : 경대 의료정보시스템
  156. * Job Name : ast_infcmngtxp -> SPASI04500
  157. * Creator : yjh
  158. * Make Date : 2017-09-22
  159. * Description :
  160. *---------------------------------------------------------------------------------------
  161. * Modify Date Modifier Modify Description
  162. *---------------------------------------------------------------------------------------
  163. * 2017-09-22 yjh TF->XP
  164. *
  165. *---------------------------------------------------------------------------------------
  166. ****************************************************************************************/
  167. //=======================================================================================
  168. // Lib Include
  169. //---------------------------------------------------------------------------------------
  170. include "com_commonxp::comm_main.xjs";
  171. include "ast_infcmngtxp::SPASI04500.xjs";
  172. //=======================================================================================
  173. // Global Form Variable
  174. //---------------------------------------------------------------------------------------
  175. //=======================================================================================
  176. // Function
  177. //---------------------------------------------------------------------------------------
  178. //=======================================================================================
  179. // Event
  180. //---------------------------------------------------------------------------------------
  181. /****************************************************************************************
  182. * Components : Form
  183. * Components ID : SPASI04500
  184. * Event : oninit
  185. * Argument : 01.obj : Object Event has occurred
  186. * : 02.e : Event Object
  187. * Description : 화면 처음 초기화시
  188. ****************************************************************************************/
  189. function SPASI04500_oninit(obj:Form, e:InitEventInfo)
  190. {
  191. frmf_initForm(obj); //폼 초기화
  192. }
  193. /****************************************************************************************
  194. * Components : Form
  195. * Components ID : SPASI04500
  196. * Event : onload
  197. * Argument : 01.obj : Object Event has occurred
  198. * : 02.e : Event Object
  199. * Description : 화면 로딩 완료시
  200. ****************************************************************************************/
  201. function SPASI04500_onload(obj:Form, e:LoadEventInfo)
  202. {
  203. grdf_setGridSort(group3.switch1.out.grd_outpatlist);
  204. grdf_setGridSort(group3.switch1.in.grd_inpatlist);
  205. fInitialize();
  206. }
  207. /****************************************************************************************
  208. * Components : Button
  209. * Components ID : btn_search
  210. * Event : onclick
  211. * Argument : 01.obj : Object Event has occurred
  212. * : 02.e : Event Object
  213. * Description : 조회버튼 클릭시
  214. ****************************************************************************************/
  215. function group3_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  216. {
  217. fSearch();
  218. }
  219. /****************************************************************************************
  220. * Components : Button
  221. * Components ID : btn_excel
  222. * Event : onclick
  223. * Argument : 01.obj : Object Event has occurred
  224. * : 02.e : Event Object
  225. * Description : 엑셀버튼 클릭시
  226. ****************************************************************************************/
  227. function group3_grp_sea_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  228. {
  229. if( group3.switch1.tabindex == 0 ){
  230. grdf_exportExcel(group3.switch1.out.grd_outpatlist, "결핵환자진료대상자(외래)", "결핵환자진료대상자(외래)", false, "", "user", false);
  231. }else{
  232. grdf_exportExcel(group3.switch1.in.grd_inpatlist, "결핵환자진료대상자(입원)", "결핵환자진료대상자(입원)", false, "", "user", false);
  233. }
  234. }
  235. ]]></Script>
  236. </Form>
  237. </FDL>