ÀÓ»óºÎÀÛ¿ë Åë°è
<inreplcnt/> <inreplpatcnt/> <innonreplcnt/> <innonreplpatcnt/> <inexeccnt/> <inpatcnt/> <inprcpcnt/> <outreplcnt/> <outreplpatcnt/> <outnonreplcnt/> <outnonreplpatcnt/> <outexeccnt/> <outpatcnt/> <outprcpcnt/> </item> </statslist> </main> <send> <srchfromdd/> <srchtodd/> <srchioflag>A</srchioflag> <srchwardcd/> <wardcd/> <wardnm/> <drugcd/> <drugnm/> <sympcnts/> <symp/> <casrslt/> <serigrde/> <sympmnftgrde/> <comflag/> <comdesc/> <comnm/> <prodcmpycd/> <prodcmpynm/> <totscr/> <naranjocmt/> </send> <init> <baseinfo> <tmedcnst> <A0036/> </tmedcnst> </baseinfo> </init> <hidden> <srchinfo> <srchfromdd/> <srchtodd/> <wardcd/> <wardnm/> <drugcd/> <drugnm/> <sympcnts/> <casrslt/> <serigrde/> <sympmnftgrde/> <comflag/> <comdesc/> <prodcmpycd/> <prodcmpynm/> <totscr/> <naranjocmt/> </srchinfo> </hidden> <temp> <srchgrupid> <drugcd/> <comflag/> </srchgrupid> <srchinfo> <ward/> </srchinfo> <receivedata> <receiveref/> <srchflag/> <srchcnts/> <drugkind/> <receivedrugpnm/> <receivedrugflag/> <receivedrugcom/> </receivedata> <drugcd/> <drugcdlist> <drugcdlist> <drugcd/> <drugnm/> <comdesc/> <prodcmpycd/> <prodcmpynm/> </drugcdlist> </drugcdlist> </temp> <popdata1/> </root> </instance> <submission id="TRADC00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/srchgrupid" replace="instance" resultref="/root/temp/drugcdlist"/> <submission id="TRADS02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/statslist"/> <script type="javascript" src="../../../com/commonweb/js/common.js"/> <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/> <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/> <script type="javascript" src="../../../ast/commonweb/js/AST.js"/> <script type="javascript" src="../../../ast/pharmacybaseweb/js/pharmacycombolist.js"/> <script type="javascript"> <![CDATA[ function fInit() { var rexObj = makeReportPreview(0,106,1195,634); // ³¯Â¥ ÃʱâÈ­ var d = new Date(); ipt_fromdd.value = d.getAddDate(-7).getDateFormat(); ipt_todd.value = getCurrentDate(); } ]]> </script> <script type="javascript" ev:event="xforms-ready"> <![CDATA[ //do something fInit(); ]]> </script> </model> </xhtml:head> <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; "> <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; "> <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:13px; ">¾à¹°ºÎÀÛ¿ë Åë°è</caption> </group> <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; "> <line id="line1" class="line_1" style="x1:0px; y1:100px; x2:1195px; y2:100px; "/> <group id="group1" style="left:0px; top:10px; width:1195px; height:85px; vertical-align:top; "> <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/> <line id="line2" class="line_4" style="x1:1110px; y1:6px; x2:1110px; y2:76px; "/> <button id="btn_sea" class="btn1_letter2" navindex="15" style="left:1120px; top:29px; width:56px; height:22px; "> <caption>Á¶È¸</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ if (submit("TRADS02201")) { exeReportPreview("RPADS01714", "XMLSTR", "/root/main/statslist/item"); } ]]> </script> </button> <caption id="caption2" class="search_name" style="left:15px; top:15px; width:97px; height:17px; ">ȸ½ÅÀÏÀÚ :</caption> <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:115px; top:15px; width:100px; height:19px; "/> <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="3" inputtype="date" format="yyyy-mm-dd" style="left:233px; top:15px; width:100px; height:19px; "/> <caption id="caption5" class="search_no_b" style="left:218px; top:15px; width:12px; height:17px; ">~</caption> <caption id="caption3" class="search_name" style="left:15px; top:55px; width:86px; height:17px; ">À¯ÇØÁõ»ó :</caption> <caption id="caption4" class="search_name" style="left:620px; top:15px; width:86px; height:17px; ">ó¹æÄÚµå :</caption> <caption id="caption10" class="search_name" style="left:345px; top:55px; width:86px; height:17px; ">Àΰú°ü°è :</caption> <caption id="caption12" class="search_name" style="left:620px; top:55px; width:85px; height:17px; ">½É°¢µµ :</caption> <caption id="caption13" class="search_name" style="left:845px; top:55px; width:111px; height:17px; ">Áõ»ó¹ßÇöÁ¤µµ :</caption> <select1 id="cmb_serigrde" ref="/root/send/serigrde" class="combo_search" navindex="13" appearance="minimal" style="left:705px; top:55px; width:130px; height:19px; "> <choices> <item> <label>Àüü</label> <value></value> </item> <item> <label>serious</label> <value>S</value> </item> <item> <label>non-serious</label> <value>N</value> </item> </choices> </select1> <select1 id="chk_ioflag" ref="/root/send/srchioflag" class="radio_search" navindex="4" appearance="full" cols="3" overflow="visible" sep="," style="left:415px; top:15px; width:140px; height:20px; border-style:none; "> <choices> <item> <label>Àüü</label> <value>A</value> </item> <item> <label>ÀÔ¿ø</label> <value>I</value> </item> <item> <label>¿Ü·¡</label> <value>O</value> </item> </choices> </select1> <caption id="caption7" class="search_name" style="left:346px; top:15px; width:70px; height:17px; ">±¸ ºÐ :</caption> <input id="ipt_drugnm" ref="/root/send/drugnm" class="input_search" navindex="7" style="left:965px; top:15px; width:140px; height:19px; "/> <input id="ipt_drugcd" ref="/root/send/drugcd" class="input_search" navindex="5" style="left:715px; top:15px; width:140px; height:19px; "> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ if (ipt_drugcd.value == "") { ipt_drugnm.value = ""; } ]]> </script> </input> <button id="btn_drugcd" class="icon_search" navindex="6" style="left:859px; top:15px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ //DIF°Ë»ö model.makeValue("/root/temp/reqdata/send/receiveref", "/root/temp/receivedata/receiveref"); model.makeValue("/root/temp/reqdata/send/receivedrugpnm", "/root/temp/receivedata/receivedrugpnm"); model.makeValue("/root/temp/reqdata/send/receivedrugflag", "/root/temp/receivedata/receivedrugflag"); model.makeValue("/root/temp/reqdata/send/receivedrugcom", "/root/temp/receivedata/receivedrugcom"); model.makeValue("/root/temp/reqdata/send/reqpid", model.getValue("/root/main/baseinfo/patinfolist/pid")); model.resetInstanceNode("/root/temp/receivedata"); modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/reqdata/send","/root/temp/receivedata"); //modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/receivedata","/root/temp/receivedata"); if( instance1.selectSingleNode("/root/temp/receivedata/receiveref") ){ if( !isNull(model.getValue("/root/temp/receivedata/receiveref")) ){ var drugcd = model.getValue("/root/temp/receivedata/receiveref"); var drugcdnm = model.getValue("/root/temp/receivedata/receivedrugpnm"); var sReceivedrugflag = model.getValue("/root/temp/receivedata/receivedrugflag"); if(sReceivedrugflag != "") { model.setValue("/root/send/comflag", sReceivedrugflag); } else { model.setValue("/root/send/comflag", "C"); } model.setValue("/root/send/drugcd", drugcd); if(model.getValue("/root/send/comflag") != "O") { model.setValue("/root/temp/srchgrupid/drugcd", drugcd); model.setValue("/root/temp/srchgrupid/comflag", model.getValue("/root/send/comflag")); submit("TRADC00604"); model.setValue("/root/send/drugnm" , model.getValue("/root/temp/drugcdlist/drugcdlist/drugnm")); model.setValue("/root/send/comnm" , model.getValue("/root/temp/drugcdlist/drugcdlist/comdesc")); model.setValue("/root/send/prodcmpycd" , model.getValue("/root/temp/drugcdlist/drugcdlist/prodcmpycd")); model.setValue("/root/send/prodcmpynm" , model.getValue("/root/temp/drugcdlist/drugcdlist/prodcmpynm")); } else { model.setValue("/root/send/drugnm" , drugcdnm); } model.refresh(); } } ]]> </script> </button> <caption id="caption1" class="search_name" style="left:885px; top:15px; width:86px; height:17px; ">¾à¹°¸í :</caption> <select1 id="cmb_sympmnftgrde" ref="/root/send/sympmnftgrde" class="combo_search" navindex="14" appearance="minimal" style="left:965px; top:55px; width:130px; 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>3</value> </item> </choices> </select1> <button id="btn_sympcnts" class="icon_search" navindex="9" style="left:314px; top:55px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ modal("SPADC62901",0,100,150,"SPADC62901","/root/temp/tempsymp","/root/hidden/tempsymp"); //ÆË¾îâ¿¡¼­ Á¤»óÀûÀ¸·Î È®ÀÎÀ» ÇÏ¿´À» °æ¿ì¸¸ set ÇÑ´Ù.(´Ý±â ¹öư ´­·¶À» °æ¿ì Á¦¿Ü) if(model.getValue("/root/temp/returnsymp/cnfmyn") == "Y"){ if(model.getValue("/root/temp/returnsymp/symp") == "" || model.getValue("/root/temp/returnsymp/sympcnts") == "") { model.setValue("/root/send/symp", ""); model.makeValue("/root/send/sympcnts", ""); model.makeValue("/root/send/sympno", ""); } else { model.setValue("/root/send/symp", model.getValue("/root/temp/returnsymp/symp") + "^" + model.getValue("/root/temp/returnsymp/sympcnts")); model.makeValue("/root/send/sympcnts", model.getValue("/root/temp/returnsymp/sympcnts")); model.makeValue("/root/send/sympno", model.getValue("/root/temp/returnsymp/symp") ); } model.refresh(); } ]]> </script> </button> <input id="ipt_sympcnts" ref="/root/send/sympcnts" class="input_search" disabled="true" navindex="8" style="left:115px; top:55px; width:195px; height:19px; "/> <button id="casrsltbtn" class="icon_search" navindex="11" style="left:579px; top:55px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ //Naranjo Algorithm model.makeValue("/root/hidden/casrslt",""); model.makeValue("/root/hidden/totscr",""); model.makeValue("/root/hidden/naranjocmt",""); modal("SPADC62600",0,200,300,"SPADC62600","/root/popdata1","/root/popdata"); if ( model.getValue("/root/hidden/casrslt") != ""){ model.setValue( "/root/send/casrslt" , model.getValue("/root/hidden/casrslt") ); //model.setValue( "/root/send/totscr" , model.getValue("/root/hidden/totscr") ); model.setValue( "/root/send/naranjocmt" , model.getValue("/root/hidden/naranjocmt") ); model.refresh(); } ]]> </script> </button> <select1 id="cmb_casrslt" ref="/root/send/casrslt" class="combo_search" navindex="10" appearance="minimal" style="left:435px; top:55px; width:140px; height:19px; "> <choices> <item> <label>Àüü</label> <value></value> </item> <item> <label>DDefault</label> <value>0</value> </item> <item> <label>Possible</label> <value>1</value> </item> <item> <label>Probable</label> <value>2</value> </item> <item> <label>Definite</label> <value>3</value> </item> <item> <label>Certain</label> <value>4</value> </item> <item> <label>probable/likely</label> <value>5</value> </item> <item> <label>possible</label> <value>6</value> </item> <item> <label>unlikely</label> <value>7</value> </item> <item> <label>conditional/unclassified</label> <value>8</value> </item> <item> <label>unassessible/unclassifiable</label> <value>9</value> </item> </choices> </select1> <!-- <button id="btn_koralgo" class="icon_search" navindex="12" style="left:599px; top:55px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ model.makeValue("/root/hidden/koralgo", model.getValue("/root/send/koralgo")); model.makeValue("/root/hidden/totscr", model.getValue("/root/send/totscr")); model.makeValue("/root/popdata1/koralgo", model.getValue("/root/send/koralgo")); modal("SPADC62800",0,200,300,"SPADC62800","/root/popdata1","/root/popdata"); model.setValue( "/root/hidden/srchinfo/koralgo" , model.getValue("/root/hidden/koralgo") ); model.setValue( "/root/send/totscr" , model.getValue("/root/hidden/totscr") ); ]]> </script> </button> --> </group> <select id="chk_ward" ref="/root/send/srchwardcd" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" cols="8" direction="downacross" sep="," style="left:360px; top:40px; width:205px; height:15px; background-color:#e5eae9; border-style:none; "> <choices> <itemset nodeset="/root/hidden/deptlist/ward"> <label ref="wardnm"/> <value ref="wardcd"/> </itemset> </choices> <script type="javascript" ev:event="onclick"> <![CDATA[ var tmpVal = model.getValue("/root/send/srchwardcd"); var wardCode = ""; if(chk_ward.mouseRow == 0 && chk_ward.mouseCol == 0 ){ if (tmpVal.indexOf("T") > -1) { var wardCnt = model.getXPathValue("count(/root/hidden/deptlist/ward)"); for (var i = 1; i <= wardCnt; i++) { wardCode += model.getValue("/root/hidden/deptlist/ward["+i+"]/wardcd")+","; } } model.setValue("/root/send/srchwardcd", wardCode); chk_ward.refresh(); } if (tmpVal.indexOf("T") > -1 ){ ipt_wardnm.value = chk_ward.label.substr(3,chk_ward.label.length); } else { ipt_wardnm.value = chk_ward.label; } // if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){ ]]> </script> </select> </group> </xhtml:body> </xhtml:html>