123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 채혈접수취소내역조회.xrw
- * 설 명 : 채혈접수취소내역조회
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 유은자
- * 작 성 일 : 2010.01.18
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <queryinfo>
- <cncldt/>
- <cnclid/>
- <bcolldt/>
- <bcollid/>
- <spcacptdt/>
- <spcacptid/>
- <pid/>
- <patnm/>
- <sexage/>
- <orddrnm/>
- <orddeptnm/>
- <wardroom/>
- <prcpdd/>
- <bcno/>
- <tclsnm/>
- <tclscd/>
- <cnclkind/>
- <cnclcd/>
- <cnclcnts/>
- <usernm/>
- </queryinfo>
- <stainfo>
- <cnclcd/>
- <cnclcnts/>
- <cnt00/>
- <cnt01/>
- <cnt02/>
- <cnt03/>
- <cnt04/>
- <cnt05/>
- <cnt06/>
- <cnt07/>
- <cnt08/>
- <cnt09/>
- <cnt10/>
- <cnt11/>
- <cnt12/>
- </stainfo>
- </main>
- <send>
- <cncldts/>
- <cncldte/>
- <cnclkind/>
- <testlrgcd/>
- <testmdlcd/>
- <codeflag/>
- <userdeptflagcd/>
- <code/>
- <select/>
- <prcpgenrflag/>
- </send>
- <init>
- </init>
- <hidden>
- <forminfo>
- <cncldts/>
- <cncldte/>
- <cnclkind>00</cnclkind>
- <testgbn>1</testgbn>
- <testlrgcd>00</testlrgcd>
- <testmdlcd>00</testmdlcd>
- <prcpgenrflag>00</prcpgenrflag>
- </forminfo>
- <code>1</code>
- <select/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fnSetInit();
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <submission id="TRLLP02401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/queryinfo"/>
- <submission id="TRLLP02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/stainfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- //초기화
- function fnSetInit(){
-
- var toDay = getCurrentDate();
-
- model.setValue("/root/hidden/forminfo/cncldts", toDay);
- model.setValue("/root/hidden/forminfo/cncldte", toDay);
-
- // 초기정보 조회
- //model.setValue("/root/send/codeflag", "0102|0104|0000|"); //0106 시행부서
- model.setValue("/root/send/codeflag", "0111|0106|0000|"); //0106 시행부서
- submit("TRLZZ00101");
-
- model.removeNodeset("/root/main/queryinfo");
- model.removeNodeset("/root/main/stainfo");
- model.removeNodeset("/root/hidden/report");
-
- model.refresh();
- }
-
- //채혈/접수 취소내역
- function fnGetCancelList(){
-
- model.removeNodeset("/root/main/queryinfo");
-
- model.setValue("/root/send/cncldts", model.getValue("/root/hidden/forminfo/cncldts")); // 취소시작일
- model.setValue("/root/send/cncldte", model.getValue("/root/hidden/forminfo/cncldte")); // 취소종료일
- model.setValue("/root/send/cnclkind", model.getValue("/root/hidden/forminfo/cnclkind")); // 취소구분
- model.setValue("/root/send/testlrgcd", model.getValue("/root/hidden/forminfo/testlrgcd"));
- model.setValue("/root/send/testmdlcd", model.getValue("/root/hidden/forminfo/testmdlcd"));
- model.setValue("/root/send/prcpgenrflag", model.getValue("/root/hidden/forminfo/prcpgenrflag"));
- model.setValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
- model.makeValue("/root/send/testgbn", model.getValue("/root/hidden/forminfo/testgbn"));
- model.makeValue("/root/send/code", model.getValue("/root/hidden/code"));
- model.makeValue("/root/send/select", model.getValue("/root/hidden/select"));
- submit("TRLLP02401");
- submit("TRLLP02402");
- }
-
- //출력
- function fnRexpertPrint() {
- //model.makeNode("/root/hidden/report");
- //for(i=1; i<grd_incgspc.rows; i++ ){
- // if(model.getValue("/root/main/getinsgspc["+i+"]/choi")=="Y"){
- // //model.removeNodeset("/root/main/getinsgspc["+i+"]");
- // copyNodeListType("/root/hidden/report", "/root/main/getinsgspc["+i+"]", "arter");
- // }
- //}
- //exeReportPreview("RPLLP00100", "XMLSTR", "/root/hidden/report");
- }
-
- function fnDisplay_TestInfo(){
-
- if(model.getValue("/root/hidden/forminfo/testgbn") == "1"){
- cmb_testlrg.visible = true;
- cmb_testmdl.visible = false;
- }
- else{
- cmb_testlrg.visible = false;
- cmb_testmdl.visible = true;
- }
-
- model.setValue("/root/hidden/forminfo/testlrgcd", "0");
- model.setValue("/root/hidden/forminfo/testmdlcd", "00");
- model.refresh();
- }
-
-
- function fnExeExcel(pGridId) {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- pGridId.saveExcel(fileName);
- }
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group1" style="left:0px; top:0px; width:1192px; height:60px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1189px; height:60px; "/>
- <line id="line3" class="line_4" style="x1:1100px; y1:6px; x2:1100px; y2:53px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1113px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fnGetCancelList();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_no_b" style="left:197px; top:6px; width:15px; height:17px; ">~</caption>
- <input id="ipt_cncldts" ref="/root/hidden/forminfo/cncldts" class="input_search" inputtype="date" style="left:103px; top:6px; width:90px; height:19px; "/>
- <input id="ipt_cncldte" ref="/root/hidden/forminfo/cncldte" class="input_search" inputtype="date" style="left:215px; top:6px; width:90px; height:19px; "/>
- <caption id="cap_rgstdd" class="search_name" style="left:10px; top:6px; width:90px; height:17px; ">취소일자 :</caption>
- <caption id="caption1" class="search_name" style="left:720px; top:6px; width:86px; height:17px; ">시행부서 :</caption>
- <select1 id="cmb_testgbn" ref="/root/hidden/forminfo/testgbn" appearance="minimal" style="left:810px; top:6px; width:85px; height:19px; font-weight:normal; ">
- <choices>
- <item>
- <label>대분류</label>
- <value>1</value>
- </item>
- <item>
- <label>중분류</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fnDisplay_TestInfo();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_testmdl" ref="/root/hidden/forminfo/testmdlcd" visibility="hidden" appearance="minimal" style="left:897px; top:6px; width:125px; height:19px; font-weight:normal; ">
- <choices>
- <itemset nodeset="/root/init/LB0106">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_testlrg" ref="/root/hidden/forminfo/testlrgcd" appearance="minimal" style="left:897px; top:6px; width:125px; height:19px; font-weight:normal; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:425px; top:6px; width:86px; height:17px; ">처리구분 :</caption>
- <select1 id="cmb_cnclkind" ref="/root/hidden/forminfo/cnclkind" appearance="minimal" style="left:515px; top:6px; width:105px; height:19px; font-weight:normal; ">
- <choices>
- <item>
- <label>전체</label>
- <value>00</value>
- </item>
- <item>
- <label>채혈취소</label>
- <value>01</value>
- </item>
- <item>
- <label>접수취소</label>
- <value>02</value>
- </item>
- <item>
- <label>채혈접수취소</label>
- <value>03</value>
- </item>
- <item>
- <label>검사취소</label>
- <value>04</value>
- </item>
- <item>
- <label>POCT취소</label>
- <value>05</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:720px; top:30px; width:86px; height:17px; ">조회구분 :</caption>
- <select1 id="combo1" ref="/root/hidden/code" appearance="minimal" style="left:810px; top:30px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>환자번호</label>
- <value>1</value>
- </item>
- <item>
- <label>바코드번호</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="input1" ref="/root/hidden/select" style="left:897px; top:30px; width:105px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13"){
- model.setvalue("/root/hidden/select",input1.currentText);
- model.refresh();
- fnGetCancelList();
- }
- ]]>
- </script>
- </input>
- <caption id="caption8" class="search_name" style="left:425px; top:30px; width:86px; height:17px; ">처방구분 :</caption>
- <select1 id="combo2" ref="/root/hidden/forminfo/prcpgenrflag" appearance="minimal" style="left:515px; top:30px; width:105px; height:19px; font-weight:normal; ">
- <choices>
- <item>
- <label>전체</label>
- <value>00</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>건진</label>
- <value>S</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>응급</label>
- <value>E</value>
- </item>
- <item>
- <label>DSC</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption4" class="tit_2" style="left:10px; top:66px; width:150px; height:13px; ">채혈/접수 취소내역</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:81px; x2:1193px; y2:81px; "/>
- <datagrid id="grd_cncllist" nodeset="/root/main/queryinfo" caption="취소일시^취소자^채혈일시^채혈자^접수일시^접수자^등록번호^성명^성별/나이^의뢰의사^진료과^병동/병실^처방일시^바코드번호^검사명^처리구분^취소사유^피통보자" colsep="^" colwidth="110, 50, 110, 50, 110, 50, 76, 60, 60, 60, 56, 120, 80, 76, 120, 70, 200, 70" dataheight="23" explorerbar="sortshow" fixedcols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:5px; top:86px; width:1188px; height:395px; ">
- <col ref="cncldt" format="yyyy-mm-dd hh:mm"/>
- <col ref="cnclid"/>
- <col ref="bcolldt" format="yyyy-mm-dd hh:mm"/>
- <col ref="bcollid"/>
- <col ref="spcacptdt" format="yyyy-mm-dd hh:mm"/>
- <col ref="spcacptid"/>
- <col ref="pid"/>
- <col ref="patnm"/>
- <col ref="sexage"/>
- <col ref="orddrnm"/>
- <col ref="orddeptnm"/>
- <col ref="wardroom"/>
- <col ref="prcpdd" format="yyyy-mm-dd hh:mm"/>
- <col ref="bcno" type="input"/>
- <col ref="tclsnm"/>
- <col ref="cnclkind"/>
- <col ref="cnclcnts"/>
- <col ref="usernm"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_cncllist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button2" class="btn2_letter2" style="left:1150px; top:61px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fnExeExcel(grd_cncllist);
- ]]>
- </script>
- </button>
- <datagrid id="grd_stainfo" nodeset="/root/main/stainfo" caption="사유내용^코드^전체^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월" colsep="^" colwidth="230, 45, 80, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65" dataheight="23" fixedcols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:510px; width:1188px; height:233px; text-align:center; ">
- <col ref="cnclcnts" style="text-align:left; "/>
- <col ref="cnclcd"/>
- <col ref="cnt00"/>
- <col ref="cnt01"/>
- <col ref="cnt02"/>
- <col ref="cnt03"/>
- <col ref="cnt04"/>
- <col ref="cnt05"/>
- <col ref="cnt06"/>
- <col ref="cnt07"/>
- <col ref="cnt08"/>
- <col ref="cnt09"/>
- <col ref="cnt10"/>
- <col ref="cnt11"/>
- <col ref="cnt12"/>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:5px; top:488px; width:150px; height:13px; ">채혈/접수 취소건수 조회</caption>
- <line id="line2" class="line_1" style="x1:5px; y1:505px; x2:1193px; y2:505px; "/>
- <button id="btn_ExcelSta" class="btn2_letter2" style="left:1150px; top:485px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fnExeExcel(grd_stainfo);
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1190px; y2:25px; "/>
- <button id="btn_clear" class="btn4_letter3" style="left:1121px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fnSetInit();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">채혈/접수 취소내역 조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|