123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHB01400.xrw
- * 설 명 : 기관및판정의관리
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 : 2007.08.01
- * 수정이력 : 2007.10.04 김다영 화면권한추가
- * 기 타 :
- -->
- <?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="">
- <send>
- <srchhealexamflag/>
- <srchflag>O</srchflag>
- <srchinstcd/>
- <save>
- <tissprcplist/>
- </save>
- <srchpnm2/>
- <healexamdetlflag>O</healexamdetlflag>
- <srchprcpstatcd/>
- <srchpid/>
- <srchfromdd/>
- <srchtodd/>
- <srchvisano/>
- <srchrcptflag/>
- <srchexamcurecd/>
- <srchexamcurenm/>
- </send>
- <main>
- <tissprcplist>
- <item>
- <prcpdd/>
- <orddd/>
- <cretno/>
- <pid/>
- <hngnm/>
- <execprcpstatcd/>
- <prcpcd/>
- <prcpnm/>
- <rgstdeptcd/>
- <rgstrid/>
- <rgstdt/>
- <rcptyn/>
- <rcptdd/>
- <prcpno/>
- <prcphistno/>
- <execprcpno/>
- </item>
- </tissprcplist>
- </main>
- <init>
- <baseinfo>
- <assocd/>
- <healexamflaglst/>
- <ghealexamdetlflaglst/>
- <chealexamdetlflaglst/>
- <healexamdetlflaglst>
- <item/>
- </healexamdetlflaglst>
- <comcode/>
- <initexecprcpstatcd/>
- </baseinfo>
- </init>
- <hidden/>
- <case_mode/>
- <temp>
- <addr>
- <zipcd1/>
- <zipcd2/>
- <addr/>
- <zipcdseq/>
- </addr>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/healexam.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <!-- <submission id="TRAHB00201" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/inqrlst"/>
- <submission id="TRZBC00101"/> -->
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
- model.removeNodeset("/root/main/tissprcplist");
- model.refresh();
- model.setValue("/root/send/healexamdetlflag", getScreenMenuParameter());
- model.setValue("/root/send/srchfromdd", getCurrentDate());
- model.setValue("/root/send/srchtodd", getCurrentDate());
- addComboItem("cmb_execprcpstatcd","--전체--","","above");
- model.refresh();
- ]]>
- </script>
- <submission id="TRAHA04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tissprcplist"/>
- <submission id="TXAHA04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TRZBC00101"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fGetBaseInfo(){
- // 건진기관구분
- zbcfGetCodeList( new Array("A0068","A0069","A0070","M0011"),
- new Array("/root/init/baseinfo/healexamflaglst"
- ,"/root/init/baseinfo/chealexamdetlflaglst"
- ,"/root/init/baseinfo/ghealexamdetlflaglst"
- ,"/root/init/baseinfo/initexecprcpstatcd"
- ));
- submit("TRZBC00101");
-
- model.makeNode("/root/init/baseinfo/healexamdetlflaglst/item[0]");
- model.makeNode("/root/init/baseinfo/healexamdetlflaglst/item/cdnm");
- model.makeNode("/root/init/baseinfo/healexamdetlflaglst/item/cdid");
- model.setValue("/root/init/baseinfo/healexamdetlflaglst/item/cdnm", "전체");
- copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/chealexamdetlflaglst/A0069", "after");
- copyNodesetType("/root/init/baseinfo/healexamdetlflaglst/item","/root/init/baseinfo/ghealexamdetlflaglst/A0070", "after");
-
- fGetPrcpCode();
-
- }
- function fGetPrcpCode() {
- //처방코드 목록 찾기
- var multiYN = "N";
- var desNode = "/root/temp/templst/item";
- if( ahzfOpenEtcCdSel( "SMAHB00100"
- , "F" /*대분류코드*/
- , "F18" /*중분류코드*/
- , multiYN /*multiyn*/
- , desNode /*목적노드셋*/
- , "Y" /*중분류코드 setting여부(Y/N)*/ ) ){
- model.setValue("/root/send/srchexamcurecd",model.getValue("/root/temp/templst/item/etcdetlcd"));
- model.setValue("/root/send/srchexamcurenm",model.getValue("/root/temp/templst/item/etcdetlnm"));
- ipt_srchexamcurecd.refresh();
- output1.refresh();
- }
- }
-
- function fGetStdVal(){
- if (model.getValue("/root/send/srchflag") == "" ) {
- messageBox("조회구분을 선택하셔야 합니다.", "E");
- return;
- }
-
- if (model.getValue("/root/send/srchpid") == "" && (model.getValue("/root/send/srchfromdd") == "" || model.getValue("/root/send/srchtodd") == "")) {
- messageBox("시행일자 혹은 환자를 선택하셔야 합니다.", "E");
- return;
- }
-
- if (model.getValue("/root/send/srchexamcurecd") == "" ) {
- messageBox("처방코드를 입력 하셔야 합니다.", "E");
- return;
- }
-
- model.removenode("/root/main/tissprcplist");
- submit("TRAHA04701");
- }
-
- function fSaveVal() {
- if( messageBox("건진조직처방 수납상태를 ","Q002") == 6){
- model.setValue("/root/send/save/tissprcplist" , grd_tissprcp.getUpdateData());
- if (submit("TXAHA04701")){
- submit("TRAHA04701");
- messageBox("저장 ", "I002");
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:134px; height:14px; ">건진조직처방현황</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:58px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:58px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetStdVal();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchflag" class="combo_search" appearance="minimal" style="left:305px; top:7px; width:110px; height:19px; ">
- <choices>
- <item>
- <label>접수일자</label>
- <value>O</value>
- </item>
- <item>
- <label>처방일자</label>
- <value>P</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_srchpid" ref="/root/send/srchpid" class="input_search" imemode="hangul" style="left:900px; top:7px; width:75px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
-
- inputEnterKey("btn_srchpat", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_srchpat" class="icon_search" style="left:980px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00100", "pid", ipt_srchpid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:215px; top:7px; width:86px; height:17px; ">조회구분 :</caption>
- <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:1000px; top:7px; width:90px; height:19px; "/>
- <caption id="caption47" class="search_name" style="left:471px; top:7px; width:86px; height:17px; ">시행일자 :</caption>
- <caption id="caption49" class="search_name" style="left:811px; top:7px; width:86px; height:17px; ">환자검색 :</caption>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:562px; top:7px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_todd");
- ]]>
- </script>
- </input>
- <input id="input1" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:683px; top:7px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_todd");
- ]]>
- </script>
- </input>
- <caption id="caption1" style="left:665px; top:7px; width:15px; height:17px; text-align:center; ">~</caption>
- <caption id="caption3" class="search_name" style="left:215px; top:30px; width:86px; height:17px; ">수납상태 :</caption>
- <select1 id="radio1" ref="/root/send/srchrcptflag" appearance="full" cols="3" overflow="visible" style="left:305px; top:30px; width:150px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>수납</label>
- <value>Y</value>
- </item>
- <item>
- <label>미수납</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetStdVal();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_healexamflag" ref="/root/send/srchhealexamflag" class="combo_search" appearance="minimal" style="left:100px; top:7px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>--전체--</label>
- <value/>
- </item>
- <item>
- <label>종합건진</label>
- <value>C</value>
- </item>
- <item>
- <label>일반건진</label>
- <value>G</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:10px; top:7px; width:86px; height:19px; ">건진구분 :</caption>
- <select1 id="cmb_execprcpstatcd" ref="/root/send/srchprcpstatcd" class="combo_search" appearance="minimal" style="left:100px; top:30px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecprcpstatcd/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:10px; top:30px; width:86px; height:17px; ">처방상태 :</caption>
- <caption id="caption7" class="search_name" style="left:471px; top:30px; width:86px; height:17px; ">처방코드 :</caption>
- <input id="ipt_srchexamcurecd" ref="/root/send/srchexamcurecd" class="input_search" imemode="alpha" maxlength="12" style="left:562px; top:30px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- <hint>
- <![CDATA[검사코드12자리입력가능]]>
- </hint>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetPrcpCode();
- ]]>
- </script>
- </input>
- <button id="button1" class="icon_search" style="left:682px; top:30px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /**
- * 수가내역 가져오기=======================================================================================================================================
- * SPAEB00201_PARAM1 : 검색구분(cd/nm)
- * SPAEB00201_PARAM2 : 검색조건(코드/명칭)
- * SPAEB00201_PARAM3 : multiyn
- * SPAEB00201_PARAM4 : multi선택 시 setting할 목적노드
- * SPAEB00201_PARAM5 : code값을 setting할 목적노드
- * SPAEB00201_PARAM6 : name값을 setting할 목적노드
- * SPAEB00201_PARAM7 : 수가를 setting할 목적노드
- */
- clearParameter("SPAEB00201_PARAM1");
- clearParameter("SPAEB00201_PARAM2");
- clearParameter("SPAEB00201_PARAM3");
- clearParameter("SPAEB00201_PARAM4");
- clearParameter("SPAEB00201_PARAM5");
- clearParameter("SPAEB00201_PARAM6");
- //clearParameter("SPAEB00201_PARAM7");
-
- setParameter ("SPAEB00201_PARAM1" , "cd");
- setParameter ("SPAEB00201_PARAM2" , model.getValue("/root/send/srchexamcurecd"));
- setParameter ("SPAEB00201_PARAM3" , "N");
- setParameter ("SPAEB00201_PARAM4" , "");
- setParameter ("SPAEB00201_PARAM5" , "/root/send/srchexamcurecd" );
- setParameter ("SPAEB00201_PARAM6" , "/root/send/srchexamcurenm");
- //setParameter ("SPAEB00201_PARAM7" , vAmtDestXPath);
-
- modal("SPAEB00201");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="output1" ref="/root/send/srchexamcurenm" class="output_fix" style="left:703px; top:30px; width:240px; height:19px; "/>
- </group>
- <datagrid id="grd_tissprcp" nodeset="/root/main/tissprcplist/item" caption="구분^처방일자^접수일자^접수번호^등록번호^환자명^처방상태^처방코드^처방명^처방부서^접수자^처방일시^수납여부^수납일자^caption1^caption2^caption3" colsep="^" colwidth="43, 70, 70, 60, 70, 65, 60, 90, 190, 100, 65, 120, 60, 85, 100, 100, 100" defaultrows="0" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1194px; height:655px; ">
- <col disabled="true" ref="healexamflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>종건</label>
- <value>C</value>
- </item>
- <item>
- <label>일건</label>
- <value>G</value>
- </item>
- </choices>
- </col>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
- <col ref="cretno" style="text-align:center; vertical-align:middle; "/>
- <col ref="pid" style="text-align:center; vertical-align:middle; "/>
- <col ref="hngnm" style="text-align:center; vertical-align:middle; "/>
- <col disabled="true" ref="execprcpstatcd" type="combo" style="text-align:center; vertical-align:middle; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecprcpstatcd/M0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpcd"/>
- <col ref="prcpnm"/>
- <col ref="rgstdeptcd"/>
- <col ref="rgstrid" style="text-align:center; "/>
- <col ref="rgstdt" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; vertical-align:middle; "/>
- <col ref="rcptyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>수납</label>
- <value>Y</value>
- </item>
- <item>
- <label>미수납</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="rcptdd" type="inputdate"/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="prcphistno" visibility="hidden"/>
- <col ref="execprcpno" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var row = grd_tissprcp.row;
- var col = grd_tissprcp.col;
-
- if (col == grd_tissprcp.colRef("rcptyn")) {
- var rcptyn = grd_tissprcp.valueMatrix(row, grd_tissprcp.colRef("rcptyn"));
- if (rcptyn == "N") {
- grd_tissprcp.valueMatrix(row, grd_tissprcp.colRef("rcptdd")) = "00000000";
- } else {
- grd_tissprcp.valueMatrix(row, grd_tissprcp.colRef("rcptdd")) = getCurrentDate();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_tissprcp.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter4" style="left:0px; top:5px; width:72px; height:22px; ">
- <caption>엑셀출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- if(file != "") grd_tissprcp.saveExcel(file);
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveVal();
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|