123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404 |
- <?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>
- <cureschelist>
- <mainlist>
- <genrdd/>
- <genrno/>
- <suppdeptcd/>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <rrgstno1/>
- <rrgstno2/>
- <tel/>
- <addr/>
- <orddeptcd/>
- <orddrid/>
- <statcd/>
- <cntctel/>
- <curedg1/>
- <oldcuredg1/>
- <curedgseq1/>
- <curedg2/>
- <oldcuredg2/>
- <curedgseq2/>
- <curedg3/>
- <oldcuredg3/>
- <curedgseq3/>
- <curedg4/>
- <oldcuredg4/>
- <curedgseq4/>
- <curedg5/>
- <oldcuredg5/>
- <curedgseq5/>
- <curedg6/>
- <oldcuredg6/>
- <curedgseq6/>
- <curecfrmyn/>
- <remfact/>
- <startdd/>
- <endcnts/>
- <inschedd/>
- </mainlist>
- </cureschelist>
- <popupendflag/>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <data>
- <srchflag/>
- <srchdate1/>
- <srchdate2/>
- <srchpid/>
- <hngnm/>
- </data>
- <savedata/>
- <data2>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <acptdd/>
- </data2>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </send>
- <hidden>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <session/>
- </hidden>
- <init>
- <today/>
- <roomlist/>
- <orddeptcd>
- <cd/>
- <nm/>
- <deptengabbr/>
- <reqdeptno/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- </init>
- <temp>
- <printyn1/>
- <printyn2/>
- <printyn3/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 부서코드 설정
- aezfSetSuppDeptcd();
-
- // 진료과/진료의 조회
- submit("TRPMOCOM01", false);
-
- fInit();
- ]]>
- </script>
- <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
- <submission id="TRAEA04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cureschelist"/>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fInit() {
- model.removenode("/root/main/cureschelist");
-
- model.setValue("/root/send/data/srchflag", "E");
- model.setValue("/root/send/data/srchdate1", getCurrentDate());
- model.setValue("/root/send/data/srchdate2", ((getCurrentDate()).toDate()).getAddDate(60).getDateFormat());
- model.refresh();
- }
-
- // 환자별 치료 스케줄 조회
- function fGetCureScheList() {
-
- var srchpid = model.getValue("/root/send/data/srchpid");
- if (srchpid == "") {
- var srchflag = model.getValue("/root/send/data/srchflag");
- if (srchflag == "") {
- messageBox("구분을 선택해 주십시오.","I999");
- return "0";
- }
-
- var srchdate1 = model.getValue("/root/send/data/srchdate1");
- if (srchdate1 == "") {
- messageBox("조회시작일자를 선택해 주십시오.","I999");
- return "0";
- }
-
- var srchdate2 = model.getValue("/root/send/data/srchdate2");
- if (srchdate2 == "") {
- messageBox("조회종료일자를 선택해 주십시오.","I999");
- return "0";
- }
- }
-
- model.resetInstanceNode("/root/main/curescheinfo/maininfo");
- model.removenode("/root/main/cureschelist");
- submit("TRAEA04701");
- model.refresh();
- }
-
-
- /**
- * @desc : 환자정보 조회
- * @
- * @param :
- * @return :
- * @author :
- * @---------------------------------------------------
- */
- function fGetPatInfo(){
-
- var pid = model.getValue("/root/main/curescheinfo/maininfo/pid");
- model.makeValue("/root/main/patinfo/patinfolist/pid",pid);
-
- if ( submit("TRAEB02902",false) ) {
- var cnt = getNodesetCount("/root/main/patinfo/patinfolist");
-
- if (cnt == 0) {
- model.makeValue("/root/main/curescheinfo/maininfo/suppdeptcd", "");
- model.makeValue("/root/main/curescheinfo/maininfo/hngnm", "");
- model.makeValue("/root/main/curescheinfo/maininfo/sex", "");
- model.makeValue("/root/main/curescheinfo/maininfo/age", "");
- model.makeValue("/root/main/curescheinfo/maininfo/rrgstno1", "");
- model.makeValue("/root/main/curescheinfo/maininfo/rrgstno2", "");
- model.makeValue("/root/main/curescheinfo/maininfo/tel", "");
- model.makeValue("/root/main/curescheinfo/maininfo/addr", "");
- messageBox("등록된 환자 정보가","I004");
-
- } else if (cnt == 1) {
- model.makeValue("/root/main/curescheinfo/maininfo/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.makeValue("/root/main/curescheinfo/maininfo/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.makeValue("/root/main/curescheinfo/maininfo/sex", model.getValue("/root/main/patinfo/patinfolist/sex"));
- model.makeValue("/root/main/curescheinfo/maininfo/age", model.getValue("/root/main/patinfo/patinfolist/age"));
- model.makeValue("/root/main/curescheinfo/maininfo/rrgstno1", model.getValue("/root/main/patinfo/patinfolist/rrgstno1"));
- model.makeValue("/root/main/curescheinfo/maininfo/rrgstno2", model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
- model.makeValue("/root/main/curescheinfo/maininfo/tel", model.getValue("/root/main/patinfo/patinfolist/tel"));
- model.makeValue("/root/main/curescheinfo/maininfo/addr", "");
- }
-
- var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
-
- cmb_orddept.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd[cd='"+ suppdeptcd + "']";
- cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp='"+ suppdeptcd + "']";
- cmb_orddept.value = suppdeptcd;
-
- model.refresh();
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:16px; width:1185px; height:34px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_getpatinfo" class="icon_search" style="left:783px; top:24px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/data2/srchcond", "2");
- model.setValue("/root/send/data2/pid", model.getValue("/root/main/cond/pid"));
-
- modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data2","/root/send");
-
- var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/send/data/srchpid", sPid);
- model.setValue("/root/send/data/hngnm", sHngnm);
-
- fGetCureScheList();
- ]]>
- </script>
- </button>
- <button id="btn_req" class="btn1_letter2" style="left:1120px; top:22px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCureScheList();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="search_name" style="left:230px; top:26px; width:94px; height:17px; ">조회일자 :</caption>
- <input id="input36" ref="/root/send/data/srchdate2" class="input_s_essential" inputtype="date" style="left:423px; top:24px; width:100px; height:19px; "/>
- <caption id="caption58" class="search_name" style="left:586px; top:26px; width:86px; height:17px; ">등록번호 :</caption>
- <input id="input37" ref="/root/send/data/srchdate1" class="input_s_essential" inputtype="date" style="left:320px; top:24px; width:100px; height:19px; "/>
- <input id="input19" ref="/root/send/data/srchpid" class="input_search" style="left:680px; top:24px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- setInputNodeCurText();
- fGetCureScheList();
- }
- ]]>
- </script>
- </input>
- <output id="ipt_patnm" ref="/root/send/data/hngnm" class="output_fix" style="left:805px; top:24px; width:85px; height:19px; "/>
- <select1 id="combo1" ref="/root/send/data/srchflag" appearance="minimal" style="left:93px; top:24px; width:105px; height:14px; ">
- <choices>
- <item>
- <label>약물조절</label>
- <value>A</value>
- </item>
- <item>
- <label>식이요법</label>
- <value>B</value>
- </item>
- <item>
- <label>검사예약</label>
- <value>C</value>
- </item>
- <item>
- <label>촬영</label>
- <value>D</value>
- </item>
- <item>
- <label>치료일</label>
- <value>E</value>
- </item>
- <item>
- <label>치료후 촬영</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:25px; top:26px; width:65px; height:12px; ">구분 :</caption>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:204px; height:14px; ">치료예약스케줄조회</caption>
- <datagrid id="grd_list" nodeset="/root/main/cureschelist/mainlist" caption="등록일자^발생번호^지원부서^등록번호^이름^성별^나이^주민번호1^주민번호2^연락처^주소^진료과^진료의^상태^연락처^악물조절^변경전 일자^임시예약 순번^식이요법^변경전 일자^임시예약 순번^검사예약^변경전 일자^임시예약 순번^촬영^변경전 일자^임시예약 순번^치료일^변경전 일자^임시예약 순번^치료후 촬영^변경전 일자^임시예약 순번^치료확정유무^참고사항^시작일자^종료내용^입원예정일" colsep="^" colwidth="0, 0, 0, 70, 60, 0, 0, 0, 0, 0, 0, 90, 85, 60, 0, 75, 0, 0, 75, 0, 0, 75, 0, 0, 75, 0, 0, 75, 0, 0, 75, 0, 0, 83, 246, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:80px; width:1185px; height:675px; ">
- <col ref="genrdd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="genrno" visibility="hidden"/>
- <col ref="suppdeptcd" visibility="hidden"/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sex" visibility="hidden" style="text-align:center; "/>
- <col ref="age" visibility="hidden" style="text-align:center; "/>
- <col ref="rrgstno1" visibility="hidden"/>
- <col ref="rrgstno2" visibility="hidden"/>
- <col ref="tel" visibility="hidden"/>
- <col ref="addr" visibility="hidden"/>
- <col disabled="true" ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="statcd" type="combo">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>입원예정</label>
- <value>R</value>
- </item>
- <item>
- <label>대기</label>
- <value>D</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col ref="cntctel" visibility="hidden"/>
- <col ref="curedg1" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg1" visibility="hidden"/>
- <col ref="curedgseq1" visibility="hidden"/>
- <col ref="curedg2" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg2" visibility="hidden"/>
- <col ref="curedgseq2" visibility="hidden"/>
- <col ref="curedg3" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg3" visibility="hidden"/>
- <col ref="curedgseq3" visibility="hidden"/>
- <col ref="curedg4" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg4" visibility="hidden"/>
- <col ref="curedgseq4" visibility="hidden"/>
- <col ref="curedg5" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg5" visibility="hidden"/>
- <col ref="curedgseq5" visibility="hidden"/>
- <col ref="curedg6" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg6" visibility="hidden"/>
- <col ref="curedgseq6" visibility="hidden"/>
- <col disabled="true" ref="curecfrmyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>확정</label>
- <value>Y</value>
- </item>
- <item>
- <label>미확정</label>
- <value>N</value>
- </item>
- <item>
- <label>취소</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="remfact"/>
- <col ref="startdd" visibility="hidden"/>
- <col ref="endcnts" visibility="hidden"/>
- <col ref="inschedd" visibility="hidden"/>
- </datagrid>
- <caption id="caption23" class="tit_2" style="left:5px; top:60px; width:181px; height:13px; ">치료 스케줄</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:75px; x2:1190px; y2:75px; "/>
- <button id="btn_excsave" class="btn2_letter4" visibility="visible" style="left:1126px; top:55px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "")
- {
- grd_list.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|