123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712 |
- <?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>
- <prcp>
- <prcplist>
- <status/>
- <prcpstatcd/>
- <prcpclscd/>
- <prcpkindcd/>
- <prcpcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpvolunitnm/>
- <prcpqty/>
- <prcpqtyunitnm/>
- <prcptims/>
- <prcpdayno/>
- <drugmthdspccdnm/>
- <prcpmixno/>
- <payflagcd/>
- <prcpdelivefact/>
- <hosinhosoutflag/>
- <prcpexecdeptcd/>
- <prcphopedd/>
- <choiordflag/>
- <rgstdt/>
- <rgstridnm/>
- <testrsltunit/>
- <testrsltcnts/>
- <prcpgenrflag/>
- <prcphistcd/>
- <tempprcpflag/>
- <prcpsetcd/>
- <prcpvolunitflag/>
- <prcpqtyunitflag/>
- <orgprcpqty/>
- <drugspd/>
- <drugspdunitflag/>
- <powdflag/>
- <prnprcpflag/>
- <prepprcpflag/>
- <selfprcpflag/>
- <selfdrugflag/>
- <drugpackflag/>
- <erprcpflag/>
- <precureprcpflag/>
- <nigtprcpflag/>
- <portprcpflag/>
- <fixprcpflag/>
- <anamneflag/>
- <fastprcpflag/>
- <erreadflag/>
- <prcpdirecflag/>
- <tnsuseflag/>
- <tnsfiltflag/>
- <trnptbftestflag/>
- <offictourhealexamflag/>
- <stemcellflag/>
- <angioflagcd/>
- <opansflagcd/>
- <ansttm/>
- <mealcalrcnts/>
- <mealprotcnts/>
- <mealupdtflag/>
- <hosinprcpresncd/>
- <etcprcpresncd/>
- <drugmthdspccd/>
- <issdeptcd/>
- <prcpauthflag/>
- <prcpinptflag/>
- <prcpsignflag/>
- <rateprcpflag/>
- <prcprefseq/>
- <ordreqlnkno/>
- <testreqlnkno/>
- <prcplnkdd/>
- <prcplnkno/>
- <oprsrvno/>
- <tootfact/>
- <clinccmtcnts/>
- <prcpessninptflag/>
- <grupsnglflag/>
- <drugrateqty/>
- <asttestflag/>
- <clincstdyflag/>
- <prtlno/>
- <clincstdycd/>
- <optermcd/>
- <prcpflag/>
- <hscttempprcpflag/>
- <inclprcpcd/>
- <inclprcpno/>
- <pampkspec/>
- <prcppkspec/>
- <calcscormastspec/>
- <drugmastspec/>
- <rateprcpspec/>
- <matrsetprcpspec/>
- <suppdeptspec/>
- <contprcpspec/>
- <etclnkspec/>
- <srchcondcnts/>
- <orgprcpnm/>
- <chkcol/>
- <hsctdelivepos/>
- <hsctlnkno/>
- <etcprcpflag/>
- <aftcertflag/>
- <aftcertdrid/>
- <prcpvalidd/>
- <insukind/>
- <specdrid/>
- <anticncrprtlno/>
- <anticncrdayno/>
- <druglnkno/>
- <rehbprcpcurefreqflag/>
- <dietprcpgenrflag/>
- <irpayflag/>
- <irflag/>
- <procerdietflag/>
- <diagtestconttestintvlflag/>
- <drugindependpackflag/>
- <diagtestconttestbasetm/>
- <diagtestconttestorgtims/>
- <ermediscmngtresncd/>
- <rehbprcpenddd/>
- <matrallsizespecid/>
- <rehbprcpcurepartcd/>
- <lowdrugresncd/>
- <tfdtlcd/>
- <dnorreqlnkno/>
- <subcretno/>
- <exptmthdfact/>
- <lowdrugresnetcfact/>
- <diagtestconttestcdspec/>
- <drprcpetc1/>
- <drprcpetc2/>
- <drprcpetc3/>
- <drprcpetc4/>
- <drprcpetc5/>
- <drprcpetc6/>
- <drprcpetc7/>
- <drprcpetc8/>
- <drprcpetc9/>
- <drprcpetc10/>
- <tempcol1/>
- <tempcol2/>
- <tempcol3/>
- <tempcol4/>
- <tempcol5/>
- <tempcol6/>
- <tempcol7/>
- <tempcol8/>
- <tempcol9/>
- <tempcol10/>
- <tempcol11/>
- <tempcol12/>
- <tempcol13/>
- <tempcol14/>
- <tempcol15/>
- <tempcol16/>
- <tempcol17/>
- <tempcol18/>
- <tempcol19/>
- <tempcol20/>
- <tempcol21/>
- <tempcol22/>
- <tempcol23/>
- <tempcol24/>
- <tempcol25/>
- </prcplist>
- </prcp>
- </main>
- <init>
- <prcpdirecflag/>
- <payflagcd/>
- <drugspd/>
- <drugmthdspccdnm/>
- <opansflagcd/>
- <userlist/>
- <nigtprcpflag/>
- </init>
- <chkflag>
- <erprcpflag/>
- <prnprcpflag/>
- <erreadflag/>
- <portprcpflag/>
- <precureprcpflag/>
- <clincstdyflag/>
- <payflagcd/>
- <prcphopedd/>
- <clinccmtcnts/>
- <prcpdelivefact/>
- <nigtprcpflag/>
- <choiordflag/>
- <opansflagcd/>
- <ansttm/>
- <anamneflag/>
- </chkflag>
- <ansttm>
- <anstfromdd/>
- <ansttodd/>
- <anstfromh/>
- <anstfromm/>
- <ansttoh/>
- <ansttom/>
- </ansttm>
- <temp>
- <send/>
- <patsupkind/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- zbcfGetCodeList(new Array("M0029", "M0008", "M0639"), new Array("/root/init/payflagcd", "/root/init/opansflagcd", "/root/init/nigtprcpflag"));
- input1.value = getCurrentDate();
- input2.value = "00"
- input3.value = "00"
- input4.value = getCurrentDate();
- input5.value = "00"
- input6.value = "00"
- input1.disabled = true;
- input2.disabled = true;
- input3.disabled = true;
- input4.disabled = true;
- input5.disabled = true;
- input6.disabled = true;
- button4.disabled = true;
- checkbox10.disabled = true;
- //checkbox12.disabled = true;
- combo1.disabled = true;
- combo2.disabled = true;
- combo4.disabled = true;
- //input1.disabled = true;
- //input2.disabled = true;
- textarea1.disabled = true;
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmedmthd"/>
- <submission id="TRMMO15701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send" resultref="/root/temp/patsupkind"/>
- </model>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO00100.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- var setAnst = "";
- var setclinccmtcnts = "";
- function fSetAnsttm () {
- var fromdd = model.getValue ( "/root/ansttm/anstfromdd" );
- var todd = model.getValue ( "/root/ansttm/ansttodd" );
- if ( eval(fromdd) > eval(todd) ) {
- model.alert ( "시작일이 종료일 보다 클수 없습니다." );
- return;
- }
- var fromh = model.getValue ( "/root/ansttm/anstfromh" );
- var formm = model.getValue ( "/root/ansttm/anstfromm" );
- var tomh = model.getValue ( "/root/ansttm/ansttoh" );
- var totim = model.getValue ( "/root/ansttm/ansttom" );
-
- if ( eval(fromh) >= 24 ) {
- model.alert ( "시작시간이 잘못 입력되었습니다." );
- return;
- }
- if ( eval(formm) >= 60 ) {
- model.alert ( "시작분이 잘못 입력되었습니다." );
- return;
- }
- if ( eval(tomh) >= 24 ) {
- model.alert ( "종료시간이 잘못 입력되었습니다." );
- return;
- }
- if ( eval(totim) >= 60 ) {
- model.alert ( "종료분이 잘못 입력되었습니다." );
- return;
- }
-
- tomh = eval(model.getValue ( "/root/ansttm/ansttoh" )) + getDateInterval ( fromdd, todd ) * 24;
- var fromtotm = eval ( fromh ) * 60 + eval ( formm );
- var tototm = eval( tomh ) * 60 + eval ( totim );
- var ansttmh = parseInt(( tototm - fromtotm ) / 60);
- var ansttmm = ( tototm - fromtotm ) % 60;
-
- ansttmh = ansttmh.toString().getLeftPad ( 2, "0" );
- ansttmm = ansttmm.toString().getLeftPad ( 2, "0" );
- setAnst = ansttmh + ansttmm;
-
- var fromipt = model.getValue ( "/root/ansttm/anstfromdd" ) + model.getValue ( "/root/ansttm/anstfromh" ).getLeftPad ( 2, "0" ) + model.getValue ( "/root/ansttm/anstfromm" ).getLeftPad ( 2, "0" );
- var toipt = model.getValue ( "/root/ansttm/ansttodd" )+ model.getValue ( "/root/ansttm/ansttoh" ).getLeftPad ( 2, "0" ) + model.getValue ( "/root/ansttm/ansttom" ).getLeftPad ( 2, "0" );
- setclinccmtcnts = fromipt + "I" + toipt;
-
- if ( setAnst == "0000" || eval(setAnst) < 0 ) {
- messageBox ( "마취시간 입력이 잘못되었습니다.", "E" );
- return false;
- }
- return true;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="430" pageheight="240" guideline="2,240;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption22" class="cell_1" style="left:210px; top:173px; width:99px; height:21px; "/>
- <button id="button1" class="btn4_letter2" style="left:294px; top:204px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var erprcpflag_useyn = "";
- var erprcpflag = "";
- var nigtprcpflag_useyn = "";
- var nigtprcpflag = "";
- var opansflagcd_useyn = "";
- var opansflagcd = "";
- var tempcol1_useyn = "";
- var tempcol1 = "";
- var payflagcd_useyn = "";
- var payflagcd = "";
- var ansttm_useyn = "";
- var ansttm = "";
- var clinccmtcnts_useyn = "";
- var clinccmtcnts = "";
- var prcpdelivefact_useyn = "";
- var prcpdelivefact = "";
- var useyn = "";
- var value = "";
- //tempcol1 수술에는 있지만 마취는 뺐다.
- var header = "erprcpflag|nigtprcpflag|opansflagcd|payflagcd|ansttm|clinccmtcnts|anamneflag|prcpdelivefact|subcretno^";
-
- if ( model.getValue ( "/root/chkflag/erprcpflag" ) == "Y" ) {
- erprcpflag_useyn = "Y" + "|";
- erprcpflag = model.getValue ("/root/main/prcp/prcplist/erprcpflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/erprcpflag" ))) {
- erprcpflag = "N" + "|";
- }
- } else {
- erprcpflag_useyn = "N" + "|";
- erprcpflag = "" + "|";
- }
- useyn = useyn + erprcpflag_useyn;
- value = value + erprcpflag;
-
- if ( model.getValue ( "/root/chkflag/nigtprcpflag" ) == "Y" ) {
- nigtprcpflag_useyn = "Y" + "|";
- nigtprcpflag = model.getValue ("/root/main/prcp/prcplist/nigtprcpflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/nigtprcpflag" ))) {
- nigtprcpflag = "N" + "|";
- }
- } else {
- nigtprcpflag_useyn = "N" + "|";
- nigtprcpflag = "" + "|";
- }
-
- useyn = useyn + nigtprcpflag_useyn ;
- value = value + nigtprcpflag;
-
- if ( model.getValue ( "/root/chkflag/opansflagcd" ) == "Y" ) {
- opansflagcd_useyn = "Y" + "|";
- tempcol1_useyn = "Y" + "|";
- opansflagcd = model.getValue ( "/root/main/prcp/prcplist/opansflagcd" ) + "|";
- if ( isNull(model.getValue ( "/root/main/prcp/prcplist/opansflagcd" ))) {
- model.alert ( "입력된 마취유형 값이 없습니다." ) ;
- return;
- } else {
- tempcol1 = combo2.label + "|";
- }
- } else {
- opansflagcd_useyn = "N" + "|";
- opansflagcd = "" + "|";
- tempcol1_useyn = "N" + "|";
- tempcol1 = "" + "|";
- }
- useyn = useyn + opansflagcd_useyn ;
- value = value + opansflagcd;
- if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
- payflagcd_useyn = "Y" + "|";
- payflagcd = model.getValue ( "/root/main/prcp/prcplist/payflagcd" ) + "|";
- if ( isNull(model.getValue ( "/root/main/prcp/prcplist/payflagcd" ))) {
- model.alert ( "입력된 급여구분 값이 없습니다." ) ;
- return;
- }
- } else {
- payflagcd_useyn = "N" + "|";
- payflagcd = "" + "|";
- }
-
- useyn = useyn + payflagcd_useyn ;
- value = value + payflagcd;
-
- if ( model.getValue ( "/root/chkflag/ansttm" ) == "Y" ) {
- ansttm_useyn = "Y" + "|";
- clinccmtcnts_useyn = "Y" + "|";
- if ( !fSetAnsttm()) {
- return;
- }
- ansttm = setAnst + "|";
- clinccmtcnts = setclinccmtcnts + "|";
- } else {
- ansttm_useyn = "N"+ "|";
- ansttm = "" + "|";
- clinccmtcnts = "" + "|";
- }
-
- useyn = useyn + ansttm_useyn;
- value = value + ansttm;
- useyn = useyn + clinccmtcnts_useyn;
- value = value + clinccmtcnts;
-
- if( model.getValue ( " /root/chkflag/anamneflag" ) == "Y" ) {
- useyn = useyn + "Y" + "|";
- value = value + "Y" + "|";
- } else {
- useyn = useyn + "N" + "|";
- value = value + "N" + "|";
- }
- if ( model.getValue ( "/root/chkflag/prcpdelivefact" ) == "Y" ) {
- prcpdelivefact_useyn = "Y" + "|";
- prcpdelivefact = model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ) + "|";
- if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ))) {
- model.alert ( "입력된 전달사항 값이 없습니다." );
- return;
- }
- } else {
- prcpdelivefact_useyn = "N" + "|";
- prcpdelivefact = "" + "|";
- }
- useyn = useyn + prcpdelivefact_useyn ;
- value = value + prcpdelivefact;
-
- //2008. 07. 01 기왕증 입력에 따른 subcretno설정, 오지훈
- var subcretno_useyn = "";
- var subcretno = 0;
- if ( bool2.value == "Y") {
- subcretno_useyn = "Y";
- subcretno = model.getValue("/root/main/prcp/prcplist/subcretno");
- }else{
- subcretno_useyn = "N";
- }
- useyn = useyn + subcretno_useyn + "^";
- value = value + subcretno + "^";
- var batipt_rtn1 = header + useyn + value;
- opener.javascript.setParameter ( "batipt_rtn1", batipt_rtn1 );
- opener.javascript.setParameter ( "batipt_rtn1_useyn", "Y" );
- window.close();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:354px; top:204px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- opener.javascript.setParameter ( "batipt_rtn1_useyn", "N" );
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="cell_1" style="left:207px; top:19px; width:100px; height:23px; "/>
- <caption id="caption6" class="cell_1" style="left:2px; top:173px; width:100px; height:23px; "/>
- <caption id="caption3" class="cell_1" style="left:2px; top:46px; width:100px; height:50px; "/>
- <caption id="caption4" class="cell_1" style="left:2px; top:120px; width:100px; height:23px; "/>
- <caption id="caption1" class="cell_1" style="left:2px; top:19px; width:100px; height:23px; "/>
- <select id="checkbox1" ref="/root/chkflag/erprcpflag" overflow="visible" appearance="full" style="left:7px; top:23px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>응급</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue ( "/root/chkflag/erprcpflag" ) == "Y" ) {
- checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "bold";
- checkbox10.disabled = false;
- model.setValue ( "/root/main/prcp/prcplist/erprcpflag", "Y" );
- model.refresh();
-
- } else {
- checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "normal";
- checkbox10.disabled = true;
- model.setValue ( "/root/main/prcp/prcplist/erprcpflag", "N" );
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select id="checkbox2" ref="/root/chkflag/nigtprcpflag" overflow="visible" appearance="full" style="left:7px; top:124px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>야간/심야</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue ( "/root/chkflag/nigtprcpflag" ) == "Y" ) {
- checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "bold";
- combo4.disabled = false;
- model.refresh();
- } else {
- checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "normal";
- combo4.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <line id="line15" class="line_2" style="x1:2px; y1:44px; x2:410px; y2:44px; "/>
- <select id="checkbox5" ref="/root/chkflag/prcpdelivefact" overflow="visible" appearance="full" style="left:7px; top:49px; width:68px; height:25px; border-style:none; ">
- <choices>
- <item>
- <label>전달사항</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue ( "/root/chkflag/prcpdelivefact" ) == "Y" ) {
- checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "bold";
- textarea1.disabled = false;
- button4.disabled = false;
-
- } else {
- checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "normal";
- textarea1.disabled = true;
- button4.disabled = true;
- }
- model.refresh();
- ]]>
- </script>
- </select>
- <select id="checkbox7" ref="/root/chkflag/opansflagcd" overflow="visible" appearance="full" style="left:7px; top:177px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>마취구분</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue ( "/root/chkflag/opansflagcd" ) == "Y" ) {
- checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "bold";
- combo2.disabled = false;
- model.refresh();
-
- } else {
- checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
- combo2.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select1 id="combo1" ref="/root/main/prcp/prcplist/payflagcd" class="combo_default" appearance="minimal" style="left:310px; top:21px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/payflagcd/M0029">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="checkbox8" ref="/root/chkflag/payflagcd" overflow="visible" appearance="full" style="left:212px; top:23px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>급여</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
- checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "bold";
- combo1.disabled = false;
- model.refresh();
-
- } else {
- checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "normal";
- combo1.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <line id="line3" class="line_2" style="x1:2px; y1:44px; x2:409px; y2:44px; "/>
- <textarea id="textarea1" ref="/root/main/prcp/prcplist/prcpdelivefact" style="left:103px; top:46px; width:307px; height:49px; "/>
- <line id="line7" class="line_1" style="x1:2px; y1:14px; x2:410px; y2:14px; "/>
- <select id="checkbox10" ref="/root/main/prcp/prcplist/erprcpflag" overflow="visible" appearance="full" style="left:105px; top:23px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>응급</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select1 id="combo4" ref="/root/main/prcp/prcplist/nigtprcpflag" class="combo_default" appearance="minimal" style="left:105px; top:124px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/nigtprcpflag/M0639">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line4" class="line_3" style="x1:2px; y1:198px; x2:409px; y2:198px; "/>
- <select1 id="combo2" ref="/root/main/prcp/prcplist/opansflagcd" class="combo_default" appearance="minimal" style="left:104px; top:175px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/opansflagcd/M0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="cell_1" style="left:2px; top:145px; width:100px; height:23px; "/>
- <select id="checkbox4" ref="/root/chkflag/ansttm" overflow="visible" appearance="full" style="left:7px; top:150px; width:90px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>마취시간</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue ( "/root/chkflag/ansttm" ) == "Y" ) {
- checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "bold";
- input1.disabled = false;
- input2.disabled = false;
- input3.disabled = false;
- input4.disabled = false;
- input5.disabled = false;
- input6.disabled = false;
- } else {
- checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "normal";
- input1.disabled = true;
- input2.disabled = true;
- input3.disabled = true;
- input4.disabled = true;
- input5.disabled = true;
- input6.disabled = true;
- }
- model.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption18" class="tit_2" style="left:5px; top:0px; width:121px; height:14px; ">공통</caption>
- <line id="line1" class="line_2" style="x1:2px; y1:97px; x2:410px; y2:97px; "/>
- <caption id="caption8" class="tit_2" style="left:5px; top:101px; width:121px; height:13px; ">마취</caption>
- <line id="line5" class="line_1" style="x1:2px; y1:115px; x2:410px; y2:115px; "/>
- <line id="line6" class="line_2" style="x1:2px; y1:171px; x2:410px; y2:171px; "/>
- <input id="input1" ref="/root/ansttm/anstfromdd" inputtype="date" format="yyyy-mm-dd" style="left:104px; top:149px; width:86px; height:19px; "/>
- <input id="input2" ref="/root/ansttm/anstfromh" imemode="disabled" maxlength="2" format="#" style="left:191px; top:149px; width:25px; height:19px; "/>
- <input id="input3" ref="/root/ansttm/anstfromm" imemode="disabled" maxlength="2" format="#" style="left:217px; top:149px; width:25px; height:19px; "/>
- <input id="input4" ref="/root/ansttm/ansttodd" inputtype="date" format="yyyy-mm-dd" style="left:271px; top:148px; width:86px; height:19px; "/>
- <input id="input5" ref="/root/ansttm/ansttoh" imemode="disabled" maxlength="2" format="#" style="left:358px; top:148px; width:25px; height:19px; "/>
- <input id="input6" ref="/root/ansttm/ansttom" imemode="disabled" maxlength="2" format="#" style="left:384px; top:148px; width:25px; height:19px; "/>
- <caption id="caption9" style="left:251px; top:150px; width:15px; height:20px; ">~</caption>
- <button id="button4" class="icon_search" style="left:78px; top:51px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter ( "SPMMB02200_cond2", "3" );
- fPrcpModal ( "SPMMB02200", 50, 50 );
- model.setValue ( "/root/main/prcp/prcplist/prcpdelivefact", getParameter ( "SPMMB02200_clinccmt" ));
- model.refresh();
- ]]>
- </script>
- </button>
- <bool id="bool2" checkvalue="Y,N" ref="/root/chkflag/anamneflag" style="left:210px; top:174px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(bool2.value == "Y"){
- var prcpgenrflag = opener.model.getValue("/root/patflag/list/prcpgenrflag");
- var pid = opener.model.getValue("/root/paminfo/list/pid");
- var indd = opener.model.getValue("/root/paminfo/list/indd");
-
- if(prcpgenrflag == "I" || prcpgenrflag == "D" || prcpgenrflag == "E"){
- var subcretno = fGetSubcretno(pid, indd, "anamneflag");
- model.setValue("/root/main/prcp/prcplist/subcretno", subcretno);
- if(subcretno == "0"){
- messageBox ( "환자의 부유형이 없거나 또는 선택되지 않았습니다.", "I999" );
- bool2.value = "N";
- }
- } else {
- messageBox ( "외래 환자는 기왕증을 선택 할 수", "I004" );
- bool2.value = "N";
- }
- }else{ //기왕증이 N로 처리된 경우에는 subcretno 0로 처리
- model.setValue("/root/main/prcp/prcplist/subcretno", "0");
- }
- ]]>
- </script>
- </bool>
- <caption id="caption23" style="left:232px; top:175px; width:50px; height:20px; ">기왕증</caption>
- </xhtml:body>
- </xhtml:html>
|