123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665 |
- <?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>
- <cnstpatinfo>
- </cnstpatinfo>
- <cond>
- <cnstdd/>
- <fromdd/>
- <todd/>
- <reqflag>-</reqflag>
- <replyn>-</replyn>
- <ordflag>-</ordflag>
- <orddeptcd/>
- <orddrid>-</orddrid>
- <pid/>
- <hngnm/>
- <wardcd/>
- <cnsttermengnm/>
- <cnstfromdd/>
- <cnsttodd/>
- <chk_wbcd3/>
- <cnstendpat/>
- <inclend/>
- <cnstdate>R</cnstdate>
- <icdr/>
- </cond>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <insumemberlist/>
- <paminfo/>
- </main>
- <send>
- <reqdata/>
- </send>
- <hidden>
- <condition>
- <pid/>
- <indd/>
- <cretno/>
- <orddeptcd/>
- </condition>
- </hidden>
- <init>
- <initdate>
- <today/>
- </initdate>
- <deptlist>
- </deptlist>
- <userlist>
- <usercombo>
- <usernm/>
- <userid/>
- </usercombo>
- </userlist>
- <warddeptlist/>
- <memberlist>
- <instcd/>
- <userid/>
- </memberlist>
- <hardcd/>
- </init>
- <temp>
- <patinfo>
- <pid/>
- <hngnm/>
- </patinfo>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- fSetParameter();
- // //상단정보있는경우
- // var pamInfoCvs = getGlobalVariable("paminfo");
- // if(pamInfoCvs != ""){
- // model.removeNodeSet("/root/main/paminfo/list");
- // setCSVToNode("/root/main/paminfo", pamInfoCvs);
- //
- // model.setValue("/root/main/cond/pid", model.getValue("/root/main/paminfo/list/pid"));
- // model.setValue("/root/main/cond/hngnm", model.getValue("/root/main/paminfo/list/hngnm"));
- //
- // model.removenode("/root/main/cnstpatinfo/cnstpatlist")
- // model.makeNode("/root/send/reqdata");
- // model.copyNode("/root/send/reqdata", "/root/main/cond");
- // submit("TRASB02101");
- //
- // model.refresh();
- // }
- ]]>
- </script>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRASB02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnstpatinfo"/>
- <submission id="TXASB02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden"/>
- <submission id="TRASB02102" mediatype="application/x-www-form-urlencoded" ref="/root/init/memberlist" resultref="/root/main/insumemberlist"/>
- <submission id="TRASB01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/hardcd/hardcd"/>
- </model>
- <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" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../ast/infcmngtweb/js/SMASB00100.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize() {
- // 공통코드를 조회한다.
- // zbcfGetCodeList( new Array(),
- // new Array("/root/init/A0144list", "/root/init/A0145list", "/root/init/A0124list", "/root/init/A0358list", "/root/init/A0006list") );
-
- // 진료과
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'D';
- var rslt_ref = "/root/init/deptlist";
- var sort_field = "depthngnm";
- var sort_method = "asc";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_method);
- addComboItem("cmb_orddeptcd","","","above");
-
- //병동
- standard_yn = "orduseyn";
- ord_deptflag = "W";
- rslt_ref = "/root/init/warddeptlist";
- sort_field = "deptcd";
- sort_method = "asc";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method);
- addComboItem("cmb_wardcd","","","above");
-
-
- // 보험팀일 경우에만 보험팀 확인여부 컬럼과 저장 버튼이 보이도록 설정
- var deptcd = getUserInfo("dutplcecd");
- var userid = getUserInfo("userid");
-
- model.removenode("/root/init/memberlist")
- model.makeNode("/root/init/memberlist");
- model.makeValue("/root/init/memberlist/instcd",instcd);
- model.makeValue("/root/init/memberlist/userid",userid);
-
- submit("TRASB02102");
-
- var insumember = model.getValue("/root/main/insumemberlist/insumemberlist/judgrid");
-
- //if (deptcd == "4071300000" || deptcd == "4070300000" ) {
- // 보험팀조직개편으로 인한 보험팀확인여부 보험심사자마스터에서 조회하여 비교
-
- if (userid == insumember) {
- grd_cnstpatlist.colDisabled(grd_cnstpatlist.colRef("insucnfmyn")) = false;
- //grd_cnstpatlist.colHidden(grd_cnstpatlist.colRef("insucnfmyn")) = false;
- btn_save.visible = true;
- }
-
-
- model.refresh();
- }
-
- function fSetParameter(){
- var today = getCurrentDate();
- var idate = new Date();
- var peveDate = idate.getAddDate(-1, "M");
- model.setValue("/root/init/initdate/today", today);
- model.makeValue("/root/send/cond/fromdd", peveDate.getDateFormat());
- model.makeValue("/root/send/cond/todd", today);
- model.setValue("/root/main/cond/fromdd", peveDate.getDateFormat());
- model.setValue("/root/main/cond/todd", today);
- model.refresh();
- }
-
- /* //상단정보설정
- function fUpInfo(){
- var sessionPID = getPatientId();
- if(sessionPID != model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/pid")){
- fReqOpPatPamInfo();
- }
- }
-
- function fReqOpPatPamInfo(){
- var tioflag=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/ioflag");
- if(tioflag == "I") {
- var ioflag="I";
- var pid= model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/pid");
- var indd=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/indd");
- var cretno=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/cretno") ;
- var seqno=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/seqno");
- var instcd=getUserInfo("dutplceinstcd");
- var srchdd=getCurrentDate();
- var param= ioflag + "▦" //입원환자
- + pid + "▦"
- + indd + "▦"
- + cretno + "▦"
- + instcd+ "▦";
- setParameter("condparam", param);
- }
- else if(tioflag == "O") {
- var ioflag="O";
- var pid= model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/pid");
- var orddd=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/indd");
- var cretno=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/cretno") ;
- var instcd=getUserInfo("dutplceinstcd");
- var srchdd=getCurrentDate();
- var param= ioflag + "▦" //외래환자
- + pid + "▦"
- + orddd + "▦"
- + cretno + "▦"
- + instcd + "▦"
- + srchdd;
- setParameter("condparam", param);
- }
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- } */
-
- /**
- * @desc : 환자 등록번호를 통한 환자 이름 가져오기
- * @
- * @param :
- * @return :
- * @author : 김영학
- * @---------------------------------------------------
- */
-
- function fPatSrch(s_val, flag){
- if(flag == "1"){
- model.makeValue("/root/tmp/pid", s_val);
- } else if(flag == "2"){
- model.makeValue("/root/tmp/hngnm", s_val);
- }
- model.makeValue("/root/tmp/srchcond", flag);
- model.makeValue("/root/tmp/autoflag","Y"); // 1건인경우 자동으로닫힘
-
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
- modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/tmp", "/root/send");
-
- model.refresh();
- }
-
- function fReqOpPatPamInfo(){
-
- var Currecdd = getCurrentDate();
- var currow = grd_cnstpatlist.row-1;
- if(currow < 1){
- return;
- }
- //@@@@ 상단정보 세팅 (감염관리실에서만 사용)
- asbfGetHardCodeInfoNm("/root/send/reqdata", "/root/init/hardcd", "C1");
- var usercdok = model.getValue("/root/init/hardcd/hardcd/hardcdnm");
- var userdeptcd = getUserInfo( "dutplcecd" );
-
- if(usercdok == userdeptcd){ //감염관리실 사용자의 경우에만,
-
- var ordtype=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+currow+"]/ioflag");
- var pid=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+currow+"]/pid");
- var indd=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+currow+"]/indd");
- var cretno=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+currow+"]/cretno");
- var recdd=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+currow+"]/dschdd");
- if (recdd=="" || isNull(recdd)){
- recdd=Currecdd;
- }
- var instcd=getUserInfo("dutplceinstcd");
- //var recdd=Currecdd;
-
- var param=ordtype+"▦"+pid+"▦"+indd+"▦"+cretno+"▦"+instcd+"▦"+recdd;
- setParameter("condparam", param);
- modal("SPMMO08900", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body idprefix="import" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1195px; height:784px; ">
- <group id="group2" style="left:0px; top:0px; width:1195px; height:784px; vertical-align:top; ">
- <line id="line4" class="line_3" style="x1:0px; y1:781px; x2:1194px; y2:781px; "/>
- <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:145px; height:14px; ">격리병실신청현황조회</caption>
- </group>
- </group>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:5px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPASB02100_격리병실신청현황조회", "XMLSTR");
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/cnstpatinfo");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:20px; width:1195px; height:735px; ">
- <group id="group6" style="left:0px; top:0px; width:1194px; height:65px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:2px; width:1194px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" style="left:595px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_patsrch", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/cond/pid", "");
- model.setValue("/root/main/cond/hngnm", "");
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- // var pidlength = model.getValue("/root/main/cond/pid");
- // if( pidlength.length > 0 && pidlength.length < 8) {
- // model.alert("등록번호는 8자리 이상입니다.");
- // model.setFocus("ipt_pid");
- // return;
- // }
- ]]>
- </script>
- </input>
- <caption id="cap_orddeptcd" class="search_name" style="left:261px; top:10px; width:86px; height:17px; ">신청과별 :</caption>
- <button id="btn_prcpclsnm" class="icon_search" style="left:879px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500");
- var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/main/cond/pid", sPid);
- model.setValue("/root/main/cond/hngnm", sHngnm);
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="cap_pid" class="search_name" style="left:509px; top:10px; width:86px; height:17px; ">등록번호 :</caption>
- <input id="ipt_hngnm" ref="/root/main/cond/hngnm" class="input_search" style="left:775px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_patsrch", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/cond/pid", "");
- model.setValue("/root/main/cond/hngnm", "");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_s_essential" inputtype="date" style="left:318px; top:37px; width:97px; height:19px; "/>
- <select id="chk_wbc" ref="/root/main/cond/chk_wbcd3" disabled="true" overflow="visible" appearance="full" style="left:900px; top:10px; width:150px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>백혈구감소증 D3만보기</label>
- <value>D</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/cond/chk_wbcd3") == 'D') {
- }
- ]]>
- </script>
- </select>
- <select1 id="cmb_orddeptcd" ref="/root/main/cond/orddeptcd" class="combo_default" appearance="minimal" style="left:350px; top:10px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption7" style="left:302px; top:38px; width:15px; height:20px; ">~</caption>
- <line id="line3" style="x1:1110px; y1:10px; x2:1110px; y2:58px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="cap_hngnm" class="search_name" style="left:701px; top:10px; width:83px; height:17px; ">환자명 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:24px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // if(!isRequiredControls(("ipt_fromdd", "ipt_todd") ||"chk_inclend")){
- // return;
- // }
-
- model.removenode("/root/main/cnstpatinfo/cnstpatlist")
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRASB02101");
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" inputtype="date" style="left:200px; top:36px; width:97px; height:19px; "/>
- <caption id="cap_todd" class="search_name" style="left:5px; top:36px; width:86px; height:17px; ">기간조회 :</caption>
- <caption id="cap_wardcd" class="search_name" style="left:5px; top:10px; width:83px; height:17px; ">병 동 별 :</caption>
- <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="combo_default" appearance="minimal" style="left:99px; top:10px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/warddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_cnsttermengnm" class="search_name" style="left:509px; top:39px; width:104px; height:17px; ">격리진단별 :</caption>
- <select1 id="ipt_cnsttermengnm" ref="/root/main/cond/cnsttermengnm" class="combo_default" disabled="true" appearance="minimal" style="left:615px; top:37px; width:260px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <select id="chk_incend" ref="/root/main/cond/inclend" overflow="visible" appearance="full" style="left:425px; top:40px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>완료포함</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- var chk_inclend = model.getValue("/root/main/cond/chk_inclend");
- var today = getCurrentDate();
- var idate = new Date();
- var peveDate = idate.getAddDate(-1, "M");
-
- if (chk_inclend == "Y") {
- ipt_fromdd.disabled = true;
- ipt_fromdd.value = ""
- ipt_todd.disabled = true;
- ipt_todd.value = ""
- }
- else {
- ipt_fromdd.disabled = false;
- ipt_fromdd.value = peveDate.getDateFormat();
- ipt_todd.disabled = false;
- ipt_todd.value = today;
- }
- */
- ]]>
- </script>
- </select>
- <button id="importbutton1" class="icon_search" visibility="hidden" style="left:879px; top:40px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500");
- var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/main/cond/pid", sPid);
- model.setValue("/root/main/cond/hngnm", sHngnm);
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="cmb_cnstdate" ref="/root/main/cond/cnstdate" class="combo_default" appearance="minimal" style="left:100px; top:36px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>격리신청일</label>
- <value>R</value>
- </item>
- <item>
- <label>격리개시일</label>
- <value>F</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var icdr = model.getValue("/root/main/cond/cnstendpat" );
- var cnstdate = model.getValue("/root/main/cond/cnstdate" );
- if (icdr =="Y" ||cnstdate =="F" ) {
- model.setValue("/root/main/cond/icdr", "I");
- } else {
- model.setValue("/root/main/cond/icdr", "");
- }
- ]]>
- </script>
- </select1>
- <button id="btn_patsrch" disabled="true" style="left:1045px; top:9px; width:45px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/main/cond/pid");
- var hngnm = model.getValue("/root/main/cond/hngnm");
- if((pid =="")&&(hngnm !="")){
- fPatSrch(hngnm, "2");
- } else if((pid !="")&&(hngnm == "")){
- fPatSrch(pid, "1");
- } else {
- modal("SPPMC02500")
- }
-
- model.setValue("/root/main/cond/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/cond/hngnm",model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <bool id="chk_toendpat" checkvalue="Y,N" ref="/root/main/cond/cnstendpat" style="left:900px; top:40px; width:15px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var icdr = model.getValue("/root/main/cond/cnstendpat" );
- var cnstdate = model.getValue("/root/main/cond/cnstdate" );
- if (icdr =="Y" ||cnstdate =="F" ) {
- model.setValue("/root/main/cond/icdr", "I");
- } else {
- model.setValue("/root/main/cond/icdr", "");
- }
- ]]>
- </script>
- </bool>
- <caption id="importcaption1" style="left:915px; top:38px; width:182px; height:20px; ">금일 격리 종료환자 보기(D3포함)</caption>
- </group>
- <caption id="caption3" class="tit_2" style="left:1px; top:75px; width:126px; height:13px; vertical-align:middle; ">격리병실 신청현황</caption>
- <line id="line6" class="line_1" style="x1:0px; y1:90px; x2:1194px; y2:90px; "/>
- <datagrid id="grd_cnstpatlist" nodeset="/root/main/cnstpatinfo/cnstpatlist" caption="보험팀
확인여부^서식기록번호^등록
번호^성명^진행
상태^감염내과
승인여부^입원일^의뢰과^전문의^의뢰
의사^격리진단코드^격리진단명^기타사유^격리
신청일^의사격리
승인일^원무
승인일^격리
종료일^인실구분^재원병동^재원
병실^이전
병실^격리
병실^S/A^의뢰내용^주진단
코드^검사정보^검사정보^검사정보^퇴원
일자^cretno^보험팀
확인자^보험팀
확인시간^caption1^caption2^seqno^ioflag^instcd^orddd|보험팀
확인여부^서식기록번호^등록
번호^성명^진행
상태^감염내과
승인여부^입원일^의뢰과^전문의^의뢰
의사^격리진단코드^격리진단명^기타사유^격리
신청일^의사격리
승인일^원무
승인일^격리
종료일^인실구분^재원병동^재원
병실^이전
병실^격리
병실^S/A^의뢰내용^주진단
코드^검사일자^ANC^500이상^퇴원
일자^cretno^보험팀
확인자^보험팀
확인시간^caption1^caption2^seqno^ioflag^instcd^orddd" colsep="^" colwidth="56, 28, 65, 53, 55, 56, 70, 80, 60, 60, 11, 95, 116, 70, 70, 70, 70, 91, 87, 50, 50, 50, 52, 230, 85, 70, 50, 50, 70, 27, 52, 100, 100, 100" ellipsis="true" explorerbar="sort" extendlastcol="scroll" frozencols="13" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="32" rowsep="|" tooltip="true" style="left:0px; top:95px; width:1190px; height:640px; ">
- <col checkvalue="Y,N" disabled="true" ref="insucnfmyn" type="checkbox"/>
- <col ref="formrecseq" visibility="hidden"/>
- <col editable="false" ref="pid" type="input" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="cnststat" style="text-align:center; vertical-align:middle; "/>
- <col ref="cnstcnfm" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd" style="left:235px; top:43px; width:80px; height:23px; text-align:center; "/>
- <col ref="reqdeptnm" style="text-align:center; "/>
- <col ref="medispclnm" style="text-align:center; "/>
- <col ref="requsernm" style="text-align:center; "/>
- <col ref="cnstdiagcd" visibility="hidden"/>
- <col ref="cnstdiagnm"/>
- <col ref="cnstdiagcnt"/>
- <col ref="reqdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cnstcnfmfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cnstfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cnsttodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="roomgrdecd" style="text-align:left; "/>
- <col ref="wardnm" style="text-align:left; "/>
- <col ref="orroomcd" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="cnstroomcd" style="text-align:center; "/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="detreccnts"/>
- <col ref="diagcd" style="text-align:center; "/>
- <col ref="lstinsdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="anc" style="text-align:center; "/>
- <col ref="overfh" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="insuchknm" style="text-align:center; "/>
- <col ref="insucnfmtm" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="ioflag" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- setPopupMenu("grd_cnstpatlist", false, "/root/popupmenu/menu/item", "name", "func");
- ]]>
- </script>
- <!--
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if((grd_cnstpatlist.mouseRow > 0) && ( grd_cnstpatlist.mouseRow <= grd_cnstpatlist.rows )) {
- fReqCnstPatPamInfo();
- }
- ]]>
- </script>
- -->
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_cnstpatlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var row = grd_cnstpatlist.row-1;
- model.makeValue("/root/temp/patinfo/pid",model.getValue("/root/main/cnstpatinfo/cnstpatlist["+row+"]/pid"));
- model.makeValue("/root/temp/patinfo/hngnm",model.getValue("/root/main/cnstpatinfo/cnstpatlist["+row+"]/hngnm"));
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- fReqOpPatPamInfo();
- ]]>
- </script>
- </datagrid>
- <line id="importline1" class="line_3" style="x1:0px; y1:735px; x2:1194px; y2:735px; "/>
- <button id="btn_excel" class="btn2_letter2" style="left:1149px; top:70px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // var fileName = window.fileDialog("save", ",", false, "격리병실신청현황", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- // if (fileName != ""){
- // grd_cnstpatlist.saveExcel(fileName, "SheetName", false, false, "", "", false);
- // }
- var fileName = window.fileDialog("save", ",", false, "격리병실신청현황", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != ""){
- grd_cnstpatlist.saveExcel(fileName, "격리병실신청현황", true, true, "", "", false);
- var s = fileName.lastIndexOf("\\");
- var fileName=fileName.substring(s+1);
-
- var rmsg = messageBox("저장된 Excel을", "Q004");
- if( rmsg == 6 ){
- window.exec("excel.exe", fileName);
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn5_letter2" visibility="hidden" style="left:1026px; top:70px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removeNodeset("/root/send/reqdata");
- model.makeValue("/root/send/reqdata", grd_cnstpatlist.getUpdateData());
-
- submit("TXASB02101");
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- </button>
- <button id="importbutton2" class="btn2_letter5" style="left:1071px; top:70px; width:75px; height:19px; ">
- <caption>컨설트 조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var sessionPID = getPatientId();
- var iRow=grd_cnstpatlist.row;
- if(sessionPID != model.getValue("/root/main/cnstpatinfo/cnstpatlist["+iRow+"]/pid")){
- fReqOpPatPamInfo();
- }
- modal("SMMMR05000");
- //pid▦orddd▦cretno▦ioflag▦orddeptcd▦orddrid▦
-
- // var rtnmsg_header="pid▦orddd▦cretno▦ioflag▦orddeptcd▦orddrid▩";
- // var rtnmsg_data="";
- // rtnmsg_data+=model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/pid") +"▦"
- // + model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/orddd") +"▦"
- // + model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/cretno") +"▦"
- // + model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/ioflag") +"▦"
- // + model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/orddeptcd") +"▦"
- // + model.getValue("/root/main/cnstpatinfo/cnstpatlist["+grd_cnstpatlist.row+"]/orddrid") +"▩";
- // setParameter("SMMMR05000_param_pinfo", rtnmsg_header+rtnmsg_data);
-
- //@@@@@@@@@@@@@@@@@여기까지
- // modal("SMMMR05000", 1,150,150, "SMMMR05000");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|