Äڵ庰 ȯÀÚÁ¶È¸
- <code>P</code> <alowtwo/> <ioflag>T</ioflag> <prcpcd2/> <exec/> <wardcd/> <kindcd/> <kindcdflag/> </cond> <patprcpinfo> <patprcplist/> </patprcpinfo> </main> <send> <reqdata/> <savedata/> </send> <hidden/> <init> <orddept/> <code> <prcpcd/> </code> <wardcdgrup/> </init> </root> </instance> <submission id="TRMMO05201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/oprecinfo"/> <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/> <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/> <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/> <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/> <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/> <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/> <submission id="TRMNR01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/wardcdgrup"/> <script type="javascript" ev:event="xforms-ready"> <![CDATA[ fSetBaseInit(); fGrdInit() ; model.refresh(); ]]> </script> <submission id="TRMMO16302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patprcplnfo"/> <submission id="TXMMO16302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/> <script type="javascript" ev:event="xforms-model-construct-done"> <![CDATA[ //var colHidnValue = grdBaseColHidn("D"); //grdBaseColHidn(colHidnValue, "grd_prcplist", 70, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8"); ]]> </script> </model> <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="../../../emr/prcpmngtweb/js/MMO001.js"/> <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO16300.js"/> </xhtml:head> <xhtml:body pagewidth="970" pageheight="730" guideline="1,943;2,710;2,710;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; "> <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:19px; width:945px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/> <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:142px; height:14px; ">Äڵ庰 ȯÀÚ Á¶È¸</caption> <line id="line1" class="line_1" style="x1:0px; y1:79px; x2:945px; y2:79px; "/> <caption id="caption1" style="left:196px; top:53px; width:15px; height:20px; text-align:center; ">~</caption> <line id="line3" style="x1:875px; y1:20px; x2:875px; y2:73px; border-color:#ffe4bb; border-left-style:solid; "/> <caption id="caption7" class="search_name" style="left:10px; top:53px; width:90px; height:17px; ">Á¶È¸±â°£ :</caption> <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input" autonext="false" inputtype="date" style="left:100px; top:53px; width:98px; height:19px; text-align:center; "/> <input id="ipt_todd" ref="/root/main/cond/todd" class="input" autonext="false" inputtype="date" style="left:210px; top:53px; width:98px; height:19px; text-align:center; "/> <datagrid id="grd_prcplist" nodeset="/root/main/patprcpinfo/patprcplist" caption="ȯÀÚ¹øÈ£^ȯÀÚ¸í^S/A^ÁֹιøÈ£^Áø·á(ó¹æ)ÀÏ^º´µ¿¸í^Áø·áÀÇ^ó¹æÀÇ^¿¹¾à±¸ºÐ^¼ö·®^¼ö·®^¿ë·®^¿ë·®^Ƚ¼ö^Àϼö^¿ë¹ý/°Ëü^ó¹æÄÚµå^󹿏í^ICD10^Áø´ÜÄÚµå^R/O^ÁÖ/ºÎ^Áø´Ü¸í^Áø·á°ú^¿ìÆí¹øÈ£^ÁÖ¼Ò" colsep="^" colwidth="60, 70, 50, 90, 80, 80, 66, 66, 75, 42, 42, 39, 42, 39, 39, 95, 90, 150, 60, 90, 40, 40, 210, 110, 70, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:85px; width:945px; height:625px; "> <col ref="pid" style="text-align:center; "/> <col ref="hngnm" style="text-align:center; "/> <col ref="sa" style="text-align:center; "/> <col ref="rgstno" format="yyyy-mm-dd" style="text-align:center; "/> <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/> <col ref="wardnm"/> <col ref="usernm" style="text-align:center; "/> <col ref="prcpdrnm" style="text-align:center; "/> <col ref="rsrvflag"/> <col ref="prcpqty" visibility="hidden"/> <col ref="drprcpetc7" visibility="hidden"/> <col ref="prcpvol" visibility="hidden"/> <col ref="drprcpetc8" visibility="hidden"/> <col ref="prcptims"/> <col ref="prcpdayno"/> <col ref="drugmthdspccdnm" style="text-align:left; "/> <col ref="prcpcd" style="text-align:left; "/> <col ref="prcpnm" style="text-align:left; "/> <col ref="icd10cd" style="text-align:center; "/> <col ref="diagcd"/> <col ref="kindcd" style="text-align:center; "/> <col ref="kindcdflag" style="text-align:center; "/> <col ref="diagengnm"/> <col ref="depthngnm"/> <col ref="zipcd"/> <col ref="addr"/> </datagrid> <button id="btn_req" class="btn1_letter2" style="left:881px; top:29px; width:56px; height:22px; "> <caption>Á¶È¸</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ model.removeNodeset("/root/main/patprcpinfo/patprcplist"); var title = model.getValue("/root/main/cond/title"); var prcpcd = model.getValue("/root/main/cond/prcpcd"); var ioflag = model.getValue("/root/main/cond/ioflag"); var code = model.getValue("/root/main/cond/code"); if (isNull(title)) { messageBox("Á¦¸ñÀº","I003"); model.setFocus("ipt_title"); return; } if (isNull(prcpcd)) { messageBox("ó¹æÄÚµå´Â","I003"); model.setFocus("ipt_prcpcd"); return; } if (isNull(ioflag)) { messageBox("¿Ü·¡/ÀÔ¿ø ±¸ºÐÀº","I003"); model.setFocus("rdo_ioflag"); return; } if (isNull(code)) { messageBox("ó¹æÄÚµå/»óº´ÄÚµå ±¸ºÐÀº","I003"); model.setFocus("rdo_code"); return; } var rtnparam = getParameter("SPMMO16300"); rtnparam = rtnparam.split("¢Ì"); var prcpcd = "'"; var prcpcd2= ""; for(i = 1; i< rtnparam.length-1; i++){ prcpcd = prcpcd + model.getValue("/root/init/code/prcpcd[" + i + "]/codecd") +"', '"; prcpcd2 = prcpcd2 + "_" + model.getValue("/root/init/code/prcpcd[" + i + "]/codecd"); } prcpcd = prcpcd + " ' "; model.setValue(root.main.cond.prcpcd, prcpcd); model.setValue(root.main.cond.prcpcd2, prcpcd2); mmbfGetHardCodeInfo("/root/set/reqdata", "/root/hidden/time",5568); var jobkind = getUserInfo("jobkindcd"); // if ( jobkind == "0330" || jobkind == "1411" ) // { // model.setValue("/root/main/cond/wardcd" , "."); // } // else // { // model.setValue("/root/main/cond/orddeptcd" , "."); // } model.copyNode("/root/send/reqdata", "/root/main/cond"); var sUserDeptcd = getUserInfo("dutplcecd"); var cTime = getCurrentTime().substr(0, 4); var time = model.getValue("/root/hidden/time/hardcd[hardcd='" + sUserDeptcd + "']/hardcdnm"); if ( time != '') { var ftime = time.substr(0,4); var ttime = time.substr(4,4); if(cTime > ttime || cTime < ftime) { if(submit("TRMMO16302")) { submit("TXMMO16302"); } } else { var ddInterval = getDateInterval(ipt_fromdd.value, ipt_todd.value); if(ddInterval > 30){ messageBox("30ÀϱîÁö¸¸ Á¶È¸", "I006"); return; } else{ if(submit("TRMMO16302")) { submit("TXMMO16302"); } } } } else { if(cTime > "1700" || cTime <0830) { if(submit("TRMMO16302")) { submit("TXMMO16302"); } } else { var ddInterval = getDateInterval(ipt_fromdd.value, ipt_todd.value); if(ddInterval > 30){ messageBox("¾÷¹«½Ã°£[08:30 ~ 17:00]¿¡´Â 30ÀϱîÁö¸¸ Á¶È¸", "I006"); return; } else{ if(submit("TRMMO16302")) { submit("TXMMO16302"); } } } } ]]> </script> </button> <caption id="caption2" class="search_name" style="left:10px; top:28px; width:90px; height:17px; ">Á¦ ¸ñ :</caption> <input id="ipt_title" ref="/root/main/cond/title" class="input_essential" style="left:100px; top:28px; width:355px; height:19px; "/> <select1 id="rdo_code" ref="/root/main/cond/code" appearance="full" cellspacing="3" cols="2" overflow="visible" style="left:318px; top:55px; width:145px; height:20px; font-family:¹ÙÅÁ; border-style:none; "> <choices> <item> <label>ó¹æÄÚµå</label> <value>P</value> </item> <item> <label>»óº´ÄÚµå</label> <value>D</value> </item> </choices> <script type="javascript" ev:event="xforms-value-changed"> <![CDATA[ fGrdInit() ; var code = rdo_code.value; if(code == "P"){ //bol_exec.visible = true; //cap_exec.visible = true; switch2.selectedIndex = 0; } else{ //bol_exec.visible = false; //cap_exec.visible = false; switch2.selectedIndex = 1; } ]]> </script> </select1> <bool id="bool1" visibility="hidden" checkvalue="Y,N" ref="/root/main/cond/alowtwo" style="left:290px; top:0px; width:20px; height:20px; "/> <caption id="caption3" visibility="hidden" style="left:320px; top:0px; width:60px; height:20px; "> <![CDATA[Áߺ¹Çã¿ë]]> <script type="javascript" ev:event="onclick"> <![CDATA[ var alowtwo = model.getValue(root.main.cond.alowtwo); if (alowtwo == "Y") { model.setValue(root.main.cond.alowtwo, "N"); } else { model.setValue(root.main.cond.alowtwo, "Y"); } model.refresh(); ]]> </script> </caption> <button id="btn_patsrch" class="icon_search" style="left:670px; top:55px; width:16px; height:16px; "> <caption/> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ modal("SPMMO16600"); fSetComboCodeCD(); cmb_prcpcd.select(0) ]]> </script> </button> <caption id="caption5" class="search_name" style="left:465px; top:55px; width:90px; height:17px; ">°Ë»öÄÚµå :</caption> <caption id="caption8" class="search_name" style="left:680px; top:28px; width:60px; height:17px; ">±¸ºÐ :</caption> <select1 id="rdo_ioflag" ref="/root/main/cond/ioflag" appearance="full" cellspacing="0" cols="3" overflow="visible" style="left:742px; top:28px; width:135px; height:17px; border-style:none; "> <choices> <item> <label>Àüü</label> <value>T</value> </item> <item> <label>ÀÔ¿ø</label> <value>I</value> </item> <item> <label>¿Ü·¡</label> <value>O</value> </item> </choices> </select1> <select1 id="cmb_prcpcd" ref="/root/main/cond/prcpcd" appearance="minimal" style="left:555px; top:53px; width:110px; height:19px; "> <choices> <itemset nodeset="/root/init/code/prcpcd"> <label ref="codecd"/> <value ref="codenm"/> </itemset> </choices> </select1> <button id="button1" class="btn2_letter2" style="left:895px; top:54px; width:42px; height:19px; "> <caption>¿¢¼¿</caption> <script type="javascript" ev:event="DOMActivate"> <![CDATA[ var title = model.getValue("/root/main/cond/title"); fsaveGridToExcel(grd_prcplist, title); ]]> </script> </button> <switch id="switch1" class="sw_no_border" style="left:464px; top:24px; width:206px; height:25px; "> <case id="case1"> <caption id="caption4" class="search_name" style="left:0px; top:2px; width:90px; height:17px; ">Áø ·á °ú :</caption> <select1 id="cmb_orddeptcd" ref="/root/main/cond/orddeptcd" appearance="minimal" style="left:91px; top:2px; width:110px; height:19px; text-align:left; "> <choices> <itemset nodeset="/root/init/orddept/dept"> <label ref="depthngnm"/> <value ref="deptcd"/> </itemset> </choices> </select1> </case> <case id="case2" selected="true"> <select1 id="combo1" ref="/root/main/cond/wardcd" appearance="minimal" style="left:91px; top:2px; width:110px; height:19px; text-align:left; "> <choices> <itemset nodeset="/root/init/wardcdgrup/wardcdgruplist"> <label ref="wardnm"/> <value ref="wardcd"/> </itemset> </choices> </select1> <caption id="caption9" class="search_name" style="left:0px; top:2px; width:90px; height:17px; ">º´ µ¿ :</caption> </case> </switch> <switch id="switch2" class="sw_no_border" style="left:695px; top:50px; width:200px; height:25px; "> <case id="case3" style="left:0px; top:0px; width:198px; height:148px; "> <bool id="bol_exec" checkvalue="Y,N" ref="/root/main/cond/exec" style="left:0px; top:1px; width:30px; height:20px; "/> <caption id="cap_exec" style="left:26px; top:2px; width:113px; height:20px; ">½Ç½ÃµÈ 󹿏¸ Á¶È¸</caption> </case> <case id="case4" selected="true"> <caption id="caption10" style="left:125px; top:2px; width:70px; height:20px; font-family:µ¸¿ò; font-size:10pt; ">ºÎÁø´ÜÆ÷ÇÔ</caption> <bool id="bol_kindcd" checkvalue="Y,N" ref="/root/main/cond/kindcd" style="left:3px; top:1px; width:20px; height:20px; "/> <bool id="bol_kindcdflag" checkvalue="Y,N" ref="/root/main/cond/kindcdflag" style="left:108px; top:1px; width:20px; height:20px; "/> <caption id="caption11" style="left:26px; top:2px; width:59px; height:20px; font-family:µ¸¿ò; font-size:10pt; ">R/O Æ÷ÇÔ</caption> </case> </switch> <bool id="bol_exec2" visibility="hidden" checkvalue="Y,N" ref="/root/main/cond/exec" style="left:135px; top:0px; width:50px; height:20px; "/> <caption id="cap_exec2" visibility="hidden" style="left:180px; top:0px; width:106px; height:20px; ">½Ç½ÃµÈ 󹿏¸ Á¶È¸</caption> </xhtml:body> </xhtml:html>