SPPMI03700_임상시험대상자정보조회.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPMI03700" position="absolute 0 0 610 265" titletext="임상시험대상자정보" onload="SPPMI03700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid position="absolute 0 59 600 254" id="grd_stdy" visible="true" binddataset="ds_main_stdylist" oncelldblclick="grd_stdy_oncelldblclick">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="73"/>
  12. <Column size="65"/>
  13. <Column size="124"/>
  14. <Column size="40"/>
  15. <Column size="40"/>
  16. <Column size="80"/>
  17. <Column size="80"/>
  18. <Column size="76"/>
  19. <Column size="400"/>
  20. </Columns>
  21. <Rows>
  22. <Row size="24" band="head"/>
  23. <Row size="24"/>
  24. </Rows>
  25. <Band id="head">
  26. <Cell text="차트번호"/>
  27. <Cell col="1" text="성명"/>
  28. <Cell col="2" text="과제번호"/>
  29. <Cell col="3" text="구분"/>
  30. <Cell col="4" text="가산"/>
  31. <Cell col="5" text="진료일자"/>
  32. <Cell col="6" text="종료일자"/>
  33. <Cell col="7" text="진찰료지원"/>
  34. <Cell col="8" text="과제명칭"/>
  35. </Band>
  36. <Band id="body">
  37. <Cell style="align:center middle;" text="bind:pid"/>
  38. <Cell col="1" style="align:center middle;" text="bind:hngnm"/>
  39. <Cell col="2" style="align:center middle;" text="bind:subjno"/>
  40. <Cell col="3" style="align:center middle;" text="bind:ioflag"/>
  41. <Cell col="4" style="align:center middle;" text="bind:addflag"/>
  42. <Cell col="5" displaytype="date" style="align:center middle;" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  43. <Cell col="6" displaytype="date" text="bind:enddd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  44. <Cell col="7" style="align:center middle;" text="bind:medfeeyn"/>
  45. <Cell col="8" text="bind:stdysubjnm"/>
  46. </Band>
  47. </Format>
  48. </Formats>
  49. </Grid>
  50. <Static text="임상시험대상자정보" position="absolute 0 0 160 25" id="caption1" class="tit_1"/>
  51. <Div id="grp" taborder="4" position="absolute 0 25 600 55" class="div_SA">
  52. <Layouts>
  53. <Layout width="600" height="30">
  54. <Static id="caption2" text="차트번호" class="search_name" position="absolute 12 7 112 24" anchor="default"/>
  55. <Static id="caption3" text="진료(입원)일자" class="search_name" position="absolute 320 7 420 24" anchor="default"/>
  56. <Edit id="input1" taborder="1" enable="false" position="absolute 81 6 151 25" anchor="default"/>
  57. <Calendar id="input2" taborder="2" enable="false" position="absolute 425 6 525 25" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  58. <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 536 4 592 26" anchor="default" onclick="grp_btn_search_onclick"/>
  59. <Static id="caption4" text="구분" class="search_name" position="absolute 172 7 227 24" anchor="default"/>
  60. <Radio id="radio1" taborder="4" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 213 7 305 23" anchor="default" style=":disabled {textpadding:0 2 0 3;}">
  61. <Dataset id="innerdataset">
  62. <ColumnInfo>
  63. <Column id="codecolumn"/>
  64. <Column id="datacolumn"/>
  65. </ColumnInfo>
  66. <Rows>
  67. <Row>
  68. <Col id="codecolumn">I</Col>
  69. <Col id="datacolumn">입원</Col>
  70. </Row>
  71. <Row>
  72. <Col id="codecolumn">O</Col>
  73. <Col id="datacolumn">외래</Col>
  74. </Row>
  75. </Rows>
  76. </Dataset>
  77. </Radio>
  78. </Layout>
  79. </Layouts>
  80. </Div>
  81. </Layout>
  82. </Layouts>
  83. <Objects>
  84. <Dataset id="ds_main_stdylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  85. <ColumnInfo>
  86. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  87. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  88. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  89. <Column id="enddd" type="STRING" size="256" sumtext="종료일자"/>
  90. <Column id="stdyno" type="STRING" size="256" sumtext="연구번호"/>
  91. <Column id="medfeeyn" type="STRING" size="256" sumtext="진찰료지원여부"/>
  92. <Column id="chrgfoodyn" type="STRING" size="256" sumtext="식대지원여부"/>
  93. <Column id="roomfeeyn" type="STRING" size="256" sumtext="병실료지원여부"/>
  94. <Column id="carecureyn" type="STRING" size="256" sumtext="간호처치료지원여부"/>
  95. <Column id="subjno" type="STRING" size="256" sumtext="과제번호"/>
  96. <Column id="stdysubjnm" type="STRING" size="256" sumtext="과제명칭"/>
  97. <Column id="addflag" type="STRING" size="256" sumtext="가산여부"/>
  98. <Column id="ioflag" type="STRING" size="256" sumtext="입원외래구분"/>
  99. </ColumnInfo>
  100. </Dataset>
  101. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  102. <ColumnInfo>
  103. <Column id="pid" type="STRING" size="256"/>
  104. <Column id="orddd" type="STRING" size="256"/>
  105. <Column id="mode" type="STRING" size="256"/>
  106. <Column id="ioflag" type="STRING" size="256"/>
  107. </ColumnInfo>
  108. <Rows>
  109. <Row>
  110. <Col id="pid"/>
  111. <Col id="orddd"/>
  112. <Col id="mode"/>
  113. <Col id="ioflag"/>
  114. </Row>
  115. </Rows>
  116. </Dataset>
  117. </Objects>
  118. <Bind>
  119. <BindItem id="item0" compid="grp.input1" propid="value" datasetid="ds_send" columnid="pid"/>
  120. <BindItem id="item1" compid="grp.radio1" propid="value" datasetid="ds_send" columnid="ioflag"/>
  121. <BindItem id="item2" compid="grp.input2" propid="value" datasetid="ds_send" columnid="orddd"/>
  122. </Bind>
  123. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  124. * System Name :
  125. * Job Name :
  126. * Creator :
  127. * Make Date : 2016-05-24
  128. * Description :
  129. *---------------------------------------------------------------------------------------
  130. * Modify Date Modifier Modify Description
  131. *---------------------------------------------------------------------------------------
  132. * 2016-05-24 Live Converter TF->XP
  133. *
  134. *---------------------------------------------------------------------------------------
  135. ****************************************************************************************/
  136. //=======================================================================================
  137. // Lib Include
  138. //---------------------------------------------------------------------------------------
  139. include 'com_commonxp::comm_main.xjs';
  140. var arErrorCode = new HashArray();
  141. //=======================================================================================
  142. // Local methods
  143. //---------------------------------------------------------------------------------------
  144. /****************************************************************************************
  145. * Argument :
  146. * Description :
  147. ****************************************************************************************/
  148. //=======================================================================================
  149. // callback
  150. //---------------------------------------------------------------------------------------
  151. function callback(sSvcId, nErrorCode, sErrorMsg){
  152. arErrorCode.push(sSvcId, nErrorCode);
  153. }
  154. //=======================================================================================
  155. // Events
  156. //---------------------------------------------------------------------------------------
  157. /****************************************************************************************
  158. * Argument :
  159. * Description : onload
  160. ****************************************************************************************/
  161. function SPPMI03700_onload(obj:Form, e:LoadEventInfo){
  162. frmf_initForm(obj);
  163. opener.frmf_setParameter('SPPMI03700_STDYNO', '');
  164. opener.frmf_setParameter('SPPMI03700_MEDFEEYN', '');
  165. opener.frmf_setParameter('SPPMI03700_ADDFLAG', '');
  166. var pid = utlf_transNullToEmpty(opener.frmf_getParameter('SPPMI03700_PID'));
  167. var ioflag = opener.frmf_getParameter('SPPMI03700_IOFLAG');
  168. var orddd = opener.frmf_getParameter('SPPMI03700_ORDDD');
  169. if(pid != ''){
  170. ds_send.setColumn(0, 'pid', pid);
  171. ds_send.setColumn(0, 'ioflag', ioflag);
  172. ds_send.setColumn(0, 'orddd', orddd);
  173. grp.btn_search.click();
  174. }
  175. }
  176. /****************************************************************************************
  177. * Argument :
  178. * Description : 조회 버튼 클릭 이벤트
  179. ****************************************************************************************/
  180. function grp_btn_search_onclick(obj:Button, e:ClickEventInfo){
  181. ds_send.setColumn(0, 'mode', '13');
  182. var oParam = {};
  183. oParam.id = "TRPMI03700";
  184. oParam.service = "ipatmngtapp.InRgst";
  185. oParam.method = "reqGetInRgPatInfo";
  186. oParam.inds = "req=ds_send";
  187. oParam.outds = "ds_main_stdylist=stdy";
  188. oParam.async = false;
  189. //oParam.callback = "cf_TRPMI03700";
  190. tranf_submit(oParam);
  191. }
  192. /****************************************************************************************
  193. * Argument :
  194. * Description : 그리드 더블 클릭 이벤트
  195. ****************************************************************************************/
  196. function grd_stdy_oncelldblclick(obj:Grid, e:GridClickEventInfo){
  197. var row = obj.currentrow;
  198. if(row >= 0){
  199. opener.frmf_setParameter('SPPMI03700_STDYNO', ds_main_stdylist.getColumn(row, 'subjno'));
  200. opener.frmf_setParameter('SPPMI03700_MEDFEEYN', ds_main_stdylist.getColumn(row, 'medfeeyn'));
  201. opener.frmf_setParameter('SPPMI03700_ADDFLAG', ds_main_stdylist.getColumn(row, 'addflag'));
  202. this.close();
  203. }
  204. else{
  205. sysf_messageBox('결과가 존재하지 않습니다.', 'E999');
  206. }
  207. }
  208. ]]></Script>
  209. </Form>
  210. </FDL>