SMPPI01000_사전신청요법등록.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPPI01000" position="absolute 0 0 1175 746" titletext="사전신청요법등록 화면" onload="SMPPI01000_onload" oninit="SMPPI01000_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 1 23 1169 737" id="grp_biz" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Grid position="absolute 1 77 1161 698" id="grd_dpcdlist" class="datagrid3" binddataset="ds_main_dpcdlist" anchor="default" autofittype="none" autosizingtype="row" cellmovingtype="none" cellsizingtype="both" cellclickbound="control" selecttype="row" autoenter="select" oncellclick="grp_biz_grd_dpcdlist_oncellclick" extendsizetype="row">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="21"/>
  15. <Column size="45"/>
  16. <Column size="66"/>
  17. <Column size="110"/>
  18. <Column size="82"/>
  19. <Column size="205"/>
  20. <Column size="387"/>
  21. <Column size="100"/>
  22. <Column size="107"/>
  23. <Column size="100"/>
  24. <Column size="100"/>
  25. <Column size="92"/>
  26. <Column size="91"/>
  27. <Column size="68"/>
  28. <Column size="100"/>
  29. <Column size="69"/>
  30. <Column size="100"/>
  31. <Column size="100"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. </Columns>
  36. <Rows>
  37. <Row size="40" band="head"/>
  38. <Row size="24"/>
  39. </Rows>
  40. <Band id="head">
  41. <Cell/>
  42. <Cell col="1" text="신청&#10;여부"/>
  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="수정일자"/>
  58. <Cell col="17" text="flag"/>
  59. <Cell col="18" text="pid"/>
  60. <Cell col="19" text="execdd"/>
  61. <Cell col="20" text="ioflag"/>
  62. </Band>
  63. <Band id="body">
  64. <Cell celltype="head"/>
  65. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:useyn" autosizerow="limitmin"/>
  66. <Cell col="2" displaytype="normal" edittype="none" text="bind:regmcd" autosizerow="limitmin" enable="false"/>
  67. <Cell col="3" displaytype="normal" edittype="none" style="align:left;" text="bind:cncrkind" autosizerow="limitmin"/>
  68. <Cell col="4" displaytype="normal" edittype="none" style="align:left middle;" text="bind:cncrdetl" autosizerow="limitmin" enable="true"/>
  69. <Cell col="5" displaytype="normal" edittype="none" style="align:left middle;" text="bind:antichem" wordwrap="word" autosizerow="limitmin"/>
  70. <Cell col="6" displaytype="normal" edittype="none" style="align:left middle;" text="bind:drugtrgt" wordwrap="word" autosizerow="limitmin" autosizecol="default"/>
  71. <Cell col="7" displaytype="normal" edittype="none" style="align:left middle;" text="bind:drugstage" autosizerow="limitmin"/>
  72. <Cell col="8" displaytype="normal" edittype="none" style="align:left middle;" text="bind:drugregm" wordwrap="word" autosizerow="limitmin"/>
  73. <Cell col="9" displaytype="normal" edittype="none" style="align:left middle;" text="bind:paydetl" wordwrap="word" autosizerow="limitmin"/>
  74. <Cell col="10" displaytype="normal" edittype="none" style="align:left middle;" text="bind:etcdetl" autosizerow="limitmin"/>
  75. <Cell col="11" displaytype="date" edittype="none" text="bind:fromdd" mask="yyyy-MM-dd" autosizerow="limitmin"/>
  76. <Cell col="12" displaytype="date" edittype="none" text="bind:todd" mask="yyyy-MM-dd" autosizerow="limitmin"/>
  77. <Cell col="13" displaytype="normal" edittype="none" text="bind:fstrgstrid" autosizerow="limitmin"/>
  78. <Cell col="14" displaytype="date" edittype="none" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" autosizerow="limitmin"/>
  79. <Cell col="15" displaytype="normal" text="bind:lastupdtrid" autosizerow="limitmin"/>
  80. <Cell col="16" displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" autosizerow="limitmin"/>
  81. <Cell col="17" displaytype="normal" text="bind:flag" autosizerow="limitmin"/>
  82. <Cell col="18" text="bind:pid"/>
  83. <Cell col="19" text="bind:execdd"/>
  84. <Cell col="20" text="bind:ioflag"/>
  85. </Band>
  86. </Format>
  87. </Formats>
  88. </Grid>
  89. <Static text="사전신청요법기준 리스트" position="absolute 4 56 214 79" id="cap_judgtrgtman" class="tit_2" anchor="default"/>
  90. <Shape position="absolute 1 72 1161 78" linetype="horizontal" id="line1" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
  91. <Div position="absolute 0 2 1160 42" align="align:center top;" id="group1" class="div_SA" anchor="default">
  92. <Layouts>
  93. <Layout>
  94. <Button position="absolute 1095 10 1151 32" id="btn_select" class="btn1" taborder="32" visible="false" text="조회" anchor="default" onclick="grp_biz_group1_btn_select_onclick"/>
  95. <Static text="환자번호:" position="absolute 8 11 95 28" id="caption30" class="search_name" anchor="default"/>
  96. <Edit position="absolute 100 10 200 29" id="ipt_diagcd" enable="false" anchor="default"/>
  97. <Static text="내원구분:" position="absolute 223 11 310 28" id="caption1" class="search_name" anchor="default"/>
  98. <Static text="시행일 :" position="absolute 413 11 525 28" id="caption2" class="search_name" anchor="default"/>
  99. <Calendar position="absolute 490 10 605 29" id="input2" enable="false" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  100. <Combo position="absolute 310 10 385 29" id="combo1" enable="false" innerdataset="@ds_init_genrflagcd" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  101. </Layout>
  102. </Layouts>
  103. </Div>
  104. <Button position="absolute 1115 53 1157 72" id="button1" class="btn5" text="저장" anchor="default" onclick="grp_biz_button1_onclick"/>
  105. </Layout>
  106. </Layouts>
  107. </Div>
  108. <Static id="cap_title" text="사전신청요법등록 화면" class="tit_1" position="absolute 1 1 217 24"/>
  109. </Layout>
  110. </Layouts>
  111. <Objects>
  112. <Dataset id="ds_main_dpcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  113. <ColumnInfo>
  114. <Column id="useyn" type="STRING"/>
  115. <Column id="regmcd" type="STRING"/>
  116. <Column id="cncrkind" type="STRING"/>
  117. <Column id="cncrdetl" type="STRING"/>
  118. <Column id="antichem" type="STRING"/>
  119. <Column id="drugtrgt" type="STRING"/>
  120. <Column id="drugstage" type="STRING"/>
  121. <Column id="drugregm" type="STRING"/>
  122. <Column id="paydetl" type="STRING"/>
  123. <Column id="etcdetl" type="STRING"/>
  124. <Column id="fromdd" type="STRING"/>
  125. <Column id="todd" type="STRING"/>
  126. <Column id="fstrgstrid" type="STRING"/>
  127. <Column id="fstrgstdt" type="STRING"/>
  128. <Column id="lastupdtrid" type="STRING"/>
  129. <Column id="lastupdtdt" type="STRING"/>
  130. <Column id="flag" type="STRING"/>
  131. <Column id="pid" type="STRING"/>
  132. <Column id="execdd" type="STRING"/>
  133. <Column id="ioflag" type="STRING"/>
  134. </ColumnInfo>
  135. </Dataset>
  136. <Dataset id="ds_init_genrflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  137. <ColumnInfo>
  138. <Column id="cdid" type="STRING" size="256"/>
  139. <Column id="cdnm" type="STRING" size="256"/>
  140. </ColumnInfo>
  141. <Rows>
  142. <Row/>
  143. </Rows>
  144. </Dataset>
  145. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  146. <ColumnInfo>
  147. <Column id="pid" type="STRING" size="256"/>
  148. <Column id="execdd" type="STRING" size="256"/>
  149. <Column id="ioflag" type="STRING" size="256"/>
  150. <Column id="instcd" type="STRING" size="256"/>
  151. </ColumnInfo>
  152. <Rows>
  153. <Row/>
  154. </Rows>
  155. </Dataset>
  156. </Objects>
  157. <Bind>
  158. <BindItem id="item0" compid="grp_biz.group1.ipt_diagcd" propid="value" datasetid="ds_send" columnid="pid"/>
  159. <BindItem id="item1" compid="grp_biz.group1.combo1" propid="value" datasetid="ds_send" columnid="ioflag"/>
  160. <BindItem id="item2" compid="grp_biz.group1.input2" propid="value" datasetid="ds_send" columnid="execdd"/>
  161. </Bind>
  162. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  163. * System Name :
  164. * Job Name :
  165. * Creator :
  166. * Make Date : 2016-05-24
  167. * Description :
  168. *---------------------------------------------------------------------------------------
  169. * Modify Date Modifier Modify Description
  170. *---------------------------------------------------------------------------------------
  171. * 2016-05-24 Live Converter TF->XP
  172. *
  173. *---------------------------------------------------------------------------------------
  174. ****************************************************************************************/
  175. include "com_commonxp::comm_main.xjs";
  176. include "pam_pamcomnxp::PAM001.xjs";
  177. include "pam_pamcomnxp::PAM.xjs";
  178. function SMPPI01000_oninit(obj:Form, e:InitEventInfo)
  179. {
  180. frmf_initForm(obj);
  181. }
  182. function SMPPI01000_onload(obj:Form, e:LoadEventInfo)
  183. {
  184. grdf_initGrid(grp_biz.grd_dpcdlist);
  185. grdf_setRowTypeIcon(grp_biz.grd_dpcdlist, 0);
  186. fInitialize();
  187. }
  188. function fInitialize()
  189. {
  190. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  191. var arrParam = [{dsNm: "ds_init_genrflagcd", cdGrpId: "M0010"}]
  192. appf_getCodeList(arrParam);
  193. pamGetDeptCDDrIDList();
  194. ds_send.copyData(arg_ds_send);
  195. grp_biz_group1_btn_select_onclick();
  196. }
  197. //조회
  198. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
  199. {
  200. fGetDocuList();
  201. }
  202. function fGetDocuList()
  203. {
  204. var oParam = {};
  205. oParam.id = "TXPPI00901";
  206. oParam.service = "bfjudgcareapp.BfJudgCareMngt";
  207. oParam.method = "reqGetPichbfrgList";
  208. oParam.inds = "req=ds_send";
  209. oParam.outds = "ds_main_dpcdlist=rslt";
  210. oParam.async = false;
  211. //oParam.callback = "cf_TXPPI00901";
  212. tranf_submit(oParam);
  213. }
  214. //저장
  215. function grp_biz_button1_onclick(obj:Button, e:ClickEventInfo)
  216. {
  217. var update = grdf_getGridUpdateData(grp_biz.grd_dpcdlist);
  218. if(update.rowcount == 0)
  219. {
  220. sysf_messageBox("변경된 데이터가","I004");
  221. return 0;
  222. }
  223. if (sysf_messageBox("저장", "S001") == 6)
  224. {
  225. var oParam = {};
  226. oParam.id = "TXPIJ03202";
  227. oParam.service = "bfjudgcareapp.BfJudgCareMngt";
  228. oParam.method = "reqExePichbfrgList";
  229. oParam.inds = "req=ds_main_dpcdlist:U";
  230. oParam.outds = "ds_main_dpcdlist=rslt";
  231. oParam.async = false;
  232. oParam.callback = "cf_TXPIJ03202";
  233. tranf_submit(oParam);
  234. }
  235. this.close();
  236. }
  237. function cf_TXPIJ03202()
  238. {
  239. sysf_messageBox("저장이","I002");
  240. }
  241. function grp_biz_grd_dpcdlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  242. {
  243. if(obj.currentcol == obj.getBindCellIndex("body","useyn") ){
  244. var rowno = obj.currentrow;
  245. if (obj.getCellValue(rowno, obj.getBindCellIndex("body","flag")) == "I" && ds_main_dpcdlist.getRowType(rowno) == 4) {
  246. var arrPostion = new Array();
  247. arrPostion[0] = rowno;
  248. grdf_setStatus(obj, "I", arrPostion);
  249. } else if (obj.getCellValue(rowno, obj.getBindCellIndex("body","flag")) == "U" && ds_main_dpcdlist.getRowType(rowno) == 4){
  250. var arrPostion = new Array();
  251. arrPostion[0] = rowno;
  252. grdf_setStatus(obj, "D", arrPostion);
  253. } else {
  254. var arrPostion = new Array();
  255. arrPostion[0] = rowno;
  256. grdf_setStatus(obj, "", arrPostion);
  257. }
  258. }
  259. }
  260. ]]></Script>
  261. </Form>
  262. </FDL>