12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLLJ00600_CMC위탁의뢰결과관리(위탁병원).xrw
- * 설 명 : CMC위탁의뢰결과관리(위탁병원)
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2010.01.19
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <acptdd/>
- <reqinstcd/>
- <reqbcno/>
- <tclsnm/>
- <spcnm/>
- <reqtclscd/>
- <reqspccd/>
- <trustinstcd/>
- <trustbcno/>
- <reqpid/>
- <trustpid/>
- <patnm/>
- <rrgstno1/>
- <rrgstno2/>
- <psptno/>
- <sexage/>
- <bixflagcd/>
- <reqdd/>
- <reqtm/>
- <reqnm/>
- <cnfmdd/>
- <cnfttm/>
- <cnfmnm/>
- <conttestintvlflagcd/>
- <conttestorgtims/>
- <conttestbasetm/>
- <prcpdelivefact/>
- <suppkind/>
- <acptstatcd/>
- <etc1/>
- <etc2/>
- <etc3/>
- <urinextrvol/>
- <reqorddrnm/>
- <reqorddeptnm/>
- <reqwardroom/>
- <reqno/>
- <userflagcd/>
- <reqfrmcd/>
- <sectnm/>
- </trustlist>
- <outerlist>
- <chk/>
- <reqdd/>
- <reqinstcd/>
- <reqbcno/>
- <trustbcno/>
- <tclsnm/>
- <spcnm/>
- <reqpid/>
- <trustpid/>
- <hngnm/>
- <sex/>
- <age/>
- <rsltstat/>
- <reptrslt/>
- <descrsltyn/>
- <descrslt/>
- <readrslt/>
- <imagrsltyn/>
- <imgrslt/>
- <imght/>
- <imgwidt/>
- <rrgstno/>
- <usernm/>
- <deptengabbr/>
- <wardroom/>
- <urinextrvol/>
- <tclscd/>
- <spccd/>
- <testcd/>
- <tclskind/>
- <trustinstcd/>
- <level/>
- <trustreptdt/>
- </outerlist>
- </main>
- <send>
- <data1/>
- <data2/>
- <codeflag/>
- <fromdd/>
- <fromtm/>
- <todd/>
- <totm/>
- <acptgbn/>
- <extrinstcd/>
- <outerdata/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <trustgbn>1</trustgbn>
- <fromdd/>
- <fromtm>0000</fromtm>
- <todd/>
- <totm>2359</totm>
- <trustinstcd>00</trustinstcd>
- <acptgbn>1</acptgbn>
- <extrinstcd>00</extrinstcd>
- <rsltallstat>-</rsltallstat>
- <sectcd>00</sectcd>
- <tsectcd>00</tsectcd>
- </ref>
- <data1/>
- <imgrslt/>
- </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" ev:event="xforms-ready">
- <![CDATA[
- //초기화
- fSetInit();
- ]]>
- </script>
- <submission id="TRLZZ00101" ref="/root/send/codeflag" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/LB"/>
- <submission id="TRLLJ00701" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/trustlist"/>
- <submission id="TXLLJ00701" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- <submission id="TXLLJ00702" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- <submission id="TRLOR00401" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/outerlist"/>
- <submission id="TXLOR00401" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
- //초기화
- function fSetInit(){
-
- // 위탁의뢰 case 보여주기
- fbuttonvisible("A");
-
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/trustlist"); // 의뢰 목록
- model.resetInstanceNode("/root/main/outerlist"); // 결과 목록
-
- model.makeValue("/root/send/codeflag", "0110|0000|0111|0106|"); //0110 외부기관코드 0000 유저플래그 0111 시행부서 0106 세부 시행부서
- submit("TRLZZ00101");
-
- var today = getCurrentDate();
-
- grd_trustlist.fixedcellcheckbox(0,1)=true; // 의뢰 전체체크
- grd_outer.fixedcellcheckbox(0,1) = true; // 결과 전체체크
-
- /* fbuttonvisible 여기로 들여보냄
- if(sw_req.selected == true){ // 의뢰
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
- model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
- }else{ // 결과
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-30);
- model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
- }
-
- //model.setValue("/root/hidden/ref/fromdd", today);
- model.setValue("/root/hidden/ref/todd", today);
- */
- //fExeTrustRadio();
- model.removeNodeset("/root/main/trustlist");
-
- model.refresh();
-
- }
-
- // 위수탁리스트 조회
- function fGetTrustOperList(){
- //model.resetInstanceNode("/root/send");
- model.removeNodeset("/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("TRLLJ00701");
-
- }
-
- // 의뢰
- function fSetTrustAcpt(){
-
- 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/data2", getGridUpdateData(grd_trustlist));
-
- submit("TXLLJ00701");
-
- fGetTrustOperList();
- }
-
- // 조회구분따라 접수버튼 숨기기
- function fExeTrustRadio(){
-
- var Tradio = model.getValue("/root/hidden/ref/trustgbn");
- if(sw_req.selected == true){
- if(Tradio == "1"){ // 의뢰
- btn_reqcnfm.visible = true; //의뢰버튼 보임
- btn_reqcancel.visible = false; //취소버튼 안 보임
- btn_rsltsave.visible = false; //결과전송 안 보임
-
- grd_trustlist.colHidden(17) = false;
- cmb_TLrgCd.disabled = false;
- cmd_TMdlCd.disabled = false;
- }else if(Tradio == "2"){ //위탁전송
- btn_reqcnfm.visible = false; //의뢰버튼 안 보임
- btn_reqcancel.visible = true; //취소버튼 보임
- btn_rsltsave.visible = false; //결과전송 안 보임
-
- grd_trustlist.colHidden(17) = true;
- cmb_TLrgCd.disabled = true;
- cmd_TMdlCd.disabled = true;
- }else if(Tradio == "3"){ //확인
- btn_reqcnfm.visible = false; //의뢰버튼 안 보임
- btn_reqcancel.visible = false; //취소버튼 안 보임
- btn_rsltsave.visible = false; //결과전송 안 보임
-
- grd_trustlist.colHidden(17) = true;
- cmb_TLrgCd.disabled = true;
- cmd_TMdlCd.disabled = true;
- }
- }else{ // 위탁전송 스위치 선택 안됐을때
- btn_rsltsave.visible = true; //결과전송 보임
- btn_reqcnfm.visible = false; //의뢰버튼 안 보임
- btn_reqcancel.visible = false; //취소버튼 안 보임
- fSetSavebutton();
- }
-
- 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 fExeTrustCancel(){
- 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/data2", getGridUpdateData(grd_trustlist));
-
- submit("TXLLJ00702");
-
- fGetTrustOperList();
-
- }
-
- // 스위치에 따라 버튼 보이기
- function fbuttonvisible(ref){
- var today = getCurrentDate();
- // 위탁의뢰
- if(ref == "A"){
- model.toggle("case_req");
- fExeTrustRadio();
-
- // 의뢰일때 조회구간 5일
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
- model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden/ref/todd", today);
- }
- // 위탁결과등록
- else if(ref == "B"){
- model.resetInstanceNode("/root/send/data1");
- model.toggle("case_rslt");
- fExeTrustRadio();
- //결과일때 조회구간 1달
- var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-30);
- model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
- model.setValue("/root/hidden/ref/todd", today);
-
- }
- model.refresh();
- }
-
- // 접수구분 선택시 결과저장, 결과확인버튼 숨기기
- function fSetSavebutton(){
-
- if(model.getValue("/root/hidden/ref/acptgbn")=="1"){ // 의뢰
- btn_rsltsave.visible = true;
- cmb_allrsltset.disabled = false;
- btn_rsltstat_allset.disabled = false;
- cmb_sect_rslt.disabled = true;
- cmb_tsec_rslt.disabled = true;
- grd_outer.colHidden(21) = true;
- }else{ // 전송
- btn_rsltsave.visible = false;
- cmb_allrsltset.disabled = true;
- btn_rsltstat_allset.disabled = true;
- cmb_sect_rslt.disabled = false;
- cmb_tsec_rslt.disabled = false;
- grd_outer.colHidden(21) = false;
- }
- model.refresh();
- }
-
- // 저장상태 변경
- function fSetRsltStat(){
-
- if(grd_outer.rows> 1){
- for(i=1; i<grd_outer.rows; i++){
- model.setValue("/root/main/outerlist["+i+"]/rsltstat", model.getValue("/root/hidden/ref/rsltallstat"));
- }
- model.refresh();
- }else{
- alert("변경할 내용이 없습니다. ");
- }
- }
-
- // 수탁검사결과조회
- function fGetWitakRslt(){
-
- //if(!fSetRefFromdd()){ // 3일 내로만 조회되게
- // return;
- //}
- model.removeNodeset("/root/send");
-
- model.makeValue("/root/send/fromdd", model.getValue("/root/hidden/ref/fromdd"));
- model.makeValue("/root/send/fromtm", model.getValue("/root/hidden/ref/fromtm"));
- model.makeValue("/root/send/todd", model.getValue("/root/hidden/ref/todd"));
- model.makeValue("/root/send/totm", model.getValue("/root/hidden/ref/totm"));
- model.makeValue("/root/send/acptgbn", model.getValue("/root/hidden/ref/acptgbn"));
- model.makeValue("/root/send/extrinstcd", model.getValue("/root/hidden/ref/extrinstcd"));
- model.makeValue("/root/send/userflagcd", model.getValue("/root/init/LB0000/nm"));
- model.makeValue("/root/send/sectcd", model.getValue("/root/hidden/ref/sectcd"));
- model.makeValue("/root/send/tsectcd", model.getValue("/root/hidden/ref/tsectcd"));
-
- submit("TRLOR00401");
-
- setTree(grd_outer, 3, 2, true); // 그리드 , level, tree, ..
- //model.refresh();
- }
-
- // 결과전송
- function fExeOuterRslt(){
-
- // 이미지 결과 Y인것 업로드 하기
- //fGetImgFile();
- var outerdata = getGridUpdateData(grd_outer);
-
- // 그리드 선택 안하면
- if(outerdata == ""){
- alert("결과등록할 내용이 없습니다. ");
- return;
- }
-
- var rstat = "";
- for(i=1; i<grd_outer.rows; i++){
- if((model.getValue("/root/main/outerlist["+i+"]/chk")=="true") && (model.getValue("/root/main/outerlist["+i+"]/rsltstat")=="-")){ // 체크돼있는데 결과상태 - 인거
- rstat += model.getValue("/root/main/outerlist["+i+"]/rsltstat");
- }
- }
-
- if(rstat != ""){
- alert("결과상태를 변경해주세요.");
- return;
- }
-
- model.makeValue("/root/send/outerdata", outerdata);
- //fSetImgUpload();
-
- if(submit("TXLOR00401", true)){
- fGetWitakRslt();
- // model.resetInstanceNode("/root/main/outerlist");
- //model.resetInstanceNode("/root/main/view");
- }
- //model.removeNodeset("/root/send/attach");
- //model.resetInstanceNode("/root/send");
-
- model.refresh();
-
- }
-
- // 서술결과버튼 클릭하면 상세보기 팝업
- 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(model.getValue("/root/hidden/ref/acptgbn")=="1"){
- //alert("접수구분이 미보고 상태일때는 이미지결과 조회가 불가능합니다. ");
- //return;
- if(row> 0){
- if(model.getValue("/root/main/outerlist["+row+"]/imagrsltyn")=="Y"){
- model.makeValue("/root/hidden/imgrslt/imgrslt", model.getValue("/root/main/outerlist["+row+"]/imgrslt"));
- model.makeValue("/root/hidden/imgrslt/imght", model.getValue("/root/main/outerlist["+row+"]/imght"));
- model.makeValue("/root/hidden/imgrslt/imgwidt", model.getValue("/root/main/outerlist["+row+"]/imgwidt"));
- modal("SPLOR90200","", "", "","", "/root/hidden/imgrslt", "/root/hidden/imgrslt");
-
- }
- }
- }else{
-
- if(row> 0){
- if(model.getValue("/root/main/outerlist["+row+"]/imagrsltyn")=="Y"){
-
- model.makeValue("/root/hidden/spcltestinfo/bcno", model.getValue("/root/main/outerlist["+row+"]/reqbcno"));
- 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+"]/reqpid"));
- model.makeValue("/root/hidden/spcltestinfo/rsltstat", model.getValue("/root/main/outerlist["+row+"]/rsltstat"));
-
- modal("SMLRR01500","", "", "","", "/root/hidden/spcltestinfo", "/root/hidden/spcltestinfo");
- }
- }
-
- }
- }
-
- // 그리드 전체선택, 전체해제
- function fsetgridstatus(){
- for(i=1; i< grd_outer.rows; i++){
- if(model.getValue("/root/main/outerlist["+i+"]/chk") == "true"){
- grd_outer.rowStatus(i) = 2;
- }else{
- grd_outer.rowStatus(i) = 0;
- }
-
- }
- }
-
- // 검체번호 같은겉 전부선택되게
- 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 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();
- }
-
- ]]>
- </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; ">
- <switch id="switch1" style="left:0px; top:25px; width:1190px; height:700px; ">
- <case id="case_req">
- <group id="group1" style="left:5px; top:5px; width:1180px; height:60px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1179px; height:60px; "/>
- <line id="line3" class="line_4" style="x1:1094px; y1:17px; x2:1094px; y2:39px; "/>
- <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:615px; top:10px; width:15px; height:17px; vertical-align:middle; ">~</caption>
- <caption id="caption4" class="search_name" style="left:434px; top:9px; width:87px; height:17px; ">조회일자 :</caption>
- <caption id="caption5" class="search_name" style="left:759px; top:9px; width:87px; height:17px; ">의뢰병원 :</caption>
- <select1 id="cmb_extrinst_req" ref="/root/hidden/ref/trustinstcd" class="combo_search" appearance="minimal" style="left:855px; top:8px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd_req" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:525px; top:8px; width:85px; height:19px; "/>
- <input id="ipt_todd_req" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:630px; top:8px; width:85px; height:19px; "/>
- <select1 id="rdo_refgbn_req" ref="/root/hidden/ref/trustgbn" overflow="visible" appearance="full" cols="3" cellspacing="15" style="left:115px; top:8px; width:280px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>미전송</label>
- <value>1</value>
- </item>
- <item>
- <label>전송완료</label>
- <value>2</value>
- </item>
- <item>
- <label>의뢰병원접수확인</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeTrustRadio();
- ]]>
- </script>
- </select1>
- <button id="btn_ref_req" class="btn1_letter2" style="left:1109px; top:17px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTrustOperList();
- ]]>
- </script>
- </button>
- <caption id="caption14" class="search_name" style="left:19px; top:34px; width:86px; height:17px; ">시행부서 :</caption>
- <select1 id="cmb_TLrgCd" ref="/root/hidden/ref/sectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:115px; top:34px; 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>
- <select1 id="cmd_TMdlCd" ref="/root/hidden/ref/tsectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:214px; top:34px; width:110px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0106">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <datagrid id="grd_trustlist" nodeset="/root/main/trustlist" class="datagrid2" caption="^의뢰상태^접수일자^의뢰병원^본원
바코드^검사명^검체명^본원
등록번호^환자명^성별^나이^주민번호^주민번호^의뢰의사명^진료과^병동/병실^시행부서^여권번호^구분코드^의뢰 일자^의뢰 시간^의뢰자^확인 일자^확인 시간^확인자^연속검사
여부^연속검사^연속검사^전달사항^미수
코드^접수구분^소변량^tclscd^spccd^의뢰병원
바코드^의뢰병원
등록번호^본원^reqno^userflagcd^reqfrmcd" colwidth="25, 70, 80, 100, 90, 140, 100, 85, 80, 40, 40, 55, 60, 70, 50, 80, 80, 100, 100, 90, 70, 70, 90, 70, 70, 60, 50, 50, 100, 50, 66, 100, 59, 59, 90, 90, 100, 44, 100, 100" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" tooltip="true" style="left:5px; top:94px; width:1179px; height:600px; text-align:center; ">
- <col ref="chk" type="checkbox" checkvalue="true,false"/>
- <col ref="acptstatcd" type="combo" disabled="true">
- <choices>
- <item>
- <label>미전송</label>
- <value>0</value>
- </item>
- <item>
- <label>전송완료</label>
- <value>1</value>
- </item>
- <item>
- <label>접수확인</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="acptdd" format="yyyy-mm-dd"/>
- <col ref="trustinstcd" type="combo" disabled="true">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqbcno" type="input"/>
- <col ref="tclsnm" style="text-align:left; "/>
- <col ref="spcnm" style="text-align:left; "/>
- <col ref="reqpid" type="input"/>
- <col ref="patnm"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="rrgstno1"/>
- <col ref="rrgstno2"/>
- <col ref="reqorddrnm"/>
- <col ref="reqorddeptnm"/>
- <col ref="reqwardroom" style="text-align:left; "/>
- <col ref="sectnm"/>
- <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="suppkind"/>
- <col ref="acptstatcd" visibility="hidden"/>
- <col ref="urinextrvol"/>
- <col ref="reqtclscd"/>
- <col ref="reqspccd"/>
- <col ref="trustbcno" type="input"/>
- <col ref="trustpid" type="input"/>
- <col ref="reqinstcd" type="combo" disabled="true">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqno" visibility="hidden"/>
- <col ref="userflagcd" visibility="hidden"/>
- <col ref="reqfrmcd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_trustlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:10px; top:74px; width:118px; height:13px; ">위탁검사리스트</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:89px; x2:1184px; y2:89px; "/>
- <button id="btn_xlsreq" class="btn2_letter4" visibility="visible" style="left:1120px; top:68px; width:64px; 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:5px; top:5px; width:1180px; height:60px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1179px; height:60px; "/>
- <line id="line11" class="line_4" style="x1:1088px; y1:17px; x2:1088px; y2:39px; "/>
- <caption id="caption10" class="search_name" style="left:455px; top:9px; width:94px; height:17px; ">접수구분 :</caption>
- <caption id="caption11" class="search_name" style="left:685px; top:9px; width:92px; height:17px; ">의뢰병원 :</caption>
- <caption id="caption7" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">의뢰일시 :</caption>
- <caption id="caption8" class="search_no_b" style="left:246px; 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:90px; height:19px; "/>
- <input id="ipt_todd_rslt" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:260px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_fromtm_rslt" ref="/root/hidden/ref/fromtm" class="input_search" format="hh:nn" style="left:198px; top:8px; width:45px; height:19px; text-align:center; "/>
- <input id="ipt_totm_rslt" ref="/root/hidden/ref/totm" class="input_search" format="hh:nn" style="left:353px; top:8px; width:45px; height:19px; text-align:center; "/>
- <select1 id="cmb_refflag_rslt" ref="/root/hidden/ref/acptgbn" class="combo_default" appearance="minimal" style="left:545px; top:8px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>미보고</label>
- <value>1</value>
- </item>
- <item>
- <label>보고완료</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetSavebutton();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_extrinstcd_rslt" ref="/root/hidden/ref/extrinstcd" class="combo_default" appearance="minimal" style="left:775px; top:8px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0110">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_refcnfm_rslt" class="btn1_letter2" style="left:1104px; top:17px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetWitakRslt();
- ]]>
- </script>
- </button>
- <select1 id="cmb_sect_rslt" ref="/root/hidden/ref/sectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:105px; top:34px; 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>
- <caption id="caption16" class="search_name" style="left:15px; top:35px; width:92px; height:17px; ">시행부서 :</caption>
- <select1 id="cmb_tsec_rslt" ref="/root/hidden/ref/tsectcd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:204px; top:34px; width:110px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/LB0106">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <caption id="caption9" class="tit_2" style="left:10px; top:74px; width:131px; height:13px; ">위탁검사리스트</caption>
- <caption id="caption12" class="tit_2" style="left:450px; top:71px; width:126px; height:13px; ">저장상태일괄변경</caption>
- <datagrid id="grd_outer" nodeset="/root/main/outerlist" class="datagrid2" caption="^▣^level^접수일자^의뢰 병원^본원
바코드^의뢰병원
바코드^검사명^검체명^본원
등록번호^의뢰병원
등록번호^환자명^성별^결과
상태^결과^이전
결과^서술결과여부^서술^이미지
결과여부^이미지^시행부서^주민등록번호^의뢰
의사명^진료과^병동/병실^소변량^검사코드^검체코드^검사코드^tclskind^본원^imght^imgwidt^의뢰병원
결과등록일시^본원결과등록일시" colwidth="30, 24, 39, 72, 90, 74, 74, 120, 80, 70, 70, 62, 40, 60, 80, 46, 44, 23, 50, 23, 70, 110, 60, 50, 80, 50, 50, 50, 50, 53, 80, 43, 56, 120, 100" dataheight="23" defaultrows="0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" colsep="^" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" tooltip="true" style="left:5px; top:94px; width:1180px; height:596px; ">
- <col ref="chk" type="checkbox" checkvalue="true,false" format="yyyy-mm-dd"/>
- <col/>
- <col ref="level" visibility="hidden"/>
- <col ref="reqdd" format="yyyy-mm-dd"/>
- <col ref="reqinstcd" type="combo" disabled="true">
- <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="sexage"/>
- <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>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- </choices>
- </col>
- <col ref="reptrslt"/>
- <col/>
- <col ref="descrsltyn"/>
- <col type="inputbutton"/>
- <col ref="imagrsltyn"/>
- <col 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" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>Group</label>
- <value>0</value>
- </item>
- <item>
- <label>Pannel</label>
- <value>1</value>
- </item>
- <item>
- <label>Single</label>
- <value>2</value>
- </item>
- <item>
- <label>Parents</label>
- <value>3</value>
- </item>
- <item>
- <label>Child</label>
- <value>4</value>
- </item>
- <item>
- <label>Abnormal</label>
- <value>5</value>
- </item>
- </choices>
- </col>
- <col ref="trustinstcd" type="combo" disabled="true">
- <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="trustreptdt" format="yyyy-mm-dd hh:nn"/>
- <col visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- if(grd_outer.col == "18"){ // 서술결과버톤
- fGetDescrslt();
- }else if(grd_outer.col== "20"){ // 이미지결과버튼
- fSetImgRsltView();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- if(grd_outer.row == "0"){
- fsetgridstatus();
- }else{
- fSetBcnocheck();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
-
- if(grd_outer.row == "0"){
- fsetgridstatus();
- }else{
- fSetBcnocheck();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_outer.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line4" class="line_1" style="x1:5px; y1:89px; x2:1185px; y2:89px; "/>
- <button id="btn_xlsrslt" class="btn2_letter4" style="left:1121px; top:68px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeExcel(grd_outer);
- ]]>
- </script>
- </button>
- <select1 id="cmb_allrsltset" ref="/root/hidden/ref/rsltallstat" appearance="minimal" style="left:575px; top:68px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>저장</label>
- <value>1</value>
- </item>
- <item>
- <label>중간보고</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>4</value>
- </item>
- <item>
- <label>수정보고</label>
- <value>5</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetRsltStat();
- ]]>
- </script>
- </select1>
- <button id="btn_rsltstat_allset" class="btn2_letter7" style="left:663px; top:68px; width:97px; height:19px; ">
- <caption>↓저장상태변경</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltStat();
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="sw_req" class="btn_sw" group="tab" selected="true" style="left:0px; top:4px; width:85px; height:22px; ">
- <caption>위탁전송</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fbuttonvisible("A");
- ]]>
- </script>
- </button>
- <button id="sw_rslt" class="btn_sw" group="tab" style="left:85px; top:4px; width:99px; height:22px; ">
- <caption>위탁결과등록</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fbuttonvisible("B");
- ]]>
- </script>
- </button>
- </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="btn_reqcnfm" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>의뢰</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 3333
- fSetTrustAcpt();
- ]]>
- </script>
- </button>
- <button id="btn_reqcancel" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
- <caption>의뢰취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 2222
- fExeTrustCancel();
- ]]>
- </script>
- </button>
- <button id="btn_rsltsave" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
- <caption>결과저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 1111
- fExeOuterRslt();
- ]]>
- </script>
- </button>
- <caption id="caption13" visibility="hidden" style="left:805px; top:5px; width:220px; height:20px; ">의뢰, 의뢰취소, 결과저장 버튼</caption>
- <caption id="caption17" visibility="hidden" style="left:280px; top:1px; width:446px; height:25px; font-size:16pt; font-weight:bold; color:#0000ff; ">※ 운영서버에서 테스트 하지마세요</caption>
- </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:231px; height:14px; ">
- <![CDATA[KNUH 위탁검사 접수 & 결과관리 ]]>
- </caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|