SMPPI01400_외래사전심사대상자현황조회.xfdl 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  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 1254 800" titletext="외래사전심사대상자현황조회" oninit="SMPPI01100_oninit" onload="SMPPI01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 26 1254 800" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Grid position="absolute 0 77 1254 774" id="grd_dpcdlist" class="datagrid3" binddataset="ds_grd_dpcdlist" autofittype="none" anchor="all" cellsizingtype="col" autoenter="select" cellclickbound="cell">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="35"/>
  15. <Column size="75"/>
  16. <Column size="120"/>
  17. <Column size="80"/>
  18. <Column size="80"/>
  19. <Column size="35"/>
  20. <Column size="110"/>
  21. <Column size="80"/>
  22. <Column size="75"/>
  23. <Column size="150"/>
  24. <Column size="35"/>
  25. <Column size="65"/>
  26. <Column size="35"/>
  27. <Column size="35"/>
  28. <Column size="250"/>
  29. <Column size="80"/>
  30. <Column size="35"/>
  31. <Column size="200"/>
  32. <Column size="75"/>
  33. <Column size="0"/>
  34. </Columns>
  35. <Rows>
  36. <Row size="42" band="head"/>
  37. <Row size="24"/>
  38. </Rows>
  39. <Band id="head">
  40. <Cell/>
  41. <Cell col="1" displaytype="normal" text="처방일자"/>
  42. <Cell col="2" displaytype="normal" text="처방일시"/>
  43. <Cell col="3" displaytype="normal" text="환자번호"/>
  44. <Cell col="4" displaytype="normal" text="환자명"/>
  45. <Cell col="5" displaytype="normal" text="진행&#13;&#10;상태"/>
  46. <Cell col="6" displaytype="normal" text="진료과"/>
  47. <Cell col="7" displaytype="normal" text="진료의"/>
  48. <Cell col="8" displaytype="normal" text="처방코드"/>
  49. <Cell col="9" displaytype="normal" text="처방명"/>
  50. <Cell col="10" displaytype="normal" text="급비&#13;&#10;구분"/>
  51. <Cell col="11" displaytype="normal" text="심사자"/>
  52. <Cell col="12" displaytype="normal" text="제어&#13;&#10;코드"/>
  53. <Cell col="13" displaytype="normal" text="제어&#13;&#10;타입"/>
  54. <Cell col="14" displaytype="normal" text="제어상유"/>
  55. <Cell col="15" displaytype="normal" text="처방수정요청"/>
  56. <Cell col="16" displaytype="normal" text="처방&#13;&#10;사유&#13;&#10;코드"/>
  57. <Cell col="17" displaytype="normal" text="처방사유"/>
  58. <Cell col="18" displaytype="normal" text="진료일"/>
  59. <Cell col="19" displaytype="normal" text="cretno"/>
  60. </Band>
  61. <Band id="body">
  62. <Cell celltype="head" expr="currow + 1"/>
  63. <Cell col="1" displaytype="date" text="bind:prcpdd"/>
  64. <Cell col="2" displaytype="date" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm:ss"/>
  65. <Cell col="3" displaytype="text" text="bind:pid"/>
  66. <Cell col="4" displaytype="normal" style="align:left middle;" text="bind:patnm"/>
  67. <Cell col="5" displaytype="combo" style="align:center middle;" text="bind:bfjudgstat" combodataset="ds_cmb_laststats" combocodecol="value" combodatacol="label"/>
  68. <Cell col="6" displaytype="combo" edittype="none" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
  69. <Cell col="7" displaytype="combo" text="bind:orddrid" combodataset="ds_init_orddrid" combocodecol="cd" combodatacol="nm"/>
  70. <Cell col="8" displaytype="text" text="bind:prcpcd"/>
  71. <Cell col="9" displaytype="text" text="bind:prcpnm"/>
  72. <Cell col="10" displaytype="combo" style="align:center middle;" text="bind:payflagcd" combodataset="ds_init_M0029list" combocodecol="cdid" combodatacol="cdnm"/>
  73. <Cell col="11" displaytype="combo" text="bind:judgrid" combodataset="ds_init_judgrid" combocodecol="judgrid" combodatacol="judgrnm"/>
  74. <Cell col="12" displaytype="text" text="bind:rulecd"/>
  75. <Cell col="13" displaytype="text" text="bind:typecd"/>
  76. <Cell col="14" displaytype="text" text="bind:limresn"/>
  77. <Cell col="15" displaytype="text" text="bind:insuupdtdesc"/>
  78. <Cell col="16" displaytype="normal" text="bind:resncd"/>
  79. <Cell col="17" displaytype="text" text="bind:resncnts"/>
  80. <Cell col="18" displaytype="date" text="bind:orddd"/>
  81. <Cell col="19" displaytype="normal" text="bind:cretno"/>
  82. </Band>
  83. </Format>
  84. </Formats>
  85. </Grid>
  86. <Static text="외래사전심사 대상자 현황조회" position="absolute 0 56 294 71" id="cap_judgtrgtman" class="tit_2" anchor="left top"/>
  87. <Shape position="absolute 0 72 1254 78" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  88. <Div position="absolute 0 0 1254 40" align="align:center top;" id="group1" class="div_SA" anchor="left top right">
  89. <Layouts>
  90. <Layout width="1160" height="40">
  91. <Button position="absolute 1175 10 1231 32" id="btn_select" class="btn1" taborder="2" text="조회" anchor="top right" onclick="grp_biz_group1_btn_select_onclick"/>
  92. <Shape position="absolute 1157 5 1163 38" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
  93. <Static text="진료일자 :" position="absolute 15 11 93 28" id="caption2" class="search_name" anchor="default"/>
  94. <Calendar position="absolute 92 10 207 29" id="ipt_fromdd" enable="true" mask="yyyy-mm-dd" anchor="default" onkeydown="grp_biz_group1_input2_onkeydown" oneditclick="grp_biz_group1_ipt_fromdd_oneditclick" onkeyup="grp_biz_group1_ipt_fromdd_onkeyup" autoselect="true" autoskip="true" taborder="0"/>
  95. <Calendar id="ipt_todd" taborder="1" onkeydown="grp_biz_group1_input2_onkeydown" position="absolute 231 10 346 29" mask="yyyy-mm-dd" onkeyup="grp_biz_group1_ipt_todd_onkeyup" anchor="default" autoselect="true"/>
  96. <Static id="Static00" text="~" position="absolute 210 9 228 29" style="align:center middle;" anchor="default"/>
  97. </Layout>
  98. </Layouts>
  99. </Div>
  100. <Button position="absolute 1173 52 1253 71" id="btn_excelsave" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_btn_excelsave_onclick"/>
  101. </Layout>
  102. </Layouts>
  103. </Div>
  104. <Static id="cap_title" text="외래사전심사 대상자 현황조회" class="tit_1" position="absolute 0 0 272 26"/>
  105. </Layout>
  106. </Layouts>
  107. <Objects>
  108. <Dataset id="ds_grd_dpcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  109. <ColumnInfo>
  110. <Column id="orddrid" type="STRING" size="255"/>
  111. <Column id="rulecd" type="STRING" size="255"/>
  112. <Column id="orddeptcd" type="STRING" size="255"/>
  113. <Column id="prcpdd" type="STRING" size="255"/>
  114. <Column id="insuupdtdesc" type="STRING" size="255"/>
  115. <Column id="resncnts" type="STRING" size="255"/>
  116. <Column id="patnm" type="STRING" size="255"/>
  117. <Column id="bfjudgstat" type="STRING" size="255"/>
  118. <Column id="pid" type="STRING" size="255"/>
  119. <Column id="judgrid" type="STRING" size="255"/>
  120. <Column id="payflagcd" type="STRING" size="255"/>
  121. <Column id="cretno" type="BIGDECIMAL" size="255"/>
  122. <Column id="prcpdt" type="STRING" size="255"/>
  123. <Column id="limresn" type="STRING" size="255"/>
  124. <Column id="prcpnm" type="STRING" size="255"/>
  125. <Column id="typecd" type="STRING" size="255"/>
  126. <Column id="sort1" type="STRING" size="255"/>
  127. <Column id="resncd" type="STRING" size="255"/>
  128. <Column id="orddd" type="STRING" size="255"/>
  129. <Column id="prcpcd" type="STRING" size="255"/>
  130. </ColumnInfo>
  131. </Dataset>
  132. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  133. <ColumnInfo>
  134. <Column id="instcd" type="STRING" size="256"/>
  135. <Column id="seq" type="STRING" size="256"/>
  136. <Column id="fromdd" type="STRING" size="256"/>
  137. <Column id="todd" type="STRING" size="256"/>
  138. </ColumnInfo>
  139. <Rows>
  140. <Row/>
  141. </Rows>
  142. </Dataset>
  143. <Dataset id="ds_cmb_laststats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  144. <ColumnInfo>
  145. <Column id="label" type="STRING" size="256"/>
  146. <Column id="value" type="STRING" size="256"/>
  147. </ColumnInfo>
  148. <Rows>
  149. <Row>
  150. <Col id="label">-</Col>
  151. </Row>
  152. <Row>
  153. <Col id="label">대기</Col>
  154. <Col id="value">W</Col>
  155. </Row>
  156. <Row>
  157. <Col id="label">승인</Col>
  158. <Col id="value">Y</Col>
  159. </Row>
  160. <Row>
  161. <Col id="label">수정</Col>
  162. <Col id="value">X</Col>
  163. </Row>
  164. <Row>
  165. <Col id="label">대기삭제</Col>
  166. <Col id="value">WD</Col>
  167. </Row>
  168. <Row>
  169. <Col id="label">승인삭제</Col>
  170. <Col id="value">YD</Col>
  171. </Row>
  172. <Row>
  173. <Col id="label">수정삭제</Col>
  174. <Col id="value">XD</Col>
  175. </Row>
  176. <Row>
  177. <Col id="label">삭제</Col>
  178. <Col id="value">D</Col>
  179. </Row>
  180. <Row>
  181. <Col id="label">급비승인</Col>
  182. <Col id="value">I</Col>
  183. </Row>
  184. <Row>
  185. <Col id="label">제어</Col>
  186. <Col id="value">T</Col>
  187. </Row>
  188. </Rows>
  189. </Dataset>
  190. <Dataset id="ds_init_judgrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  191. <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  192. <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  193. <Dataset id="ds_init_M0029list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  194. </Objects>
  195. <Bind>
  196. <BindItem id="item0" compid="grp_biz.group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  197. <BindItem id="item1" compid="grp_biz.group1.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  198. </Bind>
  199. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  200. * System Name :
  201. * Job Name :
  202. * Creator :
  203. * Make Date : 2016-05-24
  204. * Description :
  205. *---------------------------------------------------------------------------------------
  206. * Modify Date Modifier Modify Description
  207. *---------------------------------------------------------------------------------------
  208. * 2016-05-24 Live Converter TF->XP
  209. *
  210. *---------------------------------------------------------------------------------------
  211. ****************************************************************************************/
  212. include "com_commonxp::comm_main.xjs";
  213. include "pam_pamcomnxp::PAM.xjs";
  214. var lgv_hscroll_pos = 0;
  215. var lgv_vscroll_pos = 0;
  216. function SMPPI01100_oninit(obj:Form, e:InitEventInfo)
  217. {
  218. frmf_initForm(obj);
  219. }
  220. function SMPPI01100_onload(obj:Form, e:LoadEventInfo)
  221. {
  222. grdf_initGrid(grp_biz.grd_dpcdlist);
  223. grdf_setToolTipBind(grp_biz.grd_dpcdlist);
  224. //grdf_setRowTypeIcon(grp_biz.grd_dpcdlist, 0);
  225. var oParam = {};
  226. oParam.id = "TRPID20201";
  227. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  228. oParam.method = "reqGetInitComCd";
  229. oParam.inds = "req=ds_send";
  230. oParam.outds = "ds_init_judgrid=judgrid ds_init_suppkind=suppkind ds_init_orddrid=orddrid ds_init_orddrid2=orddrid2 ds_init_clamdept=clamdept ds_init_orddeptcd=orddeptcd ds_init_orddeptcd2=orddeptcd2 ds_init_item3=item3 ds_init_clamdg=clamdg ds_init_aftjudgerr=aftjudgerr ds_init_uuee=uuee";
  231. oParam.async = false;
  232. //oParam.callback = "cf_TRPID20201";
  233. tranf_submit(oParam);
  234. var arrParam = [{dsNm: "ds_init_M0029list", cdGrpId: "M0029"}]
  235. appf_getCodeList(arrParam);
  236. fInitialize();
  237. }
  238. function fInitialize(){
  239. // var arrParam1 = new Array();
  240. // arrParam1 = [{dsNm: "ds_init_combo1", cdGrpId: "M0010", showValue: false}];
  241. // appf_getCodeList(arrParam1, true, ""); //비동기
  242. dsf_createDsRow("ds_send1", [{col:"instcd", type:"STRING", size:256, val: sysf_getUserInfo("dutplceinstcd")}
  243. // , {col:"diagcd", type:"STRING", size:256, val: grp_biz.group1.ipt_diagcd.value}
  244. // , {col:"calcscorcd", type:"STRING", size:256, val: grp_biz.group1.ipt_calcscorcd.value}
  245. // , {col:"aprvdd", type:"STRING", size:256, val: grp_biz.group1.ipt_aprvdd.value}
  246. // , {col:"aprvnm", type:"STRING", size:256, val: grp_biz.group1.ipt_aprvnm.value}
  247. // , {col:"judgrid", type:"STRING", size:256, val: grp_biz.group1.cmd_judgrid.value}
  248. ]);
  249. // var oParam = {};
  250. // oParam.id = "TRPPI01001";
  251. // oParam.service = "bfjudgcareapp.BfJudgCareMngt";
  252. // oParam.method = "reqGetBfjudgTrgtList";
  253. // oParam.inds = "req=ds_send1";
  254. // oParam.outds = "ds_grd_bfaclist=rslt";
  255. // oParam.async = true;
  256. // oParam.callback = "cf_TRPPI01001";
  257. //
  258. // tranf_submit(oParam);
  259. ds_send.setColumn(0,"fromdd", utlf_getCurrentDate() );
  260. ds_send.setColumn(0,"todd", utlf_getCurrentDate() );
  261. }
  262. function cf_TRPPI01001(sSvcId, nErrorCode, sErrorMsg) {
  263. if(nErrorCode < 0) return;
  264. }
  265. function fGetDocuList(){
  266. lgv_hscroll_pos = grp_biz.grd_dpcdlist.hscrollbar.pos;
  267. lgv_vscroll_pos = grp_biz.grd_dpcdlist.vscrollbar.pos;
  268. var oParam = {};
  269. oParam.id = "TRPPI01300";
  270. oParam.service = "bfjudgcareapp.BfJudgCareMngt";
  271. oParam.method = "reqGetBfjudgTrgtList";
  272. oParam.inds = "req=ds_send";
  273. oParam.outds = "ds_grd_dpcdlist=rslt";
  274. oParam.async = false;
  275. oParam.callback = "cf_TRPPI01300";
  276. tranf_submit(oParam);
  277. }
  278. function cf_TRPPI01300(sSvcId, nErrorCode, sErrorMsg) {
  279. if(nErrorCode < 0) {return};
  280. grp_biz.grd_dpcdlist.hscrollbar.pos = lgv_hscroll_pos;
  281. grp_biz.grd_dpcdlist.vscrollbar.pos = lgv_vscroll_pos;
  282. }
  283. function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  284. {
  285. if (ds_grd_dpcdlist.rowcount > 0) {
  286. grdf_exportExcel(grp_biz.grd_dpcdlist, "exportExcel", "see");
  287. }else{
  288. sysf_messageBox("엑셀저장할 내역이", "I004");
  289. }
  290. }
  291. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
  292. {
  293. fGetDocuList();
  294. }
  295. function grp_biz_group1_ipt_diagcd_onkeydown(obj:Edit, e:KeyEventInfo)
  296. {
  297. if(e.keycode == 13)
  298. {
  299. grp_biz_group1_btn_select_onclick();
  300. }
  301. }
  302. function grp_biz_group1_input1_onkeydown(obj:Edit, e:KeyEventInfo)
  303. {
  304. if(e.keycode == 13)
  305. {
  306. grp_biz_group1_btn_select_onclick();
  307. }
  308. }
  309. function grp_biz_group1_ipt_fromdd_onkeyup(obj:Calendar, e:KeyEventInfo)
  310. {
  311. if(e.keycode == 13)
  312. {
  313. obj.updateToDataset();
  314. grp_biz_group1_btn_select_onclick();
  315. }
  316. }
  317. function grp_biz_group1_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
  318. {
  319. if(e.keycode == 13)
  320. {
  321. obj.updateToDataset();
  322. grp_biz_group1_btn_select_onclick();
  323. }
  324. }
  325. ]]></Script>
  326. </Form>
  327. </FDL>