SMLPP01510_CVR조회.xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPP01500" position="absolute 0 0 1196 771" titletext="긴급알림 환자조회" oninit="SMLPP01500_oninit" onload="SMLPP01500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption4" text="긴급알림 환자목록" class="tit_2" position="absolute 1 95 137 113"/>
  8. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 111 1194 117"/>
  9. <Div id="group2" taborder="1" position="absolute 0 54 1195 89" class="div_SA2">
  10. <Layouts>
  11. <Layout>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="default"/>
  13. <Static id="caption2" text="전송일자 :" class="search_name" position="absolute 15 9 101 26" anchor="default"/>
  14. <Static id="caption5" text="~" class="search_no_b" position="absolute 207 8 219 25" anchor="default"/>
  15. <Button id="btn_sea" taborder="4" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="default" onclick="group2_btn_sea_onclick"/>
  16. <Calendar id="ipt_cnclfromdd" taborder="5" class="input_s_essential" position="absolute 104 8 204 27" mask="yyyy-mm-dd" anchor="default"/>
  17. <Calendar id="ipt_cncltodd" taborder="6" class="input_s_essential" position="absolute 223 8 323 27" mask="yyyy-mm-dd" anchor="default" onkeyup="group2_ipt_cncltodd_onkeyup"/>
  18. <Static id="caption1" text="등록번호 :" class="search_name" position="absolute 901 9 987 26" anchor="default"/>
  19. <Edit id="ipt_pid" taborder="7" position="absolute 993 8 1093 27" anchor="default" onkeyup="group2_ipt_pid_onkeyup"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Grid id="grd_refinfolist" class="datagrid2" taborder="2" binddataset="ds_grd_refinfolist" useinputpanel="false" position="absolute 0 115 1194 768" oncelldblclick="grd_refinfolist_oncelldblclick" cellsizingtype="both" autofittype="col">
  24. <Formats>
  25. <Format id="default">
  26. <Columns>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="26"/>
  30. <Column size="100"/>
  31. <Column size="80"/>
  32. <Column size="80"/>
  33. <Column size="70"/>
  34. <Column size="0"/>
  35. <Column size="110"/>
  36. <Column size="545"/>
  37. <Column size="240"/>
  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="ptno"/>
  46. <Cell col="2"/>
  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. </Band>
  56. <Band id="body">
  57. <Cell text="bind:instcd"/>
  58. <Cell col="1" text="bind:ptno"/>
  59. <Cell col="2" celltype="head" text="expr:currow + 1"/>
  60. <Cell col="3" class="text_center" text="bind:dispptno"/>
  61. <Cell col="4" class="text_center" text="bind:pid"/>
  62. <Cell col="5" class="text_center" text="bind:patnm"/>
  63. <Cell col="6" class="text_center" text="bind:sexage"/>
  64. <Cell col="7" class="text_center" text="bind:extrpartcnts"/>
  65. <Cell col="8" text="bind:extrpartcnts"/>
  66. <Cell col="9" style="align:left middle;" class="text_left" text="bind:diagcnts"/>
  67. <Cell col="10" text="bind:memocnts"/>
  68. </Band>
  69. </Format>
  70. </Formats>
  71. </Grid>
  72. <Shape id="line10" linetype="horizontal" class="line_6" position="absolute 0 50 1194 56" style="strokepen:3 solid #9ebed4ff;"/>
  73. <Button id="button13" taborder="4" text="EXCEL저장" class="btn7" position="absolute 0 27 92 49" onclick="button13_onclick"/>
  74. <Static id="caption6" text="긴급알림 환자조회" class="tit_1" position="absolute 0 0 163 25"/>
  75. </Layout>
  76. </Layouts>
  77. <Objects>
  78. <Dataset id="ds_grd_refinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  79. <ColumnInfo>
  80. <Column id="instcd" type="STRING"/>
  81. <Column id="ptno" type="STRING"/>
  82. <Column id="dispptno" type="STRING"/>
  83. <Column id="pid" type="STRING"/>
  84. <Column id="patnm" type="STRING"/>
  85. <Column id="sexage" type="STRING"/>
  86. <Column id="extrpartcnts" type="STRING"/>
  87. <Column id="diagcnts" type="STRING"/>
  88. <Column id="memocnts" type="STRING"/>
  89. <Column id="prcpdd" type="STRING"/>
  90. <Column id="orddeptnm" type="STRING"/>
  91. <Column id="atdrnm" type="STRING"/>
  92. <Column id="receivenm" type="STRING"/>
  93. <Column id="cmtcnts" type="STRING"/>
  94. <Column id="transdt" type="STRING"/>
  95. <Column id="confdd" type="STRING"/>
  96. <Column id="readrnm" type="STRING"/>
  97. </ColumnInfo>
  98. </Dataset>
  99. <Dataset id="ds_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  100. <ColumnInfo>
  101. <Column id="sysdd" type="STRING" size="256" sumtext="시스템일자"/>
  102. <Column id="systm" type="STRING" size="256" sumtext="시스템시간"/>
  103. </ColumnInfo>
  104. </Dataset>
  105. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  106. <ColumnInfo>
  107. <Column id="acptfromdd" type="STRING" size="256"/>
  108. <Column id="acpttodd" type="STRING" size="256"/>
  109. <Column id="pid" type="STRING" size="256"/>
  110. </ColumnInfo>
  111. <Rows>
  112. <Row/>
  113. </Rows>
  114. </Dataset>
  115. </Objects>
  116. <Bind>
  117. <BindItem id="item0" compid="group2.ipt_cnclfromdd" propid="value" datasetid="ds_hidden" columnid="acptfromdd"/>
  118. <BindItem id="item1" compid="group2.ipt_cncltodd" propid="value" datasetid="ds_hidden" columnid="acpttodd"/>
  119. <BindItem id="item2" compid="group2.ipt_pid" propid="value" datasetid="ds_hidden" columnid="pid"/>
  120. </Bind>
  121. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  122. * System Name :
  123. * Job Name :
  124. * Creator :
  125. * Make Date : 2015-11-13
  126. * Description :
  127. *---------------------------------------------------------------------------------------
  128. * Modify Date Modifier Modify Description
  129. *---------------------------------------------------------------------------------------
  130. * 2015-11-13 Live Converter TF->XP
  131. *
  132. *---------------------------------------------------------------------------------------
  133. ****************************************************************************************/
  134. include "com_commonxp::comm_main.xjs";
  135. include "lis_commonxp::LPZ001.xjs";
  136. function SMLPP01500_oninit(obj:Form, e:InitEventInfo)
  137. {
  138. frmf_initForm(obj);
  139. grdf_initGrid(grd_refinfolist);
  140. }
  141. function SMLPP01500_onload(obj:Form, e:LoadEventInfo)
  142. {
  143. fExeInitialize();
  144. }
  145. function fExeInitialize()
  146. {
  147. ds_grd_refinfolist.clearData();
  148. // 시스템일자 조회
  149. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
  150. var oParam = {};
  151. oParam.id = "TRLPZ00102";
  152. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  153. oParam.method = "reqGetSystemDateTimeInformation";
  154. oParam.inds = "refData=ds_send";
  155. oParam.outds = "ds_sysdtinfo=sysdtinfo";
  156. oParam.async = false;
  157. //oParam.callback = "cf_TRLPZ00102";
  158. tranf_submit(oParam);
  159. // 초기값 설정
  160. ds_hidden.setColumn(0, "acptfromdd", ds_sysdtinfo.getColumn(0, "sysdd")); // 정도일자(From)
  161. ds_hidden.setColumn(0, "acpttodd", ds_sysdtinfo.getColumn(0, "sysdd")); // 정도일자(To)
  162. }
  163. //조회 버튼
  164. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  165. {
  166. fGetRefInfoList();
  167. }
  168. //감사판독 소요시간 조회 처리 함수
  169. function fGetRefInfoList()
  170. {
  171. ds_grd_refinfolist.clearData();
  172. dsf_createDsRow("ds_temp_search", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  173. ,{col : "reffromdd", val : ds_hidden.getColumn(0, "acptfromdd")}
  174. ,{col : "reftodd", val : ds_hidden.getColumn(0, "acpttodd")}
  175. ,{col : "pid", val : ds_hidden.getColumn(0, "pid")}
  176. ,{col : "workflagcd", val : "'1001', '1002', '1003', '1009'"}]);
  177. var oParam = {};
  178. oParam.id = "TRLPP01502";
  179. oParam.service = "plgyrefmngtapp.AcptSpecRef";
  180. oParam.method = "reqGetUgyList";
  181. oParam.inds = "refData=ds_temp_search";
  182. oParam.outds = "ds_grd_refinfolist=reflist";
  183. oParam.async = false;
  184. //oParam.callback = "cf_TRLPP01502";
  185. tranf_submit(oParam);
  186. }
  187. //Excel 저장
  188. function button13_onclick(obj:Button, e:ClickEventInfo)
  189. {
  190. grdf_exportExcel(grd_refinfolist, "관심증례목록");
  191. }
  192. function group2_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  193. {
  194. if(e.keycode == 13)
  195. {
  196. ds_hidden.setColumn(0, "pid", group2.ipt_pid.text);
  197. fGetRefInfoList();
  198. }
  199. }
  200. function grd_refinfolist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  201. {
  202. if(ds_grd_refinfolist.rowposition < 0 )
  203. {
  204. return;
  205. }
  206. var dispptno = ds_grd_refinfolist.getColumn(ds_grd_refinfolist.rowposition, "dispptno");
  207. var sflag = dispptno ;
  208. frmf_setParameter("opener_parameter_id", sflag);
  209. frmf_modal("SMLPR00100", "SMLPR00100", "", null, null, null, null, null, null, null, null, null, "M");
  210. }
  211. function group2_ipt_cncltodd_onkeyup(obj:Calendar, e:KeyEventInfo)
  212. {
  213. if(e.keycode == 13)
  214. {
  215. fGetRefInfoList();
  216. }
  217. }
  218. ]]></Script>
  219. </Form>
  220. </FDL>