SPPIF80100_약제비급여처방발행사유조회.xfdl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIF80100" position="absolute 0 0 1202 765" titletext="약제 비급여 처방 발행 사유 조회" oninit="SPPIF80100_oninit" onload="SPPIF80100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="약제 비급여 처방 발행 사유 조회" class="tit_1" position="absolute 0 0 311 24"/>
  8. <Div id="grp_sea" taborder="1" class="div_SA" position="absolute 0 24 1195 64">
  9. <Layouts>
  10. <Layout>
  11. <Button id="button1" taborder="1" text="조회" class="btn1" position="absolute 1123 9 1179 31" anchor="top right" onclick="grp_sea_button1_onclick"/>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1095 8 1101 30" anchor="top right"/>
  13. <Calendar id="ipt_fromdd" taborder="2" autoselect="true" autoskip="true" class="input_search" position="absolute 67 11 168 30" mask="yyyy-mm-dd" onchanged="grp_sea_ipt_fromdd_onchanged"/>
  14. <Radio id="radio1" taborder="3" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 387 9 532 32">
  15. <Dataset id="innerdataset">
  16. <ColumnInfo>
  17. <Column id="codecolumn"/>
  18. <Column id="datacolumn"/>
  19. </ColumnInfo>
  20. <Rows>
  21. <Row>
  22. <Col id="codecolumn">A</Col>
  23. <Col id="datacolumn">전체</Col>
  24. </Row>
  25. <Row>
  26. <Col id="codecolumn">I</Col>
  27. <Col id="datacolumn">입원</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">O</Col>
  31. <Col id="datacolumn">외래</Col>
  32. </Row>
  33. </Rows>
  34. </Dataset>
  35. </Radio>
  36. <Static id="caption7" text="내원유형 :" class="search_name" position="absolute 306 12 392 29"/>
  37. <Static id="caption13" text="기간 :" class="search_name" position="absolute 11 12 82 29"/>
  38. <Static id="caption3" text="~" position="absolute 173 10 188 30"/>
  39. <Calendar id="ipt_todd" taborder="4" autoselect="true" class="input_search" position="absolute 191 11 292 30" mask="yyyy-mm-dd"/>
  40. </Layout>
  41. </Layouts>
  42. </Div>
  43. <Button id="button12" taborder="2" text="엑셀저장" class="btn7" position="absolute 1115 69 1195 88" anchor="top right" onclick="button12_onclick"/>
  44. <Shape id="line2" class="line_10" position="absolute 0 88 1195 94" anchor="left top right"/>
  45. <Static id="caption10" text="약제 비급여 처방 발행 사유 조회" class="tit_2" position="absolute 0 71 265 92"/>
  46. <Grid id="datagrid1" class="datagrid2" taborder="3" binddataset="ds_main_list_resnlist" useinputpanel="false" position="absolute 0 93 1195 728" autoenter="select" cellsizingtype="col" autofittype="col">
  47. <Formats>
  48. <Format id="default">
  49. <Columns>
  50. <Column size="29" band="left"/>
  51. <Column size="0"/>
  52. <Column size="54"/>
  53. <Column size="43"/>
  54. <Column size="0"/>
  55. <Column size="80"/>
  56. <Column size="80"/>
  57. <Column size="30"/>
  58. <Column size="80"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="30"/>
  62. <Column size="161"/>
  63. <Column size="80"/>
  64. <Column size="117"/>
  65. <Column size="0"/>
  66. <Column size="0"/>
  67. <Column size="0"/>
  68. <Column size="45"/>
  69. <Column size="72"/>
  70. <Column size="132"/>
  71. <Column size="50"/>
  72. <Column size="45"/>
  73. <Column size="75"/>
  74. <Column size="30"/>
  75. </Columns>
  76. <Rows>
  77. <Row size="34" band="head"/>
  78. <Row size="24"/>
  79. </Rows>
  80. <Band id="head">
  81. <Cell/>
  82. <Cell col="1" text="기관코드"/>
  83. <Cell col="2" text="환자번호"/>
  84. <Cell col="3" text="환자명"/>
  85. <Cell col="4" text="원무생성번호"/>
  86. <Cell col="5" text="진료일자"/>
  87. <Cell col="6" text="진료과"/>
  88. <Cell col="7" text="내원&#10;유형"/>
  89. <Cell col="8" text="처방일자"/>
  90. <Cell col="9" text="처방이력번호"/>
  91. <Cell col="10" text="처방번호"/>
  92. <Cell col="11" text="사유&#10;코드"/>
  93. <Cell col="12" text="사유내역"/>
  94. <Cell col="13" text="발생일자"/>
  95. <Cell col="14" text="사유구분"/>
  96. <Cell col="15" text="사유번호"/>
  97. <Cell col="16" text="사유순번"/>
  98. <Cell col="17" text="등록일자"/>
  99. <Cell col="18" text="등록자"/>
  100. <Cell col="19" text="처방코드"/>
  101. <Cell col="20" text="처방명"/>
  102. <Cell col="21" text="보험&#10;유형"/>
  103. <Cell col="22" text="의사명"/>
  104. <Cell col="23" text="금액"/>
  105. <Cell col="24" text="원내&#10;원외"/>
  106. </Band>
  107. <Band id="body">
  108. <Cell celltype="head" expr="currow+1"/>
  109. <Cell col="1" text="bind:instcd"/>
  110. <Cell col="2" displaytype="text" edittype="text" text="bind:pid"/>
  111. <Cell col="3" text="bind:patnm"/>
  112. <Cell col="4" text="bind:cretno"/>
  113. <Cell col="5" displaytype="date" text="bind:orddd" calendardisplaynulltype="nulltext"/>
  114. <Cell col="6" text="bind:orddeptcd" calendardisplaynulltype="nulltext"/>
  115. <Cell col="7" displaytype="combo" style="align:center middle;" text="bind:ordtype" combodataset="ds_init_P0028list_P0028" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  116. <Cell col="8" displaytype="date" text="bind:prcpdd" calendardisplaynulltype="nulltext"/>
  117. <Cell col="9" text="bind:prcphistno" mask="yyyy-mm"/>
  118. <Cell col="10" text="bind:prcpno"/>
  119. <Cell col="11" text="bind:resncd"/>
  120. <Cell col="12" style="align:left middle;padding:0 0 0 2;" text="bind:resncnts"/>
  121. <Cell col="13" displaytype="date" text="bind:resndd" calendardisplaynulltype="nulltext"/>
  122. <Cell col="14" displaytype="combo" style="padding:0 0 0 2;" text="bind:resnflag" combodataset="ds_init_M0530list_M0530" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  123. <Cell col="15" text="bind:resnno"/>
  124. <Cell col="16" text="bind:resnseqno" mask="#,###"/>
  125. <Cell col="17" text="bind:fstrgstdt" mask="yyyy-mm-dd hh:nn"/>
  126. <Cell col="18" text="bind:fstrgstrid"/>
  127. <Cell col="19" displaytype="text" edittype="text" text="bind:prcpcd"/>
  128. <Cell col="20" style="align:left middle;padding:0 0 0 2;" text="bind:prcpnm"/>
  129. <Cell col="21" displaytype="combo" text="bind:payflagcd" combodataset="ds_init_M0029list_M0029" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  130. <Cell col="22" text="bind:orddrid"/>
  131. <Cell col="23" displaytype="number" text="bind:totamt"/>
  132. <Cell col="24" displaytype="combo" text="bind:hosinhosoutflag" combodataset="ds_cmb_hosinhosoutflag" combocodecol="value" combodatacol="label" enable="false"/>
  133. </Band>
  134. </Format>
  135. </Formats>
  136. </Grid>
  137. <Button id="button45" taborder="4" text="닫기" class="btn4" position="absolute 1139 735 1195 757" anchor="right bottom" onclick="button45_onclick"/>
  138. </Layout>
  139. </Layouts>
  140. <Objects>
  141. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  142. <ColumnInfo>
  143. <Column id="fromdd" type="STRING" size="256"/>
  144. <Column id="todd" type="STRING" size="256"/>
  145. <Column id="ioflag" type="STRING" size="256"/>
  146. </ColumnInfo>
  147. <Rows>
  148. <Row>
  149. <Col id="fromdd"/>
  150. <Col id="todd"/>
  151. <Col id="ioflag">A</Col>
  152. </Row>
  153. </Rows>
  154. </Dataset>
  155. <Dataset id="ds_main_list_resnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  156. <ColumnInfo>
  157. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  158. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  159. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  160. <Column id="cretno" type="STRING" size="256" sumtext="원무번호"/>
  161. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  162. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  163. <Column id="ordtype" type="STRING" size="256" sumtext="내원유형"/>
  164. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  165. <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력번호"/>
  166. <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
  167. <Column id="resncd" type="STRING" size="256" sumtext="사유코드"/>
  168. <Column id="resncnts" type="STRING" size="256" sumtext="사유내역"/>
  169. <Column id="resndd" type="STRING" size="256" sumtext="사유발생일자"/>
  170. <Column id="resnflag" type="STRING" size="256" sumtext="사유구분"/>
  171. <Column id="resnno" type="STRING" size="256" sumtext="사유번호"/>
  172. <Column id="resnseqno" type="STRING" size="256" sumtext="사유순번"/>
  173. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일자"/>
  174. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
  175. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  176. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  177. <Column id="payflagcd" type="STRING" size="256" sumtext="보험유형"/>
  178. <Column id="orddrid" type="STRING" size="256" sumtext="처방의사명"/>
  179. <Column id="totamt" type="STRING" size="256" sumtext="처방의사명"/>
  180. <Column id="hosinhosoutflag" type="STRING" size="256" sumtext="처방의사명"/>
  181. </ColumnInfo>
  182. </Dataset>
  183. <Dataset id="ds_init_P0028list_P0028" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  184. <Dataset id="ds_init_M0530list_M0530" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  185. <Dataset id="ds_init_M0029list_M0029" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  186. <Dataset id="ds_cmb_hosinhosoutflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  187. <ColumnInfo>
  188. <Column id="label" type="STRING" size="256"/>
  189. <Column id="value" type="STRING" size="256"/>
  190. </ColumnInfo>
  191. <Rows>
  192. <Row>
  193. <Col id="label">원내</Col>
  194. <Col id="value">I</Col>
  195. </Row>
  196. <Row>
  197. <Col id="label">원외</Col>
  198. <Col id="value">O</Col>
  199. </Row>
  200. </Rows>
  201. </Dataset>
  202. </Objects>
  203. <Bind>
  204. <BindItem id="item0" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  205. <BindItem id="item1" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  206. <BindItem id="item2" compid="grp_sea.radio1" propid="value" datasetid="ds_send" columnid="ioflag"/>
  207. </Bind>
  208. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  209. * System Name :
  210. * Job Name :
  211. * Creator :
  212. * Make Date : 2016-05-24
  213. * Description :
  214. *---------------------------------------------------------------------------------------
  215. * Modify Date Modifier Modify Description
  216. *---------------------------------------------------------------------------------------
  217. * 2016-05-24 Live Converter TF->XP
  218. *
  219. *---------------------------------------------------------------------------------------
  220. ****************************************************************************************/
  221. include "com_commonxp::comm_main.xjs";
  222. function SPPIF80100_oninit(obj:Form, e:InitEventInfo)
  223. {
  224. frmf_initForm(obj);
  225. }
  226. function SPPIF80100_onload(obj:Form, e:LoadEventInfo)
  227. {
  228. grdf_initGrid(datagrid1);
  229. CommCode_Load();
  230. // 그리드 초기화(행을 모두 삭제한다.)
  231. ds_main_list_resnlist.clearData();
  232. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
  233. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  234. }
  235. function CommCode_Load()
  236. {
  237. // 관련 Control 초기화
  238. var arrParam = [{dsNm: "ds_init_P0028list_P0028", cdGrpId: "P0028"}
  239. ,{dsNm: "ds_init_P0155list_P0155", cdGrpId: "P0155"}
  240. ,{dsNm: "ds_init_M0530list_M0530", cdGrpId: "M0530"}
  241. ,{dsNm: "ds_init_M0029list_M0029", cdGrpId: "M0029"}]
  242. appf_getCodeList(arrParam);
  243. }
  244. function grp_sea_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  245. {
  246. ds_send.setColumn(0, "todd", obj.value);
  247. }
  248. function grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  249. {
  250. var oParam = {};
  251. oParam.id = "TRPIF80101";
  252. oParam.service = "clamuncoapp.ClamUnco";
  253. oParam.method = "reqGetResnList";
  254. oParam.inds = "req=ds_send";
  255. oParam.outds = "ds_main_list_resnlist=resnlist";
  256. oParam.async = false;
  257. //oParam.callback = "cf_TRPIF80101";
  258. tranf_submit(oParam);
  259. }
  260. function button12_onclick(obj:Button, e:ClickEventInfo)
  261. {
  262. grdf_exportExcel(datagrid1, "청구현황_손보사별청구현황", "SheetName", "true", "", "");
  263. }
  264. function button45_onclick(obj:Button, e:ClickEventInfo)
  265. {
  266. this.close();
  267. }
  268. ]]></Script>
  269. </Form>
  270. </FDL>