123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLMR90100.xrw
- * 설 명 : 미생물결과관리
- * 설 계 자 : (주)에이씨케이 -
- * 작 성 자 : (주)에이씨케이 - 조철형
- * 작 성 일 : 2007.04.23
- * 수정이력 :
- * 기 타 :
- -->
- <?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>미생물환자조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <patlist>
- <selchk/>
- <workno/>
- <pid/>
- <hngnm/>
- <spcacptdt/>
- <bcno/>
- </patlist>
- </main>
- <send>
- <data1/>
- </send>
- <init>
- </init>
- <hidden>
- <ref>
- <sworkseq>00000</sworkseq>
- <eworkseq>99999</eworkseq>
- <workgroup/>
- <workgroup2/>
- <sworkdd/>
- <eworkdd/>
- <rsltstat>2</rsltstat>
- <searchflag>2</searchflag>
- <searchtext/>
- <refgbn>2</refgbn>
- </ref>
- <ref2>
- <sworkseq>00000</sworkseq>
- <eworkseq>99999</eworkseq>
- <workgroup/>
- <workgroup2/>
- <sworkdd/>
- <eworkdd/>
- <rsltstat>2</rsltstat>
- <refgbn>1</refgbn>
- <searchflag>3</searchflag>
- <searchtext/>
- </ref2>
- <refgbn>2</refgbn>
- </hidden>
- </root>
- </instance>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
- <script src="../../../lis/commonweb/js/LLZ001.js" type="javascript"/>
- <script src="../../../com/commonweb/js/stringHelper.js" type="javascript"/>
- <script ev:event="xforms-model-construct-done" type="javascript">
- <![CDATA[
-
- fBaseInfoRef("0113|0112|");
-
-
-
- model.setValue("/root/hidden/ref2/workgroup", "00");
- cmb_workgroup2.attribute("visibility") = "hidden";
- model.setValue("/root/hidden/ref2/workgroup2", "00");
-
- model.setValue("/root/hidden/ref/workgroup", "00");
- cmb_workgroup.attribute("visibility") = "hidden";
- model.setValue("/root/hidden/ref/workgroup2", "00");
-
-
-
-
-
- model.setvalue("/root/hidden/ref2/sworkdd",getCurrentDate());
- model.setvalue("/root/hidden/ref2/eworkdd",getCurrentDate());
-
- model.setvalue("/root/hidden/ref/sworkdd",getCurrentDate());
- model.setvalue("/root/hidden/ref/eworkdd",getCurrentDate());
-
- if(opener.model.getValue("/root/main/TestInfo/getSpcInfo/pid") == ""){
-
- }else{
- model.setValue("/root/hidden/ref2/searchtext", opener.model.getValue("/root/main/TestInfo/getSpcInfo/pid"));
- model.setValue("/root/hidden/ref2/rsltstat","0");
- fPatListRef();
- }
-
-
-
-
-
-
- model.refresh();
-
-
- ]]>
- </script>
- <submission id="TRLMR90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fExeCancel(){
- window.close();
- }
-
- function fPatListRef(){
-
- if(model.getValue("/root/hidden/refgbn") == "1"){
- model.copyNode("/root/send/data1" ,"/root/hidden/ref");
- }
- else{
- model.copyNode("/root/send/data1" ,"/root/hidden/ref2");
- }
-
- submit("TRLMR90101");
-
- for(i=1 ;i<grd_patlist.rows;i++){
- if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "-"){
- grd_patlist.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_N.gif";
- grd_patlist.cellstyle("background-position", i, 1) = "center"
- }else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "1"){
- grd_patlist.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_1.gif";
- grd_patlist.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "2"){
- grd_patlist.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_2.gif";
- grd_patlist.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "3"){
- grd_patlist.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_F.gif";
- grd_patlist.cellstyle("background-position", i, 1) = "center"
- }
- else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "4" || model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "5"){
- grd_patlist.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_3.gif";
- grd_patlist.cellstyle("background-position", i, 1) = "center"
- }
- }
- }
-
- function fPatChio(){
- var row = grd_patlist.row;
- window.opener.model.setvalue("/root/hidden/refflag/searchflag", "2");
- window.opener.model.setvalue("/root/hidden/refflag/searchtext", model.getvalue("/root/main/patlist["+row+"]/bcno"));
- window.opener.javascript.fSpcInfoRef();
- }
- function fInputKeyup(){
- if(event.keyCode == "13"){
-
- model.setvalue("/root/hidden/ref2/searchtext", ipt_search.currentText);
- model.refresh();
- fPatListRef();
- ipt_search.selBegin = 0;
- ipt_search.selEnd = ipt_search.currentText.length;
-
- }
- }
-
- function fSetTestMdlcd() {
- var etc = model.getvalue("/root/hidden/ref/workgroup");
-
- if(model.getValue("/root/init/LB0112[cd='"+ etc +"']/etc02") == "3") {
- cmb_workgroup.attribute("visibility") = "visible";
- model.setvalue("/root/hidden/ref/workgroup2", "00");
- }else {
- cmb_workgroup.attribute("visibility") = "hidden";
- }
-
- if(model.getValue("/root/init/LB0112[cd='"+ etc +"']/etc01") == "3" ) {
- ipt_workfromdd.attribute("format") = "yyyy-mm-dd";
- ipt_worktodd.attribute("format") = "yyyy-mm-dd";
- }else if(model.getValue("/root/init/LB0112[cd='"+ etc +"']/etc01") == "2") {
- ipt_workfromdd.attribute("format") = "yyyy-mm";
- ipt_worktodd.attribute("format") = "yyyy-mm";
- }else if(model.getValue("/root/init/LB0112[cd='"+ etc +"']/etc01") == "1") {
- ipt_workfromdd.attribute("format") = "yyyy";
- ipt_worktodd.attribute("format") = "yyyy";
- }
-
-
- var workLeng = model.getvalue("/root/init/LB0112[cd='"+ etc +"']/etc03");
- var a= "0";
- var b="9";
-
- model.setvalue("/root/hidden/ref/sworkseq" , a.getLeftPad(workLeng , 0) );
- model.setvalue("/root/hidden/ref/eworkseq" , b.getLeftPad(workLeng , 9) );
-
- model.refresh();
- }
-
- function fSetTestMdlcd2() {
- var etc = model.getvalue("/root/hidden/ref2/workgroup");
-
- if(model.getValue("/root/init/LB0112[cd='"+ etc +"']/etc02") == "3" ) {
- cmb_workgroup2.attribute("visibility") = "visible";
- model.setvalue("/root/hidden/ref2/workgroup2", "00");
- }else {
- cmb_workgroup2.attribute("visibility") = "hidden";
- }
-
- if(model.getValue("/root/init/LB0112[cd='"+ etc +"']/etc01") == "3") {
- ipt_workfromdd2.attribute("format") = "yyyy-mm-dd";
- ipt_worktodd2.attribute("format") = "yyyy-mm-dd";
- }else if(model.getValue("/root/init/LB0112[cd='"+ etc +"']/etc01") == "2") {
- ipt_workfromdd2.attribute("format") = "yyyy-mm";
- ipt_worktodd2.attribute("format") = "yyyy-mm";
- }else if(model.getValue("/root/init/LB0112[cd='"+ etc +"']/etc01") == "1") {
- ipt_workfromdd2.attribute("format") = "yyyy";
- ipt_worktodd2.attribute("format") = "yyyy";
- }
-
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="430" pageheight="800" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:13px; width:400px; height:720px; ">
- <switch id="switch2" class="sw_box" style="left:0px; top:31px; width:400px; height:124px; ">
- <case id="case3" selected="true">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:5px; top:6px; width:390px; height:114px; "/>
- <select1 id="combo1" ref="/root/hidden/ref2/searchflag" class="combo_search" appearance="minimal" style="left:115px; top:14px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>작업번호</label>
- <value>1</value>
- </item>
- <item>
- <label>검체번호</label>
- <value>2</value>
- </item>
- <item>
- <label>등록번호</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption20" class="search_name" style="left:20px; top:15px; width:94px; height:17px; ">검색구분 :</caption>
- <line id="line9" class="line_7" style="x1:20px; y1:38px; x2:380px; y2:38px; "/>
- <caption id="caption21" class="search_name" style="left:20px; top:69px; width:94px; height:17px; ">작업그룹 :</caption>
- <select1 id="combo2" ref="/root/hidden/ref2/rsltstat" class="combo_default" appearance="minimal" style="left:115px; top:92px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>미검사</label>
- <value>1</value>
- </item>
- <item>
- <label>미완료</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <line id="line10" class="line_4" style="x1:289px; y1:92px; x2:289px; y2:114px; "/>
- <caption id="caption22" class="search_name" style="left:20px; top:93px; width:94px; height:17px; ">결과구분 :</caption>
- <button id="button6" class="btn1_letter2" style="left:304px; top:92px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fPatListRef();
- ]]>
- </script>
- </button>
- <caption id="caption24" class="search_name" style="left:20px; top:45px; width:94px; height:17px; ">작업일자 :</caption>
- <caption id="caption3" class="search_no_b" style="left:231px; top:46px; width:15px; height:17px; vertical-align:middle; ">~</caption>
- <input id="ipt_search" ref="/root/hidden/ref2/searchtext" class="input_button" inputtype="button" style="left:245px; top:14px; width:115px; height:19px; ">
- <script ev:event="onbuttonclick" type="javascript">
- <![CDATA[
- fPatListRef();
- ]]>
- </script>
- <script ev:event="onkeyup" type="javascript">
- <![CDATA[
- fInputKeyup();
- ]]>
- </script>
- </input>
- <input id="ipt_workfromdd2" ref="/root/hidden/ref2/sworkdd" class="input_search" inputtype="date" style="left:115px; top:44px; width:115px; height:19px; "/>
- <input id="ipt_worktodd2" ref="/root/hidden/ref2/eworkdd" class="input_search" inputtype="date" style="left:245px; top:44px; width:115px; height:19px; "/>
- <select1 id="cmb_mdlcd2" ref="/root/hidden/ref2/workgroup" class="combo_default" appearance="minimal" style="left:115px; top:68px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0112">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script ev:event="xforms-value-changed" type="javascript">
- <![CDATA[
- fSetTestMdlcd2();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_workgroup2" ref="/root/hidden/ref2/workgroup2" class="combo_default" appearance="minimal" style="left:245px; top:68px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0113">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </case>
- <case id="case4">
- <shape id="roundrect4" class="roundrect_search" appearance="roundrect" style="left:5px; top:6px; width:390px; height:114px; "/>
- <caption id="caption25" class="search_name" style="left:20px; top:69px; width:94px; height:17px; ">작업그룹 :</caption>
- <caption id="caption26" class="search_name" style="left:20px; top:14px; width:94px; height:17px; ">작업번호 :</caption>
- <line id="line11" class="line_4" style="x1:289px; y1:92px; x2:289px; y2:114px; "/>
- <select1 id="combo12" ref="/root/hidden/ref/rsltstat" class="combo_default" appearance="minimal" style="left:115px; top:92px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>미검사</label>
- <value>1</value>
- </item>
- <item>
- <label>미완료</label>
- <value>2</value>
- </item>
- <item>
- <label>최종보고</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <button id="button12" class="btn1_letter2" style="left:304px; top:92px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fPatListRef();
- ]]>
- </script>
- </button>
- <caption id="caption27" class="search_name" style="left:20px; top:93px; width:94px; height:17px; ">결과구분 :</caption>
- <select1 id="cmb_workgroup" ref="/root/hidden/ref/workgroup2" class="combo_default" appearance="minimal" style="left:245px; top:68px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0113">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_mdlcd" ref="/root/hidden/ref/workgroup" class="combo_default" appearance="minimal" style="left:115px; top:68px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0112">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script ev:event="xforms-value-changed" type="javascript">
- <![CDATA[
- fSetTestMdlcd();
- ]]>
- </script>
- </select1>
- <caption id="caption29" class="search_name" style="left:20px; top:45px; width:94px; height:17px; ">작업일자 :</caption>
- <input id="input13" ref="/root/hidden/ref/sworkseq" class="input_search" style="left:115px; top:14px; width:115px; height:19px; "/>
- <input id="input14" ref="/root/hidden/ref/eworkseq" class="input_search" style="left:245px; top:14px; width:115px; height:19px; "/>
- <caption id="caption10" class="search_no_b" style="left:231px; top:15px; width:15px; height:17px; vertical-align:middle; ">~</caption>
- <caption id="caption2" class="search_no_b" style="left:231px; top:46px; width:15px; height:17px; vertical-align:middle; ">~</caption>
- <input id="ipt_workfromdd" ref="/root/hidden/ref/sworkdd" class="input_search" inputtype="date" style="left:115px; top:44px; width:115px; height:19px; "/>
- <input id="ipt_worktodd" ref="/root/hidden/ref/eworkdd" class="input_search" inputtype="date" style="left:245px; top:44px; width:115px; height:19px; "/>
- <line id="line1" class="line_7" style="x1:20px; y1:38px; x2:380px; y2:38px; "/>
- </case>
- </switch>
- <button id="button13" class="btn_sw" group="tab" selected="false" style="left:100px; top:10px; width:100px; height:22px; color:#000000; ">
- <caption>작업번호별</caption>
- <toggle case="case4" ev:event="onclick"/>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setvalue("/root/hidden/refgbn","1");
- ]]>
- </script>
- </button>
- <button id="button14" class="btn_sw" group="tab" selected="true" style="left:0px; top:10px; width:100px; height:22px; color:#000000; ">
- <caption>바코드번호별</caption>
- <toggle case="case3" ev:event="onclick"/>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- model.setvalue("/root/hidden/refgbn","2");
- ]]>
- </script>
- </button>
- <line id="line8" class="line_1" style="x1:0px; y1:184px; x2:400px; y2:184px; "/>
- <caption id="caption19" class="tit_2" style="left:5px; top:169px; width:115px; height:13px; ">환자목록</caption>
- <datagrid id="grd_patlist" nodeset="/root/main/patlist" caption="^작업번호^등록번호^성명^접수일시" colsep="^" colwidth="20, 114, 64, 52, 106" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:189px; width:400px; height:531px; ">
- <col ref="selchk" style="text-align:center; "/>
- <col ref="workno"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="spcacptdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="bcno" visibility="hidden"/>
- <script ev:event="ondblclick" type="javascript">
- <![CDATA[
- fPatChio();
- ]]>
- </script>
- <script ev:event="onaftersort" type="javascript">
- <![CDATA[
- grd_patlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group3" style="left:0px; top:736px; width:400px; height:27px; ">
- <button id="button2" class="btn4_letter2" style="left:285px; top:5px; width:56px; height:22px; ">
- <caption>선택</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fPatChio();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:400px; y2:0px; "/>
- <button id="button5" class="btn4_letter2" style="left:344px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script ev:event="DOMActivate" type="javascript">
- <![CDATA[
- fExeCancel();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:400px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:121px; height:14px; ">미생물환자조회</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|