123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- <?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>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <otpt>
- <otpthist/>
- </otpt>
- <sendnode>
- <otpthist/>
- </sendnode>
- <rcv/>
- </main>
- <init>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- </orddridlist>
- </orddrid>
- <P0341list>
- <P0341>
- <cdnm/>
- <cdid/>
- </P0341>
- </P0341list>
- <P0022list>
- <P0022>
- <cdnm/>
- <cdid/>
- </P0022>
- </P0022list>
- </init>
- <send>
- <pid/>
- <hngnm/>
- <fromdd/>
- <todd/>
- </send>
- <hidden>
- <source>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </source>
- <session/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
-
- fGetUserInfosSampling();
- //진료과코드 진료의사ID 조회
- // pamGetDeptCDDrIDList();
- submit("TRPMOCOM01");
-
- model.makeValue("/root/init/P0022list/P0022/cdnm", '-');
- model.makeValue("/root/init/P0022list/P0022/cdid", '-');
- model.makeValue("/root/init/P0341list/P0341/cdnm", '');
- model.makeValue("/root/init/P0341list/P0341/cdid", '');
- zbcfGetCodeList(new Array("P0341", "P0022"), new Array("/root/init/P0341list", "/root/init/P0022list"));
-
- //model.setValue("/root/send/fromdd", getDateTime(new Date().getAddDate(-1, 'M'), 'M'));
- //model.setValue("/root/send/todd", getDateTime(new Date().getAddDate(1, 'M'), 'M'));
-
- model.setValue("/root/send/fromdd", getDateTime(new Date().getAddDate(-2, 'M'), 'M'));
- model.setValue("/root/send/todd", getCurrentDate());
-
- if (checkOpener()){ //팝업화면으로 사용될 때
- //pid, orddeptcd 를 받아온다.
- var pid = opener.javascript.getParameter("SMPMO01600_PARM");
-
- if( pid != '' && pid != '-' && pid != ' ' && pid != null ){
- model.setValue("/root/send/pid", pid);
- ipt_pid.refresh();
- event.keyCode = '13';
- ipt_pid.dispatch("onkeypress");
- }
- }
- model.refresh();
- model1.setFocus("ipt_pid");
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRPMO01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/otpt"/>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/source" resultref="/root/main/patinfo"/>
- <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
- <submission id="TXPMO01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/sendnode/otpthist" resultref="/root/main/rcv"/>
- </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"/>
- </xhtml:head>
- <xhtml:body pagewidth="900" pageheight="650" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:855px; height:545px; ">
- <group id="group2" style="left:0px; top:0px; width:855px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:855px; height:35px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:780px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/send/pid");
- if( pid == '' || pid == '' || pid == '-' ){
-
- messageBox("등록번호가 없습니다. 환자조회 후 다시 시도해 주세요.", "E999", "");
- return false;
- }else{
- model.setValue("/root/hidden/source/srchcond", "1");
- model.setValue("/root/hidden/source/pid", pid);
- if(submit("TRPMC02500")){
- if( getNodesetCount("/root/main/patinfo/patinfolist/pid") > 0 ){
-
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- }else{
-
- messageBox("존재하지 않는 등록번호입니다. 등록번호를 확인하세요.", 'E999', '');
- return false;
- }
- }else{
- return false;
- }
- }
-
- submit("TRPMO01601");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:764px; y1:7px; x2:764px; y2:29px; "/>
- <caption id="caption3" class="search_name" style="left:10px; top:8px; width:91px; height:17px; ">등록번호 :</caption>
- <input id="ipt_pid" ref="/root/send/pid" class="input_s_essential" style="left:100px; top:8px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- //model.setValue("/root/hidden/source/srchcond", "1");
- model.setValue("/root/send/pid", ipt_pid.currentText);
- inputEnterKey("btn_search", "DOMActivate");
- }
- //inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="button1" accesskey="f2" class="icon_search" style="left:195px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/source", "/root/send");
-
- if(model.getValue("/root/main/popupendflag") == 'ok'){
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:235px; top:8px; width:86px; height:17px; ">환자이름 :</caption>
- <output id="input1" ref="/root/send/hngnm" class="output_search" appearance="output" style="left:326px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- model.resetInstanceNode("/root/hidden/source");
- model.setValue("/root/hidden/source/srchcond", "2");
- model.setValue("/root/hidden/source/hngnm", input1.currentText);
-
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/source", "/root/send");
-
- if(model.getValue("/root/main/popupendflag") == 'ok'){
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- }
-
- model.refresh();
- }
- //inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </output>
- <caption id="caption4" class="search_name" style="left:450px; top:8px; width:86px; height:17px; ">조회기간 :</caption>
- <input id="input2" ref="/root/send/fromdd" class="input_search" inputtype="date" appearance="input" style="left:541px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- model.resetInstanceNode("/root/hidden/source");
- model.setValue("/root/hidden/source/srchcond", "2");
- model.setValue("/root/hidden/source/hngnm", input1.currentText);
-
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/source", "/root/send");
-
- if(model.getValue("/root/main/popupendflag") == 'ok'){
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- }
-
- model.refresh();
- }
- //inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="input3" ref="/root/send/todd" class="input_search" inputtype="date" appearance="input" style="left:646px; top:8px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- model.resetInstanceNode("/root/hidden/source");
- model.setValue("/root/hidden/source/srchcond", "2");
- model.setValue("/root/hidden/source/hngnm", input1.currentText);
-
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/source", "/root/send");
-
- if(model.getValue("/root/main/popupendflag") == 'ok'){
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- }
-
- model.refresh();
- }
- //inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption5" style="left:625px; top:9px; width:20px; height:20px; font-weight:bold; text-align:center; ">~</caption>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:118px; height:14px; ">중복과 접수 내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:855px; y2:60px; "/>
- <datagrid id="grd_ordreqfrm" nodeset="/root/main/otpt/otpthist" caption="^진료일자^진료과^진료의^보험유형^보조유형^진찰료산정여부^예약구분^기타구분" colsep="^" colwidth="25, 85, 120, 80, 80, 70, 98, 78, 100" dataheight="23" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:65px; width:855px; height:480px; ">
- <col checkvalue="Y,N" ref="otpt_check" type="checkbox"/>
- <col ref="otpt_orddd" format="yyyy-mm-dd"/>
- <col ref="otpt_orddeptnm"/>
- <col ref="otpt_orddrnm"/>
- <col disabled="true" ref="otpt_insukind" type="combo" format="yyyy-mm-dd">
- <choices>
- <itemset nodeset="/root/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="otpt_suppkind" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/suppkind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="otpt_medamtestmyn" type="combo">
- <choices>
- <item>
- <label>산정</label>
- <value>Y</value>
- </item>
- <item>
- <label>미산정</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="otpt_rsrvflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0341list/P0341">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="otpt_etcordflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0022list/P0022">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- <button id="button3" class="btn5_letter6" style="left:769px; top:39px; width:86px; height:19px; ">
- <caption>진찰료미산정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("선택하신 내역을 진찰료미산정 처리하시겠습니까?", "Q999") != 6) return;
-
- model.removeNodeset("/root/main/sendnode/otpthist");
- model.makeNode("/root/main/sendnode/otpthist");
-
- var cnt = getNodesetCount("/root/main/otpt/otpthist/otpt_pid");
- var sendCnt = 0;
- for( var i = 1; i <= cnt; i++ ){
-
- if( model.getValue("/root/main/otpt/otpthist[" + i + "]/otpt_check") == 'Y' ){
-
- sendCnt = parseInt(sendCnt) + 1;
- model.makeNode("/root/main/sendnode/otpthist["+ sendCnt +"]");
- copyNodeType("/root/main/sendnode/otpthist["+ sendCnt +"]", "/root/main/otpt/otpthist[" + i + "]", "after");
- }
- }
-
- if( submit("TXPMO01602") ){
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:545px; width:855px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:798px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:855px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|