123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPP02800_frozen검체현황조회.xrw
- * 설 명 : frozen검체현황조회
- * 설 계 자 : (주)평화이즈 - 박상환
- * 작 성 자 : (주)평화이즈 - 박상환
- * 작 성 일 : 2009.08.07
- * 수정이력 :
- * 기 타 :
- -->
- <?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>frozen검체현황조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <acptspc>
- <acptspclist>
- <spcstatnm/>
- <spcbarcdno>A0X2B000201</spcbarcdno>
- <instcd/>
- <ptno/>
- <dispptno/>
- <pid/>
- <patnm/>
- <patflagnm/>
- <orddeptnm/>
- <orddrid/>
- <prcpdd>20080808</prcpdd>
- <prcptm>121212</prcptm>
- <trandd/>
- <trantm/>
- <delivedd/>
- <delivetm/>
- <delivenm/>
- <cnfmdd/>
- <cnfmtm/>
- <acptdd/>
- <acpttm/>
- <acptnm/>
- <testcd>PMO03001</testcd>
- <testnm/>
- <readdd/>
- <readdrnm/>
- <execprcpuniqno/>
- <prcpgenrflag/>
- <grosdrnm/>
- </acptspclist>
- <spccntinfo>
- <trancnt/>
- <recvcnt/>
- <acptcnt/>
- <patcnt/>
- <testcnt/>
- </spccntinfo>
- </acptspc>
- <detlstat>
- <detlstatinfo>
- <instcd/>
- <tretflagcd/>
- <tretdd/>
- <trettm/>
- <tretpsnnm/>
- </detlstatinfo>
- </detlstat>
- </main>
- <send/>
- <init>
- <acptfromdd/>
- <acpttodd/>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- <hospenv>
- <hospenvinfo>
- <instcd/>
- <lendrtnterm/>
- <recvqualmthdcd/>
- <plgydeptcd/>
- <plgyteamcd/>
- <doctjobgradcd/>
- <teamjobgradcd/>
- </hospenvinfo>
- </hospenv>
- <refmthd/>
- <refval/>
- <popupmenu>
- <item>
- <nm>병리번호별 상태조회</nm>
- <funt>fExeAcptDetlStat</funt>
- </item>
- </popupmenu>
- <ptnocd>
- <ptnocdlist>
- <instcd/>
- <ptnocd/>
- <ptnonm/>
- </ptnocdlist>
- </ptnocd>
- <ptnocode/>
- <fromyear/>
- <fromptno/>
- <toyear/>
- <toptno/>
- </init>
- <hidden>
- <userdeptcd/>
- </hidden>
- </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[
- fExeInitialize();
- ]]>
- </script>
- <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="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
- <submission id="TRLPP01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptspc/acptspclist"/>
- <submission id="TRLPP01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detlstat/detlstatinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 검사진행현황
- * @ver : 2009.08.10
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize() {
- //----------------
- // 시스템일시 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
-
-
- submit("TRLPZ00101", false);
- submit("TRLPZ00102", false);
- submit("TRLPZ00109", false);
-
-
- // common.js
- if ( checkOpener() ) {
- var param = opener.javascript.getParameter("opener_parameter_id"); //opener parameter value를 get
- if (param != "") { // opener parameter value가 있는 경우
- model.setValue("/root/init/refval", param);
- }
- }
-
- //---------------------------------------------------------
- // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
- lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
- //----------------------------------------------------
- model.removeNodeset("/root/main/acptspc/acptspclist");
-
- //-------------------------------------------
- model.setValue("/root/init/refmthd", "0");
-
- //-------------------
- // 병리번호 목록 조회
- fGetSpcStatList();
-
- // //----------------------------------
- // lpzfTopInfo(); // 상단정보 호출
- //
- // //----------------------------------------------
- // if (model.getValue("/root/paminfo/pid") != "") {
- // model.setValue("/root/init/refmthd", "1");
- // model.setValue("/root/init/refval", model.getValue("/root/paminfo/pid"));
- //
- // cmb_refflagcd.refresh();
- // ipt_refval.refresh();
- //
- // //-------------------
- // // 병리번호 목록 조회
- // fGetSpcStatList();
- // }
-
- //--------------
- model.refresh();
- }
-
- /* @group : 검사진행현황
- * @ver : 2009.08.10
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검색값 입력 처리 함수
- */
- function fExeRefValInpt() {
-
- //-----------------------
- if(event.keyCode == 13) {
- model.setValue("/root/init/refval", ipt_refval.currentText);
- ipt_refval.refresh();
-
- //----------------
- fGetSpcStatList();
- }
- }
-
- /* @group : 검사진행현황
- * @ver : 2009.08.10
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검체별 상세목록 조회 함수
- */
- function fGetSpcStatList() {
-
- var sPtNoFrom = model.getValue("/root/init/ptnofrom");
- var sPtNoTo = model.getValue("/root/init/ptnoto");
- var sFromDD = model.getValue("/root/init/acptfromdd");
- var sToDD = model.getValue("/root/init/acpttodd");
- var sTemp = "";
- var nodelist = "";
- var sCntdelive = 0 ;
- var sCntcnfm = 0 ;
- var sCntacpt = 0 ;
-
- //--------------------------------
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/acptspc/acptspclist");
- model.removeNodeset("/root/main/acptspc/spccntinfo");
-
- //------------------------------------
- if(model.getValue("/root/init/refval") == ""){
- messageBox("바코드번호는 반드시 입력해야 합니다", "E999", "");
- return false;
- }
-
- //------------------------------------------------
- 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.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/refmthd", model.getValue("/root/init/refmthd"));
- model.makeValue("/root/send/refval", model.getValue("/root/init/refval"));
- model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
- model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
- 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"));
-
- //-------------------
- submit("TRLPP01101");
-
- nodelist = instance1.selectNodes("/root/main/acptspc/acptspclist");
- for(var i = 1; i <= nodelist.length; i++){
- if(model.getValue("/root/main/acptspc/acptspclist[" + i + "]/delivedd") != "-" && model.getValue("/root/main/acptspc/acptspclist[" + i + "]/delivedd") != ""){
- sCntdelive = sCntdelive + 1;
- }
- if(model.getValue("/root/main/acptspc/acptspclist[" + i + "]/cnfmdd") != "-" && model.getValue("/root/main/acptspc/acptspclist[" + i + "]/cnfmdd") != ""){
- sCntcnfm = sCntcnfm + 1;
- }
- if(model.getValue("/root/main/acptspc/acptspclist[" + i + "]/acptdd") != "-" && model.getValue("/root/main/acptspc/acptspclist[" + i + "]/acptdd") != ""){
- sCntacpt = sCntacpt + 1;
- }
- }
-
- model.setValue("/root/main/acptspc/spccntinfo/trancnt", sCntdelive);
- model.setValue("/root/main/acptspc/spccntinfo/recvcnt", sCntcnfm);
- model.setValue("/root/main/acptspc/spccntinfo/acptcnt", sCntacpt);
-
- model.refresh();
-
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1020" pageheight="635" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1000px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">frozen검체현황조회</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1000px; height:608px; ">
- <caption id="caption2" class="tit_2" style="left:5px; top:105px; width:140px; height:13px; ">검체목록</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:120px; x2:1000px; y2:120px; "/>
- <group id="grp_sea" style="left:0px; top:10px; width:1000px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1000px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" navindex="10" style="left:930px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetSpcStatList();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_4" style="x1:914px; y1:7px; x2:914px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <select1 id="cmb_refflagcd" ref="/root/init/refmthd" class="combo_search" navindex="8" visibility="hidden" appearance="minimal" style="left:385px; top:10px; width:112px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>바코드번호</label>
- <value>0</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_refval" ref="/root/init/refval" class="input_s_essential" navindex="9" style="left:125px; top:10px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRefValInpt();
- ]]>
- </script>
- </input>
- <caption id="caption4" class="search_name" style="left:19px; top:9px; width:100px; height:17px; ">바코드번호 :</caption>
- </group>
- <caption id="caption13" class="tit_2" style="left:5px; top:53px; width:111px; height:13px; ">검체현황</caption>
- <line id="line4" class="line_1" style="x1:1px; y1:68px; x2:1000px; y2:68px; "/>
- <caption id="caption31" class="cell_1" style="left:0px; top:73px; width:85px; height:23px; vertical-align:middle; ">검체전달</caption>
- <output id="opt_spctran" ref="/root/main/acptspc/spccntinfo/trancnt" class="output_fix" format="#,###,###" style="left:88px; top:74px; width:109px; height:19px; font-weight:bold; text-align:right; vertical-align:middle; "/>
- <caption id="caption14" class="cell_1" style="left:200px; top:73px; width:85px; height:23px; vertical-align:middle; ">병리과 수신</caption>
- <output id="opt_spcrecv" ref="/root/main/acptspc/spccntinfo/recvcnt" class="output_fix" format="#,###,###" style="left:288px; top:74px; width:108px; height:19px; font-weight:bold; text-align:right; vertical-align:middle; "/>
- <caption id="caption15" class="cell_1" style="left:399px; top:73px; width:85px; height:23px; vertical-align:middle; ">검체접수</caption>
- <output id="opt_spcacpt" ref="/root/main/acptspc/spccntinfo/acptcnt" class="output_fix" format="#,###,###" style="left:487px; top:74px; width:108px; height:19px; font-weight:bold; text-align:right; vertical-align:middle; "/>
- <caption id="caption17" class="cell_1" visibility="hidden" style="left:607px; top:74px; width:85px; height:23px; vertical-align:middle; ">총 환자수</caption>
- <output id="opt_totalpat" ref="/root/main/acptspc/spccntinfo/patcnt" class="output_fix" visibility="hidden" format="#,###,###" style="left:695px; top:75px; width:108px; height:19px; font-weight:bold; text-align:right; vertical-align:middle; "/>
- <caption id="caption18" class="cell_1" visibility="hidden" style="left:806px; top:74px; width:85px; height:23px; vertical-align:middle; ">총 검사수</caption>
- <output id="opt_totalspc" ref="/root/main/acptspc/spccntinfo/testcnt" class="output_fix" visibility="hidden" format="#,###,###" style="left:895px; top:75px; width:100px; height:19px; font-weight:bold; text-align:right; vertical-align:middle; "/>
- <line id="line5" class="line_3" style="x1:0px; y1:95px; x2:1000; y2:95px; "/>
- <datagrid id="grd_acptspclist" nodeset="/root/main/acptspc/acptspclist" caption="상태^바코드번호^기관코드^ptno^병리번호^육안검사의^등록번호^환자명^환자구분^진료과^진료의사^처방일자^처방시간^출력일자^출력시간^채취일자^채취시간^채취자^수신일자^수신시간^접수일자^접수시간^접수자^검사코드^처방명^판독일자^판독의사^execprcpuniqno^prcpgenrflag" colsep="^" colwidth="30, 85, 0, 0, 80, 70, 70, 70, 0, 0, 0, 70, 60, 70, 60, 70, 60, 60, 70, 60, 70, 60, 60, 76, 100, 70, 79, 0, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:125px; width:1000px; height:483px; ">
- <col ref="spcstatnm" visibility="hidden"/>
- <col ref="spcbarcdno"/>
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col ref="dispptno"/>
- <col class="text_center" ref="grosdrnm" visibility="hidden"/>
- <col class="text_center" ref="pid" visibility="hidden"/>
- <col class="text_center" ref="patnm" visibility="hidden"/>
- <col class="text_center" ref="patflagnm"/>
- <col ref="orddeptnm"/>
- <col ref="orddrid"/>
- <col class="text_center" ref="prcpdd" type="output" visibility="hidden" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="prcptm" visibility="hidden" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col class="text_center" ref="trandd" visibility="visible" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="trantm" visibility="visible" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col class="text_center" ref="delivedd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="delivetm" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col class="text_center" ref="delivenm"/>
- <col class="text_center" ref="cnfmdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="cnfmtm" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col class="text_center" ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col class="text_center" ref="acpttm" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col class="text_center" ref="acptnm"/>
- <col ref="testcd" visibility="hidden"/>
- <col ref="testnm" type="output" visibility="hidden"/>
- <col ref="readdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="readdrnm"/>
- <col ref="execprcpuniqno"/>
- <col ref="prcpgenrflag"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|