SPABO62000_항암프로토콜이력조회.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPABO62000" position="absolute 0 0 647 391" titletext="항암프로토콜이력조회" oninit="SPABO62000_oninit" onload="SPABO62000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="항암프로토콜이력조회" class="tit_1" position="absolute 0 0 200 23"/>
  8. <Static id="caption1" text="항암프로토콜이력" class="tit_2" position="absolute 0 68 200 90"/>
  9. <Shape id="line1" class="line_10" position="absolute 0 84 642 90" anchor="left top right"/>
  10. <Div id="grp_sea" taborder="1" class="div_SA" position="absolute 0 24 643 59" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Static id="caption2" text="등록번호 :" class="search_name" position="absolute 15 9 101 26"/>
  14. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 552 7 558 29" anchor="top right"/>
  15. <Button id="btn_sea" taborder="1" text="조회" class="btn1" position="absolute 575 7 631 29" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  16. <Edit id="input1" taborder="2" class="output" position="absolute 104 9 204 28" autoselect="true" onkeyup="grp_sea_input1_onkeyup"/>
  17. <Edit id="output1" taborder="3" readonly="true" position="absolute 207 9 287 28" class="output"/>
  18. <Edit id="output3" taborder="4" readonly="true" position="absolute 353 9 403 28" class="output"/>
  19. <Combo id="combo1" taborder="5" innerdataset="@ds_init_cmbinfo_sex_P0313" codecolumn="cdid" datacolumn="cdnm" class="combo_default" enable="false" position="absolute 290 9 350 28"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Grid id="grd_list" taborder="2" binddataset="ds_main_prtlhislist_item" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 89 642 389" anchor="all">
  24. <Formats>
  25. <Format id="default">
  26. <Columns>
  27. <Column size="22"/>
  28. <Column size="42"/>
  29. <Column size="45"/>
  30. <Column size="175"/>
  31. <Column size="73"/>
  32. <Column size="73"/>
  33. <Column size="85"/>
  34. <Column size="50"/>
  35. <Column size="73"/>
  36. </Columns>
  37. <Rows>
  38. <Row size="24" band="head"/>
  39. <Row size="24"/>
  40. </Rows>
  41. <Band id="head">
  42. <Cell/>
  43. <Cell col="1" colspan="2" text="항암차수" taborder="undefined"/>
  44. <Cell col="3" text="프로토콜"/>
  45. <Cell col="4" text="시작일자"/>
  46. <Cell col="5" text="적용기간"/>
  47. <Cell col="6" text="진행상황"/>
  48. <Cell col="7" text="I/O구분"/>
  49. <Cell col="8" text="종료일자"/>
  50. </Band>
  51. <Band id="body">
  52. <Cell celltype="head" expr="currow+1"/>
  53. <Cell col="1" text="bind:drugstage"/>
  54. <Cell col="2" text="bind:drugcycle"/>
  55. <Cell col="3" text="bind:prtlnm"/>
  56. <Cell col="4" displaytype="date" text="bind:appdd" calendardisplaynulltype="nulltext"/>
  57. <Cell col="5" text="bind:appterm" enable="false"/>
  58. <Cell col="6" text="bind:acptno" enable="false"/>
  59. <Cell col="7" displaytype="combo" edittype="combo" text="bind:ioflag" combodataset="ds_cmb_ioflag" combocodecol="value" combodatacol="label"/>
  60. <Cell col="8" displaytype="date" text="bind:todd" calendardisplaynulltype="nulltext"/>
  61. </Band>
  62. </Format>
  63. </Formats>
  64. </Grid>
  65. <Button id="btn_excsave" taborder="3" text="엑셀저장" class="btn7" position="absolute 563 65 643 84" anchor="top right" onclick="btn_excsave_onclick"/>
  66. </Layout>
  67. </Layouts>
  68. <Objects>
  69. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  70. <ColumnInfo>
  71. <Column id="pid" type="STRING" size="256"/>
  72. <Column id="hngnm" type="STRING" size="256"/>
  73. <Column id="sex" type="STRING" size="256"/>
  74. <Column id="age" type="STRING" size="256"/>
  75. </ColumnInfo>
  76. <Rows>
  77. <Row>
  78. <Col id="pid"/>
  79. <Col id="hngnm"/>
  80. <Col id="sex"/>
  81. <Col id="age"/>
  82. </Row>
  83. </Rows>
  84. </Dataset>
  85. <Dataset id="ds_init_cmbinfo_sex_P0313" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  86. <Dataset id="ds_cmb_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  87. <ColumnInfo>
  88. <Column id="label" type="STRING" size="256"/>
  89. <Column id="value" type="STRING" size="256"/>
  90. </ColumnInfo>
  91. <Rows>
  92. <Row>
  93. <Col id="label">입원</Col>
  94. <Col id="value">I</Col>
  95. </Row>
  96. <Row>
  97. <Col id="label">외래</Col>
  98. <Col id="value">O</Col>
  99. </Row>
  100. </Rows>
  101. </Dataset>
  102. <Dataset id="ds_main_prtlhislist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  103. <ColumnInfo>
  104. <Column id="drugstage" type="STRING" size="256" sumtext="투여단계"/>
  105. <Column id="drugcycle" type="STRING" size="256" sumtext="Cycle"/>
  106. <Column id="prtlnm" type="STRING" size="256" sumtext="프로토콜명"/>
  107. <Column id="appdd" type="STRING" size="256" sumtext="시작일"/>
  108. <Column id="appterm" type="STRING" size="256" sumtext="적용기간"/>
  109. <Column id="acptno" type="STRING" size="256" sumtext="진행상황"/>
  110. <Column id="ioflag" type="STRING" size="256" sumtext="입원외래구분"/>
  111. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  112. <Column id="cpgappno" type="STRING" size="256" sumtext="CPG번호"/>
  113. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  114. <Column id="sickclscd" type="STRING" size="256" sumtext="질병구분"/>
  115. <Column id="prtlcd" type="STRING" size="256" sumtext="프로토콜코드"/>
  116. <Column id="antimetprtlcd" type="STRING" size="256" sumtext="진토제코드"/>
  117. <Column id="fromday" type="STRING" size="256" sumtext="시작차수"/>
  118. <Column id="prtlterm" type="STRING" size="256" sumtext="프로토콜기간"/>
  119. <Column id="ht" type="STRING" size="256" sumtext="키"/>
  120. <Column id="wtflag" type="STRING" size="256" sumtext="체중구분"/>
  121. <Column id="wt" type="STRING" size="256" sumtext="체붕"/>
  122. <Column id="ibw" type="STRING" size="256" sumtext="IBW"/>
  123. <Column id="bsa" type="STRING" size="256" sumtext="BSA"/>
  124. <Column id="gfrflag" type="STRING" size="256" sumtext="GFR구분"/>
  125. <Column id="gfr" type="STRING" size="256" sumtext="GFR"/>
  126. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  127. <Column id="sexrate" type="STRING" size="256" sumtext="성별별환산값"/>
  128. <Column id="sc" type="STRING" size="256" sumtext="SC"/>
  129. <Column id="urvol" type="STRING" size="256" sumtext="UR"/>
  130. <Column id="urcr" type="STRING" size="256" sumtext="Urine Creatine"/>
  131. <Column id="auc" type="STRING" size="256" sumtext="AUC"/>
  132. <Column id="carbovol" type="STRING" size="256" sumtext="Carbo용량"/>
  133. <Column id="appstat" type="STRING" size="256" sumtext="적용상태"/>
  134. </ColumnInfo>
  135. </Dataset>
  136. <Dataset id="ds_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  137. <Dataset id="ds_temp_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  138. </Objects>
  139. <Bind>
  140. <BindItem id="item0" compid="grp_sea.input1" propid="value" datasetid="ds_send" columnid="pid"/>
  141. <BindItem id="item1" compid="grp_sea.output1" propid="value" datasetid="ds_send" columnid="hngnm"/>
  142. <BindItem id="item2" compid="grp_sea.combo1" propid="value" datasetid="ds_send" columnid="sex"/>
  143. <BindItem id="item3" compid="grp_sea.output3" propid="value" datasetid="ds_send" columnid="age"/>
  144. </Bind>
  145. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  146. * System Name :
  147. * Job Name :
  148. * Creator :
  149. * Make Date : 2015-11-13
  150. * Description :
  151. *---------------------------------------------------------------------------------------
  152. * Modify Date Modifier Modify Description
  153. *---------------------------------------------------------------------------------------
  154. * 2015-11-13 Live Converter TF->XP
  155. *
  156. *---------------------------------------------------------------------------------------
  157. ****************************************************************************************/
  158. include "com_commonxp::comm_main.xjs";
  159. function SPABO62000_oninit(obj:Form, e:InitEventInfo)
  160. {
  161. frmf_initForm(obj);
  162. }
  163. function SPABO62000_onload(obj:Form, e:LoadEventInfo)
  164. {
  165. grdf_initGrid(grd_list);
  166. var arrParam = [{dsNm: "ds_init_cmbinfo_sex_P0313", cdGrpId: "P0313"}]
  167. appf_getCodeList(arrParam);
  168. if (frmf_checkOpener())
  169. {
  170. var param = opener.frmf_getParameter("opener_parameter_id");
  171. if(!utlf_isNull(param))
  172. {
  173. condarray = param.split("▦");
  174. ds_send.setColumn(0, "pid", condarray[0]);
  175. ds_send.setColumn(0, "hngnm", condarray[1]);
  176. ds_send.setColumn(0, "sex", condarray[2]);
  177. ds_send.setColumn(0, "age", condarray[3]);
  178. }
  179. else
  180. {
  181. var paminfo = sysf_getGlobalVariable("paminfo");
  182. if(!utlf_isNull(paminfo))
  183. {
  184. ds_paminfo.clearData();
  185. dsf_setCSVToDs("ds_paminfo", paminfo);
  186. var pid = ds_paminfo.getColumn(0, "pid");
  187. ds_send.setColumn(0, "pid", pid);
  188. }
  189. else
  190. {
  191. if(!utlf_isNull(ds_temp_patinfo.getColumn(0, "pid")))
  192. {
  193. ds_send.setColumn(0, "pid", ds_temp_patinfo.getColumn(0, "pid"));
  194. }
  195. }
  196. }
  197. }
  198. else
  199. {
  200. if (!utlf_isNull(ds_temp_patinfo.getColumn(0, "pid")))
  201. {
  202. ds_send.setColumn(0, "pid", ds_temp_patinfo.getColumn(0, "pid"));
  203. }
  204. }
  205. var oParam = {};
  206. oParam.id = "TRABO62000";
  207. oParam.service = "hsctcoordinatorapp.HsctPatient";
  208. oParam.method = "reqGetAnticancerProtocolOrderHis";
  209. oParam.inds = "req=ds_send";
  210. oParam.outds = "ds_main_prtlhislist_item=item";
  211. oParam.async = false;
  212. //oParam.callback = "cf_TRABO62000";
  213. tranf_submit(oParam);
  214. }
  215. function grp_sea_input1_onkeyup(obj:Edit, e:KeyEventInfo)
  216. {
  217. if(e.keycode == 13)
  218. {
  219. obj.updateToDataset();
  220. grp_sea_btn_sea_onclick();
  221. }
  222. }
  223. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  224. {
  225. var oParam = {};
  226. oParam.id = "TRABO62000";
  227. oParam.service = "hsctcoordinatorapp.HsctPatient";
  228. oParam.method = "reqGetAnticancerProtocolOrderHis";
  229. oParam.inds = "req=ds_send";
  230. oParam.outds = "ds_main_prtlhislist_item=item";
  231. oParam.async = false;
  232. //oParam.callback = "cf_TRABO62000";
  233. tranf_submit(oParam);
  234. }
  235. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  236. {
  237. grdf_exportExcel(grd_list, "항암프로토콜이력", "항암프로토콜이력", false, "", "", false);
  238. }
  239. ]]></Script>
  240. </Form>
  241. </FDL>