SPMMI01100_결핵상병조회.xfdl 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMI01100_결핵상병조회" classname="SPMMI01100_진료업무시간" inheritanceid="" position="absolute 0 0 640 268" titletext="결핵상병코드조회" oninit="SPMMI01100_oninit" onload="SPMMI01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="결핵상병코드조회" class="tit_1" position="absolute 0 0 133 25"/>
  8. <Grid id="Grid_diag" taborder="2" useinputpanel="false" position="absolute 0 169 640 243" autofittype="col" binddataset="ds_result_diag" oncellclick="Grid_diag_oncellclick">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="25"/>
  13. <Column size="100"/>
  14. <Column size="250"/>
  15. <Column size="250"/>
  16. </Columns>
  17. <Rows>
  18. <Row size="24" band="head"/>
  19. <Row size="24"/>
  20. </Rows>
  21. <Band id="head">
  22. <Cell/>
  23. <Cell col="1" text="진단코드"/>
  24. <Cell col="2" text="영문명"/>
  25. <Cell col="3" text="한글명"/>
  26. </Band>
  27. <Band id="body">
  28. <Cell displaytype="checkbox" edittype="checkbox" text="bind:status"/>
  29. <Cell col="1" text="bind:diagcd"/>
  30. <Cell col="2" style="align:left middle;padding:0 0 0 5;" text="bind:diagengnm"/>
  31. <Cell col="3" style="align:left middle;padding:0 0 0 5;" text="bind:diaghngnm"/>
  32. </Band>
  33. </Format>
  34. </Formats>
  35. </Grid>
  36. <Static id="caption21" text="매칭코드" class="tit_2" position="absolute 0 148 105 170"/>
  37. <Shape id="line3" class="line_10" position="absolute 0 164 640 170" anchor="left top right"/>
  38. <Button id="btn_savediag" taborder="3" text="확인" onclick="btn_savediag_onclick" class="btn4" position="absolute 503 246 559 266"/>
  39. <Button id="btn_diagcncl" taborder="4" text="적용안함" onclick="btn_diagcncl_onclick" class="btn4" position="absolute 561 246 640 266"/>
  40. <Static id="Static00" text="※ 결핵 환자는 A코드 입력 시 산정특례 적용됩니다. 반드시 매칭코드 목록에서 A코드 선택바랍니다." position="absolute 0 27 639 67" style="border:1 solid #808080ff ;color:#ff0000ff;padding:0 0 0 0;align:center middle;font:Dotum,9,bold;"/>
  41. <Static id="caption00" text="조회코드" class="tit_2" position="absolute 0 68 105 90"/>
  42. <Shape id="line00" class="line_10" position="absolute 0 84 640 90" anchor="left top right"/>
  43. <Grid id="Grid_diag00" taborder="5" binddataset="ds_gijun_diag" useinputpanel="false" autofittype="col" position="absolute 0 89 640 139">
  44. <Formats>
  45. <Format id="default">
  46. <Columns>
  47. <Column size="100"/>
  48. <Column size="250"/>
  49. <Column size="250"/>
  50. </Columns>
  51. <Rows>
  52. <Row size="24" band="head"/>
  53. <Row size="24"/>
  54. </Rows>
  55. <Band id="head">
  56. <Cell text="진단코드"/>
  57. <Cell col="1" text="영문명"/>
  58. <Cell col="2" text="한글명"/>
  59. </Band>
  60. <Band id="body">
  61. <Cell text="bind:diagcd"/>
  62. <Cell col="1" style="align:left middle;padding:0 0 0 5;" text="bind:diagengnm"/>
  63. <Cell col="2" style="align:left middle;padding:0 0 0 5;" text="bind:diaghngnm"/>
  64. </Band>
  65. </Format>
  66. </Formats>
  67. </Grid>
  68. </Layout>
  69. </Layouts>
  70. <Objects>
  71. <Dataset id="ds_result_diag" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  72. <ColumnInfo>
  73. <Column id="status" type="STRING" size="256"/>
  74. <Column id="dispdiagcd" type="STRING" size="256"/>
  75. <Column id="diagengnm" type="STRING" size="256"/>
  76. <Column id="diaghngnm" type="STRING" size="256"/>
  77. <Column id="orgdiagnm" type="STRING" size="256"/>
  78. <Column id="spclinfo" type="STRING" size="256"/>
  79. <Column id="orgdiagcd" type="STRING" size="256"/>
  80. <Column id="tootfact" type="STRING" size="256"/>
  81. <Column id="icd10cd" type="STRING" size="256"/>
  82. <Column id="diagcd" type="STRING" size="256"/>
  83. <Column id="lightcase" type="STRING" size="256" sumtext="경증"/>
  84. </ColumnInfo>
  85. </Dataset>
  86. <Dataset id="ds_send_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  87. <ColumnInfo>
  88. <Column id="srchdate" type="STRING" size="256"/>
  89. <Column id="arrdiagcd" type="STRING" size="256"/>
  90. </ColumnInfo>
  91. <Rows>
  92. <Row/>
  93. </Rows>
  94. </Dataset>
  95. <Dataset id="ds_gijun_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  96. <ColumnInfo>
  97. <Column id="diagcd" type="STRING" size="256"/>
  98. <Column id="diagengnm" type="STRING" size="256"/>
  99. <Column id="diaghngnm" type="STRING" size="256"/>
  100. </ColumnInfo>
  101. <Rows>
  102. <Row/>
  103. </Rows>
  104. </Dataset>
  105. </Objects>
  106. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  107. function SPMMI01100_oninit(obj:Form, e:InitEventInfo)
  108. {
  109. frmf_initForm(obj);
  110. }
  111. function SPMMI01100_onload(obj:Form, e:LoadEventInfo)
  112. {
  113. ds_gijun_diag.setColumn(0, "diagcd", arg_gijun_diagcd);
  114. ds_gijun_diag.setColumn(0, "diagengnm", arg_gijun_diagengnm);
  115. ds_gijun_diag.setColumn(0, "diaghngnm", arg_gijun_diaghngnm);
  116. ds_send_diag.setColumn(0 , "srchdate" , utlf_getCurrentDate());
  117. ds_send_diag.setColumn(0 , "arrdiagcd", arg_add_diagcd);
  118. //ds_send_diag.setColumn(0 , "arrdiagcd", "A,B,");
  119. var oParam = {};
  120. oParam.id = "TPMMI01101";
  121. oParam.service = "prcpinfoapp.PrcpInfoEtcMngt";
  122. oParam.method = "reqGetDiagListInfo";
  123. oParam.inds = "req=ds_send_diag";
  124. oParam.outds = "ds_result_diag=result";
  125. oParam.async = false;
  126. tranf_submit(oParam);
  127. for(var iIndex = 0 ; iIndex < ds_result_diag.rowcount ; iIndex++){
  128. ds_result_diag.setColumn(iIndex, "status", "0");
  129. }
  130. }
  131. function btn_savediag_onclick(obj:Button, e:ClickEventInfo)
  132. {
  133. var rtn1 = dsf_getDsCSV(ds_result_diag, null, "N", "status:1", "Y");
  134. if ( rtn1 == "N" ) {
  135. sysf_messageBox ( "선택된 상병이", "I004" );
  136. } else {
  137. opener.frmf_setParameter( "SPMMI01100_rtn", rtn1 );
  138. opener.frmf_setParameter( "SPMMI01100_rtn_useyn", "Y");
  139. this.close();
  140. }
  141. }
  142. function btn_diagcncl_onclick(obj:Button, e:ClickEventInfo)
  143. {
  144. this.close();
  145. }
  146. function Grid_diag_oncellclick(obj:Grid, e:GridClickEventInfo)
  147. {
  148. for(var iIndex = 0 ; iIndex < ds_result_diag.rowcount ; iIndex++){
  149. ds_result_diag.setColumn(iIndex, "status", "0");
  150. }
  151. ds_result_diag.setColumn(Grid_diag.currentrow, "status", "1");
  152. }
  153. ]]></Script>
  154. </Form>
  155. </FDL>