123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- <?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>
- </main>
- <send>
- <worktype/>
- <pid/>
- <orddd/>
- <cretno/>
- <prcpdd/>
- <execprcpuniqno/>
- <execflag>T</execflag>
- <rcptflag>N</rcptflag>
- </send>
- <init/>
- <hidden/>
- </root>
- </instance>
- <submission id="TRPAO02003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prcplist"/>
- <submission id="TRPAC04002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/nhicinfo"/>
- <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">
- <![CDATA[
-
- function getPrcpRcptCheck(workType, pid, orddd, cretno, prcpdd, execPrcpUniqno) {
-
- if (pid == null || pid == '' || pid == '-') {
- return 0;
- }
-
- model.setValue("/root/send/worktype", workType);
- model.setValue("/root/send/pid", pid);
- model.setValue("/root/send/orddd", orddd);
- model.setValue("/root/send/cretno", cretno);
- model.setValue("/root/send/prcpdd", prcpdd);
- model.setValue("/root/send/execprcpuniqno", execPrcpUniqno);
-
- model.refresh();
-
- submit("TRPAO02003");
-
- var cnt = getNodesetCount("/root/main/prcplist");
-
- // 결과가 있는 경우 opener로 데이터 전달
- if (cnt > 0) {
-
- opener.model.removeNode("/root/hidden/tempprcplist");
- opener.model.makeNode("/root/hidden/tempprcplist");
-
- var sourceNode = instance1.selectNodes("/root/main/prcplist");
- for(i=0; i<sourceNode.length; i++){
- opener.model.duplicate("/root/hidden/tempprcplist", sourceNode.item(i));
- }
-
- opener.model.refresh();
- }
-
- return cnt;
- }
-
- function fResetPrcpList(pid) {
-
- model.removeNodeset("/root/main/prcplist");
-
- model.setValue("/root/send/pid", pid);
-
- var sourceNode = opener.window.instance1.selectNodes("/root/hidden/tempprcplist/prcplist");
-
- for(i=0; i<sourceNode.length; i++){
- model.duplicate("/root/main", sourceNode.item(i));
- }
-
- model.refresh();
-
-
- if (sourceNode.length > 0) {
- fShowMSG();
- }
- }
-
- function fSearch() {
-
- submit("TRPAO02003");
-
- if (getNodesetCount("/root/main/prcplist") > 0) {
- fShowMSG();
- }
- }
-
- function fShowMSG() {
- if(getUserInfo("dutplceinstcd")=="031"){
- messageBox("수가변동으로 인해 진료비정산이 필요한 고객님입니다.\r\n재계산이 필요하니 안내센타 처방변경,수납 창구로 안내바랍니다.", "C000");
- }else{
- messageBox("수가변동으로 인해 진료비정산이 필요한 고객님입니다.\r\n재계산이 필요하니 원무과 창구로 안내부탁드립니다.", "C000");
- }
- }
-
- function fCheckNhicInfo(workType, pid, orddd, cretno, prcpdd, execPrcpUniqno) {
- if (prcpdd == null || prcpdd.length < 1 || execPrcpUniqno == null || execPrcpUniqno.length < 1) {
- return "";
- }
-
- model.setValue("/root/send/worktype", workType);
- model.setValue("/root/send/pid", pid);
- model.setValue("/root/send/orddd", orddd);
- model.setValue("/root/send/cretno", cretno);
- model.setValue("/root/send/prcpdd", prcpdd);
- model.setValue("/root/send/execprcpuniqno", execPrcpUniqno);
-
- model.refresh();
-
- submit("TRPAC04002");
-
- var msg = "";
- if (getNodesetCount("/root/main/nhicinfo") > 0) {
- if (model.getValue("/root/main/nhicinfo/chkrslt") == "N") {
- msg = model.getValue("/root/main/nhicinfo/msg");
- }
- }
-
- return msg;
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- var userid = getUserId();
- if (userid == "PAM") {
- cmb_worktype.visible= true;
- ipt_orddd.visible= true;
- ipt_cretno.visible= true;
- ipt_prcpdd.visible= true;
- ipt_execprcpuniqno.visible= true;
- }
-
- if (checkOpener()) {
-
- fResetPrcpList(opener.javascript.getParameter("SPPMO02001_PARM"));
- }
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="880" pageheight="380" guideline="2,380;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:860px; height:300px; ">
- <group id="group2" style="left:0px; top:0px; width:765px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:765px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:3px; top:8px; width:86px; height:17px; ">등록번호 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="2" style="left:699px; 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;
- }
-
- model.setValue("/root/send/worktype", "PAM");
-
- model.refresh();
-
- fSearch();
-
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/send/pid" class="input_search" navindex="1" style="left:91px; top:8px; width:67px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setValue("/root/send/pid", input3.currentText);
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <select1 id="combo1" appearance="minimal" style="left:190px; top:10px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <input id="input1" style="left:310px; top:10px; width:100px; height:20px; "/>
- <input id="input2" style="left:420px; top:10px; width:20px; height:19px; "/>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:225px; height:13px; ">정산대상처방</caption>
- <datagrid id="grd_prcplist" nodeset="/root/main/prcplist" caption="환자번호^성명^진료일자^진료형태^진료과^진료의^처방코드^처방명칭^검사부서명^실시일자^수신자명^희망진료일자" colsep="^" colwidth="58, 56, 80, 57, 107, 54, 91, 145, 100, 70" rowheader="seq" rowsep="|" style="left:0px; top:65px; width:860px; height:235px; text-align:center; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ordtype" style="text-align:center; "/>
- <col ref="orddeptnm" style="padding-left:5; "/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="calcscorcd" style="padding-left:5; "/>
- <col ref="calcscornm" style="padding-left:5; "/>
- <col ref="execdeptnm" style="padding-left:5; "/>
- <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; "/>
- </datagrid>
- <caption id="caption3" style="left:200px; top:50px; width:560px; height:15px; font-size:10ptpt; color:#ff0000; ">* 정산대상이 존재하는 경우 정산(추가수납 / 환불)을 위해 원무창구로 안내해 주시기 바랍니다.</caption>
- <group id="group4" style="left:0px; top:0px; width:860px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:860px; height:35px; "/>
- <caption id="caption4" class="search_name" style="left:8px; top:8px; width:86px; height:17px; ">등록번호 :</caption>
- <button id="button1" class="btn1_letter2" navindex="2" style="left:799px; 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;
- }
-
- if (model.getValue("/root/send/worktype") == null || model.getValue("/root/send/worktype") == "") {
- model.setValue("/root/send/worktype", "PAM");
- }
-
- model.refresh();
-
- fSearch();
-
- ]]>
- </script>
- </button>
- <input id="input4" ref="/root/send/pid" class="input_search" navindex="1" style="left:96px; top:8px; width:67px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == "13") {
- model.setValue("/root/send/pid", input3.currentText);
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_worktype" ref="/root/send/worktype" visibility="hidden" appearance="minimal" style="left:355px; top:8px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>PAM</label>
- <value>PAM</value>
- </item>
- <item>
- <label>EMR</label>
- <value>EMR</value>
- </item>
- <item>
- <label>AST</label>
- <value>AST</value>
- </item>
- <item>
- <label>LIS</label>
- <value>LIS</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_orddd" ref="/root/send/orddd" visibility="hidden" style="left:427px; top:8px; width:80px; height:19px; text-align:center; ">
- <hint>
- <![CDATA[orddd]]>
- </hint>
- </input>
- <input id="ipt_cretno" ref="/root/send/cretno" visibility="hidden" style="left:510px; top:8px; width:30px; height:19px; ">
- <hint>
- <![CDATA[cretno]]>
- </hint>
- </input>
- <input id="ipt_prcpdd" ref="/root/send/prcpdd" visibility="hidden" style="left:550px; top:8px; width:75px; height:19px; ">
- <hint>
- <![CDATA[prcpdd]]>
- </hint>
- </input>
- <input id="ipt_execprcpuniqno" ref="/root/send/execprcpuniqno" visibility="hidden" style="left:628px; top:8px; width:97px; height:19px; ">
- <hint>
- <![CDATA[execprcpuniqno]]>
- </hint>
- </input>
- <select1 id="combo2" ref="/root/send/execflag" appearance="minimal" style="left:165px; top:8px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>미실시</label>
- <value>N</value>
- </item>
- <item>
- <label>실시</label>
- <value>Y</value>
- </item>
- <item>
- <label>당일실시</label>
- <value>T</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/send/rcptflag" appearance="minimal" style="left:246px; top:8px; width:94px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>정산미실시</label>
- <value>N</value>
- </item>
- <item>
- <label>정산실시</label>
- <value>Y</value>
- </item>
- </choices>
- </select1>
- </group>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:300px; width:860px; height:80px; ">
- <button id="btn_close" class="btn4_letter2" style="left:789px; top:8px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption5" style="left:5px; top:1px; width:565px; height:79px; ">
- <![CDATA[* 차트번호만 입력하여 검색 하는 경우 : 당일실시 + 미실시정산 건만 조회됨
- * 실시정산 대상 : 2011년 1월 1일 ~ 2014년 7월 31일 발행된 처방중, 2014년 8월 1일 이후 실시하는 경우
- * CT/MRI 조영제 수가 코드가 변경된 환자포함
- * 공단 암검진 관련 수가 변경된 환자 포함]]>
- </caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|