123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759 |
- <?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>
- <readappinfo>
- <master>
- <readapplist>
- <appno/>
- <appdd/>
- <appdeptcd/>
- <appid/>
- <apptype/>
- <appdetail/>
- <acptstatus/>
- <appreadfromdd/>
- <appreadtodd/>
- <prntyn/>
- <histno/>
- <appnm/>
- </readapplist>
- </master>
- <detail>
- <applist>
- <appdd/>
- <appno/>
- <appdeptcd/>
- <appid/>
- <apptel/>
- <apptype/>
- <appdetail/>
- <appreadfromdd/>
- <appreadtodd/>
- <prntyn/>
- <pappyn/>
- <pappdetail/>
- </applist>
- <orddeptlist>
- <orddeptinfo>
- <dept1/>
- <dept2/>
- <dept3/>
- <dept4/>
- <dept5/>
- <dept6/>
- <dept7/>
- </orddeptinfo>
- </orddeptlist>
- <apppatlist>
- <apppatinfo>
- <pid/>
- <pnm/>
- <orddeptnm/>
- <appdetail/>
- <appseqno/>
- </apppatinfo>
- </apppatlist>
- <pid/>
- <pnm/>
- </detail>
- </readappinfo>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- </patinfolist>
- </patinfo>
- <appinfo/>
- <deptengabbrinfo/>
- <prtcnt/>
- <appudtcnt/>
- </main>
- <send>
- <cond>
- <appdeptcd/>
- <appid/>
- <acptstatus>-</acptstatus>
- <appfromdd/>
- <apptodd/>
- <appreadfromdd/>
- <appreadtodd/>
- <pid/>
- <appno/>
- <histno/>
- </cond>
- <reqdata>
- <applist/>
- <apppatlist/>
- </reqdata>
- <prtdata/>
- <rsnsrch/>
- </send>
- <init>
- <orddept/>
- <userlist/>
- <accresn/>
- <acptstatusinfo>
- <acptstatuslist>
- <cdnm>전체</cdnm>
- <cdid>-</cdid>
- </acptstatuslist>
- <acptstatuslist>
- <cdnm>신청</cdnm>
- <cdid>01</cdid>
- </acptstatuslist>
- <acptstatuslist>
- <cdnm>승인</cdnm>
- <cdid>02</cdid>
- </acptstatuslist>
- <acptstatuslist>
- <cdnm>부분승인</cdnm>
- <cdid>03</cdid>
- </acptstatuslist>
- <acptstatuslist>
- <cdnm>불가</cdnm>
- <cdid>04</cdid>
- </acptstatuslist>
- <acptstatuslist>
- <cdnm>보류</cdnm>
- <cdid>05</cdid>
- </acptstatuslist>
- </acptstatusinfo>
- <hardcd/>
- <resn>
- <resnlist/>
- </resn>
- <prntstatusinfo>
- <prntstatuslist>
- <cdid>01</cdid>
- <cdnm>신청</cdnm>
- </prntstatuslist>
- <prntstatuslist>
- <cdid>-</cdid>
- <cdnm>-</cdnm>
- </prntstatuslist>
- <prntstatuslist>
- <cdid>04</cdid>
- <cdnm>불가</cdnm>
- </prntstatuslist>
- <prntstatuslist>
- <cdid>02</cdid>
- <cdnm>승인</cdnm>
- </prntstatuslist>
- </prntstatusinfo>
- </init>
- <initinfo/>
- <temp>
- <prntstatus/>
- <patinfo>
- <pid/>
- <pnm/>
- <deptnm/>
- </patinfo>
- </temp>
- <excel>
- <patinfo>
- <pid/>
- <pnm/>
- </patinfo>
- </excel>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMRI03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond/pid" resultref="/root/initinfo"/>
- <submission id="TRMRI08101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/readappinfo/master"/>
- <submission id="TRMRI08102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/readappinfo/detail/apppatlist"/>
- <submission id="TRMRI08103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/deptengabbrinfo"/>
- <submission id="TRMRI08104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond/trgtno" resultref="/root/init/hardcd"/>
- <submission id="TXMRI08101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/appinfo"/>
- <submission id="TXMRI08103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/appudtcnt"/>
- <submission id="TRMRI03102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rsnsrch" resultref="/root/init/resn/resnlist"/>
- <submission id="TRMRI08106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata/applist" resultref="/root/hidden/result"/>
- <submission id="TRMRI08107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/readappinfo/detail/apppatlist"/>
- <submission id="TRMRI08108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/excel/patinfo" resultref="/root/temp/patinfo"/>
- <submission id="TRMRI08109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata/viewdept" resultref="/root/init/viewdept"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/recmngtweb/js/SMMRI08000.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1199;1,588;2,782;2,750;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <button id="button2" class="btn4_letter2" visibility="hidden" style="left:500px; top:55px; width:56px; height:22px; ">
- <caption>파일</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fLoadExcel();
- ]]>
- </script>
- </button>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:14px; ">의무기록 열람신청 및 조회</caption>
- </group>
- <button id="btn_readapp" class="btn_sw" visibility="visible" group="group" selected="true" style="left:0px; top:16px; width:220px; height:22px; text-align:center; cursor:hand; ">
- <caption>열람신청 및 의무기록 열람 (건별)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("readapp");
- fSearchDetail();
- ]]>
- </script>
- </button>
- <button id="btn_readexe" class="btn_sw" visibility="visible" group="group" style="left:220px; top:16px; width:275px; height:22px; text-align:center; cursor:hand; ">
- <caption>열람신청 내역 조회 및 의무기록 열람 (그룹별)</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("readexe");
- fSearchDetail();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_1" style="x1:0px; y1:38px; x2:1195px; y2:38px; "/>
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:7px; top:44px; width:579px; height:70px; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:500px; top:53px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:26px; top:82px; width:86px; height:17px; ">처리구분 :</caption>
- <caption id="caption21" class="search_name" style="left:26px; top:54px; width:88px; height:17px; ">신 청 과 :</caption>
- <select1 id="cmb_acptstatus" ref="/root/send/cond/acptstatus" class="combo_search" appearance="minimal" style="left:116px; top:82px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/acptstatusinfo/acptstatuslist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" visibility="visible" style="left:252px; top:54px; width:93px; height:17px; ">신 청 자 :</caption>
- <select1 id="cmb_appid" ref="/root/send/cond/appid" disabled="true" navindex="3" visibility="visible" appearance="minimal" style="left:350px; top:54px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_appdeptcd" ref="/root/send/cond/appdeptcd" disabled="true" navindex="2" appearance="minimal" style="left:116px; top:54px; width:111px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/viewdept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- <!-- <itemset nodeset="/root/init/orddept/dept">
- // <label ref="depthngnm"/>
- // <value ref="deptcd"/>
- // <value ref="deptcd"/>
- // </itemset> -->
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //
- ]]>
- </script>
- </select1>
- <line id="line18" class="line_4" style="x1:552px; y1:83px; x2:552px; y2:105px; border-left-style:solid; "/>
- <datagrid id="grd_readapplist" nodeset="/root/main/readappinfo/master/readapplist" class="datagrid2" caption="신청번호^순번^종이
차트^신청일^신청자^직종^열람목적코드^열람목적^주제^처리^열람희망일^열람종료일^서약서^연락처^연락처^histstat^신청상태^출력여부^신청과^appid^신청자" colsep="^" colwidth="69, 34, 40, 81, 66, 100, 100, 107, 112, 54, 75, 79, 81, 100, 0, 100, 52, 0, 100, 100" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:6px; top:131px; width:582px; height:651px; ">
- <col ref="appno" style="text-align:center; "/>
- <col ref="histno" style="text-align:center; "/>
- <col ref="pappyn" type="output" style="text-align:center; "/>
- <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="appnm"/>
- <col ref="jobkindnm"/>
- <col key="apptype" visibility="hidden"/>
- <col ref="apptypenm"/>
- <col ref="appdetail"/>
- <col disabled="true" ref="acptstatus" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/acptstatusinfo/acptstatuslist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="appreadfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="appreadtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pledgeflag" visibility="hidden"/>
- <col ref="apptel"/>
- <col ref="histstat" visibility="hidden"/>
- <col ref="histstatnm" visibility="hidden" style="text-align:center; "/>
- <col ref="prntyn" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="appdeptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="appdeptcd" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </col>
- <col ref="appid" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( grd_readapplist.isCell(event.target) && grd_readapplist.row >= grd_readapplist.fixedRows )
- fSearchDetail();
- ]]>
- </script>
- </datagrid>
- <switch id="swh_app" class="sw_no_border" style="left:590px; top:45px; width:605px; height:735px; ">
- <case id="readapp" selected="true" style="left:0px; top:0px; width:600px; height:735px; ">
- <button id="btn_pledgeprnt" class="btn4_letter9" visibility="hidden" style="left:260px; top:700px; width:140px; height:22px; ">
- <caption>열람서약서 재출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var appno = grd_readapplist.valueMatrix( grd_readapplist.row, grd_readapplist.colRef("appno"));
- setParameter("SPMRI08100_param_appno", appno);
- setParameter("SPMRI08100_param_autoprint", "Y");
- modal("SPMRI08100");
- setParameter("SPMRI08100_param_autoprint", "");
- ]]>
- </script>
- </button>
- <group id="grp_applist" style="left:7px; top:0px; width:580px; height:122px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:120px; "/>
- <caption id="caption8" class="search_name" style="left:12px; top:7px; width:103px; height:17px; ">신 청 일 :</caption>
- <output id="output4" ref="/root/main/readappinfo/detail/applist/appno" class="output" style="left:360px; top:7px; width:115px; height:19px; "/>
- <caption id="caption9" class="search_name" style="left:251px; top:8px; width:101px; height:17px; ">신 청 번 호 :</caption>
- <caption id="caption10" class="search_name" style="left:12px; top:29px; width:103px; height:17px; ">신 청 과 :</caption>
- <caption id="caption11" class="search_name" style="left:251px; top:28px; width:103px; height:17px; ">신 청 자 :</caption>
- <caption id="caption12" class="search_name" style="left:12px; top:50px; width:103px; height:17px; ">연 락 처 :</caption>
- <input id="ipt_usernm" ref="/root/main/readappinfo/detail/applist/apptel" class="input_s_essential" style="left:117px; top:49px; width:116px; height:19px; "/>
- <caption id="caption13" class="search_name" style="left:251px; top:50px; width:101px; height:17px; ">열 람 목 적 :</caption>
- <select1 id="cmb_resn" ref="/root/main/readappinfo/detail/applist/apptype" class="input_s_essential" appearance="minimal" style="left:360px; top:49px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/resn/resnlist">
- <label ref="rsnnm"/>
- <value ref="rsncd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var apptype = model.getValue("/root/main/readappinfo/detail/applist/apptype");
-
- //병원마다 기준이 다르고 코드가 다르므로 텍스트로 비교
- if ( cmb_resn.value == "F3" || cmb_resn.label.indexOf("기타") > -1 || cmb_resn.label == "연구용" || cmb_resn.label == "Conference" || cmb_resn.label == "conference" ||cmb_resn.label == "집담회용")
- ipt_appdetail.disabled = false;
- else
- ipt_appdetail.disabled = true;
-
- //열람목적 변경 시 열람종료일 다시 셋팅
- fSetAppReadtodd();
- ]]>
- </script>
- </select1>
- <caption id="caption14" class="search_name" style="left:12px; top:72px; width:105px; height:17px; ">주 제 :</caption>
- <input id="ipt_appdetail" ref="/root/main/readappinfo/detail/applist/appdetail" class="input_search" disabled="true" style="left:117px; top:71px; width:446px; height:19px; "/>
- <caption id="caption15" class="search_name" style="left:12px; top:96px; width:99px; height:17px; ">열람희망일 :</caption>
- <caption id="caption16" class="search_name" style="left:251px; top:96px; width:104px; height:17px; ">열람종료일 :</caption>
- <input id="ipt_appreadfromdd" ref="/root/main/readappinfo/detail/applist/appreadfromdd" class="input_s_essential" disabled="input_s_searcd" inputtype="date" required="false" style="left:117px; top:94px; width:115px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetAppReadtodd();
- ]]>
- </script>
- </input>
- <output id="opt_appdd" ref="/root/main/readappinfo/detail/applist/appdd" class="output" format="yyyy-mm-dd" style="left:117px; top:7px; width:115px; height:19px; "/>
- <output id="ipt_appreadtodd" ref="/root/main/readappinfo/detail/applist/appreadtodd" class="output" format="yyyy-mm-dd" style="left:363px; top:94px; width:112px; height:19px; "/>
- <output id="out_appdeptcd" ref="/root/main/readappinfo/detail/applist/appdeptcd" style="left:116px; top:28px; width:116px; height:19px; "/>
- <output id="out_appid" ref="/root/main/readappinfo/detail/applist/appnmid" style="left:360px; top:28px; width:200px; height:19px; "/>
- </group>
- <button id="btn_excelupload" class="btn4_letter7" visibility="visible" style="left:298px; top:700px; width:116px; height:22px; ">
- <caption>Excel Upload</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fLoadExcel();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter9" visibility="hidden" style="left:450px; top:185px; width:140px; height:22px; ">
- <caption>Excel Download</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "기록열람신청리스트", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != ""){
- grd_apppatlist.saveExcel(fileName, "sheetname:기록열람신청목록");
- }
- ]]>
- </script>
- </button>
- <button id="btn_resave" class="btn4_letter3" disabled="true" style="left:470px; top:700px; width:68px; height:22px; ">
- <caption>재신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_resave.value == "연장신청" )
- {
- fSearchDetail();
- grup_appreadfromdd.attribute("visibility") = "visible";
- }
- else if ( btn_resave.value == "재신청" )
- fSaveReadApp("R");
- ]]>
- </script>
- </button>
- <group id="grp_applist2" style="left:8px; top:127px; width:581px; height:87px; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:581px; height:87px; "/>
- <caption id="caption17" class="search_name" style="left:11px; top:5px; width:98px; height:17px; ">등록번호 :</caption>
- <caption id="caption19" class="search_name" style="left:11px; top:29px; width:98px; height:17px; ">수 진 과 :</caption>
- <input id="ipt_pid" ref="/root/main/readappinfo/detail/pnm" class="input_search" style="left:234px; top:5px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_patsrch", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_srchpid" class="icon_search" style="left:352px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetPatInfo();
- ]]>
- </script>
- </button>
- <datagrid id="grd_orddeptlist" nodeset="/root/main/readappinfo/detail/orddeptlist/orddeptinfo" class="datagrid0" caption="1^2^3^4^5^6^7" colsep="^" colwidth="53, 53, 53, 53, 53, 53, 53" mergecellsfixedrows="bycolrec" rowheight="0" rowsep="|" selectionmode="free" style="left:115px; top:30px; width:390px; height:50px; ">
- <col ref="dept1"/>
- <col ref="dept2"/>
- <col ref="dept3"/>
- <col ref="dept4"/>
- <col ref="dept5"/>
- <col ref="dept6"/>
- <col ref="dept7"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fCopyPatInfo();
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn4_letter2" visibility="hidden" style="left:514px; top:5px; width:56px; height:22px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCopyPatInfo();
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/readappinfo/detail/pid" class="input_search" style="left:115px; top:5px; width:116px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_reqpatnm", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_reqpatnm" disabled="true" style="left:360px; top:10px; width:45px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPidTrim("/root/main/readappinfo/detail/pid");
- var pid = model.getValue("/root/main/readappinfo/detail/pid");
- if(pid == ""){
- return;
- }
-
- if(reqPatInfo("pid", "ptbs", pid)==true){
- var hngnm = model.getValue("/root/init/patnm/patnm/hngnm");
- model.setValue("/root/main/readappinfo/detail/pnm", hngnm);
- grp_applist2.refresh();
-
- fGetOrddeptList(pid);
- }
- ]]>
- </script>
- </button>
- <button id="btn_patsrch" disabled="true" style="left:405px; top:10px; width:45px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/main/readappinfo/detail/pid");
- var hngnm = model.getValue("/root/main/readappinfo/detail/pnm");
- if((pid =="")&&(hngnm !="")){
- fPatSrch(hngnm, "2");
- } else if((pid !="")&&(hngnm == "")){
- fPatSrch(pid, "1");
- } else {
- modal("SPPMC02500")
- }
-
- model.setValue("/root/main/readappinfo/detail/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/readappinfo/detail/pnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- grp_applist2.refresh();
-
- fGetOrddeptList(model.getValue("/root/main/patinfo/patinfolist/pid"));
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_save" class="btn4_letter2" style="left:538px; top:700px; width:56px; height:22px; ">
- <caption>신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_save.value == "신청" )
- fSaveReadApp("Y");
- else if ( btn_save.value == "수정" )
- {
- fSaveReadApp("X");
- }
-
- ]]>
- </script>
- </button>
- <datagrid id="grd_apppatlist" nodeset="/root/main/readappinfo/detail/apppatlist/apppatinfo" visibility="visible" caption="등록번호^성명^진료과^사유^처리내용^열람^출력^종이차트(사유입력)^종이차트(사유입력)^출력^순번^orddeptcd" colsep="^" colwidth="56, 56, 53, 183, 87, 36, 41, 28, 138, 0, 100, 100" dataheight="23" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:7px; top:225px; width:587px; height:470px; text-align:left; ">
- <col ref="pid"/>
- <col ref="pnm" visibility="visible"/>
- <col ref="orddeptnm" type="output"/>
- <col editable="true" ref="appdetail" type="input"/>
- <col ref="acptcontents"/>
- <col ref="search" style="text-align:center; cursor:hand; "/>
- <col ref="prntstatus" type="combo" visibility="visible">
- <choices>
- <itemset nodeset="/root/init/prntstatusinfo/prntstatuslist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" ref="pappyn" type="checkbox" visibility="hidden"/>
- <col ref="pappdetail" type="input" visibility="hidden"/>
- <col ref="appseqno" type="output" visibility="hidden"/>
- <col ref="orddeptcd"/>
- <col ref="acptstatus" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (grd_apppatlist.col == grd_apppatlist.colRef("prntstatus"))
- var pnrtstatus = grd_apppatlist.valueMatrix(grd_apppatlist.row,grd_apppatlist.colRef("prntstatus"))
- if (pnrtstatus == "02" || pnrtstatus == "04" )
- {
- messageBox("변경할 수 없는 상태입니다","000");
- grd_apppatlist.valueMatrix(grd_apppatlist.row,grd_apppatlist.colRef("prntstatus")) = model.getValue("/root/temp/prntstatus");
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_apppatlist.col == grd_apppatlist.colRef("prntstatus"))
- {
- var pnrtstatus = grd_apppatlist.valueMatrix(grd_apppatlist.row,grd_apppatlist.colRef("prntstatus"))
- model.setValue("/root/temp/prntstatus",pnrtstatus);
- }
-
- if (grd_apppatlist.isCell(event.target) && grd_apppatlist.col == grd_apppatlist.colRef("search") )
- {
- var wndobj = getOpenWindow("SMMRI00400");
- if(wndobj != null){
- wndobj.close();
- }
- fOpenSMMRI00400("grd_apppatlist");
- }
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:7px; y1:221px; x2:594px; y2:221px; "/>
- <button id="btn_del" class="btn4_letter2" style="left:414px; top:700px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rows = grd_apppatlist.rows;
-
- //model.gridDeleteSelect("grd_apppatlist");
-
- for ( i=1; i < rows; i++ )
- {
- if (grd_apppatlist.isselected(i) == true)
- {
- var appseqno = model.getValue("/root/main/readappinfo/detail/apppatlist/apppatinfo[" + i + "]/appseqno");
- if (appseqno == "")
- {
- grd_apppatlist.deleteRow(i);
- }
- else
- {
- grd_apppatlist.addStatus(i, "delete");
- }
-
- }
- }
- ]]>
- </script>
- </button>
- <group id="grup_appreadfromdd" visibility="hidden" style="left:260px; top:535px; width:265px; height:105px; border-color:#adceff; border-width:3px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
- <caption id="caption24" class="tit_2" style="left:1px; top:2px; width:201px; height:14px; ">열람희망일을 입력 해 주세요.</caption>
- <line id="line16" class="line_1" style="x1:1px; y1:16px; x2:257px; y2:16px; "/>
- <button id="button56" class="btn2_letter3" style="left:140px; top:75px; width:53px; height:19px; ">
- <caption>확 인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grup_appreadfromdd.attribute("visibility") = "hidden";
- fSaveReadApp("C"); //연장 신청 시 열람서약서를 다시 받지 않는다.
- ]]>
- </script>
- </button>
- <button id="button57" class="btn2_letter3" style="left:201px; top:75px; width:53px; height:19px; ">
- <caption>취 소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grup_appreadfromdd.attribute("visibility") = "hidden";
- ]]>
- </script>
- </button>
- <caption id="caption50" class="cell_1" style="left:2px; top:28px; width:77px; height:23px; text-align:center; vertical-align:middle; ">열람희망일</caption>
- <caption id="caption41" style="left:2px; top:55px; width:240px; height:14px; ">* 연장신청은 열람희망일만 변경 가능합니다</caption>
- <input id="input4" ref="/root/main/readappinfo/detail/applist/appreadfromdd" class="input_s_searcd" inputtype="date" style="left:87px; top:29px; width:115px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetAppReadtodd();
- ]]>
- </script>
- </input>
- </group>
- <button id="btn_new" class="btn4_letter4" style="left:491px; top:8px; width:80px; height:22px; ">
- <caption>신규입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetNewReq();
-
- ]]>
- </script>
- </button>
- <output id="output1" style="left:9px; top:700px; width:25px; height:19px; background-color:#ff0000; "/>
- <caption id="caption2" style="left:39px; top:702px; width:200px; height:18px; font-size:9pt; ">접근제한부서(사유입력 필수)</caption>
- </case>
- <case id="readexe">
- <datagrid id="grd_readpatlist" nodeset="/root/main/readappinfo/detail/apppatlist/apppatinfo" caption="등록번호^성명^진료과^처리^처리내용^열람" colsep="^" colwidth="100, 100, 100, 43, 168, 37" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:6px; top:6px; width:591px; height:713px; ">
- <col ref="pid" style="text-align:left; "/>
- <col ref="pnm" style="text-align:center; "/>
- <col ref="orddeptnm" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="acptstatus" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>신청</label>
- <value>01</value>
- </item>
- <item>
- <label>승인</label>
- <value>02</value>
- </item>
- <item>
- <label>부분승인</label>
- <value>03</value>
- </item>
- <item>
- <label>불가</label>
- <value>04</value>
- </item>
- <item>
- <label>보류</label>
- <value>05</value>
- </item>
- </choices>
- </col>
- <col ref="acptcontents" visibility="hidden"/>
- <col ref="search" style="cursor:hand; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( grd_readpatlist.isCell(event.target) && grd_readpatlist.col == grd_readpatlist.colRef("search") )
- fOpenSMMRI00400();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="readdetail">
- <datagrid id="grd_readdpatlist" nodeset="/root/main/readappinfo/detail/apppatlist/apppatinfo" caption="등록번호^성명^진료과^처리^처리내용^열람" colsep="^" colwidth="100, 100, 100, 43, 168, 37" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:6px; top:1px; width:591px; height:713px; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="pnm" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col disabled="true" ref="acptstatus" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>전체</label>
- <value>-</value>
- </item>
- <item>
- <label>신청</label>
- <value>01</value>
- </item>
- <item>
- <label>승인</label>
- <value>02</value>
- </item>
- <item>
- <label>부분승인</label>
- <value>03</value>
- </item>
- <item>
- <label>불가</label>
- <value>04</value>
- </item>
- <item>
- <label>보류</label>
- <value>05</value>
- </item>
- </choices>
- </col>
- <col ref="acptcontents"/>
- <col ref="search" style="cursor:hand; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( grd_readpatlist.isCell(event.target) && grd_readpatlist.col == grd_readpatlist.colRef("search") )
- fOpenSMMRI00400();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <switch id="switch2" class="sw_no_border" style="left:248px; top:80px; width:307px; height:25px; ">
- <case id="appdd" selected="true">
- <caption id="caption4" class="search_name" style="left:3px; top:2px; width:93px; height:17px; ">신 청 일 :</caption>
- <caption id="caption5" style="left:198px; top:2px; width:15px; height:20px; text-align:center; ">~</caption>
- <input id="input18" ref="/root/send/cond/apptodd" class="input_s_essential" inputtype="date" style="left:211px; top:2px; width:95px; height:19px; "/>
- <input id="ipt_formrecdtfr" ref="/root/send/cond/appfromdd" class="input_s_essential" inputtype="date" style="left:103px; top:2px; width:95px; height:19px; "/>
- </case>
- <case id="appreaddd">
- <caption id="caption22" class="search_name" style="left:3px; top:2px; width:99px; height:17px; ">열람희망일 :</caption>
- <caption id="caption23" style="left:194px; top:2px; width:20px; height:20px; text-align:center; ">~</caption>
- <input id="input2" ref="/root/send/cond/appreadtodd" class="input_s_essential" inputtype="date" style="left:211px; top:2px; width:95px; height:19px; "/>
- <input id="input3" ref="/root/send/cond/appreadfromdd" class="input_s_essential" inputtype="date" style="left:103px; top:2px; width:95px; height:19px; "/>
- </case>
- </switch>
- <datagrid id="grd_pid" nodeset="/root/excel/patinfo" visibility="hidden" caption="pid^pnm" colsep="^" colwidth="100, 100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:25px; top:210px; width:240px; height:150px; ">
- <col ref="pid"/>
- <col ref="pnm"/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:7px; y1:118px; x2:589px; y2:118px; "/>
- </xhtml:body>
- </xhtml:html>
|