SPPIJ03100_시간외MRI일반처방조회.xfdl 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIJ03100" position="absolute 0 0 951 740" titletext="심사종료시간이후 MRI,PET/CT 일반처방된 자료 조회" oninit="SPPIJ03100_oninit" onload="SPPIJ03100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="심사종료시간이후 MRI,PET/CT 일반처방된 자료 조회" class="tit_1" position="absolute 0 0 386 25"/>
  8. <Div id="group2" taborder="1" class="div_SA" position="absolute 0 25 950 65" anchor="left top right">
  9. <Layouts>
  10. <Layout>
  11. <Calendar id="ipt_hopedd" taborder="13" class="input_search" position="absolute 100 11 198 30" dateformat="yyyy-MM-dd" value="null" anchor="default"/>
  12. <Static id="caption1" text="~" position="absolute 204 12 229 31" anchor="default"/>
  13. <Static id="caption45" text="조회기간 :" class="search_name" position="absolute 8 13 108 30" anchor="default"/>
  14. <Calendar id="input5" taborder="14" class="input_search" position="absolute 221 11 319 30" dateformat="yyyy-MM-dd" value="null" anchor="default"/>
  15. <Button id="btn_srch" taborder="15" text="조회" onclick="group2_btn_srch_onclick" class="btn1" position="absolute 882 9 938 31" anchor="top right"/>
  16. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 867 7 873 33" anchor="top right"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. <Static id="caption2" text="심사종료시간이후 MRI,PET/CT 일반처방된 자료 내역" class="tit_2" position="absolute 0 73 370 95"/>
  21. <Grid id="datagrid1" taborder="2" binddataset="ds_datagrid1" useinputpanel="false" autofittype="col" position="absolute 0 94 950 739" anchor="all" cellsizingtype="col">
  22. <Formats>
  23. <Format id="default">
  24. <Columns>
  25. <Column size="76"/>
  26. <Column size="63"/>
  27. <Column size="106"/>
  28. <Column size="81"/>
  29. <Column size="82"/>
  30. <Column size="80"/>
  31. <Column size="80"/>
  32. <Column size="69"/>
  33. <Column size="80"/>
  34. <Column size="60"/>
  35. <Column size="60"/>
  36. <Column size="70"/>
  37. <Column size="60"/>
  38. </Columns>
  39. <Rows>
  40. <Row size="24" band="head"/>
  41. <Row size="24"/>
  42. </Rows>
  43. <Band id="head">
  44. <Cell text="환자번호"/>
  45. <Cell col="1" text="환자명"/>
  46. <Cell col="2" text="처방부서명"/>
  47. <Cell col="3" text="처방일자"/>
  48. <Cell col="4" text="처방시간"/>
  49. <Cell col="5" text="주상병"/>
  50. <Cell col="6" text="부상병"/>
  51. <Cell col="7" text="처방종류"/>
  52. <Cell col="8" text="처방코드"/>
  53. <Cell col="9" text="처방의"/>
  54. <Cell col="10" text="급비구분"/>
  55. <Cell col="11" text="보험유형"/>
  56. <Cell col="12" text="심사자"/>
  57. </Band>
  58. <Band id="body">
  59. <Cell text="bind:pid"/>
  60. <Cell col="1" style="align:left middle;" text="bind:hngnm"/>
  61. <Cell col="2" style="align:left middle;" text="bind:orddeptnm"/>
  62. <Cell col="3" displaytype="date" edittype="date" text="bind:updtdd" mask="yyyy-MM-dd"/>
  63. <Cell col="4" displaytype="date" edittype="date" text="bind:updttm" mask="HH:mm:ss"/>
  64. <Cell col="5" style="align:left middle;" text="bind:diagcdm"/>
  65. <Cell col="6" style="align:left middle;" text="bind:diagcds"/>
  66. <Cell col="7" style="align:left middle;" text="bind:clinclrg"/>
  67. <Cell col="8" displaytype="text" text="bind:calcscorcd"/>
  68. <Cell col="9" displaytype="text" text="bind:orddrid"/>
  69. <Cell col="10" displaytype="combo" text="bind:payflagcd" combodataset="ds_M0029" combocodecol="cdid" combodatacol="cdnm"/>
  70. <Cell col="11" displaytype="combo" text="bind:insukind" combodataset="ds_P0008" combocodecol="cdid" combodatacol="cdnm"/>
  71. <Cell col="12" displaytype="text" text="bind:judgid"/>
  72. </Band>
  73. </Format>
  74. </Formats>
  75. </Grid>
  76. <Shape id="line03" class="line_1" position="absolute 0 90 950 95" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  77. <Button id="btn_excel" taborder="3" text="엑셀저장" class="btn7" position="absolute 875 67 950 89" anchor="top right" onclick="btn_excel_onclick"/>
  78. </Layout>
  79. </Layouts>
  80. <Objects>
  81. <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  82. <ColumnInfo>
  83. <Column id="pid" type="STRING"/>
  84. <Column id="hngnm" type="STRING"/>
  85. <Column id="orddeptnm" type="STRING"/>
  86. <Column id="updtdd" type="STRING"/>
  87. <Column id="updttm" type="STRING"/>
  88. <Column id="diagcdm" type="STRING"/>
  89. <Column id="diagcds" type="STRING"/>
  90. <Column id="clinclrg" type="STRING"/>
  91. </ColumnInfo>
  92. </Dataset>
  93. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  94. <ColumnInfo>
  95. <Column id="fromdd" type="STRING" size="256"/>
  96. <Column id="todd" type="STRING" size="256"/>
  97. </ColumnInfo>
  98. <Rows>
  99. <Row/>
  100. </Rows>
  101. </Dataset>
  102. <Dataset id="ds_M0029" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  103. <Dataset id="ds_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  104. </Objects>
  105. <Bind>
  106. <BindItem id="item0" compid="group2.ipt_hopedd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  107. <BindItem id="item1" compid="group2.input5" propid="value" datasetid="ds_send" columnid="todd"/>
  108. </Bind>
  109. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  110. * System Name :
  111. * Job Name :
  112. * Creator :
  113. * Make Date : 2016-05-24
  114. * Description :
  115. *---------------------------------------------------------------------------------------
  116. * Modify Date Modifier Modify Description
  117. *---------------------------------------------------------------------------------------
  118. * 2016-05-24 Live Converter TF->XP
  119. *
  120. *---------------------------------------------------------------------------------------
  121. ****************************************************************************************/
  122. include "com_commonxp::comm_main.xjs";
  123. include "pam_pamcomnxp::PAM001.xjs";
  124. function SPPIJ03100_oninit(obj:Form, e:InitEventInfo)
  125. {
  126. frmf_initForm(obj)
  127. grdf_setGridSort(datagrid1);
  128. }
  129. function SPPIJ03100_onload(obj:Form, e:LoadEventInfo)
  130. {
  131. var dd = utlf_getCurrentDate();
  132. ds_send.setColumn(0, "fromdd", (dd.toDate().getAddDate(-1, "D")).getDateFormat());
  133. ds_send.setColumn(0, "todd", (dd));
  134. var arrParam = [{dsNm: "ds_M0029", cdGrpId: "M0029"}
  135. ,{dsNm: "ds_P0008", cdGrpId: "P0008"}
  136. ]
  137. appf_getCodeList(arrParam);
  138. }
  139. function fGetIsclList(){
  140. var fromdd = ds_send.getColumn(0, "fromdd");
  141. var todd = ds_send.getColumn(0, "todd");
  142. if(utlf_isNull(fromdd) || utlf_isNull(todd)){
  143. sysf_messageBox("조회기간을", "C001");
  144. return false;
  145. }
  146. dsf_createDsRow("ds_send", [{col:"fromdd", type:"STRING", size:256, val: fromdd}
  147. , {col:"todd", type:"STRING", size:256 ,val: todd}]);
  148. var oParam = {};
  149. oParam.id = "TRPIJ03101";
  150. oParam.service = "bfjudgapp.InHospJudg";
  151. oParam.method = "reqGetTimeOvrOprcList";
  152. oParam.inds = "req=ds_send";
  153. oParam.outds = "ds_datagrid1=rslt";
  154. oParam.async = false;
  155. //oParam.callback = "cf_TRPIJ03101";
  156. tranf_submit(oParam);
  157. }
  158. function group2_btn_srch_onclick(obj:Button, e:ClickEventInfo)
  159. {
  160. fGetIsclList();
  161. }
  162. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  163. {
  164. if(ds_datagrid1.rowcount > 0) grdf_exportExcel(datagrid1, "Excel", "Sheet1","","","user",true);
  165. }
  166. ]]></Script>
  167. </Form>
  168. </FDL>