123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- <?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>
- <implantinfo>
- <instcd/>
- <genrdd/>
- <genrno/>
- <histno/>
- <pid/>
- <hngnm/>
- <tootfact/>
- <regstatus/>
- <canceltodd/>
- <cancelgubun/>
- <cancelitem/>
- <cancelresn/>
- <cancelbefore/>
- <cancelafter/>
- <cancelgubunB/>
- <cancelgubunC/>
- <cancelresnC/>
- <cancelresnD/>
- <cancelresnE/>
- </implantinfo>
- </main>
- <hidden/>
- <temp/>
- <init>
- </init>
- <send>
- <savedata>
- </savedata>
- <reqdata/>
- </send>
- </root>
- </instance>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO25101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/implantinfo"/>
- <submission id="TXMMO25201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/result/serdiagappinfo"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var sRegStatus = model.getValue("/root/main/implantinfo/regstatus"); // 등록상태(A:등록, B:시술중지, C:변경, D:해지, E:취소)
-
- model.makeValue("/root/main/implantinfo/cancelgubunB", "");
- model.makeValue("/root/main/implantinfo/cancelgubunC", "");
- model.makeValue("/root/main/implantinfo/cancelresnC", "");
- model.makeValue("/root/main/implantinfo/cancelresnD", "");
- model.makeValue("/root/main/implantinfo/cancelresnE", "");
-
- fDisabledCheck(sRegStatus);
-
- if (sRegStatus == "B") {
- model.setValue("/root/main/implantinfo/cancelgubunB", model.getValue("/root/main/implantinfo/cancelgubun"));
- } else if (sRegStatus == "C") {
- model.setValue("/root/main/implantinfo/cancelresnC", model.getValue("/root/main/implantinfo/cancelresn"));
- model.setValue("/root/main/implantinfo/cancelgubunC", model.getValue("/root/main/implantinfo/cancelgubun"));
- } else if (sRegStatus == "D") {
- model.setValue("/root/main/implantinfo/cancelresnD", model.getValue("/root/main/implantinfo/cancelresn"));
- } else if (sRegStatus == "E") {
- model.setValue("/root/main/implantinfo/cancelresnE", model.getValue("/root/main/implantinfo/cancelresn"));
- }
-
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04100.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO04200.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fDisabledCheck(sRegStatus) { // 등록상태(A:등록, B:시술중지, C:변경, D:해지, E:취소)
- if(sRegStatus == "A") {
- grp_implantB.disabled = true;
- grp_implantC.disabled = true;
- grp_implantD.disabled = true;
- grp_implantE.disabled = true;
- }else if(sRegStatus == "B") {
- grp_implantB.disabled = false;
- grp_implantC.disabled = true;
- grp_implantD.disabled = true;
- grp_implantE.disabled = true;
-
- model.setValue("/root/main/implantinfo/cancelgubunB", "A");
- rdo_cancelgubunC.disabled = true;
- } else if (sRegStatus == "C") {
- grp_implantB.disabled = true;
- grp_implantC.disabled = false;
- grp_implantD.disabled = true;
- grp_implantE.disabled = true;
- } else if (sRegStatus == "D") {
- grp_implantB.disabled = true;
- grp_implantC.disabled = true;
- grp_implantD.disabled = false;
- grp_implantE.disabled = true;
- } else if (sRegStatus == "E") {
- grp_implantB.disabled = true;
- grp_implantC.disabled = true;
- grp_implantD.disabled = true;
- grp_implantE.disabled = false;
- }
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="480" pageheight="380" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption14" class="tit_2" style="left:0px; top:0px; width:240px; height:13px; vertical-align:middle; ">임플란트 중단/변경/해지/취소 신청서</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:450px; y2:15px; "/>
- <caption id="caption13" class="cell_1" style="left:230px; top:20px; width:85px; height:23px; text-align:center; vertical-align:middle; ">환자명</caption>
- <caption id="caption15" class="cell_1" style="left:0px; top:45px; width:85px; height:23px; text-align:center; vertical-align:middle; ">치식번호</caption>
- <caption id="caption16" class="cell_1" style="left:0px; top:70px; width:85px; height:23px; text-align:center; vertical-align:middle; ">등록구분</caption>
- <input id="ipt_pid" ref="/root/main/implantinfo/pid" disabled="true" disable.background-color="#ffffff" style="left:90px; top:22px; width:130px; height:19px; "/>
- <input id="ipt_hngnm" ref="/root/main/implantinfo/hngnm" disabled="true" disable.background-color="#ffffff" style="left:319px; top:22px; width:130px; height:19px; "/>
- <input id="ipt_tootfact1" ref="/root/main/implantinfo/tootfact" disabled="true" disable.background-color="#ffffff" style="left:90px; top:46px; width:70px; height:19px; "/>
- <select1 id="sel_regkind1" ref="/root/main/implantinfo/regstatus" appearance="full" cols="5" rows="1" overflow="visible" style="left:90px; top:71px; width:325px; height:15px; 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>
- <item>
- <label>해지</label>
- <value>D</value>
- </item>
- <item>
- <label>취소</label>
- <value>E</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sRegStatus = model.getValue("root/main/implantinfo/regstatus"); // 등록상태(A:등록, B:시술중지, C:변경, D:해지, E:취소)
- fDisabledCheck(sRegStatus);
- ]]>
- </script>
- </select1>
- <group id="grp_implantB" overflow="hidden" style="left:0px; top:95px; width:450px; height:50px; ">
- <caption id="caption6" class="cell_1" style="left:0px; top:0px; width:85px; height:50px; text-align:center; vertical-align:middle; ">시술중지</caption>
- <caption id="caption1" class="cell_1" style="left:90px; top:1px; width:85px; height:23px; text-align:center; vertical-align:middle; ">시술중지일</caption>
- <caption id="caption2" class="cell_1" style="left:90px; top:26px; width:85px; height:23px; text-align:center; vertical-align:middle; ">사유</caption>
- <input id="input1" ref="/root/main/implantinfo/canceltodd" inputtype="date" style="left:178px; top:4px; width:130px; height:19px; "/>
- <select1 id="radio1" ref="/root/main/implantinfo/cancelgubunB" appearance="full" cols="1" rows="1" overflow="visible" style="left:178px; top:30px; width:235px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>2단계 시술 실패(골유착 실패)</label>
- <value>A</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="grp_implantC" overflow="hidden" style="left:0px; top:147px; width:450px; height:123px; ">
- <caption id="caption7" class="cell_1" style="left:0px; top:0px; width:85px; height:120px; text-align:center; vertical-align:middle; ">변경</caption>
- <caption id="caption8" class="cell_1" style="left:90px; top:0px; width:85px; height:23px; text-align:center; vertical-align:middle; ">신청구분</caption>
- <caption id="caption9" class="cell_1" style="left:90px; top:25px; width:85px; height:23px; text-align:center; vertical-align:middle; ">사유</caption>
- <caption id="caption17" class="cell_1" style="left:90px; top:49px; width:85px; height:23px; text-align:center; vertical-align:middle; ">항목</caption>
- <caption id="caption18" class="cell_1" style="left:90px; top:74px; width:85px; height:23px; text-align:center; vertical-align:middle; ">변경 전</caption>
- <caption id="caption19" class="cell_1" style="left:90px; top:98px; width:85px; height:23px; text-align:center; vertical-align:middle; ">변경 후</caption>
- <select1 id="rdo_cancelgubunC" ref="/root/main/implantinfo/cancelgubunC" appearance="full" cols="3" rows="1" overflow="visible" style="left:178px; top:5px; width:235px; height:15px; 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>
- <input id="input2" ref="/root/main/implantinfo/cancelresnC" style="left:178px; top:27px; width:272px; height:19px; "/>
- <input id="input3" ref="/root/main/implantinfo/cancelitem" style="left:178px; top:51px; width:107px; height:19px; "/>
- <input id="input4" ref="/root/main/implantinfo/cancelbefore" style="left:178px; top:76px; width:272px; height:19px; "/>
- <input id="input5" ref="/root/main/implantinfo/cancelafter" style="left:178px; top:101px; width:272px; height:19px; "/>
- </group>
- <group id="grp_implantD" overflow="hidden" style="left:0px; top:272px; width:450px; height:25px; ">
- <caption id="caption10" class="cell_1" style="left:0px; top:0px; width:85px; height:23px; text-align:center; vertical-align:middle; ">해지</caption>
- <caption id="caption12" class="cell_1" style="left:90px; top:0px; width:85px; height:23px; text-align:center; vertical-align:middle; ">사유</caption>
- <input id="input6" ref="/root/main/implantinfo/cancelresnD" style="left:178px; top:4px; width:272px; height:19px; "/>
- </group>
- <group id="grp_implantE" overflow="hidden" style="left:0px; top:296px; width:450px; height:29px; ">
- <caption id="caption3" class="cell_1" style="left:0px; top:2px; width:85px; height:23px; text-align:center; vertical-align:middle; ">취소</caption>
- <caption id="caption5" class="cell_1" style="left:90px; top:2px; width:85px; height:23px; text-align:center; vertical-align:middle; ">사유</caption>
- <input id="input7" ref="/root/main/implantinfo/cancelresnE" style="left:178px; top:4px; width:272px; height:19px; "/>
- </group>
- <caption id="caption26" class="cell_1" style="left:1px; top:20px; width:85px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <button id="btn_save" class="btn4_letter2" style="left:333px; top:330px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var sRegStatus = model.getValue("root/main/implantinfo/regstatus"); // 등록상태(A:등록, B:시술중지, C:변경, D:해지, E:취소)
-
- if(sRegStatus =="") {
- messageBox ( "등록구분이 없습니다.", "C" );
- return;
- } else if (sRegStatus == "A") {
- model.setValue("/root/main/implantinfo/cancelresn", "");
- model.setValue("/root/main/implantinfo/canceltodd", "");
- model.setValue("/root/main/implantinfo/cancelgubun", "");
- model.setValue("/root/main/implantinfo/cancelitem", "");
- model.setValue("/root/main/implantinfo/cancelbefore", "");
- model.setValue("/root/main/implantinfo/cancelafter", "");
- } else if (sRegStatus == "B") {
- if(model.getValue("root/main/implantinfo/canceltodd") == "") {
- messageBox ( "시술중지 일자가 없습니다.", "C" );
- return;
- }
-
- model.setValue("/root/main/implantinfo/cancelresn", "2단계 시술 실패(골유착 실패)");
- model.setValue("/root/main/implantinfo/canceltodd", model.getValue("root/main/implantinfo/canceltodd"));
- model.setValue("/root/main/implantinfo/cancelgubun", model.getValue("root/main/implantinfo/cancelgubunB"));
- model.setValue("/root/main/implantinfo/cancelitem", "");
- model.setValue("/root/main/implantinfo/cancelbefore", "");
- model.setValue("/root/main/implantinfo/cancelafter", "");
-
- } else if (sRegStatus == "C") {
- if(model.getValue("root/main/implantinfo/cancelgubunC") == "") {
- messageBox ( "변경요청 신청구분이 없습니다.", "C" );
- return;
- }
- if(model.getValue("root/main/implantinfo/cancelitem") == "") {
- messageBox ( "변경요청 변경항목이 없습니다.", "C" );
- return;
- }
- if(model.getValue("root/main/implantinfo/cancelbefore") == "") {
- messageBox ( "변경요청 변경전 항목이 없습니다.", "C" );
- return;
- }
- if(model.getValue("root/main/implantinfo/cancelafter") == "") {
- messageBox ( "변경요청 변경후 항목이 없습니다.", "C" );
- return;
- }
- if(model.getValue("root/main/implantinfo/cancelresnC") == "") {
- messageBox ( "변경요청 변경사유 항목이 없습니다.", "C" );
- return;
- }
-
- model.setValue("/root/main/implantinfo/cancelresn", model.getValue("root/main/implantinfo/cancelresnC"));
- model.setValue("/root/main/implantinfo/canceltodd", "");
- model.setValue("/root/main/implantinfo/cancelgubun", model.getValue("root/main/implantinfo/cancelgubunC"));
- model.setValue("/root/main/implantinfo/cancelitem", model.getValue("root/main/implantinfo/cancelitem"));
- model.setValue("/root/main/implantinfo/cancelbefore", model.getValue("root/main/implantinfo/cancelbefore"));
- model.setValue("/root/main/implantinfo/cancelafter", model.getValue("root/main/implantinfo/cancelafter"));
- } else if (sRegStatus == "D") {
- if(model.getValue("root/main/implantinfo/cancelresnD") == "") {
- messageBox ( "변경요청 해지사유 항목이 없습니다.", "C" );
- return;
- }
-
- model.setValue("/root/main/implantinfo/cancelresn", model.getValue("root/main/implantinfo/cancelresnD"));
- model.setValue("/root/main/implantinfo/canceltodd", "");
- model.setValue("/root/main/implantinfo/cancelgubun", "");
- model.setValue("/root/main/implantinfo/cancelitem", "");
- model.setValue("/root/main/implantinfo/cancelbefore", "");
- model.setValue("/root/main/implantinfo/cancelafter", "");
- } else if (sRegStatus == "E") {
- if(model.getValue("root/main/implantinfo/cancelresnE") == "") {
- messageBox ( "변경요청 취소사유 항목이 없습니다.", "C" );
- return;
- }
- model.setValue("/root/main/implantinfo/cancelresn", model.getValue("root/main/implantinfo/cancelresnE"));
- model.setValue("/root/main/implantinfo/canceltodd", "");
- model.setValue("/root/main/implantinfo/cancelgubun", "");
- model.setValue("/root/main/implantinfo/cancelitem", "");
- model.setValue("/root/main/implantinfo/cancelbefore", "");
- model.setValue("/root/main/implantinfo/cancelafter", "");
-
- }
-
- model.copyNode("/root/send/savedata", "/root/main/implantinfo");
-
- if(submit("TXMMO25201")) {
- messageBox ( "저장 되었습니다.", "I" );
- }
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_exit" class="btn4_letter2" style="left:393px; top:330px; width:56px; height:22px; ">
- <caption>종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|