123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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 xmlns="">
- <main>
- <picmrsltlist/>
- <picmrudtlist>
- <rulecd/>
- </picmrudtlist>
- </main>
- <send>
- <data1>
- <pid/>
- <rulecd/>
- <prcpnm/>
- <prcpdesc/>
- </data1>
- <data2/>
- </send>
- <init/>
- <hidden/>
- <temp>
- <calcscorcd/>
- <aplydd/>
- <sflag/>
- </temp>
- </root>
- </instance>
- <submission id="TRPPI00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" replace="instance" resultref="/root/main/picmrudtlist"/>
- <submission id="TRPPI00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" replace="instance" resultref="/root/main/picmrsltlist"/>
- <submission id="TXPPI00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/temp"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- grd_picmrsltlist.removeRow();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1213;2,783;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1211px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">타병원 결과등록</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1211px; height:732px; ">
- <group id="group2" style="left:0px; top:10px; width:1211px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:1211px; height:40px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="6" style="left:1130px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRPPI00501");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:34px; "/>
- <caption id="caption5" class="search_name" style="left:30px; top:11px; width:86px; height:17px; ">환자번호 :</caption>
- <caption id="caption2" class="search_name" style="left:278px; top:11px; width:86px; height:17px; ">제어코드 :</caption>
- <caption id="caption3" class="search_name" style="left:526px; top:11px; width:86px; height:17px; ">처 방 명 :</caption>
- <caption id="caption4" class="search_name" style="left:774px; top:11px; width:86px; height:17px; ">사 유 :</caption>
- <input id="ipt_pid" ref="/root/send/data1/pid" class="input_search" style="left:121px; top:10px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == '13') {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_rulecd" ref="/root/send/data1/rulecd" class="input_search" style="left:369px; top:10px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == '13') {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_prcpnm" ref="/root/send/data1/prcpnm" class="input_search" style="left:615px; top:10px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == '13') {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_prcpdesc" ref="/root/send/data1/prcpdesc" class="input_search" style="left:859px; top:10px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == '13') {
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:63px; width:157px; height:13px; ">타병원 결과 List</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:79px; x2:1204px; y2:78px; "/>
- <datagrid id="grd_picmrsltlist" nodeset="/root/main/picmrsltlist" class="datagrid2" caption="환자번호^제어코드^수가코드^처방명^결과^사유^시작일^종료일" colsep="^" colwidth="97, 91, 106, 301, 153, 231, 100, 100" dataheight="23" defaultrows="0" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:85px; width:1205px; height:640px; ">
- <col ref="pid" type="input" style="text-align:center; "/>
- <col ref="rulecd" type="input" style="text-align:center; "/>
- <col ref="prcpcd" type="inputbutton"/>
- <col ref="prcpnm" type="input"/>
- <col ref="prcprslt" type="input"/>
- <col ref="prcpdesc" type="input"/>
- <col ref="fromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_picmrsltlist.col == grd_picmrsltlist.colRef("prcpcd")) {
- var rowno = grd_picmrsltlist.row;
- modal("../../../pam/calcscormngtweb/xrw/SMPIC00200_수가조회", "", "200", "200" ,"SMPIC00200_수가조회", "", "");
-
- var vprcpcd = model.getValue("/root/temp/picmmech/picmmech_calcscorcd");
- var vprcpnm = model.getValue("/root/temp/picmmech/picmmech_ordnm");
-
- model.setValue("/root/temp/calcscorcd", vprcpcd);
- model.setValue("/root/temp/aplydd", model.getValue("/root/send/data1/aplydd"));
- model.setValue("/root/temp/sflag", "Y");
-
- submit("TRPPI00101");
-
- grd_picmrsltlist.valueMatrix(rowno, grd_picmrsltlist.colRef("prcpcd")) = vprcpcd;
- grd_picmrsltlist.valueMatrix(rowno, grd_picmrsltlist.colRef("prcpnm")) = vprcpnm;
- //grd_picmrsltlist.valueMatrix(rowno, grd_picmrsltlist.colRef("rulecd")) = ;
-
- model.resetInstanceNode("/root/temp");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="button5" class="btn2_letter4" visibility="visible" style="left:1140px; top:57px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_picmrsltlist.saveExcel(fileName, "타병원결과목록", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <button id="btn_rowdel" class="btn2_letter3" style="left:1084px; top:57px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_picmrsltlist.row;
- grd_picmrsltlist.deleteRow(row);
- ]]>
- </script>
- </button>
- <button id="btn_rowadd" class="btn2_letter3" style="left:1028px; top:57px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_picmrsltlist.addRow();
-
- var cur_row = grd_picmrsltlist.row;
-
- grd_picmrsltlist.valueMatrix(cur_row, grd_picmrsltlist.colRef("fromdd")) = getCurrentDate();
- grd_picmrsltlist.valueMatrix(cur_row, grd_picmrsltlist.colRef("todd")) = "99991231";
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:744px; width:1211px; height:40px; ">
- <line id="line23" class="line_6" style="x1:0px; y1:3px; x2:1211px; y2:3px; "/>
- <button id="button1" class="btn4_letter3" style="left:1134px; top:10px; width:68px; height:22px; ">
- <caption>저 장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("","Q002")==6 ) {
- var update = getGridUpdateData(grd_picmrsltlist);
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
-
- } else {
- model.setValue("/root/send/data2", update);
- submit("TXPPI00501");
- }
-
- }
- submit("TRPPI00501");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|