123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPPMI01100_외출외박신청.xrw
- * 설 명 : 외출외박신청
- * 설 계 자 : 홍영표
- * 작 성 자 : 홍영표
- * 작 성 일 : 2007.08.16
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <srchcond1>0</srchcond1>
- <pid/>
- <s_goso>
- <goso_status/>
- </s_goso>
- <sess_posinstcd>012</sess_posinstcd>
- <ioflag/>
- </send>
- <main>
- <goso>
- <goso_status/>
- <goso_pid/>
- <goso_indd/>
- <goso_cretno/>
- <goso_seqno/>
- <goso_instcd/>
- <goso_histstat/>
- <goso_acptflagcd/>
- <goso_appdd/>
- <goso_apptm/>
- <goso_appid/>
- <goso_pamacptdd/>
- <goso_pamacpttm/>
- <goso_pamacptid/>
- <goso_orddeptcd/>
- <goso_atdoctid/>
- <goso_wardcd/>
- <goso_roomcd/>
- <goso_gootdd/>
- <goso_goottm/>
- <goso_goottmtm/>
- <goso_goottmmin/>
- <goso_rtndd/>
- <goso_rtntm/>
- <goso_rtntmtm/>
- <goso_rtntmmin/>
- <goso_orgrtndd/>
- <goso_orgrtntm/>
- <goso_orgrtntmtm/>
- <goso_orgrtntmmin/>
- <goso_orgrtnacptid/>
- <goso_rtncnfmyn/>
- <goso_tel1/>
- <goso_tel2/>
- <goso_gootresn/>
- <goso_nonaprvresn/>
- <goso_rem/>
- <goso_fstrgstrid/>
- <goso_fstrgstdt/>
- <goso_lastupdtrid/>
- <goso_lastupdtdt/>
- <goso_hngnm/>
- <goso_sex/>
- <goso_age/>
- <goso_orddeptcd/>
- <goso_atdoctid/>
- <goso_wardcd/>
- <goso_roomcd/>
- <goso_rrgstno/>
- <goso_zipnm/>
- <goso_insukind/>
- <goso_atdoctidnm/>
- <goso_appidnm/>
- <goso_dschdclrtyn/>
- <goso_dschnotiyn/>
- </goso>
- <gosolist>
- <goso_pid/>
- <goso_indd/>
- <goso_cretno/>
- <goso_seqno/>
- <goso_instcd/>
- <goso_histstat/>
- <goso_acptflagcd/>
- <goso_appdd/>
- <goso_apptm/>
- <goso_appid/>
- <goso_pamacptdd/>
- <goso_pamacpttm/>
- <goso_pamacptid/>
- <goso_orddeptcd/>
- <goso_atdoctid/>
- <goso_wardcd/>
- <goso_roomcd/>
- <goso_gootdd/>
- <goso_goottm/>
- <goso_goottmtm/>
- <goso_goottmmin/>
- <goso_rtndd/>
- <goso_rtntm/>
- <goso_rtntmtm/>
- <goso_rtntmmin/>
- <goso_orgrtndd/>
- <goso_orgrtntm/>
- <goso_orgrtntmtm/>
- <goso_orgrtntmmin/>
- <goso_orgrtnacptid/>
- <goso_rtncnfmyn/>
- <goso_tel1/>
- <goso_tel2/>
- <goso_gootresn/>
- <goso_nonaprvresn/>
- <goso_rem/>
- <goso_fstrgstrid/>
- <goso_fstrgstdt/>
- <goso_lastupdtrid/>
- <goso_lastupdtdt/>
- <goso_hngnm/>
- <goso_sex/>
- <goso_age/>
- </gosolist>
- </main>
- <hidden>
- <rcv>
- <goso/>
- </rcv>
- <original>
- <goso/>
- </original>
- <flag>
- <rcv_flag>
- <goso_count/>
- </rcv_flag>
- </flag>
- <temp>
- </temp>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <cd/>
- <nm/>
- <up/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- <gr/>
- <ty/>
- </roomcd>
- <flag>
- <prestdd/>
- <mskindflag/>
- </flag>
- </init>
- <source/>
- <target/>
- </hidden>
- <init>
- <P0418list>
- <P0418>
- <cdnm/>
- <cdid/>
- </P0418>
- </P0418list>
- </init>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/init"/>
- <submission id="TRPMI01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/rcv"/>
- <submission id="TXPMI01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/flag/rcv_flag"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0418"), new Array("/root/init/P0418list"));
- cmb_orddeptcd.choices.itemset.attribute("nodeset") = "/root/hidden/init/orddeptcd[orddeptflag = 'D']"
- model.setValue("/root/send/ioflag","I");
- submit("TRPMI00106");
- var spid = model.getValue("/root/hidden/target/pid");
-
- if (!isNull(spid)) {
- model.setValue("/root/send/pid", model.getValue("/root/hidden/target/pid"));
- fInitSetting(true);
- fQuery();
- }else {
- fInitSetting(false);
- }
-
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 초기값 셋팅
- function fInitSetting(arg1){
- //ipt_srchpid.visible = arg1;
-
- if(arg1 == false){
- model.setValue("/root/send/pid","");
- }
- group2.refresh();
- }
-
- // 외출외박환자리스트 조회
- function fQuery(){
-
- if (submit("TRPMI01101","false") == true){
- model.resetInstanceNode("/root/main");
-
- copyNodesetType("/root/hidden/original/goso","/root/hidden/rcv/goso","replace");
- copyNodesetType("/root/main/gosolist","/root/hidden/rcv/goso[goso_acptflagcd != null]","replace");
-
- grd_gootspotlist.rebuild();
- // fDisabled();
-
- // 신청정보 작성시 필요한 항목의 Defalt값을 셋팅한다.
- var goso_flag = instance1.selectSingleNode("/root/hidden/original/goso");
- if ( goso_flag != null){
-
- copyNodesetType("/root/main/goso", "/root/hidden/original/goso","replace");
-
- model.setValue("/root/main/goso/goso_gootdd", getCurrentDate());
- model.setValue("/root/main/goso/goso_rtndd", getCurrentDate());
-
- model.setValue("/root/main/goso/goso_goottmtm", model.getValue("/root/main/goso/goso_goottm").substr(0,2));
- model.setValue("/root/main/goso/goso_goottmmin", model.getValue("/root/main/goso/goso_goottm").substr(2,2));
- model.setValue("/root/main/goso/goso_rtntmtm", model.getValue("/root/main/goso/goso_rtntm").substr(0,2));
- model.setValue("/root/main/goso/goso_rtntmmin", model.getValue("/root/main/goso/goso_rtntm").substr(2,2));
- model.setValue("/root/main/goso/goso_status", "I"); // 신청 Flag
- model.setValue("/root/main/goso/goso_acptflagcd", "1"); // 접수 Flag (신청)
-
- //2007.11.27 신준영 수정
- /*
- model.setValue("/root/main/goso/goso_pid",model.getValue("/root/hidden/original/goso/goso_pid"));
- model.setValue("/root/main/goso/goso_indd",model.getValue("/root/hidden/original/goso/goso_indd"));
- model.setValue("/root/main/goso/goso_cretno",model.getValue("/root/hidden/original/goso/goso_cretno"));
- model.setValue("/root/main/goso/goso_instcd",model.getValue("/root/hidden/original/goso/goso_instcd"));
- model.setValue("/root/main/goso/goso_histstat",model.getValue("/root/hidden/original/goso/goso_histstat"));
- model.setValue("/root/main/goso/goso_tel1",model.getValue("/root/hidden/original/goso/goso_tel1"));
- model.setValue("/root/main/goso/goso_tel2",model.getValue("/root/hidden/original/goso/goso_tel2"));
- model.setValue("/root/main/goso/goso_hngnm",model.getValue("/root/hidden/original/goso/goso_hngnm"));
- model.setValue("/root/main/goso/goso_sex",model.getValue("/root/hidden/original/goso/goso_sex"));
- model.setValue("/root/main/goso/goso_age",model.getValue("/root/hidden/original/goso/goso_age"));
- model.setValue("/root/main/goso/goso_orddeptcd",model.getValue("/root/hidden/original/goso/goso_orddeptcd"));
- model.setValue("/root/main/goso/goso_atdoctid",model.getValue("/root/hidden/original/goso/goso_atdoctid"));
- model.setValue("/root/main/goso/goso_wardcd",model.getValue("/root/hidden/original/goso/goso_wardcd"));
- model.setValue("/root/main/goso/goso_roomcd",model.getValue("/root/hidden/original/goso/goso_roomcd"));
- model.setValue("/root/main/goso/goso_status","I"); // 신청 Flag
- model.setValue("/root/main/goso/goso_acptflagcd","1"); // 접수 Flag (신청)
- model.setValue("/root/main/goso/goso_gootdd",getCurrentDate());
- model.setValue("/root/main/goso/goso_goottmmin","00");
- */
-
- }
-
- // 2008.09.19 - 퇴원예고, 퇴원통보가 나 있으면 신청 blocking - 최병진
- var sDschdclrtyn = model.getValue("/root/main/goso/goso_dschdclrtyn"); // 퇴원예고
- var sDschnotiyn = model.getValue("/root/main/goso/goso_dschnotiyn"); // 퇴원통보
- if (sDschdclrtyn == "Y") {
- btn_app.disabled = true;
- messageBox("퇴원예고 환자는 외출외박신청을 할 수", "I004");
- }
-
- model.refresh();
- }
- }
-
- // 외출외박 신청 등록,취소
- function fChangeSave(arg1){
- var goso_flag = null;
- goso_flag = arg1;
-
- model.removeNodeset("/root/send/s_goso/goso");
-
- if (goso_flag == 'I'){ // 신청등록 Routin
- // 이중신청 블럭킹
- var sDoubleCheck = fDoubleCheck();
- if (sDoubleCheck != -1) {
- messageBox("신청중인 내역이 있습니다. 이중신청할수","I004");
- return;
- }
-
- // 필수입력항목체크
- var sValCheck = fValCheck();
- if (sValCheck != 'Y') {
- messageBox(sValCheck,"I004");
- return;
- }
-
- model.setValue("/root/main/goso/goso_appdd",getCurrentDate());
- var CurrentTime = getCurrentTime();
- model.setValue("/root/main/goso/goso_apptm",CurrentTime.substr(0,4));
-
- model.setValue("/root/main/goso/goso_status",goso_flag);
-
- model.setValue("/root/main/goso/goso_orgrtndd", "");
- model.setValue("/root/main/goso/goso_orgrtntm", "");
- model.setValue("/root/main/goso/goso_orgrtnacptid", "");
- model.setValue("/root/main/goso/goso_rtncnfmyn", "");
-
- copyNodeType("/root/send/s_goso", "/root/main/goso", "replace");
-
- } else if (goso_flag == 'D'){ // 신청취소 루틴
-
- var checkRow = 0;
- var cnt = instance1.selectNodes("/root/main/gosolist").length;
-
- for(i=1; i<=cnt; i++) {
- var v_rowgubun = model.getValue("/root/main/gosolist["+ i + "]/goso_status");
- var v_acptflagcd = model.getValue("/root/main/gosolist["+ i + "]/goso_acptflagcd");
-
- if (v_rowgubun == 'D'){
- if (v_acptflagcd == '1'){
- checkRow = checkRow +1 ;
- copyNodeType("/root/send/s_goso", "/root/main/gosolist["+ i + "]", "replace");
-
- } else{
- messageBox("이미 처리된 데이터라 취소할수","I004");
- return;
-
- }
- }
- }
-
- if (checkRow < 1) {
- messageBox("선택된 데이터가","I004");
- return;
-
- }else if (checkRow > 1) {
- messageBox("멀티로 취소할수","I004");
- return;
-
- }
-
- } else {
- messageBox("변경된 내역이","I004");
- return;
-
- }
-
- if ( goso_flag == 'D' || goso_flag == 'I' ) {
- submit("TXPMI01101");
- } else {
- messageBox("변경된 내역이","I004");
- }
-
- // alert("goso_flag:"+goso_flag);
-
- if (model.getValue("/root/hidden/flag/rcv_flag/goso_count") == '1'){
- fQuery();
- }
- }
-
- // 진행중인 신청내역이 있는지 체크
- function fDoubleCheck(){
-
- var rtn = -1;
- rtn = grd_gootspotlist.findrow("1", 1, 2);
-
- return rtn;
-
- }
-
- // 전과신청내역의 필수 입력항목 체크
- function fValCheck(){
- var rtn = "Y";
-
- var goso_pid = model.getValue("/root/main/goso/goso_pid");
- var goso_indd = model.getValue("/root/main/goso/goso_indd");
- var goso_cretno = model.getValue("/root/main/goso/goso_cretno");
- var goso_histstat = model.getValue("/root/main/goso/goso_histstat");
- var goso_acptflagcd = model.getValue("/root/main/goso/goso_acptflagcd");
- var goso_gootdd = model.getValue("/root/main/goso/goso_gootdd");
- var goso_goottmtm = model.getValue("/root/main/goso/goso_goottmtm");
- var goso_goottmmin = model.getValue("/root/main/goso/goso_goottmmin"); // 외출일시의 분(temp)
- var goso_rtndd = model.getValue("/root/main/goso/goso_rtndd");
- var goso_rtntmtm = model.getValue("/root/main/goso/goso_rtntmtm");
- var goso_rtntmmin = model.getValue("/root/main/goso/goso_rtntmmin"); // 귀가일시의 분(temp)
-
- if (goso_pid == null || goso_pid == ""){
- rtn = "환자등록번호가";
- } else if (goso_indd == null || goso_indd == ""){
- rtn = "입원일자가";
- } else if (goso_cretno == null || goso_cretno == ""){
- rtn = "입원등록키가";
- } else if (goso_histstat == null || goso_histstat == ""){
- rtn = "상태값이";
- } else if (goso_acptflagcd == null || goso_acptflagcd == ""){
- rtn = "접수상태가";
- } else if (goso_gootdd == null || goso_gootdd == ""){
- rtn = "외출일자가";
- } else if (goso_goottmtm == null || goso_goottmtm == ""){
- rtn = "외출시간중 시가";
- } else if (goso_goottmmin == null || goso_goottmmin == ""){
- rtn = "외출시간중 분이";
- } else if (goso_rtndd == null || goso_rtndd == ""){
- rtn = "귀가일자가";
- } else if (goso_rtntmtm == null || goso_rtntmtm == ""){
- rtn = "귀가시간중 시가";
- } else if (goso_rtntmmin == null || goso_rtntmmin == ""){
- rtn = "귀가시간중 분이";
- }
-
- if (rtn == 'Y'){ // 외출시간이나 귀가시간에서 시와 분으로 나누어진것을 더해서 데이터 저장을 한다.
- model.setValue("/root/main/goso/goso_goottm",goso_goottmtm+goso_goottmmin);
- model.setValue("/root/main/goso/goso_rtntm",goso_rtntmtm+goso_rtntmmin);
- }
- return rtn;
- }
-
- // 승인상태가 신청중이 아닌 데이터는 삭제하지 못하도록 체크박스를 Disabled시킨다.
- function fDisabled(){
- var cnt = instance1.selectNodes("/root/main/gosolist").length;
- for(i=1; i<=cnt; i++) {
- var v_rowgubun = model.getValue("/root/main/gosolist["+ i + "]/goso_acptflagcd");
- if (v_rowgubun != '1'){
- grd_gootspotlist.isReadOnly((i + parseInt(grd_gootspotlist.fixedRows)-1),1) = true;
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="725" pageheight="430" guideline="1,717;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:700px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:150px; height:14px; ">외출외박신청</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:700px; height:362px; ">
- <input id="ipt_gootresn" ref="/root/main/goso/goso_gootresn" navindex="9" imemode="hangul" style="left:103px; top:171px; width:595px; height:19px; "/>
- <select1 id="cmb_gootresn" ref="/root/main/goso/goso_gootresn" class="combo_default" appearance="minimal" style="left:103px; top:171px; width:595px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0418list/P0418">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <group id="group2" style="left:0px; top:5px; width:700px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:700px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_srch" class="btn1_letter2" navindex="15" style="left:630px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fQuery();
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" style="x1:615px; y1:7px; x2:615px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <input id="ipt_srchpid" ref="/root/send/pid" class="input_search" navindex="14" style="left:110px; top:9px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_srch", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption50" class="search_name" style="left:20px; top:9px; width:86px; height:17px; ">환자번호 :</caption>
- </group>
- <caption id="caption2" class="tit_2" style="left:5px; top:230px; width:150px; height:13px; font-family:돋움; vertical-align:middle; ">외출외박내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:245px; x2:700px; y2:245px; "/>
- <datagrid id="grd_gootspotlist" nodeset="/root/main/gosolist" caption="^상태^환자번호^환자성명^외출일자^외출시간^귀가일자^귀가시간^실귀가일자^실귀가시간^귀가확인여부^외출사유^연락처1^연락처2^진료과^전문의^병동^병실^승인의사^원무승인자^실귀가확인자^불승인사유^비고^최초접수자^최초접수일시^최종수정담당자^최종수정일시" colsep="^" colwidth="30, 53, 70, 80, 100, 60, 100, 60, 100, 70, 80, 100, 108, 100, 88, 80, 100, 100, 100, 100, 100, 100, 100, 90, 115, 90, 115" dataheight="23" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="12" style="left:0px; top:250px; width:700px; height:110px; ">
- <col checkvalue="D,N" ref="goso_status" type="checkbox"/>
- <col disabled="true" ref="goso_acptflagcd" type="combo" style="text-align:left; ">
- <choices>
- <item>
- <label>신청</label>
- <value>1</value>
- </item>
- <item>
- <label>승인</label>
- <value>2</value>
- </item>
- <item>
- <label>불승인</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="goso_pid"/>
- <col ref="goso_hngnm"/>
- <col ref="goso_gootdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="goso_goottm" format="hh:nn" style="text-align:center; "/>
- <col ref="goso_rtndd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="goso_rtntm" format="hh:nn" style="text-align:center; "/>
- <col ref="goso_orgrtndd" format="yyyy-mm-dd"/>
- <col ref="goso_orgrtntm" format="hh:nn"/>
- <col ref="goso_rtncnfmyn"/>
- <col ref="goso_gootresn"/>
- <col ref="goso_tel1"/>
- <col ref="goso_tel2"/>
- <col disabled="true" ref="goso_orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="goso_atdoctid" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="goso_wardcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="goso_roomcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/roomcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="goso_appid"/>
- <col ref="goso_pamacptid"/>
- <col ref="goso_orgrtnacptid"/>
- <col ref="goso_nonaprvresn"/>
- <col ref="goso_rem"/>
- <col ref="goso_fstrgstrid"/>
- <col ref="goso_fstrgstdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="goso_lastupdtrid"/>
- <col ref="goso_lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- </datagrid>
- <button id="btn_app" class="btn2_letter2" navindex="11" style="left:656px; top:45px; width:42px; height:19px; ">
- <caption>신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChangeSave("I");
- ]]>
- </script>
- </button>
- <caption id="caption9" class="tit_2" style="left:6px; top:50px; width:95px; height:13px; font-family:돋움; vertical-align:middle; ">외출외박신청</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:65px; x2:700px; y2:65px; "/>
- <button id="btn_cncl" class="btn2_letter2" navindex="13" style="left:656px; top:225px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChangeSave("D");
- ]]>
- </script>
- </button>
- <caption id="caption18" class="cell_1" style="left:0px; top:120px; width:100px; height:23px; vertical-align:middle; ">외출일시</caption>
- <input id="ipt_gootdd" ref="/root/main/goso/goso_gootdd" navindex="1" inputtype="date" style="left:103px; top:121px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_gootdd.value < getCurrentDate() ){
- messageBox("오늘일자보다 작을수 ", "I004");
- ipt_gootdd.value = ipt_gootdd.attribute("_value");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- ipt_gootdd.attribute("_value") = ipt_gootdd.value;
- ]]>
- </script>
- </input>
- <caption id="caption21" class="cell_1" style="left:0px; top:95px; width:100px; height:23px; vertical-align:middle; ">진료과</caption>
- <caption id="caption22" class="cell_1" style="left:206px; top:95px; width:100px; height:23px; vertical-align:middle; ">전문의</caption>
- <select1 id="cmb_atdoctid" ref="/root/main/goso/goso_atdoctid" class="combo_default" disabled="true" appearance="minimal" style="left:309px; top:97px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_roomcd" ref="/root/main/goso/goso_roomcd" class="combo_default" disabled="true" appearance="minimal" style="left:620px; top:97px; width:78px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/roomcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_wardcd" ref="/root/main/goso/goso_wardcd" class="combo_default" disabled="true" appearance="minimal" style="left:520px; top:97px; width:98px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd" ref="/root/main/goso/goso_orddeptcd" class="combo_default" disabled="true" appearance="minimal" style="left:103px; top:97px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption29" class="cell_1" style="left:417px; top:95px; width:100px; height:23px; vertical-align:middle; ">병동/병실1</caption>
- <line id="line3" class="line_2" style="x1:1px; y1:93px; x2:697px; y2:93px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:145px; width:100px; height:23px; vertical-align:middle; ">귀가일시</caption>
- <input id="ipt_rtndd" ref="/root/main/goso/goso_rtndd" navindex="4" inputtype="date" style="left:103px; top:146px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( ipt_rtndd.value < getCurrentDate() || ipt_rtndd.value < ipt_gootdd.value){
- messageBox("오늘일자나 외출일자보다 작을수 ", "I004");
- ipt_rtndd.value = ipt_rtndd.attribute("_value");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- ipt_rtndd.attribute("_value") = ipt_rtndd.value;
- ]]>
- </script>
- </input>
- <caption id="caption3" class="cell_1" style="left:0px; top:170px; width:100px; height:23px; vertical-align:middle; ">외출사유</caption>
- <caption id="caption4" class="cell_1" style="left:417px; top:120px; width:100px; height:23px; vertical-align:middle; ">연락처1</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:70px; width:100px; height:23px; vertical-align:middle; ">환자번호</caption>
- <caption id="caption7" class="cell_1" style="left:206px; top:70px; width:100px; height:23px; vertical-align:middle; ">환자명</caption>
- <caption id="caption8" class="cell_1" style="left:417px; top:70px; width:100px; height:23px; vertical-align:middle; ">성별/나이</caption>
- <input id="ipt_tel1" ref="/root/main/goso/goso_tel1" navindex="7" style="left:520px; top:121px; width:178px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:195px; width:100px; height:23px; vertical-align:middle; ">비고</caption>
- <input id="ipt_rem" ref="/root/main/goso/goso_rem" navindex="10" imemode="hangul" style="left:103px; top:196px; width:595px; height:19px; "/>
- <output id="opt_pid" ref="/root/main/goso/goso_pid" class="output_fix" style="left:103px; top:72px; width:100px; height:19px; text-align:center; "/>
- <output id="opt_hngnm" ref="/root/main/goso/goso_hngnm" class="output_fix" style="left:309px; top:72px; width:105px; height:19px; text-align:center; "/>
- <output id="opt_sex" ref="/root/main/goso/goso_sex" class="output_fix" style="left:520px; top:72px; width:50px; height:19px; text-align:center; "/>
- <output id="opt_age" ref="/root/main/goso/goso_age" class="output_fix" style="left:575px; top:72px; width:48px; height:19px; text-align:center; "/>
- <select1 id="cmb_goottm" ref="/root/main/goso/goso_goottmtm" navindex="2" appearance="minimal" style="left:206px; top:121px; width:49px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>00</label>
- <value>00</value>
- </item>
- <item>
- <label>01</label>
- <value>01</value>
- </item>
- <item>
- <label>02</label>
- <value>02</value>
- </item>
- <item>
- <label>03</label>
- <value>03</value>
- </item>
- <item>
- <label>04</label>
- <value>04</value>
- </item>
- <item>
- <label>05</label>
- <value>05</value>
- </item>
- <item>
- <label>06</label>
- <value>06</value>
- </item>
- <item>
- <label>07</label>
- <value>07</value>
- </item>
- <item>
- <label>08</label>
- <value>08</value>
- </item>
- <item>
- <label>09</label>
- <value>09</value>
- </item>
- <item>
- <label>10</label>
- <value>10</value>
- </item>
- <item>
- <label>11</label>
- <value>11</value>
- </item>
- <item>
- <label>12</label>
- <value>12</value>
- </item>
- <item>
- <label>13</label>
- <value>13</value>
- </item>
- <item>
- <label>14</label>
- <value>14</value>
- </item>
- <item>
- <label>15</label>
- <value>15</value>
- </item>
- <item>
- <label>16</label>
- <value>16</value>
- </item>
- <item>
- <label>17</label>
- <value>17</value>
- </item>
- <item>
- <label>18</label>
- <value>18</value>
- </item>
- <item>
- <label>19</label>
- <value>19</value>
- </item>
- <item>
- <label>20</label>
- <value>20</value>
- </item>
- <item>
- <label>21</label>
- <value>21</value>
- </item>
- <item>
- <label>22</label>
- <value>22</value>
- </item>
- <item>
- <label>23</label>
- <value>23</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_goottmmin" ref="/root/main/goso/goso_goottmmin" navindex="3" appearance="minimal" style="left:276px; top:121px; width:49px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>00</label>
- <value>00</value>
- </item>
- <item>
- <label>30</label>
- <value>30</value>
- </item>
- </choices>
- </select1>
- <caption id="caption11" style="left:258px; top:121px; width:15px; height:20px; ">시</caption>
- <caption id="caption12" style="left:330px; top:121px; width:15px; height:20px; ">분</caption>
- <caption id="caption13" style="left:258px; top:146px; width:15px; height:20px; ">시</caption>
- <select1 id="cmb_rtntm" ref="/root/main/goso/goso_rtntmtm" navindex="5" appearance="minimal" style="left:206px; top:146px; width:49px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>00</label>
- <value>00</value>
- </item>
- <item>
- <label>01</label>
- <value>01</value>
- </item>
- <item>
- <label>02</label>
- <value>02</value>
- </item>
- <item>
- <label>03</label>
- <value>03</value>
- </item>
- <item>
- <label>04</label>
- <value>04</value>
- </item>
- <item>
- <label>05</label>
- <value>05</value>
- </item>
- <item>
- <label>06</label>
- <value>06</value>
- </item>
- <item>
- <label>07</label>
- <value>07</value>
- </item>
- <item>
- <label>08</label>
- <value>08</value>
- </item>
- <item>
- <label>09</label>
- <value>09</value>
- </item>
- <item>
- <label>10</label>
- <value>10</value>
- </item>
- <item>
- <label>11</label>
- <value>11</value>
- </item>
- <item>
- <label>12</label>
- <value>12</value>
- </item>
- <item>
- <label>13</label>
- <value>13</value>
- </item>
- <item>
- <label>14</label>
- <value>14</value>
- </item>
- <item>
- <label>15</label>
- <value>15</value>
- </item>
- <item>
- <label>16</label>
- <value>16</value>
- </item>
- <item>
- <label>17</label>
- <value>17</value>
- </item>
- <item>
- <label>18</label>
- <value>18</value>
- </item>
- <item>
- <label>19</label>
- <value>19</value>
- </item>
- <item>
- <label>20</label>
- <value>20</value>
- </item>
- <item>
- <label>21</label>
- <value>21</value>
- </item>
- <item>
- <label>22</label>
- <value>22</value>
- </item>
- <item>
- <label>23</label>
- <value>23</value>
- </item>
- </choices>
- </select1>
- <caption id="caption14" style="left:330px; top:146px; width:15px; height:20px; ">분</caption>
- <select1 id="cmb_rtntmmin" ref="/root/main/goso/goso_rtntmmin" navindex="6" appearance="minimal" style="left:276px; top:146px; width:49px; height:19px; text-align:center; ">
- <choices>
- <item>
- <label>00</label>
- <value>00</value>
- </item>
- <item>
- <label>30</label>
- <value>30</value>
- </item>
- </choices>
- </select1>
- <caption id="caption15" class="cell_1" style="left:417px; top:145px; width:100px; height:23px; vertical-align:middle; ">연락처2</caption>
- <input id="ipt_tel2" ref="/root/main/goso/goso_tel2" navindex="8" style="left:520px; top:146px; width:178px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:1px; y1:118px; x2:697px; y2:118px; "/>
- <line id="line5" class="line_2" style="x1:1px; y1:143px; x2:697px; y2:143px; "/>
- <line id="line6" class="line_2" style="x1:1px; y1:168px; x2:697px; y2:168px; "/>
- <line id="line8" class="line_2" style="x1:1px; y1:193px; x2:697px; y2:193px; "/>
- <line id="line9" class="line_3" style="x1:1px; y1:218px; x2:697px; y2:218px; "/>
- </group>
- <group id="group5" style="left:0px; top:375px; width:700px; height:27px; ">
- <button id="btn_exit" class="btn4_letter2" navindex="16" style="left:643px; top:3px; width:56px; height:22px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|