¸ð´ÏÅ͸µ °ËÅä°á°ú
1 <sum_kdcm/> <sum_kacm/> <sum_ldose/> <sum_sefty/> <sum_di/> <sum_hpreg/> <sum_ddim/> <sum_dt/> <sum_dam/> <sum_dose/> <sum_ddcm/> <sum_dura/> <sum_preg/> <sum_lact/> <sum_geri/> <sum_pedi/> <sum_crcl/> <sum_hemp/> <sum_dfim/> </resultSummaryCnt> </list> <codelist> </codelist> <baseinfo> <testeeinfo> <pid/> <patnm/> </testeeinfo> </baseinfo> <patinfo> <patinfolist> <pid/> </patinfolist> </patinfo> <cond> <fromdd/> <todd/> <code>P</code> <prcpcd/> </cond> </main> <send> <pInstCD/> <pArrModuleID/> <pArrPrcpgenrflag/> <pArrDeptcd/> <pArrPrcpcd/> <pGubn>M</pGubn> <pStDD/> <pEnDD/> <screen> <pGuID/> </screen> <pPID/> <srchdata> <deptflag/> <srchdeptcd/> <srchfromdd/> <srchtodd/> </srchdata> </send> <init> <radio> <radio1>all</radio1> </radio> <orddept> <dept> <depthngnm/> <deptcd/> </dept> </orddept> <baseinfo> <prcpgenrflag> <M0010> <cdid/> <cdnm/> </M0010> </prcpgenrflag> </baseinfo> <cond> <fromdd/> <todd/> <code>P</code> <prcpcd/> </cond> </init> <hidden> <srchinfo> <reqpid/> </srchinfo> </hidden> <temp/> <textresult/> </root> </instance> <script type="javascript" ev:event="xforms-ready"> <![CDATA[ /* È­¸éÀ» ÃʱâÈ­ ÇÕ´Ï´Ù. */ fInitialize(); /* Á¶È¸ ¸Þ¼­µå¸¦ È£ÃâÇÕ´Ï´Ù */ setTree(datagrid1, 1, 4, true); ]]> </script> <submission id="TRZCS00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/> <submission id="TRZCS00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/pGubn" resultref="/root/main/codelistmoduleList"/> <submission id="TRADT10321" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/init/orddept"/> <submission id="TRZBC00101"/> </model> <script type="javascript" src="../../../com/commonweb/js/common.js"/> <script type="javascript" src="../../../com/referenceweb/js/ZCR001.js"/> <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/> <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/> <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO16300.js"/> <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/> <script type="javascript"> <![CDATA[ var gv_deptflag=""; /* ÃʱâÈ­ ÀÛ¾÷À» ÇÕ´Ï´Ù. */ function fInitialize(){ /* ³¯Â¥ ±âº»°ª ¼¼ÆÃ */ model.removeNodeset("/root/main/list/resultSummaryList"); model.removeNodeset("/root/main/list/resultSummaryCnt"); submit("TRZCS00801"); ipt_fromdd.value = getNewDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD").substr(0, 8); ipt_todd.value = getNewDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD").substr(0, 8); zbcfGetCodeList(new Array("M0010"), new Array("/root/init/baseinfo/prcpgenrflag")); model.removenode("/root/init/baseinfo/prcpgenrflag/M0010[1]"); for(i=0;i<19;i++){ checkbox1.select(i); } model.refresh(); } function fInitialize1(){ window.reload(); /*model.removeNodeset("/root/main/list/resultSummaryList"); model.removeNodeset("/root/main/list/resultSummaryCnt"); model.removeNodeset("/root/init/code"); model.removeNodeset("/root/main/patinfo/patinfolist"); ipt_fromdd.value = getNewDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD").substr(0, 8); ipt_todd.value = getCurrentDate().substr(0, 8); for(i=0;i<19;i++){ checkbox1.select(i); } model.refresh();*/ } ]]> </script> <script type="javascript" src="../../../com/commonweb/js/common.js"/> </xhtml:head> <xhtml:body pagewidth="1280" pageheight="990" guideline="2,345;1,1202;2,779;1,1202;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; "> <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:5px; top:25px; width:1192px; height:105px; background-color:#fffbf2; border-color:#ffd799; "/> <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:13px; ">¸ð´ÏÅ͸µ °ËÅä°á°ú</caption> <button id="button11" class="btn2_letter4" style="left:1135px; top:130px; width:64px; height:19px; "> <caption>¿¢¼¿ÀúÀå</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls"); if (fileName != ""){ datagrid1.saveExcel(fileName); } ]]> </script> </button> <datagrid id="datagrid1" nodeset="/root/main/list/resultSummaryList" class="datagrid2" caption="lv^±×·ì¹øÈ£^¸ðµâÄÚµå^±¸ºÐ^ó¹æÀÏÀÚ^Áø·á°ú^ó¹æÀÚ^µî·Ï¹øÈ£^ȯÀÚ¸í^¸ðµâ¸í^alert¿©ºÎ^󸮰á°ú^󹿻çÀ¯^Á¤º¸Á¦°ø^ȯÀÚ¼ºº°^»ý³â¿ùÀÏ^ÁÖÄ¡ÀÇ" colsep="^" colwidth="0, 0, 0, 92, 75, 91, 69, 80, 79, 239, 56, 61, 62, 65, 61, 73, 91" ellipsis="true" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="update" selectionmode="free" style="left:0px; top:155px; width:1202px; height:470px; "> <col ref="lv" visibility="hidden"/> <col ref="guid" visibility="hidden"/> <col ref="moduleid" visibility="hidden"/> <col ref="prcpgenrflag"/> <col ref="prcpdd" style="text-align:center; "/> <col ref="orddeptcd" style="text-align:center; "/> <col ref="fstrgstid" style="text-align:center; "/> <col ref="pid" style="text-align:center; "/> <col ref="hngnm" style="text-align:center; "/> <col ref="moduleid"/> <col ref="alertny" style="text-align:center; "/> <col ref="procyn" style="text-align:center; "/> <col ref="resnyn" style="text-align:center; "/> <col ref="infoyn" style="text-align:center; "/> <col ref="sex" style="text-align:center; "/> <col ref="brthdd" style="text-align:center; "/> <col ref="orddrid" style="text-align:center; "/> <script type="javascript" ev:event="ondblclick"> <![CDATA[ var selectedrow = (datagrid1.row ); if(0 == selectedrow){return;} var param1 = model.getValue("/root/main/list/resultSummaryList["+selectedrow+"]/guid"); model.makeValue("/root/send/screen/pGuID", param1); modal("../../screenweb/xrw/SPZCS00401_MonitorMessage", "", "", "", "SPZCS00401","/root/send/screen/pGuID","/root/send/screen/pGuID"); ]]> </script> </datagrid> <caption id="caption12" class="tit_2" style="left:0px; top:135px; width:430px; height:13px; ">¸ð´ÏÅ͸µ °á°ú¸®½ºÆ® (´õºí Ŭ¸¯½Ã °ËÅä°á°ú¸¦ º¼ ¼ö ÀÖ½À´Ï´Ù.)</caption> <line id="line7" class="line_1" style="x1:0px; y1:150px; x2:1202px; y2:150px; "/> <caption id="caption1" class="tit_2" style="left:0px; top:635px; width:169px; height:13px; ">¸ð´ÏÅ͸µ Áý°è</caption> <button id="button1" class="btn2_letter4" style="left:1135px; top:630px; width:64px; height:19px; "> <caption>¿¢¼¿ÀúÀå</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls"); if (fileName != ""){ datagrid2.saveExcel(fileName); } ]]> </script> </button> <line id="line1" class="line_1" style="x1:0px; y1:650px; x2:1202px; y2:650px; "/> <datagrid id="datagrid2" nodeset="/root/main/list/resultSummaryCnt" class="datagrid2" caption="¸ðµâ¸í^½ÉÆò¿øº´¿ë±Ý±â^½ÉÆò¿øÆ¯Á¤¿¬·É´ë±Ý±â^½ÉÆò¿øÀúÇÔ·®^½ÉÆò¿ø±Þ¿©ÁßÁö^½ÉÆò¿øÁߺ¹^½ÉÆò¿øÀӺαݱâ^¾àǰ»óÈ£ÀÛ¿ë^Áߺ¹Åõ¿©^¾Ë·¯Áö^¿ë·®^Áúº´±Ý±â^Ä¡·á±â°£^ÀÓ»êºÎÁÖÀÇ»çÇ×^¼öÀ¯ºÎÁÖÀÇ»çÇ×^³ëÀÎÁÖÀÇ»çÇ×^¼Ò¾ÆÁÖÀÇ»çÇ×^½Å±â´ÉÀå¾Ö^°£±â´ÉÀå¾Ö^À½½Ä»óÈ£ÀÛ¿ë" colsep="^" colwidth="140,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55,55" extendlastcol="scroll" frozencols="1" mergecellsfixedrows="bycolrec" rowheader="seq" selectionmode="free" style="left:0px; top:655px; width:1202px; height:126px; "> <col ref="title"/> <col ref="sum_kdcm" style="text-align:right; "/> <col ref="sum_kacm" style="text-align:right; "/> <col ref="sum_ldose" style="text-align:right; "/> <col ref="sum_sefty" style="text-align:right; "/> <col ref="sum_di" style="text-align:right; "/> <col ref="sum_hpreg" style="text-align:right; "/> <col ref="sum_ddim" style="text-align:right; "/> <col ref="sum_dt" style="text-align:right; "/> <col ref="sum_dam" style="text-align:right; "/> <col ref="sum_dose" style="text-align:right; "/> <col ref="sum_ddcm" style="text-align:right; "/> <col ref="sum_dura" style="text-align:right; "/> <col ref="sum_preg" style="text-align:right; "/> <col ref="sum_lact" style="text-align:right; "/> <col ref="sum_geri" style="text-align:right; "/> <col ref="sum_pedi" style="text-align:right; "/> <col ref="sum_crcl" style="text-align:right; "/> <col ref="sum_hemp" style="text-align:right; "/> <col ref="sum_dfim" style="text-align:right; "/> </datagrid> <button id="btn_ClassficationSearch7" class="btn1_letter2" style="left:1140px; top:0px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; "> <caption>Á¶È¸</caption> <script type="javascript" ev:event="onclick"> <![CDATA[ if (model.getValue("/root/send/pStDD") == ""){ messageBox("Á¶È¸½ÃÀÛ³â¿ùÀº", "I003"); model.setFocus("ipt_fromdd"); return; } if (model.getValue("/root/send/pEnDD") == ""){ messageBox("Á¶È¸Á¾·á³â¿ùÀº", "I003"); model.setFocus("ipt_todd"); return; } if (model.getValue("/root/send/pStDD") > model.getValue("/root/send/pEnDD")){ messageBox("Á¶È¸ ½ÃÀÛ³â¿ùÀº Á¾·á³â¿ù º¸´Ù Ŭ ¼ö", "I004"); model.setFocus("ipt_fromdd"); return; } model.setValue("/root/send/pArrModuleID",checkbox1.value); model.setValue("/root/send/pPID",model.getValue("/root/main/patinfo/patinfolist/pid")); model.setValue("/root/send/pArrPrcpgenrflag",checkbox4.value); // 󹿱¸ºÐ(prcpgenrflag) model.setValue("/root/send/pArrDeptcd",chk_deptcd.value); // Áø·áºÎ¼­(deptcd) var prcpSize = getNodesetCount ("/root/init/code/prcpcd/codecd"); var arrPrcpcd=""; for(i=1;i<=prcpSize;i++){ if(i==1){ arrPrcpcd = model.getValue("/root/init/code/prcpcd"+ "[" + i + "]/" +"codecd"); } else{ arrPrcpcd = arrPrcpcd+"|"+model.getValue("/root/init/code/prcpcd"+ "[" + i + "]/" +"codecd"); } } model.setValue("/root/send/pArrPrcpcd",arrPrcpcd); // ó¹æÄÚµå model.setValue("/root/send/pInstCD", getUserInfo("dutplceinstcd")); model.removeNodeset("/root/main/list/resultSummaryList"); model.removeNodeset("/root/main/list/resultSummaryCnt"); datagrid1.refresh(); datagrid2.refresh(); submit("TRZCS00601"); setTree(datagrid1, 1, 4, true); datagrid1.refresh(); datagrid2.refresh(); ]]> </script> </button> <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:490px; top:25px; width:707px; height:105px; background-color:#fffbf2; border-color:#ffd799; "/> <select id="checkbox1" ref="/root/main/codelist/moduleList" overflow="visible" scroll="vertical" appearance="full" cols="5" itemwidth="138" sep="|" style="left:495px; top:52px; width:695px; height:61px; border-style:none; "> <choices> <itemset nodeset="/root/main/codelist/moduleList"> <label ref="modulenm"/> <value ref="moduleid"/> </itemset> </choices> </select> <caption id="caption4" class="cell_1" style="left:495px; top:27px; width:87px; height:23px; font-family:µ¸¿ò; vertical-align:middle; ">¸ðµâ¼±ÅÃ</caption> <select1 id="radio1" ref="/root/init/radio/radio1" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:585px; top:30px; width:210px; height:20px; border-style:none; "> <choices> <item> <label>¼±ÅÃÇØÁ¦</label> <value>no</value> </item> <item> <label>Àüü¼±ÅÃ</label> <value>all</value> </item> </choices> <script type="javascript" ev:event="onclick"> <![CDATA[ if(radio1.value =="all") { for(i=0;i<19;i++){ checkbox1.select(i); } } else if(radio1.value =="no"){ for(i=18;i>=0;i--){ checkbox1.deselect(i); } } ]]> </script> </select1> <caption id="caption11" class="search_n_b" style="left:175px; top:27px; width:12px; height:17px; font-weight:bolder; ">~</caption> <caption id="caption2" class="cell_1" style="left:290px; top:51px; width:87px; height:23px; font-family:µ¸¿ò; vertical-align:middle; ">ȯÀÚ¸í</caption> <caption id="caption3" class="search_name" style="left:10px; top:27px; width:65px; height:17px; ">±â°£ :</caption> <input id="ipt_todd" ref="/root/send/pEnDD" class="input_default" navindex="2" inputtype="date" style="left:190px; top:27px; width:95px; height:19px; text-align:center; "/> <input id="input1" ref="/root/main/patinfo/patinfolist/hngnm" class="input_default" editable="true" style="left:380px; top:52px; width:100px; height:19px; "/> <input id="input17" ref="/root/main/patinfo/patinfolist/pid" class="input_default" editable="true" style="left:380px; top:28px; width:80px; height:19px; "/> <caption id="caption8" class="cell_1" style="left:290px; top:27px; width:87px; height:23px; font-family:µ¸¿ò; vertical-align:middle; ">µî·Ï¹øÈ£</caption> <input id="ipt_fromdd" ref="/root/send/pStDD" class="input_default" navindex="1" inputtype="date" style="left:75px; top:27px; width:95px; height:19px; text-align:center; "/> <button id="button61" class="icon_search" style="left:465px; top:24px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ modal("SPPMC02500", "1","150", "150", "SPPMC02500", "", ""); if(model.getValue("/root/main/patinfo/patinfolist/pid") != ""){ model.setValue("/root/hidden/srchinfo/reqpid" ,model.getValue("/root/main/patinfo/patinfolist/pid")); //model.setValue("/root/send/srchinfo/srchhngnm",model.getValue("/root/init/patinfo/hngnm")); model.refresh(); } ]]> </script> </button> <caption id="caption5" class="search_name" style="left:10px; top:92px; width:90px; height:17px; ">ó¹æÄÚµå :</caption> <button id="btn_patsrch" class="icon_search" style="left:300px; top:92px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ model.setValue("/root/main/cond/fromdd",model.getValue("/root/send/pStDD")); model.setValue("/root/main/cond/todd",model.getValue("/root/send/pEnDD")); modal("SPMMO16600"); fSetComboCodeCD(); cmb_prcpcd.select(0) ]]> </script> </button> <select1 id="cmb_prcpcd" ref="/root/main/cond/prcpcd" appearance="minimal" style="left:95px; top:90px; width:190px; height:19px; "> <choices> <itemset nodeset="/root/init/code/prcpcd"> <label ref="codecd"/> <value ref="codenm"/> </itemset> </choices> </select1> <select id="chk_deptflag" ref="/root/send/srchdata/deptflag" class="checkbox_search" overflow="visible" appearance="full" cols="8" style="left:380px; top:90px; width:90px; height:20px; border-style:none; "> <choices> <item> <label>Áø·áºÎ¼­</label> <value>D</value> </item> </choices> <script type="javascript" ev:event="xforms-select"> <![CDATA[ //fSelDeptflag(); model.setValue("/root/send/srchdata/srchfromdd",model.getValue("/root/send/pStDD")); model.setValue("/root/send/srchdata/srchtodd",model.getValue("/root/send/pEnDD")); // Áø·á°ú chk_deptcd.visible=true; var deptflag = model.getValue("/root/send/srchdata/deptflag"); if(deptflag != ""){ submit("TRADT10321"); //model.setValue("/root/send/srchdata/srchdeptcd", ""); var srchdeptcd = model.GetValue("/root/send/srchdata/srchdeptcd"); var tmp_deptflag = deptflag.split(" "); // ÀÌÀü ¼±ÅÃµÈ ºÎ¼­±¸ºÐÀ» À§ÇÑ ºñ±³º¯¼ö ¼³Á¤ } model.refresh(); ]]> </script> <script type="javascript" ev:event="xforms-deselect"> <![CDATA[ // Áø·á°ú chk_deptcd.visible=true; var deptflag = model.getValue("/root/send/srchdata/deptflag"); if(deptflag != ""){ submit("TRADT10321"); // üũ¹Ú½º ÇØÁ¦ÇÑ Ç׸ñÀ» Á¶È¸Á¶°Ç¿¡¼­ Á¦¿Ü - ±×¿Ü ±âÁ¸ üũÇ׸ñ À¯Áö var srchdeptcd = ""; var tmp_srchdeptcd = model.getValue("/root/send/srchdata/srchdeptcd").split("|"); //±âÁ¸ ¼±ÅÃÇÑ [»ó¼¼ºÎ¼­]¸ñ·Ï ¼³Á¤ for(var i = 1; i <= getNodesetCount("/root/init/orddept/dept"); i++){ // »õ·ÎÁ¶È¸µÈ [»ó¼¼ºÎ¼­]¸ñ·Ï¸¸Å­.. * ÀνºÅϽº¹è¿­Àº 1ºÎÅÍ.. if(isSearchString(deptflag, model.getValue("/root/init/orddept/dept["+i+"]/orddeptflag"))){ // »õ·Î Á¶È¸µÈ ºÎ¼­ Áß ÀÌÀü ¼±ÅÃÇÑ Ç׸ñ¿¡ ´ëÇØ¼­¸¸.. [ºÎ¼­±¸ºÐ]À¸·Î ºñ±³ for(j = 0; j < tmp_srchdeptcd.length; j++){ if(model.getValue("/root/init/orddept/dept["+i+"]/deptcd") == tmp_srchdeptcd[j]){ // ½Å/±¸ [»ó¼¼ºÎ¼­] ºñ±³ srchdeptcd += tmp_srchdeptcd[j]+"|"; //if(i != (getNodesetCount("/root/init/orddept/dept")+1)) srchdeptcd += "|"; // °¡Àå ¸¶Áö¸·Àº ±¸ºÐÀÚ »ðÀÔÇÏÁö ¾ÊÀ½. } model.setValue("/root/init/orddept/dept["+i+"]/chk", "Y"); } } } srchdeptcd = srchdeptcd.substr(0,parseInt(srchdeptcd.length)-1); // ¸¶Áö¸· ±¸ºÐÀÚ´Â »èÁ¦ model.setValue("/root/send/srchdata/srchdeptcd", srchdeptcd); gv_deptflag = deptflag; // ÀÌÀü ¼±ÅÃµÈ ºÎ¼­±¸ºÐÀ» À§ÇÑ ºñ±³º¯¼ö ¼³Á¤ }else{ // ¼±ÅÃÇÑ ´ë»óºÎ¼­°¡ ¾øÀ»½Ã ºÎ¼­ Á¶È¸Á¶°Ç ÃʱâÈ­ model.resetInstanceNode("/root/init/orddept/dept"); model.setValue("/root/send/srchdata/srchdeptcd", ""); gv_deptflag = ""; } model.refresh(); ]]> </script> <script type="javascript" ev:event="onmouseover"> <![CDATA[ chk_deptcd.visible=true; ]]> </script> </select> <select id="chk_deptcd" ref="/root/send/srchdata/srchdeptcd" overflow="visible" appearance="full" cols="3" sep="|" style="left:380px; top:110px; width:100px; height:20px; background-color:#ffffff; border-style:none; "> <choices> <itemset nodeset="/root/init/orddept/dept"> <label ref="depthngnm"/> <value ref="deptcd"/> </itemset> </choices> <script type="javascript" ev:event="onmousemove"> <![CDATA[ chk_deptcd.visible=true; ]]> </script> <script type="javascript" ev:event="onmouseout"> <![CDATA[ chk_deptcd.visible=false; ]]> </script> </select> <select id="checkbox4" ref="/root/init/baseinfo/prcpgenrflag" class="checkbox_search" overflow="visible" appearance="full" cols="4" itemheight="20" itemwidth="45" sep="|" style="left:95px; top:50px; width:190px; height:35px; border-style:none; "> <choices> <itemset nodeset="/root/init/baseinfo/prcpgenrflag/M0010"> <label ref="cdnm"/> <value ref="cdid"/> </itemset> </choices> </select> <caption id="caption7" class="search_name" style="left:10px; top:50px; width:90px; height:17px; ">󹿱¸ºÐ :</caption> <button id="button2" class="btn1_letter3" style="left:1070px; top:0px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; "> <caption>ÃʱâÈ­</caption> <script type="javascript" ev:event="onclick"> <![CDATA[ fInitialize1(); ]]> </script> </button> </xhtml:body> </xhtml:html>