123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPP01400_정도관리.xrw
- * 설 명 : 정도관리 화면
- * 설 계 자 : (주)에이씨케이 - 유동철
- * 작 성 자 : (주)에이씨케이 - 유동철
- * 작 성 일 : 2007.08.24
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>Thyroid cytology 정도관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grdetinfo>
- <grdeinfolist>
- <instcd/>
- <pid/>
- <jptno/>
- <jdispptno/>
- <jdiagcnts/>
- <sptno/>
- <sdispptno/>
- <sspcnm/>
- <srsltcnts3/>
- <readdrnm/>
- <diagmatch/>
- <sdiagcnts/>
- </grdeinfolist>
- </grdetinfo>
- </main>
- <send/>
- <init>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <ptnocd>
- <ptnocdlist>
- <instcd/>
- <ptnocd/>
- <ptnonm/>
- </ptnocdlist>
- </ptnocd>
- <ptnocode/>
- <fromyear/>
- <fromptno/>
- <toyear/>
- <toptno/>
- <pid/>
- <testnmlist/>
- <testinfo>
- <testitemlist>
- <choi/>
- <instcd/>
- <testcd/>
- <testengnm/>
- <testengabbr/>
- </testitemlist>
- </testinfo>
- <spcinfo>
- <spclist>
- <instcd/>
- <basecd/>
- <spcnm/>
- </spclist>
- </spcinfo>
- <spccd/>
- </init>
- <hidden>
- <acptfromdd/>
- <acpttodd/>
- <seaval/>
- </hidden>
- <message/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- makeReportPreview(0, 0, 0, 0, "grp_prnt");
- fExeInitialize();
- ]]>
- </script>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
- <submission id="TRLPR02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grdetinfo/grdeinfolist"/>
- <submission id="TRLPC00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/testinfo/testitemlist"/>
- <submission id="TRLPR02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/spcinfo/spclist"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fExePidKeyPress() {
-
- if (event.keyCode == 13) {
- model.makeValue("/root/init/pid", pidno.currentText);
- pidno.refresh();
-
- //-------------
- fGetGradeList();
- }
- }
-
- /* @group : 검체일괄접수
- * @ver : 2008.10.08 (CMCDEV-0001)
- * @by : 유동철
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사목록 팝업창 처리 함수
- */
- function fExeTestItemChoi() {
-
- var iFindNo = 0;
- var sTestCd = "";
- var sTestNm = "";
- var bState = false;
- var sNode = "/root/init/testinfo/testitemlist";
- //-------------------------------------------
- iFindNo = grd_testlist.findRow("true", 1, 0);
- if (Number(iFindNo) <= 0) {
- model.makeValue("/root/init/testcdlist", "");
- model.makeValue("/root/init/testnmlist", "");
- opt_testnmlist.refresh();
- grp_testlist.visible = false;
- return false;
- }
-
- //-----------------------------------------------------
- for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
-
- //-----------------------------------------------------
- if (model.getValue(sNode+"["+iNo+"]/choi") == "true") {
-
- if (bState) {
- sTestCd += ", '" + model.getValue(sNode+"["+iNo+"]/testcd") + "'";
- sTestNm += ", " + model.getValue(sNode+"["+iNo+"]/testengnm");
- } else {
- sTestCd += "'" + model.getValue(sNode+"["+iNo+"]/testcd") + "'";
- sTestNm += model.getValue(sNode+"["+iNo+"]/testengnm");
- bState = true;
- }
- }
- }
-
- //------------------------------------------------
- model.makeValue("/root/init/testcdlist", sTestCd);
- model.makeValue("/root/init/testnmlist", sTestNm);
- opt_testnmlist.refresh();
- grp_testlist.visible = false;
- }
-
- /* @group : 정도관리 화면
- * @ver : 2007.02.24 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize() {
- //----------------
- // 시스템일시 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00102", false); //시간조회
- submit("TRLPZ00109", false); //병리번호코드
-
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/basecdid", "LP003");
- submit("TRLPR02502", false); // 세포정도관리 맵핑검체 조회
-
- var iMaxRow = Number(getNodesetCount("/root/init/spcinfo/spclist"))+1;
- //--------
- // 노드생성
- model.makeValue("/root/init/spcinfo/spclist[" + Number(iMaxRow) + "]/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/init/spcinfo/spclist[" + Number(iMaxRow) + "]/basecd", "");
- model.makeValue("/root/init/spcinfo/spclist[" + Number(iMaxRow) + "]/spcnm", "전체");
-
- cmb_spc.refresh();
- cmb_spc.select(Number(getNodesetCount("/root/init/spcinfo/spclist"))-1);
-
- //검사코드목록 조회
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/init/testinfo/testitemlist");
- model.makeValue("/root/send/delflagcd", "0"); // 조회조건 사용여부구분
- model.makeValue("/root/send/refflag", "1"); // 조회조건 조회구분
- model.makeValue("/root/send/refval", ""); // 조회조건 조회값
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
- submit("TRLPC00401", false);
-
- //-----------------------------------------
- grd_testlist.fixedcellcheckbox(0, 0) = true;
-
- model.makeValue("/root/hidden/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/hidden/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
-
- //-----------------------------------------------------------------
- var sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
- model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
- model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
-
- model.makeValue("/root/init/ptnocode", "S");
-
- model.refresh();
- }
-
- /* @group : 정도관리 화면
- * @ver : 2007.02.24 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 정도관리 내역 조회 함수
- */
- function fGetGradeList() {
-
- var sPtNoFrom = model.getValue("/root/init/ptnofrom");
- var sPtNoTo = model.getValue("/root/init/ptnoto");
- var sPid = model.getValue("/root/init/pid");
- var sTemp = "";
- var sFromDD = model.getValue("/root/hidden/acptfromdd");
- var sToDD = model.getValue("/root/hidden/acpttodd");
- var sNode = "/root/main/workrslt/workrsltlist";
-
- //------------------------------------------------
- if (model.getValue("/root/init/ptnocode") != "") {
-
- //------------------------------------------------
- if (model.getValue("/root/init/fromyear") == "") {
- model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
- } else {
- sTemp = model.getValue("/root/init/fromyear");
- model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
- }
-
- //----------------------------------------------
- if (model.getValue("/root/init/toyear") == "") {
- model.makeValue("/root/init/toyear", sToDD.substr(2,2));
- } else {
- sTemp = model.getValue("/root/init/toyear");
- model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
- }
-
- //------------------------------------------------
- if (model.getValue("/root/init/fromptno") == "") {
- model.makeValue("/root/init/fromptno", "000000");
- } else {
- sTemp = model.getValue("/root/init/fromptno");
- model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
- }
-
- //----------------------------------------------
- if (model.getValue("/root/init/toptno") == "") {
- model.makeValue("/root/init/toptno", "999999");
- } else {
- sTemp = model.getValue("/root/init/toptno");
- model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
- }
- }
-
- //--------------------------------------------
- sTemp = model.getValue("/root/init/ptnocode");
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/workrslt/workrsltlist");
-
- model.makeValue("/root/init/pid", pidno.currentText);
-
- //-----------------------------------------------------------------
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
- model.makeValue("/root/send/ptnofrom", sPtNoFrom.toUpperCase()); // 시작병리번호
- model.makeValue("/root/send/ptnoto", sPtNoTo.toUpperCase()); // 종료병리번호
- model.makeValue("/root/send/acptfromdd", model.getValue("/root/hidden/acptfromdd")); // 접수시작일자
- model.makeValue("/root/send/acpttodd", model.getValue("/root/hidden/acpttodd")); // 접수종료일자
- model.makeValue("/root/send/readdr", model.getValue("/root/init/readdr")); // 판독의사
- model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
- model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
- model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
- model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
- model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
- model.makeValue("/root/send/pid", model.getValue("/root/init/pid")); // 등록번호
- model.makeValue("/root/send/spccd", model.getValue("/root/init/spccd"));
-
- if(model.getValue("/root/init/testcdlist") != "") {
- model.makeValue("/root/send/testcdlist", model.getValue("/root/init/testcdlist")); // 검사코드
- } else {
- model.makeValue("/root/send/testcdlist", "EMPTY"); // 검사코드
- }
-
- if(submit("TRLPR02501")) {
- grd_grdeinfolist.autoResize = true;
- grd_grdeinfolist.refresh();
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
- <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
- <button id="button13" class="btn6_letter5" style="left:0px; top:3px; width:92px; height:22px; ">
- <caption>EXCEL출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- lpzfExeSaveToExcel(grd_grdeinfolist, "정도관리");
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" navindex="14" style="left:95px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPLPR02500", "XMLSTR", "", "", "true", "", "", "", "", "false", "", "grp_prnt");
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:220px; height:14px; ">Thyroid cytology 정도관리</caption>
- </group>
- <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
- <caption id="caption4" class="tit_2" style="left:5px; top:80px; width:108px; height:13px; ">정도관리목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
- <group id="group2" style="left:0px; top:10px; width:1195px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1103px; y1:7px; x2:1103px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_acptdd" class="search_name" style="left:430px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
- <caption id="caption5" class="search_no_b" style="left:622px; top:8px; width:12px; height:17px; ">~</caption>
- <button id="btn_sea" class="btn1_letter2" navindex="10" style="left:1123px; top:20px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetGradeList();
- ]]>
- </script>
- </button>
- <input id="ipt_cnclfromdd" ref="/root/hidden/acptfromdd" class="input_s_essential" navindex="6" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:519px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_cncltodd" ref="/root/hidden/acpttodd" class="input_s_essential" navindex="7" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:638px; top:8px; width:100px; height:19px; "/>
- <caption id="cap_pid" class="search_name" style="left:795px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="cap_ptno" class="search_name" style="left:10px; top:9px; width:160px; height:17px; ">병리번호 :</caption>
- <caption id="cap_spc" class="search_name" style="left:10px; top:35px; width:86px; height:17px; ">대표검체 :</caption>
- <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:100; top:8px; width:101px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ptnocd/ptnocdlist">
- <label ref="ptnonm"/>
- <value ref="ptnocd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:233px; top:8px; width:50px; height:19px; "/>
- <caption id="caption1" class="search_no_b" style="left:286px; top:8px; width:12px; height:17px; ">~</caption>
- <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:331px; top:8px; width:50px; height:19px; "/>
- <input id="ipt_toyear" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:301px; top:8px; width:27px; height:19px; "/>
- <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:203px; top:8px; width:27px; height:19px; "/>
- <input id="pidno" ref="/root/init/pid" navindex="8" style="left:885px; top:8px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExePidKeyPress();
- ]]>
- </script>
- </input>
- <select1 id="cmb_spc" ref="/root/init/spccd" navindex="-1" appearance="minimal" editmode="search" style="left:100px; top:34px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/spcinfo/spclist">
- <label ref="spcnm"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:430px; top:35px; width:86px; height:17px; ">검사항목 :</caption>
- <output id="opt_testnmlist" ref="/root/init/testnmlist" style="left:520px; top:34px; width:530px; height:19px; border-color:#000000; border-style:solid; "/>
- <button id="button5" navindex="9" style="left:1052px; top:34px; width:18px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_testlist.visible = true;
- ]]>
- </script>
- </button>
- </group>
- <datagrid id="grd_grdeinfolist" nodeset="/root/main/grdetinfo/grdeinfolist" class="datagrid2" caption="instcd^jptno^sptno^등록번호^조직
병리번호^조직진단^세포
병리번호^세부검체명^세포진단^세포검사 구체적 진단^판독의^진단
불일치" colsep="^" colwidth="57, 49, 61, 70, 80, 150, 80, 160, 150, 344, 60, 52" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:100px; width:1194px; height:640px; ">
- <col ref="instcd" visibility="hidden"/>
- <col ref="jptno" visibility="hidden"/>
- <col ref="sptno" visibility="hidden"/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="jdispptno" style="text-align:center; "/>
- <col ref="jdiagcnts"/>
- <col ref="sdispptno" style="text-align:center; "/>
- <col ref="sspcnm"/>
- <col ref="sdiagcnts"/>
- <col ref="srsltcnts3"/>
- <col ref="readdrnm" style="text-align:center; "/>
- <col ref="diagmatch" type="combo" style="text-align:center; ">
- <choices/>
- </col>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var sPtno = "";
- var sPtno2 = "";
-
- if((grd_grdeinfolist.mouseRow >= grd_grdeinfolist.fixedRows) && (grd_grdeinfolist.isCell(event.target))) {
-
- if(grd_grdeinfolist.mouseCol == grd_grdeinfolist.colRef("jdispptno")) {
-
- sPtno = model.getValue("/root/main/grdetinfo/grdeinfolist["+ grd_grdeinfolist.mouseRow +"]/jptno");
- sPtno2 = sPtno.substring(0, sPtno.length - 6);
-
- setParameter("SMLPP00500_pid", model.getValue("/root/main/grdetinfo/grdeinfolist["+ grd_grdeinfolist.mouseRow +"]/pid"));
- setParameter("SMLPP00500_ptnocd", sPtno2.substring(0, sPtno2.length - 2));
- setParameter("SMLPP00500_year", sPtno2.substring(sPtno2.length - 2, sPtno2.length));
- setParameter("SMLPP00500_no", sPtno.substring(sPtno.length - 6, sPtno.length));
- modal("SMLPP00500");
- }
-
- if(grd_grdeinfolist.mouseCol == grd_grdeinfolist.colRef("sdispptno")) {
- sPtno = model.getValue("/root/main/grdetinfo/grdeinfolist["+ grd_grdeinfolist.mouseRow +"]/sptno");
- sPtno2 = sPtno.substring(0, sPtno.length - 6);
-
- setParameter("SMLPP00500_pid", model.getValue("/root/main/grdetinfo/grdeinfolist["+ grd_grdeinfolist.mouseRow +"]/pid"));
- setParameter("SMLPP00500_ptnocd", sPtno2.substring(0, sPtno2.length - 2));
- setParameter("SMLPP00500_year", sPtno2.substring(sPtno2.length - 2, sPtno2.length));
- setParameter("SMLPP00500_no", sPtno.substring(sPtno.length - 6, sPtno.length));
- modal("SMLPP00500");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_grdeinfolist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="grp_testlist" visibility="hidden" style="left:520px; top:65px; width:460px; height:463px; ">
- <button id="btn_cls" class="btn4_letter2" style="left:404px; top:440px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_testlist.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_cfm" class="btn4_letter2" style="left:345px; top:440px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeTestItemChoi();
- ]]>
- </script>
- </button>
- <datagrid id="grd_testlist" nodeset="/root/init/testinfo/testitemlist" caption="선택^기관코드^코드^명칭^약어" colsep="^" colwidth="56, 0, 80, 300, 0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:0px; width:460px; height:437px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="instcd"/>
- <col ref="testcd"/>
- <col ref="testengnm"/>
- <col ref="testengabbr"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_testlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_prnt" visibility="hidden" style="left:165px; top:250px; width:335px; height:260px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|