SMPPI01300_허가초과비급여약제대상자결과조회.xfdl 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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 26 1160 724" 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="col" autoenter="select" cellclickbound="cell">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="36"/>
  15. <Column size="75"/>
  16. <Column size="65"/>
  17. <Column size="78"/>
  18. <Column size="48"/>
  19. <Column size="40"/>
  20. <Column size="200"/>
  21. <Column size="200"/>
  22. <Column size="87"/>
  23. <Column size="75"/>
  24. <Column size="144"/>
  25. <Column size="45"/>
  26. <Column size="40"/>
  27. <Column size="40"/>
  28. <Column size="40"/>
  29. <Column size="75"/>
  30. <Column size="75"/>
  31. <Column size="50"/>
  32. <Column size="50"/>
  33. <Column size="40"/>
  34. <Column size="40"/>
  35. <Column size="40"/>
  36. <Column size="83"/>
  37. <Column size="120"/>
  38. <Column size="0"/>
  39. </Columns>
  40. <Rows>
  41. <Row size="52" band="head"/>
  42. <Row size="24"/>
  43. </Rows>
  44. <Band id="head">
  45. <Cell/>
  46. <Cell col="1" text="수진자명"/>
  47. <Cell col="2" text="주민번호" taborder="undefined"/>
  48. <Cell col="3" text="환자번호"/>
  49. <Cell col="4" text="연령"/>
  50. <Cell col="5" text="임부"/>
  51. <Cell col="6" text="약제명"/>
  52. <Cell col="7" text="성분"/>
  53. <Cell col="8" text="제형"/>
  54. <Cell col="9" text="IRB승인"/>
  55. <Cell col="10" text="투여대상"/>
  56. <Cell col="11" text="용량"/>
  57. <Cell col="12" text="경로"/>
  58. <Cell col="13" text="1회량"/>
  59. <Cell col="14" text="횟수"/>
  60. <Cell col="15" text="투여개시일"/>
  61. <Cell col="16" text="투여종료일"/>
  62. <Cell col="17" text="총일수"/>
  63. <Cell col="18" text="총사용량"/>
  64. <Cell col="19" text="원내&#13;&#10;/원외"/>
  65. <Cell col="20" text="치료&#13;&#10;결과"/>
  66. <Cell col="21" text="이상&#13;&#10;약물&#13;&#10;반응"/>
  67. <Cell col="22" text="소요비용"/>
  68. <Cell col="23" text="진료과"/>
  69. <Cell col="24" text="flag"/>
  70. </Band>
  71. <Band id="body">
  72. <Cell celltype="head" expr="currow +1"/>
  73. <Cell col="1" displaytype="text" text="bind:hngnm"/>
  74. <Cell col="2" displaytype="text" expr="expr:rrgstno"/>
  75. <Cell col="3" displaytype="text" text="bind:pid"/>
  76. <Cell col="4" displaytype="number" text="bind:page"/>
  77. <Cell col="5" displaytype="text" text="bind:preg"/>
  78. <Cell col="6" displaytype="text" style="align:left middle;" text="bind:calcnm"/>
  79. <Cell col="7" displaytype="text" style="align:left middle;" text="bind:comnm"/>
  80. <Cell col="8" displaytype="text" text="bind:tab"/>
  81. <Cell col="9" displaytype="date" text="bind:irb"/>
  82. <Cell col="10" displaytype="text" text="bind:object"/>
  83. <Cell col="11" displaytype="text" text="bind:packvol"/>
  84. <Cell col="12" text="bind:path"/>
  85. <Cell col="13" displaytype="number" style="align:right middle;" text="bind:calcqty"/>
  86. <Cell col="14" displaytype="number" style="align:right middle;" text="bind:calctims"/>
  87. <Cell col="15" displaytype="date" text="bind:exec_min" mask="yyyy-MM-dd"/>
  88. <Cell col="16" displaytype="date" text="bind:exec_max"/>
  89. <Cell col="17" displaytype="number" style="align:right middle;" text="bind:dayno"/>
  90. <Cell col="18" displaytype="number" style="align:right middle;" text="bind:totaqty"/>
  91. <Cell col="19" displaytype="normal" text="bind:outdrug" combodataset="ds_grd_cmb_outdrug" combocodecol="cdid" combodatacol="cdnm"/>
  92. <Cell col="20" displaytype="normal" edittype="normal" text="bind:result"/>
  93. <Cell col="21" displaytype="normal" edittype="normal" text="bind:response"/>
  94. <Cell col="22" displaytype="number" style="align:right middle;" text="bind:amt"/>
  95. <Cell col="23" displaytype="normal" edittype="normal" style="align:left middle;" text="bind:orddeptcd"/>
  96. <Cell col="24" text="bind:flag"/>
  97. </Band>
  98. </Format>
  99. </Formats>
  100. </Grid>
  101. <Static text="비급여사용 허가약제조회" position="absolute 0 56 294 71" id="cap_judgtrgtman" class="tit_2" anchor="default"/>
  102. <Shape position="absolute 0 72 1160 78" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  103. <Div position="absolute 0 0 1160 40" align="align:center top;" id="group1" class="div_SA" anchor="left top right">
  104. <Layouts>
  105. <Layout width="1160" height="40">
  106. <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"/>
  107. <Shape position="absolute 1077 5 1083 38" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
  108. <Static text="IRB명 :" position="absolute 8 11 68 28" id="caption30" class="search_name" anchor="default"/>
  109. <Static text="처방일자 :" position="absolute 319 11 397 28" id="caption2" class="search_name" anchor="default"/>
  110. <Combo position="absolute 67 10 312 29" id="cmb_seq" enable="true" innerdataset="@ds_hidden_obpvlist" datacolumn="valunm" codecolumn="valucd" anchor="default" onitemchanged="grp_biz_group1_combo1_onitemchanged"/>
  111. <Calendar position="absolute 396 10 511 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"/>
  112. <Calendar id="ipt_todd" taborder="33" onkeydown="grp_biz_group1_input2_onkeydown" position="absolute 535 10 650 29" mask="yyyy-mm-dd" onkeyup="grp_biz_group1_ipt_todd_onkeyup"/>
  113. <Static id="Static00" text="~" position="absolute 514 9 532 29" style="align:center middle;"/>
  114. </Layout>
  115. </Layouts>
  116. </Div>
  117. <Button position="absolute 1080 52 1160 71" id="btn_excelsave" class="btn7" text="엑셀저장" anchor="top right" onclick="grp_biz_btn_excelsave_onclick"/>
  118. <Static id="caption30" text="제형 :" class="search_name" position="absolute 264 52 314 69" anchor="left top"/>
  119. <Static id="caption00" text="IRB승인일자 :" class="search_name" position="absolute 416 52 521 69" anchor="left top"/>
  120. <Static id="caption01" text="경로 :" class="search_name" position="absolute 632 52 688 69" anchor="left top"/>
  121. <Edit id="ipt_tabnm" taborder="1" position="absolute 311 51 411 71" anchor="left top" autoselect="true" value="정제(tablet)"/>
  122. <Edit id="ipt_path" taborder="2" position="absolute 679 51 779 71" anchor="left top" autoselect="true" value="P.O"/>
  123. <Calendar id="ipt_irbdd" taborder="3" onkeydown="grp_biz_group1_input2_onkeydown" onkeyup="grp_biz_group1_ipt_fromdd_onkeyup" oneditclick="grp_biz_group1_ipt_fromdd_oneditclick" position="absolute 508 51 623 70" mask="yyyy-mm-dd" anchor="left top" autoselect="true"/>
  124. </Layout>
  125. </Layouts>
  126. </Div>
  127. <Static id="cap_title" text="비급여사용 허가약제조회" class="tit_1" position="absolute 0 0 272 26"/>
  128. </Layout>
  129. </Layouts>
  130. <Objects>
  131. <Dataset id="ds_grd_dpcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  132. <ColumnInfo>
  133. <Column id="hngnm" type="STRING"/>
  134. <Column id="rrgstno1" type="STRING"/>
  135. <Column id="pid" type="STRING"/>
  136. <Column id="sex" type="STRING"/>
  137. <Column id="regmcd" type="STRING"/>
  138. <Column id="cncrkind" type="STRING"/>
  139. <Column id="cncrdetl" type="STRING"/>
  140. <Column id="antichem" type="STRING"/>
  141. <Column id="drugtrgt" type="STRING"/>
  142. <Column id="drugstage" type="STRING"/>
  143. <Column id="drugregm" type="STRING"/>
  144. <Column id="paydetl" type="STRING"/>
  145. <Column id="etcdetl" type="STRING"/>
  146. <Column id="fromdd" type="STRING"/>
  147. <Column id="todd" type="STRING"/>
  148. <Column id="useyn" type="STRING"/>
  149. <Column id="fstrgstrid" type="STRING"/>
  150. <Column id="fstrgstdt" type="STRING"/>
  151. <Column id="lastupdtrid" type="STRING"/>
  152. <Column id="lastupdtdt" type="STRING"/>
  153. </ColumnInfo>
  154. </Dataset>
  155. <Dataset id="ds_grd_bfaclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  156. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  157. <ColumnInfo>
  158. <Column id="instcd" type="STRING" size="256"/>
  159. <Column id="valucd" type="STRING" size="256"/>
  160. <Column id="fromdd" type="STRING" size="256"/>
  161. <Column id="todd" type="STRING" size="256"/>
  162. <Column id="irbdd" type="STRING" size="256"/>
  163. <Column id="path" type="STRING" size="256"/>
  164. <Column id="tabnm" type="STRING" size="256"/>
  165. </ColumnInfo>
  166. <Rows>
  167. <Row>
  168. <Col id="tabnm"/>
  169. <Col id="path"/>
  170. </Row>
  171. </Rows>
  172. </Dataset>
  173. <Dataset id="ds_hidden_obpvlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  174. <Dataset id="ds_grd_cmb_outdrug" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  175. <ColumnInfo>
  176. <Column id="cdid" type="STRING" size="256"/>
  177. <Column id="cdnm" type="STRING" size="256"/>
  178. </ColumnInfo>
  179. <Rows>
  180. <Row>
  181. <Col id="cdid">1</Col>
  182. <Col id="cdnm">원내</Col>
  183. </Row>
  184. <Row>
  185. <Col id="cdid">2</Col>
  186. <Col id="cdnm">원외</Col>
  187. </Row>
  188. </Rows>
  189. </Dataset>
  190. </Objects>
  191. <Bind>
  192. <BindItem id="item0" compid="grp_biz.group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  193. <BindItem id="item1" compid="grp_biz.group1.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  194. <BindItem id="item2" compid="grp_biz.group1.cmb_seq" propid="value" datasetid="ds_send" columnid="valucd"/>
  195. <BindItem id="item3" compid="grp_biz.ipt_irbdd" propid="value" datasetid="ds_send" columnid="irbdd"/>
  196. <BindItem id="item4" compid="grp_biz.ipt_tabnm" propid="value" datasetid="ds_send" columnid="tabnm"/>
  197. <BindItem id="item5" compid="grp_biz.ipt_path" propid="value" datasetid="ds_send" columnid="path"/>
  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::PAM001.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. fInitialize();
  226. }
  227. function fInitialize(){
  228. // var arrParam1 = new Array();
  229. // arrParam1 = [{dsNm: "ds_init_combo1", cdGrpId: "M0010", showValue: false}];
  230. // appf_getCodeList(arrParam1, true, ""); //비동기
  231. var fromdd = utlf_getCurrentDate();
  232. fromdd = fromdd.toDate().getAddDate(-1, "Y").getDateFormat();
  233. ds_send.setColumn(0,"fromdd", String(fromdd).substr(0,4) + "0501");
  234. ds_send.setColumn(0,"todd", utlf_getCurrentDate());
  235. dsf_createDsRow("ds_send1", [{col:"instcd", type:"STRING", size:256, val: sysf_getUserInfo("dutplceinstcd")}
  236. // , {col:"diagcd", type:"STRING", size:256, val: grp_biz.group1.ipt_diagcd.value}
  237. // , {col:"calcscorcd", type:"STRING", size:256, val: grp_biz.group1.ipt_calcscorcd.value}
  238. // , {col:"aprvdd", type:"STRING", size:256, val: grp_biz.group1.ipt_aprvdd.value}
  239. // , {col:"aprvnm", type:"STRING", size:256, val: grp_biz.group1.ipt_aprvnm.value}
  240. // , {col:"judgrid", type:"STRING", size:256, val: grp_biz.group1.cmd_judgrid.value}
  241. ]);
  242. var oParam = {};
  243. oParam.id = "TRPID31100";
  244. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  245. oParam.method = "reqGetPidmobpvList";
  246. oParam.inds = "req=ds_send";
  247. oParam.outds = "ds_hidden_obpvlist=obpv";
  248. oParam.async = false;
  249. //oParam.callback = "cf_TRPID20202";
  250. tranf_submit(oParam);
  251. ds_hidden_obpvlist.filter("String(valucd).indexOf('IRB_') > -1");
  252. //fGetDocuList();
  253. }
  254. function cf_TRPPI01001(sSvcId, nErrorCode, sErrorMsg) {
  255. if(nErrorCode < 0) return;
  256. }
  257. function fGetDocuList(){
  258. lgv_hscroll_pos = grp_biz.grd_dpcdlist.hscrollbar.pos;
  259. lgv_vscroll_pos = grp_biz.grd_dpcdlist.vscrollbar.pos;
  260. var oParam = {};
  261. oParam.id = "TRPPI01300";
  262. oParam.service = "bfjudgcareapp.BfJudgCareMngt";
  263. oParam.method = "reqGetAppAnticncrRsltList";
  264. oParam.inds = "req=ds_send";
  265. oParam.outds = "ds_grd_dpcdlist=rslt";
  266. oParam.async = false;
  267. oParam.callback = "cf_TRPPI01300";
  268. tranf_submit(oParam);
  269. }
  270. function cf_TRPPI01300(sSvcId, nErrorCode, sErrorMsg) {
  271. if(nErrorCode < 0) {return};
  272. // ds_grd_dpcdlist.updatecontrol = false;
  273. // for (var i=0, rowcnt= ds_grd_dpcdlist.rowcount; i < rowcnt; i++) {
  274. //
  275. // if (ds_grd_dpcdlist.getColumn(i,"flag") == "I") {
  276. // ds_grd_dpcdlist.setRowType(i, 2)
  277. // } else {
  278. // ds_grd_dpcdlist.setRowType(i, 1)
  279. // }
  280. // }
  281. // ds_grd_dpcdlist.updatecontrol = true;
  282. grp_biz.grd_dpcdlist.hscrollbar.pos = lgv_hscroll_pos;
  283. grp_biz.grd_dpcdlist.vscrollbar.pos = lgv_vscroll_pos;
  284. }
  285. function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  286. {
  287. if (ds_grd_dpcdlist.rowcount > 0) {
  288. grdf_exportExcel(grp_biz.grd_dpcdlist, grp_biz.cap_judgtrgtman.text , "see");
  289. }else{
  290. sysf_messageBox("엑셀저장할 내역이", "I004");
  291. }
  292. }
  293. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
  294. {
  295. fGetDocuList();
  296. }
  297. function grp_biz_group1_ipt_diagcd_onkeydown(obj:Edit, e:KeyEventInfo)
  298. {
  299. if(e.keycode == 13)
  300. {
  301. grp_biz_group1_btn_select_onclick();
  302. }
  303. }
  304. function grp_biz_group1_input1_onkeydown(obj:Edit, e:KeyEventInfo)
  305. {
  306. if(e.keycode == 13)
  307. {
  308. grp_biz_group1_btn_select_onclick();
  309. }
  310. }
  311. function grp_biz_group1_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  312. {
  313. var frow = ds_hidden_obpvlist.findRowExpr("valucd=='" + obj.value + "'");
  314. if (frow > -1) {
  315. grp_biz.ipt_tabnm.value = ds_hidden_obpvlist.getColumn(frow, "pvod1");
  316. grp_biz.ipt_irbdd.value = ds_hidden_obpvlist.getColumn(frow, "pvod2");
  317. grp_biz.ipt_path.value = ds_hidden_obpvlist.getColumn(frow, "pvod3");
  318. }
  319. }
  320. function grp_biz_group1_ipt_fromdd_onkeyup(obj:Calendar, e:KeyEventInfo)
  321. {
  322. if(e.keycode == 13)
  323. {
  324. obj.updateToDataset();
  325. grp_biz_group1_btn_select_onclick();
  326. }
  327. }
  328. function grp_biz_group1_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
  329. {
  330. if(e.keycode == 13)
  331. {
  332. obj.updateToDataset();
  333. grp_biz_group1_btn_select_onclick();
  334. }
  335. }
  336. function cf_TXPPI01300(sSvcId, nErrorCode, sErrorMsg) {
  337. if(nErrorCode < 0) {return};
  338. fGetDocuList();
  339. }
  340. ]]></Script>
  341. </Form>
  342. </FDL>