SPAHA02160_처방변경내역조회.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPAHA02160" position="absolute 0 0 750 460" titletext="처방변경내역조회" oninit="SPAHA02160_oninit" onload="SPAHA02160_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 745 425" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Grid position="absolute 5 30 735 420" id="grd_roscllist" class="datagrid2" scrollbars="autoboth" binddataset="ds_main_oscllist_oscl">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="43"/>
  15. <Column size="69"/>
  16. <Column size="100"/>
  17. <Column size="100"/>
  18. <Column size="130"/>
  19. <Column size="77"/>
  20. <Column size="70"/>
  21. <Column size="70"/>
  22. <Column size="70"/>
  23. <Column size="70"/>
  24. <Column size="70"/>
  25. <Column size="70"/>
  26. </Columns>
  27. <Rows>
  28. <Row size="24" band="head"/>
  29. <Row size="24"/>
  30. </Rows>
  31. <Band id="head">
  32. <Cell text="구분"/>
  33. <Cell col="1" text="처방일자"/>
  34. <Cell col="2" text="그룹수가코드"/>
  35. <Cell col="3" text="싱글처방코드"/>
  36. <Cell col="4" text="처방명칭"/>
  37. <Cell col="5" text="총금액"/>
  38. <Cell col="6" text="공단금액"/>
  39. <Cell col="7" text="보건소금액"/>
  40. <Cell col="8" text="단체금액"/>
  41. <Cell col="9" text="할인금액"/>
  42. <Cell col="10" text="감면금액"/>
  43. <Cell col="11" text="본인부담금"/>
  44. </Band>
  45. <Band id="body">
  46. <Cell text="bind:hidden"/>
  47. <Cell col="1" displaytype="date" class="text_center" text="bind:orddd" calendardisplaynulltype="none"/>
  48. <Cell col="2" style="align:left;" text="bind:grupcalcscorcd"/>
  49. <Cell col="3" style="align:left;" text="bind:snglcalcscorcd"/>
  50. <Cell col="4" style="align:left;" text="bind:snglcalcscorcdnm"/>
  51. <Cell col="5" displaytype="number" text="bind:totamt" mask="#,##9"/>
  52. <Cell col="6" displaytype="number" text="bind:payinsubamt" mask="#,##9"/>
  53. <Cell col="7" displaytype="number" text="bind:payhealcntramt" mask="#,##9"/>
  54. <Cell col="8" displaytype="number" text="bind:cmpyamt" mask="#,##9"/>
  55. <Cell col="9" displaytype="number" text="bind:discamt" mask="#,##9"/>
  56. <Cell col="10" displaytype="number" text="bind:reduamt" mask="#,##9"/>
  57. <Cell col="11" displaytype="number" text="bind:ownbamt" mask="#,##9"/>
  58. </Band>
  59. </Format>
  60. </Formats>
  61. </Grid>
  62. <Shape position="absolute 5 25 735 31" linetype="horizontal" id="line_oscllist" class="line_10"/>
  63. <Static text="처방변경내역" position="absolute 5 9 149 25" id="caption89" class="tit_2"/>
  64. </Layout>
  65. </Layouts>
  66. </Div>
  67. <Div position="absolute 0 430 745 457" id="group2">
  68. <Layouts>
  69. <Layout>
  70. <Button position="absolute 675 0 731 22" id="btn_rcpt" class="btn4" taborder="29" text="닫기" onclick="group2_btn_rcpt_onclick"/>
  71. </Layout>
  72. </Layouts>
  73. </Div>
  74. </Layout>
  75. </Layouts>
  76. <Objects>
  77. <Dataset id="ds_send_data_otpt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  78. <ColumnInfo>
  79. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  80. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  81. <Column id="rsrvdd" type="STRING" size="256" sumtext="진료일자"/>
  82. <Column id="rsrvno" type="STRING" size="256" sumtext="생성번호"/>
  83. <Column id="srchhealexamflag" type="STRING" size="256"/>
  84. <Column id="srchpid" type="STRING" size="256"/>
  85. <Column id="srchrsrvdd" type="STRING" size="256"/>
  86. <Column id="srchrsrvno" type="STRING" size="256"/>
  87. </ColumnInfo>
  88. </Dataset>
  89. <Dataset id="ds_main_oscllist_oscl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  90. <ColumnInfo>
  91. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  92. <Column id="hidden" type="STRING" size="256" sumtext="추가/삭제여부"/>
  93. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  94. <Column id="rsrvno" type="STRING" size="256" sumtext="예약번호"/>
  95. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  96. <Column id="calcseqno" type="STRING" size="256" sumtext="계산일련번호"/>
  97. <Column id="calcscorseqno" type="STRING" size="256" sumtext="계산내역별일련번호"/>
  98. <Column id="calcstat" type="STRING" size="256" sumtext="계산상태"/>
  99. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세분류"/>
  100. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  101. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  102. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  103. <Column id="acptseqno" type="STRING" size="256" sumtext="외래등록생성번호별일련번호"/>
  104. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  105. <Column id="orddrid" type="STRING" size="256" sumtext="진료의사"/>
  106. <Column id="grupcalcscorcd" type="STRING" size="256" sumtext="그룹수가코드"/>
  107. <Column id="snglcalcscorcd" type="STRING" size="256" sumtext="싱글수가코드"/>
  108. <Column id="grupcalcscorcls" type="STRING" size="256" sumtext="처방수가분류"/>
  109. <Column id="snglcalcscorcls" type="STRING" size="256" sumtext="계산수가분류"/>
  110. <Column id="grupearncls" type="STRING" size="256" sumtext="그룹수익구분코드"/>
  111. <Column id="snglearncls" type="STRING" size="256" sumtext="싱글수익구분코드"/>
  112. <Column id="ordqty" type="STRING" size="256" sumtext="처방지시투여량"/>
  113. <Column id="ordtims" type="STRING" size="256" sumtext="처방지시투여횟수"/>
  114. <Column id="orddays" type="STRING" size="256" sumtext="처방지시투여일수"/>
  115. <Column id="calcqty" type="STRING" size="256" sumtext="계산투여량"/>
  116. <Column id="calctims" type="STRING" size="256" sumtext="계산투여횟수"/>
  117. <Column id="calcdays" type="STRING" size="256" sumtext="계산투여일수"/>
  118. <Column id="matractflag" type="STRING" size="256" sumtext="재료행위구분"/>
  119. <Column id="calcpayflag" type="STRING" size="256" sumtext="계산급여구분"/>
  120. <Column id="pntunitcost" type="STRING" size="256" sumtext="점당단가"/>
  121. <Column id="calcscorpnt" type="STRING" size="256" sumtext="수가점수"/>
  122. <Column id="appunitcost" type="STRING" size="256" sumtext="점당단가"/>
  123. <Column id="calcamt" type="STRING" size="256" sumtext="계산금액"/>
  124. <Column id="hospaddamt" type="STRING" size="256" sumtext="계산액 * 병원가산율"/>
  125. <Column id="specamt" type="STRING" size="256" sumtext="지정액"/>
  126. <Column id="totamt" type="STRING" size="256" sumtext="총금액"/>
  127. <Column id="payinsubamt" type="STRING" size="256" sumtext="공단금액"/>
  128. <Column id="payhealcntramt" type="STRING" size="256" sumtext="보건소금액"/>
  129. <Column id="cmpyamt" type="STRING" size="256" sumtext="단체금액"/>
  130. <Column id="discamt" type="STRING" size="256" sumtext="할인금액"/>
  131. <Column id="reduamt" type="STRING" size="256" sumtext="감면금액"/>
  132. <Column id="ownbamt" type="STRING" size="256" sumtext="본인부담금액"/>
  133. <Column id="earnenddd" type="STRING" size="256" sumtext="수익마감일자"/>
  134. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  135. <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
  136. <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력번호"/>
  137. <Column id="execprcpno" type="STRING" size="256" sumtext="처방이력번호"/>
  138. <Column id="rcptdd" type="STRING" size="256" sumtext="실시처방 일련번호"/>
  139. <Column id="rcptno" type="STRING" size="256" sumtext="영수증번호"/>
  140. <Column id="rcptseqno" type="STRING" size="256" sumtext="영수증일련번호"/>
  141. <Column id="rcptexecdd" type="STRING" size="256" sumtext="실수납일자"/>
  142. <Column id="rcpttm" type="STRING" size="256" sumtext="실수납시간"/>
  143. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
  144. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  145. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  146. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  147. <Column id="snglcalcscorcdnm" type="STRING" size="256" sumtext="수가한글명"/>
  148. </ColumnInfo>
  149. </Dataset>
  150. </Objects>
  151. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  152. * System Name : 경대 의료정보시스템
  153. * Job Name : ast_healexamrcptxp -> SPAHA02160
  154. * Creator : yjh
  155. * Make Date : 2018-02-26
  156. * Description :
  157. *---------------------------------------------------------------------------------------
  158. * Modify Date Modifier Modify Description
  159. *---------------------------------------------------------------------------------------
  160. * 2018-02-26 yjh TF->XP
  161. *
  162. *---------------------------------------------------------------------------------------
  163. ****************************************************************************************/
  164. //=======================================================================================
  165. // Lib Include
  166. //---------------------------------------------------------------------------------------
  167. include "com_commonxp::comm_main.xjs";
  168. //=======================================================================================
  169. // Global Form Variable
  170. //---------------------------------------------------------------------------------------
  171. //=======================================================================================
  172. // Function
  173. //---------------------------------------------------------------------------------------
  174. //=======================================================================================
  175. // Event
  176. //---------------------------------------------------------------------------------------
  177. /****************************************************************************************
  178. * Components : Form
  179. * Components ID : SPAHA02160
  180. * Event : oninit
  181. * Argument : 01.obj : Object Event has occurred
  182. * : 02.e : Event Object
  183. * Description : 화면 처음 초기화시
  184. ****************************************************************************************/
  185. function SPAHA02160_oninit(obj:Form, e:InitEventInfo)
  186. {
  187. frmf_initForm(obj); //폼 초기화
  188. }
  189. /****************************************************************************************
  190. * Components : Form
  191. * Components ID : SPAHA02160
  192. * Event : onload
  193. * Argument : 01.obj : Object Event has occurred
  194. * : 02.e : Event Object
  195. * Description : 화면 로딩 완료시
  196. ****************************************************************************************/
  197. function SPAHA02160_onload(obj:Form, e:LoadEventInfo)
  198. {
  199. if(frmf_checkOpener()){
  200. try{
  201. ds_send_data_otpt.copyData(arg_ds_hidden_data_otpt);
  202. }catch(e){
  203. }
  204. ds_send_data_otpt.setColumn(0, "healexamflag", ds_send_data_otpt.getColumn(0, "srchhealexamflag"));
  205. ds_send_data_otpt.setColumn(0, "pid", ds_send_data_otpt.getColumn(0, "srchpid"));
  206. ds_send_data_otpt.setColumn(0, "rsrvdd", ds_send_data_otpt.getColumn(0, "srchrsrvdd"));
  207. ds_send_data_otpt.setColumn(0, "rsrvno", ds_send_data_otpt.getColumn(0, "srchrsrvno"));
  208. var oParam = {};
  209. oParam.id = "TRAHA02160";
  210. oParam.service = "healexamrcptapp.HealExamRcpt";
  211. oParam.method = "reqGetOsclRY";
  212. oParam.inds = "req=ds_send_data_otpt";
  213. oParam.outds = "ds_main_oscllist_oscl=oscl";
  214. oParam.async = false;
  215. //oParam.callback = "cf_TRAHA02160";
  216. tranf_submit(oParam);
  217. ds_main_oscllist_oscl.addColumn("healexamflag", "string");
  218. for( var i=0 ; i<ds_main_oscllist_oscl.rowcount ; i++ ){
  219. ds_main_oscllist_oscl.setColumn(i, "healexamflag", ds_main_oscllist_oscl.getColumn(i, "instcd"));
  220. }
  221. }
  222. //환자번호 포커스
  223. //model.setFocus("ipt_pid");
  224. }
  225. /****************************************************************************************
  226. * Components : Button
  227. * Components ID : btn_rcpt
  228. * Event : onclick
  229. * Argument : 01.obj : Object Event has occurred
  230. * : 02.e : Event Object
  231. * Description : 닫기버튼 클릭시
  232. ****************************************************************************************/
  233. function group2_btn_rcpt_onclick(obj:Button, e:ClickEventInfo)
  234. {
  235. this.close();
  236. }
  237. ]]></Script>
  238. </Form>
  239. </FDL>