123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLPP02300" position="absolute 0 0 1196 786" titletext="면역형광 결과조회" oninit="SMLPP02300_oninit" onload="SMLPP02300_onload">
- <Layouts>
- <Layout>
- <Shape id="line10" linetype="horizontal" position="absolute 0 49 1194 55" style="strokepen:3 solid #9ebed4ff;"/>
- <Button id="btn_excel" taborder="1" text="EXCEL저장" class="btn7" position="absolute 0 26 92 48" onclick="btn_excel_onclick"/>
- <Static id="caption6" text="면역형광 결과조회" class="tit_1" position="absolute 0 0 220 25"/>
- <Static id="caption4" text="결과목록" class="tit_2" position="absolute 1 95 75 112"/>
- <Shape id="line1" class="line_10" position="absolute 0 111 1194 117"/>
- <Div id="group2" taborder="2" class="div_SA2" position="absolute 0 53 1195 88">
- <Layouts>
- <Layout>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29"/>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 979 8 991 25"/>
- <Button id="btn_sea" taborder="5" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group2_btn_sea_onclick"/>
- <Calendar id="ipt_cnclfromdd" taborder="6" class="input_s_essential" position="absolute 876 8 976 27" mask="yyyy-mm-dd"/>
- <Calendar id="ipt_cncltodd" taborder="7" class="input_s_essential" position="absolute 995 8 1095 27" mask="yyyy-mm-dd"/>
- <Static id="caption1" text="진단내용 :" class="search_name" position="absolute 15 9 105 26"/>
- <Static id="cap_refdd" text="접수일자 :" class="search_name" position="absolute 787 9 873 26"/>
- <Static id="caption3" text="결과구분 :" class="search_name" position="absolute 470 9 556 26"/>
- <Combo id="combo1" taborder="8" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 560 8 680 27">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">Kidney</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">Skin</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit id="ipt_refval" taborder="9" position="absolute 106 8 340 27"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_ptnolist" class="datagrid2" taborder="3" binddataset="ds_grd_ptnolist" useinputpanel="false" position="absolute 0 115 1194 783">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1" text="병리번호"/>
- <Cell col="2" text="병리번호"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="환자명"/>
- <Cell col="5" text="성별/나이"/>
- <Cell col="6" text="진료과"/>
- <Cell col="7" text="처방일자"/>
- <Cell col="8" text="접수일자"/>
- <Cell col="9" text="판독의"/>
- <Cell col="10" text="진단"/>
- <Cell col="11" text="검사"/>
- <Cell col="12" text="결과"/>
- <Cell col="13" text="FG"/>
- <Cell col="14" text="CG"/>
- <Cell col="15" text="L"/>
- <Cell col="16" text="No"/>
- <Cell col="17" text="GBM"/>
- <Cell col="18" text="Mes"/>
- <Cell col="19" text="TBM"/>
- <Cell col="20" text="Cast"/>
- <Cell col="21" text="Vessel"/>
- <Cell col="22" text="Interstitium"/>
- <Cell col="23" text="other1"/>
- <Cell col="24" text="other2"/>
- <Cell col="25" text="caption1"/>
- <Cell col="26" text="caption2"/>
- <Cell col="27" text="caption3"/>
- <Cell col="28" text="caption4"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:ptno"/>
- <Cell col="2" class="text_center" text="bind:dispptno"/>
- <Cell col="3" class="text_center" text="bind:pid"/>
- <Cell col="4" class="text_center" text="bind:patnm"/>
- <Cell col="5" text="bind:sexage"/>
- <Cell col="6" text="bind:orddeptnm"/>
- <Cell col="7" class="text_center" text="bind:prcpdd" mask="yyyy-mm-dd"/>
- <Cell col="8" class="text_center" text="bind:acptdd" mask="yyyy-mm-dd"/>
- <Cell col="9" class="text_center" text="bind:readdrnm"/>
- <Cell col="10" text="bind:mcnts"/>
- <Cell col="11" text="bind:testnm"/>
- <Cell col="12" class="text_center" text="bind:testrslt01"/>
- <Cell col="13" class="text_center" text="bind:testrslt02"/>
- <Cell col="14" class="text_center" text="bind:testrslt03"/>
- <Cell col="15" class="text_center" text="bind:testrslt04"/>
- <Cell col="16" class="text_center" text="bind:testrslt05"/>
- <Cell col="17" class="text_center" text="bind:testrslt06"/>
- <Cell col="18" class="text_center" text="bind:testrslt07"/>
- <Cell col="19" class="text_center" text="bind:testrslt08"/>
- <Cell col="20" class="text_center" text="bind:testrslt09"/>
- <Cell col="21" class="text_center" text="bind:testrslt10"/>
- <Cell col="22" class="text_center" text="bind:testrslt11"/>
- <Cell col="23" class="text_center" text="bind:testrslt12"/>
- <Cell col="24" class="text_center" text="bind:testrslt16"/>
- <Cell col="25" class="text_center" text="bind:testrslt17"/>
- <Cell col="26" class="text_center" text="bind:testrslt18"/>
- <Cell col="27" class="text_center" text="bind:testrslt19"/>
- <Cell col="28" class="text_center" text="bind:testrslt20"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_ptnolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="ptno" type="STRING"/>
- <Column id="dispptno" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="sexage" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="readdrnm" type="STRING"/>
- <Column id="mcnts" type="STRING"/>
- <Column id="testnm" type="STRING"/>
- <Column id="testrslt01" type="STRING"/>
- <Column id="testrslt02" type="STRING"/>
- <Column id="testrslt03" type="STRING"/>
- <Column id="testrslt04" type="STRING"/>
- <Column id="testrslt05" type="STRING"/>
- <Column id="testrslt06" type="STRING"/>
- <Column id="testrslt07" type="STRING"/>
- <Column id="testrslt08" type="STRING"/>
- <Column id="testrslt09" type="STRING"/>
- <Column id="testrslt10" type="STRING"/>
- <Column id="testrslt11" type="STRING"/>
- <Column id="testrslt12" type="STRING"/>
- <Column id="testrslt16" type="STRING"/>
- <Column id="testrslt17" type="STRING"/>
- <Column id="testrslt18" type="STRING"/>
- <Column id="testrslt19" type="STRING"/>
- <Column id="testrslt20" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sysdd" type="STRING" size="256" sumtext="시스템일자"/>
- <Column id="systm" type="STRING" size="256" sumtext="시스템시간"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptfromdd" type="STRING" size="256"/>
- <Column id="acpttodd" type="STRING" size="256"/>
- <Column id="refval" type="STRING" size="256"/>
- <Column id="rsltflagcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_refval" propid="value" datasetid="ds_init" columnid="refval"/>
- <BindItem id="item1" compid="group2.combo1" propid="value" datasetid="ds_init" columnid="rsltflagcd"/>
- <BindItem id="item2" compid="group2.ipt_cnclfromdd" propid="value" datasetid="ds_init" columnid="acptfromdd"/>
- <BindItem id="item3" compid="group2.ipt_cncltodd" propid="value" datasetid="ds_init" columnid="acpttodd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LZZ001.xjs";
- function SMLPP02300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(grd_ptnolist);
- }
- function SMLPP02300_onload(obj:Form, e:LoadEventInfo)
- {
- fExeInitialize();
- }
- /* @group : 면역형광결과조회 화면
- * @ver : 2017.01.17
- * @by : 이민기
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize()
- {
- var sCurDate = "";
-
- //--------------------------------------------------
- //model.removeNodeset("/root/main/ifrslt/ifrsltlist");
-
- //----------------
- // 시스템일자 조회
- //model.removeNodeset("/root/send");
- //model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
- //submit("TRLPZ00102");
- var oParam = {};
- oParam.id = "TRLPZ00102";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetSystemDateTimeInformation";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_sysdtinfo=sysdtinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00102";
- tranf_submit(oParam);
-
- sCurDate = ds_sysdtinfo.getColumn(0, "sysdd");
-
- //------------
- // 초기값 설정
- ds_init.setColumn(0, "acptfromdd", ds_sysdtinfo.getColumn(0, "sysdd")); // 등록일자(From)
- ds_init.setColumn(0, "acpttodd", ds_sysdtinfo.getColumn(0, "sysdd")); // 등록일자(To)
- ds_init.setColumn(0, "rsltflagcd", "1"); // 결과구분(1:Kidney, 2:Skin)
- ds_init.setColumn(0, "refval", ""); // 검색값
-
- fExeRsltFlagChange();
- }
- /* @group : 면역형광결과조회 화면
- * @ver : 2017.01.19
- * @by : 이민기
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 결과구분 변경 처리 함수
- */
- function fExeRsltFlagChange()
- {
- var iStartNo = 0;
-
- //if (model.getValue("/root/init/rsltflagcd") == "1")
- // if(ds_init.getColumn(0, "rsltflagcd") == "1")
- // {
- // //grd_ptnolist.caption = "기관코드^병리번호^병리번호^등록번호^환자명^성별/나이^진료과^처방일자^접수일자^판독의^진단^검사^결과^FG^CG^L^No^GBM^Mes^TBM^Cast^Vessel^Interstitium^^^^^^";
- // grd_ptnolist.setCellProperty("head", 1, "text", "기관코드");
- // grd_ptnolist.setCellProperty("head", 2, "text", "병리번호");
- // grd_ptnolist.setCellProperty("head", 3, "text", "등록번호");
- // grd_ptnolist.setCellProperty("head", 4, "text", "환자명");
- // grd_ptnolist.setCellProperty("head", 5, "text", "성별");
- // grd_ptnolist.setCellProperty("head", 6, "text", "나이");
- // grd_ptnolist.setCellProperty("head", 7, "text", "진료과");
- // grd_ptnolist.setCellProperty("head", 8, "text", "처방일자");
- // grd_ptnolist.setCellProperty("head", 9, "text", "접수일자");
- // grd_ptnolist.setCellProperty("head", 10, "text", "판독의");
- // grd_ptnolist.setCellProperty("head", 11, "text", "진단");
- // grd_ptnolist.setCellProperty("head", 12, "text", "검사");
- // grd_ptnolist.setCellProperty("head", 13, "text", "결과");
- // grd_ptnolist.setCellProperty("head", 14, "text", "FG");
- // grd_ptnolist.setCellProperty("head", 15, "text", "CG");
- // grd_ptnolist.setCellProperty("head", 16, "text", "L");
- // grd_ptnolist.setCellProperty("head", 17, "text", "No");
- // grd_ptnolist.setCellProperty("head", 18, "text", "GBM");
- // grd_ptnolist.setCellProperty("head", 19, "text", "Mes");
- // grd_ptnolist.setCellProperty("head", 20, "text", "TBM");
- // grd_ptnolist.setCellProperty("head", 21, "text", "Cast");
- // grd_ptnolist.setCellProperty("head", 22, "text", "Vessel");
- // grd_ptnolist.setCellProperty("head", 23, "text", "Interstitium");
- // //iStartNo = 24;
- // }
- // else
- // {
- // grd_ptnolist.caption = "기관코드^병리번호^병리번호^등록번호^환자명^성별/나이^진료과^처방일자^접수일자^판독의^진단^검사^결과^Epidermis,intercellular^Dermoepidermal Junction^Dermis^Vessel^OTHER^^^^^^^^^^^";
- // iStartNo =19;
- // }
-
- //----------------------------
- // 결과구분에 따를 컬럼 숨기기
- // for (var iNo=iStartNo; iNo <= grd_ptnolist.cols-1; iNo++)
- // {
- // grd_ptnolist.colWidth(iNo) = 0;
- // }
-
-
- }
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetRsltList();
- }
- /* @group : 면역형광결과조회 화면
- * @ver : 2017.01.19
- * @by : 이민기
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 접수목록 조회 처리 함수
- */
- function fGetRsltList()
- {
- //var sNode = "/root/main/ifrslt/ifrsltlist";
- ///--------------------------------
- //model.removeNodeset("/root/send");
- //model.removeNodeset(sNode);
-
- //----------------------------------------------------------------------
- // model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- // model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
- // model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
- // model.makeValue("/root/send/rsltflagcd", model.getValue("/root/init/rsltflagcd"));
- // model.makeValue("/root/send/mcnts", model.getValue("/root/init/refval"));
- dsf_createDsRow("ds_temp_search", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "acptfromdd", val : ds_init.getColumn(0, "acptfromdd")}
- ,{col : "acpttodd", val : ds_init.getColumn(0, "acpttodd")}
- ,{col : "rsltflagcd", val : ds_init.getColumn(0, "rsltflagcd")}
- ,{col : "mcnts", val : ds_init.getColumn(0, "refval")}]);
-
- //-------------------
- //submit("TRLPP02301");
- var oParam = {};
- oParam.id = "TRLPP02301";
- oParam.service = "plgyrefmngtapp.AcptSpecRef";
- oParam.method = "reqGetIFList";
- oParam.inds = "refData=ds_temp_search";
- oParam.outds = "ds_grd_ptnolist=rsltlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPP02301";
- tranf_submit(oParam);
- }
- //엑셀
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_ptnolist, "정도관리 상세내역", "정도관리 상세내역", true);
- }
- ]]></Script>
- </Form>
- </FDL>
|