123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>일괄입력[수혈]</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <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/>
- <orddept/>
- <selfdrugflag/>
- <tnsuseflag/>
- </init>
- <chkflag>
- <erprcpflag/>
- <prnprcpflag/>
- <erreadflag/>
- <portprcpflag/>
- <precureprcpflag/>
- <clincstdyflag/>
- <payflagcd/>
- <prcphopedd/>
- <clinccmtcnts/>
- <prcpdelivefact/>
- <choiordflag/>
- <prcpexecdeptcd/>
- <prcpqty/>
- <asttestflag/>
- <tnsfiltflag/>
- <prepprcpflag/>
- <tnsuseflag/>
- <anamneflag/>
- </chkflag>
- <orddept/>
- <temp>
- <send/>
- <patsupkind/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- // zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "insuuseyn", "", "/root/init/orddept" , "depthngnm"); //부서코드 콤보 조회
- zbcfGetCodeList(new Array("M0039","M0029", "M0044"),new Array("/root/init/tnsuseflag","/root/init/payflagcd", "/root/init/selfdrugflag"));
-
- fPrcpExecDeptSrch("all");
-
- checkbox4.disabled = true;
- checkbox10.disabled = true;
- combo1.disabled = true;
- combo2.disabled = true;
- combo3.disabled = true;
- input1.disabled = true;
- radio1.disabled = true;
- radio2.disabled = true;
- textarea1.disabled = true;
- button4.disabled = true;
-
- //irr 비활성화 병원별 적용(성가요청), cHc, 2009-07-21
- if ( opener.model.getValue("/root/initsrch/irrcheckyn/trgtcd") == "Y") {
- checkbox2.disabled = true;
- }
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" 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="TRMMO00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/orddept"/>
- <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" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="430" pageheight="270" guideline="2,270;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption22" class="cell_1" style="left:209px; top:177px; width:99px; height:21px; "/>
- <caption id="caption9" class="cell_1" style="left:2px; top:176px; width:100px; height:23px; "/>
- <caption id="caption5" class="cell_1" style="left:2px; top:148px; width:100px; height:23px; "/>
- <caption id="caption12" class="cell_1" style="left:2px; top:121px; width:100px; height:23px; "/>
- <caption id="caption11" class="cell_1" style="left:2px; top:204px; width:100px; height:23px; "/>
- <button id="button1" class="btn4_letter2" style="left:292px; top:235px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var erprcpflag_useyn = "";
- var erprcpflag = "";
- var payflagcd_useyn = "";
- var payflagcd = "";
- var prcpqty_useyn = "";
- var prcpqty = "";
- var asttestflag_useyn = "";
- var asttestflag = "";
- var selfdrugflag_useyn = "";
- var selfdrugflag = "";
-
- var tnsfiltflag_useyn = "";
- var tnsfiltflag = "";
- var prepprcpflag_useyn = "";
- var prepprcpflag = "";
- var tnsuseflag_useyn = "";
- var tnsuseflag = "";
- var prcphopedd_useyn = "";
- var prcphopedd = "";
- var prcpexecdeptcd_useyn = "";
- var prcpexecdeptcd = "";
- var prcpdelivefact_useyn = "";
- var prcpdelivefact = "";
- var useyn = "";
- var value = "";
-
- var header = "erprcpflag|payflagcd|prcpqty|asttestflag|selfdrugflag|tnsfiltflag|prepprcpflag|tnsuseflag|prcphopedd|prcpexecdeptcd|prcpdelivefact|anamneflag|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/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;
-
- var prcpqty = "";
- if ( model.getValue ( "/root/chkflag/prcpqty" ) == "Y" ) {
- prcpqty_useyn = "Y" + "|";
- prcpqty = model.getValue ("/root/main/prcp/prcplist/prcpqty" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcpqty" ))) {
- model.alert ( "입력된 수량이 없습니다." );
- return;
- }
- } else {
- prcpqty_useyn = "N" + "|";
- prcpqty = "" + "|";
- }
- useyn = useyn + prcpqty_useyn ;
- value = value + prcpqty;
-
- var selfdrugflag = "";
- if ( model.getValue ( "/root/chkflag/asttestflag" ) == "Y" ) {
- asttestflag_useyn = "Y" + "|";
- asttestflag = "Y" + "|";
- selfdrugflag_useyn = "Y" + "|";
- selfdrugflag = model.getValue ("/root/main/prcp/prcplist/selfdrugflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/selfdrugflag" ))) {
- model.alert ( "입력된 Irr 급여구분이 없습니다." );
- return;
- }
-
- } else {
- asttestflag_useyn = "N" + "|";
- asttestflag = "" + "|";
- selfdrugflag_useyn = "N" + "|";
- selfdrugflag = "" + "|";
- }
- useyn = useyn + asttestflag_useyn + selfdrugflag_useyn ;
- value = value + asttestflag + selfdrugflag;
-
- if ( model.getValue ( "/root/chkflag/tnsfiltflag" ) == "Y" ) {
- tnsfiltflag_useyn = "Y" + "|";
- tnsfiltflag = model.getValue ("/root/main/prcp/prcplist/tnsfiltflag" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/tnsfiltflag" ))) {
- tnsfiltflag = "N" + "|";
- }
- } else {
- tnsfiltflag_useyn = "N" + "|";
- tnsfiltflag = "" + "|";
- }
- useyn = useyn + tnsfiltflag_useyn;
- value = value + tnsfiltflag;
-
- if ( model.getValue ( "/root/chkflag/prepprcpflag" ) == "Y" ) {
- prepprcpflag_useyn = "Y" + "|";
- prepprcpflag = "Y" + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/prepprcpflag" ))) {
- model.alert ( "입력된 Prep,T/F 구분이 없습니다." );
- return;
- }
-
- } else {
- prepprcpflag_useyn = "N" + "|";
- prepprcpflag = "" + "|";
- }
- useyn = useyn + prepprcpflag_useyn;
- value = value + prepprcpflag;
-
- if ( model.getValue ( "/root/chkflag/tnsuseflag" ) == "Y" ) {
- tnsuseflag_useyn = "Y" + "|";
- tnsuseflag = model.getValue ( "/root/main/prcp/prcplist/tnsuseflag" ) + "|";
- if ( isNull(model.getValue ( "/root/main/prcp/prcplist/tnsuseflag" ))) {
- model.alert ( "입력된 사용목적이 없습니다." ) ;
- return;
- }
- } else {
- tnsuseflag_useyn = "N" + "|";
- tnsuseflag = "" + "|";
- }
-
- useyn = useyn + tnsuseflag_useyn ;
- value = value + tnsuseflag;
-
- if ( model.getValue ( "/root/chkflag/prcphopedd" ) == "Y" ) {
- prcphopedd_useyn = "Y" + "|";
- prcphopedd = model.getValue ("/root/main/prcp/prcplist/prcphopedd" ) + "|";
- if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcphopedd" ))) {
- model.alert ( "입력된 수혈예정일이 값이 없습니다." );
- return;
- } else {
- if ( !isValidDateTime ( model.getValue ( "/root/main/prcp/prcplist/prcphopedd" ), "YYYYMMDD")) {
- model.alert ( "수혈예정일이 유효한 날짜가 아닙니다." );
- return;
- }
- }
- } else {
- prcphopedd_useyn = "N"+ "|";
- prcphopedd = "" + "|";
- }
-
- useyn = useyn + prcphopedd_useyn;
- value = value + prcphopedd;
-
- if ( model.getValue ( "/root/chkflag/prcpexecdeptcd" ) == "Y" ) {
- prcpexecdeptcd_useyn = "Y" + "|";
- prcpexecdeptcd = model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ) + "|";
- if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ))) {
- model.alert ( "입력된 시행부서가 없습니다." ) ;
- return;
- }
- } else {
- prcpexecdeptcd_useyn = "N" + "|";
- prcpexecdeptcd = "" + "|";
- }
-
- useyn = useyn + prcpexecdeptcd_useyn ;
- value = value + prcpexecdeptcd;
-
- 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;
-
- if( model.getValue ( " /root/chkflag/anamneflag" ) == "Y" ) {
- useyn = useyn + "Y" + "|";
- value = value + "Y" + "|";
- } else {
- useyn = useyn + "N" + "|";
- value = value + "N" + "|";
- }
-
- //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:352px; top:235px; 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="caption8" class="cell_1" style="left:208px; top:149px; width:100px; height:23px; "/>
- <caption id="caption7" class="cell_1" style="left:208px; top:19px; width:100px; height:23px; "/>
- <caption id="caption3" class="cell_1" style="left:2px; top:46px; width:100px; height:50px; "/>
- <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="checkbox5" ref="/root/chkflag/prcpdelivefact" overflow="visible" appearance="full" style="left:7px; top:48px; 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;
- model.refresh();
- } else {
- checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "normal";
- textarea1.disabled = true;
- button4.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select1 id="combo1" ref="/root/main/prcp/prcplist/payflagcd" class="combo_default" appearance="minimal" style="left:311px; 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:213px; top:23px; width:90px; height:15px; 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="line2" class="line_2" style="x1:2px; y1:44px; x2:411px; y2:44px; "/>
- <textarea id="textarea1" ref="/root/main/prcp/prcplist/prcpdelivefact" style="left:103px; top:46px; width:307px; height:49px; "/>
- <input id="input3" ref="/root/main/prcp/prcplist/prcphopedd" class="input_search" imemode="disabled" inputtype="date" format="yyyy-mm-dd" style="left:311px; top:151px; width:100px; height:19px; "/>
- <line id="line7" class="line_1" style="x1:2px; y1:14px; x2:411px; y2:14px; "/>
- <select id="checkbox9" ref="/root/chkflag/prcphopedd" overflow="visible" appearance="full" style="left:211px; top:153px; 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/prcphopedd" ) == "Y" ) {
- checkbox9.item(checkbox9.focusIndex).attribute("font-weight") = "bold";
- input3.disabled = false;
- model.refresh();
-
- } else {
- checkbox9.item(checkbox9.focusIndex).attribute("font-weight") = "normal";
- input3.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <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>
- <line id="line4" class="line_3" style="x1:2px; y1:228px; x2:411px; y2:228px; "/>
- <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:411px; y2:97px; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:102px; width:121px; height:13px; ">수혈</caption>
- <line id="line5" class="line_1" style="x1:2px; y1:116px; x2:411px; y2:116px; "/>
- <line id="line6" class="line_2" style="x1:2px; y1:146px; x2:411px; y2:146px; "/>
- <select1 id="combo2" ref="/root/main/prcp/prcplist/prcpexecdeptcd" class="combo_default" appearance="minimal" itemcount="30" style="left:105px; top:206px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <select id="checkbox16" ref="/root/chkflag/prcpexecdeptcd" overflow="visible" appearance="full" style="left:7px; top:207px; 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/prcpexecdeptcd" ) == "Y" ) {
- checkbox16.item(checkbox16.focusIndex).attribute("font-weight") = "bold";
- combo2.disabled = false;
- model.refresh();
-
- } else {
- checkbox16.item(checkbox16.focusIndex).attribute("font-weight") = "normal";
- combo2.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <line id="line3" class="line_2" style="x1:2px; y1:172px; x2:410px; y2:172px; "/>
- <select id="checkbox21" ref="/root/chkflag/prcpqty" overflow="visible" appearance="full" style="left:7px; top:125px; 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/prcpqty" ) == "Y" ) {
- checkbox21.item(0).attribute("font-weight") = "bold";
- input1.disabled = false;
- model.refresh();
-
- } else {
- checkbox21.item(0).attribute("font-weight") = "normal";
- input1.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <input id="input1" ref="/root/main/prcp/prcplist/prcpqty" style="left:103px; top:123px; width:100px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:208px; top:121px; width:100px; height:23px; "/>
- <select id="checkbox2" ref="/root/chkflag/asttestflag" overflow="visible" appearance="full" style="left:211px; top:124px; width:34px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Irr</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue ( "/root/chkflag/asttestflag" ) == "Y" ) {
- checkbox2.item(0).attribute("font-weight") = "bold";
- radio1.disabled = false;
- model.refresh();
-
- } else {
- checkbox2.item(0).attribute("font-weight") = "normal";
- radio1.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select1 id="radio1" ref="/root/main/prcp/prcplist/selfdrugflag" appearance="full" cols="2" overflow="visible" style="left:311px; top:122px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/selfdrugflag/M0044">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="checkbox3" ref="/root/chkflag/tnsfiltflag" overflow="visible" appearance="full" style="left:7px; top:152px; 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/tnsfiltflag" ) == "Y" ) {
- checkbox3.item(0).attribute("font-weight") = "bold";
- checkbox4.disabled = false;
- model.refresh();
-
- } else {
- checkbox3.item(0).attribute("font-weight") = "normal";
- checkbox4.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select id="checkbox4" ref="/root/main/prcp/prcplist/tnsfiltflag" overflow="visible" appearance="full" style="left:105px; top:152px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>필터</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox6" ref="/root/chkflag/prepprcpflag" visibility="hidden" appearance="full" style="left:191px; top:97px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Prep,T/F</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue ( "/root/chkflag/prepprcpflag" ) == "Y" ) {
- checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "bold";
- radio2.disabled = false;
- model.refresh();
-
- } else {
- checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "normal";
- radio2.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select1 id="radio2" ref="/root/main/prcp/prcplist/prepprcpflag" visibility="hidden" appearance="full" cols="2" style="left:311px; top:96px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Prep</label>
- <value>Y</value>
- </item>
- <item>
- <label>T/F</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <line id="line8" class="line_2" style="x1:2px; y1:174px; x2:411px; y2:174px; "/>
- <select id="checkbox7" ref="/root/chkflag/tnsuseflag" overflow="visible" appearance="full" style="left:7px; top:180px; 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/tnsuseflag" ) == "Y" ) {
- checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "bold";
- combo3.disabled = false;
- model.refresh();
-
- } else {
- checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
- combo3.disabled = true;
- model.refresh();
- }
- ]]>
- </script>
- </select>
- <select1 id="combo3" ref="/root/main/prcp/prcplist/tnsuseflag" appearance="minimal" style="left:105px; top:178px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/tnsuseflag/M0039">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line9" class="line_2" style="x1:2px; y1:201px; x2:411px; y2:201px; "/>
- <button id="button4" class="icon_search" style="left:78px; top:50px; 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:207px; top:178px; 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:231px; top:179px; width:50px; height:20px; ">기왕증</caption>
- </xhtml:body>
- </xhtml:html>
|