SMLPP02300_면역형광결과조회.xfdl 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPP02300" position="absolute 0 0 1196 786" titletext="면역형광 결과조회" oninit="SMLPP02300_oninit" onload="SMLPP02300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="line10" linetype="horizontal" position="absolute 0 49 1194 55" style="strokepen:3 solid #9ebed4ff;"/>
  8. <Button id="btn_excel" taborder="1" text="EXCEL저장" class="btn7" position="absolute 0 26 92 48" onclick="btn_excel_onclick"/>
  9. <Static id="caption6" text="면역형광 결과조회" class="tit_1" position="absolute 0 0 220 25"/>
  10. <Static id="caption4" text="결과목록" class="tit_2" position="absolute 1 95 75 112"/>
  11. <Shape id="line1" class="line_10" position="absolute 0 111 1194 117"/>
  12. <Div id="group2" taborder="2" class="div_SA2" position="absolute 0 53 1195 88">
  13. <Layouts>
  14. <Layout>
  15. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29"/>
  16. <Static id="caption5" text="~" class="search_no_b" position="absolute 979 8 991 25"/>
  17. <Button id="btn_sea" taborder="5" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group2_btn_sea_onclick"/>
  18. <Calendar id="ipt_cnclfromdd" taborder="6" class="input_s_essential" position="absolute 876 8 976 27" mask="yyyy-mm-dd"/>
  19. <Calendar id="ipt_cncltodd" taborder="7" class="input_s_essential" position="absolute 995 8 1095 27" mask="yyyy-mm-dd"/>
  20. <Static id="caption1" text="진단내용 :" class="search_name" position="absolute 15 9 105 26"/>
  21. <Static id="cap_refdd" text="접수일자 :" class="search_name" position="absolute 787 9 873 26"/>
  22. <Static id="caption3" text="결과구분 :" class="search_name" position="absolute 470 9 556 26"/>
  23. <Combo id="combo1" taborder="8" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 560 8 680 27">
  24. <Dataset id="innerdataset">
  25. <ColumnInfo>
  26. <Column id="codecolumn"/>
  27. <Column id="datacolumn"/>
  28. </ColumnInfo>
  29. <Rows>
  30. <Row>
  31. <Col id="codecolumn">1</Col>
  32. <Col id="datacolumn">Kidney</Col>
  33. </Row>
  34. <Row>
  35. <Col id="codecolumn">2</Col>
  36. <Col id="datacolumn">Skin</Col>
  37. </Row>
  38. </Rows>
  39. </Dataset>
  40. </Combo>
  41. <Edit id="ipt_refval" taborder="9" position="absolute 106 8 340 27"/>
  42. </Layout>
  43. </Layouts>
  44. </Div>
  45. <Grid id="grd_ptnolist" class="datagrid2" taborder="3" binddataset="ds_grd_ptnolist" useinputpanel="false" position="absolute 0 115 1194 783">
  46. <Formats>
  47. <Format id="default">
  48. <Columns>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="80"/>
  52. <Column size="70"/>
  53. <Column size="70"/>
  54. <Column size="60"/>
  55. <Column size="60"/>
  56. <Column size="80"/>
  57. <Column size="80"/>
  58. <Column size="80"/>
  59. <Column size="150"/>
  60. <Column size="100"/>
  61. <Column size="100"/>
  62. <Column size="100"/>
  63. <Column size="100"/>
  64. <Column size="100"/>
  65. <Column size="100"/>
  66. <Column size="100"/>
  67. <Column size="100"/>
  68. <Column size="100"/>
  69. <Column size="100"/>
  70. <Column size="100"/>
  71. <Column size="100"/>
  72. <Column size="0"/>
  73. <Column size="0"/>
  74. <Column size="0"/>
  75. <Column size="0"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. </Columns>
  79. <Rows>
  80. <Row size="24" band="head"/>
  81. <Row size="24"/>
  82. </Rows>
  83. <Band id="head">
  84. <Cell text="기관코드"/>
  85. <Cell col="1" text="병리번호"/>
  86. <Cell col="2" text="병리번호"/>
  87. <Cell col="3" text="등록번호"/>
  88. <Cell col="4" text="환자명"/>
  89. <Cell col="5" text="성별/나이"/>
  90. <Cell col="6" text="진료과"/>
  91. <Cell col="7" text="처방일자"/>
  92. <Cell col="8" text="접수일자"/>
  93. <Cell col="9" text="판독의"/>
  94. <Cell col="10" text="진단"/>
  95. <Cell col="11" text="검사"/>
  96. <Cell col="12" text="결과"/>
  97. <Cell col="13" text="FG"/>
  98. <Cell col="14" text="CG"/>
  99. <Cell col="15" text="L"/>
  100. <Cell col="16" text="No"/>
  101. <Cell col="17" text="GBM"/>
  102. <Cell col="18" text="Mes"/>
  103. <Cell col="19" text="TBM"/>
  104. <Cell col="20" text="Cast"/>
  105. <Cell col="21" text="Vessel"/>
  106. <Cell col="22" text="Interstitium"/>
  107. <Cell col="23" text="other1"/>
  108. <Cell col="24" text="other2"/>
  109. <Cell col="25" text="caption1"/>
  110. <Cell col="26" text="caption2"/>
  111. <Cell col="27" text="caption3"/>
  112. <Cell col="28" text="caption4"/>
  113. </Band>
  114. <Band id="body">
  115. <Cell text="bind:instcd"/>
  116. <Cell col="1" text="bind:ptno"/>
  117. <Cell col="2" class="text_center" text="bind:dispptno"/>
  118. <Cell col="3" class="text_center" text="bind:pid"/>
  119. <Cell col="4" class="text_center" text="bind:patnm"/>
  120. <Cell col="5" text="bind:sexage"/>
  121. <Cell col="6" text="bind:orddeptnm"/>
  122. <Cell col="7" class="text_center" text="bind:prcpdd" mask="yyyy-mm-dd"/>
  123. <Cell col="8" class="text_center" text="bind:acptdd" mask="yyyy-mm-dd"/>
  124. <Cell col="9" class="text_center" text="bind:readdrnm"/>
  125. <Cell col="10" text="bind:mcnts"/>
  126. <Cell col="11" text="bind:testnm"/>
  127. <Cell col="12" class="text_center" text="bind:testrslt01"/>
  128. <Cell col="13" class="text_center" text="bind:testrslt02"/>
  129. <Cell col="14" class="text_center" text="bind:testrslt03"/>
  130. <Cell col="15" class="text_center" text="bind:testrslt04"/>
  131. <Cell col="16" class="text_center" text="bind:testrslt05"/>
  132. <Cell col="17" class="text_center" text="bind:testrslt06"/>
  133. <Cell col="18" class="text_center" text="bind:testrslt07"/>
  134. <Cell col="19" class="text_center" text="bind:testrslt08"/>
  135. <Cell col="20" class="text_center" text="bind:testrslt09"/>
  136. <Cell col="21" class="text_center" text="bind:testrslt10"/>
  137. <Cell col="22" class="text_center" text="bind:testrslt11"/>
  138. <Cell col="23" class="text_center" text="bind:testrslt12"/>
  139. <Cell col="24" class="text_center" text="bind:testrslt16"/>
  140. <Cell col="25" class="text_center" text="bind:testrslt17"/>
  141. <Cell col="26" class="text_center" text="bind:testrslt18"/>
  142. <Cell col="27" class="text_center" text="bind:testrslt19"/>
  143. <Cell col="28" class="text_center" text="bind:testrslt20"/>
  144. </Band>
  145. </Format>
  146. </Formats>
  147. </Grid>
  148. </Layout>
  149. </Layouts>
  150. <Objects>
  151. <Dataset id="ds_grd_ptnolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  152. <ColumnInfo>
  153. <Column id="instcd" type="STRING"/>
  154. <Column id="ptno" type="STRING"/>
  155. <Column id="dispptno" type="STRING"/>
  156. <Column id="pid" type="STRING"/>
  157. <Column id="patnm" type="STRING"/>
  158. <Column id="sexage" type="STRING"/>
  159. <Column id="orddeptnm" type="STRING"/>
  160. <Column id="prcpdd" type="STRING"/>
  161. <Column id="acptdd" type="STRING"/>
  162. <Column id="readdrnm" type="STRING"/>
  163. <Column id="mcnts" type="STRING"/>
  164. <Column id="testnm" type="STRING"/>
  165. <Column id="testrslt01" type="STRING"/>
  166. <Column id="testrslt02" type="STRING"/>
  167. <Column id="testrslt03" type="STRING"/>
  168. <Column id="testrslt04" type="STRING"/>
  169. <Column id="testrslt05" type="STRING"/>
  170. <Column id="testrslt06" type="STRING"/>
  171. <Column id="testrslt07" type="STRING"/>
  172. <Column id="testrslt08" type="STRING"/>
  173. <Column id="testrslt09" type="STRING"/>
  174. <Column id="testrslt10" type="STRING"/>
  175. <Column id="testrslt11" type="STRING"/>
  176. <Column id="testrslt12" type="STRING"/>
  177. <Column id="testrslt16" type="STRING"/>
  178. <Column id="testrslt17" type="STRING"/>
  179. <Column id="testrslt18" type="STRING"/>
  180. <Column id="testrslt19" type="STRING"/>
  181. <Column id="testrslt20" type="STRING"/>
  182. </ColumnInfo>
  183. </Dataset>
  184. <Dataset id="ds_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  185. <ColumnInfo>
  186. <Column id="sysdd" type="STRING" size="256" sumtext="시스템일자"/>
  187. <Column id="systm" type="STRING" size="256" sumtext="시스템시간"/>
  188. </ColumnInfo>
  189. </Dataset>
  190. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  191. <ColumnInfo>
  192. <Column id="acptfromdd" type="STRING" size="256"/>
  193. <Column id="acpttodd" type="STRING" size="256"/>
  194. <Column id="refval" type="STRING" size="256"/>
  195. <Column id="rsltflagcd" type="STRING" size="256"/>
  196. </ColumnInfo>
  197. <Rows>
  198. <Row/>
  199. </Rows>
  200. </Dataset>
  201. </Objects>
  202. <Bind>
  203. <BindItem id="item0" compid="group2.ipt_refval" propid="value" datasetid="ds_init" columnid="refval"/>
  204. <BindItem id="item1" compid="group2.combo1" propid="value" datasetid="ds_init" columnid="rsltflagcd"/>
  205. <BindItem id="item2" compid="group2.ipt_cnclfromdd" propid="value" datasetid="ds_init" columnid="acptfromdd"/>
  206. <BindItem id="item3" compid="group2.ipt_cncltodd" propid="value" datasetid="ds_init" columnid="acpttodd"/>
  207. </Bind>
  208. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  209. * System Name :
  210. * Job Name :
  211. * Creator :
  212. * Make Date : 2015-11-13
  213. * Description :
  214. *---------------------------------------------------------------------------------------
  215. * Modify Date Modifier Modify Description
  216. *---------------------------------------------------------------------------------------
  217. * 2015-11-13 Live Converter TF->XP
  218. *
  219. *---------------------------------------------------------------------------------------
  220. ****************************************************************************************/
  221. include "com_commonxp::comm_main.xjs";
  222. include "lis_commonxp::LZZ001.xjs";
  223. function SMLPP02300_oninit(obj:Form, e:InitEventInfo)
  224. {
  225. frmf_initForm(obj);
  226. grdf_initGrid(grd_ptnolist);
  227. }
  228. function SMLPP02300_onload(obj:Form, e:LoadEventInfo)
  229. {
  230. fExeInitialize();
  231. }
  232. /* @group : 면역형광결과조회 화면
  233. * @ver : 2017.01.17
  234. * @by : 이민기
  235. * @-----------------------------------
  236. * @type : function
  237. * @access : public
  238. * @desc : 화면초기화 함수
  239. */
  240. function fExeInitialize()
  241. {
  242. var sCurDate = "";
  243. //--------------------------------------------------
  244. //model.removeNodeset("/root/main/ifrslt/ifrsltlist");
  245. //----------------
  246. // 시스템일자 조회
  247. //model.removeNodeset("/root/send");
  248. //model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  249. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
  250. //submit("TRLPZ00102");
  251. var oParam = {};
  252. oParam.id = "TRLPZ00102";
  253. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  254. oParam.method = "reqGetSystemDateTimeInformation";
  255. oParam.inds = "refData=ds_send";
  256. oParam.outds = "ds_sysdtinfo=sysdtinfo";
  257. oParam.async = false;
  258. //oParam.callback = "cf_TRLPZ00102";
  259. tranf_submit(oParam);
  260. sCurDate = ds_sysdtinfo.getColumn(0, "sysdd");
  261. //------------
  262. // 초기값 설정
  263. ds_init.setColumn(0, "acptfromdd", ds_sysdtinfo.getColumn(0, "sysdd")); // 등록일자(From)
  264. ds_init.setColumn(0, "acpttodd", ds_sysdtinfo.getColumn(0, "sysdd")); // 등록일자(To)
  265. ds_init.setColumn(0, "rsltflagcd", "1"); // 결과구분(1:Kidney, 2:Skin)
  266. ds_init.setColumn(0, "refval", ""); // 검색값
  267. fExeRsltFlagChange();
  268. }
  269. /* @group : 면역형광결과조회 화면
  270. * @ver : 2017.01.19
  271. * @by : 이민기
  272. * @-----------------------------------
  273. * @type : function
  274. * @access : public
  275. * @desc : 결과구분 변경 처리 함수
  276. */
  277. function fExeRsltFlagChange()
  278. {
  279. var iStartNo = 0;
  280. //if (model.getValue("/root/init/rsltflagcd") == "1")
  281. // if(ds_init.getColumn(0, "rsltflagcd") == "1")
  282. // {
  283. // //grd_ptnolist.caption = "기관코드^병리번호^병리번호^등록번호^환자명^성별/나이^진료과^처방일자^접수일자^판독의^진단^검사^결과^FG^CG^L^No^GBM^Mes^TBM^Cast^Vessel^Interstitium^^^^^^";
  284. // grd_ptnolist.setCellProperty("head", 1, "text", "기관코드");
  285. // grd_ptnolist.setCellProperty("head", 2, "text", "병리번호");
  286. // grd_ptnolist.setCellProperty("head", 3, "text", "등록번호");
  287. // grd_ptnolist.setCellProperty("head", 4, "text", "환자명");
  288. // grd_ptnolist.setCellProperty("head", 5, "text", "성별");
  289. // grd_ptnolist.setCellProperty("head", 6, "text", "나이");
  290. // grd_ptnolist.setCellProperty("head", 7, "text", "진료과");
  291. // grd_ptnolist.setCellProperty("head", 8, "text", "처방일자");
  292. // grd_ptnolist.setCellProperty("head", 9, "text", "접수일자");
  293. // grd_ptnolist.setCellProperty("head", 10, "text", "판독의");
  294. // grd_ptnolist.setCellProperty("head", 11, "text", "진단");
  295. // grd_ptnolist.setCellProperty("head", 12, "text", "검사");
  296. // grd_ptnolist.setCellProperty("head", 13, "text", "결과");
  297. // grd_ptnolist.setCellProperty("head", 14, "text", "FG");
  298. // grd_ptnolist.setCellProperty("head", 15, "text", "CG");
  299. // grd_ptnolist.setCellProperty("head", 16, "text", "L");
  300. // grd_ptnolist.setCellProperty("head", 17, "text", "No");
  301. // grd_ptnolist.setCellProperty("head", 18, "text", "GBM");
  302. // grd_ptnolist.setCellProperty("head", 19, "text", "Mes");
  303. // grd_ptnolist.setCellProperty("head", 20, "text", "TBM");
  304. // grd_ptnolist.setCellProperty("head", 21, "text", "Cast");
  305. // grd_ptnolist.setCellProperty("head", 22, "text", "Vessel");
  306. // grd_ptnolist.setCellProperty("head", 23, "text", "Interstitium");
  307. // //iStartNo = 24;
  308. // }
  309. // else
  310. // {
  311. // grd_ptnolist.caption = "기관코드^병리번호^병리번호^등록번호^환자명^성별/나이^진료과^처방일자^접수일자^판독의^진단^검사^결과^Epidermis,intercellular^Dermoepidermal Junction^Dermis^Vessel^OTHER^^^^^^^^^^^";
  312. // iStartNo =19;
  313. // }
  314. //----------------------------
  315. // 결과구분에 따를 컬럼 숨기기
  316. // for (var iNo=iStartNo; iNo <= grd_ptnolist.cols-1; iNo++)
  317. // {
  318. // grd_ptnolist.colWidth(iNo) = 0;
  319. // }
  320. }
  321. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  322. {
  323. fGetRsltList();
  324. }
  325. /* @group : 면역형광결과조회 화면
  326. * @ver : 2017.01.19
  327. * @by : 이민기
  328. * @-----------------------------------
  329. * @type : function
  330. * @access : public
  331. * @desc : 접수목록 조회 처리 함수
  332. */
  333. function fGetRsltList()
  334. {
  335. //var sNode = "/root/main/ifrslt/ifrsltlist";
  336. ///--------------------------------
  337. //model.removeNodeset("/root/send");
  338. //model.removeNodeset(sNode);
  339. //----------------------------------------------------------------------
  340. // model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  341. // model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
  342. // model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
  343. // model.makeValue("/root/send/rsltflagcd", model.getValue("/root/init/rsltflagcd"));
  344. // model.makeValue("/root/send/mcnts", model.getValue("/root/init/refval"));
  345. dsf_createDsRow("ds_temp_search", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  346. ,{col : "acptfromdd", val : ds_init.getColumn(0, "acptfromdd")}
  347. ,{col : "acpttodd", val : ds_init.getColumn(0, "acpttodd")}
  348. ,{col : "rsltflagcd", val : ds_init.getColumn(0, "rsltflagcd")}
  349. ,{col : "mcnts", val : ds_init.getColumn(0, "refval")}]);
  350. //-------------------
  351. //submit("TRLPP02301");
  352. var oParam = {};
  353. oParam.id = "TRLPP02301";
  354. oParam.service = "plgyrefmngtapp.AcptSpecRef";
  355. oParam.method = "reqGetIFList";
  356. oParam.inds = "refData=ds_temp_search";
  357. oParam.outds = "ds_grd_ptnolist=rsltlist";
  358. oParam.async = false;
  359. //oParam.callback = "cf_TRLPP02301";
  360. tranf_submit(oParam);
  361. }
  362. //엑셀
  363. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  364. {
  365. grdf_exportExcel(grd_ptnolist, "정도관리 상세내역", "정도관리 상세내역", true);
  366. }
  367. ]]></Script>
  368. </Form>
  369. </FDL>