SMMNE07200_NewBrain지표관리.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNE07200" position="absolute 0 0 1196 769" titletext="New Brain 지표관리" oninit="SMMNE07200_oninit" onload="SMMNE07200_onload" ontimer="SMMNE07200_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group2" taborder="0" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1032 10 1038 32" anchor="top right"/>
  11. <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 15 14 86 30" anchor="default"/>
  12. <Calendar id="input_refFrDT" taborder="1" class="input_s_essential" position="absolute 98 10 198 32" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
  13. <Static id="caption5" text="~" class="search_no_b" position="absolute 206 13 217 30" anchor="default"/>
  14. <Calendar id="input_refToDT" taborder="2" class="input_s_essential" position="absolute 224 10 324 32" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
  15. <Button id="btn_srch" taborder="3" text="조회" class="btn1" position="absolute 1050 10 1106 32" anchor="top right" onclick="group2_btn_srch_onclick"/>
  16. <Button id="button1" taborder="4" text="엑셀" class="btn7" position="absolute 1115 10 1171 32" anchor="top right" onclick="group2_button1_onclick"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 0 90 1194 96" anchor="left top right"/>
  21. <Grid id="grd_erpatlist" class="datagrid2" taborder="1" binddataset="ds_main_erpatinfo" useinputpanel="false" position="absolute 0 95 1194 751" anchor="all">
  22. <Formats>
  23. <Format id="default">
  24. <Columns>
  25. <Column size="90"/>
  26. <Column size="110"/>
  27. <Column size="70"/>
  28. <Column size="120"/>
  29. <Column size="130"/>
  30. <Column size="130"/>
  31. <Column size="130"/>
  32. <Column size="130"/>
  33. <Column size="130"/>
  34. <Column size="130"/>
  35. <Column size="130"/>
  36. <Column size="130"/>
  37. <Column size="130"/>
  38. <Column size="130"/>
  39. <Column size="130"/>
  40. <Column size="130"/>
  41. </Columns>
  42. <Rows>
  43. <Row size="24" band="head"/>
  44. <Row size="24"/>
  45. </Rows>
  46. <Band id="head">
  47. <Cell text="등록번호"/>
  48. <Cell col="1" text="환자명"/>
  49. <Cell col="2" text="S/A"/>
  50. <Cell col="3" text="Date"/>
  51. <Cell col="4" text="DoorTime"/>
  52. <Cell col="5" text="activation"/>
  53. <Cell col="6" text="visit-NU"/>
  54. <Cell col="7" text="visit-NS"/>
  55. <Cell col="8" text="CT"/>
  56. <Cell col="9" text="Brain CTA"/>
  57. <Cell col="10" text="Neck CTA"/>
  58. <Cell col="11" text="MRBRDE"/>
  59. <Cell col="12" text="lab(HGRE)"/>
  60. <Cell col="13" text="lab(HCPT)"/>
  61. <Cell col="14" text="lab(HCTT)"/>
  62. <Cell col="15" text="admission"/>
  63. </Band>
  64. <Band id="body">
  65. <Cell text="bind:patname"/>
  66. <Cell col="1" text="bind:pid"/>
  67. <Cell col="2" text="bind:sexage"/>
  68. <Cell col="3" displaytype="expr:utlf_isNull(indd) ? 'normal' : 'date'" text="bind:indd"/>
  69. <Cell col="4" text="bind:doortime" mask="expr:utlf_isNull(doortime) ? '' : '####-##-## ##:##'" maskchar=" "/>
  70. <Cell col="5" text="bind:activation" mask="expr:utlf_isNull(activation) ? '' : '####-##-## ##:##'" maskchar=" "/>
  71. <Cell col="6" text="bind:visitnu" mask="expr:utlf_isNull(visitnu) ? '' : '####-##-## ##:##'" maskchar=" "/>
  72. <Cell col="7" text="bind:visitns" mask="expr:utlf_isNull(visitns) ? '' : '####-##-## ##:##'" maskchar=" "/>
  73. <Cell col="8" text="bind:brainctactdt" mask="expr:utlf_isNull(brainctactdt) ? '' : '####-##-## ##:##'" maskchar=" "/>
  74. <Cell col="9" text="bind:brainctaactdt" mask="expr:utlf_isNull(brainctaactdt) ? '' : '####-##-## ##:##'" maskchar=" "/>
  75. <Cell col="10" text="bind:neckmraactdt" mask="expr:utlf_isNull(neckmraactdt) ? '' : '####-##-## ##:##'" maskchar=" "/>
  76. <Cell col="11" text="bind:mrbrdeactdt" mask="expr:utlf_isNull(mrbrdeactdt) ? '' : '####-##-## ##:##'" maskchar=" "/>
  77. <Cell col="12" text="bind:labhgreactdt" mask="expr:utlf_isNull(labhgreactdt) ? '' : '####-##-## ##:##'" maskchar=" "/>
  78. <Cell col="13" text="bind:labhcptactdt" mask="expr:utlf_isNull(labhcptactdt) ? '' : '####-##-## ##:##'" maskchar=" "/>
  79. <Cell col="14" text="bind:labhcttactdt" mask="expr:utlf_isNull(labhcttactdt) ? '' : '####-##-## ##:##'" maskchar=" "/>
  80. <Cell col="15" text="bind:admissontype"/>
  81. </Band>
  82. </Format>
  83. </Formats>
  84. </Grid>
  85. <Static id="caption22" text="New Brain 환자 리스트" class="tit_2" position="absolute 0 74 221 91"/>
  86. <Shape id="line1" linetype="horizontal" class="line_3" position="absolute 0 750 1194 756" anchor="top right bottom"/>
  87. <Static id="caption6" text="New Brain 지표관리" class="tit_1" position="absolute 0 0 157 25"/>
  88. <Static id="caption1" text="[표]" position="absolute 1171 755 1196 767" anchor="right bottom"/>
  89. </Layout>
  90. </Layouts>
  91. <Objects>
  92. <Dataset id="ds_main_erpatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  93. <ColumnInfo>
  94. <Column id="patname" type="STRING" size="256"/>
  95. <Column id="pid" type="STRING" size="256"/>
  96. <Column id="sexage" type="STRING" size="256"/>
  97. <Column id="indd" type="STRING" size="256"/>
  98. <Column id="doortime" type="STRING" size="256"/>
  99. <Column id="activation" type="STRING" size="256"/>
  100. <Column id="visitnu" type="STRING" size="256"/>
  101. <Column id="visitns" type="STRING" size="256"/>
  102. <Column id="brainctactdt" type="STRING" size="256"/>
  103. <Column id="brainctaactdt" type="STRING" size="256"/>
  104. <Column id="neckmraactdt" type="STRING" size="256"/>
  105. <Column id="mrbrdeactdt" type="STRING" size="256"/>
  106. <Column id="labhgreactdt" type="STRING" size="256"/>
  107. <Column id="labhcptactdt" type="STRING" size="256"/>
  108. <Column id="labhcttactdt" type="STRING" size="256"/>
  109. <Column id="admissontype" type="STRING" size="256"/>
  110. </ColumnInfo>
  111. <Rows>
  112. <Row>
  113. <Col id="patname"/>
  114. <Col id="pid"/>
  115. <Col id="sexage"/>
  116. <Col id="indd"/>
  117. <Col id="doortime"/>
  118. <Col id="activation"/>
  119. <Col id="visitnu"/>
  120. <Col id="visitns"/>
  121. <Col id="brainctactdt"/>
  122. <Col id="brainctaactdt"/>
  123. <Col id="neckmraactdt"/>
  124. <Col id="mrbrdeactdt"/>
  125. <Col id="labhgreactdt"/>
  126. <Col id="labhcptactdt"/>
  127. <Col id="labhcttactdt"/>
  128. <Col id="admissontype"/>
  129. </Row>
  130. </Rows>
  131. </Dataset>
  132. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  133. <ColumnInfo>
  134. <Column id="fromdd" type="STRING" size="256"/>
  135. <Column id="todd" type="STRING" size="256"/>
  136. </ColumnInfo>
  137. <Rows>
  138. <Row/>
  139. </Rows>
  140. </Dataset>
  141. </Objects>
  142. <Bind>
  143. <BindItem id="item0" compid="group2.input_refFrDT" propid="value" datasetid="ds_cond" columnid="fromdd"/>
  144. <BindItem id="item1" compid="group2.input_refToDT" propid="value" datasetid="ds_cond" columnid="todd"/>
  145. </Bind>
  146. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  147. * System Name :
  148. * Job Name :
  149. * Creator :
  150. * Make Date : 2015-11-13
  151. * Description :
  152. *---------------------------------------------------------------------------------------
  153. * Modify Date Modifier Modify Description
  154. *---------------------------------------------------------------------------------------
  155. * 2015-11-13 Live Converter TF->XP
  156. *
  157. *---------------------------------------------------------------------------------------
  158. ****************************************************************************************/
  159. include "com_commonxp::comm_main.xjs";
  160. /******************************************************************
  161. * Argument :
  162. * Description : 초기화
  163. ******************************************************************/
  164. function SMMNE07200_oninit(obj:Form, e:InitEventInfo)
  165. {
  166. frmf_initForm(obj);
  167. }
  168. function SMMNE07200_onload(obj:Form, e:LoadEventInfo)
  169. {
  170. var toDate = utlf_getCurrentDate();
  171. ds_cond.setColumn(0, "fromdd", toDate);
  172. ds_cond.setColumn(0, "todd", toDate);
  173. //속도개선
  174. this.setTimer(0, 100);
  175. //frmf_inputEnterKey("group2.btn_srch", "onclick", new ClickEventInfo);
  176. }
  177. /******************************************************************
  178. * Argument :
  179. * Description : 조회 button event
  180. ******************************************************************/
  181. function group2_btn_srch_onclick(obj:Button, e:ClickEventInfo)
  182. {
  183. ds_main_erpatinfo.clearData();
  184. var oParam = {};
  185. oParam.id = "TRMNE07201";
  186. oParam.service = "ercareapp.ERSmsIndexMngt";
  187. oParam.method = "reqGetNewBrainList";
  188. oParam.inds = "req=ds_cond";
  189. oParam.outds = "ds_main_erpatinfo=erpatlist";
  190. oParam.async = true;
  191. //oParam.callback = "cf_TRMNE07201";
  192. tranf_submit(oParam);
  193. }
  194. /******************************************************************
  195. * Argument :
  196. * Description : Excel button event
  197. ******************************************************************/
  198. function group2_button1_onclick(obj:Button, e:ClickEventInfo)
  199. {
  200. if( ds_main_erpatinfo.rowcount > 0 ){
  201. grdf_exportExcel(grd_erpatlist, "New Brain 지표", "New Brain 지표", false, "", "", false);
  202. } else {
  203. sysf_messageBox("조회된 데이터가 ", "I004");
  204. }
  205. }
  206. function SMMNE07200_ontimer(obj:Form, e:TimerEventInfo)
  207. {
  208. if (e.timerid == 0) {
  209. this.killTimer(0);
  210. frmf_inputEnterKey("group2.btn_srch", "onclick", new ClickEventInfo);
  211. }
  212. }
  213. ]]></Script>
  214. </Form>
  215. </FDL>