12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLJ00900_CMC수탁접수결과관리(수탁병원).xrw
- * 설 명 : CMC수탁접수결과관리(수탁병원)
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2009.12.10
- * 수정이력 : 2009.12.20 박정은 접수시 의뢰서 전송기능 추가
- * 기 타 :
- -->
- <?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>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/>
- <reqfrmcd/>
- </trustlist>
- <TestInfo>
- <barcodeinfo/>
- <errinfo/>
- </TestInfo>
- <outerlist>
- <chk/>
- <reqdd/>
- <reqinstcd/>
- <reqbcno/>
- <trustbcno/>
- <tclsnm/>
- <spcnm/>
- <reqpid/>
- <trustpid/>
- <hngnm/>
- <sex/>
- <age/>
- <rsltstat/>
- <reptrslt/>
- <descrsltyn/>
- <readrslt/>
- <descrslt/>
- <imagrsltyn/>
- <imgrslt/>
- <imghht/>
- <imgwidt/>
- <rrgstno/>
- <usernm/>
- <deptengabbr/>
- <wardroom/>
- <urinextrvol/>
- <tclscd/>
- <spccd/>
- <testcd/>
- <tclskind/>
- <trustinstcd/>
- <userflagcd/>
- <level/>
- <sectnm/>
- <cmtyn/>
- </outerlist>
- <bcoll>
- <jaewoninfo>
- <jaewon/>
- </jaewoninfo>
- </bcoll>
- </main>
- <send>
- <data1/>
- <data2/>
- <codeflag/>
- <drid/>
- <orddeptcd/>
- <scrnid/>
- <outerdata/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <trustgbn>1</trustgbn>
- <fromdd/>
- <fromtm>0000</fromtm>
- <todd/>
- <totm>2359</totm>
- <trustinstcd>00</trustinstcd>
- <extrinstcd>00</extrinstcd>
- <reqpid/>
- <trustpid/>
- <acptgbn>1</acptgbn>
- <sectcd>00</sectcd>
- <tsectcd>00</tsectcd>
- </ref>
- <drid>00</drid>
- <cancelcombo/>
- <cancelcd/>
- <JoHoiFlag>
- <regnopatnm/>
- <bizflag>
- <Out/>
- </bizflag>
- <xrwGBN/>
- <bcollflag>1</bcollflag>
- <refflag>1</refflag>
- </JoHoiFlag>
- </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"/>
- <submission id="TRLOR00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/outerlist"/>
- <submission id="TXLOR00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TXLLJ00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TRLLC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/JoHoiFlag" resultref="/root/main/bcoll"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fSetInit(ref){
- model.resetInstanceNode("/root/init");
-
- model.makeValue("/root/send/codeflag", "0110|0000|0415|0111|0106|0101|"); //0110 외부기관코드 0000 유저플래그 0415 후인증의사 0111 시행부서 0106 세부 시행부서 0101취소사유
- submit("TRLZZ00101");
-
- var today = getCurrentDate();
-
- grd_trustlist.fixedcellcheckbox(0,1)=true;
- grd_outer.fixedcellcheckbox(0,1)=true;
-
- model.toggle("case_acpt");
-
- model.setvalue("/root/hidden/JoHoiFlag/xrwGBN" , "outbcoll");
- model.setvalue("/root/hidden/JoHoiFlag/bizflag" , "Out");
- fSetacptbutton(); // 조건따라 버튼 보이기 숨기기
-
- //model.setValue("/root/hidden/ref/fromdd", today);
- //model.setValue("/root/hidden/ref/todd", today);
-
- model.resetInstanceNode("/root/main/trustlist");
- model.resetInstanceNode("/root/main/TestInfo");
- model.resetInstanceNode("/root/main/outerlist");
- model.resetInstanceNode("/root/send/data1");
-
- model.setValue("/root/properties/menu/menuparam", "L");
- //fSetCancelCombo(); // 취소사유
-
- model.makeValue("/root/send/scrnid", getScreenID());
- submit("TRLLC90101");
- lzzfMakeBrcdPrntObjHanDo("CommAX");
-
- model.refresh();
-
- }
-
- // 취소 콤보 변경
- function fSetCancelCombo(){
- model.resetInstanceNode("/root/hidden/cancelcombo");
-
- var cntCR = instance1.selectNodes("/root/init/LB0101").length;
-
- NodeCnt = 1;
-
- for(i=1; i<= cntCR; i++){
-
- if(model.getValue("/root/init/LB0101["+ i +"]/etc01") == "03"){
- model.makeValue("/root/hidden/cancelcombo["+ NodeCnt +"]/cd", model.getValue("/root/init/LB0101["+ i +"]/cd"));
- model.makeValue("/root/hidden/cancelcombo["+ NodeCnt +"]/nm", model.getValue("/root/init/LB0101["+ i +"]/nm"));
-
- NodeCnt++;
- }
-
- }
- model.refresh();
- }
-
-
- // 수탁접수 조회버튼
- function fGetTrustOperList(){
- model.removenode("/root/send");
-
- model.makeValue("/root/hidden/ref/userflagcd", model.getValue("/root/init/LB0000/nm"));
- model.makeNode("/root/send/data1");
- model.copyNode("/root/send/data1" , "/root/hidden/ref");
-
- submit("TRLLJ00801");
- grd_trustlist.refresh();
- }
-
- // 접수
- function fSetTrustAcpt(){
-
- var drid = model.getValue("/root/hidden/drid");
- var orddeptcd;
- var lpid ;
-
- 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++){
-
- model.setvalue("/root/hidden/JoHoiFlag/regnopatnm", model.getValue("/root/main/trustlist["+ tRow +"]/reqpid"));
- // model.copyNode("/root/send/receivedata","/root/hidden/JoHoiFlag");
- // alert(model.getValue("/root/hidden/JoHoiFlag/regnopatnm"));
- // alert(model.getValue("/root/hidden/JoHoiFlag/bizflag"));
- // alert(model.getValue("/root/hidden/JoHoiFlag/xrwGBN"));
- // alert(model.getValue("/root/hidden/JoHoiFlag/bcollflag"));
- // alert(model.getValue("/root/hidden/JoHoiFlag/refflag"));
-
- if(model.getValue("/root/main/trustlist["+ tRow +"]/chk") == "true"){
- submit("TRLLC00101");
- //=============================================================
- //2013 04. 08일 입원유무체크 이재오 추가
- //=============================================================
-
- if(model.getValue("/root/main/bcoll/jaewoninfo/jaewon") == "Y") {
- alert(model.getValue("/root/main/trustlist["+ tRow +"]/reqpid") + " 는 입원환자입니다. 확인하세요.");
- model.setValue("/root/main/trustlist["+ tRow +"]/chk", "false");
- }
- }
- }
-
-
-
- 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.makeValue("/root/send/orddeptcd", orddeptcd);
- model.makeValue("/root/send/drid", drid);
- model.makeValue("/root/send/data2", getGridUpdateData(grd_trustlist));
- model.makeValue("/root/send/NL", model.getValue("root/properties/menu/menuparam")); //이재오 20130327일 추가
- // alert(model.getValue("root/properties/menu/menuparam"));
- // alert(orddeptcd);
- // alert(drid);
- // return ;
- submit("TXLLJ00801");
-
- if(getNodesetCount("/root/main/TestInfo/barcodeinfo") > 0){ // 바코드내용 있을때
-
- var prtkind = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/prntkind");
- var portnm = model.getvalue("/root/main/barcdprntsetup/prntsetupinfo/setupinfo/commkind");
-
- if( (prtkind == "9" && portnm == "01") || (prtkind == "11" && portnm == "01") || prtkind == "10" || prtkind == "2" || prtkind == "6" || prtkind == "7" ){
-
- fLisSpcBarcodePrint2("/root/main/TestInfo/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 fSetTrustAcptCancel(){
- //alert("개발중");
- //return;
- if(model.getValue("/root/hidden/cancelcd")==""){
- alert("취소 사유를 선택해 주십시오.");
- return;
- }
-
-
- 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;
- }
- var bcno1 = "";
- if(model.getValue("/root/main/trustlist["+ tRow +"]/chk") == "true"){
- if(model.getValue("/root/main/trustlist["+ tRow +"]/cmcrsltstat") != "" ){ // cmc수탁에서 결과전송한거
- messageBox(model.getValue("/root/main/trustlist["+ tRow +"]/trustbcno") + " 수탁결과 전송된 검체가 있습니다. 접수취소 할 수 없습니다. ", "I");
- return;
- }
- }
- }
-
- //model.setValue("/root/send/orddeptcd", orddeptcd);
- //model.setValue("/root/send/drid", drid);
- model.makeValue("/root/send/data2", getGridUpdateData(grd_trustlist));
- model.makeValue("/root/send/resncd", model.getValue("/root/hidden/cancelcd"));
- model.makeValue("/root/send/resndesc", cmb_cancel.label);
-
- submit("TXLLJ00802");
-
- // 접수취소후 재조회
- fGetTrustOperList();
- }
-
-
- //프린터 설정
- 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(){
- var today = getCurrentDate();
- // 수탁접수 선택됐을때
- if(sw_acpt.selected == true){
- model.toggle("case_acpt");
- if(model.getValue("/root/hidden/ref/trustgbn") == "1"){ // 미접수일때 접수만 보이게
- btn_acpt.visible = true;
- btn_acptcancel.visible = false;
- btn_rsltsend.visible = false;
-
- cap_cancel.visible = false;
- cmb_cancel.visible = false;
- }else{ // 접수완료일때 접수취소만 보이게
- btn_acpt.visible = false;
- btn_acptcancel.visible = true;
- btn_rsltsend.visible = false;
-
- cap_cancel.visible = true;
- cmb_cancel.visible = true;
- fSetCancelCombo(); // 취소사유 표시
- }
-
- cmb_TLrgCd.disabled = true;
- cmd_TMdlCd.disabled =true;
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
- model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden/ref/todd", today);
-
- }else{
- model.toggle("case_rslt");
- if(model.getValue("/root/hidden/ref/acptgbn") == "1"){ // 미전송 상태 결과전송만 보이게
- btn_acpt.visible = false;
- btn_acptcancel.visible = false;
- btn_rsltsend.visible = true;
- cmb_sect_rslt.disabled = false;
- cmb_tsec_rslt.disabled = false;
- grd_outer.colHidden(21) = false;
- }else{ // 암것도 안보이게
- btn_acpt.visible = false;
- btn_acptcancel.visible = false;
- btn_rsltsend.visible = false;
- cmb_sect_rslt.disabled = true;
- cmb_tsec_rslt.disabled = true;
- grd_outer.colHidden(21) = true;
-
- }
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-3);
- model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden/ref/todd", today);
- }
- model.refresh();
- }
-
-
-
- // 수탁검사결과조회
- function fGetSutakRslt(){
-
- model.removenode("/root/send");
-
- model.makeValue("/root/send/userflagcd", model.getValue("/root/init/LB0000/nm"));
- model.makeNode("root/send/data1");
- model.copyNode("root/send/data1", "root/hidden/ref");
- submit("TRLOR00301");
-
- setTree(grd_outer, 3, 2, true); // 그리드 , level, tree, ..
- //model.refresh();
- }
-
- // 엑셀 저장
- function fExeExcel(pGridId) {
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- pGridId.saveExcel(fileName);
- }
-
- }
-
- // 결과전송
- function fExeSutakRslt(){
-
- for(var tRow = 1; tRow < grd_outer.rows ; tRow++){
- if(model.getValue("/root/main/outerlist["+ tRow +"]/testcd") == "LSI110"){
- if((model.getValue("/root/main/outerlist["+ tRow +"]/chk") == "true" &&
- model.getValue("/root/main/outerlist["+ tRow +"]/rsltstat") == "4" ) &&
- ( model.getValue("/root/main/outerlist["+ tRow +"]/imagrsltyn") != "Y"||
- model.getValue("/root/main/outerlist["+ tRow +"]/descrsltyn") != "Y" )){
-
- alert(model.getValue("/root/main/outerlist["+ tRow +"]/trustpid") + " 이미지나 서술결과가 입력되었는지 확인바랍니다" );
- return;
- }
- }
-
- if(model.getValue("/root/main/outerlist["+ tRow +"]/testcd") == "LC1004"){
- if((model.getValue("/root/main/outerlist["+ tRow +"]/chk") == "true" &&
- model.getValue("/root/main/outerlist["+ tRow +"]/rsltstat") == "4" ) &&
- ( model.getValue("/root/main/outerlist["+ tRow +"]/imagrsltyn") != "Y"||
- model.getValue("/root/main/outerlist["+ tRow +"]/descrsltyn") != "Y" )){
-
- alert(model.getValue("/root/main/outerlist["+ tRow +"]/trustpid") + " 이미지나 서술결과를 확인바랍니다" );
- return;
- }
- }
-
- if(model.getValue("/root/main/outerlist["+ tRow +"]/testcd") == "LSI102"){
- if((model.getValue("/root/main/outerlist["+ tRow +"]/chk") == "true" &&
- model.getValue("/root/main/outerlist["+ tRow +"]/rsltstat") == "4" ) &&
- ( model.getValue("/root/main/outerlist["+ tRow +"]/imagrsltyn") != "Y"||
- model.getValue("/root/main/outerlist["+ tRow +"]/descrsltyn") != "Y" )){
-
- alert(model.getValue("/root/main/outerlist["+ tRow +"]/trustpid") + " 이미지나 서술결과를 확인바랍니다" );
- return;
-
- }
- }
-
- }
-
-
- for(var tRow = 1; tRow < grd_outer.rows ; tRow++){
-
- if(model.getValue("/root/main/outerlist["+ tRow +"]/chk") == "true"){
- grd_outer.rowStatus(tRow) = 2; // 수정
- }else{
- grd_outer.rowStatus(tRow) = 0; // 취소
- }
- }
-
- if(getGridUpdateData(grd_outer) ==""){
- messageBox("저장 할 내역이 없습니다." , "I");
- return;
- }
-
- model.makeValue("/root/send/outerdata", getGridUpdateData(grd_outer));
-
- // 위수탁 결과 CMCDB로 전송
- //alert(model.getValue("/root/send/outerdata"));
- submit("TXLOR00301");
-
-
- fGetSutakRslt();
-
- }
-
- function fExeSutakRslt_test(){
-
- for(var tRow = 1; tRow < grd_outer.rows ; tRow++){
- if(model.getValue("/root/main/outerlist["+ tRow +"]/testcd") == "LSI110"){
- if((model.getValue("/root/main/outerlist["+ tRow +"]/chk") == "true" &&
- model.getValue("/root/main/outerlist["+ tRow +"]/rsltstat") == "4" ) &&
- ( model.getValue("/root/main/outerlist["+ tRow +"]/imagrsltyn") != "Y"||
- model.getValue("/root/main/outerlist["+ tRow +"]/descrsltyn") != "Y" )){
-
- alert(model.getValue("/root/main/outerlist["+ tRow +"]/trustpid") + " 이미지나 서술결과가 입력되었는지 확인바랍니다" );
- return;
- //grd_outer.rowStatus(tRow) = 0; // 취소
- //model.setValue("/root/main/outerlist["+tRow+"]/chk", "false");
- /*
- for(var j = tRow + 1 ; tRow < grd_outer.rows ; j++){
- if(model.getValue("/root/main/outerlist["+ tRow +"]/testcd").substring(0,6) == "LSI110" ){
- grd_outer.rowStatus(tRow) = 0; // 취소
- model.setValue("/root/main/outerlist["+tRow+"]/chk", "false");
- }
- }
- */
- }
- // return;
- }
-
- if(model.getValue("/root/main/outerlist["+ tRow +"]/testcd") == "LC1004"){
- if((model.getValue("/root/main/outerlist["+ tRow +"]/chk") == "true" &&
- model.getValue("/root/main/outerlist["+ tRow +"]/rsltstat") == "4" ) &&
- ( model.getValue("/root/main/outerlist["+ tRow +"]/imagrsltyn") != "Y"||
- model.getValue("/root/main/outerlist["+ tRow +"]/descrsltyn") != "Y" )){
-
- alert(model.getValue("/root/main/outerlist["+ tRow +"]/trustpid") + " 이미지나 서술결과를 확인바랍니다" );
- return;
- //grd_outer.rowStatus(tRow) = 0; // 취소
- //model.setValue("/root/main/outerlist["+tRow+"]/chk", "false");
- }
- }
-
- if(model.getValue("/root/main/outerlist["+ tRow +"]/testcd") == "LSI102"){
- if((model.getValue("/root/main/outerlist["+ tRow +"]/chk") == "true" &&
- model.getValue("/root/main/outerlist["+ tRow +"]/rsltstat") == "4" ) &&
- ( model.getValue("/root/main/outerlist["+ tRow +"]/imagrsltyn") != "Y"||
- model.getValue("/root/main/outerlist["+ tRow +"]/descrsltyn") != "Y" )){
-
- alert(model.getValue("/root/main/outerlist["+ tRow +"]/trustpid") + " 이미지나 서술결과를 확인바랍니다" );
- return;
- //grd_outer.rowStatus(tRow) = 0; // 취소
- //model.setValue("/root/main/outerlist["+tRow+"]/chk", "false");
-
-
- }
- }
-
- }
-
-
- }
-
- // 서술결과버튼 클릭하면 상세보기 팝업
- function fGetDescrslt(){
- model.resetInstanceNode("/root/hidden/descrslt");
-
- var row = grd_outer.row;
-
- if(row> 0){
- if(model.getValue("/root/main/outerlist["+row+"]/descrsltyn")=="Y"){
-
- model.makeValue("/root/hidden/descrslt/readrslt", model.getValue("/root/main/outerlist["+row+"]/readrslt"));
-
- modal("SPLOR90100","", "", "","", "/root/hidden/descrslt", "/root/hidden/descrslt");
- }
- }
- }
-
- // 이미지결과 보여주기
- function fSetImgRsltView(){
- model.resetInstanceNode("/root/hidden/spcltestinfo");
-
- var row = grd_outer.row ;
-
- if(row> 0){
- if(model.getValue("/root/main/outerlist["+row+"]/imagrsltyn")=="Y"){
- model.makeValue("/root/hidden/spcltestinfo/bcno", model.getValue("/root/main/outerlist["+row+"]/trustbcno"));
- model.makeValue("/root/hidden/spcltestinfo/testcd", model.getValue("/root/main/outerlist["+row+"]/testcd"));
- model.makeValue("/root/hidden/spcltestinfo/spccd", model.getValue("/root/main/outerlist["+row+"]/spccd"));
- model.makeValue("/root/hidden/spcltestinfo/tclscd", model.getValue("/root/main/outerlist["+row+"]/tclscd"));
- model.makeValue("/root/hidden/spcltestinfo/pid", model.getValue("/root/main/outerlist["+row+"]/trustpid"));
- model.makeValue("/root/hidden/spcltestinfo/rsltstat", model.getValue("/root/main/outerlist["+row+"]/rsltstat"));
-
- modal("SMLRR01500","", "", "","", "/root/hidden/spcltestinfo", "/root/hidden/spcltestinfo");
- }
- }
- }
-
- // 의뢰서 내용 보여주기
- function fGetReqCnts(){
- var row = grd_outer.row ;
-
- if(row> 0){
- var reqfrmcd = model.getValue("/root/main/trustlist["+row+"]/reqfrmcd");
- alert("reqfrmcd= " + reqfrmcd);
-
- model.makeValue("/root/hidden/reqfrm/reqcnts", model.getValue("/root/main/trustlist["+row+"]/reqcnts"));
- model.makeValue("/root/hidden/reqfrm/reqcnts", model.getValue("/root/main/trustlist["+row+"]/reqcnts"));
- model.makeValue("/root/hidden/reqfrm/reqcnts", model.getValue("/root/main/trustlist["+row+"]/reqcnts"));
- model.makeValue("/root/hidden/reqfrm/reqcnts", model.getValue("/root/main/trustlist["+row+"]/reqcnts"));
-
- if(reqfrmcd == "01") { //Bone Marrow
- modal("SPLRR90100","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- } else if(reqfrmcd == "02") { //분자유전
- modal("SPLRR90200","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- } else if(reqfrmcd == "03") { //세포유전
- if(reqfrmcd =="04" ){
- modal("SPLRR90400","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- }
- else{
- modal("SPLRR91300","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- }
- } else if(reqfrmcd == "10" || model.getValue("/root/main/rslt/desc/rslt/refflag") == "11") { //PRA, 교차시험
- modal("SPLRR90500","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- } else if(reqfrmcd == "09") {//산전기형
- modal("SPLRR90300","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- } else if(reqfrmcd == "12") { //TDM
- modal("SPLRR90600","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- }else if(reqfrmcd == "07") { //PB
- modal("SPLRR91400","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- }else if(reqfrmcd == "99") { //범용보고서
- modal("SPLRR91000","","","","","/root/main/testinfo/spcltestinfo", "/root/hidden/reqfrminfo");
- }
- } // row 있는지
- }
-
- // 검체번호 같은겉 전부선택되게
- function fSetBcnocheck(){
-
- for(i=1; i<grd_outer.rows; i++ ){
- if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/chk")=="true"){
- if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/trustbcno")== model.getValue("/root/main/outerlist["+i+"]/trustbcno")){
- model.setValue("/root/main/outerlist["+i+"]/chk", "true");
-
- }
- //grd_outer.rowStatus(i) = 2; // 수정
- }else{
- //alert("i= " + i);
- if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/trustbcno")== model.getValue("/root/main/outerlist["+i+"]/trustbcno")){
- model.setValue("/root/main/outerlist["+i+"]/chk", "false");
-
- }
- //grd_outer.rowStatus(i) = 0; // 취소
- }
-
- if(model.getValue("/root/main/outerlist["+ i +"]/chk") == "true"){
-
- grd_outer.rowStatus(i) = 2; // 수정
- }else{
- grd_outer.rowStatus(i) = 0; // 취소
- }
- }
-
- grd_outer.refresh();
- }
-
- function fSetallcheck_rslt(){
-
- for(var tRow = 1; tRow < grd_outer.rows ; tRow++){
-
-
- if(model.getValue("/root/main/outerlist["+ tRow +"]/chk") == "true"){
-
- grd_outer.rowStatus(tRow) = 2; // 수정
- }else{
- grd_outer.rowStatus(tRow) = 0; // 취소
- }
- }
-
- }
-
- // 대분류콤보 선택시
- function fSetTLrgCd() {
- var etc = model.getvalue("/root/hidden/ref/sectcd");
-
- if(etc == "00"){
- cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
- cmb_tsec_rslt.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
- model.setValue("/root/hidden/ref/tsectcd" , "00");
- }
- else{
- model.setValue("/root/hidden/ref/tsectcd" , "00");
- cmd_TMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ etc +"']";
- cmb_tsec_rslt.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ etc +"']";
- }
- cmd_TMdlCd.refresh();
- cmb_tsec_rslt.refresh();
- }
-
-
- // *사용* 키이벤트 엔터키 입력시 접수flow
- function fKeyEvent(){
-
- if(event.keyCode == "13"){
- if(event.target == "ipt_reqpid_acpt"){ // 수탁접수 의뢰병원등록번호
- model.setvalue("/root/hidden/ref/reqpid", (ipt_reqpid_acpt.currentText).toUpperCase());
-
- fGetTrustOperList();
-
- model.setFocus("ipt_reqpid_acpt");
- ipt_reqpid_acpt.selBegin = 0;
- ipt_reqpid_acpt.selEnd = ipt_reqpid_acpt.currentText.length;
- }
-
- if(event.target == "ipt_trustpid_acpt"){ // 수탁접수 의뢰병원등록번호
- model.setvalue("/root/hidden/ref/trustpid", (ipt_trustpid_acpt.currentText).toUpperCase());
-
- fGetTrustOperList();
-
- model.setFocus("ipt_trustpid_acpt");
- ipt_trustpid_acpt.selBegin = 0;
- ipt_trustpid_acpt.selEnd = ipt_trustpid_acpt.currentText.length;
- }
- }
-
- }
-
- ]]>
- </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; ">
- <button id="sw_acpt" class="btn_sw" group="tab" selected="true" style="left:0px; top:4px; width:85px; height:22px; ">
- <caption>수탁접수</caption>
- <toggle case="case_acpt" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fbuttonvisible("A");
- //model.toggle("case_acpt");
- //fSetInit("A");
- fSetacptbutton();
- ]]>
- </script>
- </button>
- <button id="sw_rslt" class="btn_sw" group="tab" style="left:85px; top:4px; width:99px; height:22px; ">
- <caption>수탁결과전송</caption>
- <toggle case="case_rslt" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fbuttonvisible("B");
- //model.toggle("case_rslt");
- //fSetInit("B");
- fSetacptbutton();
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:0px; top:25px; width:1194px; height:710px; ">
- <case id="case_acpt">
- <datagrid id="grd_trustlist" nodeset="/root/main/trustlist" class="datagrid2" caption="^요청일자^의뢰 병원^의뢰병원
바코드번호^본원
바코드번호^검사명^검체명^의뢰병원
등록번호^본원
등록번호^환자명^성별^나이^주민번호^주민번호^여권번호^구분코드^의뢰일자^의뢰시간^의뢰자명^확인일자^확인시간^확인자명^연속검사여부^연속검사^연속검사^전달사항^의뢰의사^의뢰부서^의뢰병동/병실^미수코드^접수구분^수탁병원^소변량^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="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:105px; width:1189px; height:595px; 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" visibility="hidden"/>
- <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" visibility="hidden"/>
- <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 visibility="hidden"/>
- <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>
- <group id="group1" style="left:0px; top:5px; width:1190px; height:70px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1189px; height:70px; "/>
- <line id="line3" class="line_4" style="x1:1099px; y1:24px; x2:1099px; y2:46px; "/>
- <caption id="caption3" class="search_name" style="left:19px; top:9px; width:86px; height:17px; ">조회구분 :</caption>
- <caption id="caption2" class="search_no_b" style="left:505px; top:10px; width:15px; height:17px; vertical-align:middle; ">~</caption>
- <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>
- <caption id="caption5" class="search_name" style="left:19px; top:38px; width:149px; height:17px; ">의뢰병원 등록번호 :</caption>
- <caption id="caption7" class="search_name" style="left:324px; top:38px; width:149px; height:17px; ">수탁병원 등록번호 :</caption>
- <select1 id="rdo_acpt" 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();
- fSetacptbutton();
- ]]>
- </script>
- </select1>
- <input id="ipt_to_acpt" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:415px; top:8px; width:85px; height:19px; "/>
- <select1 id="cmb_instcd_acpt" 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>
- <input id="ipt_reqpid_acpt" ref="/root/hidden/ref/reqpid" class="input_search" inputtype="button" style="left:180px; top:37px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- <input id="ipt_trustpid_acpt" ref="/root/hidden/ref/trustpid" class="input_search" inputtype="button" style="left:505px; top:37px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- <button id="btn_ref_acpt" class="btn1_letter2" style="left:1114px; top:24px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTrustOperList();
- ]]>
- </script>
- </button>
- <caption id="caption14" class="search_name" style="left:670px; top:38px; width:92px; height:17px; ">시행부서 :</caption>
- <select1 id="cmd_TMdlCd" ref="/root/hidden/ref/tsectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:866px; top:37px; width:100px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0106">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_TLrgCd" ref="/root/hidden/ref/sectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:765px; top:37px; width:100px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetTLrgCd();
- ]]>
- </script>
- </select1>
- </group>
- <select1 id="cmb_orddrid_acpt" ref="/root/hidden/drid" appearance="minimal" style="left:1042px; top:79px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0415">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <!-- 후인증 의사 추가할때 llfmtdpu에 들어가고 userflag칼럼 '-' 아니면 됨 -->
- <caption id="caption1" class="tit_2" style="left:5px; top:85px; width:123px; height:13px; ">수탁검사리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:100px; x2:1189px; y2:100px; "/>
- <caption id="cap_orddrid" class="cell_1" style="left:958px; top:77px; width:81px; height:23px; font-family:돋움; vertical-align:middle; ">후인증 의사</caption>
- <button id="btn_excel_acpt" class="btn2_letter2" visibility="visible" style="left:1147px; top:79px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(grd_trustlist);
- ]]>
- </script>
- </button>
- </case>
- <case id="case_rslt" selected="true">
- <group id="group5" style="left:0px; top:5px; width:1190px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1190px; height:34px; "/>
- <line id="line11" class="line_4" style="x1:1093px; y1:7px; x2:1093px; y2:29px; "/>
- <caption id="caption10" class="search_name" style="left:395px; top:9px; width:94px; height:17px; ">결과구분 :</caption>
- <caption id="caption9" class="search_name" style="left:585px; top:9px; width:92px; height:17px; ">의뢰병원 :</caption>
- <caption id="caption12" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">접수일시 :</caption>
- <caption id="caption13" class="search_no_b" style="left:231px; top:8px; width:12px; height:17px; ">~</caption>
- <input id="ipt_fromdd_rslt" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:105px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_fromtm_rslt" ref="/root/hidden/ref/fromtm" class="input_search" format="hh:nn" style="left:189px; top:8px; width:40px; height:19px; text-align:center; "/>
- <input id="ipt_todd_rslt" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:245px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_totm_rslt" ref="/root/hidden/ref/totm" class="input_search" format="hh:nn" style="left:329px; top:8px; width:40px; height:19px; text-align:center; "/>
- <select1 id="cmb_acptgbn_rslt" ref="/root/hidden/ref/acptgbn" class="combo_default" appearance="minimal" style="left:485px; top:8px; width:80px; height:19px; ">
- <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[
- fSetacptbutton();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_instcd_rslt" ref="/root/hidden/ref/extrinstcd" class="combo_default" appearance="minimal" style="left:675px; top:8px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_ref_rslt" class="btn1_letter2" style="left:1109px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetSutakRslt();
- ]]>
- </script>
- </button>
- <caption id="caption16" class="search_name" style="left:800px; top:9px; width:92px; height:17px; ">시행부서 :</caption>
- <select1 id="cmb_sect_rslt" ref="/root/hidden/ref/sectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:895px; top:8px; width:80px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0111">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetTLrgCd();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_tsec_rslt" ref="/root/hidden/ref/tsectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:974px; top:8px; width:100px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0106">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <datagrid id="grd_outer" nodeset="/root/main/outerlist" class="datagrid2" caption="^▣^level^접수일자^의뢰 병원^의뢰병원
바코드번호^본원
바코드번호^검사명^검체명^의뢰병원
등록번호^본원
등록번호^환자명^성별^나이^결과
상태^결과^서술결과여부^^이미지
결과여부^^시행부서^주민등록번호^의뢰의사명^진료과명^병동/병실^소변량^tclscd^spccd^testcd^tclskind^수탁병원^imgth^imgwidt^descrslt^userflagcd^수탁결과보고일^의뢰서서식^의뢰서^주석" colsep="^" colwidth="30, 25, 33, 72, 90, 74, 74, 120, 80, 70, 70, 62, 34, 34, 60, 80, 40, 18, 54, 20, 70, 110, 70, 60, 69, 50, 54, 40, 57, 24, 86, 47, 37, 100, 69, 100, 100, 41,30" dataheight="23" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:69px; width:1190px; height:631px; ">
- <col checkvalue="true,false" ref="chk" type="checkbox" format="yyyy-mm-dd"/>
- <col/>
- <col ref="level" visibility="hidden"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col 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"/>
- <col ref="spcnm"/>
- <col ref="reqpid" type="input"/>
- <col ref="trustpid" type="input"/>
- <col ref="hngnm"/>
- <col ref="sex"/>
- <col ref="age" style="left:940px; top:23px; width:100px; height:23px; "/>
- <col ref="rsltstat" type="combo">
- <choices>
- <item>
- <label>결과저장</label>
- <value>1</value>
- </item>
- <item>
- <label>중간보고</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고중</label>
- <value>3</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>4</value>
- </item>
- <item>
- <label>수정보고</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col ref="reptrslt"/>
- <col ref="descrsltyn"/>
- <col type="inputbutton"/>
- <col ref="imagrsltyn"/>
- <col ref="imgrslt" type="inputbutton"/>
- <col ref="sectnm"/>
- <col ref="rrgstno" format="999999-9999999"/>
- <col ref="usernm"/>
- <col ref="deptengabbr"/>
- <col ref="wardroom"/>
- <col ref="urinextrvol"/>
- <col ref="tclscd"/>
- <col ref="spccd"/>
- <col ref="testcd"/>
- <col ref="tclskind" visibility="hidden"/>
- <col ref="trustinstcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="imght" visibility="hidden"/>
- <col ref="imgwidt" visibility="hidden"/>
- <col ref="descrslt" visibility="hidden"/>
- <col ref="userflagcd" visibility="hidden"/>
- <col ref="trustreptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="reqfrmcd" visibility="hidden"/>
- <col type="inputbutton" visibility="hidden"/>
- <col ref="cmtyn"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- //fSetImgRsltView();
- if(grd_outer.col == "18"){ // 서술결과버톤
- fGetDescrslt();
- }else if(grd_outer.col== "20"){ // 이미지결과버튼
- fSetImgRsltView();
- }else if(grd_outer.col =="37"){
- //fGetReqCnts();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //alert("col= " + grd_outer.col+ " row = " + grd_outer.row);
- if(grd_outer.row == "0"){
- fSetallcheck_rslt();
- }else{
- fSetBcnocheck();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- //alert("col= " + grd_outer.col+ " row = " + grd_outer.row);
- if(grd_outer.row == "0"){
- fSetallcheck_rslt();
- }else{
- fSetBcnocheck();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption8" class="tit_2" style="left:5px; top:49px; width:131px; height:13px; ">수탁검사리스트</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:64px; x2:1190px; y2:64px; "/>
- <button id="btn_excel_rslt" class="btn2_letter4" style="left:1126px; top:43px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(grd_outer);
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <select1 id="cmb_cancel" ref="/root/hidden/cancelcd" visibility="hidden" appearance="minimal" style="left:1059px; top:5px; width:135px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/cancelcombo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_cancel" style="left:990px; top:5px; width:60px; height:20px; ">취소사유</caption>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_rsltsend" class="btn4_letter4" style="left:1049px; top:3px; width:80px; height:22px; ">
- <caption>결과전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSutakRslt();
- ]]>
- </script>
- </button>
- <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="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="btn_acptcancel" class="btn4_letter4" visibility="hidden" style="left:1049px; top:3px; width:80px; height:22px; ">
- <caption>접수취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetTrustAcptCancel();
- ]]>
- </script>
- </button>
- <button id="btn_acpt" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetTrustAcpt();
- ]]>
- </script>
- </button>
- <caption id="caption15" visibility="hidden" style="left:800px; top:5px; width:230px; height:20px; color:#0000ff; ">접수, 접수취소, 결과전송 버튼 포개져있음</caption>
- <caption id="caption17" visibility="hidden" style="left:280px; top:1px; width:391px; height:25px; font-size:16pt; font-weight:bold; color:#0000ff; ">※ 운영서버에서 테스트 하지마세요</caption>
- <button id="button1" class="btn4_letter4" visibility="hidden" style="left:665px; top:5px; width:110px; height:22px; ">
- <caption>결과test</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSutakRslt_test();
- ]]>
- </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:215px; height:14px; ">
- <![CDATA[KNUH 수탁검사 접수 & 결과관리]]>
- </caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|