123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762 |
- <?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>
- <visitinfo>
- <visitinfolist>
- <pid/>
- <rrgstno1/>
- <rrgstno2/>
- <hngnm/>
- <brthdd/>
- <sex/>
- <telno1/>
- <cphone1/>
- <gradeflag/>
- <qualflag/>
- <dctype/>
- <longtermno/>
- <reqdd/>
- <visitpridflag/>
- <visitpridtimes/>
- <visitdwflag/>
- <injmedremark/>
- <etcdressremark/>
- <nutflag/>
- <nutday/>
- <nutkcal/>
- <urinflag/>
- <breathflag/>
- <woundflag/>
- <wounddeldd/>
- <woundremark/>
- <chrgnursid/>
- <hocmyn/>
- <trgtyn/>
- <cretno/>
- <vitcareflag>Y</vitcareflag>
- <orddd/>
- <otptyn/>
- <orddrid/>
- <orddeptcd/>
- </visitinfolist>
- </visitinfo>
- <transinfo>
- <parameter/>
- </transinfo>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <cond/>
- <parameter/>
- <status/>
- </main>
- <item>
- <chargenurse>
- <nurselist/>
- </chargenurse>
- <dctype>
- <dctypelist>
- <nm/>
- <cd/>
- </dctypelist>
- <qualflaglist>
- <nm>해당없음</nm>
- <cd>-</cd>
- </qualflaglist>
- <vdctypelist>
- <nm>해당없음</nm>
- <cd>-</cd>
- </vdctypelist>
- </dctype>
- </item>
- <send>
- <pid/>
- <savedata/>
- <kind/>
- <vitcareflag/>
- <careflag/>
- <vorddd/>
- <vcretno/>
- </send>
- <tmp/>
- <init>
- <orddept/>
- <userlist/>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript">
- <![CDATA[
- function fFindRow(data, col){
-
- var row = grd_reqtramlist.findRow(data, 1, col);
- grd_reqtramlist.select(row, 1, row,grd_reqtramlist.cols-1) = true;
-
- var row = grd_reqrecvlist.findRow(data, 1, col);
- grd_reqrecvlist.select(row, 1, row,grd_reqrecvlist.cols-1) = true;
-
- return row;
- }
-
- // 메인팝업, 방문등록에따른 화면 제어 셋팅
- function fCareflagSetting(sFlag) {
- //alert(sFlag);
- // 메인팝업시
- if (sFlag == "M") {
- ipt_pidsearch.disabled = true;
- //btn_save.disabled = true;
- btn_homezip.disabled = true;
-
- input3.disabled = true;
- input6.disabled = true;
- combo9.disabled = true;
- combo2.disabled = true;
- combo1.disabled = true;
- input7.disabled = true;
- //input1.disabled = true;
- radio2.disabled = true;
- input4.disabled = true;
- chk_visitdays.disabled = true;
- combo3.disabled = true;
- //cmb_orddept.disabled = true;
- //cmb_orddrid.disabled = true;
-
- //textarea1.disabled = true;
- //textarea2.disabled = true;
- //chk_level2.disabled = true;
- //input9.disabled = true;
- //input10.disabled = true;
- //checkbox1.disabled = true;
- //checkbox2.disabled = true;
- //checkbox3.disabled = true;
- //input5.disabled = true;
- //input8.disabled = true;
-
- //발급일자, 진료과, 진료의, 주사/투약처방, 기타 처치처방, 현재 장착/사용의료기기정보 조회 부분만 수정가능함_20091102_SMY
- model.setValue("/root/main/status", "U");
- input1.disabled = false;
- cmb_orddept.disabled = false;
- cmb_orddrid.disabled = false;
- textarea1.disabled = false;
- textarea2.disabled = false;
- chk_level2.disabled = false;
- input9.disabled = false;
- input10.disabled = false;
- checkbox1.disabled = false;
- checkbox2.disabled = false;
- checkbox3.disabled = false;
- input5.disabled = false;
- input8.disabled = false;
- btn_save.disabled = false;
-
- // 방문등록시
- } else if (sFlag == "V") {
- model.setValue("/root/main/status", "I");
-
- ipt_pidsearch.disabled = false;
- btn_save.disabled = false;
- btn_homezip.disabled = false;
-
- input3.disabled = false;
- input6.disabled = false;
- combo9.disabled = false;
- combo2.disabled = false;
- combo1.disabled = false;
- input7.disabled = false;
- input1.disabled = false;
- radio2.disabled = false;
- input4.disabled = false;
- chk_visitdays.disabled = false;
- combo3.disabled = false;
- cmb_orddept.disabled = false;
- cmb_orddrid.disabled = false;
-
- textarea1.disabled = false;
- textarea2.disabled = false;
- chk_level2.disabled = false;
- input9.disabled = false;
- input10.disabled = false;
- checkbox1.disabled = false;
- checkbox2.disabled = false;
- checkbox3.disabled = false;
- input5.disabled = false;
- input8.disabled = false;
-
- }
- }
-
- //진료과 변경시
- function fChgOrdDetpcd(){
- model.removeNodeset("/root/init/userlist");
- model.makeNode("/root/init/userlist/usercombo");
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddept.value, "0330");
- addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
- //cmb_orddrid.select(1);
-
- model.refresh();
- //fReqOutPatList();
- }
- ]]>
- </script>
- <!--<submission id="TXMNF00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/savedata" replace="instance" resultref="/root/temp"/>-->
- <submission id="TRMNF00601" ref="root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="root/main/visitinfo"/>
- <submission id="TXMNF00601" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp"/>
- <submission id="TXMNF00602" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp"/>
- <submission id="TRMNF00106" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/item/chargenurse"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setFocus("ipt_pidsearch");
- ipt_pidsearch.refresh();
-
- model.setValue("/root/send/kind", "2");
- model.setValue("/root/send/careflag", 'V');
-
- submit("TRMNF00106"); // 방문간호사 리스트 조회
- submit("TRMNF00110"); // 본인부담률/본인부담 경감
- mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept", "O"); // 진료과리스트 조회
-
- spid = model.getValue("/root/main/parameter/pid");
-
- // 가정간호 메인 [방문계약 의뢰서 보기]팝업으로 오픈시
- if (!isNull(spid)) {
- model.setValue("/root/send/pid", model.getValue("/root/main/parameter/pid"));
- model.setValue("/root/send/vorddd", model.getValue("/root/main/parameter/vorddd"));
- model.setValue("/root/send/vcretno", model.getValue("/root/main/parameter/vcretno"));
- model.refresh();
-
- btn_sel.dispatch("DOMActivate");
- //진료과 갱신하여 의사나오도록
- //cmb_orddept.dispatch("xforms-value-changed");
- fChgOrdDetpcd();
- model.refresh();
-
- /*
- ipt_pidsearch.disabled = true;
- btn_save.disabled = true;
- btn_homezip.disabled = true;
- */
- fCareflagSetting("M"); // 메인팝업, 방문등록에따른 화면 제어 셋팅f
- }
- // 방문계약 등록시
- else {
-
- /*
- ipt_pidsearch.disabled = false;
- btn_save.disabled = false;
- btn_homezip.disabled = false;
- group3.disabled = false;
- */
- fCareflagSetting("V");
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRMMB04101" method="post" mediatype="application/x-www-form-urlencoded"/>
- <submission id="TRMMB04102" method="post" mediatype="application/x-www-form-urlencoded"/>
- <submission id="TRMNF00110" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/item/dctype"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="820" pageheight="590" guideline="1,812;" style="border-color:#999999; border-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:375px; top:265px; width:424px; height:310px; border-color:#d2d2d2; border-left-color:#d2d2d2; border-top-color:#d2d2d2; border-right-color:#d2d2d2; border-bottom-color:#d2d2d2; border-style:solid; "/>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:375px; height:457px; ">
- <!-- <caption id="cap_listtitle" class="tit_2" style="left:5px; top:58px; width:152px; height:13px; ">의뢰전송 리스트</caption> -->
- <line id="line2" class="line_1" style="x1:0px; y1:17px; x2:368; y2:17px; "/>
- <caption id="caption1" class="tit_2" style="left:0px; top:0px; width:152px; height:14px; ">방문간호 계약</caption>
- <output id="output7" ref="/root/main/visitinfo/visitinfolist/hngnm" class="output_fix" style="left:104; top:75px; width:264; height:19px; text-align:center; "/>
- <line id="line11" class="line_3" style="x1:0px; y1:175px; x2:368; y2:175px; "/>
- <caption id="caption20" class="cell_1" style="left:0px; top:22px; width:100; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">등록번호</caption>
- <caption id="caption22" class="cell_1" style="left:0px; top:125px; width:100; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">전화번호[I]</caption>
- <caption id="caption24" class="cell_1" style="left:0px; top:151; width:100; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">휴대전화</caption>
- <line id="line16" class="line_2" style="x1:0px; y1:46px; x2:368; y2:46px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:72px; x2:368; y2:72px; "/>
- <caption id="caption26" class="cell_1" style="left:0px; top:74; width:100; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">성 명</caption>
- <line id="line18" class="line_2" style="x1:0px; y1:98px; x2:368; y2:98px; "/>
- <input id="input3" ref="/root/main/visitinfo/visitinfolist/telno1" class="input_default" maxlength="25" style="left:104px; top:129px; width:264; height:19px; "/>
- <input id="input6" ref="/root/main/visitinfo/visitinfolist/cphone1" class="input_default" maxlength="15" style="left:104px; top:153px; width:264; height:19px; "/>
- <caption id="caption6" class="cell_1" style="left:0px; top:48; width:100; height:23px; vertical-align:middle; ">주민번호</caption>
- <caption id="caption15" class="cell_1" style="left:0px; top:100px; width:100; height:23px; vertical-align:middle; ">생년월일</caption>
- <caption id="caption14" class="cell_1" style="left:230px; top:100px; width:48px; height:23px; vertical-align:middle; ">성별</caption>
- <button id="btn_homezip" class="icon_search" style="left:227px; top:26px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/main/cond");
-
- var popupendflag = model.getValue("/root/main/popupendflag");
- if (popupendflag == "ok"){
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
-
- model.refresh();
- btn_sel.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_2" style="x1:0px; y1:150px; x2:368; y2:150px; "/>
- <line id="line13" class="line_2" style="x1:0px; y1:124px; x2:368; y2:124px; "/>
- <caption id="caption16" class="cell_1" style="left:1px; top:228px; width:100px; height:21px; font-family:돋움; text-align:left; vertical-align:middle; ">본인부담 경감</caption>
- <caption id="caption18" class="cell_1" style="left:1px; top:252px; width:147px; height:21px; font-family:돋움; text-align:left; vertical-align:middle; ">장기요양번호</caption>
- <caption id="caption19" class="cell_1" style="left:1; top:181px; width:147; height:21px; font-family:돋움; text-align:left; vertical-align:middle; ">등급</caption>
- <caption id="caption21" class="cell_1" style="left:1px; top:205px; width:147; height:21px; font-family:돋움; text-align:left; vertical-align:middle; ">본인부담률</caption>
- <select1 id="combo9" ref="/root/main/visitinfo/visitinfolist/gradeflag" class="combo_default" appearance="minimal" style="left:150; top:181px; width:219; height:19px; ">
- <choices>
- <item>
- <label>1등급</label>
- <value>1</value>
- </item>
- <item>
- <label>2등급</label>
- <value>2</value>
- </item>
- <item>
- <label>3등급</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="cell_1" style="left:0px; top:276px; width:147px; height:23px; vertical-align:middle; ">방문간호 지시서 발급일자</caption>
- <input id="input1" ref="/root/main/visitinfo/visitinfolist/reqdd" class="input_default" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:150px; top:276px; width:219; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:302px; width:147px; height:43px; font-family:돋움; text-align:left; vertical-align:middle; ">방문주기</caption>
- <input id="input7" ref="/root/main/visitinfo/visitinfolist/longtermno" class="input_default" maxlength="25" style="left:150px; top:252px; width:219; height:19px; "/>
- <select1 id="combo1" ref="/root/main/visitinfo/visitinfolist/dctype" class="combo_default" appearance="minimal" style="left:150; top:230px; width:219; height:19px; ">
- <choices>
- <itemset nodeset="/root/item/dctype/vdctypelist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption4" class="cell_1" style="left:1px; top:228px; width:147; height:21px; font-family:돋움; text-align:left; vertical-align:middle; ">본인부담 경감</caption>
- <input id="ipt_pidsearch" ref="/root/send/pid" class="input_search" autonext="false" style="left:105px; top:24px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == 13) {
-
- inputEnterKey("btn_sel", "DOMActivate");
-
- }
- ]]>
- </script>
- </input>
- <select1 id="combo2" ref="/root/main/visitinfo/visitinfolist/qualflag" class="combo_default" appearance="minimal" style="left:150px; top:205px; width:219px; height:19px; ">
- <choices>
- <itemset nodeset="/root/item/dctype/qualflaglist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_visitdays" ref="/root/main/visitinfo/visitinfolist/visitdwflag" overflow="visible" appearance="full" rows="1" cols="6" style="left:150px; top:327px; width:195px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>월</label>
- <value>1</value>
- </item>
- <item>
- <label>화</label>
- <value>2</value>
- </item>
- <item>
- <label>수</label>
- <value>3</value>
- </item>
- <item>
- <label>목</label>
- <value>4</value>
- </item>
- <item>
- <label>금</label>
- <value>5</value>
- </item>
- <item>
- <label>토</label>
- <value>6</value>
- </item>
- </choices>
- </select>
- <select1 id="radio2" ref="/root/main/visitinfo/visitinfolist/visitpridflag" overflow="visible" appearance="full" rows="1" cols="3" style="left:150px; top:302px; width:140px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>월1회</label>
- <value>1</value>
- </item>
- <item>
- <label>격주</label>
- <value>2</value>
- </item>
- <item>
- <label>주당</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (radio2.value == 3)
- {
- input4.value = "";
- input4.disabled = false;
- }
- else
- {
- input4.value = "";
- input4.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <input id="input4" ref="/root/main/visitinfo/visitinfolist/visitpridtimes" class="input_default" format="#,###" style="left:296px; top:302px; width:25px; height:19px; text-align:right; "/>
- <caption id="caption17" style="left:320px; top:303px; width:17px; height:19px; vertical-align:middle; ">회</caption>
- <output id="output1" ref="/root/main/visitinfo/visitinfolist/brthdd" class="output_fix" style="left:104px; top:102px; width:116px; height:19px; text-align:center; "/>
- <output id="output2" ref="/root/main/visitinfo/visitinfolist/sex" class="output_fix" style="left:280px; top:102px; width:87px; height:19px; text-align:center; "/>
- <caption id="caption23" style="left:228px; top:50px; width:17px; height:19px; font-size:8pt; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
- <output id="output3" ref="/root/main/visitinfo/visitinfolist/rrgstno1" class="output_fix" style="left:104px; top:50px; width:116px; height:19px; text-align:center; "/>
- <output id="output4" ref="/root/main/visitinfo/visitinfolist/rrgstno2" class="output_fix" style="left:252px; top:50px; width:116px; height:19px; text-align:center; "/>
- <select1 id="combo3" ref="/root/main/visitinfo/visitinfolist/chrgnursid" class="combo_default" appearance="minimal" style="left:150px; top:348px; width:161px; height:19px; ">
- <choices>
- <itemset nodeset="/root/item/chargenurse/nurselist">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption25" class="cell_1" style="left:0px; top:347px; width:147px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">방문간호사</caption>
- <select1 id="cmb_orddrid" ref="/root/main/visitinfo/visitinfolist/orddrid" appearance="minimal" editmode="search" itemcount="30" style="left:150px; top:398px; width:161; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddept" ref="/root/main/visitinfo/visitinfolist/orddeptcd" class="combo_default" appearance="minimal" editmode="search" style="left:150px; top:373px; width:161; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChgOrdDetpcd();
- model.resetInstanceNode("/root/main/visitinfo/visitinfolist/orddrid"); //20091104_SMY추가
- ]]>
- </script>
- </select1>
- <caption id="caption27" class="cell_1" style="left:0px; top:372px; width:147px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">진 료 과</caption>
- <caption id="caption28" class="cell_1" style="left:0px; top:397px; width:147px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">진 료 의</caption>
- </group>
- <caption id="caption63" class="cell_1" style="left:374px; top:35px; width:425px; height:29px; font-family:돋움; text-align:left; vertical-align:middle; ">주사 . 투약처방</caption>
- <textarea id="textarea1" ref="/root/main/visitinfo/visitinfolist/injmedremark" scroll="autovscroll" maxlength="3500" style="left:374px; top:66px; width:424px; height:65px; "/>
- <caption id="caption5" class="cell_1" style="left:374px; top:135px; width:425px; height:29px; font-family:돋움; text-align:left; vertical-align:middle; ">기타 처치처방</caption>
- <textarea id="textarea2" ref="/root/main/visitinfo/visitinfolist/etcdressremark" scroll="autovscroll" maxlength="3500" style="left:374px; top:166px; width:424px; height:65px; "/>
- <line id="line6" class="line_1" style="x1:360px; y1:30px; x2:799px; y2:30px; "/>
- <caption id="caption7" class="cell_1" style="left:374px; top:235px; width:425px; height:29px; font-family:돋움; text-align:left; vertical-align:middle; ">현재 장착.사용의료기기등에 √표시</caption>
- <select id="chk_level2" ref="/root/main/visitinfo/visitinfolist/nutflag" appearance="full" cols="1" style="left:455; top:270px; width:320px; height:105px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>일반식</label>
- <value>1</value>
- </item>
- <item>
- <label>특별식</label>
- <value>2</value>
- </item>
- <item>
- <label>중심정맥영양</label>
- <value>3</value>
- </item>
- <item>
- <label>경관영양:</label>
- <value>4</value>
- </item>
- <item>
- <label>L-tube</label>
- <value>5</value>
- </item>
- <item>
- <label>Gastrostomy tube</label>
- <value>6</value>
- </item>
- </choices>
- </select>
- <caption id="caption70" style="left:387; top:280px; width:65px; height:35px; vertical-align:middle; ">영양관리</caption>
- <caption id="caption8" style="left:387px; top:380px; width:65px; height:35px; vertical-align:middle; ">배뇨관리</caption>
- <caption id="caption9" style="left:387px; top:440px; width:65px; height:35px; vertical-align:middle; ">호흡관리</caption>
- <select id="checkbox1" ref="/root/main/visitinfo/visitinfolist/urinflag" appearance="full" cols="2" style="left:455px; top:380px; width:320px; height:55px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>(Foley/Cystostomy/CIC)</label>
- <value>1</value>
- </item>
- <item>
- <label>방광세척</label>
- <value>2</value>
- </item>
- <item>
- <label>방광훈련</label>
- <value>3</value>
- </item>
- <item>
- <label>요루관리</label>
- <value>4</value>
- </item>
- <item>
- <label>인공방광</label>
- <value>5</value>
- </item>
- </choices>
- </select>
- <caption id="caption10" style="left:525px; top:310px; width:226px; height:35px; vertical-align:middle; ">( )cc/일, 열량:( )cal/일</caption>
- <select id="checkbox2" ref="/root/main/visitinfo/visitinfolist/breathflag" appearance="full" cols="2" style="left:455px; top:440px; width:320px; height:40px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>산소 ℓ/min</label>
- <value>1</value>
- </item>
- <item>
- <label>기관지절개관</label>
- <value>2</value>
- </item>
- <item>
- <label>인공호흡기</label>
- <value>3</value>
- </item>
- <item>
- <label>흡인(① oro & nasal ② intro-tracheal)</label>
- <value>4</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/main/visitinfo/visitinfolist/woundflag" appearance="full" cols="1" style="left:455px; top:485px; width:320px; height:55px; text-align:left; border-style:none; ">
- <choices>
- <item>
- <label>외과적 상처 Dressing</label>
- <value>1</value>
- </item>
- <item>
- <label>봉합사제거</label>
- <value>2</value>
- </item>
- <item>
- <label>욕창 Dressing</label>
- <value>3</value>
- </item>
- </choices>
- </select>
- <caption id="caption11" style="left:387px; top:485px; width:65px; height:35px; vertical-align:middle; ">상처관리</caption>
- <caption id="caption12" style="left:387px; top:540px; width:397px; height:35px; vertical-align:middle; ">기타( )</caption>
- <input id="input8" ref="/root/main/visitinfo/visitinfolist/woundremark" maxlength="450" autonext="false" style="left:420px; top:545px; width:350px; height:19px; "/>
- <input id="input9" ref="/root/main/visitinfo/visitinfolist/nutday" maxlength="10" autonext="false" style="left:535px; top:320px; width:40px; height:19px; "/>
- <input id="input10" ref="/root/main/visitinfo/visitinfolist/nutkcal" maxlength="10" autonext="false" style="left:655px; top:320px; width:35px; height:19px; "/>
- <button id="btn_reqview" class="btn2_letter2" style="left:758px; top:10px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn5_letter2" style="left:712px; top:10px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var spid = null;
- var sgradeflag = null;
- var squalflag = null;
- //var sdctype = null;
- var slongtermno = null;
- var sreqdd = null;
- var schrgnursid = null;
- var sreqdeptcd = null;
- var sreqdrid = null;
-
- // 필수입력 체크_실제 맵핑된 경로로 체크되도록 수정_20091104_SMY
- spid = model.getValue("/root/send/pid");
- sgradeflag = model.getValue("/root/main/visitinfo/visitinfolist/gradeflag");
- squalflag = model.getValue("/root/main/visitinfo/visitinfolist/qualflag");
- //sdctype = model.getValue("/root/send/savedata/dctype");
- slongtermno = model.getValue("/root/main/visitinfo/visitinfolist/longtermno");
- sreqdd = model.getValue("/root/main/visitinfo/visitinfolist/reqdd");
- schrgnursid = model.getValue("/root/main/visitinfo/visitinfolist/chrgnursid");
- sreqdeptcd = model.getValue("/root/main/visitinfo/visitinfolist/orddeptcd");
- sreqdrid = model.getValue("/root/main/visitinfo/visitinfolist/orddrid");
-
- if (getStringLength(spid)==0) {
- messageBox("환자번호를","C001"); // 입력하십시오!
- //model.setFocus(ipt_pidsearch);
- return;
- }
-
- if (getStringLength(sgradeflag)==0) {
- messageBox("등급을","C001"); // 입력하십시오!
- return;
- }
-
- if (getStringLength(squalflag)==0) {
- messageBox("본인부담률을","C001"); // 입력하십시오!
- return;
- }
-
- if (getStringLength(slongtermno)==0) {
- messageBox("장기요양번호를","C001"); // 입력하십시오!
- return;
- }
-
- if (getStringLength(sreqdd)==0) {
- messageBox("지시서 발급일자를","C001"); // 입력하십시오!
- return;
- }
-
- if (getStringLength(sreqdeptcd)==0) {
- messageBox("진료과를","C001"); // 입력하십시오!
- return;
- }
-
- if (getStringLength(sreqdrid)==0) {
- messageBox("진료의를","C001"); // 입력하십시오!
- return;
- }
- if (sreqdrid == "-") {
- messageBox("진료의 - 전체는 입력할 수 없습니다.","C"); // 입력하십시오!
- return;
- }
- if (getStringLength(schrgnursid)==0) {
- messageBox("방문간호사를","C001"); // 입력하십시오!
- return;
- }
-
- model.removenode("/root/send/savedata");
- model.makeNode("/root/send/savedata");
- model.copyNode("/root/send/savedata", "/root/main/visitinfo/visitinfolist");
- model.makeValue("/root/send/savedata/vitcareflag",'Y');
- //방문간호 계약 내용 수정가능_20091102_SMY
- model.makeValue("/root/send/savedata/status", model.getValue("/root/main/status"));
- model.refresh();
- /*
- // 필수입력 체크
- spid = model.getValue("/root/send/savedata/pid");
- sgradeflag = model.getValue("/root/send/savedata/gradeflag");
- squalflag = model.getValue("/root/send/savedata/qualflag");
- //sdctype = model.getValue("/root/send/savedata/dctype");
- slongtermno = model.getValue("/root/send/savedata/longtermno");
- sreqdd = model.getValue("/root/send/savedata/reqdd");
- schrgnursid = model.getValue("/root/send/savedata/chrgnursid");
- sreqdeptcd = model.getValue("/root/send/savedata/orddeptcd");
- sreqdrid = model.getValue("/root/send/savedata/orddrid");
-
- if (getStringLength(spid)==0) {
- messageBox("환자번호를","C001"); // 입력하십시오!
- //model.setFocus(ipt_pidsearch);
- return;
- }
-
- if (getStringLength(sgradeflag)==0) {
- messageBox("등급을","C001"); // 입력하십시오!
- return;
- }
-
- if (getStringLength(squalflag)==0) {
- messageBox("본인부담률을","C001"); // 입력하십시오!
- return;
- }
-
- if (getStringLength(slongtermno)==0) {
- messageBox("장기요양번호를","C001"); // 입력하십시오!
- return;
- }
-
- if (getStringLength(sreqdd)==0) {
- messageBox("지시서 발급일자를","C001"); // 입력하십시오!
- return;
- }
-
- if (getStringLength(sreqdeptcd)==0) {
- messageBox("진료과를","C001"); // 입력하십시오!
- return;
- }
-
- if (getStringLength(sreqdrid)==0) {
- messageBox("진료의를","C001"); // 입력하십시오!
- return;
- }
-
- if (getStringLength(schrgnursid)==0) {
- messageBox("방문간호사를","C001"); // 입력하십시오!
- return;
- }
- model.refresh();
- */
-
-
- //if(model.getValue("/root/send/savedata/status") == "U"){
- // submit("TXMNF00602");
- //}else{
- submit("TXMNF00601");
- //}
-
-
- //messageBox("등록이","I002"); // 완료되었습니다.
- window.close();
-
- ]]>
- </script>
- </button>
- <input id="input5" ref="/root/main/visitinfo/visitinfolist/wounddeldd" maxlength="8" autonext="false" style="left:540px; top:500px; width:75px; height:19px; "/>
- <caption id="caption13" style="left:620px; top:500px; width:17px; height:19px; vertical-align:middle; ">일</caption>
- <button id="btn_sel" class="btn2_letter2" visibility="hidden" style="left:255px; top:35px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.setValue("root/send/vitcareflag",'N'); // 지시서 방문간호등록구분
- // model.setValue("/root/send/pid", ipt_pidsearch.currentText);
-
- svitcareflag = model.getValue("/root/main/parameter/vitcareflag");
-
- if (svitcareflag == "Y" ) {
- model.setValue("root/send/vitcareflag",'Y'); // 지시서 방문간호등록구분
- } else {
- model.setValue("root/send/vitcareflag",'N'); // 지시서 방문간호등록구분
- }
- model.refresh();
-
- submit("TRMNF00601");
-
- var shocmyn = null;
-
- shocmyn = model.getValue("/root/main/visitinfo/visitinfolist/hocmyn");
-
- //alert(shocmyn+'/'+svitcareflag);
-
- // 지시서 등록체크
- if (shocmyn =='N' && svitcareflag == '') {
- messageBox("등록된 지시서 정보가 ","I004"); // 없습니다.
- btn_save.disabled = true;
- } else {
- btn_save.disabled = false;
- }
-
-
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|