123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <init>
- <cond>
- <wrongsurgery>
- </wrongsurgery>
- <timeouty>
- </timeouty>
- <orddept/>
- <pertdr/>
- <anstdr/>
- </cond>
- </init>
- <main>
- <cond>
- <opdate/>
- <opnm/>
- <orddeptcd/>
- <pertdr/>
- <anstdr/>
- <detlcnts/>
- <detlcnts_how/>
- <detlcnts_why/>
- <ordcurekind/>
- <opacd>
- <opwrsgkind/>
- <tmoutyn/>
- <tmoutkind/>
- <oppartdispyn/>
- <chkopmngt/>
- <opmdlaftetccnts/>
- <opbfdesccmt/>
- <opaftdesccmt/>
- </opacd>
- <anstacd>
- <chkanstacd/>
- <anstmedidrugcd/>
- <anstmedidrugnm/>
- <anstacdetccnts/>
- <anstdesccmt/>
- </anstacd>
- <testacd>
- <chktestacd/>
- <testacdetccnts/>
- </testacd>
- <mediacd>
- <chkcureacd/>
- <medidrugcd/>
- <medidrugnm/>
- <cureacdetccnts/>
- </mediacd>
- <doctorcallyn>N</doctorcallyn>
- <doctorcalldt/>
- <mediationyn>N</mediationyn>
- <mediationdt/>
- </cond>
- </main>
- <temp>
- <receivedata>
- <receiveref/>
- <receivenmref/>
- <srchflag/>
- <srchcnts/>
- <drugkind/>
- </receivedata>
- <tmpchkbox1/>
- <tmpchkbox2/>
- <tmpchkbox3/>
- </temp>
- <send>
- <reqdata/>
- <calcscorcd/>
- </send>
- <hidden>
- <mech>
- <hngnm/>
- </mech>
- </hidden>
- <temper>
- <M0641list/>
- <M0642list/>
- <chkdd>
- <cdval/>
- </chkdd>
- </temper>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_00200();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMQR00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temper"/>
- <submission id="TRMNR07506" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/mech"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/qiweb/js/SMMQR00000.js"/>
- <script type="javascript" src="../../../emr/qiweb/js/SMMQR00200.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- </xhtml:head>
- <xhtml:body>
- <group id="group2" style="left:0px; top:0px; width:1165px; height:415px; ">
- <select id="chk_chkcureacd" ref="/root/main/cond/mediacd/chkcureacd" disabled="true" overflow="visible" appearance="full" sep="▦" vcellspacing="10" style="left:777px; top:57px; width:340px; height:190px; border-style:none; ">
- <choices>
- <item>
- <label>부적절한/불충분한 치료과정 설명</label>
- <value>01</value>
- </item>
- <item>
- <label>부적절한 의무기록</label>
- <value>02</value>
- </item>
- <item>
- <label>치료과정에 발생한 신체적 손상(괴사, 열상, 천공, 골절 등)</label>
- <value>03</value>
- </item>
- <item>
- <label>환자/보호자가 치료 및 시술 거절</label>
- <value>04</value>
- </item>
- <item>
- <label>잘못된 진단/영상/병리검사 결과보고</label>
- <value>05</value>
- </item>
- <item>
- <label>결과확인 누락으로 인한 처치지연</label>
- <value>06</value>
- </item>
- <item>
- <label>기타</label>
- <value>08</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //SetVisible("ipt_anstmedidrugcd", "/root/main/cond/mediacd/chkcureacd", "6");
- //SetVisible("ipt_anstmedidrugcdnm", "/root/main/cond/mediacd/chkcureacd", "6");
- SetVisible("tar_cureacdetccnts", "/root/main/cond/mediacd/chkcureacd", "8");
- ]]>
- </script>
- </select>
- <line id="line3" class="line_3" style="x1:0px; y1:23px; x2:1162px; y2:23px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:0px; width:90px; height:23px; vertical-align:middle; ">수술/시술일</caption>
- <caption id="caption15" class="cell_1" style="left:807px; top:0px; width:90px; height:23px; vertical-align:middle; ">집도의</caption>
- <caption id="caption16" class="cell_1" style="left:986px; top:0px; width:90px; height:23px; vertical-align:middle; ">마취의</caption>
- <caption id="caption17" class="cell_1" style="left:268px; top:0px; width:90px; height:23px; vertical-align:middle; ">수술/시술 명</caption>
- <caption id="caption18" class="cell_1" style="left:20px; top:53px; width:92px; height:20px; vertical-align:middle; ">Wrong surgery</caption>
- <caption id="caption19" class="cell_1" style="left:20px; top:74px; width:92px; height:35px; vertical-align:middle; ">Time out 유무</caption>
- <caption id="caption20" class="cell_1" style="left:20px; top:110px; width:122px; height:20px; vertical-align:middle; ">수술부위 표식 유무</caption>
- <caption id="caption22" class="cell_2" style="left:440px; top:32px; width:135px; height:20px; vertical-align:middle; ">
- <![CDATA[마취/진정 관련사고]]>
- <!-- 20130902 주석처리
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/cond/ordcurekind", "02");
-
- model.resetInstanceNode("/root/main/cond/opacd");
- model.resetInstanceNode("/root/main/cond/anstacd");
- model.resetInstanceNode("/root/main/cond/testacd");
- model.resetInstanceNode("/root/main/cond/mediacd");
-
- //수술/시술 관련 사고
- rdo_opwrsgkind.disabled = true;
- rdo_timoutyn.disabled = true;
- rdo_oppartdispyn.disabled = true;
- chk_chkopmngt.disabled = true;
- chk_tmoutkind.visible = false;
- tar_opmdlaftetccnts.visible = false;
-
- //마취관련 사고
- chk_chkanstacd.disabled = false;
- ipt_anstmedidrugcd.visible = false;
- ipt_anstmedidrugnm.visible = false;
- tar_anstacdetccnts.visible = false;
-
- //검사 관련 사고
- // chk_chktestacd.disabled = true;
- // tar_testacdetccnts.visible = false;
-
-
- //치료/진료 관련 사고
- chk_chkcureacd.disabled = true;
- //ipt_anstmedidrugcd.visible = false;
- //ipt_anstmedidrugcdnm.visible = false;
- tar_cureacdetccnts.visible = false;
-
- model.refresh();
-
- ]]>
- </script>
- -->
- </caption>
- <caption id="caption23" class="cell_2" style="left:797px; top:32px; width:152px; height:20px; vertical-align:middle; ">
- <![CDATA[치료/진료 관련 사고]]>
- <!-- 20130902 주석처리
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/cond/ordcurekind", "03");
-
- model.resetInstanceNode("/root/main/cond/opacd");
- model.resetInstanceNode("/root/main/cond/anstacd");
- model.resetInstanceNode("/root/main/cond/testacd");
- model.resetInstanceNode("/root/main/cond/mediacd");
-
-
- //수술/시술 관련 사고
- rdo_opwrsgkind.disabled = true;
- rdo_timoutyn.disabled = true;
- rdo_oppartdispyn.disabled = true;
- chk_chkopmngt.disabled = true;
- chk_tmoutkind.visible = false;
- tar_opmdlaftetccnts.visible = false;
-
- //마취관련 사고
- chk_chkanstacd.disabled = true;
- ipt_anstmedidrugcd.visible = false;
- ipt_anstmedidrugnm.visible = false;
- tar_anstacdetccnts.visible = false;
-
- //검사 관련 사고
- //chk_chktestacd.disabled = true;
- //tar_testacdetccnts.visible = false;
-
-
- //치료/진료 관련 사고
- chk_chkcureacd.disabled = false;
- //ipt_anstmedidrugcd.visible = false;
- //ipt_anstmedidrugcdnm.visible = false;
- tar_cureacdetccnts.visible = false;
-
- model.refresh();
-
- ]]>
- </script>
- -->
- </caption>
- <caption id="caption26" class="cell_2" style="left:35px; top:32px; width:150px; height:20px; vertical-align:middle; ">
- <![CDATA[수술/시술 관련 사고]]>
- <!-- 20130902 주석처리
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/cond/ordcurekind", "01");
- model.resetInstanceNode("/root/main/cond/opacd");
- model.resetInstanceNode("/root/main/cond/anstacd");
- model.resetInstanceNode("/root/main/cond/testacd");
- model.resetInstanceNode("/root/main/cond/mediacd");
-
- //수술/시술 관련 사고
- rdo_opwrsgkind.disabled = false;
- rdo_timoutyn.disabled = false;
- rdo_oppartdispyn.disabled = false;
- chk_chkopmngt.disabled = false;
- chk_tmoutkind.visible = false;
- tar_opmdlaftetccnts.visible = false;
-
- //마취관련 사고
- chk_chkanstacd.disabled = true;
- ipt_anstmedidrugcd.visible = false;
- ipt_anstmedidrugnm.visible = false;
- tar_anstacdetccnts.visible = false;
-
- //검사 관련 사고
- // chk_chktestacd.disabled = true;
- // tar_testacdetccnts.visible = false;
-
- //치료/진료 관련 사고
- chk_chkcureacd.disabled = true;
- //ipt_anstmedidrugcd.visible = false;
- //ipt_anstmedidrugcdnm.visible = false;
- tar_cureacdetccnts.visible = false;
-
- model.refresh();
- ]]>
- </script>
- -->
- </caption>
- <input id="ipt_opdate" ref="/root/main/cond/opdate" class="input_default" navindex="1" inputtype="date" appearance="input" style="left:92px; top:1px; width:174px; height:19px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </input>
- <input id="ipt_opnm" ref="/root/main/cond/opnm" class="input_default" navindex="2" maxlength="50" style="left:360px; top:1px; width:217px; height:19px; "/>
- <select1 id="rdo_timoutyn" ref="/root/main/cond/opacd/tmoutyn" disabled="true" appearance="full" cellspacing="20" overflow="visible" style="left:111px; top:75px; width:45px; height:33px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Y</value>
- </item>
- <item>
- <label>No</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- SetVisible("chk_tmoutkind", "/root/main/cond/opacd/tmoutyn", "Y");
- ]]>
- </script>
- </select1>
- <textarea id="tar_cureacdetccnts" ref="/root/main/cond/mediacd/cureacdetccnts" visibility="hidden" maxbyte="140" style="left:824px; top:223px; width:325px; height:70px; "/>
- <select1 id="rdo_opwrsgkind" ref="/root/main/cond/opacd/opwrsgkind" disabled="true" appearance="full" cellspacing="13" cols="3" overflow="visible" style="left:112px; top:53px; width:255px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/cond/wrongsurgery/M0431">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_oppartdispyn" ref="/root/main/cond/opacd/oppartdispyn" disabled="true" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:145px; top:112px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Y</value>
- </item>
- <item>
- <label>No</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption35" class="cell_1" style="left:580px; top:0px; width:90px; height:23px; vertical-align:middle; ">진료과</caption>
- <select1 id="cmb_orddeptcd" ref="/root/main/cond/orddeptcd" class="combo_default" navindex="3" appearance="minimal" editmode="search" style="left:672px; top:1px; width:132px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cond/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/init/cond/pertdr");
- model.makeNode("/root/init/cond/pertdr/usercombo");
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/cond/pertdr", cmb_orddeptcd.value, "0330");
-
- cmb_pertdr.select(1);
- model.refresh();
- //fReqOutPatList();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_pertdr" ref="/root/main/cond/pertdr" class="combo_search" navindex="4" appearance="minimal" style="left:899px; top:1px; width:84px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cond/pertdr/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_anstdr" ref="/root/main/cond/anstdr" class="combo_search" navindex="6" appearance="minimal" style="left:1078px; top:1px; width:84px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cond/anstdr/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_tmoutkind" ref="/root/main/cond/opacd/tmoutkind" visibility="hidden" overflow="visible" appearance="full" cols="3" rows="3" sep="▦" style="left:153px; top:75px; width:250px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>환자확인</label>
- <value>01</value>
- </item>
- <item>
- <label>수술부위확인</label>
- <value>02</value>
- </item>
- <item>
- <label>수술방법확인</label>
- <value>03</value>
- </item>
- </choices>
- </select>
- <caption id="caption1" visibility="hidden" style="left:185px; top:34px; width:50px; height:20px; font-weight:bold; font-style:italic; text-decoration:underline; color:#c0c0c0; vertical-align:bottom; ">←click</caption>
- <caption id="caption2" visibility="hidden" style="left:576px; top:31px; width:46px; height:20px; font-weight:bold; font-style:italic; text-decoration:underline; color:#c0c0c0; vertical-align:bottom; ">←click</caption>
- <caption id="caption4" visibility="hidden" style="left:950px; top:34px; width:51px; height:20px; font-weight:bold; font-style:italic; text-decoration:underline; color:#c0c0c0; vertical-align:bottom; ">←click</caption>
- <select id="checkbox1" ref="/root/temp/tmpchkbox1" overflow="visible" appearance="full" style="left:15px; top:35px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>true</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- checkbox2.value="";
- checkbox3.value="";
- model.setValue("/root/main/cond/ordcurekind", "01");
-
- model.resetInstanceNode("/root/main/cond/opacd");
- model.resetInstanceNode("/root/main/cond/anstacd");
- model.resetInstanceNode("/root/main/cond/testacd");
- model.resetInstanceNode("/root/main/cond/mediacd");
-
-
- //수술/시술 관련 사고
- rdo_opwrsgkind.disabled = false;
- rdo_timoutyn.disabled = false;
- rdo_oppartdispyn.disabled = false;
- chk_chkopmngt.disabled = false;
- chk_tmoutkind.visible = false;
- tar_opmdlaftetccnts.visible = false;
- tar_opmdlaftetccnts1.visible = false;
- tar_opmdlaftetccnts2.visible = false;
-
- //마취관련 사고
- chk_chkanstacd.disabled = true;
- ipt_anstmedidrugcd.visible = false;
- ipt_anstmedidrugnm.visible = false;;
- tar_anstacdetccnts.visible = false;
- tar_anstacdetccnts1.visible = false;
-
- //검사 관련 사고
- // chk_chktestacd.disabled = true;
- // tar_testacdetccnts.visible = false;
-
- //치료/진료 관련 사고
- chk_chkcureacd.disabled = true;
- //ipt_anstmedidrugcd.visible = false;
- //ipt_anstmedidrugcdnm.visible = false;
- tar_cureacdetccnts.visible = false;
-
- model.refresh();
- ]]>
- </script>
- </select>
- <select id="checkbox2" ref="/root/temp/tmpchkbox2" overflow="visible" appearance="full" style="left:420px; top:35px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>true</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- checkbox1.value="";
- checkbox3.value="";
- model.setValue("/root/main/cond/ordcurekind", "02");
-
- model.resetInstanceNode("/root/main/cond/opacd");
- model.resetInstanceNode("/root/main/cond/anstacd");
- model.resetInstanceNode("/root/main/cond/testacd");
- model.resetInstanceNode("/root/main/cond/mediacd");
-
- //수술/시술 관련 사고
- rdo_opwrsgkind.disabled = true;
- rdo_timoutyn.disabled = true;
- rdo_oppartdispyn.disabled = true;
- chk_chkopmngt.disabled = true;
- chk_tmoutkind.visible = false;
- tar_opmdlaftetccnts.visible = false;
- tar_opmdlaftetccnts1.visible = false;
- tar_opmdlaftetccnts2.visible = false;
-
- //마취관련 사고
- chk_chkanstacd.disabled = false;
- ipt_anstmedidrugcd.visible = false;
- ipt_anstmedidrugnm.visible = false;
- tar_anstacdetccnts.visible = false;
- tar_anstacdetccnts1.visible = false;
-
- //검사 관련 사고
- // chk_chktestacd.disabled = true;
- // tar_testacdetccnts.visible = false;
-
-
- //치료/진료 관련 사고
- chk_chkcureacd.disabled = true;
- //ipt_anstmedidrugcd.visible = false;
- //ipt_anstmedidrugcdnm.visible = false;
- tar_cureacdetccnts.visible = false;
-
- model.refresh();
- ]]>
- </script>
- </select>
- <select id="checkbox3" ref="/root/temp/tmpchkbox3" overflow="visible" appearance="full" style="left:777px; top:35px; width:15px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label/>
- <value>true</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- checkbox1.value="";
- checkbox2.value="";
- model.setValue("/root/main/cond/ordcurekind", "03");
-
- model.resetInstanceNode("/root/main/cond/opacd");
- model.resetInstanceNode("/root/main/cond/anstacd");
- model.resetInstanceNode("/root/main/cond/testacd");
- model.resetInstanceNode("/root/main/cond/mediacd");
-
-
- //수술/시술 관련 사고
- rdo_opwrsgkind.disabled = true;
- rdo_timoutyn.disabled = true;
- rdo_oppartdispyn.disabled = true;
- chk_chkopmngt.disabled = true;
- chk_tmoutkind.visible = false;
- tar_opmdlaftetccnts.visible = false;
- tar_opmdlaftetccnts1.visible = false;
- tar_opmdlaftetccnts2.visible = false;
-
- //마취관련 사고
- chk_chkanstacd.disabled = true;
- ipt_anstmedidrugcd.visible = false;
- ipt_anstmedidrugnm.visible = false;
- tar_anstacdetccnts.visible = false;
- tar_anstacdetccnts1.visible = false;
-
- //검사 관련 사고
- //chk_chktestacd.disabled = true;
- //tar_testacdetccnts.visible = false;
-
-
- //치료/진료 관련 사고
- chk_chkcureacd.disabled = false;
- //ipt_anstmedidrugcd.visible = false;
- //ipt_anstmedidrugcdnm.visible = false;
- tar_cureacdetccnts.visible = false;
-
- model.refresh();
- ]]>
- </script>
- </select>
- <shape id="roundrect7" class="roundrect_example" appearance="roundrect" style="left:10px; top:27px; width:395px; height:388px; "/>
- <shape id="roundrect5" class="roundrect_example" appearance="roundrect" style="left:410px; top:27px; width:350px; height:388px; "/>
- <shape id="roundrect6" class="roundrect_example" appearance="roundrect" style="left:765px; top:27px; width:395px; height:388px; "/>
- <caption id="caption3" class="cell_1" style="left:20px; top:131px; width:122px; height:20px; vertical-align:middle; ">수술/시술 관리</caption>
- <select id="chk_chkopmngt" ref="/root/main/cond/opacd/chkopmngt" disabled="true" overflow="visible" appearance="full" sep="▦" vcellspacing="3" style="left:20px; top:155px; width:300px; height:255px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/temper/M0641list">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( chkdd == "Y" ){
- SetVisible("tar_opmdlaftetccnts1", "/root/main/cond/opacd/chkopmngt", "13");
- SetVisible("tar_opmdlaftetccnts2", "/root/main/cond/opacd/chkopmngt", "22");
- }else{
- SetVisible("tar_opmdlaftetccnts", "/root/main/cond/opacd/chkopmngt", "09");
- }
- ]]>
- </script>
- </select>
- <textarea id="tar_opmdlaftetccnts" ref="/root/main/cond/opacd/opmdlaftetccnts" navindex="7" visibility="hidden" maxlength="70" style="left:65px; top:310px; width:330px; height:66px; "/>
- <select id="chk_chkanstacd" ref="/root/main/cond/anstacd/chkanstacd" disabled="true" overflow="visible" appearance="full" sep="▦" vcellspacing="10" style="left:420px; top:56px; width:325px; height:209px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/temper/M0642list">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( chkdd == "Y" ){
- SetVisible("ipt_anstmedidrugcd", "/root/main/cond/anstacd/chkanstacd", "11");
- SetVisible("ipt_anstmedidrugnm", "/root/main/cond/anstacd/chkanstacd", "11");
- SetVisible("tar_anstacdetccnts1", "/root/main/cond/anstacd/chkanstacd", "15");
- }else{
- SetVisible("ipt_anstmedidrugcd", "/root/main/cond/anstacd/chkanstacd", "03");
- SetVisible("ipt_anstmedidrugnm", "/root/main/cond/anstacd/chkanstacd", "03");
- SetVisible("tar_anstacdetccnts", "/root/main/cond/anstacd/chkanstacd", "08");
- }
- ]]>
- </script>
- </select>
- <textarea id="tar_anstacdetccnts" ref="/root/main/cond/anstacd/anstacdetccnts" visibility="hidden" maxbyte="140" style="left:474px; top:245px; width:271px; height:48px; "/>
- <input id="ipt_anstmedidrugnm" ref="/root/main/cond/anstacd/anstmedidrugnm" visibility="hidden" appearance="input" style="left:665px; top:112px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
- model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/anstacd/anstmedidrugcd");
- model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/anstacd/anstmedidrugnm");
- model.setValue("/root/temp/receivedata/srchflag", "3");
- model.setValue("/root/temp/receivedata/srchcnts", ipt_anstmedidrugnm.currentText);
- model.setValue("/root/temp/receivedata/drugkind","");
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
-
- var drugcd = model.getValue("/root/main/cond/anstacd/anstmedidrugcd");
- var drugnm = "";
-
- if(drugcd != ""){
- model.removenode("/root/send/calcscorcd");
- model.makeValue("/root/send/calcscorcd", drugcd);
- submit("TRMNR07506");
- drugnm = model.getValue("/root/hidden/mech/hngnm");
- if(drugnm != ""){
- model.setValue("/root/main/cond/anstacd/anstmedidrugnm", drugnm);
- }else{
- messageBox("약품 유효기간이 지났습니다.","E999");
- }
- }
-
- model.resetInstanceNode("/root/temp/receivedata");
- model.refresh();
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_anstmedidrugcd" ref="/root/main/cond/anstacd/anstmedidrugcd" visibility="hidden" maxlength="12" appearance="input" style="left:607px; top:112px; width:65px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == "13"){
- model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/anstacd/anstmedidrugcd");
- model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/anstacd/anstmedidrugnm");
- model.setValue("/root/temp/receivedata/srchflag", "2");
- model.setValue("/root/temp/receivedata/srchcnts", ipt_anstmedidrugcd.currentText);
- model.setValue("/root/temp/receivedata/drugkind","");
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
-
- var drugcd = model.getValue("/root/main/cond/anstacd/anstmedidrugcd");
- var drugnm = "";
-
- if(drugcd != ""){
- model.removenode("/root/send/calcscorcd");
- model.makeValue("/root/send/calcscorcd", drugcd);
- submit("TRMNR07506");
- drugnm = model.getValue("/root/hidden/mech/hngnm");
- if(drugnm != ""){
- model.setValue("/root/main/cond/anstacd/anstmedidrugnm", drugnm);
- }else{
- messageBox("약품 유효기간이 지났습니다.","E999");
- }
- }
- model.resetInstanceNode("/root/temp/receivedata");
- model.refresh();
- }
-
- ]]>
- </script>
- </input>
- <button id="btn_anstmedidrugcd" class="icon_search" style="left:591px; top:113px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/temp/receivedata/receiveref", "/root/main/cond/anstacd/anstmedidrugcd");
- model.setValue("/root/temp/receivedata/receivenmref", "/root/main/cond/anstacd/anstmedidrugnm");
- model.setValue("/root/temp/receivedata/srchflag", "");
- model.setValue("/root/temp/receivedata/srchcnts", "");
- model.setValue("/root/temp/receivedata/drugkind","");
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
-
- var drugcd = model.getValue("/root/main/cond/anstacd/anstmedidrugcd");
- var drugnm = "";
-
- if(drugcd != ""){
- model.removenode("/root/send/calcscorcd");
- model.makeValue("/root/send/calcscorcd", drugcd);
- submit("TRMNR07506");
- drugnm = model.getValue("/root/hidden/mech/hngnm");
- if(drugnm != ""){
- model.setValue("/root/main/cond/anstacd/anstmedidrugnm", drugnm);
- }else{
- messageBox("약품 유효기간이 지났습니다.","E999");
- }
- }
- model.resetInstanceNode("/root/temp/receivedata");
- model.refresh();
- ]]>
- </script>
- </button>
- <textarea id="tar_opmdlaftetccnts2" ref="/root/main/cond/opacd/opaftdesccmt" navindex="7" visibility="hidden" maxlength="70" style="left:65px; top:386px; width:330px; height:25px; "/>
- <textarea id="tar_anstacdetccnts1" ref="/root/main/cond/anstacd/anstdesccmt" visibility="hidden" maxbyte="140" style="left:475px; top:221px; width:271px; height:69px; "/>
- <input id="tar_opmdlaftetccnts1" ref="/root/main/cond/opacd/opbfdesccmt" visibility="hidden" maxlength="70" style="left:65px; top:213px; width:330px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|