SMLPP01500_CVR조회.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  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="none" extendsizetype="row" autosizingtype="row" cellsizebandtype="body">
  24. <Formats>
  25. <Format id="default">
  26. <Columns>
  27. <Column size="0" band="left"/>
  28. <Column size="0" band="left"/>
  29. <Column size="26" band="left"/>
  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="266"/>
  37. <Column size="86"/>
  38. <Column size="80"/>
  39. <Column size="69"/>
  40. <Column size="60"/>
  41. <Column size="60"/>
  42. <Column size="100"/>
  43. <Column size="80"/>
  44. <Column size="80"/>
  45. <Column size="60"/>
  46. </Columns>
  47. <Rows>
  48. <Row size="24" band="head"/>
  49. <Row size="24"/>
  50. </Rows>
  51. <Band id="head">
  52. <Cell text="기관코드"/>
  53. <Cell col="1" text="ptno"/>
  54. <Cell col="2"/>
  55. <Cell col="3" text="병리번호"/>
  56. <Cell col="4" text="등록번호"/>
  57. <Cell col="5" text="환자명"/>
  58. <Cell col="6" text="성별/나이"/>
  59. <Cell col="7" text="장기명"/>
  60. <Cell col="8" text="장기명"/>
  61. <Cell col="9" text="진 단"/>
  62. <Cell col="10" text="메모"/>
  63. <Cell col="11" text="처방일"/>
  64. <Cell col="12" text="처방부서"/>
  65. <Cell col="13" text="처방의"/>
  66. <Cell col="14" text="수신의"/>
  67. <Cell col="15" text="전송내역"/>
  68. <Cell col="16" text="전송시각"/>
  69. <Cell col="17" text="수신시각"/>
  70. <Cell col="18" text="판독의"/>
  71. </Band>
  72. <Band id="body">
  73. <Cell text="bind:instcd"/>
  74. <Cell col="1" text="bind:ptno"/>
  75. <Cell col="2" celltype="head" text="expr:currow + 1" autosizerow="limitmin"/>
  76. <Cell col="3" class="text_center" text="bind:dispptno" autosizerow="limitmin"/>
  77. <Cell col="4" class="text_center" text="bind:pid" autosizerow="limitmin"/>
  78. <Cell col="5" class="text_center" text="bind:patnm" autosizerow="limitmin"/>
  79. <Cell col="6" class="text_center" text="bind:sexage" autosizerow="limitmin"/>
  80. <Cell col="7" class="text_center" text="bind:extrpartcnts" autosizerow="limitmin"/>
  81. <Cell col="8" style="align:left middle;" text="bind:extrpartcnts" autosizerow="limitmin"/>
  82. <Cell col="9" style="align:left middle;" class="text_left" text="bind:diagcnts" autosizerow="limitmin"/>
  83. <Cell col="10" style="align:left middle;" text="bind:memocnts" autosizerow="limitmin"/>
  84. <Cell col="11" edittype="none" style="align:left middle;" text="bind:prcpdd" autosizerow="limitmin"/>
  85. <Cell col="12" style="align:left middle;" text="bind:orddeptnm" autosizerow="limitmin"/>
  86. <Cell col="13" text="bind:atdrnm" autosizerow="limitmin"/>
  87. <Cell col="14" text="bind:receivenm" autosizerow="limitmin"/>
  88. <Cell col="15" style="align:left middle;" text="bind:cmtcnts" autosizerow="limitmin"/>
  89. <Cell col="16" displaytype="normal" edittype="none" style="align:left middle;" text="bind:transdt" autosizerow="limitmin"/>
  90. <Cell col="17" displaytype="normal" edittype="none" style="align:left middle;" text="bind:confdd" autosizerow="limitmin"/>
  91. <Cell col="18" text="bind:readrnm" autosizerow="limitmin"/>
  92. </Band>
  93. </Format>
  94. </Formats>
  95. </Grid>
  96. <Shape id="line10" linetype="horizontal" class="line_6" position="absolute 0 50 1194 56" style="strokepen:3 solid #9ebed4ff;"/>
  97. <Button id="button13" taborder="4" text="EXCEL저장" class="btn7" position="absolute 0 27 92 49" onclick="button13_onclick"/>
  98. <Static id="caption6" text="긴급알림 환자조회" class="tit_1" position="absolute 0 0 163 25"/>
  99. </Layout>
  100. </Layouts>
  101. <Objects>
  102. <Dataset id="ds_grd_refinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  103. <ColumnInfo>
  104. <Column id="instcd" type="STRING"/>
  105. <Column id="ptno" type="STRING"/>
  106. <Column id="dispptno" type="STRING"/>
  107. <Column id="pid" type="STRING"/>
  108. <Column id="patnm" type="STRING"/>
  109. <Column id="sexage" type="STRING"/>
  110. <Column id="extrpartcnts" type="STRING"/>
  111. <Column id="diagcnts" type="STRING"/>
  112. <Column id="memocnts" type="STRING"/>
  113. <Column id="prcpdd" type="STRING"/>
  114. <Column id="orddeptnm" type="STRING"/>
  115. <Column id="atdrnm" type="STRING"/>
  116. <Column id="receivenm" type="STRING"/>
  117. <Column id="cmtcnts" type="STRING"/>
  118. <Column id="transdt" type="STRING"/>
  119. <Column id="confdd" type="STRING"/>
  120. <Column id="readrnm" type="STRING"/>
  121. </ColumnInfo>
  122. </Dataset>
  123. <Dataset id="ds_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  124. <ColumnInfo>
  125. <Column id="sysdd" type="STRING" size="256" sumtext="시스템일자"/>
  126. <Column id="systm" type="STRING" size="256" sumtext="시스템시간"/>
  127. </ColumnInfo>
  128. </Dataset>
  129. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  130. <ColumnInfo>
  131. <Column id="acptfromdd" type="STRING" size="256"/>
  132. <Column id="acpttodd" type="STRING" size="256"/>
  133. <Column id="pid" type="STRING" size="256"/>
  134. </ColumnInfo>
  135. <Rows>
  136. <Row/>
  137. </Rows>
  138. </Dataset>
  139. </Objects>
  140. <Bind>
  141. <BindItem id="item0" compid="group2.ipt_cnclfromdd" propid="value" datasetid="ds_hidden" columnid="acptfromdd"/>
  142. <BindItem id="item1" compid="group2.ipt_cncltodd" propid="value" datasetid="ds_hidden" columnid="acpttodd"/>
  143. <BindItem id="item2" compid="group2.ipt_pid" propid="value" datasetid="ds_hidden" columnid="pid"/>
  144. </Bind>
  145. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  146. * System Name :
  147. * Job Name :
  148. * Creator :
  149. * Make Date : 2015-11-13
  150. * Description :
  151. *---------------------------------------------------------------------------------------
  152. * Modify Date Modifier Modify Description
  153. *---------------------------------------------------------------------------------------
  154. * 2015-11-13 Live Converter TF->XP
  155. *
  156. *---------------------------------------------------------------------------------------
  157. ****************************************************************************************/
  158. include "com_commonxp::comm_main.xjs";
  159. include "lis_commonxp::LPZ001.xjs";
  160. function SMLPP01500_oninit(obj:Form, e:InitEventInfo)
  161. {
  162. frmf_initForm(obj);
  163. grdf_initGrid(grd_refinfolist);
  164. }
  165. function SMLPP01500_onload(obj:Form, e:LoadEventInfo)
  166. {
  167. fExeInitialize();
  168. }
  169. function fExeInitialize()
  170. {
  171. ds_grd_refinfolist.clearData();
  172. // 시스템일자 조회
  173. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
  174. var oParam = {};
  175. oParam.id = "TRLPZ00102";
  176. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  177. oParam.method = "reqGetSystemDateTimeInformation";
  178. oParam.inds = "refData=ds_send";
  179. oParam.outds = "ds_sysdtinfo=sysdtinfo";
  180. oParam.async = false;
  181. //oParam.callback = "cf_TRLPZ00102";
  182. tranf_submit(oParam);
  183. // 초기값 설정
  184. ds_hidden.setColumn(0, "acptfromdd", ds_sysdtinfo.getColumn(0, "sysdd")); // 정도일자(From)
  185. ds_hidden.setColumn(0, "acpttodd", ds_sysdtinfo.getColumn(0, "sysdd")); // 정도일자(To)
  186. }
  187. //조회 버튼
  188. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  189. {
  190. fGetRefInfoList();
  191. }
  192. //감사판독 소요시간 조회 처리 함수
  193. function fGetRefInfoList()
  194. {
  195. ds_grd_refinfolist.clearData();
  196. dsf_createDsRow("ds_temp_search", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  197. ,{col : "reffromdd", val : ds_hidden.getColumn(0, "acptfromdd")}
  198. ,{col : "reftodd", val : ds_hidden.getColumn(0, "acpttodd")}
  199. ,{col : "pid", val : ds_hidden.getColumn(0, "pid")}
  200. ,{col : "workflagcd", val : "'1001', '1002', '1003', '1009'"}]);
  201. var oParam = {};
  202. oParam.id = "TRLPP01502";
  203. oParam.service = "plgyrefmngtapp.AcptSpecRef";
  204. oParam.method = "reqGetUgyList";
  205. oParam.inds = "refData=ds_temp_search";
  206. oParam.outds = "ds_grd_refinfolist=reflist";
  207. oParam.async = false;
  208. //oParam.callback = "cf_TRLPP01502";
  209. tranf_submit(oParam);
  210. }
  211. //Excel 저장
  212. function button13_onclick(obj:Button, e:ClickEventInfo)
  213. {
  214. grdf_exportExcel(grd_refinfolist, "관심증례목록");
  215. }
  216. function group2_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  217. {
  218. if(e.keycode == 13)
  219. {
  220. ds_hidden.setColumn(0, "pid", group2.ipt_pid.text);
  221. fGetRefInfoList();
  222. }
  223. }
  224. function grd_refinfolist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  225. {
  226. if(ds_grd_refinfolist.rowposition < 0 )
  227. {
  228. return;
  229. }
  230. var dispptno = ds_grd_refinfolist.getColumn(ds_grd_refinfolist.rowposition, "dispptno");
  231. var sflag = dispptno ;
  232. frmf_setParameter("opener_parameter_id", sflag);
  233. frmf_modal("SMLPR00100", "SMLPR00100", "", null, null, null, null, null, null, null, null, null, "M");
  234. }
  235. function group2_ipt_cncltodd_onkeyup(obj:Calendar, e:KeyEventInfo)
  236. {
  237. if(e.keycode == 13)
  238. {
  239. fGetRefInfoList();
  240. }
  241. }
  242. ]]></Script>
  243. </Form>
  244. </FDL>