123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936 |
- <?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>
- <cond>
- <wardcd/>
- <fromdd/>
- <todd/>
- <actstatflagm>Y</actstatflagm>
- <actstatflagn/>
- <actstatflagy/>
- <actstatflag/>
- <deathinsertyn>Y</deathinsertyn>
- <threeday>Y</threeday>
- <change/>
- </cond>
- <cnstinfo>
- <cnstlist>
- </cnstlist>
- </cnstinfo>
- <cnst>
- <pid/>
- <patnm/>
- <deptcd/>
- <intvflag/>
- <userid/>
- <guardiangubn/>
- <indt/>
- <inpathnm/>
- <dschdt/>
- <keepcnt/>
- <age/>
- <dschtypenm/>
- <dschaftmoveplcenm/>
- <deathyn/>
- <orddeptnm/>
- <healthstat/>
- <statrmk/>
- <medicineyn/>
- <timeyn/>
- <explanyn/>
- <mealyn/>
- <mealrmk/>
- <ivlineremoveyn/>
- <chemoportyn/>
- <drainyn/>
- <colostomysiteyn/>
- <stomayn/>
- <nothingyn/>
- <admindisp/>
- <admgood/>
- <addguide/>
- <instcd/>
- <indd/>
- <cretno/>
- <ordtype/>
- <actstat/>
- <inrecflag/>
- <dschrecflag/>
- <dschdd/>
- </cnst>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- var instnm=getUserInfo("dutplceinstnm");
- var wardnm=getUserInfo("dutplcenm");
- var nursenm=getUserInfo("usernm");
- var txtbox = "";
-
- txtbox = "안녕 하십니까?\n저는 "+ instnm +" "+wardnm+" (수)간호사 "+nursenm+"입니다.\n님 께서 퇴원 후 생활에 대해 몇가지 질문 드리고 궁금한 점에 대해 도움을 주고자\n연락을 드렸습니다. (전화 가능하신지요?)";
- cpt_textbox.value = txtbox;
-
-
- var deptcd = model.getValue("/root/init/codeinfo/codelist[cdgrupid='T78']/cdid");
-
-
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'W';
- var rslt_ref = "/root/init/dept";
- var sort_field = "depthngnm";
- var sort_method = "asc";
- var dt = getCurrentDate();
-
- var dat = ((dt.toDate("YYYYMMDD")).getAddDate(-3, "D")).getDateFormat("YYYYMMDD") ;
-
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method, dt);
- model.setValue(cmb_wardcd.attribute("ref"), getUserInfo("dutplcecd"));
- model.makeNode("/root/hidden/deptcd");
- model.copyNode("/root/hidden/deptcd", rslt_ref);
- model.setValue(ipt_fromdd.attribute("ref"), dat);
- model.setValue(ipt_todd.attribute("ref"), dt);
-
-
- ipt_fromdd.refresh();
- ipt_todd.refresh();
-
-
- fSearch() ;
-
-
- ]]>
- </script>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- <submission id="TRMNW14301" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/cnstinfo"/>
- <submission id="TXMNW14301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata/saveinfo" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fSearch() {
-
- var actstatflagm = model.getValue("/root/main/cond/actstatflagm");
- var actstatflagn = model.getValue("/root/main/cond/actstatflagn");
- var actstatflagy = model.getValue("/root/main/cond/actstatflagy");
- var actstatflag = "/root/main/cond/actstatflag";
-
-
- if(actstatflagm == "Y" && actstatflagn == "" && actstatflagy == "" ){
-
- model.setValue(actstatflag,"1"); // 미진행
-
- }else if(actstatflagm == "" && actstatflagn == "Y" && actstatflagy == "" ){
-
- model.setValue(actstatflag,"2"); // 진행중
-
- }else if(actstatflagm == "" && actstatflagn == "" && actstatflagy == "Y" ){
-
- model.setValue(actstatflag,"3"); // 완료
-
- }else if(actstatflagm == "Y" && actstatflagn == "Y" && actstatflagy == "" ){
-
- model.setValue(actstatflag,"4"); // 미진행, 진행중
-
- }else if(actstatflagm == "Y" && actstatflagn == "" && actstatflagy == "Y" ){
-
- model.setValue(actstatflag,"5"); // 미진행, 완료
-
- }else if(actstatflagm == "" && actstatflagn == "Y" && actstatflagy == "Y" ){
-
- model.setValue(actstatflag,"6"); // 진행중, 완료
-
- }else if(actstatflagm == "Y" && actstatflagn == "Y" && actstatflagy == "Y" ){
-
- model.setValue(actstatflag,"7"); // 미진행, 진행중, 완료
-
- }else{
-
- model.setValue(actstatflag,""); // 체크 안했을때
-
- }
-
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNW14301");
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="font-family:굴림, Arial; vertical-align:middle; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" style="left:0px; top:0px; width:1195px; height:776px; font-family:굴림; vertical-align:middle; ">
- <caption id="cpt_title" class="tit_1" style="left:110px; top:5px; width:145px; height:13px; font-family:굴림; vertical-align:middle; ">퇴원환자상담</caption>
- <group id="grp_sea" style="left:0px; top:20px; width:550px; height:70px; font-family:굴림; vertical-align:top; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:550px; height:70px; font-family:굴림; "/>
- <caption id="caption3" class="search_name" style="left:15px; top:9px; width:69px; height:17px; font-family:굴림; ">기 간 :</caption>
- <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" navindex="2" inputtype="date" style="left:85px; top:8px; width:95px; height:19px; font-family:굴림; "/>
- <input id="ipt_todd" ref="/root/main/cond/todd" class="input_s_essential" navindex="2" inputtype="date" style="left:195px; top:8px; width:95px; height:19px; font-family:굴림; "/>
- <caption id="caption4" style="left:178px; top:10px; width:20px; height:15px; font-family:굴림; text-align:center; ">~</caption>
- <select id="chk_actstatflagm" ref="/root/main/cond/actstatflagm" overflow="visible" appearance="full" style="left:375px; top:40px; width:55px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>미진행</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select>
- <select id="chk_actstatflagn" ref="/root/main/cond/actstatflagn" overflow="visible" appearance="full" style="left:435px; top:40px; width:45px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>진행</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select>
- <select id="chk_threeday" ref="/root/main/cond/threeday" overflow="visible" appearance="full" style="left:150px; top:40px; width:90px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>재원 3일이상</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select>
- <select id="chk_deathinsertyn" ref="/root/main/cond/deathinsertyn" overflow="visible" appearance="full" style="left:245px; top:40px; width:120px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>사망등록환자제외</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select>
- <select id="chk_actstatflagy" ref="/root/main/cond/actstatflagy" overflow="visible" appearance="full" style="left:485px; top:40px; width:40px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>완료</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select>
- <select id="checkbox2" ref="/root/main/cond/change" overflow="visible" appearance="full" style="left:65px; top:40px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전원 제외</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select>
- </group>
- <input id="ipt_pid" ref="/root/main/cnst/pid" disabled="true" navindex="4" visibility="visible" appearance="minimal" style="left:637px; top:5px; width:68px; height:19px; font-family:굴림; ">
- <choices>
- <itemset nodeset="/root/init/ward">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_ref", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption24" class="search_name" style="left:567px; top:5px; width:65px; height:17px; font-family:굴림; ">환 자 :</caption>
- <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:370px; top:29px; width:95px; height:19px; font-family:굴림; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/dept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select1>
- <caption id="caption25" class="search_name" style="left:300px; top:30px; width:67px; height:17px; font-family:굴림; ">병 동 :</caption>
- <button id="button1" class="btn1_letter2" navindex="7" style="left:475px; top:30px; width:56px; height:22px; font-family:굴림; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch() ;
- ]]>
- </script>
- </button>
- <caption id="caption28" class="search_name" style="left:567px; top:40px; width:73px; height:17px; font-family:굴림; ">조사자 :</caption>
- <caption id="caption30" class="search_name" style="left:767px; top:40px; width:70px; height:17px; font-family:굴림; ">구 분 :</caption>
- <caption id="caption31" class="search_name" style="left:1007px; top:40px; width:65px; height:17px; font-family:굴림; ">이 름 :</caption>
- <input id="input4" ref="/root/main/cnst/patnm" disabled="true" style="left:707px; top:5px; width:80px; height:19px; font-family:굴림; "/>
- <input id="ipt_userid" ref="/root/main/cnst/userid" disabled="true" style="left:1077px; top:40px; width:100px; height:19px; font-family:굴림; "/>
- <button id="btn_save" class="btn3_letter2" navindex="8" style="left:1002px; top:5px; width:56px; height:22px; font-family:굴림; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(model.getValue("/root/main/cnst/instcd") == "") {
- messageBox("환자를 선택해주십시오.", "I");
- return;
- }
-
- if(model.getValue("/root/main/cnst/actstat") == "M"){ // 처리완료를 선택하지 않고 저장 하는경우 상태값이 진행중(N)으로 바뀜
- model.setValue("/root/main/cnst/actstat","N");
- }
-
-
- model.makeNode("/root/send/savedata/saveinfo");
- model.copyNode("/root/send/savedata/saveinfo", "/root/main/cnst");
- submit("TXMNW14301");
- fSearch() ;
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn3_letter2" navindex="8" style="left:1062px; top:5px; width:56px; height:22px; font-family:굴림; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/main/cnst/deptnm", cmb_deptcd.label );
- model.makeValue("/root/main/cnst/textbox", cpt_textbox.value);
- exeReportPreview("RPMNW14300", "XMLSTR");
- ]]>
- </script>
- </button>
- <button id="btn_xls" class="btn3_letter2" navindex="8" style="left:1122px; top:5px; width:56px; height:22px; font-family:굴림; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "해피콜", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- grd_cnstinfo.saveExcel(fileName, "sheetname");
- ]]>
- </script>
- </button>
- <select1 id="rdo_intvflag" ref="/root/main/cnst/intvflag" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:842px; top:40px; width:155px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>수간호사</label>
- <value>A</value>
- </item>
- <item>
- <label>간호사</label>
- <value>B</value>
- </item>
- </choices>
- </select1>
- <line id="line5" style="x1:567px; y1:65px; x2:1176px; y2:65px; font-family:굴림; "/>
- <line id="line6" style="x1:567px; y1:160px; x2:1176px; y2:160px; font-family:굴림; "/>
- <caption id="caption37" style="left:567px; top:165px; width:100px; height:20px; font-family:굴림; font-weight:bold; ">일반사항</caption>
- <caption id="caption38" class="search_name" style="left:567px; top:190px; width:75px; height:17px; font-family:굴림; ">이 름 :</caption>
- <caption id="caption39" class="search_name" style="left:567px; top:210px; width:75px; height:17px; font-family:굴림; ">입원일 :</caption>
- <caption id="caption40" class="search_name" style="left:567px; top:230px; width:75px; height:17px; font-family:굴림; ">퇴원일 :</caption>
- <caption id="caption41" class="search_name" style="left:567px; top:250px; width:90px; height:17px; font-family:굴림; ">퇴원경로 :</caption>
- <caption id="caption42" class="search_name" style="left:767px; top:190px; width:90px; height:17px; font-family:굴림; ">구 분 :</caption>
- <caption id="caption43" class="search_name" style="left:767px; top:210px; width:90px; height:17px; font-family:굴림; ">입원경로 :</caption>
- <caption id="caption44" class="search_name" style="left:767px; top:230px; width:90px; height:17px; font-family:굴림; ">재원일수 :</caption>
- <caption id="caption45" class="search_name" style="left:767px; top:250px; width:90px; height:17px; font-family:굴림; ">퇴원구분 :</caption>
- <caption id="caption46" class="search_name" style="left:987px; top:210px; width:88px; height:17px; font-family:굴림; ">진 료 과 :</caption>
- <caption id="caption47" class="search_name" style="left:987px; top:230px; width:86px; height:17px; font-family:굴림; ">현재나이 :</caption>
- <select id="chk_deathyn" ref="/root/main/cnst/deathyn" overflow="visible" appearance="full" style="left:987px; top:250px; width:100px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>퇴원후사망</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="radio3" ref="/root/main/cnst/guardiangubn" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:852px; top:190px; width:155px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>환자</label>
- <value>A</value>
- </item>
- <item>
- <label>보호자</label>
- <value>B</value>
- </item>
- </choices>
- </select1>
- <line id="line7" style="x1:567px; y1:275px; x2:1176px; y2:275px; font-family:굴림; "/>
- <caption id="caption48" style="left:567px; top:285px; width:202px; height:20px; font-family:굴림; ">1. 퇴원 후 건강상태는 어떠하신지요?</caption>
- <select1 id="rdo_healthstat" ref="/root/main/cnst/healthstat" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:567px; top:310px; width:200px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>양호</label>
- <value>A</value>
- </item>
- <item>
- <label>보통</label>
- <value>B</value>
- </item>
- <item>
- <label>나쁘다</label>
- <value>C</value>
- </item>
- </choices>
- </select1>
- <caption id="caption49" style="left:567px; top:335px; width:100px; height:20px; font-family:굴림; ">나쁘다면?(이유)</caption>
- <input id="ipt_statrmk" ref="/root/main/cnst/statrmk" maxlength="40" style="left:662px; top:335px; width:515px; height:19px; font-family:굴림; "/>
- <caption id="caption50" style="left:567px; top:365px; width:163px; height:20px; font-family:굴림; ">2. 퇴원약은 복용중이십니까?</caption>
- <caption id="caption51" style="left:567px; top:390px; width:166px; height:20px; font-family:굴림; ">시간에 맞추어 잘복용하시는지</caption>
- <caption id="caption52" style="left:567px; top:410px; width:178px; height:20px; font-family:굴림; ">약에 대해 보충 설명 필요 하신지</caption>
- <select1 id="rdo_timeyn" ref="/root/main/cnst/timeyn" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:757px; top:390px; width:125px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니요</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_explanyn" ref="/root/main/cnst/explanyn" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:757px; top:410px; width:125px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니요</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption53" style="left:567px; top:435px; width:298px; height:20px; font-family:굴림; ">3. 식사는 잘하고 계시며 식사 후 불편감은 없으신지요?</caption>
- <select1 id="rdo_mealyn" ref="/root/main/cnst/mealyn" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:567px; top:455px; width:130px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니요</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption54" style="left:567px; top:475px; width:100px; height:20px; font-family:굴림; ">있다면?(이유)</caption>
- <input id="ipt_mealrmk" ref="/root/main/cnst/mealrmk" maxlength="40" style="left:657px; top:475px; width:520px; height:19px; font-family:굴림; "/>
- <caption id="caption55" style="left:567px; top:500px; width:515px; height:20px; font-family:굴림; ">4. 퇴원할때 수술부위 및 상처 치료에 대해 설명 들으셨습니까? (여부에 따라)</caption>
- <caption id="caption56" style="left:567px; top:550px; width:525px; height:20px; font-family:굴림; ">5. 입원 했을때 불편했던 점을 말씀해 주십시오.(시설, 사람, 환경, 식사, 시스템)</caption>
- <textarea id="tar_admindisp" ref="/root/main/cnst/admindisp" maxlength="500" style="left:567px; top:570px; width:610px; height:35px; font-family:굴림; vertical-align:top; "/>
- <caption id="caption57" style="left:567px; top:615px; width:525px; height:20px; font-family:굴림; ">6. 입원 했을때 좋았던 점을 말씀해 주십시오.</caption>
- <textarea id="tar_admgood" ref="/root/main/cnst/admgood" maxlength="500" style="left:567px; top:635px; width:610px; height:35px; font-family:굴림; vertical-align:top; "/>
- <caption id="caption58" style="left:567px; top:680px; width:525px; height:20px; font-family:굴림; ">7. 지금 더 안내 받고 싶은 것이 있다면 말씀해 주십시오.</caption>
- <textarea id="tar_addguide" ref="/root/main/cnst/addguide" maxlength="500" style="left:567px; top:700px; width:610px; height:35px; font-family:굴림; vertical-align:top; "/>
- <output id="opt_patnm" ref="/root/main/cnst/patnm" style="left:647px; top:190px; width:100px; height:19px; font-family:굴림; "/>
- <output id="opt_indt" ref="/root/main/cnst/indt" format="yyyy-mm-dd hh:nn" style="left:647px; top:210px; width:100px; height:19px; font-family:굴림; "/>
- <output id="opt_dschdt" ref="/root/main/cnst/dschdt" format="yyyy-mm-dd hh:nn" style="left:647px; top:230px; width:100px; height:19px; font-family:굴림; "/>
- <output id="opt_dschtypenm" ref="/root/main/cnst/dschtypenm" style="left:862px; top:250px; width:100px; height:19px; font-family:굴림; "/>
- <output id="opt_inpathnm" ref="/root/main/cnst/inpathnm" style="left:862px; top:210px; width:100px; height:19px; font-family:굴림; "/>
- <output id="opt_keepcnt" ref="/root/main/cnst/keepcnt" style="left:862px; top:230px; width:100px; height:19px; font-family:굴림; "/>
- <output id="opt_outgubn" ref="/root/main/cnst/dschaftmoveplcenm" style="left:662px; top:250px; width:100px; height:19px; font-family:굴림; "/>
- <output id="opt_orddeptnm" ref="/root/main/cnst/orddeptnm" style="left:1077px; top:210px; width:100px; height:19px; font-family:굴림; "/>
- <output id="opt_age" ref="/root/main/cnst/age" style="left:1077px; top:230px; width:100px; height:19px; font-family:굴림; "/>
- <select1 id="rdo_medicineyn" ref="/root/main/cnst/medicineyn" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:737px; top:365px; width:198px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니요</label>
- <value>N</value>
- </item>
- <item>
- <label>해당 무</label>
- <value>X</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(rdo_medicineyn.value == 'X'){
-
- rdo_timeyn.disabled = true;
- rdo_explanyn.disabled = true;
- rdo_timeyn.value ="";
- rdo_explanyn.value = "";
-
- }else{
-
- rdo_timeyn.disabled = false;
- rdo_explanyn.disabled = false;
- }
-
- ]]>
- </script>
- </select1>
- <output id="output1" ref="/root/main/cnst/instcd" visibility="hidden" style="left:792px; top:5px; width:25px; height:19px; font-family:굴림; "/>
- <output id="output2" ref="/root/main/cnst/indd" visibility="hidden" style="left:822px; top:5px; width:25px; height:19px; font-family:굴림; "/>
- <output id="output3" ref="/root/main/cnst/cretno" visibility="hidden" style="left:852px; top:5px; width:25px; height:19px; font-family:굴림; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:100px; width:135px; height:13px; font-family:굴림; ">퇴원환자상담 정보</caption>
- <select id="chk_ivlineremoveyn" ref="/root/main/cnst/ivlineremoveyn" overflow="visible" appearance="full" cellspacing="25" cols="5" style="left:567px; top:525px; width:190px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>IV line 제거 및 이상상태 유,무</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_chemoportyn" ref="/root/main/cnst/chemoportyn" overflow="visible" appearance="full" cellspacing="25" cols="5" style="left:762px; top:525px; width:90px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>Chemoport</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_drainyn" ref="/root/main/cnst/drainyn" overflow="visible" appearance="full" cellspacing="25" cols="5" style="left:857px; top:525px; width:55px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>Drain</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_colostomysiteyn" ref="/root/main/cnst/colostomysiteyn" overflow="visible" appearance="full" cellspacing="25" cols="5" style="left:917px; top:525px; width:105px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>colostomy site</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_stomayn" ref="/root/main/cnst/stomayn" overflow="visible" appearance="full" cellspacing="25" cols="5" style="left:1027px; top:525px; width:85px; height:20px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>stoma 관리</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="cpt_textbox" style="left:572px; top:70px; width:498px; height:85px; font-family:굴림; line-spacing:7; "/>
- <select1 id="cmb_deptcd" ref="/root/main/cnst/deptcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:647px; top:40px; width:100px; height:19px; font-family:굴림; ">
- <choices>
- <itemset nodeset="/root/init/dept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/cnst/actstat" style="left:562px; top:740px; width:25px; height:20px; font-family:굴림; "/>
- <caption id="caption2" style="left:587px; top:740px; width:60px; height:20px; font-family:굴림; ">처리 완료</caption>
- <output id="opt_actstatflag" ref="/root/main/cond/actstatflag" visibility="hidden" style="left:520px; top:0px; width:25px; height:19px; font-family:굴림; "/>
- <button id="btn_ininfo" class="btn2_letter4" style="left:1112px; top:80px; width:64px; height:19px; font-family:굴림; ">
- <caption>입원정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var instcd = model.getValue("/root/main/cnst/instcd");
- var indd = model.getValue("/root/main/cnst/indd");
-
-
- if(instcd == "") {
- messageBox("환자를 선택해주십시오.", "I");
- return;
- }
-
- var inrecflag = model.getValue(opt_inrecflag.attribute("ref"));
-
-
- if( inrecflag == "01"){ // 병동
- if(instcd == "032" || indd < "20150402" ){
- open("SMMNW03100",1,50,250);
- }else{
- open("SMMNW04100",1,50,250);
- }
-
- }else if( inrecflag == "02"){ // 정신과
-
- open("SMMNW03400",1,50,250);
-
- }else if( inrecflag == "03"){ // 산모
-
- open("SMMNN00300",1,50,250);
-
- }else if( inrecflag == "04"){ // 소아청소년
-
- open("SMMNW03200",1,50,250);
-
- }else if( inrecflag == "05"){ // BMT
-
- open("SMMNW03500",1,50,250);
-
- }else if( inrecflag == "06" || inrecflag == "07" ){ // 신생아
-
- open("SMMNN00400",1,50,250);
-
- }else if( inrecflag == "10"){ // 응급
-
- open("SMMNE04300",1,50,250);
-
- }else {
- messageBox("간호정보 조사지가 없습니다.", "I");
- return;
- }
-
-
- ]]>
- </script>
- </button>
- <button id="btn_dschinfo" class="btn2_letter4" style="left:1112px; top:105px; width:64px; height:19px; font-family:굴림; ">
- <caption>퇴원정보</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(model.getValue("/root/main/cnst/instcd") == "") {
- messageBox("환자를 선택해주십시오.", "I");
- return;
- }
-
- var dschrecflag = model.getValue(opt_dschrecflag.attribute("ref"));
-
-
- if( dschrecflag == "01"){ // 병동
- open("SMMNW03600",1,50,250);
-
- }else if( dschrecflag == "02"){ // 소아
-
- open("SMMNW05800",1,50,250);
-
- }else if( dschrecflag == "03"){ // 정신과
-
- open("SMMNW05900",1,50,250);
-
- }else if( dschrecflag == "04"){ // BMT
-
- open("SMMNW03800",1,50,250);
-
- }else if( dschrecflag == "05"){ // 산모
-
- open("SMMNN00500",1,50,250);
-
- }else if( dschrecflag == "06"){ // 신생아
-
- open("SMMNN00600",1,50,250);
-
- }else {
-
- messageBox("퇴원정보 조사지가 없습니다.", "I");
- return;
-
- }
-
- ]]>
- </script>
- </button>
- <output id="opt_inrecflag" ref="/root/main/cnst/inrecflag" visibility="hidden" style="left:882px; top:5px; width:25px; height:19px; font-family:굴림; "/>
- <output id="opt_dschrecflag" ref="/root/main/cnst/dschrecflag" visibility="hidden" style="left:912px; top:5px; width:25px; height:19px; font-family:굴림; "/>
- <output id="opt_ordtype" ref="/root/main/cnst/ordtype" visibility="hidden" style="left:942px; top:5px; width:25px; height:19px; font-family:굴림; "/>
- <output id="opt_dschdd" ref="/root/main/cnst/dschdd" visibility="hidden" style="left:972px; top:5px; width:25px; height:19px; font-family:굴림; "/>
- <select id="checkbox1" ref="/root/main/cnst/nothingyn" overflow="visible" appearance="full" style="left:1115px; top:525px; width:60px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>해당 무</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="btn_record" class="btn2_letter6" style="left:1090px; top:130px; width:86px; height:19px; font-family:굴림; ">
- <caption>통합기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/main/cnst/pid");
-
- if(model.getValue("/root/main/cnst/instcd") == "") {
- messageBox("환자를 선택해주십시오.", "I");
- return;
- }
-
- setParameter("SMMRI00400_param_pid", pid);
- open("SMMRI00400");
-
-
- ]]>
- </script>
- </button>
- <button id="btn_zoom" class="btn5_letter4" style="left:485px; top:95px; width:64px; height:19px; ">
- <caption>확대하기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( btn_zoom.attribute("text") == "확대하기" ) {
- btn_zoom.attribute("text") = "축소하기";
- grd_cnstinfo.attribute("left") = "0";
- grd_cnstinfo.attribute("width") = "1190";
- } else {
- btn_zoom.attribute("text") = "확대하기";
- grd_cnstinfo.attribute("left") = "0";
- grd_cnstinfo.attribute("width") = "550";
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_cnstinfo" nodeset="/root/main/cnstinfo/cnstlist" visibility="visible" caption="환자번호^이름^성별/나이^상태^입원일자^퇴원일자^사망등록여부^퇴원구분^병동^병실^재원일수^진료과^입원경로^퇴원경로^instcd^indd^cretno^ordtype^dschdd^조사자^조사자^조사자^본인/보호자구분^퇴원 후 사망여부^퇴원 후 건강상태^건강상태이유^퇴원 약 복용여부^약시간여부^약설명여부^식사불편여부^식사불편이유^치료에대한설명^치료에대한설명^치료에대한설명^치료에대한설명^치료에대한설명^치료에대한설명^입원시불편한점^입원시좋았던점^추가안내받고싶은점^inrecflag^dschrecflag^dschrecflag|환자번호^이름^성별/나이^상태^입원일자^퇴원일자^사망등록여부^퇴원구분^병동^병실^재원일수^진료과^입원경로^퇴원경로^instcd^indd^cretno^ordtype^dschdd^병동^구분^이름^본인/보호자구분^퇴원 후 사망여부^퇴원 후 건강상태^건강상태이유^퇴원 약 복용여부^약시간여부^약설명여부^식사불편여부^식사불편이유^IV line remove^Chemoport^Drain^Colostomy site^Stoma 관리^해당 무^입원시불편한점^입원시좋았던점^추가안내받고싶은점^inrecflag^dschrecflag^inrecflag^dschrecflag" colsep="^" colwidth="58, 63, 60, 57, 110, 110, 59, 76, 88, 52, 31, 100, 87, 87, 42, 42, 42, 51, 49, 85, 72, 77, 72, 74, 55, 100, 57, 43, 49, 55, 108, 88, 70, 40, 97, 70, 55, 120, 116, 116, 100, 100" explorerbar="sort" frozencols="2" mergecellsfixedrows="bycolrec" rowsep="2" ref="/root/main/cnstinfo/cnstlist" style="left:0px; top:120px; width:550px; height:640px; font-family:굴림; vertical-align:middle; ">
- <col ref="pid" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col disabled="true" ref="actstat" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>미진행</label>
- <value>M</value>
- </item>
- <item>
- <label>진행</label>
- <value>N</value>
- </item>
- <item>
- <label>완료</label>
- <value>Y</value>
- </item>
- </choices>
- </col>
- <col ref="indt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="dschdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="deathinsertyn" style="text-align:center; "/>
- <col ref="dschtypenm" style="left:471px; top:43px; width:89px; height:23px; text-align:center; "/>
- <col disabled="true" ref="wardcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/dept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="keepcnt" style="text-align:center; "/>
- <col ref="orddeptnm" style="text-align:center; "/>
- <col ref="inpathnm" style="text-align:center; "/>
- <col ref="dschaftmoveplcenm" style="text-align:center; "/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="indd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="ordtype" visibility="hidden"/>
- <col ref="dschdd" visibility="hidden"/>
- <col disabled="true" ref="deptcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/deptcd/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="intvflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>수간호사</label>
- <value>A</value>
- </item>
- <item>
- <label>간호사</label>
- <value>B</value>
- </item>
- </choices>
- </col>
- <col ref="userid" style="text-align:center; "/>
- <col disabled="true" ref="guardiangubn" type="combo" style="left:1446px; top:43px; width:72px; height:23px; text-align:center; ">
- <choices>
- <item>
- <label>환자</label>
- <value>A</value>
- </item>
- <item>
- <label>보호자</label>
- <value>B</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="deathyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>퇴원후사망</label>
- <value>Y</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="healthstat" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>양호</label>
- <value>A</value>
- </item>
- <item>
- <label>보통</label>
- <value>B</value>
- </item>
- <item>
- <label>나쁘다</label>
- <value>C</value>
- </item>
- </choices>
- </col>
- <col ref="statrmk"/>
- <col disabled="true" ref="medicineyn" 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>X</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="timeyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니요</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="explanyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니요</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="mealyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니요</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="mealrmk"/>
- <col ref="ivlineremoveyn" style="text-align:center; "/>
- <col ref="chemoportyn" style="text-align:center; "/>
- <col ref="drainyn" style="text-align:center; "/>
- <col ref="colostomysiteyn" style="text-align:center; "/>
- <col ref="stomayn" style="text-align:center; "/>
- <col ref="nothingyn" style="text-align:center; "/>
- <col ref="admindisp"/>
- <col ref="admgood"/>
- <col ref="addguide"/>
- <col ref="inrecflag" visibility="hidden"/>
- <col ref="dschrecflag" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- var row= grd_cnstinfo.row -1;
- var txtbox = "";
- var instnm=getUserInfo("dutplceinstnm");
- var wardnm=getUserInfo("dutplcenm");
- var nursenm=getUserInfo("usernm");
-
- if(grd_cnstinfo.isCell(event.target) && grd_cnstinfo.mouseRow >= grd_cnstinfo.fixedrows){
- var ordtype = model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/ordtype");
-
- var param = ordtype + "▦" + model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/pid")
- + "▦" + model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/indd")
- + "▦" + model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/cretno")
- + "▦" + model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/instcd")
- + "▦" + model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/dschdd") ;
-
- setParameter("condparam", param);
-
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
-
- model.copyNode("/root/main/cnst", grd_cnstinfo.nodeset + "[" + row + "]");
-
- if(model.getValue("/root/main/cnst/userid") == ""){
- model.setValue(ipt_userid.attribute("ref") , nursenm);
- }
-
- if(model.getValue("/root/main/cnst/deptcd") == "") {
- model.setValue(cmb_deptcd.attribute("ref"), getUserInfo("dutplcecd"));
- }
-
- if(model.getValue("/root/main/cnst/medicineyn") == 'X'){
- rdo_timeyn.disabled = true;
- rdo_explanyn.disabled = true;
- rdo_timeyn.value ="";
- rdo_explanyn.value = "";
-
- }else{
-
- rdo_timeyn.disabled = false;
- rdo_explanyn.disabled = false;
- }
-
- txtbox = "안녕 하십니까?\n저는 "+ instnm +" "+wardnm+" (수)간호사 "+nursenm+"입니다.\n" + grd_cnstinfo.valueMatrix(grd_cnstinfo.row, grd_cnstinfo.colRef("patnm")) +"님 께서 퇴원 후 생활에 대해 몇가지 질문 드리고 궁금한 점에 대해 도움을 주고자\n연락을 드렸습니다. (전화 가능하신지요?)";
- cpt_textbox.value = txtbox;
- model.refresh();
-
- }
-
- ]]>
- </script>
- </datagrid>
- <line id="line4" class="line_1" style="x1:0px; y1:115px; x2:550px; y2:115px; font-family:굴림; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|