SPPMI03600_접수취소환자현황.xfdl 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPMI03600" position="absolute 0 0 689 408" titletext="접수취소환자현황" onload="SPPMI03600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="접수취소환자현황" position="absolute 0 0 160 25" id="caption6" class="tit_1"/>
  8. <Button position="absolute 624 376 680 398" id="btn_cancel" class="btn4" taborder="3" text="닫기" onclick="btn_cancel_onclick"/>
  9. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 68 680 74" style="strokepen:3 solid #33bbbbff;"/>
  10. <Grid id="datagrid1" taborder="4" binddataset="ds_datagrid1" useinputpanel="false" position="absolute 0 72 680 367">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="25"/>
  15. <Column size="67"/>
  16. <Column size="67"/>
  17. <Column size="27"/>
  18. <Column size="24"/>
  19. <Column size="80"/>
  20. <Column size="120"/>
  21. <Column size="60"/>
  22. <Column size="74"/>
  23. <Column size="120"/>
  24. </Columns>
  25. <Rows>
  26. <Row size="24" band="head"/>
  27. <Row size="24"/>
  28. </Rows>
  29. <Band id="head">
  30. <Cell/>
  31. <Cell col="1" text="차트번호"/>
  32. <Cell col="2" colspan="3" text="성명/나이/성별" taborder="undefined"/>
  33. <Cell col="5" text="입원일자"/>
  34. <Cell col="6" text="진료과"/>
  35. <Cell col="7" text="전문의"/>
  36. <Cell col="8" text="최종수정자"/>
  37. <Cell col="9" text="최종수정일시"/>
  38. </Band>
  39. <Band id="body">
  40. <Cell celltype="head" expr="expr:currow + 1"/>
  41. <Cell col="1" style="align:center middle;" text="bind:pid"/>
  42. <Cell col="2" text="bind:hngnm"/>
  43. <Cell col="3" text="bind:age"/>
  44. <Cell col="4" text="bind:sex"/>
  45. <Cell col="5" displaytype="date" text="bind:indd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  46. <Cell col="6" text="bind:orddeptnm"/>
  47. <Cell col="7" text="bind:medispclnm"/>
  48. <Cell col="8" text="bind:lastupdtrnm"/>
  49. <Cell col="9" displaytype="date" style="align:center middle;" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="none"/>
  50. </Band>
  51. </Format>
  52. </Formats>
  53. </Grid>
  54. <Div id="grp" taborder="7" position="absolute 0 25 680 60" class="div_SA">
  55. <Layouts>
  56. <Layout width="680" height="35">
  57. <Static id="caption1" text="입원일자" class="search_name" position="absolute 13 9 98 26"/>
  58. <Button id="button1" taborder="2" text="조회" class="btn1" position="absolute 608 7 664 29" onclick="grp_button1_onclick"/>
  59. <Calendar id="input1" taborder="3" position="absolute 95 8 195 27" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true" onkillfocus="grp_input1_onkillfocus"/>
  60. </Layout>
  61. </Layouts>
  62. </Div>
  63. </Layout>
  64. </Layouts>
  65. <Objects>
  66. <Dataset id="ds_main_incncllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  67. <ColumnInfo>
  68. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  69. <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
  70. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  71. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  72. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  73. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  74. <Column id="medispclnm" type="STRING" size="256" sumtext="전문의"/>
  75. <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종수정자"/>
  76. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일"/>
  77. </ColumnInfo>
  78. </Dataset>
  79. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  80. <ColumnInfo>
  81. <Column id="indd" type="STRING" size="256"/>
  82. </ColumnInfo>
  83. </Dataset>
  84. </Objects>
  85. <Bind>
  86. <BindItem id="item0" compid="grp.input1" propid="value" datasetid="ds_send" columnid="indd"/>
  87. </Bind>
  88. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  89. * System Name :
  90. * Job Name :
  91. * Creator :
  92. * Make Date : 2016-05-24
  93. * Description :
  94. *---------------------------------------------------------------------------------------
  95. * Modify Date Modifier Modify Description
  96. *---------------------------------------------------------------------------------------
  97. * 2016-05-24 Live Converter TF->XP
  98. *
  99. *---------------------------------------------------------------------------------------
  100. ****************************************************************************************/
  101. //=======================================================================================
  102. // Lib Include
  103. //---------------------------------------------------------------------------------------
  104. include 'com_commonxp::comm_main.xjs';
  105. var arErrorCode = new HashArray();
  106. //=======================================================================================
  107. // Local methods
  108. //---------------------------------------------------------------------------------------
  109. /****************************************************************************************
  110. * Argument :
  111. * Description :
  112. ****************************************************************************************/
  113. //=======================================================================================
  114. // callback
  115. //---------------------------------------------------------------------------------------
  116. function callback(sSvcId, nErrorCode, sErrorMsg){
  117. arErrorCode.push(sSvcId, nErrorCode);
  118. }
  119. //=======================================================================================
  120. // Events
  121. //---------------------------------------------------------------------------------------
  122. /****************************************************************************************
  123. * Argument :
  124. * Description : onload
  125. ****************************************************************************************/
  126. function SPPMI03600_onload(obj:Form, e:LoadEventInfo){
  127. // 폼 초기화
  128. frmf_initForm(obj);
  129. // 초기값 설정
  130. ds_send.setColumn(0, 'indd', utlf_getCurrentDate());
  131. // 조회
  132. grp.button1.click();
  133. }
  134. /****************************************************************************************
  135. * Argument :
  136. * Description : 입원일자 캘린더 포커스 상실 이벤트
  137. ****************************************************************************************/
  138. function grp_input1_onkillfocus(obj:Calendar, e:KillFocusEventInfo){
  139. // 조회
  140. grp.button1.click();
  141. }
  142. /****************************************************************************************
  143. * Argument :
  144. * Description : 조회 버튼 클릭 이벤트
  145. ****************************************************************************************/
  146. function grp_button1_onclick(obj:Button, e:ClickEventInfo){
  147. var value = utlf_transNullToEmpty(ds_send.getColumn(0, 'indd'));
  148. // 필수 체크
  149. if(value == ''){
  150. sysf_messageBox('입원일자는 필수입니다.', 'C000');
  151. return;
  152. }
  153. ds_main_incncllist.clearData();
  154. ds_main_incncllist.addRow();
  155. var oParam = {};
  156. oParam.id = "TRPMI03600";
  157. oParam.service = "ipatmngtapp.IPatRef";
  158. oParam.method = "reqGetInCnclList";
  159. oParam.inds = "req=ds_send";
  160. oParam.outds = "ds_main_incncllist=resultlist";
  161. oParam.async = false;
  162. //oParam.callback = "cf_TRPMI03600";
  163. tranf_submit(oParam);
  164. }
  165. /****************************************************************************************
  166. * Argument :
  167. * Description : 닫기 버튼 클릭 이벤트
  168. ****************************************************************************************/
  169. function btn_cancel_onclick(obj:Button, e:ClickEventInfo){
  170. this.close();
  171. }
  172. ]]></Script>
  173. </Form>
  174. </FDL>