123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPP01000_동결절편결과조회.xrw
- * 설 명 : 동결절편결과조회
- * 설 계 자 : (주)에이씨케이 - 황상미
- * 작 성 자 : (주)에이씨케이 - 황상미
- * 작 성 일 : 2006.12.13
- * 수정이력 : 2007.06.05
- * 기 타 :
- -->
- <?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>동결절편 결과조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <popupendflag/>
- <frznptno>
- <frznptnolist>
- <instcd/>
- <ptno/>
- <dispptno/>
- <pid/>
- <patnm/>
- <acptdd/>
- <acpttm/>
- </frznptnolist>
- </frznptno>
- <frzncste>
- <frzncstelist>
- <instcd/>
- <ptno/>
- <dispptno/>
- <spcacptdd/>
- <spcacptno/>
- <spccd/>
- <spcnm/>
- <spcacptseqno/>
- <csteno/>
- <cstecnts/>
- <acptdd/>
- <acpttm/>
- <indd/>
- <intm/>
- <readdd/>
- <readtm/>
- <readrslt/>
- <readdrnm1/>
- <readdrid1/>
- <readdrnm2/>
- <readdrid2/>
- <readdrnm3/>
- <readdrid3/>
- <delyflagcd/>
- <delyresncd/>
- <cmtcnts/>
- </frzncstelist>
- </frzncste>
- </main>
- <send/>
- <init>
- <refflagcd>1</refflagcd>
- <refval/>
- <acptfromdd/>
- <acpttodd/>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <hospenv>
- <hospenvinfo>
- <instcd/>
- <lendrtnterm/>
- <recvqualmthdcd/>
- <plgydeptcd/>
- <plgyteamcd/>
- <doctjobgradcd/>
- <teamjobgradcd/>
- </hospenvinfo>
- </hospenv>
- <userinfo>
- <userinfolist>
- <userid/>
- <usernm/>
- <jobkindcd/>
- </userinfolist>
- </userinfo>
- <resncd>
- <resncdlist>
- <instcd/>
- <baseflagcd/>
- <resncd/>
- <resncnts/>
- </resncdlist>
- </resncd>
- </init>
- <hidden/>
- <temp>
- <instcd/>
- <pid/>
- <patnm/>
- </temp>
- </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/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
- <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
- <submission id="TRLPR00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/frznptno/frznptnolist"/>
- <submission id="TRLPR00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/frzncste/frzncstelist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 동결절편결과조회
- * @ver : 2007.06.04 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize() {
-
- //------------------------------------------------------
- model.removeNodeset("/root/main/frznptno/frznptnolist");
- model.removeNodeset("/root/main/frzncste/frzncstelist");
-
- //----------------
- // 시스템일시 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/baseflagcd", "'D1'");
- submit("TRLPZ00101", false);
- submit("TRLPZ00102", false);
- submit("TRLPZ00103", false); // 지연사유 목록 조회
-
- //---------------------------------------------------------
- // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
- lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
-
- //----------------------------------------------------------------------------------
- model.makeValue("/root/send/userdeptcd", model.getValue("/root/hidden/userdeptcd"));
- model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
- model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
- submit("TRLPZ00105");
-
- //----------------------------------
- lpzfTopInfo(); // 상단정보 호출
- //----------------------------------------------
- if (model.getValue("/root/paminfo/pid") != "") {
- model.makeValue("/root/temp/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/temp/pid", model.getValue("/root/paminfo/pid"));
- model.makeValue("/root/temp/patnm", model.getValue("/root/paminfo/hngnm"));
-
- //-------------------
- // 병리번호 목록 조회
- fGetFrznPtNolist();
- }
-
- //--------------
- model.refresh();
- }
-
- /* @group : 동결절편 결과조회 화면
- * @ver : 2007.06.05 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 동절절편 병리번호 조회 함수
- */
- function fGetFrznPtNolist() {
-
- var sAcptFromDD = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
-
- sAcptFromDD = sAcptFromDD.toDate().getAddDate(-1,"M").getDateFormat();
- //--------------------------------
- model.removeNodeset("/root/send");
-
- //----------------------------------------------------------------------------
- model.makeValue("/root/send/instcd", model.getValue("/root/temp/instcd"));
- model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/send/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.makeValue("/root/send/refflagcd", "1");
- model.makeValue("/root/send/refval", model.getValue("/root/temp/pid"));
- submit("TRLPR00701");
-
- //-----------------------------------------------------------------------------
- // 병리번호 목록이 존재할 경우 맨 위의 병리번호를 기준으로 검사결과를 표시한다.
- if (getNodesetCount("/root/main/frznptno/frznptnolist") > 0) {
- fExePtNoGridClick(1);
- }
- }
- /* @group : 동결절편 결과조회 화면
- * @ver : 2007.06.05 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면종료 함수
- */
- function fExePopupClose() {
- window.close();
- }
-
- /* @group : 동결절편결과조회
- * @ver : 2007.06.05 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 동절절편 Cassette(블럭) 조회 함수
- */
- function fExePtNoGridClick(pRowNo) {
-
- var sSrcNode = "/root/main/frznptno/frznptnolist";
- var sDescNode = "/root/main/frzncste/frzncstelist";
-
- //----------------------------
- if (pRowNo <= 0) return false;
- if (grd_frznptnolist.isCell(event.target) && grd_frznptnolist.row >= grd_frznptnolist.fixedRows) {
- // Continue
- } else {
- return false;
- }
-
-
- //--------------------------------
- model.removeNodeset("/root/send");
-
- //-----------------------------------------------------------------------------------------
- model.makeValue("/root/send/instcd", model.getValue(sSrcNode + "[" + pRowNo + "]/instcd"));
- model.makeValue("/root/send/ptno", model.getValue(sSrcNode + "[" + pRowNo + "]/ptno"));
-
- //-------------------
- submit("TRLPR00702");
- }
-
-
- function fExePatPopupCall() {
-
- model.makeNode("/root/source");
- model.removeNodeset("/root/main/patinfo/patinfolist");
- model.makeNode("/root/main/patinfo/patinfolist");
- model.makeValue("/root/source/srchcond", "1"); // 등록번호(1), 환자명(2)
- model.makeValue("/root/source/pid", model.getValue("/root/temp/pid"));
- model.makeValue("/root/source/hngnm", "");
- model.makeValue("/root/source/rrgstno1", "");
- model.makeValue("/root/source/rrgstno2", "");
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
-
- //----------------------------------------------------------
- if (getNodesetCount("/root/main/patinfo/patinfolist") > 0) {
- model.makeValue("/root/temp/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/temp/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.makeValue("/root/temp/patnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
-
- //-------------------
- // 병리번호 목록 조회
- fGetFrznPtNolist();
- }
-
- //--------------
- model.refresh();
- }
-
- function fExePidKeyPress() {
- if(event.keyCode == 13) {
- model.setValue("/root/temp/pid", ipt_pid.currentText);
- ipt_pid.refresh();
-
- //-----------------
- fGetFrznPtNolist();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1066" pageheight="594" guideline="1,1063;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_biz" style="left:0px; top:0px; width:1050px; height:551; ">
- <caption id="caption2" class="tit_2" style="left:5px; top:10; width:111px; height:13px; ">환자정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:392; y2:25px; "/>
- <caption id="caption3" class="cell_1" style="left:0; top:30px; width:80; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <caption id="caption4" class="cell_1" style="left:208px; top:30px; width:80px; height:23px; text-align:center; vertical-align:middle; ">환자성명</caption>
- <output id="opt_kornm" ref="/root/temp/patnm" class="output_fix" style="left:291px; top:31px; width:100px; height:19px; "/>
- <caption id="caption5" class="tit_2" style="left:5px; top:62px; width:111px; height:14px; ">접수목록</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:77px; x2:160px; y2:77px; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:52px; x2:392px; y2:52px; "/>
- <datagrid id="grd_frznptnolist" nodeset="/root/main/frznptno/frznptnolist" caption="기관코드^ptno^병리번호^등록번호^환자명^접수일자^접수시간^병리번호" colsep="^" colwidth="0, 0, 80, 0, 0, 70, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" navindex="3" style="left:0px; top:82px; width:160px; height:460; border-color:#c0c0c0; border-style:solid; ">
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col class="text_center" ref="dispptno"/>
- <col class="text_center" ref="pid"/>
- <col class="text_center" ref="patnm"/>
- <col class="text_center" ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="acpttm" format="99:99:99" mask="exclude" showmask="true"/>
- <col ref="acptdd"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExePtNoGridClick(grd_frznptnolist.row);
- ]]>
- </script>
- </datagrid>
- <caption id="caption6" class="tit_2" style="left:168px; top:62px; width:157px; height:13px; ">Frozen 결과</caption>
- <line id="line4" class="line_1" style="x1:163px; y1:77px; x2:1050px; y2:77px; "/>
- <datagrid id="grd_frzncstelist" nodeset="/root/main/frzncste/frzncstelist" class="datagrid2" caption="instcd^ptno^dispptno^spcacptdd^spcacptno^검체코드^검체명^세부
검체^Cassette
번호^Cassette
내용^접수일자^접수
시간^입고일자^Slide
제작시간^판독일자^진단
시간^진 단^판독의명1^판독의사1^판독의명2^판독의사2^판독의명3^판독의사3^caption2^지연사유^Comment" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 85, 40, 0, 70, 0, 54, 0, 54, 0, 54, 179, 60, 0, 60, 0, 0, 0, 0, 90, 110" dataheight="25" forecolorfrozen="#339966" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" navindex="4" style="left:163px; top:82px; width:887px; height:460px; border-style:solid; ">
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col ref="dispptno"/>
- <col ref="spcacptdd"/>
- <col ref="spcacptno"/>
- <col ref="spccd"/>
- <col ref="spcnm"/>
- <col ref="spcacptseqno"/>
- <col ref="csteno"/>
- <col ref="cstecnts"/>
- <col ref="acptdd" type="inputdate"/>
- <col ref="acpttm" type="input" format="99:99:99" mask="exclude" showmask="true"/>
- <col ref="indd" type="inputdate"/>
- <col ref="intm" type="input" format="99:99:99" mask="exclude" showmask="true"/>
- <col ref="readdd" type="inputdate"/>
- <col ref="readtm" type="input" format="99:99:99" mask="exclude" showmask="true"/>
- <col ref="readrslt" type="input"/>
- <col ref="readdrnm1"/>
- <col ref="readdrid1" type="combo">
- <choices>
- <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col ref="readdrnm2"/>
- <col ref="readdrid2" type="combo" style="left:690px; top:32px; width:100px; height:25px; ">
- <choices>
- <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col ref="readdrnm3"/>
- <col ref="readdrid3" type="combo">
- <choices>
- <itemset nodeset="/root/init/deptuserlist/deptuserlisttbl[occukind='Y']">
- <label ref="username2"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col ref="delyflagcd"/>
- <col ref="delyresncd" type="combo"/>
- <col ref="cmtcnts" type="input"/>
- </datagrid>
- <button id="btn_search" class="icon_search" navindex="2" style="left:187px; top:31px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePatPopupCall();
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/temp/pid" navindex="1" maxlength="10" style="left:83px; top:31px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExePidKeyPress();
- ]]>
- </script>
- </input>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:551; width:1050px; height:27px; ">
- <button id="btn_cls" class="btn4_letter2" navindex="5" style="left:994; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePopupClose();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1050; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|