SPMMO21600_수술료제외사유.xfdl 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.4">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO21600" position="absolute 0 0 803 261" titletext="수술료 예외 사유 입력" onload="SPMMO21600_onload" oninit="SPMMO21600_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Grid id="grd_opfeelist" taborder="3" binddataset="ds_main_opfeelist" useinputpanel="false" position="absolute 0 40 803 232" autofittype="col">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="33"/>
  12. <Column size="67"/>
  13. <Column size="86"/>
  14. <Column size="80"/>
  15. <Column size="80"/>
  16. <Column size="129"/>
  17. <Column size="77"/>
  18. <Column size="283"/>
  19. <Column size="80"/>
  20. </Columns>
  21. <Rows>
  22. <Row size="24" band="head"/>
  23. <Row size="24"/>
  24. </Rows>
  25. <Band id="head">
  26. <Cell/>
  27. <Cell col="1" text="수술구분"/>
  28. <Cell col="2" text="수술일"/>
  29. <Cell col="3" text="집도과"/>
  30. <Cell col="4" text="집도의"/>
  31. <Cell col="5" text="수술명"/>
  32. <Cell col="6" text="수술료 여부"/>
  33. <Cell col="7" text="수술료 처방 제외 사유"/>
  34. <Cell col="8" text="등록자"/>
  35. </Band>
  36. <Band id="body">
  37. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkflag" expr="expr:(chkflag == &quot;Y&quot; || chkflag == 1) ? 1 : 0"/>
  38. <Cell col="1" text="bind:oppatflagcd"/>
  39. <Cell col="2" displaytype="date" edittype="none" text="bind:opcnfmdd"/>
  40. <Cell col="3" text="bind:perfdeptnm"/>
  41. <Cell col="4" text="bind:perfdrnm"/>
  42. <Cell col="5" text="bind:opnm"/>
  43. <Cell col="6" text="bind:opfeeyn"/>
  44. <Cell col="7" displaytype="text" edittype="text" text="bind:opetcresn"/>
  45. <Cell col="8" text="bind:rgstrnm"/>
  46. </Band>
  47. </Format>
  48. </Formats>
  49. </Grid>
  50. <Static id="caption2" text="수술료 제외사유" class="tit_2" position="absolute 0 0 126 20"/>
  51. <Button id="button4" taborder="4" text="삭제" class="btn4" position="absolute 748 240 803 260" onclick="button4_onclick"/>
  52. <Button id="button3" taborder="5" text="저장" class="btn4" position="absolute 688 240 743 260" onclick="button3_onclick"/>
  53. <Button id="button5" taborder="6" text="닫기" class="btn4" position="absolute 568 240 623 260" onclick="button5_onclick"/>
  54. <Static id="caption1" text="시술을 시행한 경우 또는 수술료 처방이 이미 입력된 경우에는 '수술료 처방 제외 사유'에 내용을 입력하고 저장 하세요." position="absolute 3 19 768 39" onclick="caption1_onclick" class="hand"/>
  55. </Layout>
  56. </Layouts>
  57. <Objects>
  58. <Dataset id="ds_main_opfeelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_opfeelist_oncolumnchanged">
  59. <ColumnInfo>
  60. <Column id="chkflag" type="STRING"/>
  61. <Column id="oppatflagcd" type="STRING"/>
  62. <Column id="opcnfmdd" type="STRING"/>
  63. <Column id="perfdeptnm" type="STRING"/>
  64. <Column id="perfdrnm" type="STRING"/>
  65. <Column id="opnm" type="STRING"/>
  66. <Column id="opfeeyn" type="STRING"/>
  67. <Column id="opetcresn" type="STRING"/>
  68. <Column id="rgstrnm" type="STRING"/>
  69. <Column id="pid" type="STRING"/>
  70. <Column id="genrdd" type="STRING"/>
  71. <Column id="genrno" type="STRING"/>
  72. <Column id="oprsrvno" type="STRING"/>
  73. <Column id="ophistno" type="STRING"/>
  74. <Column id="instcd" type="STRING"/>
  75. </ColumnInfo>
  76. </Dataset>
  77. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  78. <ColumnInfo>
  79. <Column id="pid" type="STRING" size="256"/>
  80. <Column id="oprsrvno" type="STRING" size="256"/>
  81. <Column id="indd" type="STRING" size="256"/>
  82. <Column id="dschdd" type="STRING" size="256"/>
  83. <Column id="opfeeinfo" type="STRING" size="256"/>
  84. </ColumnInfo>
  85. <Rows>
  86. <Row/>
  87. </Rows>
  88. </Dataset>
  89. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  90. </Objects>
  91. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  92. * System Name :
  93. * Job Name :
  94. * Creator :
  95. * Make Date : 2014-12-10
  96. * Description :
  97. *---------------------------------------------------------------------------------------
  98. * Modify Date Modifier Modify Description
  99. *---------------------------------------------------------------------------------------
  100. * 2014-12-10 Live Converter TF->XP
  101. *
  102. *---------------------------------------------------------------------------------------
  103. ****************************************************************************************/
  104. include "com_commonxp::comm_main.xjs";
  105. function SPMMO21600_oninit(obj:Form, e:InitEventInfo)
  106. {
  107. frmf_initForm(obj); // 초기화
  108. }
  109. function SPMMO21600_onload(obj:Form, e:LoadEventInfo)
  110. {
  111. var sPara = opener.frmf_getParameter("SPMMO21600_param");
  112. var sParaValue = sPara.split("|");
  113. ds_main_cond.setColumn(0, "pid", sParaValue[0]);
  114. ds_main_cond.setColumn(0, "indd", sParaValue[1]);
  115. ds_main_cond.setColumn(0, "dschdd", sParaValue[2]);
  116. //ds_main_cond.setColumn(0, "indd", "20090722"); // test
  117. var oParam = {};
  118. oParam.id = "TRMMO21601";
  119. oParam.service = "prcpmngtapp.EtcPrcpMngt";
  120. oParam.method = "reqGetOpFeeExptResnInfo";
  121. oParam.inds = "req=ds_main_cond";
  122. oParam.outds = "ds_main_opfeelist=opfeelist";
  123. oParam.async = false;
  124. tranf_submit(oParam);
  125. ds_main_opfeelist.addColumn("chkflag", "string");
  126. }
  127. function button3_onclick(obj:Button, e:ClickEventInfo)
  128. {
  129. var sPara = opener.frmf_getParameter("SPMMO21600_param");
  130. var sParaValue = sPara.split("|");
  131. var oDsUpdate = grdf_getGridUpdateData(grd_opfeelist);
  132. grdf_setStatusColumn(oDsUpdate, "status");
  133. ds_send.copyData(oDsUpdate, true);
  134. if ( ds_send.rowcount > 0 ) {
  135. var oParam = {};
  136. oParam.id = "TRMMO21601";
  137. oParam.service = "prcpmngtapp.EtcPrcpMngt";
  138. oParam.method = "reqExeOpFeeExptResnInfo";
  139. oParam.inds = "req=ds_send";
  140. oParam.outds = "ds_main_opfeelist=opfeelist";
  141. oParam.async = false;
  142. tranf_submit(oParam);
  143. appf_setPatientInfoDetailByKey("opfeechkyn", sParaValue[0]+ "|Y");
  144. }
  145. close();
  146. }
  147. // 사유에 삭제기능인지 데이터 삭제 기능인지...
  148. function button4_onclick(obj:Button, e:ClickEventInfo)
  149. {
  150. //var oDsUpdate = grdf_getGridUpdateData(grd_opfeelist, "delete");
  151. var oDsUpdate = grdf_getGridUpdateData(grd_opfeelist); // 저장기능으로 쓸 경우(TF도 삭제버튼이지만 저장기능밖에 되지 않음)
  152. grdf_setStatusColumn(oDsUpdate, "status");
  153. ds_send.copyData(oDsUpdate, true);
  154. var oParam = {};
  155. oParam.id = "TRMMO21601";
  156. oParam.service = "prcpmngtapp.EtcPrcpMngt";
  157. oParam.method = "reqExeOpFeeExptResnInfo";
  158. oParam.inds = "req=ds_send";
  159. oParam.outds = "ds_main_opfeelist=opfeelist";
  160. oParam.async = false;
  161. tranf_submit(oParam);
  162. }
  163. function button5_onclick(obj:Button, e:ClickEventInfo)
  164. {
  165. close();
  166. }
  167. function ds_main_opfeelist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  168. {
  169. if(e.columnid == "chkflag")
  170. obj.setColumn(e.row, e.columnid, (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  171. }
  172. ]]></Script>
  173. </Form>
  174. </FDL>