123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLJ00700_CMC위수탁접수관리.xrw
- * 설 명 : 세포유전대장
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2009.10.07
- * 수정이력 : 2009.12.20 박정은 접수시 의뢰서 전송기능 추가
- * 기 타 :
- -->
- <?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>CMC위수탁접수관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <trustlist>
- <chk/>
- <reqinstcd/>
- <reqbcno/>
- <tclsnm/>
- <spcnm/>
- <reqtclscd/>
- <reqspccd/>
- <trustinstcd/>
- <trustbcno/>
- <reqpid/>
- <trustpid/>
- <patnm/>
- <rrgstno1/>
- <rrgstno2/>
- <psptno/>
- <age/>
- <sex/>
- <bixflagcd/>
- <reqdd/>
- <reqtm/>
- <reqnm/>
- <cnfmdd/>
- <cnfttm/>
- <cnfmnm/>
- <conttestintvlflagcd/>
- <conttestorgtims/>
- <conttestbasetm/>
- <prcpdelivefact/>
- <suppkind/>
- <acptstatcd/>
- <etc1/>
- <etc2/>
- <etc3/>
- <urinextrvol/>
- <reqno/>
- <userflagcd/>
- <reqorddrnm/>
- <reqorddeptnm/>
- <reqwardroom/>
- <reqcnts/>
- </trustlist>
- <TestInfo>
- <barcodeinfo/>
- <errinfo/>
- </TestInfo>
- </main>
- <send>
- <data1/>
- <data2/>
- <codeflag/>
- <drid/>
- <orddeptcd/>
- <scrnid/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <trustgbn>1</trustgbn>
- <fromdd/>
- <todd/>
- <trustinstcd>00</trustinstcd>
- <reqpid/>
- <trustpid/>
- </ref>
- <drid>00</drid>
- </hidden>
- <temp>
- </temp>
- </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" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/HanFont24.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/codeflag" replace="instance" resultref="/root/LB"/>
- <submission id="TRLLJ00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/trustlist"/>
- <submission id="TXLLJ00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/TestInfo"/>
- <!-- 프린터 설정-->
- <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fSetInit(){
-
- model.setValue("/root/send/codeflag", "0110|0000|0415|"); //0110 외부기관코드 0000 유저플래그 0415 후인증의사
- submit("TRLZZ00101");
-
- var today = getCurrentDate();
-
- grd_trustlist.fixedcellcheckbox(0,1)=true;
-
- fSetacptbutton(1);
-
- model.setValue("/root/hidden/ref/fromdd", today);
- model.setValue("/root/hidden/ref/todd", today);
-
- model.removeNodeset("/root/main/trustlist");
-
- model.setValue("/root/send/scrnid", getScreenID());
- submit("TRLLC90101");
- lzzfMakeBrcdPrntObjHanDo("CommAX");
-
- model.refresh();
-
- }
-
- function fGetTrustOperList(){
- model.makeValue("/root/hidden/ref/userflagcd", model.getValue("/root/init/LB0000/nm"));
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- submit("TRLLJ00801");
-
- }
-
- // 접수
- function fSetTrustAcpt(){
-
- var drid = model.getValue("/root/hidden/drid");
- var orddeptcd;
-
- if(drid == "00"){
- alert("후인증 의사를 지정해 주십시오.");
- return;
- }
-
- var n = getNodesetCount("/root/init/LB0415");
-
- for(var dRow = 1 ; dRow < n ; dRow++){
- if(model.getValue("/root/init/LB0415["+dRow+"]/cd") == drid){
- orddeptcd = model.getValue("/root/init/LB0415["+dRow+"]/etc01");
- }
- }
-
- for(var tRow = 1; tRow < grd_trustlist.rows ; tRow++){
-
- if(model.getValue("/root/main/trustlist["+ tRow +"]/chk") == "true"){
- grd_trustlist.rowStatus(tRow) = 2;
- }else{
- grd_trustlist.rowStatus(tRow) = 0;
- }
- }
-
- model.setValue("/root/send/orddeptcd", orddeptcd);
- model.setValue("/root/send/drid", drid);
- model.setValue("/root/send/data2", getGridUpdateData(grd_trustlist));
-
-
- submit("TXLLJ00801");
-
- var prtkind = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/prntkind");
-
- if( prtkind == "2" || prtkind == "6" || prtkind == "7" ){
- fLisSpcBarcodePrint2("/root/main/barcode/barcodeinfo", "", "", "true");
- }else if(prtkind=="8"){ // B472
- fLisSpcBarcodePrint3("/root/main/TestInfo/barcodeinfo", "", "", "true");
- }else{ // Zebra
- fLisSpcBarcodePrint("/root/main/TestInfo/barcodeinfo", "", "", "true"); //fLisSpcBarcodePrint(진검바코드인스턴스, 보관검체바코드갯수, 병리바코드갯수, 화면구분(병동,환자별일때 true))
- }
-
- // err있으면
- if(model.getValue("/root/main/TestInfo/errinfo/errcnt") !="" ){
- alert("▶ " + model.getValue("/root/main/TestInfo/errinfo/errcnt"));
- }
-
- // 접수후 재조회
- fGetTrustOperList();
-
- }
-
- function fExeTrustRadio(){
-
- var Tradio = model.getValue("/root/hidden/ref/trustgbn");
-
- fSetacptbutton(Tradio);
-
- model.refresh();
-
- }
-
- //프린터 설정
- function fSetPrint() {
- var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
-
- if(count == 0) {
- model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
-
- open("SPLLC90100_바코드프린터설정.xrw", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
- }
-
-
- function fSetallcheck(){
-
- for(var tRow = 1; tRow < grd_trustlist.rows ; tRow++){
-
-
- if(model.getValue("/root/main/trustlist["+ tRow +"]/chk") == "true"){
-
- grd_trustlist.rowStatus(tRow) = 2; // 수정
- }else{
- grd_trustlist.rowStatus(tRow) = 0; // 취소
- }
- }
- grd_trustlist.refresh();
- }
-
- // 접수, 접수취소버튼 보이게
- function fSetacptbutton(ref){
- if(ref=="1"){
- button1.visible = true;
- button2.visible = false;
- }else{
- button1.visible = false;
- button2.visible = true;
- }
- }
-
- // 접수취소
- function fSetTrustAcptCancel(){
- alert("개발중");
- }
-
- ]]>
- </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:744; ">
- <line id="line1" class="line_1" style="x1:0px; y1:105px; x2:1194px; y2:105px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:90px; width:95px; height:14px; ">위수탁리스트</caption>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:70px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:70px; "/>
- <button id="btn_ref" class="btn1_letter2" style="left:1124px; top:24px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTrustOperList();
- ]]>
- </script>
- </button>
- <line id="line3" class="line_4" style="x1:1109px; y1:24px; x2:1109px; y2:46px; "/>
- <caption id="caption3" class="search_name" style="left:19px; top:9px; width:86px; height:17px; ">조회구분 :</caption>
- <select1 id="radio1" ref="/root/hidden/ref/trustgbn" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:115px; top:8px; width:165px; height:20px; border-style:none; ">
- <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[
- fExeTrustRadio();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="search_no_b" style="left:505px; top:10px; width:15px; height:17px; vertical-align:middle; ">~</caption>
- <input id="ipt_from" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:415px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_to" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:520px; top:8px; width:85px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:324px; top:9px; width:87px; height:17px; ">조회일자 :</caption>
- <caption id="caption11" class="search_name" style="left:670px; top:9px; width:92px; height:17px; ">요청기관 :</caption>
- <select1 id="combo1" ref="/root/hidden/ref/trustinstcd" class="combo_default" appearance="minimal" style="left:765px; top:8px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:19px; top:38px; width:149px; height:17px; ">의뢰병원 등록번호 :</caption>
- <input id="input1" ref="/root/hidden/ref/reqpid" class="input_search" style="left:180px; top:37px; width:100px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:324px; top:38px; width:149px; height:17px; ">수탁병원 등록번호 :</caption>
- <input id="input2" ref="/root/hidden/ref/trustpid" class="input_search" style="left:505px; top:37px; width:100px; height:19px; "/>
- </group>
- <button id="btn_excel" class="btn2_letter2" visibility="visible" style="left:1152px; top:84px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <datagrid id="grd_trustlist" nodeset="/root/main/trustlist" class="datagrid2" caption="^요청일자^의뢰기관^의뢰병원
바코드번호^수탁기관
바코드번호^검사명^검체명^의뢰병원
등록번호^CMCnU
등록번호^환자명^성별^나이^주민번호^주민번호^여권번호^구분코드^요청일자^요청시간^요청자명^확인일자^확인시간^확인자명^연속검사여부^연속검사^연속검사^전달사항^의뢰의사^의뢰부서^의뢰병동/병실^미수코드^접수구분^수탁기관^소변량^tclscd^spccd^reqno^reqcnts^userflagcd" colsep="^" colwidth="25, 80, 100, 90, 90, 150, 100, 80, 80, 70, 35, 35, 55, 60, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 72, 74, 100, 67, 53, 49, 43, 41, 100" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:105px; width:1194px; height:620px; text-align:center; ">
- <col checkvalue="true,false" ref="chk" type="checkbox"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="reqinstcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqbcno" type="input"/>
- <col ref="trustbcno" type="input"/>
- <col ref="tclsnm" style="text-align:left; "/>
- <col ref="spcnm" style="text-align:left; "/>
- <col ref="reqpid" type="input"/>
- <col ref="trustpid" type="input"/>
- <col ref="patnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="rrgstno1"/>
- <col ref="rrgstno2"/>
- <col ref="psptno" visibility="hidden"/>
- <col ref="bixflagcd"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqtm" format="hh:nn:ss"/>
- <col ref="reqnm"/>
- <col ref="cnfmdd" format="yyyy-mm-dd"/>
- <col ref="cnfmtm" format="hh:nn:ss"/>
- <col ref="cnfmnm"/>
- <col ref="conttestintvlflagcd"/>
- <col ref="conttestorgtims"/>
- <col ref="conttestbasetm"/>
- <col ref="prcpdelivefact"/>
- <col ref="reqorddrnm"/>
- <col ref="reqorddeptnm"/>
- <col ref="reqwardroom"/>
- <col ref="suppkind"/>
- <col ref="acptstatcd"/>
- <col disabled="true" ref="trustinstcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="urinextrvol"/>
- <col ref="reqtclscd"/>
- <col ref="reqspccd"/>
- <col ref="reqno" visibility="hidden"/>
- <col/>
- <col ref="userflagcd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_trustlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetallcheck();
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- fSetallcheck();
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_orddrid" ref="/root/hidden/drid" appearance="minimal" style="left:1047px; top:84px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0415">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_orddrid" class="cell_1" style="left:963px; top:82px; width:81px; height:23px; font-family:돋움; vertical-align:middle; ">후인증 의사</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetInit();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button1" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetTrustAcpt();
- ]]>
- </script>
- </button>
- <button id="btn_prnt" class="btn3_letter5" navindex="18" style="left:0px; top:3px; width:92px; height:22px; ">
- <caption>프린터설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetPrint();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
- <caption>접수취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //fSetTrustAcpt();
- fSetTrustAcptCancel();
- ]]>
- </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:202px; height:14px; ">CMC위수탁접수관리(수탁병원)</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|