SMPPI01100_사전신청요법현황.xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPPI01100" position="absolute 0 0 1167 733" titletext="사전신청요법현황" oninit="SMPPI01100_oninit" onload="SMPPI01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 28 1160 726" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Grid position="absolute 0 77 1160 698" id="grd_dpcdlist" class="datagrid3" binddataset="ds_grd_dpcdlist" autofittype="none" anchor="all" cellsizingtype="both" autosizingtype="row" extendsizetype="row" autofitminwidth="200" autofitminheight="200">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="18"/>
  15. <Column size="63"/>
  16. <Column size="85"/>
  17. <Column size="74"/>
  18. <Column size="35"/>
  19. <Column size="66"/>
  20. <Column size="110"/>
  21. <Column size="82"/>
  22. <Column size="205"/>
  23. <Column size="387"/>
  24. <Column size="100"/>
  25. <Column size="107"/>
  26. <Column size="120"/>
  27. <Column size="100"/>
  28. <Column size="68"/>
  29. <Column size="68"/>
  30. <Column size="41"/>
  31. <Column size="68"/>
  32. <Column size="100"/>
  33. <Column size="69"/>
  34. <Column size="100"/>
  35. </Columns>
  36. <Rows>
  37. <Row size="30" band="head"/>
  38. <Row size="24"/>
  39. </Rows>
  40. <Band id="head">
  41. <Cell/>
  42. <Cell col="1" text="이름"/>
  43. <Cell col="2" text="주민번호"/>
  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="세부암종"/>
  49. <Cell col="8" text="항암화학요법"/>
  50. <Cell col="9" text="투여대상"/>
  51. <Cell col="10" text="투여단계"/>
  52. <Cell col="11" text="투여요법"/>
  53. <Cell col="12" text="급여상세사항"/>
  54. <Cell col="13" text="기타사항"/>
  55. <Cell col="14" text="시작일자"/>
  56. <Cell col="15" text="종료일자"/>
  57. <Cell col="16" text="사용&#10;여부"/>
  58. <Cell col="17" text="등록자"/>
  59. <Cell col="18" text="등록일자"/>
  60. <Cell col="19" text="수정자"/>
  61. <Cell col="20" text="수정일자"/>
  62. </Band>
  63. <Band id="body">
  64. <Cell celltype="head"/>
  65. <Cell col="1" text="bind:hngnm"/>
  66. <Cell col="2" style="align:left middle;" text="bind:rrgstno1" mask="######-####aaa" maskchar="*"/>
  67. <Cell col="3" text="bind:pid"/>
  68. <Cell col="4" text="bind:sex"/>
  69. <Cell col="5" displaytype="normal" edittype="none" text="bind:regmcd" autosizerow="limitmin" enable="false"/>
  70. <Cell col="6" displaytype="normal" edittype="none" style="align:left middle;" text="bind:cncrkind" autosizerow="limitmin"/>
  71. <Cell col="7" displaytype="normal" edittype="none" style="align:left middle;" text="bind:cncrdetl" autosizerow="limitmin" enable="true"/>
  72. <Cell col="8" displaytype="normal" edittype="none" style="align:left middle;" text="bind:antichem" autosizerow="limitmin"/>
  73. <Cell col="9" displaytype="normal" edittype="none" style="align:left middle;" text="bind:drugtrgt" autosizerow="limitmin"/>
  74. <Cell col="10" displaytype="normal" edittype="none" style="align:left middle;" text="bind:drugstage" autosizerow="limitmin"/>
  75. <Cell col="11" displaytype="normal" edittype="none" style="align:left middle;" text="bind:drugregm" autosizerow="limitmin"/>
  76. <Cell col="12" displaytype="normal" edittype="none" style="align:left middle;" text="bind:paydetl" autosizerow="limitmin"/>
  77. <Cell col="13" displaytype="normal" edittype="none" style="align:left middle;" text="bind:etcdetl" autosizerow="limitmin"/>
  78. <Cell col="14" displaytype="date" edittype="date" text="bind:fromdd" mask="yyyy-MM-dd"/>
  79. <Cell col="15" displaytype="date" edittype="date" text="bind:todd" mask="yyyy-MM-dd"/>
  80. <Cell col="16" displaytype="checkbox" edittype="none" text="bind:useyn"/>
  81. <Cell col="17" displaytype="normal" edittype="none" text="bind:fstrgstrid"/>
  82. <Cell col="18" displaytype="date" edittype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm"/>
  83. <Cell col="19" text="bind:lastupdtrid"/>
  84. <Cell col="20" displaytype="date" edittype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm"/>
  85. </Band>
  86. </Format>
  87. </Formats>
  88. </Grid>
  89. <Static text="사전신청요법현황 리스트" position="absolute 0 56 234 71" id="cap_judgtrgtman" class="tit_2"/>
  90. <Shape position="absolute 0 72 1160 78" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  91. <Div position="absolute 0 0 1160 40" align="align:center top;" id="group1" class="div_SA" anchor="left top right">
  92. <Layouts>
  93. <Layout width="1160" height="40">
  94. <Button position="absolute 1095 10 1151 32" id="btn_select" class="btn1" taborder="32" text="조회" anchor="top right" onclick="grp_biz_group1_btn_select_onclick"/>
  95. <Shape position="absolute 1077 5 1083 38" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
  96. <Static text="환자번호 :" position="absolute 8 11 95 28" id="caption30" class="search_name" anchor="default"/>
  97. <Edit position="absolute 100 10 200 29" id="ipt_diagcd" anchor="default" onkeydown="grp_biz_group1_ipt_diagcd_onkeydown"/>
  98. <Static text="내원구분:" position="absolute 433 11 520 28" id="caption1" class="search_name" anchor="default"/>
  99. <Static text="시행일 :" position="absolute 623 11 735 28" id="caption2" class="search_name" anchor="default"/>
  100. <Combo position="absolute 520 10 595 29" id="combo1" enable="true" innerdataset="ds_init_combo1" datacolumn="cdnm" codecolumn="cdid" anchor="default" onitemchanged="grp_biz_group1_combo1_onitemchanged"/>
  101. <Calendar position="absolute 700 10 815 29" id="input2" enable="true" mask="yyyy-mm-dd" anchor="default" onkeydown="grp_biz_group1_input2_onkeydown"/>
  102. <Edit position="absolute 310 10 410 29" id="input1" anchor="default" onkeydown="grp_biz_group1_input1_onkeydown"/>
  103. <Static text="요법코드 :" position="absolute 218 11 305 28" id="caption3" class="search_name" anchor="default"/>
  104. </Layout>
  105. </Layouts>
  106. </Div>
  107. <Button position="absolute 1080 52 1160 71" id="btn_excelsave" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_btn_excelsave_onclick"/>
  108. </Layout>
  109. </Layouts>
  110. </Div>
  111. <Static id="cap_title" text="사전신청요법현황" class="tit_1" position="absolute 0 3 216 26"/>
  112. </Layout>
  113. </Layouts>
  114. <Objects>
  115. <Dataset id="ds_grd_dpcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  116. <ColumnInfo>
  117. <Column id="hngnm" type="STRING"/>
  118. <Column id="rrgstno1" type="STRING"/>
  119. <Column id="pid" type="STRING"/>
  120. <Column id="sex" type="STRING"/>
  121. <Column id="regmcd" type="STRING"/>
  122. <Column id="cncrkind" type="STRING"/>
  123. <Column id="cncrdetl" type="STRING"/>
  124. <Column id="antichem" type="STRING"/>
  125. <Column id="drugtrgt" type="STRING"/>
  126. <Column id="drugstage" type="STRING"/>
  127. <Column id="drugregm" type="STRING"/>
  128. <Column id="paydetl" type="STRING"/>
  129. <Column id="etcdetl" type="STRING"/>
  130. <Column id="fromdd" type="STRING"/>
  131. <Column id="todd" type="STRING"/>
  132. <Column id="useyn" type="STRING"/>
  133. <Column id="fstrgstrid" type="STRING"/>
  134. <Column id="fstrgstdt" type="STRING"/>
  135. <Column id="lastupdtrid" type="STRING"/>
  136. <Column id="lastupdtdt" type="STRING"/>
  137. </ColumnInfo>
  138. </Dataset>
  139. <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  140. <ColumnInfo>
  141. <Column id="cdnm" type="STRING"/>
  142. <Column id="cdid" type="STRING"/>
  143. </ColumnInfo>
  144. </Dataset>
  145. </Objects>
  146. <Bind/>
  147. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  148. * System Name :
  149. * Job Name :
  150. * Creator :
  151. * Make Date : 2016-05-24
  152. * Description :
  153. *---------------------------------------------------------------------------------------
  154. * Modify Date Modifier Modify Description
  155. *---------------------------------------------------------------------------------------
  156. * 2016-05-24 Live Converter TF->XP
  157. *
  158. *---------------------------------------------------------------------------------------
  159. ****************************************************************************************/
  160. include "com_commonxp::comm_main.xjs";
  161. include "pam_pamcomnxp::PAM001.xjs";
  162. function SMPPI01100_oninit(obj:Form, e:InitEventInfo)
  163. {
  164. frmf_initForm(obj)
  165. }
  166. function SMPPI01100_onload(obj:Form, e:LoadEventInfo)
  167. {
  168. grdf_initGrid(grp_biz.grd_dpcdlist);
  169. grdf_setRowTypeIcon(grp_biz.grd_dpcdlist, 0);
  170. grdf_setToolTipBind(grp_biz.grd_dpcdlist)
  171. fInitialize();
  172. }
  173. function fInitialize(){
  174. var arrParam1 = new Array();
  175. arrParam1 = [{dsNm: "ds_init_combo1", cdGrpId: "M0010", showValue: false}];
  176. appf_getCodeList(arrParam1, true, ""); //비동기
  177. fGetDocuList();
  178. }
  179. function fGetDocuList(){
  180. dsf_createDsRow("ds_send", [{col:"instcd", type:"STRING", size:256, val: sysf_getUserInfo("dutplceinstcd")}
  181. , {col:"pid", type:"STRING", size:256, val : grp_biz.group1.ipt_diagcd.value}
  182. , {col:"regmcd", type:"STRING", size:256, val : grp_biz.group1.input1.value }
  183. , {col:"ioflag", type:"STRING", size:256, val : grp_biz.group1.combo1.value }
  184. , {col:"execdd", type:"STRING", size:256, val : grp_biz.group1.input2.value }]);
  185. var oParam = {};
  186. oParam.id = "TRPPI01103";
  187. oParam.service = "bfjudgcareapp.BfJudgCareMngt";
  188. oParam.method = "reqGetPichbfrgRsltList";
  189. oParam.inds = "req=ds_send";
  190. oParam.outds = "ds_grd_dpcdlist=rslt";
  191. oParam.async = false;
  192. //oParam.callback = "cf_TXPPI00901";
  193. tranf_submit(oParam);
  194. }
  195. function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  196. {
  197. if (ds_grd_dpcdlist.rowcount > 0) {
  198. grdf_exportExcel(grp_biz.grd_dpcdlist, "exportExcel", "see");
  199. }else{
  200. sysf_messageBox("엑셀저장할 내역이", "I004");
  201. }
  202. }
  203. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
  204. {
  205. fGetDocuList();
  206. }
  207. function grp_biz_group1_ipt_diagcd_onkeydown(obj:Edit, e:KeyEventInfo)
  208. {
  209. if(e.keycode == 13)
  210. {
  211. grp_biz.group1.btn_select.setFocus();
  212. grp_biz_group1_btn_select_onclick();
  213. }
  214. }
  215. function grp_biz_group1_input1_onkeydown(obj:Edit, e:KeyEventInfo)
  216. {
  217. if(e.keycode == 13)
  218. {
  219. grp_biz.group1.btn_select.setFocus();
  220. grp_biz_group1_btn_select_onclick();
  221. }
  222. }
  223. function grp_biz_group1_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  224. {
  225. grp_biz.group1.btn_select.setFocus();
  226. grp_biz_group1_btn_select_onclick();
  227. }
  228. function grp_biz_group1_input2_onkeydown(obj:Calendar, e:KeyEventInfo)
  229. {
  230. if(e.keycode == 13)
  231. {
  232. grp_biz.group1.btn_select.setFocus();
  233. grp_biz_group1_btn_select_onclick();
  234. }
  235. }
  236. ]]></Script>
  237. </Form>
  238. </FDL>