SMMNP00203_수술 전처치 및 간호상태 확인 도움말.xfdl 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNP00203" position="absolute 0 0 797 890" titletext="환자 수술전 처치 및 간호상태 확인 도움말" oninit="SMMNP00203_oninit" onload="SMMNP00203_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 796 885" align="align:center middle;" id="group3">
  8. <Layouts>
  9. <Layout>
  10. <Static text="환자 수술전 처치 및 간호상태 확인 도움말" position="absolute 0 0 286 25" align="align:center middle;" id="cpt_title" class="tit_1" anchor="default"/>
  11. <Grid position="absolute 0 30 792 880" id="grd_opchklist" binddataset="ds_main_opchkinfo_opchklist" autofittype="none" anchor="all" extendsizetype="both" cellsizingtype="row" autosizingtype="row">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="115"/>
  16. <Column size="225"/>
  17. <Column size="225"/>
  18. <Column size="225"/>
  19. </Columns>
  20. <Rows>
  21. <Row size="24" band="head"/>
  22. <Row size="24"/>
  23. </Rows>
  24. <Band id="head">
  25. <Cell text="수술상태 확인 내역"/>
  26. <Cell col="1" text="예"/>
  27. <Cell col="2" text="아니요"/>
  28. <Cell col="3" text="해당무"/>
  29. </Band>
  30. <Band id="body">
  31. <Cell style="align:left;" text="bind:opreadychk" wordwrap="char" autosizerow="none"/>
  32. <Cell col="1" style="align:left;padding:2 2 2 2;" text="bind:readyyes" wordwrap="char" autosizerow="limitmin"/>
  33. <Cell col="2" style="align:left;padding:2 2 2 2;" text="bind:readyno" wordwrap="char" autosizerow="limitmin"/>
  34. <Cell col="3" style="align:left;padding:2 2 2 2;" text="bind:readynothing" wordwrap="char" autosizerow="limitmin"/>
  35. </Band>
  36. </Format>
  37. </Formats>
  38. </Grid>
  39. </Layout>
  40. </Layouts>
  41. </Div>
  42. </Layout>
  43. </Layouts>
  44. <Objects>
  45. <Dataset id="ds_main_opchkinfo_opchklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  46. <ColumnInfo>
  47. <Column id="seqno" type="STRING" size="256" sumtext="이력일련번호"/>
  48. <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
  49. <Column id="sortseq" type="STRING" size="256" sumtext="정렬순서"/>
  50. <Column id="opreadychk" type="STRING" size="256" sumtext="수술상태확인내역"/>
  51. <Column id="readyyes" type="STRING" size="256" sumtext="수술준비체크(YES)"/>
  52. <Column id="readyno" type="STRING" size="256" sumtext="수술준비체크(NO)"/>
  53. <Column id="readynothing" type="STRING" size="256" sumtext="수술준비체크(해당무)"/>
  54. <Column id="valifromdd" type="STRING" size="256" sumtext="시작일시"/>
  55. <Column id="valitodd" type="STRING" size="256" sumtext="종료일시"/>
  56. </ColumnInfo>
  57. </Dataset>
  58. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  59. <ColumnInfo>
  60. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  61. <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
  62. <Column id="opreadychk" type="STRING" size="256" sumtext="수술준비체크"/>
  63. <Column id="delyn" type="STRING" size="256" sumtext="삭제포함여부"/>
  64. <Column id="cdtype" type="STRING" size="256"/>
  65. </ColumnInfo>
  66. <Rows>
  67. <Row/>
  68. </Rows>
  69. </Dataset>
  70. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  71. <ColumnInfo>
  72. <Column id="instcd" type="STRING" size="256"/>
  73. <Column id="cdtype" type="STRING" size="256"/>
  74. </ColumnInfo>
  75. <Rows>
  76. <Row/>
  77. </Rows>
  78. </Dataset>
  79. </Objects>
  80. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  81. * System Name : 경대 의료정보시스템
  82. * Job Name : emr_opanstxp -> SMMNP00203
  83. * Creator : yjh
  84. * Make Date : 2016-06-08
  85. * Description :
  86. *---------------------------------------------------------------------------------------
  87. * Modify Date Modifier Modify Description
  88. *---------------------------------------------------------------------------------------
  89. * 2016-06-08 yjh TF->XP
  90. *
  91. *---------------------------------------------------------------------------------------
  92. ****************************************************************************************/
  93. //=======================================================================================
  94. // Lib Include
  95. //---------------------------------------------------------------------------------------
  96. include "com_commonxp::comm_main.xjs";
  97. //=======================================================================================
  98. // Global Form Variable
  99. //---------------------------------------------------------------------------------------
  100. //=======================================================================================
  101. // Function
  102. //---------------------------------------------------------------------------------------
  103. function fSearch() {
  104. ds_send_reqdata.setColumn(0, "instcd", ds_main_cond.getColumn(0, "instcd"));
  105. ds_send_reqdata.setColumn(0, "cdtype", ds_main_cond.getColumn(0, "cdtype"));
  106. var oParam = {};
  107. oParam.id = "TRMNP00229";
  108. oParam.service = "opanstapp.OpAnstRec";
  109. oParam.method = "reqGetOpChkList";
  110. oParam.inds = "req=ds_send_reqdata";
  111. oParam.outds = "ds_main_opchkinfo_opchklist=opchklist";
  112. oParam.async = false;
  113. //oParam.callback = "cf_TRMNP00229";
  114. tranf_submit(oParam);
  115. }
  116. //=======================================================================================
  117. // Event
  118. //---------------------------------------------------------------------------------------
  119. /****************************************************************************************
  120. * Components : Form
  121. * Components ID : SMMNP00203
  122. * Event : oninit
  123. * Argument : 01.obj : Object Event has occurred
  124. * : 02.e : Event Object
  125. * Description : 화면 처음 초기화시
  126. ****************************************************************************************/
  127. function SMMNP00203_oninit(obj:Form, e:InitEventInfo)
  128. {
  129. //frmf_initForm(obj); //폼 초기화
  130. }
  131. /****************************************************************************************
  132. * Components : Form
  133. * Components ID : SMMNP00203
  134. * Event : onload
  135. * Argument : 01.obj : Object Event has occurred
  136. * : 02.e : Event Object
  137. * Description : 화면 로딩 완료시
  138. ****************************************************************************************/
  139. function SMMNP00203_onload(obj:Form, e:LoadEventInfo)
  140. {
  141. var instcd = sysf_getUserInfo("dutplceinstcd");
  142. // 20190403 김현석, 도움말을 수술/시술로 구분을 함.
  143. var cdtype;
  144. var titletext;
  145. try
  146. {
  147. if ( ! utlf_isNull(arg_ds_cdtype) )
  148. {
  149. cdtype = arg_ds_cdtype.getColumn(0, "cdtype");
  150. trace ("argument data : " + cdtype);
  151. }
  152. else
  153. {
  154. cdtype = "OP";
  155. trace ("not argument ");
  156. }
  157. } catch (e)
  158. {
  159. trace(e);
  160. cdtype = "OP";
  161. }
  162. ds_main_cond.setColumn(0, "instcd", instcd);
  163. ds_main_cond.setColumn(0, "cdtype", cdtype);
  164. switch (cdtype)
  165. {
  166. case "OP":
  167. titletext = "환자 수술 전 처치 및 간호상태 확인 도움말";
  168. group3.grd_opchklist.setCellProperty('Head', 0, 'text', "수술 상태 확인 내역");
  169. break;
  170. case "PR":
  171. titletext = "환자 시술 전 처치 및 간호상태 확인 도움말";
  172. group3.grd_opchklist.setCellProperty('Head', 0, 'text', "시술 상태 확인 내역");
  173. break;
  174. }
  175. this.titletext = titletext;
  176. group3.cpt_title.text = titletext;
  177. fSearch() ;
  178. }
  179. ]]></Script>
  180. </Form>
  181. </FDL>