123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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 xmlns="">
- <main>
- <h_prcp>
- <prcp>
- <prcp_cnt/>
- <prcp_pid/>
- <prcp_hngnm/>
- <prcp_instcd/>
- <prcp_orddd/>
- <prcp_cretno/>
- <prcp_ordtype/>
- <prcp_orddeptcd/>
- <prcp_orddeptcdnm/>
- <prcp_orddrid/>
- <prcp_calcscorcd/>
- <prcp_calcscorcdnm/>
- <prcp_prcpdd/>
- <prcp_prcpno/>
- <prcp_execprcpuniqno/>
- <prcp_seqno/>
- <prcp_specdrid/>
- <prcp_specdridnm/>
- <prcp_readidnm/>
- <prcp_execdd/>
- <prcp_choiordflag/>
- <prcp_cnclid/>
- <prcp_cnclidnm/>
- <prcp_cncldd/>
- <prcp_cncltm/>
- <prcp_cnclmemo/>
- <prcp_specamt/>
- </prcp>
- </h_prcp>
- </main>
- <send>
- <data1>
- <fromdd/>
- <todd/>
- <cnclid/>
- <orddeptcd/>
- <cnclmemo/>
- <cnclmemo_etc/>
- <pid/>
- <icdr_fromdd/>
- <icdr_todd/>
- </data1>
- <data2>
- <prcp/>
- </data2>
- <data3/>
- <data4/>
- </send>
- <init>
- <orddeptcd>
- <cd>-</cd>
- <nm>-</nm>
- </orddeptcd>
- <orddrid>
- <cd>-</cd>
- <nm>-</nm>
- <dp>-</dp>
- <sp>-</sp>
- </orddrid>
- </init>
- <hidden>
- <newElement/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if ( copyFromCache("TRPMC06550_depttree","/root/init")){
- //
- }else{
- if (submit("TRPMC06550")) {
- storeIntoCache("TRPMC06550_depttree","/root/init","540");
- }
- }
- addComboItem("cmb_orddeptcd" , "전체","%","above");
- fInitialize();
- if (checkOpener())
- {
-
- var caller = getGlobalVariable("g_caller_SMPMC06505","p");
-
- //입원 진료비세부내역서에서 선택진료 감면 버튼 누를시
- if(caller == "SMPAI00200_fCall_SMPMC06505"){
- model.setValue("/root/send/data1/pid" , model.getValue("/root/send/data3/pid"));
- submit("TRPMC06522");
- }
-
- //입원 진료비세부내역서에서 처방내역에서 마우스 우측버튼으로 변경할시
- if(caller == "SMPAI00200_fSetChngSpec_call_popup"){
- copyNodesetType("/root/main/h_prcp", "/root/send/data2", "replace", model, parent.model);
- model.setValue("/root/send/data1/pid",model.getValue("/root/main/h_prcp/prcp/prcp_pid"));
- grd_prcp.rebuild();
- }
-
- //입원 진료비세부내역서에서 입원료,병실료자동발생 비적용할시
- if(caller == "SMPAI00200_fCall_SMPMC06505_icdr"){
- model.setValue("/root/send/data1/pid" , model.getValue("/root/send/data4/pid"));
- submit("TRPMC06523");
- }
-
- //외래수납에서 열시
- if(caller == "SMPAO00100"){
- copyNodesetType("/root/main/h_prcp", "/root/send/s_hold", "replace", model, parent.model);
- model.setValue("/root/send/data1/pid",model.getValue("/root/main/h_prcp/prcp/prcp_pid"));
- grd_prcp.rebuild();
- }
-
- }
-
- ]]>
- </script>
- <submission id="TRPMC06550" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/init"/>
- <submission id="TRPMC06521" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/h_prcp"/>
- <submission id="TRPMC06522" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/main/h_prcp"/>
- <submission id="TRPMC06523" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data4" resultref="/root/main/h_prcp"/>
- <submission id="TXPMC06521" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/h_prcp"/>
- <submission id="TXPMC06522" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/h_prcp"/>
- <submission id="TXPMC06523" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/h_prcp"/>
- <submission id="TXPMC06524" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/h_prcp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMO001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fInitialize(){
-
- model.setValue("/root/send/data1/fromdd" , getCurrentDate());
- model.setValue("/root/send/data1/todd" , getCurrentDate());
- model.setValue("/root/send/data1/orddeptcd","%");
-
- model.refresh();
- }
-
- function fSearch(){
-
- submit("TRPMC06521");
-
- grd_prcp.subtotalPosition = "below";
- grd_prcp.subtotal("clear", 0, 0);
- grd_prcp.subtotal("sum", -1, 10, "format:#,###; roundmode:round; roundpostion:2", "background-color:#7BE6B7; color:#000000; font-weight:bold; " ,2, "합 계" ,false);
-
-
- model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1015" pageheight="715" style="margin-left:6; margin-top:6; margin-right:6; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1000; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">선택진료취소대장</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:15px; width:1000px; height:670px; ">
- <group id="group2" style="left:0px; top:10px; width:1000; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1000; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button1" class="btn1_letter2" style="left:938px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fSearch();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:923px; y1:7px; x2:923px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption21" class="search_name" style="left:683px; top:8px; width:75px; height:17px; ">진료과 :</caption>
- <caption id="caption17" class="search_name" style="left:307px; top:8px; width:86px; height:17px; ">취소자ID :</caption>
- <input id="input5" ref="/root/send/data1/cnclid" style="left:398px; top:8px; width:60px; height:19px; text-align:left; "/>
- <caption id="caption10" class="search_name" style="left:10px; top:8; width:90px; height:17px; ">취소일자 :</caption>
- <caption id="caption11" style="left:187px; top:5px; width:15px; height:25px; text-align:center; ">~</caption>
- <select1 id="cmb_orddeptcd" ref="/root/send/data1/orddeptcd" appearance="minimal" style="left:760px; top:8px; width:130px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_fromdd" ref="/root/send/data1/fromdd" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:100px; top:8px; width:85px; height:19px; text-align:center; "/>
- <input id="ipt_todd" ref="/root/send/data1/todd" inputtype="date" format="yyyy-mm-dd" style="left:205px; top:8px; width:85px; height:19px; text-align:center; "/>
- <caption id="caption2" class="search_name" style="left:475px; top:10px; width:90px; height:17px; ">환자번호 :</caption>
- <input id="input1" ref="/root/send/data1/pid" style="left:566px; top:8px; width:99px; height:19px; "/>
- </group>
- <line id="line8" class="line_1" style="x1:0px; y1:177px; x2:1000px; y2:177px; "/>
- <button id="button52" class="btn2_letter2" style="left:912px; top:156px; width:42px; height:19px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- var updateData = getGridUpdateData(grd_prcp);
-
- model.setValue("/root/send/data2/prcp", updateData);
-
- model.resetInstanceNode("/root/main/h_prcp");
-
- submit("TXPMC06521");
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="button53" accesskey="f1" class="btn5_letter2" style="left:956px; top:156px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var selectedRows = grd_prcp.selectedRows;
- var arr=new Array(selectedRows);
- for(var i=0; i<arr.length; i++) {
- arr[i] = grd_prcp.selectedRow(i);
- grd_prcp.addStatus(arr[i], "delete");
- }
- var updateData = getGridUpdateData(grd_prcp);
-
- model.setValue("/root/send/data2/prcp", updateData);
-
- model.resetInstanceNode("/root/main/h_prcp");
-
- submit("TXPMC06523");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_prcp" nodeset="/root/main/h_prcp/prcp" caption="NO^등록번호^이름^진료과^처방코드^처방명칭^선택교수^판독의사^시행일자^선택비^취소자^취소일자^취소시간^취소사유^prcpdd^prcpno^seqno" colsep="^" colwidth="30, 65, 60, 120, 86, 179, 60, 60, 70, 75, 61, 70, 60, 230, 50, 50, 50" dataheight="25" defaultrows="2" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:182px; width:1000px; height:484px; ">
- <col ref="prcp_cnt"/>
- <col ref="prcp_pid"/>
- <col ref="prcp_hngnm"/>
- <col ref="prcp_orddeptcdnm"/>
- <col ref="prcp_calcscorcd"/>
- <col ref="prcp_calcscorcdnm"/>
- <col ref="prcp_specdridnm"/>
- <col ref="prcp_readidnm"/>
- <col ref="prcp_execdd" format="yyyy-mm-dd"/>
- <col ref="prcp_specamt" format="(-)#,###" style="text-align:right; "/>
- <col ref="prcp_cnclidnm"/>
- <col ref="prcp_cncldd" format="yyyy-mm-dd"/>
- <col ref="prcp_cncltm" format="hh:nn:ss"/>
- <col ref="prcp_cnclmemo" type="input"/>
- <col ref="prcp_prcpdd" visibility="hidden"/>
- <col ref="prcp_prcpno" visibility="hidden"/>
- <col ref="prcp_seqno" visibility="hidden"/>
- </datagrid>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:60px; width:1000px; height:90px; "/>
- <select1 id="radio1" ref="/root/send/data1/cnclmemo" appearance="full" cellspacing="30" cols="3" vcellspacing="10" overflow="visible" style="left:103px; top:64px; width:370px; height:81px; border-style:none; ">
- <choices>
- <item>
- <label>order 변경</label>
- <value>order 변경</value>
- </item>
- <item>
- <label>처방입력 오류</label>
- <value>처방입력 오류</value>
- </item>
- <item>
- <label>선택해지신청</label>
- <value>선택해지신청</value>
- </item>
- <item>
- <label>교수불참</label>
- <value>교수불참</value>
- </item>
- <item>
- <label>선택진료의 변경</label>
- <value>선택진료의 변경</value>
- </item>
- <item>
- <label>보호자지정거부</label>
- <value>보호자지정거부</value>
- </item>
- <item>
- <label>감면사유서</label>
- <value>감면사유서</value>
- </item>
- <item>
- <label>기타</label>
- <value>기타</value>
- </item>
- <item>
- <label>응급수납취소</label>
- <value>응급수납취소</value>
- </item>
- </choices>
- </select1>
- <textarea id="textarea1" ref="/root/send/data1/cnclmemo_etc" style="left:475px; top:65px; width:430px; height:80px; "/>
- <caption id="caption1" class="search_name" style="left:10px; top:69px; width:90px; height:17px; ">취소사유 :</caption>
- <button id="button3" class="btn1_letter4" style="left:915px; top:66px; width:80px; height:22px; ">
- <caption>사유적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- grd_prcp.clearStatus();
-
- for(var a=1; a< grd_prcp.rows; a++) {
-
- grd_prcp.addStatus(a, "update");
-
- model.makeValue("/root/main/h_prcp/prcp[" + a + "]/prcp_cnclmemo" , "");
-
- if(model.getValue("/root/send/data1/cnclmemo") != "기타") {
- model.setValue("/root/main/h_prcp/prcp[" + a + "]/prcp_cnclmemo" , model.getvalue("/root/send/data1/cnclmemo"));
- }
- if(model.getValue("/root/send/data1/cnclmemo") == "기타") {
- model.setValue("/root/main/h_prcp/prcp[" + a + "]/prcp_cnclmemo" , model.getvalue("/root/send/data1/cnclmemo_etc"));
- }
-
- }
- grd_prcp.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" style="left:846px; top:156px; width:64px; height:19px; ">
- <caption>신규저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var caller = getGlobalVariable("g_caller_SMPMC06505","p");
-
- grd_prcp.clearStatus();
-
- for(var a=1; a< grd_prcp.rows; a++) {
-
- grd_prcp.addStatus(a, "insert");
- }
-
- var updateData = getGridUpdateData(grd_prcp);
-
- model.setValue("/root/send/data2/prcp", updateData);
-
- model.resetInstanceNode("/root/main/h_prcp");
-
- if(caller == "SMPAI00200_fCall_SMPMC06505_icdr"){
- submit("TXPMC06524");
- }else{
- submit("TXPMC06522");
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" style="left:0px; top:687px; width:1000px; height:27px; ">
- <button id="button2" class="btn4_letter3" style="left:931px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize1();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1000px; y2:0px; "/>
- <button id="button5" class="btn4_letter2" style="left:0; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPPMC06503", "XMLSTR" , "" , "" , "", "", "", "", "", "false", "", "", "");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|